/* SupCloud public — 克莱因蓝 + 雅黄 */
:root {
  --sc-klein: #012478;
  --sc-klein-rgb: 1, 36, 120;
  --sc-yellow: #ffcf00;
  --sc-yellow-rgb: 255, 207, 0;
  --sc-accent: var(--sc-klein);
  --sc-accent-2: #011a5c;
  --sc-ink: #0f172a;
  --sc-muted: #64748b;
  --sc-line: #e2e8f0;
  --sc-bg: #f5f7fb;
  --sc-card: #ffffff;
  --sc-hero-from: #011244;
  --sc-hero-mid: #012478;
  --sc-hero-to: #023a9e;
  --sc-radius: 12px;
  --sc-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sc-mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  /* 前台自适配：顶栏/内容随视口伸缩，大屏上限 1400 */
  --sc-shell-max: 1400px;
  --sc-shell-pad: clamp(1rem, 4vw, 2.75rem);
  /* 文本框 / 单选下拉同高 */
  --sc-control-height: 2.625rem;
}
.sc-shell {
  width: 100%;
  max-width: var(--sc-shell-max);
  margin-inline: auto;
  padding-inline: var(--sc-shell-pad);
  box-sizing: border-box;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.sc-page {
  font-family: var(--sc-font);
  color: var(--sc-ink);
  background: var(--sc-bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--sc-klein); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--sc-accent-2); }

.sc-top {
  position: sticky; top: 0; z-index: 40;
  width: 100%;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sc-line);
}
.sc-top-inner {
  width: 100%;
  max-width: var(--sc-shell-max);
  margin: 0 auto;
  padding: 0.85rem var(--sc-shell-pad);
  box-sizing: border-box;
  display: flex; align-items: center; gap: 1.25rem;
}
.sc-logo {
  font-weight: 800; font-size: 1.15rem; color: var(--sc-klein);
  letter-spacing: -0.02em; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.sc-logo .site-logo-text { font-weight: 800; }
.sc-logo .site-logo-img { height: 50px; width: auto; display: block; }
.site-logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--logo-icon-size, 28px); height: var(--logo-icon-size, 28px);
  border-radius: 6px; background: var(--logo-icon-color, #012478); color: #fff;
  font-size: calc(var(--logo-icon-size, 28px) * 0.55); flex-shrink: 0;
}
.site-logo-icon.is-circle { border-radius: 50%; }
.sc-nav { display: flex; gap: 1rem; flex: 1; align-items: center; }
.sc-nav a { color: var(--sc-muted); font-size: 0.95rem; text-decoration: none; }
.sc-nav a:hover, .sc-nav a.on { color: var(--sc-klein); }
.sc-nav-mobile-auth { display: none; }
.sc-nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--sc-line); border-radius: 10px;
  background: #fff; color: var(--sc-klein); cursor: pointer;
}
.sc-nav-toggle .bx { font-size: 1.45rem; line-height: 1; }
.sc-nav-toggle:hover { border-color: var(--sc-klein); background: rgba(var(--sc-klein-rgb), 0.04); }
.sc-nav-toggle:focus-visible { outline: 2px solid var(--sc-klein); outline-offset: 2px; }
.sc-top-auth { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.sc-top-console {
  color: var(--sc-muted);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.sc-top-console:hover { color: var(--sc-klein); }
body.sc-nav-lock { overflow: hidden; }

/* 语言切换器（旗标胶囊，分册 E §2.2） */
.sc-lang { position: relative; }
.sc-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--sc-line); border-radius: 999px;
  background: #fff; color: var(--sc-ink); font-size: 0.82rem; cursor: pointer;
}
.sc-lang-btn:hover { border-color: var(--sc-klein); color: var(--sc-klein); }
.sc-lang-btn img { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; display: block; }
.sc-lang-btn .bx { font-size: 1rem; color: var(--sc-muted); }
.sc-lang.is-open .sc-lang-btn { border-color: var(--sc-klein); color: var(--sc-klein); }
.sc-lang-drop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 168px; padding: 6px; background: #fff;
  border: 1px solid var(--sc-line); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(1, 36, 120, 0.14);
}
.sc-lang-drop a {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px;
  border-radius: 7px; color: var(--sc-ink); font-size: 0.85rem; text-decoration: none;
}
.sc-lang-drop a:hover { background: rgba(1, 36, 120, 0.06); }
.sc-lang-drop a.on { background: rgba(1, 36, 120, 0.08); color: var(--sc-klein); font-weight: 600; }
.sc-lang-drop a img { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; }
.sc-lang-drop a code { margin-left: auto; font-size: 0.7rem; color: var(--sc-muted); }

