/* ==========================================================================
   IndieShelf · UI 规范 v4.0（Clean & Credible）
   暖白纸面 / 藏青说理 / 橙色行动 / 产品即主角
   ========================================================================== */

:root {
  --page: #FBFAF7;
  --surface: #FFFFFF;
  --warm: #F4EFE6;
  --lavender: #ECEAF6;
  --navy: #17114F;
  --navy-raised: #2A2160;
  --navy-deep: #0E0A35;
  --body: #4A4763;
  --muted: #6B6884;
  --faint: #8B88A2;
  --line: #E8E5DC;
  --line-soft: #F0EDE4;
  --orange: #ED6B2B;
  --orange-hover: #F97E44;
  --orange-soft: #FDEBDD;
  --teal: #0F756C;
  --teal-tint: #E2F4F1;
  --purple: #7C5CFC;
  --purple-tint: #EFEBFE;
  --sky: #0EA5E0;
  --sky-tint: #E3F3FB;

  --content: 1120px;
  --content-narrow: 760px;
  --gutter: clamp(18px, 5vw, 40px);
  --r-card: 28px;
  --r-inner: 16px;
  --r-btn: 11px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(23, 17, 79, .04), 0 8px 24px rgba(23, 17, 79, .05);
  --shadow-float: 0 2px 4px rgba(23, 17, 79, .06), 0 20px 48px rgba(23, 17, 79, .14);
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 -2px 0 rgba(0, 0, 0, .14), 0 1px 2px rgba(0, 0, 0, .12);
  --focus: 0 0 0 2px var(--page), 0 0 0 4px var(--navy);
  --speed: 180ms;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--body);
  background: var(--page);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, h4, p, li, dd, dt { overflow-wrap: break-word; }
