@charset "UTF-8";
/* ==========================================================================
   A光遇音乐盒 · 官网样式
   设计语言：月华 · 长春花蓝 (Moonlit Periwinkle) v3.1
   Token 真源：SkyMusicBox-Android/DESIGN.md —— 禁止在页面里硬编码色值
   ========================================================================== */

/* ── Tokens：深色（主视觉，默认） ───────────────────────────────────── */
:root {
  --primary:            #8578FF;
  --primary-dark:       #6757E8;
  --primary-light:      #A395FF;
  --on-primary:         #FFFFFF;

  --bg:                 #14131D;
  --surface:            #1D1B29;
  --surface-variant:    #262336;
  --surface-elevated:   #302D43;

  --accent-blue:        #5C9EFF;
  --accent-lavender:    #B394F0;
  --accent-mauve:       #DD93B6;
  --accent-silver:      #CFC7DA;
  --accent-gold:        #E8B86D;
  --favorite-red:       #EC4141;

  --text-primary:       #ECEAF3;
  --text-secondary:     #A7A2BE;
  /* DESIGN.md 原值 #6B6883 在 bg/surface 上只有 3.45 / 3.17:1。
     官网把三级文本色用在了页脚正文、备案号、表头等正文级内容上（客户端里它只作
     chevron / hint 等装饰件），故抬亮到过 AA：on bg 5.45 / on surface 5.01 / on surface-variant 4.52 */
  --text-tertiary:      #8C89A2;

  --outline-subtle:     rgba(255,255,255,0.06);
  --outline-medium:     rgba(255,255,255,0.14);

  --success:            #4CC38A;
  --error:              #E5565B;
  --warning:            #E8B86D;

  /* 选中态底色 primary @18%（v3.1）；徽章底色 @14% 是另一套语义，勿混用 */
  --primary-selected:   rgba(133,120,255,0.18);
  --primary-badge:      rgba(133,120,255,0.14);
  --primary-tint:       rgba(133,120,255,0.08);

  /* 主按钮底色单列一档：白字压在 --primary #8578FF 上只有 3.43:1。
     不能直接压暗 --primary —— 它同时是链接色，压暗会破坏 a on bg 的 5.37:1。 */
  --cta-bg:             #6757E8;   /* 白字 5.12:1 */
  --cta-bg-hover:       #5646D8;   /* 白字 6.44:1 */
  /* 紫色文字压在 primary 自身 14% / 18% 淡底上时提亮一档，否则卡在 4.3:1 */
  --primary-on-tint:    #9A8FFF;
  /* 暖金作文字时单列一档（徽章/描边仍用 --accent-gold） */
  --accent-gold-text:   #E8B86D;

  /* 形状 */
  --r-xs: 4px;  --r-sm: 6px;  --r-md: 10px;
  --r-lg: 14px; --r-xl: 18px; --r-full: 24px;

  /* 间距 */
  --s-xxs: 2px; --s-xs: 4px;  --s-sm: 8px;  --s-md: 12px;
  --s-lg: 16px; --s-xl: 20px; --s-xxl: 24px;

  /* 深色下深度靠蓝紫灰阶表达，阴影一律为无 */
  --shadow-card: none;
  --shadow-pop:  none;

  --nav-h: 60px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* ease-out */

  color-scheme: dark;
}