/* 右上角用户下拉（前台 / 用户控制台共用，对齐 PostOne） */
.top-user-menu {
  position: relative;
  margin-left: 4px;
}
.top-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sc-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.top-user-btn:hover,
.top-user-menu.is-open .top-user-btn {
  border-color: var(--sc-klein);
  box-shadow: 0 0 0 3px rgba(var(--sc-klein-rgb), 0.12);
}
.top-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0b1220, var(--sc-klein));
  color: var(--sc-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.top-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}
.top-user-caret {
  font-size: 16px;
  color: var(--sc-muted);
  transition: transform 0.15s;
}
.top-user-menu.is-open .top-user-caret {
  transform: rotate(180deg);
  color: var(--sc-klein);
}
.top-user-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 188px;
  max-width: min(90vw, 280px);
  padding: 4px;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.top-user-drop[hidden] { display: none !important; }
.top-user-drop a,
.top-user-drop .top-user-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px 9px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sc-ink);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}
.top-user-drop a:hover {
  background: rgba(var(--sc-yellow-rgb), 0.22);
  color: var(--sc-klein);
  text-decoration: none;
}
.top-user-drop .bx {
  font-size: 18px;
  flex: 0 0 1.25em;
  width: 1.25em;
  text-align: center;
}
.top-user-drop .top-user-admin {
  border-top: 1px solid var(--sc-line);
  margin-top: 2px;
  padding-top: 10px;
}
.top-user-drop .top-user-logout {
  border-top: 1px solid var(--sc-line);
  margin-top: 2px;
  padding-top: 10px;
  color: #b91c1c;
}
.top-user-drop .top-user-logout:hover {
  background: #fef2f2;
  color: #b91c1c;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border-radius: 8px; padding: 0.55rem 1rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  font-size: 0.95rem;
  text-align: center;
}
.btn-ghost { color: var(--sc-ink); background: transparent; }
.btn-ghost:hover { background: rgba(var(--sc-klein-rgb), 0.06); color: var(--sc-klein); }
.btn-primary { background: var(--sc-klein); color: #fff; }
.btn-primary:hover { background: var(--sc-accent-2); color: #fff; }
.btn-accent { background: var(--sc-yellow); color: var(--sc-klein); }
.btn-accent:hover { background: #e6ba00; color: #011a5c; }
.btn-light { background: #fff; color: var(--sc-klein); }
.btn-light:hover { background: var(--sc-yellow); color: var(--sc-klein); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(var(--sc-yellow-rgb), 0.2); border-color: var(--sc-yellow); color: #fff; }
.btn-outline {
  border-color: rgba(var(--sc-klein-rgb), 0.28);
  color: var(--sc-klein);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--sc-klein);
  background: rgba(var(--sc-klein-rgb), 0.05);
  color: var(--sc-klein);
}
.btn-lg { padding: 0.75rem 1.25rem; font-size: 1rem; }

/* Hero */
.sc-hero {
  position: relative; overflow: hidden;
  width: 100%;
  background: linear-gradient(135deg, var(--sc-hero-from) 0%, var(--sc-hero-mid) 48%, var(--sc-hero-to) 100%);
  color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.sc-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35; pointer-events: none;
}
.sc-hero::after {
  content: ""; position: absolute; right: -8%; top: -20%; width: 42%; height: 70%;
  background: radial-gradient(circle, rgba(var(--sc-yellow-rgb), 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.sc-hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--sc-shell-max);
  margin: 0 auto;
  padding-inline: var(--sc-shell-pad);
  box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
  z-index: 1;
}
.sc-hero h1 {
  margin: 0 0 .85rem; font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15; letter-spacing: -0.03em; font-weight: 800;
}
.sc-hero-lead { margin: 0 0 1.5rem; color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 34rem; }
.sc-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.sc-hero-cta .btn-accent {
  transition: transform .2s ease, background .15s ease, box-shadow .2s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.sc-hero-cta .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
@media (prefers-reduced-motion: no-preference) {
  .sc-hero-copy {
    animation: sc-hero-rise .55s cubic-bezier(.22, 1, .36, 1) both;
  }
  .sc-hero .sc-code {
    animation: sc-hero-rise .65s .1s cubic-bezier(.22, 1, .36, 1) both;
  }
}
@keyframes sc-hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sc-code {
  background: #0a1020; border-radius: 14px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(1, 36, 120, .35); overflow: hidden;
}
.sc-code-bar {
  display: flex; gap: .35rem; padding: .7rem .9rem; background: #121a2b;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sc-code-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #334155; }
.sc-code-bar i:nth-child(1) { background: #f87171; }
.sc-code-bar i:nth-child(2) { background: var(--sc-yellow); }
.sc-code-bar i:nth-child(3) { background: #34d399; }
.sc-code pre {
  margin: 0; padding: 1rem 1.1rem 1.2rem; font-family: var(--sc-mono);
  font-size: .82rem; color: #cbd5e1; overflow: auto; line-height: 1.55;
}
.sc-code .c-cmd { color: var(--sc-yellow); }
.sc-code .c-ok { color: #86efac; }
.sc-code.sc-code-doc {
  width: 100%;
  max-width: none;
  box-shadow: none;
  border: 1px solid var(--sc-line);
  background: #fff;
}
.sc-code.sc-code-doc pre {
  color: #334155;
  /* Keep ASCII diagrams / code columns aligned; scroll instead of wrapping. */
  white-space: pre;
  word-break: normal;
  overflow-x: auto;
  overflow-y: hidden;
  tab-size: 2;
  letter-spacing: 0;
  font-variant-ligatures: none;
  font-family: Consolas, "Courier New", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.4;
}

.sc-docs-toc {
  display: flex; flex-wrap: wrap; gap: .55rem .85rem;
  margin: 0 0 1.75rem; padding: 0 0 1rem;
  border-bottom: 1px solid var(--sc-line);
}
.sc-docs-toc a {
  color: var(--sc-klein); font-size: .92rem; font-weight: 600; text-decoration: none;
}
.sc-docs-toc a:hover { text-decoration: underline; }
.sc-docs-h {
  margin: 1.75rem 0 .55rem; font-size: 1.08rem; color: var(--sc-klein); letter-spacing: -0.01em;
}
.sc-docs-h4 {
  margin: 1.15rem 0 .45rem; font-size: .98rem; color: #0f172a; font-weight: 700;
}
.sc-docs-p { color: #475569; margin: 0 0 .85rem; max-width: 48rem; line-height: 1.65; }
.sc-docs-ol, .sc-docs-ul {
  margin: 0 0 1.1rem; padding-left: 1.25rem; color: #475569; line-height: 1.75; max-width: 48rem;
}
.sc-docs-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .85rem;
}
.sc-docs-tab {
  appearance: none; border: 1px solid var(--sc-line); background: #fff;
  color: #334155; border-radius: 999px; padding: .4rem .95rem;
  font-size: .88rem; font-weight: 600; cursor: pointer;
}
.sc-docs-tab.on {
  border-color: var(--sc-klein); background: var(--sc-klein); color: #fff;
}
.sc-docs-pane { display: none; }
.sc-docs-pane.on { display: block; }
.sc-docs-cta { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: .65rem; }

.sc-section {
  width: 100%;
  max-width: var(--sc-shell-max);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.25rem) var(--sc-shell-pad);
  box-sizing: border-box;
}
.sc-section h2 { margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.4vw, 1.65rem); letter-spacing: -0.02em; color: var(--sc-klein); }
.sc-section .sub { color: var(--sc-muted); margin: 0 0 1.75rem; max-width: min(36rem, 100%); }
.sc-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.sc-card {
  background: var(--sc-card); border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius); padding: 1.25rem 1.2rem;
}
.sc-card .ico {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--sc-klein-rgb), 0.08); color: var(--sc-klein); font-size: 1.35rem; margin-bottom: .75rem;
}
.sc-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--sc-klein); }
.sc-card p { margin: 0; color: var(--sc-muted); font-size: .92rem; }

.sc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  counter-reset: step;
}
.sc-step {
  background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
  padding: 1.2rem; position: relative;
}
.sc-step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--sc-yellow); color: var(--sc-klein);
  font-size: .85rem; font-weight: 700; margin-bottom: .65rem;
}
.sc-step h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--sc-klein); }
.sc-step p { margin: 0; color: var(--sc-muted); font-size: .9rem; }

