:root {
  --blog-navy: #071b3b;
  --blog-deep: #0e101f;
  --blog-blue: #1664ff;
  --blog-cyan: #62a8ff;
  --blog-text: #0f172a;
  --blog-muted: #64748b;
  --blog-line: #e2e8f0;
}

.theme-blog {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

.theme-blog:not(.theme-login):not(.theme-publish) .blog-hero,
.theme-blog:not(.theme-login):not(.theme-publish) .article-main {
  padding-top: 86px;
}

.blog-hero {
  background-color: #071b3b;
  background-image:
    linear-gradient(rgba(98, 168, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 168, 255, .08) 1px, transparent 1px),
    radial-gradient(circle at 84% 46%, rgba(22, 100, 255, .34), transparent 40%);
}

.featured-story,
.blog-contact {
  border-radius: 8px;
  overflow: hidden;
}

.blog-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-contact-actions > a {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #1664ff;
  font-size: 12px;
  font-weight: 800;
}

.blog-contact-actions > a:hover { background: #0b52db; }

.article-card .article-image,
.publish-panel,
.article-manager {
  border-radius: 6px;
}

.theme-blog > footer {
  padding: 0;
  display: block;
  color: #555;
  text-align: center;
  background: #0e101f;
}

.theme-blog > footer .friend-link {
  padding: 2rem;
  color: #64748b;
  border-bottom: 1px solid #303442;
  font-size: .875rem;
}

.theme-blog > footer .link {
  margin: 0;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  list-style: none;
}

.theme-blog > footer .link a { color: #64748b; }
.theme-blog > footer .link a:hover,
.theme-blog > footer .link a.active { color: #fff; }
.theme-blog > footer .copyright { padding-bottom: 3rem; color: #64748b; font-size: .875rem; }

.publish-sidebar {
  background: linear-gradient(180deg, #071b3b 0%, #0e2448 100%);
  border-color: #1d3d68;
}

.studio-brand {
  width: 210px;
  margin: 0 auto 24px;
  padding: 10px 14px;
  border-radius: 7px;
  background: #fff;
}

.studio-brand img {
  filter: none;
}

.sidebar-heading { border-color: rgba(255, 255, 255, .13); }
.sidebar-heading span,
.sidebar-actions i { color: #75b4ff; }
.studio-nav button:hover { background: rgba(22, 100, 255, .18); }
.studio-nav button.is-active { border-color: #397bd7; background: #1664ff; }
.studio-nav button > i { color: #8fc4ff; border-color: #31537e; background: #0d274b; }
.studio-nav button.is-active > i { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .12); }
.studio-nav button.is-active small { color: #dbeafe; }

.workspace-note { border-left-color: #1664ff; background: #edf4ff; }
.workspace-note > i,
.field:focus-within > label:first-child,
.cover-placeholder i,
.publish-explainer i { color: #1664ff; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #1664ff; box-shadow: 0 0 0 3px rgba(22, 100, 255, .1); }
.publish-button { border-color: #1664ff; background: #1664ff; }
.publish-button:hover { border-color: #0b52db; background: #0b52db; }

.login-brand {
  width: 230px;
}

.login-aside {
  background-color: #071b3b;
  background-image:
    linear-gradient(rgba(98, 168, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 168, 255, .1) 1px, transparent 1px),
    radial-gradient(circle at 68% 32%, rgba(22, 100, 255, .58), transparent 38%);
}

@media (max-width: 768px) {
  .theme-blog:not(.theme-login):not(.theme-publish) .blog-hero,
  .theme-blog:not(.theme-login):not(.theme-publish) .article-main {
    padding-top: 72px;
  }

  .theme-blog > footer .link { padding-right: 1rem; padding-left: 1rem; }
  .blog-contact-actions { width: 100%; justify-content: flex-start; }
}