h1, h2, h3, h4 { word-break: keep-all; }
a { color: var(--navy); }
img { max-width: 100%; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 0; box-shadow: var(--focus); border-radius: 6px; }
.mono { font-family: var(--font-mono); }
svg { display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 14px; top: -64px; z-index: 80;
  padding: 10px 16px; color: #fff; background: var(--navy);
  border-radius: var(--r-btn); font-size: 13px; font-weight: 700;
  text-decoration: none; transition: top var(--speed) ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--content); margin: 0 auto; padding: 13px var(--gutter);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 8px; flex: 0 0 auto; overflow: hidden; background: transparent;
}
.wordmark-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wordmark-mark svg { width: 18px; height: 18px; }
.wordmark-text { display: grid; line-height: 1.15; }
.wordmark-text b { color: var(--navy); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.wordmark-text span { color: var(--faint); font-size: 11.5px; font-weight: 500; }

.header-right { display: flex; align-items: center; gap: 8px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 8px 13px; color: var(--body); font-size: 14.5px; font-weight: 600;
  text-decoration: none; border-radius: var(--r-btn);
  transition: color var(--speed) ease, background var(--speed) ease;
}
.site-nav a:hover { color: var(--navy); background: rgba(23, 17, 79, .06); }

.lang-switch {
  display: inline-flex; align-items: center; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
}
.lang-switch a {
  min-width: 34px; padding: 4px 8px; border-radius: var(--r-pill);
  color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; text-decoration: none;
  transition: color var(--speed) ease, background var(--speed) ease;
}
.lang-switch a:hover { color: var(--navy); }
.lang-switch a.is-active { color: #fff; background: var(--navy); }

.header-cta { margin-left: 4px; white-space: nowrap; }
.nav-toggle {
  display: none; min-height: 42px; align-items: center; gap: 8px; padding: 0 14px;
  color: var(--navy); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-btn); cursor: pointer; font-size: 14px; font-weight: 700;
}
.nav-toggle svg { width: 16px; height: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; border: 0; border-radius: var(--r-btn); cursor: pointer;
  font-size: 14.5px; font-weight: 700; letter-spacing: .005em; text-decoration: none;
  transition: transform var(--speed) ease, background var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-primary { color: #fff; background: var(--orange); box-shadow: var(--btn-shadow); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-navy {
  color: #fff; background: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .15);
}
.btn-navy:hover { background: var(--navy-raised); }
.btn-ghost {
  color: var(--navy); background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(23, 17, 79, .05);
}
.btn-ghost:hover { border-color: #D8D4C6; background: #FDFCF9; }
.btn-link {
  color: var(--navy); background: transparent; text-decoration: underline;
  text-underline-offset: 4px; text-decoration-thickness: 1.5px; padding: 0 6px;
}
.btn-link:hover { color: var(--navy-raised); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.center-row { justify-content: center; margin-top: 44px; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.badge-teal { color: var(--teal); background: var(--teal-tint); }
.badge-navy { color: var(--navy); background: rgba(23, 17, 79, .07); }
.badge-orange { color: #A8480F; background: var(--orange-soft); }
.badge-pro { color: var(--purple); background: var(--purple-tint); font-size: 10.5px; letter-spacing: .08em; }
.status {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.status-live { color: var(--teal); background: var(--teal-tint); }
.status-beta { color: #A8480F; background: var(--orange-soft); }
.status-dev { color: var(--sky); background: var(--sky-tint); }
.badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 区块节奏 ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-warm { background: var(--warm); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-lavender { background: linear-gradient(180deg, #F2F0FA 0%, var(--lavender) 100%); }
.container { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .badge { margin-bottom: 16px; }
.section-head h2 {
  margin: 0; color: var(--navy); font-size: clamp(28px, 4vw, 38px);
  font-weight: 800; line-height: 1.18; letter-spacing: -.022em;
}
.section-head > p { margin: 14px auto 0; max-width: 54ch; color: var(--muted); font-size: 16.5px; text-wrap: balance; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 78px) 0 clamp(40px, 5vw, 64px);
}
.hero h1 {
  margin: 20px 0 0; color: var(--navy);
  font-size: clamp(36px, 4.6vw, 52px); font-weight: 800; line-height: 1.14; letter-spacing: -.028em;
}
.marker { position: relative; display: inline-block; white-space: nowrap; }
.marker > i {
  position: absolute; left: -.08em; right: -.08em; bottom: .04em; z-index: -1;
  height: .24em; border-radius: 3px; background: var(--orange); opacity: .85; transform: rotate(-.4deg);
}
.hero-lede { margin: 22px 0 0; max-width: 32em; color: var(--muted); font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.hero-actions { margin: 30px 0 22px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 15px; height: 15px; color: var(--teal); }

.hero-stage {
  position: relative; display: grid; place-items: center; min-height: 520px;
  border-radius: 32px; background: linear-gradient(180deg, #F1EFF9 0%, var(--lavender) 100%);
}
.hero-stage::after {
  content: ""; position: absolute; inset: 18px; border-radius: 24px;
  border: 1px dashed rgba(23, 17, 79, .1); pointer-events: none;
}
.product-card {
  position: relative; width: min(268px, 78%); border-radius: 26px;
  background: var(--navy); padding: 16px; box-shadow: var(--shadow-float); transform: rotate(2deg);
}
.product-cover {
  display: grid; place-items: center; height: 148px;
  border-radius: 16px 16px 0 0; background: linear-gradient(160deg, #241C6E 0%, var(--navy) 100%);
}
.product-cover img { width: 92px; height: 92px; border-radius: 22px; }
.product-body { background: var(--surface); border-radius: 0 0 16px 16px; padding: 18px 16px 16px; text-align: center; }
.product-body h3 { margin: 0; color: var(--navy); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.product-body .sub { display: block; margin: 2px 0 14px; color: var(--faint); font-size: 12px; }
.product-row {
  display: flex; align-items: center; gap: 9px; margin-top: 7px; padding: 8px 12px;
  border-radius: var(--r-pill); background: #F7F5FB; font-size: 12.5px; text-align: left;
}
.product-row .k { color: var(--faint); margin-right: auto; white-space: nowrap; }
.product-row .v { color: var(--navy); font-weight: 700; white-space: nowrap; }
.product-cta { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.product-cta span { padding: 8px 14px; border-radius: var(--r-btn); font-size: 12px; font-weight: 700; }
.product-cta .pc-a { color: #fff; background: var(--orange); }
.product-cta .pc-b { color: var(--navy); background: var(--warm); }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-float); color: var(--navy); font-size: 12.5px; font-weight: 700;
}
.float-chip svg { width: 16px; height: 16px; color: var(--teal); }
.fc-1 { top: 8%; left: 3%; transform: rotate(-2deg); }
.fc-2 { bottom: 4%; right: 3%; transform: rotate(1.5deg); }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 0 clamp(8px, 2vw, 18px); padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; gap: 2px; padding-left: 22px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.stat dd { margin: 0; color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }

/* ---------- Bento 产品卡 ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }

.p-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.p-visual {
  display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--warm); border-bottom: 1px solid var(--line-soft); container-type: inline-size;
}
.p-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-body { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 20px; flex: 1; }
.p-top { display: flex; align-items: center; gap: 10px; }
.p-kind { color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.p-top .status { margin-left: auto; }
.p-card h3 { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.p-card h3 a { color: var(--navy); text-decoration: none; }
.p-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.p-sub { margin: 0; color: var(--faint); font-size: 13px; }
.p-desc { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.p-foot {
  display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px;
  color: var(--faint); font-size: 12.5px;
}
.p-foot .mono { color: var(--muted); font-size: 12px; }
.p-link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  color: var(--navy); font-size: 13.5px; font-weight: 700; text-decoration: none;
}
.p-link svg { width: 14px; height: 14px; transition: transform var(--speed) ease; }
.p-link:hover svg { transform: translateX(4px); }

/* ---------- 模拟界面（产品 UI 锚点） ---------- */
.mock { width: 100%; height: 100%; display: grid; place-items: center; padding: 4cqw; }
.mock-console { background: linear-gradient(160deg, #F6F4FB 0%, #EDEAF6 100%); }
.win-frame {
  width: 100%; max-width: 98%; border-radius: 3cqw; overflow: hidden;
  background: var(--surface); box-shadow: 0 2px 4px rgba(23, 17, 79, .06), 0 12cqw 24cqw rgba(23, 17, 79, .12);
  border: 1px solid rgba(23, 17, 79, .08);
}
.win-bar {
  display: flex; align-items: center; gap: 2cqw; padding: 1.5cqw 2.2cqw;
  background: #FAF9F6; border-bottom: 1px solid var(--line-soft);
}
.win-dots { display: inline-flex; gap: .9cqw; }
.win-dots i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #DCD8CB; }
.win-dots i:first-child { background: #E9A99B; }
.win-dots i:nth-child(2) { background: #E8D19B; }
.win-title { margin-left: 1.4cqw; color: var(--faint); font-size: 1.8cqw; font-weight: 600; }
.win-body { display: grid; grid-template-columns: 21% 1fr; }
.win-side {
  display: flex; flex-direction: column; gap: .5cqw; padding: 1.8cqw 1.3cqw;
  background: #FBFAF7; border-right: 1px solid var(--line-soft);
}
.ws-item { padding: .75cqw 1.1cqw; border-radius: 1cqw; color: var(--muted); font-size: 1.9cqw; font-weight: 600; }
.ws-item.is-active { color: var(--navy); background: rgba(23, 17, 79, .07); }
.win-main { display: flex; flex-direction: column; gap: 1.5cqw; padding: 2.1cqw; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.count { display: flex; flex-direction: column; gap: .3cqw; padding: 1.1cqw 1.3cqw; border-radius: 1.3cqw; background: #F8F7FB; }
.count b { color: var(--navy); font-size: 3.2cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.count span { color: var(--faint); font-size: 1.6cqw; }
.ev-list { display: flex; flex-direction: column; gap: .8cqw; }
.ev {
  display: flex; align-items: center; gap: .8cqw; padding: 1cqw 1.3cqw;
  border-radius: 1.1cqw; background: var(--surface); border: 1px solid var(--line-soft);
  color: var(--body); font-size: 1.8cqw;
}
.ev kbd {
  padding: .2cqw .8cqw; border-radius: .6cqw; background: #FBFAF7;
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(23, 17, 79, .08);
  font-family: var(--font-mono); font-size: 1.6cqw; color: var(--navy);
}
.ev-t { margin-left: auto; color: var(--faint); font-family: var(--font-mono); font-size: 1.4cqw; }
.ev-dot { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--orange); }
.ev-ring { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; border: .32cqw solid var(--sky); }
.ov-preview {
  display: flex; align-items: center; gap: 1.2cqw; margin-top: auto; padding: 1.3cqw;
  border: 1px dashed rgba(23, 17, 79, .18); border-radius: 1.3cqw;
}
.ov-label { color: var(--faint); font-size: 1.5cqw; font-weight: 600; }
.ov-chips { display: inline-flex; gap: .6cqw; margin-left: auto; padding: .7cqw 1.1cqw; border-radius: 1.1cqw; background: var(--navy); }
.ov-chips kbd {
  padding: .2cqw .7cqw; border-radius: .5cqw; background: rgba(255, 255, 255, .14);
  color: #fff; font-family: var(--font-mono); font-size: 1.5cqw;
}

/* GlassPaste 效果图 */
.mock-glass { background: transparent; padding: 0; }
.glass-stage {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(135deg, #EDE9FB 0%, #F7E9E2 46%, #E1F1F4 100%);
  display: grid; place-items: center;
}
.glass-orb { position: absolute; border-radius: 50%; filter: blur(4cqw); opacity: .8; }
.glass-orb-a { width: 46%; height: 60%; left: -6%; top: -12%; background: rgba(124, 92, 252, .55); }
.glass-orb-b { width: 40%; height: 52%; right: -4%; bottom: -14%; background: rgba(237, 107, 43, .45); }
.glass-card {
  position: relative; z-index: 1; border-radius: 3cqw; padding: 3.4cqw 3.6cqw;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 2cqw 5cqw rgba(23, 17, 79, .16), inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.glass-card-main { width: 62%; transform: rotate(-2deg); }
.gc-label { display: block; color: rgba(23, 17, 79, .55); font-size: 1.5cqw; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gc-text { margin: 1.4cqw 0 1.6cqw; color: var(--navy); font-size: 4.4cqw; font-weight: 800; line-height: 1.22; letter-spacing: -.03em; }
.gc-text.sm { font-size: 2.4cqw; letter-spacing: -.01em; }
.gc-meta { color: rgba(23, 17, 79, .45); font-family: var(--font-mono); font-size: 1.3cqw; }
.glass-card-side {
  position: absolute; right: 6%; bottom: 12%; width: 34%; transform: rotate(3deg);
  background: rgba(23, 17, 79, .32); border-color: rgba(255, 255, 255, .35);
}
.glass-card-side .gc-label { color: rgba(255, 255, 255, .62); }
.glass-card-side .gc-text { color: #fff; margin-bottom: .6cqw; }
.glass-presets { position: absolute; left: 6%; bottom: 8%; display: flex; gap: 1cqw; z-index: 1; }
.glass-presets i { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(23, 17, 79, .18); }

/* BiteLog 手机模拟（容器单位为手机宽度） */
.mock-bite { background: linear-gradient(160deg, #FDF6EC 0%, #F6EBDD 100%); }
.phone-frame {
  position: relative; width: 27%; aspect-ratio: 9 / 18.6;
  border: 4px solid #1A1638; border-radius: 9cqw; background: #1A1638;
  box-shadow: 0 3cqw 6cqw rgba(23, 17, 79, .22);
  container-type: inline-size;
}
.phone-notch {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 30%; height: 3.6cqw; border-radius: 0 0 2.4cqw 2.4cqw; background: #1A1638; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 7cqw; overflow: hidden;
  background: #FFFDF9; padding: 9cqw 6.5cqw 0; display: flex; flex-direction: column; gap: 4.4cqw;
}
.bs-head { display: flex; flex-direction: column; gap: .4cqw; padding-top: 2cqw; }
.bs-date { color: #A99C8C; font-size: 4.4cqw; }
.bs-title { color: #2B2334; font-size: 7.6cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.bs-card {
  border-radius: 5cqw; background: #fff; border: 1px solid #F0E6D8; overflow: hidden;
  box-shadow: 0 1.4cqw 2.6cqw rgba(120, 90, 50, .06);
}
.bs-photo { aspect-ratio: 16 / 8; overflow: hidden; background: #F2E8DA; }
.bs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-body { display: flex; flex-direction: column; gap: .8cqw; padding: 4.4cqw 5cqw 5cqw; }
.bs-body b { color: #2B2334; font-size: 5.8cqw; font-weight: 700; }
.bs-stars { color: #ED6B2B; font-size: 4.4cqw; letter-spacing: .1em; }
.bs-line { color: #8A7E70; font-size: 4.2cqw; line-height: 1.55; }
.bs-tags { display: flex; gap: 1.6cqw; margin-top: 1cqw; }
.bs-tags i { padding: .6cqw 2.4cqw; border-radius: 4cqw; background: #FBF3E7; color: #A77B3F; font-size: 3.8cqw; font-style: normal; }
.bs-card-mini .bs-photo { aspect-ratio: 21 / 7; }
.bs-tabbar {
  display: flex; justify-content: space-around; padding: 4cqw 0 5cqw; margin-top: auto;
  border-top: 1px solid #F2EADC; color: #B3A697; font-size: 4.2cqw;
}
.bs-tabbar .on { color: #ED6B2B; font-weight: 700; }

/* mofish 主视觉 */
.mock-mofish { position: relative; padding: 0; overflow: hidden; background: #EFE7DA; }
.mf-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, .18) 0%, rgba(23, 17, 79, .28) 100%); }
.mf-logo { position: relative; width: 54%; filter: drop-shadow(0 2cqw 3cqw rgba(23, 17, 79, .35)); transform: rotate(-2deg); }
.mf-chip {
  position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
  padding: 1cqw 2cqw; border-radius: 9cqw; background: rgba(255, 255, 255, .88);
  color: var(--navy); font-size: 1.7cqw; font-weight: 700; white-space: nowrap;
}

/* ---------- 目录表 ---------- */
.catalog-card {
  border-radius: var(--r-card); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden;
}
.index-table { width: 100%; border-collapse: collapse; }
.index-table th, .index-table td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: middle; }
.index-table thead th {
  color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.index-table tbody tr { transition: background var(--speed) ease; }
.index-table tbody tr:hover { background: #FCFBF7; }
.index-table tbody tr:last-child td { border-bottom: 0; }
.idx { color: var(--faint); font-size: 12px; font-weight: 700; }
.name { display: block; color: var(--navy); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.name:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.desc { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 46ch; }
.num-cell { color: var(--muted); font-size: 13px; white-space: nowrap; }
.enter a {
  display: inline-flex; align-items: center; gap: 5px; color: var(--navy);
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.enter a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.enter svg { width: 14px; height: 14px; }

/* ---------- 单件特写 ---------- */
.annot {
  display: grid; grid-template-columns: 1fr minmax(320px, 460px) 1fr;
  gap: clamp(18px, 3vw, 40px); align-items: center;
}
.annot-col { display: grid; gap: 36px; }
.annot-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; max-width: 280px; }
.annot-item.left { justify-self: end; text-align: right; grid-template-columns: 1fr auto; }
.annot-num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700;
}
.annot-item h4 { margin: 0 0 4px; color: var(--navy); font-size: 16.5px; font-weight: 700; }
.annot-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.annot-visual { container-type: inline-size; aspect-ratio: 4 / 3.1; }

/* ---------- GlassPaste 总览（mole 式） ---------- */
.overview { overflow: hidden; }
.overview-head { text-align: center; max-width: 720px; margin: 0 auto; }
.overview-head .badge { margin-bottom: 16px; }
.overview-head h2 {
  margin: 0; color: var(--navy); font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800; line-height: 1.16; letter-spacing: -.026em;
}
.overview-head > p { margin: 16px auto 0; max-width: 52ch; color: var(--muted); font-size: 16.5px; text-wrap: balance; }
.chip-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.chip-row li {
  padding: 5px 13px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(23, 17, 79, .1); color: var(--navy);
  font-size: 12.5px; font-weight: 600;
}
.overview-stage {
  container-type: inline-size; max-width: 940px; margin: clamp(28px, 4vw, 44px) auto 0;
  aspect-ratio: 16 / 8.4; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-float);
}
.overview-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(28px, 4vw, 44px);
}
.ov-card { padding: 26px 24px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.ov-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: var(--teal); background: var(--teal-tint);
}
.ov-ico svg { width: 20px; height: 20px; }
.ov-card:nth-child(2) .ov-ico, .ov-card:nth-child(5) .ov-ico { color: var(--orange); background: var(--orange-soft); }
.ov-card:nth-child(3) .ov-ico, .ov-card:nth-child(6) .ov-ico { color: var(--sky); background: var(--sky-tint); }
.ov-card:nth-child(4) .ov-ico { color: var(--purple); background: var(--purple-tint); }
.ov-card h3 { margin: 16px 0 0; color: var(--navy); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ov-sub { margin: 2px 0 12px; color: var(--faint); font-size: 13px; }
.ov-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.ov-card li { position: relative; padding-left: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.ov-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.overview-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(23, 17, 79, .1);
}
.ov-note { margin: 0; max-width: 56ch; color: var(--muted); font-size: 14px; }

/* ---------- 小游戏 ---------- */
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.game-card {
  display: grid; grid-template-columns: 148px 1fr; gap: 0; overflow: hidden;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.game-art { position: relative; display: block; overflow: hidden; background: var(--warm); border-right: 1px solid var(--line-soft); container-type: inline-size; }
.game-art > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.game-art-mock { width: 100%; height: 100%; }
.game-art-mock .mock { padding: 0; }
.game-art-mock .mf-chip { display: none; }
.game-art-mock .mf-logo { width: 76%; }
.game-body { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 18px; }
.game-body h3 { margin: 4px 0 0; font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.game-body h3 a { color: var(--navy); text-decoration: none; }
.game-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.game-body .p-desc { font-size: 13.5px; margin-top: 4px; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.wx-hint { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12px; min-width: 0; }
.wx-hint svg { width: 14px; height: 14px; color: var(--teal); flex: 0 0 auto; }
.game-foot .p-link { font-size: 13px; white-space: nowrap; flex: 0 0 auto; }

/* ---------- 平台 ---------- */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform-card {
  display: grid; align-content: start; gap: 10px; padding: 30px 26px 26px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.platform-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.platform-ico svg { width: 22px; height: 22px; }
.pi-green { color: var(--teal); background: var(--teal-tint); }
.pi-orange { color: var(--orange); background: var(--orange-soft); }
.pi-sky { color: var(--sky); background: var(--sky-tint); }
.pi-purple { color: var(--purple); background: var(--purple-tint); }
.platform-card h3 { margin: 6px 0 0; color: var(--navy); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.platform-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.platform-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.platform-card .go svg { width: 15px; height: 15px; transition: transform var(--speed) ease; }
.platform-card .go:hover svg { transform: translateX(4px); }

/* ---------- 时间线 ---------- */
.timeline { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.tl-item {
  display: grid; grid-template-columns: 108px 1fr; gap: 6px 20px; align-items: baseline;
  padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.tl-item time { color: var(--faint); font-size: 12.5px; font-weight: 600; }
.tl-item h4 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; color: var(--navy); font-size: 16px; font-weight: 700; }
.tl-item .ver {
  padding: 1px 8px; border-radius: var(--r-pill); background: rgba(23, 17, 79, .06);
  color: var(--muted); font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}
.tl-item p { grid-column: 2; margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-grid h2 {
  margin: 16px 0 0; color: var(--navy); font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800; line-height: 1.22; letter-spacing: -.022em;
}
.about-copy p { margin: 16px 0 0; color: var(--body); font-size: 15.5px; }
.principles { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.principles li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.principles .n { color: var(--orange); font-size: 13px; font-weight: 800; padding-top: 2px; }
.principles strong { color: var(--navy); font-weight: 700; }
.principles span:last-child { color: var(--muted); font-size: 14.5px; }

.contact-card {
  padding: 30px 28px; border-radius: var(--r-card); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.cc-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  color: var(--teal); background: var(--teal-tint);
}
.cc-ico svg { width: 22px; height: 22px; }
.contact-card h3 { margin: 16px 0 6px; color: var(--navy); font-size: 20px; font-weight: 700; }
.cc-mail { color: var(--navy); font-size: 17px; font-weight: 700; text-decoration: none; }
.cc-mail:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.contact-card p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
.cc-links { display: flex; gap: 10px; margin-top: 20px; }
.cc-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--page);
  color: var(--navy); font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background var(--speed) ease, border-color var(--speed) ease;
}
.cc-links a:hover { background: var(--surface); border-color: #D8D4C6; }
.cc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.cc-meta dt { color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cc-meta dd { margin: 2px 0 0; color: var(--navy); font-size: 14px; font-weight: 700; }

/* ---------- 可信信息 ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.trust-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.trust-item .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); }
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item:nth-child(2) .ico, .trust-item:nth-child(5) .ico { background: var(--orange-soft); color: var(--orange); }
.trust-item:nth-child(3) .ico, .trust-item:nth-child(6) .ico { background: var(--sky-tint); color: var(--sky); }
.trust-item:nth-child(4) .ico { background: var(--purple-tint); color: var(--purple); }
.trust-item dt { margin: 0 0 3px; color: var(--navy); font-size: 15px; font-weight: 700; }
.trust-item dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- 终版 CTA ---------- */
.cta-wrap { padding: clamp(56px, 8vw, 104px) 0; background: var(--warm); }
.cta {
  position: relative; padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: 32px; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 0%, rgba(124, 92, 252, .22) 0%, transparent 100%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .badge { color: #CFC9F2; background: rgba(255, 255, 255, .1); }
.cta h2 { margin: 18px auto 0; max-width: 16em; color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; line-height: 1.14; letter-spacing: -.025em; }
.cta > p { margin: 16px auto 0; max-width: 48ch; color: rgba(255, 255, 255, .72); font-size: 16px; text-wrap: balance; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; }
.cta .btn-primary { min-height: 50px; padding: 0 28px; }
.cta .btn-link { color: #fff; }
.cta-points {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  margin: 30px auto 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: 640px; list-style: none;
}
.cta-points li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.cta-points svg { width: 15px; height: 15px; color: #8FD9CE; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line-soft); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 52px var(--gutter) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 12px 0 0; max-width: 32ch; color: var(--muted); font-size: 14px; }
.footer-col h4 { margin: 0 0 12px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-block; padding: 5px 0; color: var(--body); font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-col a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.footer-bottom p { margin: 0; color: var(--faint); font-size: 13px; }
.footer-bottom b { color: var(--body); font-weight: 700; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; max-width: calc(100vw - 36px);
  padding: 13px 18px; border-radius: 14px; color: #fff; background: var(--navy);
  font-size: 13.5px; box-shadow: var(--shadow-float); opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity var(--speed) ease, transform var(--speed) ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   详情页
   ========================================================================== */
.detail-top { padding-top: clamp(20px, 4vw, 34px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); transition: transform var(--speed) ease; }
.back-link:hover { color: var(--navy); }
.back-link:hover svg { transform: rotate(180deg) translateX(4px); }

.detail-hero { padding: clamp(18px, 3vw, 32px) 0 0; }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.dh-copy h1 { margin: 18px 0 0; color: var(--navy); font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.dh-sub { margin: 8px 0 0; color: var(--faint); font-size: 15px; }
.dh-lede { margin: 16px 0 26px; max-width: 34em; color: var(--muted); font-size: 17px; line-height: 1.72; text-wrap: pretty; }
.entry-note { margin: 14px 0 0; color: var(--faint); font-size: 12.5px; }
.dh-visual {
  container-type: inline-size; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  background: var(--warm); border: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.shot-frame { width: 100%; height: 100%; background: var(--warm); }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 真实软件截图适配（tools/site/shot_apps.py 离屏截屏产出） */
.shot-frame.pf-top img { object-position: top; }
.shot-frame.pf-fit { display: grid; place-items: center; padding: 3cqw; }
.shot-frame.pf-fit img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.shot-frame.pf-focus img { object-position: 50% 32%; }
/* 真实手机截图排布（晴暮食单备案截图） */
.shot-frame.pf-phones { display: flex; align-items: center; justify-content: center; gap: 2.6cqw; padding: 2.8cqw; background: linear-gradient(160deg, #F6F4FB 0%, #EDEAF6 100%); }
.shot-frame.pf-phones img { height: 100%; width: auto; max-width: 46%; object-fit: contain; border-radius: 4cqw; box-shadow: 0 1.6cqw 5cqw rgba(23, 17, 79, .16); }
.dh-visual > .mock { height: 100%; }
.dh-visual .mock-console { background: linear-gradient(160deg, #F6F4FB 0%, #EDEAF6 100%); }
.dh-visual .win-frame { max-width: 96%; }
.dh-visual .phone-frame { width: 30%; }

.meta-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: clamp(30px, 4vw, 48px) 0 0; padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.meta-strip dt { color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.meta-strip dd { margin: 4px 0 0; color: var(--navy); font-size: 14.5px; font-weight: 600; }

.prose h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.prose p { margin: 0 0 16px; color: var(--body); font-size: 16.5px; line-height: 1.78; }
.prose p:last-child { margin-bottom: 0; }

.gallery-main { width: fit-content; max-width: 100%; margin: 0 auto; border-radius: 24px; overflow: hidden; background: var(--warm); border: 1px solid var(--line); }
.gallery-main img { display: block; width: auto; max-width: 100%; max-height: 640px; height: auto; background: var(--warm); }
.gallery-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.gallery-thumb {
  width: 92px; height: 92px; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--warm); cursor: pointer; opacity: .7;
  transition: opacity var(--speed) ease, border-color var(--speed) ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--navy); opacity: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.feature-item { padding: 22px 0; border-top: 1px solid var(--line); }
.feature-item .f-no { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.feature-item h3 { margin: 6px 0 6px; color: var(--navy); font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.spec-card { max-width: 820px; margin: 0 auto; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 15px 22px; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: 14.5px; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 220px; color: var(--faint); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.spec-table td { color: var(--navy); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.step .no { color: var(--faint); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.step h3 { margin: 10px 0 8px; color: var(--navy); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.entry-section { padding-top: 0; }
.entry-panel {
  display: grid; grid-template-columns: minmax(320px, 1fr) auto; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-card);
  background: var(--warm); border: 1px solid var(--line);
}
.entry-copy { min-width: 0; }
.entry-copy h2 { margin: 14px 0 8px; color: var(--navy); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; word-break: keep-all; }
.entry-copy p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.qr-card {
  display: grid; justify-items: center; gap: 10px; padding: 18px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.qr-card img { width: min(360px, 100%); height: auto; border-radius: 10px; display: block; }
.qr-hint { color: var(--faint); font-size: 12px; }
.qr-search, .qr-store { min-width: 280px; padding: 28px 26px; gap: 8px; }
.qr-label { color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.qr-keyword { color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -.01em; text-align: center; }

/* ---------- 微信小游戏与小程序专属获取面板 ---------- */
.entry-box-wx {
  padding: clamp(28px, 4.5vw, 48px);
  border-radius: var(--r-card);
  background: var(--warm);
  border: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 3vw, 32px);
}
.entry-wx-top { max-width: 760px; }
.entry-wx-top h2 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  word-break: keep-all;
  line-height: 1.25;
}
.entry-wx-intro { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

.entry-wx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.entry-card-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 22px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.channel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.channel-pill {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--teal);
  background: var(--teal-tint);
}
.channel-pill.alt { color: var(--orange); background: var(--orange-soft); }
.channel-head h3 { margin: 0; color: var(--navy); font-size: 17px; font-weight: 700; }

.channel-qr-frame {
  width: 170px;
  height: 170px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 4px 16px rgba(23, 17, 79, .06);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.channel-qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 12px; }

.search-mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 24px;
  background: var(--warm);
  border: 1.5px solid var(--line);
  margin-bottom: 14px;
  box-sizing: border-box;
}
.search-mock-bar svg { width: 17px; height: 17px; color: var(--faint); flex: 0 0 auto; }
.search-mock-bar .search-name {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  text-align: left;
}
.search-mock-bar .search-tag {
  padding: 2px 7px;
  border-radius: 6px;
  background: #07C160;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}
.channel-btn {
  width: 100%;
  max-width: 320px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 14px;
}
.channel-caption {
  margin: auto 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.55;
}


.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 0; padding-bottom: clamp(56px, 8vw, 104px); }
.pager-item {
  display: grid; gap: 2px; padding: 20px 24px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.pager-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.pager-item span { color: var(--faint); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pager-item b { color: var(--navy); font-size: 17px; font-weight: 700; }
.pager-item.next { text-align: right; }

/* ---------- 语言分流页 ---------- */
.page-root { min-height: 100vh; display: grid; place-items: center; background: var(--page); }
.root-splash { display: grid; justify-items: center; gap: 10px; padding: 40px; text-align: center; }
.root-splash .wordmark-mark { width: 46px; height: 46px; border-radius: 13px; }
.root-splash .wordmark-mark svg { width: 24px; height: 24px; }
.root-splash h1 { margin: 8px 0 0; color: var(--navy); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.root-splash p { margin: 0; color: var(--muted); font-size: 14px; }
.root-actions { display: flex; gap: 12px; margin-top: 16px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .detail-hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 460px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-5, .span-7 { grid-column: span 1; }
  .annot { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .annot-col { grid-template-columns: 1fr 1fr; width: 100%; max-width: 640px; gap: 18px; }
  .annot-item, .annot-item.left { max-width: none; justify-self: stretch; text-align: left; grid-template-columns: auto 1fr; }
  .annot-item.left .annot-num { order: -1; }
  .annot-visual { width: 100%; max-width: 560px; }
  .platform-grid, .trust-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .meta-strip { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .dh-visual { aspect-ratio: 16 / 11; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 18px 14px;
    background: var(--page); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; }
  .header-cta { display: none; }
  .header-right { gap: 6px; }
  .hero-grid { padding-top: 24px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .hero-stage { min-height: 420px; }
  .fc-2 { display: none; }
  .float-chip { font-size: 11.5px; padding: 8px 11px; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .bento, .game-grid, .platform-grid, .trust-grid, .overview-grid, .feature-grid, .pager { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 112px 1fr; }
  .index-table .hide-sm { display: none; }
  .index-table th, .index-table td { padding: 13px 12px; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-item p { grid-column: 1; }
  .btn { width: 100%; }
  .btn-row, .cta-actions, .cc-links, .root-actions { width: 100%; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .annot-col { grid-template-columns: 1fr; }
  .detail-hero-grid { gap: 26px; }
  .dh-visual { aspect-ratio: 4 / 3.2; }
  .entry-panel { grid-template-columns: 1fr; }
  .qr-card { width: 100%; }
  .qr-card img { width: 100%; }
  .entry-wx-grid { grid-template-columns: 1fr; }
  .entry-card-channel { padding: 22px 18px; }
  .channel-btn, .search-mock-bar { max-width: 100%; }
  .spec-table th { width: 130px; }
  .gallery-thumb { width: 74px; height: 74px; }
  .pager-item.next { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