/* ── Tokens：浅色 ──────────────────────────────────────────────────── */
:root[data-theme="light"] {
  --primary:            #5A4BE8;
  --primary-dark:       #4A38D6;
  --primary-light:      #7C6BFF;

  --bg:                 #F4F3FA;
  --surface:            #FFFFFF;
  --surface-variant:    #ECEAF5;
  --surface-elevated:   #E2DFEF;

  --accent-blue:        #3B78F0;
  --accent-lavender:    #7E63D6;
  --accent-mauve:       #C06A9B;
  --accent-silver:      #9B93AF;
  --accent-gold:        #D99B3C;

  --text-primary:       #1A1826;
  --text-secondary:     #56526C;
  --text-tertiary:      #6C6784;   /* 原 #918DA6 仅 2.90 / 3.20:1；现 on bg 4.87 / on surface 5.37 */

  --outline-subtle:     #ECEAF5;
  --outline-medium:     #D9D5E6;

  --success:            #2FA36B;
  --error:              #D64550;
  --warning:            #D99B3C;

  --primary-selected:   rgba(90,75,232,0.18);
  --primary-badge:      rgba(90,75,232,0.14);
  --primary-tint:       rgba(90,75,232,0.08);

  --cta-bg:             #5A4BE8;   /* 白字 5.82:1，浅色下直接用 --primary 即可 */
  --cta-bg-hover:       #4A38D6;
  --primary-on-tint:    #4E3DE6;   /* @18% 底 4.60:1 / @14% 底 4.93:1 */
  --accent-gold-text:   #845A1A;   /* 白卡片上 6.4:1；原 #D99B3C 仅 2.41:1 */

  /* 浅色允许极弱冷调投影 */
  --shadow-card: 0 0.5px 2px rgba(80,70,140,0.06);
  --shadow-pop:  0 2px 12px rgba(80,70,140,0.10);

  color-scheme: light;
}

/* 未手动切换时跟随系统 */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --primary:            #5A4BE8;
    --primary-dark:       #4A38D6;
    --primary-light:      #7C6BFF;
    --bg:                 #F4F3FA;
    --surface:            #FFFFFF;
    --surface-variant:    #ECEAF5;
    --surface-elevated:   #E2DFEF;
    --accent-blue:        #3B78F0;
    --accent-lavender:    #7E63D6;
    --accent-mauve:       #C06A9B;
    --accent-silver:      #9B93AF;
    --accent-gold:        #D99B3C;
    --text-primary:       #1A1826;
    --text-secondary:     #56526C;
    --text-tertiary:      #6C6784;
    --outline-subtle:     #ECEAF5;
    --outline-medium:     #D9D5E6;
    --success:            #2FA36B;
    --error:              #D64550;
    --warning:            #D99B3C;
    --primary-selected:   rgba(90,75,232,0.18);
    --primary-badge:      rgba(90,75,232,0.14);
    --primary-tint:       rgba(90,75,232,0.08);
    --cta-bg:             #5A4BE8;
    --cta-bg-hover:       #4A38D6;
    --primary-on-tint:    #4E3DE6;
    --accent-gold-text:   #845A1A;
    --shadow-card: 0 0.5px 2px rgba(80,70,140,0.06);
    --shadow-pop:  0 2px 12px rgba(80,70,140,0.10);
    color-scheme: light;
  }
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .18s var(--ease), opacity .18s var(--ease);
}
a:hover { color: var(--primary-light); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--primary-selected); color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cta-bg); color: var(--on-primary);
  padding: 10px 18px; border-radius: 0 0 var(--r-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--on-primary); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── 版心 ──────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-xl); }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); border-block: 0.5px solid var(--outline-subtle); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary-on-tint);
  background: var(--primary-badge);
  border-radius: var(--r-xs);
  padding: 4px 10px;
  margin-bottom: var(--s-md);
}

h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.02em; font-weight: 700; }

h2.section-title { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: var(--s-md); }
h3 { font-size: 18px; }

.section-sub {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.lede { font-size: 17px; color: var(--text-secondary); line-height: 1.85; }

/* ── 顶栏 ──────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 0.5px solid var(--outline-subtle);
}
.topbar__inner {
  height: 100%; display: flex; align-items: center; gap: var(--s-lg);
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-xl);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text-primary); font-weight: 700; }
.brand:hover { color: var(--text-primary); }
.brand img { width: 30px; height: 30px; border-radius: var(--r-sm); }
.brand__name { font-size: 16px; letter-spacing: -0.01em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-xs); }
.nav__link {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--r-md);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--text-primary); background: var(--surface-variant); }
.nav__link[aria-current="page"] { color: var(--primary-on-tint); background: var(--primary-selected); }

.topbar__actions { display: flex; align-items: center; gap: var(--s-sm); margin-left: var(--s-sm); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0.5px solid var(--outline-subtle);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
.icon-btn:hover { color: var(--primary); border-color: var(--outline-medium); }
.icon-btn:active { transform: scale(0.97); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun  { display: none; }
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface);
    border-bottom: 0.5px solid var(--outline-subtle);
    padding: var(--s-md) var(--s-xl) var(--s-xl);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    /* visibility 是离散属性，直接参与 transition 会在 50% 处才翻转 —— 展开时菜单会先隐身半个动画。
       这里用 0s 时长 + 延迟：展开立刻可见，收起等淡出走完再隐藏。 */
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  }
  .nav[data-open="true"] {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear 0s;
  }
  .nav__link { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: grid; }
  .topbar__actions { margin-left: auto; }
}