/* Homepage pipeline: steps + console still (replaces duplicate feature cards) */
.sc-pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.sc-pipeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  counter-reset: pipe;
}
.sc-pipeline-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  padding: 1.05rem 1.15rem 1.05rem 3.4rem;
}
.sc-pipeline-item::before {
  counter-increment: pipe;
  content: counter(pipe);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sc-yellow);
  color: var(--sc-klein);
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sc-pipeline-item h3 { margin: 0 0 .3rem; font-size: 1.02rem; color: var(--sc-klein); }
.sc-pipeline-item p { margin: 0; color: var(--sc-muted); font-size: .9rem; line-height: 1.55; }
.sc-pipeline-cap {
  display: inline-block;
  margin-top: .55rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sc-klein);
  background: rgba(var(--sc-klein-rgb), 0.07);
  border-radius: 999px;
  padding: .18rem .55rem;
}
.sc-pipeline-docs {
  margin: 1.15rem 0 0;
  font-size: .92rem;
  font-weight: 600;
}
.sc-still {
  background: #0a1020;
  color: #cbd5e1;
  border-radius: 14px;
  border: 1px solid rgba(1, 36, 120, 0.35);
  box-shadow: 0 16px 40px rgba(1, 36, 120, 0.12);
  overflow: hidden;
  min-height: 100%;
}
.sc-still-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 1rem;
  background: #121a2b;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  font-weight: 600;
  color: #e2e8f0;
}
.sc-still-pill {
  font-size: .7rem;
  font-weight: 700;
  color: var(--sc-klein);
  background: var(--sc-yellow);
  border-radius: 999px;
  padding: .18rem .5rem;
}
.sc-still-body { padding: 1rem 1.05rem 1.15rem; }
.sc-still-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .65rem;
  padding: .4rem 0;
  font-family: var(--sc-mono);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-still-row .k { color: #94a3b8; }
.sc-still-row .v { color: #e2e8f0; word-break: break-all; }
.sc-still-row .v.ok { color: #86efac; }
.sc-still-meter {
  margin: .95rem 0 .65rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.sc-still-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sc-yellow), #fff3a8);
}
.sc-still-note {
  margin: 0;
  font-size: .78rem;
  color: #94a3b8;
  line-height: 1.5;
}
.sc-bill-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(var(--sc-klein-rgb), 0.04) 0%, rgba(var(--sc-yellow-rgb), 0.12) 100%),
    #fff;
  box-shadow: 0 10px 28px rgba(var(--sc-klein-rgb), 0.05);
}
.sc-bill-cta-copy {
  flex: 1 1 16rem;
  min-width: 0;
}
.sc-bill-cta-copy h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--sc-klein);
}
.sc-bill-cta-copy p {
  margin: 0;
  max-width: 38rem;
  color: var(--sc-muted);
  font-size: .95rem;
  line-height: 1.6;
}
.sc-bill-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex: 0 0 auto;
}

