/* Cinema 深色主题：与桌面客户端 ui/theme.py 对齐 */
:root {
  --bg: #12141A;
  --panel: #16181F;
  --sidebar: #1A1D27;
  --darker: #0A0A0C;
  --input: #1E222D;
  --hover: #262B38;
  --select: #2F3558;
  --border: #2E3340;
  --border2: #3F4656;
  --text: #EDEDEF;
  --bright: #F7F7F8;
  --dim: #C4C7CE;
  --muted: #8A8F98;
  --disabled: #5C6370;
  --acc: #5E6AD2;
  --acc-hover: #7279DB;
  --acc-muted: #3A4270;
  --acc-text: #F0F1FA;
  --btn: #222633;
  --btn-hover: #2A3040;
  --ok: #34D399;
  --warn: #E8B84A;
  --err: #E87878;
  --title: #9AA3E8;
  --radius: 4px;
  --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: Consolas, "Sarasa Mono SC", monospace;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  /* 13 寸笔记本可视宽约 1280–1366；内容别拉满 */
  --max: 980px;
  /* 纸面（左右）vs 插头色（顶栏+登录倒 T） */
  --paper: #12151D;
  --plug: #2A3144;
  --plug-edge: #343C52;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(94, 106, 210, 0.14), transparent 55%),
    radial-gradient(900px 500px at 88% 0%, rgba(52, 211, 153, 0.05), transparent 50%),
    linear-gradient(180deg, #0E1016 0%, var(--bg) 40%, #10131A 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

a { color: var(--title); text-decoration: none; }
a:hover { color: var(--acc-hover); }

.hidden { display: none !important; }

/* —— 顶栏：倒 T 横梁，与登录同色、无分割线 —— */
.site-header {
  grid-area: head;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  height: 44px;
  background: var(--plug);
  border: 0;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}
.brand-mark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--title);
  line-height: 1;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 16px;
}

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-link,
.popup-menu-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover,
.popup-menu-trigger:hover,
.popup-menu-trigger[aria-expanded="true"] {
  color: var(--bright);
  background: var(--hover);
}
.nav-link.contact {
  color: var(--title);
  border: 1px solid var(--border2);
  padding: 6px 12px;
}
.nav-link.contact:hover {
  border-color: var(--acc);
  background: var(--acc-muted);
  color: var(--acc-text);
}

/* —— PopupMenu —— */
.popup-menu-root { position: relative; display: inline-flex; }
.popup-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 168px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.popup-menu-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.popup-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 3px;
  cursor: pointer;
}
.popup-menu-item:hover {
  background: var(--select);
  color: var(--bright);
}
.popup-menu-item:disabled {
  color: var(--disabled);
  cursor: not-allowed;
}
.popup-menu-sep {
  height: 1px;
  margin: 4px 6px;
  background: var(--border);
}

/* —— 倒 T：顶栏横梁 + 中间登录柱；左右写在纸面上 —— */
.page {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 36px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.15fr) minmax(0, 0.9fr);
  grid-template-areas:
    "head head head"
    "left main right";
  align-items: stretch;
  gap: 0;
  margin-bottom: 12px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
  overflow: visible;
}

/* 顶栏正中：官网域名（「这是什么」与「联系我们」之间） */
.site-domain {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--bright);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.col {
  padding: 10px 12px 14px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.col-side {
  background: transparent;
  box-shadow: none;
  border: 0;
}
#prepPanel { grid-area: left; padding-left: 4px; padding-right: 16px; }
#downloadPanel { grid-area: right; padding-left: 16px; padding-right: 4px; }

/* 登录柱：与顶栏同色；高度与左右齐平（stretch），内部紧凑不留大空白 */
.col-main {
  grid-area: main;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  max-height: none;
  align-self: stretch;
  padding: 10px 14px 12px;
  background: var(--plug);
  border: 0;
  border-radius: 0 0 6px 6px;
  box-shadow:
    -16px 8px 28px rgba(0, 0, 0, 0.42),
    16px 8px 28px rgba(0, 0, 0, 0.42),
    0 14px 24px rgba(0, 0, 0, 0.28);
}
.auth-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* 未登录 / 已登录互斥显示（禁止叠层，叠层会花屏）；高度靠 JS minHeight 锁死防抖 */
#authPanel,
#homePanel {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--plug);
}
#authPanel.is-off,
#homePanel.is-off {
  display: none !important;
}
.auth-tabs { flex-shrink: 0; margin-bottom: 6px; }
.auth-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}
/* 仅登录区四页卡叠同一格，高度取最长的，切换不抖动 */
#authPanel .auth-scroll {
  display: grid;
}
#authPanel .auth-scroll > .auth-tab {
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  min-width: 0;
}
#authPanel .auth-scroll > .auth-tab.is-off {
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
#authPanel .auth-scroll > .auth-tab:not(.is-off) {
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.home-compact {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.today-spend {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(46, 51, 64, 0.55);
}
.phone-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.phone-label { flex-shrink: 0; }
#phoneDisplay { min-width: 0; word-break: break-all; }
.phone-inline {
  width: 120px;
  flex: 1;
  min-width: 80px;
  max-width: 160px;
  height: 24px;
  margin: 0;
}

@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "main"
      "left"
      "right";
  }
  .nav-left { display: none; }
  .col-main {
    border-radius: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    height: auto;
    min-height: 0;
    max-height: none;
  }
  #prepPanel,
  #downloadPanel {
    padding: 12px 8px;
  }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.panel:nth-child(1),