/* ── 按钮 ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-sm);
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--cta-bg); color: var(--on-primary); }
.btn--primary:hover { background: var(--cta-bg-hover); color: var(--on-primary); }

.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-tint); color: var(--primary); }

.btn--ghost { background: var(--surface); color: var(--text-secondary); border: 0.5px solid var(--outline-subtle); }
.btn--ghost:hover { color: var(--text-primary); border-color: var(--outline-medium); }

.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-md); }

/* ── 卡片 ──────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-xxl);
  box-shadow: var(--shadow-card);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), transform .12s var(--ease);
}
a.card:hover, .card--interactive:hover { border-color: var(--outline-medium); }
a.card:active, .card--interactive:active { transform: scale(0.97); }

.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--primary-badge);
  color: var(--primary);
  margin-bottom: var(--s-lg);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--blue     { background: color-mix(in srgb, var(--accent-blue) 14%, transparent);     color: var(--accent-blue); }
.card__icon--lavender { background: color-mix(in srgb, var(--accent-lavender) 14%, transparent); color: var(--accent-lavender); }
.card__icon--mauve    { background: color-mix(in srgb, var(--accent-mauve) 14%, transparent);    color: var(--accent-mauve); }
.card__icon--gold     { background: color-mix(in srgb, var(--accent-gold) 14%, transparent);     color: var(--accent-gold); }

.card h3 { font-size: 17px; margin-bottom: var(--s-sm); color: var(--text-primary); }
.card p  { color: var(--text-secondary); font-size: 14.5px; line-height: 1.8; }

.grid { display: grid; gap: var(--s-xl); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 620px;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, var(--primary-tint) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.hero__title {
  font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.2; letter-spacing: -0.03em;
  margin-bottom: var(--s-lg);
}
.hero__title .accent { color: var(--primary); }
.hero__sub { font-size: 16.5px; color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--s-xxl); max-width: 46ch; }
.hero__note { margin-top: var(--s-lg); font-size: 13px; color: var(--text-tertiary); }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__sub { max-width: none; }
}

/* ── 数据条 ────────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--outline-subtle);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: var(--s-xl) var(--s-md); text-align: center; }
.stat__num {
  font-size: clamp(20px, 3vw, 26px); font-weight: 700;
  color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.2;
}
.stat__num .unit { font-size: 0.62em; color: var(--text-secondary); margin-left: 2px; font-weight: 600; }
.stat__label { font-size: 12.5px; color: var(--text-tertiary); margin-top: var(--s-xs); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ── 真机截图展示 ──────────────────────────────────────────── */
/* 截图自带手机壳，不要再套边框 —— 只约束宽度 */
.shot-device { width: 100%; max-width: 300px; margin: 0 auto; }
.shot-device img { width: 100%; height: auto; }

.shot-wide {
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.shot-wide img { width: 100%; height: auto; }

.shot-cap {
  margin-top: var(--s-md);
  font-size: 13px; line-height: 1.7;
  color: var(--text-tertiary);
  text-align: center;
}
.shot-cap strong { color: var(--text-secondary); font-weight: 600; }

.shots-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-xl); align-items: start; }
@media (max-width: 620px) { .shots-pair { grid-template-columns: 1fr; } }

/* 公众号二维码 */
.qr {
  display: block; width: 100%; max-width: 430px; height: auto;
  border-radius: var(--r-md);
  background: #FFFFFF;   /* 二维码需白底，两套主题下都固定白 */
  padding: var(--s-sm);
  margin-top: var(--s-md);
}