.sc-pricing-page .sc-legal-card {
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.sc-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.1rem;
  margin-top: .15rem;
}
.sc-price {
  position: relative;
  background: rgba(var(--sc-klein-rgb), 0.02);
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  padding: 1.45rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sc-price:hover {
  border-color: rgba(var(--sc-klein-rgb), 0.28);
  box-shadow: 0 10px 28px rgba(var(--sc-klein-rgb), 0.08);
}
.sc-price.featured {
  background: #fff;
  border-color: rgba(var(--sc-klein-rgb), 0.35);
  box-shadow: 0 12px 32px rgba(var(--sc-klein-rgb), .12);
}
.sc-price.featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(var(--sc-klein-rgb), .14);
}
.sc-price.is-current {
  background: #fff;
  border-color: var(--sc-klein);
  box-shadow: 0 0 0 1px var(--sc-klein), 0 10px 24px rgba(var(--sc-klein-rgb), .1);
}
.sc-bill-price-grid { margin-top: .35rem; }
.sc-price-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--sc-yellow);
  color: var(--sc-klein);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .22rem .6rem;
  border-radius: 999px;
  line-height: 1.2;
}
.sc-price-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--sc-klein);
  letter-spacing: -0.01em;
}
.sc-price .amt {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sc-klein);
  line-height: 1.15;
}
.sc-price-currency {
  font-size: .72em;
  font-weight: 700;
  opacity: .72;
  margin-right: .1rem;
}
.sc-price-feats {
  list-style: none;
  margin: .15rem 0 0;
  padding: 0;
  color: #475569;
  font-size: .92rem;
  line-height: 1.45;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.sc-price-feats li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.sc-price-feats i {
  flex: 0 0 auto;
  margin-top: .12rem;
  color: var(--sc-klein);
  font-size: 1.05rem;
  opacity: .85;
}
.sc-price-feats strong {
  color: var(--sc-ink);
  font-weight: 700;
}
.sc-price .btn {
  margin-top: .35rem;
  justify-content: center;
  width: 100%;
}
.sc-price-desc {
  margin: -.15rem 0 0;
  color: var(--sc-muted);
  font-size: .88rem;
  line-height: 1.5;
  min-height: 2.6em;
}
.sc-price-period {
  margin-left: .2rem;
  font-size: .48em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--sc-muted);
  vertical-align: middle;
}
.sc-price-amt-note {
  margin: -.35rem 0 0;
  font-size: .78rem;
  color: var(--sc-muted);
  line-height: 1.4;
}
.sc-price-block-title {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sc-klein);
}
.sc-price-bill,
.sc-price-include,
.sc-price-faq {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: clamp(1.35rem, 3vw, 1.75rem);
  border-top: 1px solid var(--sc-line);
}
.sc-price-bill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
}
.sc-price-bill-item {
  background: rgba(var(--sc-klein-rgb), 0.025);
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  padding: 1.05rem 1rem;
}
.sc-price-bill-item > i {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(var(--sc-klein-rgb), 0.08);
  color: var(--sc-klein);
  font-size: 1.15rem;
  margin-bottom: .55rem;
}
.sc-price-bill-item h3 {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--sc-klein);
}
.sc-price-bill-item p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--sc-muted);
}
.sc-price-include-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .65rem .9rem;
}
.sc-price-include-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .92rem;
  line-height: 1.5;
  color: #334155;
}
.sc-price-include-list i {
  flex: 0 0 auto;
  margin-top: .12rem;
  color: var(--sc-klein);
  font-size: 1.05rem;
}
.sc-price-faq-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.sc-price-faq-item {
  padding: .95rem 1rem;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  background: #fff;
}
.sc-price-faq-item dt {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--sc-klein);
}
.sc-price-faq-item dd {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--sc-muted);
}