.panel:nth-child(2),
.panel:nth-child(3) { animation: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.panel-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panel-title::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--acc);
}

.prep-lead {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--dim);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.checklist li {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
.checklist li:hover { background: transparent; border: 0; }
.checklist .item-note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

.download-cards {
  display: grid;
  gap: 6px;
}
.dl-card {
  display: block;
  padding: 10px 12px 8px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  background: var(--plug);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.dl-card:hover {
  border-color: var(--acc);
  background: var(--hover);
  color: inherit;
  transform: translateY(-1px);
}
.dl-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.dl-card strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bright);
  margin-bottom: 4px;
}
.dl-card .dl-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--title);
}
.dl-card:hover .dl-ico {
  color: var(--acc);
}
.dl-card .meta {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.recover-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  /* 结果再多也只在槽内滚，不把登录柱撑高 */
  max-height: 88px;
  overflow-y: auto;
}
.recover-list li {
  padding: 6px 8px;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 650;
  color: var(--bright);
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 3px;
  border: 1px solid var(--border2);
  background: var(--btn);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--btn-hover); color: var(--bright); }
.btn.primary {
  background: var(--acc-muted);
  border-color: var(--acc);
  color: var(--acc-text);
}
.btn.primary:hover { background: var(--acc); }
.btn.danger {
  background: transparent;
  border-color: var(--err);
  color: var(--err);
}
.btn.danger:hover {
  background: rgba(232, 120, 120, 0.16);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.block { width: 100%; margin-top: 8px; }

/* —— 中间：登录 / 用户 —— */
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.auth-tabs .btn {
  flex: none;
  padding: 0 4px;
  font-size: 11px;
  height: 28px;
}
.auth-tabs .btn.on {
  background: var(--acc-muted);
  border-color: var(--acc);
  color: var(--acc-text);
}

label.field {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  flex-shrink: 0;
  width: 56px;
}
.field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.field-row > input,
.field-row > select,
.field-row > .pw-wrap,
.field-row > .sms-row {
  flex: 1;
  min-width: 0;
}
.field-row .btn { flex-shrink: 0; margin-top: 0; }
.pw-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pw-wrap input { flex: 1; min-width: 0; }
.pw-eye {
  appearance: none;
  width: 30px;
  height: 28px;
  border: 1px solid var(--border2);
  border-radius: 3px;
  background: var(--btn);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}
.pw-eye:hover { background: var(--btn-hover); }
.user-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  user-select: none;
  visibility: hidden;
}
.user-mark.on { visibility: visible; }
.home-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.home-actions .btn { flex: 1; margin-top: 0; }
.user-line {
  font-size: 13px;
  color: var(--text);
  margin: 4px 0;
  line-height: 1.45;
}
.btn.linkish {
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
  margin-top: 0;
}
.recharge-block {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}
.recharge-block .field-row:first-child { margin-top: 0; }

input, select {
  width: 100%;
  height: 28px;
  padding: 0 8px;
  border-radius: 3px;
  border: 1px solid var(--border2);
  background: var(--input);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
}
input:focus, select:focus {
  border-color: var(--acc);
  box-shadow: 0 0 0 2px rgba(94, 106, 210, 0.2);
}
.hint { font-size: 12px; color: var(--muted); margin: 6px 0 0; min-height: 1.35em; line-height: 1.35; }
.hint.ok { color: var(--ok); }
.hint.err { color: var(--err); }
/* 始终占一行，避免 show/hide 把表单顶得上下跳 */
.field-hint {
  display: block;
  box-sizing: border-box;
  min-height: 1.35em;
  line-height: 1.35;
  margin: 2px 0 0 64px; /* 对齐输入框（label 56px + gap） */
  font-size: 11px;
  color: transparent;
  visibility: hidden;
}
.field-hint.show {
  visibility: visible;
  color: var(--err);
}
.field-hint.ok { color: var(--ok); }
.field-hint.err { color: var(--err); }
.sms-row { display: grid; grid-template-columns: 1fr 72px; gap: 6px; align-items: center; }
.bal {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 10px;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.amt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.intro { margin: 0 0 8px; font-size: 12px; color: var(--dim); line-height: 1.45; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--select);
  color: var(--acc-text);
  font-size: 12px;
  font-weight: 650;
}