/* ── 徽章 ──────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 500; line-height: 1.6;
  border-radius: var(--r-xs);
  padding: var(--s-xxs) var(--s-sm);
  white-space: nowrap;
}
/* 键位徽章底色固定 14%（DESIGN.md keyModeBadge.backgroundOpacity） */
.badge--k15 { color: var(--accent-lavender); background: color-mix(in srgb, var(--accent-lavender) 14%, transparent); }
.badge--k21 { color: var(--accent-blue);     background: color-mix(in srgb, var(--accent-blue) 14%, transparent); }
.badge--kother { color: var(--accent-mauve); background: color-mix(in srgb, var(--accent-mauve) 14%, transparent); }
.badge--gold { color: var(--accent-gold-text); background: color-mix(in srgb, var(--accent-gold) 14%, transparent); }
.badge--success { color: var(--success);     background: color-mix(in srgb, var(--success) 14%, transparent); }
.badge--muted { color: var(--text-tertiary); background: var(--surface-variant); }
.badge--primary { color: var(--primary-on-tint); background: var(--primary-badge); }

/* ── 步骤 ──────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: var(--s-lg); }
.step {
  position: relative;
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-xxl) var(--s-xxl) var(--s-xxl) 68px;
  box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: var(--s-xxl); top: var(--s-xxl);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-badge); color: var(--primary);
  font-size: 13px; font-weight: 700;
}
.step h3 { font-size: 16px; margin-bottom: var(--s-xs); }
.step p { color: var(--text-secondary); font-size: 14.5px; }

/* ── 价格 ──────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-lg); }
.plan {
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.plan--featured { border: 2px solid var(--primary); background: var(--primary-tint); }
.plan__tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: var(--r-xs);
  color: var(--primary-on-tint); background: var(--primary-badge);
  border: 0.5px solid var(--primary);
}
.plan--featured .plan__tag { background: var(--surface); }
.plan__name { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--s-sm); }
.plan__price { font-size: 30px; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; line-height: 1.1; }
.plan__price .cur { font-size: 16px; margin-right: 1px; }
.plan__dur { font-size: 12.5px; color: var(--text-tertiary); margin-top: var(--s-xs); }
.plan--perm .plan__price { color: var(--accent-gold-text); }

/* ── 游戏网格 ──────────────────────────────────────────────────────── */
.filterbar { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin-bottom: var(--s-xl); }
.chip {
  font-size: 13.5px; font-weight: 500;
  min-height: 44px; padding: 10px 16px; border-radius: var(--r-full);
  background: var(--surface-variant); color: var(--text-secondary);
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease), transform .12s var(--ease);
}
.chip:hover { color: var(--text-primary); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--primary-selected); color: var(--primary-on-tint); font-weight: 600; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: var(--s-md); }
.game {
  display: flex; align-items: center; gap: var(--s-md);
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  padding: var(--s-md);
  box-shadow: var(--shadow-card);
}
.game__icon {
  width: 44px; height: 44px; border-radius: var(--r-md); flex: none;
  background: var(--surface-variant);
  object-fit: cover;
}
.game__icon--ph { display: grid; place-items: center; color: var(--text-tertiary); font-size: 11px; font-weight: 700; }
.game__meta { min-width: 0; }
.game__name {
  font-size: 14.5px; font-weight: 600; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.game__sub { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; display: flex; align-items: center; gap: 6px; }

.group-title {
  display: flex; align-items: center; gap: var(--s-md);
  font-size: 16px; font-weight: 700; margin: 40px 0 var(--s-lg);
}
.group-title:first-of-type { margin-top: 0; }
.group-title .count { font-size: 12.5px; font-weight: 500; color: var(--text-tertiary); }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; gap: var(--s-md); }
.faq__item {
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--outline-medium); background: var(--surface); }
.faq__q {
  display: flex; align-items: flex-start; gap: var(--s-md);
  padding: var(--s-lg) var(--s-xl);
  font-size: 15.5px; font-weight: 600; color: var(--text-primary);
  cursor: pointer; list-style: none;
  transition: color .18s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--primary); }
.faq__q::after {
  content: ""; flex: none; margin-left: auto; margin-top: 8px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--text-tertiary); border-bottom: 2px solid var(--text-tertiary);
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 var(--s-xl) var(--s-xl); color: var(--text-secondary); font-size: 14.5px; line-height: 1.85; }
.faq__a p + p { margin-top: var(--s-md); }
.faq__a ul { margin: var(--s-sm) 0 0; }
.faq__a li { position: relative; padding-left: 16px; margin-top: 4px; }
.faq__a li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--text-tertiary); }