.sc-footer {
  border-top: 1px solid var(--sc-line); background: #fff;
  width: 100%;
  padding: 2rem 0; margin-top: 1rem;
  box-sizing: border-box;
}
.sc-footer-inner {
  width: 100%;
  max-width: var(--sc-shell-max);
  margin: 0 auto;
  padding-inline: var(--sc-shell-pad);
  box-sizing: border-box;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--sc-muted); font-size: .88rem;
}
.sc-footer-links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem 1.35rem;
}
.sc-footer a { color: var(--sc-muted); margin-right: 0; }
.sc-footer a:hover { color: var(--sc-klein); }
.sc-footer-filing { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .82rem; }
.sc-footer-filing a { margin-right: 0; }

/* 关于 / 条款 / 隐私 / 公告：对齐全站壳宽 + 卡片排版 */
.sc-legal-page {
  max-width: var(--sc-shell-max); /* 与首页/文档同宽（1400） */
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.sc-legal-card {
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.35rem, 3.5vw, 2.75rem);
  box-shadow: 0 12px 36px rgba(var(--sc-klein-rgb), 0.06);
}
.sc-legal-head {
  margin: 0 0 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--sc-line);
  position: relative;
}
.sc-legal-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 3.25rem; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sc-klein), var(--sc-yellow));
}
.sc-legal-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--sc-klein);
  font-weight: 800;
}
.sc-legal-lead {
  margin: .55rem 0 0;
  max-width: 42rem;
  font-size: .98rem;
  line-height: 1.65;
  color: var(--sc-muted);
}
.sc-docs-page .sc-legal-card {
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.sc-docs-body {
  margin-top: .25rem;
}
.sc-announce-shell .sc-announce-list {
  margin-top: .15rem;
}
.sc-prose {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: none;
}
.sc-prose--compact { font-size: .98rem; line-height: 1.7; }
.sc-prose > *:first-child { margin-top: 0; }
.sc-prose > *:last-child { margin-bottom: 0; }
.sc-prose p { margin: 0 0 1.05rem; }
.sc-prose h2, .sc-prose h3, .sc-prose h4 {
  color: var(--sc-klein);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin: 1.65rem 0 .65rem;
}
.sc-prose h2 { font-size: 1.22rem; }
.sc-prose h3 { font-size: 1.08rem; }
.sc-prose h4 { font-size: 1rem; }
.sc-prose ul, .sc-prose ol {
  margin: 0 0 1.05rem;
  padding-left: 1.35rem;
}
.sc-prose li { margin: .35rem 0; }
.sc-prose a { font-weight: 600; text-underline-offset: 2px; }
.sc-prose strong { color: var(--sc-ink); font-weight: 700; }
.sc-prose hr {
  border: 0; border-top: 1px solid var(--sc-line);
  margin: 1.5rem 0;
}
.sc-prose blockquote {
  margin: 0 0 1.05rem;
  padding: .75rem 1rem;
  border-left: 3px solid var(--sc-yellow);
  background: rgba(var(--sc-klein-rgb), 0.04);
  color: #475569;
  border-radius: 0 8px 8px 0;
}
.sc-announce-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sc-announce-card {
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 20px rgba(var(--sc-klein-rgb), 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sc-announce-card:hover {
  border-color: rgba(var(--sc-klein-rgb), 0.28);
  box-shadow: 0 10px 28px rgba(var(--sc-klein-rgb), 0.08);
}
.sc-announce-title {
  margin: 0 0 .35rem;
  font-size: 1.12rem;
  color: var(--sc-klein);
  letter-spacing: -0.015em;
}
.sc-announce-meta {
  display: block;
  margin: 0 0 .75rem;
  font-size: .84rem;
  color: var(--sc-muted);
}
.sc-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--sc-muted);
  background: var(--sc-card);
  border: 1px dashed var(--sc-line);
  border-radius: 14px;
}

.sc-auth-wrap {
  max-width: 420px; margin: 3rem auto; padding: 0 1rem;
}
/* 登录/注册：顶栏 + 分栏 + 页脚贴合铺满视口，去掉 footer 上空白缝 */
body.sc-page:has(.sc-auth-split) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}
body.sc-page:has(.sc-auth-split) > .sc-top {
  flex: 0 0 auto;
}
body.sc-page:has(.sc-auth-split) > .sc-auth-split {
  flex: 1 1 auto;
  min-height: 0;
}
body.sc-page:has(.sc-auth-split) > .sc-footer {
  flex: 0 0 auto;
  margin-top: 0;
}
body.sc-page:has(.sc-auth-split) > .sc-footer-ad-wrap {
  flex: 0 0 auto;
  margin-bottom: 0;
}
.sc-auth-split {
  /* Full-bleed under header: left brand paints to the viewport edge (no shell inset). */
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  /* 高度由 body flex 撑满顶栏与页脚之间，避免 100vh 估算与 footer 之间留缝 */
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  align-self: stretch;
}
.sc-auth-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(var(--sc-yellow-rgb), 0.22), transparent 55%),
    linear-gradient(155deg, var(--sc-hero-from) 0%, var(--sc-hero-mid) 48%, var(--sc-hero-to) 100%);
  color: #fff;
  /* Text inset only — panel itself is flush with the left edge */
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sc-auth-brand::after {
  content: "";
  position: absolute;
  right: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent);
  z-index: 2;
}
.sc-auth-brand-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(28rem, 70%);
  height: min(28rem, 70%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--sc-yellow-rgb), 0.28) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: sc-auth-glow-drift 14s ease-in-out infinite alternate;
}
.sc-auth-brand-glow::after {
  content: "";
  position: absolute;
  left: -40%;
  bottom: -55%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 70%);
  animation: sc-auth-glow-drift 18s ease-in-out infinite alternate-reverse;
}
.sc-auth-brand-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 75% at 35% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 35% 40%, #000 20%, transparent 75%);
  animation: sc-auth-grid-pan 22s linear infinite;
}
.sc-auth-brand-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin-right: clamp(0.5rem, 2vw, 1.5rem);
}
.sc-auth-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: sc-auth-rise .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--sc-auth-delay, 0ms);
}
.sc-auth-brand-kicker {
  margin: 0 0 .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sc-yellow);
}
.sc-auth-brand-kicker::before {
  content: "";
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--sc-yellow);
  box-shadow: 0 0 0 3px rgba(var(--sc-yellow-rgb), 0.28);
  animation: sc-auth-pulse 2.4s ease-in-out infinite;
}
.sc-auth-brand-title {
  margin: 0 0 .75rem;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: #fff;
}
.sc-auth-brand-lead {
  margin: 0 0 1.35rem;
  font-size: .98rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 26rem;
}
.sc-auth-brand-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.sc-auth-brand-points li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: .75rem;
  align-items: start;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}