#qrBox { text-align: center; margin-top: 10px; }
.qr-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
}
.qr-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-loading {
  position: absolute;
  inset: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f5f5f5;
  color: #666;
  font-size: 12px;
}
.qr-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #ddd;
  border-top-color: #07c160;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* —— Tabs（多页卡） —— */
.feature-shell {
  border: 1px solid var(--border2);
  border-radius: 4px;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}
.ls-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--sidebar);
  overflow-x: auto;
  min-height: 38px;
}
.ls-tab {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  padding: 9px 14px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
  flex: 0 0 auto;
  white-space: nowrap;
}
.ls-tab:last-child { border-right: 0; }
.ls-tab:hover { color: var(--dim); background: var(--hover); }
.ls-tab[aria-selected="true"] {
  color: var(--acc-text);
  background: var(--acc-muted);
  box-shadow: inset 0 -2px 0 var(--acc);
}
/* 锁死面板高度=内容宽 16:9，切换页卡不抖动 */
.ls-tab-panels {
  padding: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: var(--panel);
  position: relative;
}
.ls-tab-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 12px;
}
.ls-tab-panel[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.ls-tab-panel:not([hidden]) {
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.ls-tab-panel--bleed { padding: 0; overflow: hidden; }
.ls-tab-panel h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--bright);
}
.ls-tab-panel p {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  max-width: 62ch;
}

.video-frame {
  margin: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(135deg, rgba(94, 106, 210, 0.1), transparent 42%),
    var(--input);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.video-frame span {
  padding: 6px 10px;
  border: 1px dashed var(--border2);
  border-radius: 3px;
  background: rgba(10, 10, 12, 0.35);
}

.placeholder-card {
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed var(--border2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.contact-dialog {
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 0;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
  max-width: 320px;
  width: calc(100% - 32px);
}
.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.contact-form {
  margin: 0;
  padding: 16px;
}
.contact-form h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--bright);
}
.contact-form p,
.contact-body p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 13px;
}
.contact-form .lbl,
.contact-body .lbl {
  width: 72px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 12px;
}
.contact-form strong,
.contact-body strong {
  color: var(--bright);
  font-weight: 650;
  word-break: break-all;
}

/* —— FloatWindow：可拖动 / 可缩放 —— */
.float-win {
  position: fixed;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border2);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  resize: both;
  z-index: 1200;
}
.float-win[hidden] { display: none !important; }
.float-win-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 8px 0 12px;
  background: var(--plug);
  border-bottom: 1px solid var(--border);
  cursor: move;
  user-select: none;
  flex-shrink: 0;
}
.float-win-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-win-close {
  appearance: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--dim);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.float-win-close:hover {
  background: var(--hover);
  color: var(--bright);
}
.float-win-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.float-win-about {
  max-width: 92vw;
  max-height: 90vh;
}
.about-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}
.pay-win-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.pay-win-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
}

.site-footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto 20px;
  color: var(--disabled);
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--title); }
.footer-sep { opacity: 0.5; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 8px 12px;
  background: var(--acc);
  color: var(--acc-text);
}
.skip-link:focus { left: 12px; top: 12px; }

h1.brand-mark {
  margin: 0;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.nav-link.lang-switch {
  font-weight: 650;
  letter-spacing: 0.04em;
}

/* SEO / GEO 可抓取说明区（可见，非 display:none） */
.seo-geo {
  width: min(var(--max), calc(100% - 28px));
  margin: 8px auto 28px;
  padding: 18px 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(22, 24, 31, 0.72);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}
.seo-geo h2 {
  margin: 14px 0 8px;
  font-size: 15px;
  color: var(--bright);
  font-weight: 650;
}
.seo-geo h2:first-child { margin-top: 0; }
.seo-geo p { margin: 0 0 8px; }
.seo-geo ul { margin: 0 0 8px; padding-left: 1.2em; }
.seo-geo li { margin: 4px 0; }
.seo-geo details { margin: 8px 0; }
.seo-geo summary {
  cursor: pointer;
  color: var(--title);
  font-weight: 600;
}
.seo-geo details p { margin-top: 6px; color: var(--muted); }

/* 英文独立落地页 */
.seo-topbar {
  width: min(var(--max), calc(100% - 28px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bright);
  font-weight: 700;
  font-size: 15px;
}
.seo-brand img { border-radius: 4px; }
.seo-lang { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.seo-lang a { color: var(--title); }
.seo-page {
  width: min(var(--max), calc(100% - 28px));
  margin: 18px auto 28px;
}
.seo-hero { margin-bottom: 22px; }
.seo-eyebrow {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.seo-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.25;
  color: var(--bright);
  font-weight: 700;
}
.seo-lead { margin: 0 0 16px; color: var(--dim); max-width: 46em; }
.seo-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-section { margin: 22px 0; }
.seo-section h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--bright);
}
.seo-list { margin: 0; padding-left: 1.2em; color: var(--dim); }
.seo-list li { margin: 6px 0; }
.seo-footer { margin-bottom: 28px; }