/* ── 提示条 ────────────────────────────────────────────────────────── */
.notice {
  display: flex; gap: var(--s-md);
  background: var(--surface-variant);
  border: 0.5px solid var(--outline-subtle);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-md);
  padding: var(--s-lg) var(--s-xl);
  font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}
.notice--warn { border-left-color: var(--warning); }
.notice strong { color: var(--text-primary); font-weight: 600; }

/* ── 规格表 ────────────────────────────────────────────────────────── */
.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.spec {
  width: 100%; min-width: 420px; border-collapse: collapse;
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14.5px;
}
.spec th, .spec td { text-align: left; padding: var(--s-md) var(--s-xl); border-bottom: 0.5px solid var(--outline-subtle); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { color: var(--text-tertiary); font-weight: 500; width: 38%; white-space: nowrap; }
.spec td { color: var(--text-primary); }
.spec code { font-size: 13px; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: var(--surface-variant);
  border-radius: var(--r-xs);
  padding: 1px 6px;
  font-size: .9em;
  word-break: break-all;
}

/* ── CTA 区 ────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 0.5px solid var(--outline-subtle);
  border-radius: var(--r-xl);
  padding: 52px var(--s-xxl);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, var(--primary-tint) 0%, transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--s-md); }
.cta p { color: var(--text-secondary); margin-bottom: var(--s-xxl); font-size: 15px; }
.cta .btn-row { justify-content: center; }

/* ── 面包屑 ────────────────────────────────────────────────────────── */
.crumbs { font-size: 13px; color: var(--text-tertiary); padding-top: var(--s-xxl); }
.crumbs a { color: var(--text-secondary); }
.crumbs a:hover { color: var(--primary); }
.crumbs span { margin: 0 6px; }

/* 页头（内页） */
.pagehead { padding: var(--s-lg) 0 40px; }
.pagehead h1 { font-size: clamp(26px, 4.4vw, 38px); margin-bottom: var(--s-md); }
.pagehead p { color: var(--text-secondary); font-size: 16px; max-width: 68ch; line-height: 1.85; }

/* ── 页脚 ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 0.5px solid var(--outline-subtle);
  padding: 48px 0 32px;
  margin-top: 24px;
}
.footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  margin-bottom: 36px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-md); color: var(--text-primary); font-weight: 700; }
.footer__brand img { width: 32px; height: 32px; border-radius: var(--r-sm); }
.footer__desc { font-size: 13.5px; color: var(--text-tertiary); line-height: 1.8; max-width: 40ch; }
.footer h4 { font-size: 13px; color: var(--text-primary); margin-bottom: var(--s-md); font-weight: 600; }
.footer li { margin-bottom: var(--s-sm); }
.footer li a { font-size: 13.5px; color: var(--text-secondary); }
.footer li a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 0.5px solid var(--outline-subtle);
  padding-top: var(--s-xl);
  display: flex; flex-wrap: wrap; gap: var(--s-sm) var(--s-lg);
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-tertiary);
}
.footer__bottom a { color: var(--text-tertiary); }
.footer__bottom a:hover { color: var(--primary); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-sm) var(--s-lg); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── 进场动画（克制：fade + 微上移，ease-out） ─────────────────────── */
/* 只有 JS 起来了（theme.js 会给 <html> 加 .js）才隐藏初始状态，
   否则脚本失败 / 被禁用会让整页内容永远 opacity:0。 */
.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .42s var(--ease), transform .42s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ── 通用工具 ──────────────────────────────────────────────────────── */
.mt-lg { margin-top: var(--s-lg); }
.mt-xl { margin-top: var(--s-xl); }
.mt-xxl { margin-top: var(--s-xxl); }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.muted { color: var(--text-secondary); }
.dim { color: var(--text-tertiary); }
.prose p + p { margin-top: var(--s-md); }
.prose h3 { margin: var(--s-xxl) 0 var(--s-sm); }
.prose ul { margin-top: var(--s-sm); }
.prose li { position: relative; padding-left: 18px; margin-top: 6px; color: var(--text-secondary); }
.prose li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