.sc-auth-brand-ico {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  color: var(--sc-yellow);
  box-sizing: border-box;
}
.sc-auth-brand-ico i {
  display: block;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  font-size: 1rem;
  text-align: center;
  margin: 0;
  padding: 0;
}
@keyframes sc-auth-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sc-auth-glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 8%, 0) scale(1.08); }
}
@keyframes sc-auth-grid-pan {
  from { background-position: 0 0, 0 0; }
  to { background-position: 28px 28px, 28px 28px; }
}
@keyframes sc-auth-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(var(--sc-yellow-rgb), 0.22); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(var(--sc-yellow-rgb), 0.08); opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-auth-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .sc-auth-brand-glow,
  .sc-auth-brand-glow::after,
  .sc-auth-brand-grid,
  .sc-auth-brand-kicker::before {
    animation: none !important;
  }
}
.sc-auth-panel {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3.5rem);
  border-left: 1px solid var(--sc-line);
}
.sc-auth-card {
  background: #fff; border: 1px solid var(--sc-line); border-radius: 14px; padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(var(--sc-klein-rgb), 0.06);
}
.sc-auth-card--panel {
  width: 100%;
  max-width: 400px;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.sc-auth-card h1 { margin: 0 0 .35rem; font-size: 1.4rem; color: var(--sc-klein); }
.sc-auth-card .hint { color: var(--sc-muted); font-size: .9rem; margin-bottom: 1rem; }
.sc-auth-links {
  margin: 1.05rem 0 0;
  color: var(--sc-muted);
  font-size: .9rem;
}
.sc-auth-links a { font-weight: 600; }
.sc-auth-sep {
  margin: 0 .45rem;
  color: #cbd5e1;
}
@media (max-width: 880px) {
  .sc-auth-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sc-auth-brand {
    justify-content: flex-start;
    padding: 1.5rem 1.35rem 1.35rem;
  }
  .sc-auth-brand-inner { margin-right: 0; max-width: none; }
  .sc-auth-brand::after { display: none; }
  .sc-auth-brand-points { display: none; }
  .sc-auth-panel {
    padding: 1.5rem 1.25rem 1.75rem;
    border-left: 0;
    border-top: 1px solid var(--sc-line);
  }
  /* 窄屏：品牌条只占内容高，表单区吃掉剩余高度贴页脚 */
  body.sc-page:has(.sc-auth-split) > .sc-auth-split {
    grid-template-rows: auto 1fr;
  }
  .sc-auth-panel {
    align-items: flex-start;
  }
}
.sc-field { margin-bottom: .85rem; }
.sc-field label { display: block; font-size: .85rem; margin-bottom: .3rem; color: var(--sc-muted); }
.sc-field input,
.sc-field select,
.sc-field textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  color: var(--sc-ink);
  background-color: #fff;
  box-sizing: border-box;
}
.sc-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="color"]):not([type="range"]):not([type="image"]),
.sc-field select:not([multiple]) {
  height: var(--sc-control-height);
  min-height: var(--sc-control-height);
  padding-top: 0;
  padding-bottom: 0;
  line-height: calc(var(--sc-control-height) - 2px);
}
.sc-field input:focus,
.sc-field select:focus,
.sc-field textarea:focus {
  outline: none;
  border-color: var(--sc-klein);
  box-shadow: 0 0 0 3px rgba(var(--sc-klein-rgb), 0.14);
}

/* 前台/用户中心：原生 select 对齐主题（与文本框同高、自定义箭头） */
body.sc-page select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: var(--sc-control-height);
  min-height: var(--sc-control-height);
  padding: 0 2.1rem 0 0.75rem;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  line-height: calc(var(--sc-control-height) - 2px);
  color: var(--sc-ink);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  vertical-align: middle;
}
body.sc-page select:not([multiple]):hover {
  border-color: #94a3b8;
}
body.sc-page select:not([multiple]):focus {
  outline: none;
  border-color: var(--sc-klein);
  box-shadow: 0 0 0 3px rgba(var(--sc-klein-rgb), 0.14);
}
body.sc-page select:not([multiple]):disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f8fafc;
}
body.sc-page select option {
  color: var(--sc-ink);
  background: #fff;
  line-height: 1.4;
  padding: 0.35rem 0.5rem;
}
.sc-remember {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--sc-muted);
  cursor: pointer;
  user-select: none;
}
.sc-remember input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--sc-klein);
  cursor: pointer;
}
.sc-remember span { line-height: 1.3; }

.sc-auth-alert {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.88rem;
  line-height: 1.45;
}
.sc-auth-alert[hidden] { display: none !important; }

/* 图形验证码：用户名 focus 后才展示并拉取 */
.auth-graphic-captcha { margin-bottom: 1rem; }
.auth-graphic-captcha.is-captcha-idle,
.auth-graphic-captcha[hidden] {
  display: none !important;
}
.auth-graphic-captcha > .auth-cap-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--sc-muted);
}
.auth-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.auth-captcha-row .captcha-input-group {
  display: flex;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.auth-captcha-row .captcha-input-group input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  outline: none;
  background: transparent;
}
.captcha-refresh-btn {
  flex: 0 0 auto;
  width: 42px;
  border: 0;
  border-left: 1px solid var(--sc-line);
  background: #f8fafc;
  color: var(--sc-muted);
  cursor: pointer;
  font-size: 1.15rem;
}
.captcha-refresh-btn:hover {
  color: var(--sc-klein);
  background: rgba(var(--sc-yellow-rgb), 0.2);
}
.auth-graphic-captcha .captcha-inline-preview {
  flex: 0 0 auto;
  width: 120px;
  height: 42px;
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-graphic-captcha .captcha-inline-preview.is-hidden,
.auth-graphic-captcha .captcha-inline-preview[hidden] {
  display: none !important;
}
.captcha-inline-preview-img {
  display: block;
  width: 120px;
  height: 36px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.captcha-inline-preview-img:not([src]),
.captcha-inline-preview-img[src=""] {
  visibility: hidden;
}

/* 登录成功 Morph（分册 AK）：两侧收圆 → SVG 描勾 → ~2s 跳转 */
.login-submit-slot {
  display: flex;
  justify-content: center;
  width: 100%;
}
.login-submit-slot .btn-login-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transform: translateZ(0);
  min-height: 44px;
  box-sizing: border-box;
}
.login-submit-slot .btn-login-submit .btn-text {
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.login-submit-slot .btn-login-submit .login-success-check {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  opacity: 0;
  pointer-events: none;
}
.login-submit-slot .btn-login-submit .login-success-check polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.login-submit-slot .btn-login-submit.is-login-success {
  pointer-events: none;
  background: var(--sc-klein) !important;
  color: #fff !important;
  border-color: transparent !important;
  gap: 0;
  transform: translateZ(0) !important;
  box-shadow: 0 8px 20px rgba(var(--sc-klein-rgb), 0.28);
  will-change: width;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 9999px !important;
  transition:
    width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.login-submit-slot .btn-login-submit.is-login-success .btn-text {
  opacity: 0;
  transform: scale(0.75);
}
.login-submit-slot .btn-login-submit.is-login-success .login-success-check {
  opacity: 1;
  transition: opacity 0.2s ease 0.28s;
}
.login-submit-slot .btn-login-submit.is-login-success .login-success-check polyline {
  animation: scLoginSuccessDrawCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.32s forwards;
}
@keyframes scLoginSuccessDrawCheck {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .login-submit-slot .btn-login-submit.is-login-success {
    transition: none;
    will-change: auto;
  }
  .login-submit-slot .btn-login-submit.is-login-success .login-success-check polyline {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 900px) {
  .sc-hero-inner { grid-template-columns: 1fr; }
  .sc-pipeline { grid-template-columns: 1fr; }
  .sc-top-inner { position: relative; flex-wrap: wrap; }
  .sc-nav-toggle { display: inline-flex; order: 2; }
  .sc-top-auth { order: 3; }
  .sc-top-auth .btn-ghost,
  .sc-top-auth > .btn-primary,
  .sc-top-auth .sc-top-console { display: none; }
  .sc-nav {
    display: none;
    order: 4;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-top: 0.35rem;
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(1, 36, 120, 0.1);
  }
  .sc-top.is-nav-open .sc-nav { display: flex; }
  .sc-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-weight: 600;
  }
  .sc-nav a.on,
  .sc-nav a:hover { background: rgba(var(--sc-klein-rgb), 0.06); text-decoration: none; }
  .sc-nav-mobile-auth {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.45rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--sc-line);
  }
  .sc-nav-mobile-auth .btn { flex: 1 1 auto; justify-content: center; }
}
@media (min-width: 1600px) {
  :root { --sc-shell-max: 1520px; }
}

.sc-footer-ad-wrap { max-width: var(--sc-shell-max, 1200px); margin: 0 auto 1rem; padding: 0 1.25rem; }
.sc-ad-slot { text-align: center; }
.sc-ad-slot img { max-width: 100%; height: auto; border-radius: 8px; }
.sc-cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: rgba(1, 36, 120, 0.96); color: #fff; padding: 1rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}
.sc-cookie-inner { max-width: var(--sc-shell-max, 1200px); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.sc-cookie-title { margin: 0; font-weight: 600; font-size: 0.95rem; }
.sc-cookie-desc { margin: 0; flex: 1 1 280px; font-size: 0.86rem; opacity: 0.92; }
.sc-cookie-desc a { color: #ffcf00; }
.sc-auth-oauth { margin: 0.75rem 0 0.5rem; }
.sc-auth-oauth .btn-block { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
