/* 墨子AI造物 官网 · Bento 拼格风
   暖白底，大圆角色块拼成格子；没有描边，只用极细的线和柔和的投影分层。
   蓝=孩子线，绿=家长线，暖色渐变=两边合流和重点。强调色只出现在很少的地方。
   不引用任何站外字体和脚本，国内打开要快。 */
:root {
  color-scheme: light;
  --bg: #F6F6F3; --surface: #FFFFFF; --ink: #111216; --ink-2: #2B2D35; --muted: #5F626D; --faint: #8D909B;
  --hair: rgba(17, 18, 22, .08); --hair-2: rgba(17, 18, 22, .14); --soft-line: rgba(17, 18, 22, .08);
  --kid: #4466FF; --kid-soft: #E8EDFF; --parent: #0B8F63; --parent-soft: #DFF5EB;
  --tint: 17, 18, 22; --block: #111216; --kid-ink: #2643D0; --par-ink: #08714E; --coral-ink: #C23A1D; --lilac-ink: #6746D8; --amber-ink: #B87900;
  --butter: #FFC53D; --butter-soft: #FFF2D0; --butter-ink: #7A5200;
  --coral: #FF6646; --coral-soft: #FFE7DF; --lilac: #9B7BFF; --lilac-soft: #EFE9FF; --lunch: #EFEFEC;
  --grad: linear-gradient(100deg, #FF7A59 0%, #FFB83D 28%, #3CCB9B 56%, #5B7CFA 80%, #A67CFF 100%);
  --grad-text: linear-gradient(100deg, #FF4E2B 0%, #F08A00 26%, #0FA674 54%, #3D5CF5 80%, #8A4DF7 100%);
  --grad-warm: linear-gradient(135deg, #FFE7B8 0%, #FFD2C2 55%, #F3D6FF 100%);
  --grad-hero: linear-gradient(135deg, #FFF0E3 0%, #F4E9FF 48%, #E3EEFF 100%);
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --fn: var(--f);
  --sh-1: 0 1px 2px rgba(17, 18, 22, .04), 0 12px 28px -18px rgba(17, 18, 22, .18);
  --sh-2: 0 2px 4px rgba(17, 18, 22, .04), 0 28px 56px -28px rgba(17, 18, 22, .28);
  --sh-3: 0 4px 8px rgba(17, 18, 22, .05), 0 44px 80px -36px rgba(17, 18, 22, .36);
  --r: 28px; --r-sm: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --track: -.02em;
}
html[lang="en"] { --track: -.035em; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
a { color: var(--kid); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; line-height: 1.08; letter-spacing: var(--track); text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.num { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid var(--kid); outline-offset: 3px; border-radius: 8px; }
::selection { background: #D9E1FF; }

/* 基础零件 */
.card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--sh-1); }
.soft-k, .soft-p, .soft-b, .soft-c, .soft-l { border-color: transparent; box-shadow: none; }
.soft-k { background: var(--kid-soft); } .soft-p { background: var(--parent-soft); } .soft-b { background: var(--butter-soft); } .soft-c { background: var(--coral-soft); } .soft-l { background: var(--lilac-soft); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; line-height: 1.5; padding: 4px 12px; border-radius: 999px; background: rgba(var(--tint), .06); color: var(--ink-2); white-space: nowrap; letter-spacing: .01em; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--butter); flex: none; }
.chip.kid { background: var(--kid-soft); color: var(--kid-ink); } .chip.kid::before { background: var(--kid); }
.chip.par { background: var(--parent-soft); color: var(--par-ink); } .chip.par::before { background: var(--parent); }
.chip.coral { background: var(--coral-soft); color: var(--coral-ink); } .chip.coral::before { background: var(--coral); }
.chip.lilac { background: var(--lilac-soft); color: var(--lilac-ink); } .chip.lilac::before { background: var(--lilac); }
.chip.ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-2); } .chip.ghost::before { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 15.5px; line-height: 1.3; cursor: pointer; text-decoration: none; letter-spacing: -.005em;
  padding: 13px 22px; border-radius: 16px; border: 0; background: var(--block); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 24px -14px rgba(17, 18, 22, .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 20px 32px -16px rgba(17, 18, 22, .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.white { background: rgba(255, 255, 255, .86); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2), 0 10px 22px -16px rgba(17, 18, 22, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.white:hover { background: #fff; }
.btn.blue { background: linear-gradient(135deg, #4466FF, #8A5CFF); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 26px -14px rgba(68, 102, 255, .8); }
.btn.green { background: var(--parent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 26px -14px rgba(11, 143, 99, .8); }
.btn.sm { font-size: 14px; padding: 9px 16px; border-radius: 13px; }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.tag { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; line-height: 1.6; white-space: nowrap; display: inline-block; letter-spacing: .02em; }
.tag.w { background: var(--parent-soft); color: var(--par-ink); } .tag.i { background: var(--kid-soft); color: var(--kid-ink); } .tag.c { background: var(--butter-soft); color: var(--butter-ink); } .tag.o { background: var(--coral-soft); color: var(--coral-ink); } .tag.l { background: rgba(var(--tint), .06); color: var(--ink-2); }
.note { padding: 18px 22px; font-size: 15px; background: var(--butter-soft); border-color: transparent; box-shadow: none; border-radius: var(--r-sm); }
.note b { font-weight: 700; }

/* 进场动画：没有脚本或用户关了动效时，内容直接可见 */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* 顶部导航：一颗悬浮的毛玻璃胶囊 */
.nav { position: sticky; top: 12px; z-index: 50; padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px)); margin-top: 12px; }
.nav .wrap { max-width: 1140px; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 10px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .74); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: inset 0 0 0 1px var(--hair), 0 14px 34px -22px rgba(17, 18, 22, .35); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; white-space: nowrap; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; flex: none; transition: transform .6s var(--spring); }
.brand:hover .logo { transform: translate(3px, -3px) rotate(-6deg); }
.brand small { font-size: 10.5px; font-weight: 600; color: var(--faint); display: block; line-height: 1.1; letter-spacing: .04em; }
.brand span { line-height: 1.15; }
.nav-links { display: flex; gap: 0; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 550; padding: 7px 12px; border-radius: 999px; white-space: nowrap; transition: background .25s, color .25s; }
.nav-links a:hover { background: rgba(var(--tint), .06); color: var(--ink); }
.nav-links a.lock { color: var(--faint); display: inline-flex; gap: 5px; align-items: center; }
.nav-links a.lock svg { width: 13px; height: 13px; }
.lang-btn { font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; border: 0; background: rgba(var(--tint), .06); color: var(--ink); border-radius: 999px; padding: 7px 12px; min-width: 44px; letter-spacing: .02em; transition: background .25s, transform .3s var(--spring); flex: none; }
.lang-btn:hover { background: rgba(var(--tint), .1); transform: scale(1.05); }
.nav .btn { flex: none; border-radius: 999px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(var(--tint), .06); cursor: pointer; padding: 0; place-items: center; flex: none; }
.burger i { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger i::before { top: -5px; } .burger i::after { top: 5px; }
.nav.open .burger i { background: transparent; }
.nav.open .burger i::before { transform: translateY(5px) rotate(45deg); } .nav.open .burger i::after { transform: translateY(-5px) rotate(-45deg); }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); pointer-events: none; z-index: 60; }

/* 版块 */
section { padding-block: 104px 8px; scroll-margin-top: 84px; position: relative; }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; align-items: flex-start; }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 54px); }
.sec-head p { max-width: 38em; color: var(--muted); font-size: 17.5px; line-height: 1.65; }
.sec-head.center { align-items: center; text-align: center; }
.subh { font-size: 20px; font-weight: 750; margin: 52px 0 18px; letter-spacing: -.015em; }
.subh .muted { font-weight: 500; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pad { padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pad p, .pad li { font-size: 15.5px; color: var(--ink-2); }
.pad ul, .pad ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
/* 悬停：浮起来，光标位置有一圈柔光 */
.tilt { position: relative; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .75), transparent 60%); mix-blend-mode: soft-light; }
.tilt:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.tilt:hover::after { opacity: 1; }

/* 首屏拼格 */
.hero { padding-block: 26px 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { border-radius: 36px; position: relative; overflow: hidden; min-width: 0; }
.hero-main { grid-column: span 7; background: var(--grad-hero); padding: clamp(26px, 3.6vw, 48px); min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 82% 12%, rgba(255, 255, 255, .9), transparent 70%); }
.hero-top { position: absolute; left: clamp(26px, 3.6vw, 48px); top: clamp(24px, 3.2vw, 40px); z-index: 3; }
.role { display: inline-flex; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--hair); padding: 4px; position: relative; }
.role button { font: inherit; font-size: 13.5px; font-weight: 650; border: 0; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; cursor: pointer; position: relative; z-index: 1; transition: color .3s; }
.role .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--block); transition: transform .5s var(--spring); box-shadow: 0 6px 14px -8px rgba(17, 18, 22, .6); }
.role[data-role="kid"] .knob { transform: translateX(100%); }
.role button[aria-pressed="true"] { color: #fff; }
.hero h1 { font-size: clamp(38px, 5.4vw, 74px); position: relative; z-index: 2; }
.hero h1 .mark { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .08em; background-size: 200% 100%; animation: sheen 9s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.hero .slogan { font-size: clamp(18px, 2vw, 22px); font-weight: 650; margin-top: 22px; line-height: 1.45; text-wrap: balance; letter-spacing: -.01em; position: relative; z-index: 2; }
.hero .slogan .k { color: var(--kid-ink); } .hero .slogan .p { color: var(--par-ink); }
.hero .lede { margin-top: 12px; max-width: 34em; color: var(--muted); font-size: 16.5px; position: relative; z-index: 2; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; z-index: 2; }
/* 有体积感的小物件 */
.shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape { position: absolute; will-change: transform; transition: transform .9s var(--ease); }
.shape i { display: block; width: 100%; height: 100%; animation: bob 7s ease-in-out infinite; }
.shape:nth-child(2) i { animation-duration: 9s; animation-delay: -3s; } .shape:nth-child(3) i { animation-duration: 6s; animation-delay: -1.5s; } .shape:nth-child(4) i { animation-duration: 10s; animation-delay: -5s; } .shape:nth-child(5) i { animation-duration: 8s; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--rot, 0deg) + 7deg)); } }
.orb i { border-radius: 50%; }
.orb.sun i { background: radial-gradient(circle at 32% 26%, #FFF1BF 0%, #FFBE4A 46%, #F5832B 100%); box-shadow: 0 34px 46px -22px rgba(245, 131, 43, .65), inset -10px -14px 26px rgba(214, 92, 14, .28); }
.orb.blue i { background: radial-gradient(circle at 32% 26%, #DCE5FF 0%, #6C8BFF 50%, #3B55D9 100%); box-shadow: 0 24px 34px -16px rgba(59, 85, 217, .6), inset -6px -9px 16px rgba(34, 54, 160, .3); }
.orb.pink i { background: radial-gradient(circle at 32% 26%, #FFE3EC 0%, #FF9DB7 52%, #F2617F 100%); box-shadow: 0 20px 30px -14px rgba(242, 97, 127, .55), inset -5px -8px 14px rgba(190, 50, 85, .25); }
.cube i { border-radius: 26%; background: linear-gradient(145deg, #B5F5DD 0%, #3CCB9B 55%, #1FA47A 100%); box-shadow: 0 24px 32px -14px rgba(31, 164, 122, .6), inset -6px -8px 14px rgba(15, 110, 80, .25), inset 4px 5px 10px rgba(255, 255, 255, .5); }
.capsule i { border-radius: 999px; background: linear-gradient(145deg, #E6DAFF 0%, #A67CFF 55%, #7C4DEB 100%); box-shadow: 0 22px 30px -14px rgba(124, 77, 235, .55), inset -5px -7px 12px rgba(80, 40, 180, .25), inset 4px 5px 10px rgba(255, 255, 255, .45); }

/* 造物机 */
.hero-demo { grid-column: span 5; background: #111216; color: #fff; padding: 22px; display: flex; flex-direction: column; isolation: isolate; }
.hero-demo::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 250, .55), rgba(166, 124, 255, .25) 45%, transparent 70%); }
.hero-demo::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 89, .4), transparent 68%); }
.machine { display: grid; gap: 14px; flex: 1; align-content: start; }
.machine-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.machine-head b { font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.machine-head .chip { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); box-shadow: none; }
.m-row { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 10px; align-items: center; }
.m-lab { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }
.m-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt { font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .86); cursor: pointer; transition: transform .3s var(--spring), background .25s, color .25s; }
.opt:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.opt[aria-pressed="true"] { background: #fff; color: var(--ink); }
.m-say { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); border-radius: 18px; padding: 14px 16px; font-size: 15px; font-weight: 500; line-height: 1.7; min-height: 4.8em; color: rgba(255, 255, 255, .88); }
.m-say b { color: #fff; font-weight: 700; background: linear-gradient(transparent 62%, rgba(91, 124, 250, .65) 62%); padding: 0 2px; }
.m-go { justify-self: start; }
.m-hint { margin-top: auto; padding-top: 18px; display: flex; gap: 14px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .5); line-height: 1.6; }
.m-hint i { flex: none; width: 54px; height: 88px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(255, 255, 255, .05) 7px 14px); }
.m-stage { display: grid; gap: 14px; }
.m-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.m-steps span { font-size: 12.5px; font-weight: 650; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .45); transition: all .5s var(--spring); }
.m-steps span.on { color: #0B3B2A; background: #7BEBC0; transform: scale(1.04); }
.m-result { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.phone { width: 120px; height: 200px; border-radius: 24px; background: #26272E; padding: 6px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); position: relative; transform-origin: 50% 100%; }
.phone.pop { animation: pop .8s var(--spring); }
@keyframes pop { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.screen { width: 100%; height: 100%; border-radius: 19px; background: #fff; color: var(--ink); overflow: hidden; position: relative; font-size: 10px; line-height: 1.4; padding: 9px 8px; display: flex; flex-direction: column; gap: 5px; }
.screen .ttl { font-weight: 800; font-size: 10.5px; text-align: center; letter-spacing: -.01em; }
.screen .bub { background: var(--kid-soft); border-radius: 9px 9px 9px 3px; padding: 5px 7px; align-self: flex-start; max-width: 92%; }
.screen .bub.me { background: var(--butter-soft); border-radius: 9px 9px 3px 9px; align-self: flex-end; }
.screen .pill { border-radius: 99px; padding: 2px 8px; font-weight: 700; align-self: flex-start; background: var(--block); color: #fff; }
.screen.s-game { background: linear-gradient(#E3F1FF 0 68%, #CFF0DC 68%); }
.screen.s-game .ball { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFD2C4, #FF6646); position: absolute; left: 46px; top: 34px; animation: drop 1.6s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(0); } 80%, 100% { transform: translateY(96px); } }
.screen.s-game .bins { position: absolute; left: 8px; right: 8px; bottom: 10px; display: flex; gap: 5px; }
.screen.s-game .bins i { flex: 1; height: 32px; border-radius: 5px 5px 9px 9px; }
.screen.s-book { background: #FFF8E6; }
.screen.s-book .art { flex: 1; border-radius: 10px; background: linear-gradient(#D5EAFF 0 62%, #CFF0DC 62%); position: relative; overflow: hidden; }
.screen.s-book .art::before { content: ""; position: absolute; right: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFF1BF, #FFBE4A); }
.screen.s-book .art::after { content: ""; position: absolute; left: 22px; bottom: 14px; width: 28px; height: 34px; border-radius: 16px 16px 10px 10px; background: linear-gradient(160deg, #C9B5FF, #9B7BFF); }
.live { position: absolute; right: -14px; top: -10px; background: #7BEBC0; color: #0B3B2A; font-weight: 750; font-size: 11.5px; border-radius: 999px; padding: 3px 10px; transform: rotate(8deg); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); white-space: nowrap; }
.m-result h3 { font-size: 16.5px; }
.m-result p { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 6px; line-height: 1.6; }
/* 四个数字 */
.stat { grid-column: span 3; padding: 22px 24px; border-radius: 28px; display: flex; flex-direction: column; gap: 4px; min-height: 132px; justify-content: space-between; }
.stat .num { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; }
.stat span:last-child { font-size: 14px; color: var(--ink-2); opacity: .8; line-height: 1.45; }
.hud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.hud div { border-radius: 20px; padding: 14px 16px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--hair); }
.hud .num { font-size: 30px; line-height: 1.1; display: block; }
.hud span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; }

/* 赛事跑马灯 */
.marquee { overflow: hidden; margin-top: 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 0; width: max-content; padding: 8px 0; animation: slide 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-size: 15px; font-weight: 600; color: var(--faint); white-space: nowrap; padding: 0 22px; position: relative; letter-spacing: -.005em; }
.marquee span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--hair-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* 为什么 */
.why3 .pad { padding: 30px; gap: 12px; min-height: 250px; }
.why3 .pad h3 { font-size: 22px; margin-top: auto; }
.why3 .card { display: flex; flex-direction: column; }
.icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, #FFE08A, #FFB83D); box-shadow: 0 16px 24px -14px rgba(255, 170, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .6s var(--spring); margin-bottom: 26px; }
.icon.blue { background: linear-gradient(145deg, #7D97FF, #4466FF); box-shadow: 0 16px 24px -14px rgba(68, 102, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.icon.green { background: linear-gradient(145deg, #4AD3A4, #0B8F63); box-shadow: 0 16px 24px -14px rgba(11, 143, 99, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.card:hover > .icon { transform: rotate(-8deg) scale(1.08); }
.icon svg { width: 28px; height: 28px; }
.flips { perspective: 1400px; }
.flip { position: relative; min-height: 190px; cursor: pointer; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; }
.flip .face { position: absolute; inset: 0; padding: 24px; display: grid; gap: 10px; align-content: start; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); }
.flip .back { transform: rotateY(180deg); background: var(--block); color: #fff; align-content: center; border-color: transparent; }
.flip .back p { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.flip.on .front { transform: rotateY(-180deg); } .flip.on .back { transform: rotateY(0); }
.flip .hint { font-size: 12.5px; color: var(--faint); margin-top: auto; }
.flip .face .chip { justify-self: start; }
.flip .front h3 { font-size: 21px; }

/* 年龄段 */
.age { padding: 30px; display: grid; gap: 8px; align-content: start; position: relative; overflow: hidden; min-height: 260px; }
.age .yr { font-size: clamp(48px, 5.4vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin-bottom: 18px; }
.age .yr small { font-size: 16px; margin-left: 6px; letter-spacing: 0; font-weight: 650; opacity: .7; }
.age p { font-size: 15.5px; color: var(--ink-2); }
.age .makes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.age .makes span { font-size: 12.5px; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.age .blob { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; opacity: .55; filter: blur(2px); transition: transform 1s var(--ease); }
.age:hover .blob { transform: scale(1.3) translate(-10px, 10px); }
.age > *:not(.blob) { position: relative; }

/* 一天时间轴 */
.day { padding: clamp(20px, 3vw, 34px); display: grid; gap: 22px; border-radius: 36px; box-shadow: var(--sh-2); }
.day-top { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.clock { font-size: clamp(48px, 6vw, 76px); font-weight: 800; line-height: 1; min-width: 3em; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.day-top .phase { font-size: 15px; font-weight: 600; color: var(--muted); }
.day-top .btn { margin-left: auto; align-self: center; }
.slider { width: 100%; -webkit-appearance: none; appearance: none; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #FFCB7A 0 11%, #7D97FF 11% 40%, #E3E3DF 40% 53.3%, #7D97FF 53.3% 86.7%, #FF9F7A 86.7%); cursor: pointer; margin: 0; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--block); border: 9px solid #fff; box-shadow: 0 0 0 1px var(--hair-2), 0 10px 20px -8px rgba(17, 18, 22, .5); cursor: grab; transition: transform .3s var(--spring); }
.slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--block); border: 9px solid #fff; box-shadow: 0 0 0 1px var(--hair-2), 0 10px 20px -8px rgba(17, 18, 22, .5); cursor: grab; }
.ticks { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; margin-top: -12px; }
.rooms { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); align-items: stretch; min-height: 190px; }
.room { border-radius: 26px; padding: 24px 26px; display: grid; gap: 8px; align-content: start; transition: background .6s var(--ease); min-width: 0; }
.room.k { background: var(--kid-soft); } .room.p { background: var(--parent-soft); }
.room .where { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; letter-spacing: .02em; }
.room .where::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.room.k .where { color: var(--kid-ink); } .room.p .where { color: var(--par-ink); }
.room h3 { font-size: 23px; letter-spacing: -.02em; }
.room p { font-size: 15.5px; color: var(--ink-2); }
.wall { position: relative; }
.wall::before { content: ""; position: absolute; left: 50%; top: 22px; bottom: 22px; border-left: 2px dotted var(--hair-2); }
.rooms.merged { grid-template-columns: minmax(0, 1fr); }
.rooms.merged .room.k { background: var(--grad-warm); animation: join .8s var(--ease); }
.rooms.merged .room.k .where { color: #9A4A12; }
.rooms.merged .room.p, .rooms.merged .wall { display: none; }
@keyframes join { from { transform: scaleX(.5); transform-origin: 0 50%; } }
.rooms.lunch .room { background: var(--lunch); }
.rooms.lunch .room .where { color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 6px; }
.jump button { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 13px; border-radius: 999px; border: 0; background: rgba(var(--tint), .05); color: var(--ink-2); cursor: pointer; transition: transform .3s var(--spring), background .25s, color .25s; font-variant-numeric: tabular-nums; }
.jump button:hover { background: rgba(var(--tint), .1); transform: translateY(-1px); }
.jump button.on { background: var(--block); color: #fff; }

/* 关卡地图 */
.quest-track { position: relative; height: 40px; margin: 0 5% 10px; }
.quest-track .line { position: absolute; left: 0; right: 0; top: 18px; height: 4px; border-radius: 99px; background: rgba(var(--tint), .08); overflow: hidden; }
.quest-track .fill { height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--q, 0)); background: var(--grad); }
.quest-track .runner { position: absolute; top: 2px; left: calc(var(--q, 0) * 100%); width: 36px; height: 36px; margin-left: -18px; transition: left .12s linear; filter: drop-shadow(0 8px 10px rgba(255, 140, 40, .5)); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .6s; border-radius: 30px; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.tier .lv { align-self: flex-start; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; background: rgba(var(--tint), .06); color: var(--faint); transition: all .6s var(--spring); }
.tier.lit .lv { background: var(--block); color: #fff; transform: scale(1.06); }
.tier:nth-child(1).lit { background: #FFF6DE; border-color: transparent; } .tier:nth-child(2).lit { background: #EDF1FF; border-color: transparent; } .tier:nth-child(3).lit { background: #E6F8EF; border-color: transparent; } .tier:nth-child(4).lit { background: #FFECE6; border-color: transparent; }
.tier h3 { font-size: 24px; letter-spacing: -.025em; margin-top: 10px; }
.tier .len { font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.tier .one { font-size: 15.5px; font-weight: 550; color: var(--ink-2); }
.loot { display: grid; gap: 8px; font-size: 14px; margin-top: 4px; }
.loot div { border-radius: 16px; padding: 12px 14px; background: rgba(255, 255, 255, .75); color: var(--ink-2); line-height: 1.6; box-shadow: inset 0 0 0 1px var(--hair); }
.loot b { display: block; font-size: 12px; letter-spacing: .03em; margin-bottom: 2px; } .loot .k b { color: var(--kid-ink); } .loot .p b { color: var(--par-ink); }
.tier .more { margin-top: auto; align-self: flex-start; }
.season { margin-top: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; }
.season h3 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 22px; }
.path { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.path::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 3px; border-radius: 99px; background: var(--grad); opacity: .55; }
.path li { position: relative; display: grid; gap: 6px; align-content: start; font-size: 14.5px; }
.path .node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--block); color: #fff; box-shadow: 0 0 0 6px var(--surface), 0 12px 20px -10px rgba(17, 18, 22, .6); transition: transform .5s var(--spring); margin-bottom: 8px; }
.path li:hover .node { transform: scale(1.15); }
.path b { font-size: 17px; letter-spacing: -.01em; }
.bonus { margin-top: 16px; padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; background: var(--block); color: #fff; border-color: transparent; border-radius: 30px; position: relative; overflow: hidden; isolation: isolate; }
.bonus::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -180px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(60, 203, 155, .5), transparent 68%); }
.bonus h3 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 26px; letter-spacing: -.02em; }
.bonus .chip { background: rgba(255, 255, 255, .12); color: #9DF0CF; }
.bonus p { font-size: 16px; margin-top: 10px; color: rgba(255, 255, 255, .78); max-width: 44em; }
.bonus .btn { background: #fff; color: var(--ink); box-shadow: none; }

/* 赛事地图 */
.tabs { display: inline-flex; gap: 2px; flex-wrap: wrap; margin-bottom: 22px; padding: 4px; border-radius: 18px; background: rgba(var(--tint), .05); }
.tabs button { font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; border-radius: 14px; padding: 9px 18px; border: 0; background: transparent; color: var(--muted); transition: background .3s, color .3s, box-shadow .3s; }
.tabs button small { font-weight: 500; opacity: .75; margin-left: 6px; font-size: 12.5px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(17, 18, 22, .08), 0 8px 16px -10px rgba(17, 18, 22, .3); }
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comp { padding: 22px 24px; display: grid; gap: 8px; align-content: start; animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); border-radius: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.comp .tag { justify-self: start; }
.comp b { font-size: 17.5px; line-height: 1.35; letter-spacing: -.015em; }
.comp p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }
.lg-k { background: var(--kid); } .lg-p { background: var(--parent); } .lg-m { background: linear-gradient(135deg, #FFB83D, #FF7A59); }
.months-wrap { position: relative; margin-inline: -6px; }
.months { display: flex; gap: 12px; overflow-x: auto; padding: 6px 6px 22px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.months::-webkit-scrollbar { display: none; }
.months.drag { cursor: grabbing; scroll-snap-type: none; }
.month { flex: 0 0 232px; scroll-snap-align: start; padding: 20px 22px; display: grid; gap: 12px; align-content: start; border-radius: 24px; }
.month .m { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.month .m small { font-size: 14px; margin-left: 4px; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.month ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.month li { display: grid; gap: 4px; justify-items: start; }
.month.hot { background: var(--grad-warm); border-color: transparent; }
.fineprint { font-size: 13px; color: var(--faint); margin-top: 14px; max-width: 62em; line-height: 1.7; }

/* 家长线 */
.layer { padding: 30px; display: grid; gap: 10px; align-content: start; min-height: 240px; }
.layer .n { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.05em; color: var(--par-ink); opacity: .9; margin-bottom: 22px; }
.layer:nth-child(2) .n { color: var(--kid-ink); } .layer:nth-child(3) .n { color: var(--amber-ink); }
.layer:nth-child(1) { background: var(--parent-soft); border-color: transparent; box-shadow: none; } .layer:nth-child(2) { background: var(--kid-soft); border-color: transparent; box-shadow: none; } .layer:nth-child(3) { background: var(--grad-warm); border-color: transparent; box-shadow: none; }
.layer h3 { font-size: 22px; }
.layer p { font-size: 15.5px; color: var(--ink-2); }
.promises { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.promise { padding: 22px; display: grid; gap: 8px; align-content: start; position: relative; border-radius: 24px; }
.promise .stamp { width: 34px; height: 34px; margin-bottom: 10px; }
.promise b { font-size: 16.5px; letter-spacing: -.01em; }
.promise p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.who { padding: clamp(20px, 3vw, 30px); border-radius: 30px; }
.who .tabs { margin-bottom: 18px; }
.who-body ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.who-body li { font-size: 15.5px; background: var(--bg); border-radius: 16px; padding: 14px 16px 14px 44px; position: relative; animation: rise .6s var(--ease) backwards; }
.who-body li:nth-child(2) { animation-delay: .06s; } .who-body li:nth-child(3) { animation-delay: .12s; } .who-body li:nth-child(4) { animation-delay: .18s; }
.who-body li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 14px; height: 8px; border-left: 2.5px solid var(--parent); border-bottom: 2.5px solid var(--parent); transform: rotate(-45deg) scale(.8); border-radius: 1px; }

/* 徽章：有光泽的小圆章 */
.badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.badge { display: grid; justify-items: center; gap: 14px; text-align: center; font-size: 13.5px; font-weight: 600; border: 0; background: none; font-family: inherit; color: var(--muted); cursor: pointer; padding: 8px 0; position: relative; transition: color .4s; }
.medal { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -.01em; background: radial-gradient(circle at 32% 26%, #FFFFFF 0%, #ECECE8 55%, #D9D9D4 100%); color: var(--faint); position: relative; transition: transform .7s var(--spring), box-shadow .5s, color .4s; box-shadow: inset 0 -6px 12px rgba(17, 18, 22, .06), 0 14px 22px -14px rgba(17, 18, 22, .3); }
.medal::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.badge:hover .medal { transform: translateY(-6px) rotate(-6deg); }
.badge.lit { color: var(--ink); }
.badge.lit .medal { background: var(--g); color: var(--tc, #fff); box-shadow: inset -8px -12px 20px rgba(0, 0, 0, .14), inset 6px 8px 14px rgba(255, 255, 255, .4), 0 24px 30px -16px var(--gs); transform: rotate(-8deg) scale(1.08); }
.badge-msg { text-align: center; margin-top: 26px; font-weight: 650; min-height: 1.8em; color: var(--ink-2); }
.confetti { position: fixed; width: 9px; height: 13px; border-radius: 3px; pointer-events: none; z-index: 99; animation: fly 1.1s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); opacity: 0; } }

/* 常见问题 */
.faq { display: grid; gap: 0; max-width: 880px; border-top: 1px solid var(--hair-2); }
.faq details { padding: 0; overflow: hidden; background: none; border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0; box-shadow: none; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font-weight: 650; font-size: 19px; position: relative; letter-spacing: -.015em; transition: color .25s; }
.faq summary:hover { color: var(--kid); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .ans { padding: 0 56px 26px 0; font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 46em; }

/* 预约 */
.book { padding: clamp(28px, 4.6vw, 60px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; background: var(--grad-hero); border-color: transparent; border-radius: 40px; box-shadow: none; position: relative; overflow: hidden; }
.book h2 { font-size: clamp(32px, 5vw, 58px); }
.book p { margin-top: 16px; font-size: 17px; max-width: 28em; color: var(--ink-2); }
.book-card { padding: 26px; display: grid; gap: 16px; border-radius: 28px; box-shadow: var(--sh-2); background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.book-card .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.book-card .lab { font-size: 13px; color: var(--faint); font-weight: 600; }
.book-card .val { font-size: 24px; font-weight: 800; user-select: all; -webkit-user-select: all; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.book-card .val.cn { font-size: 19px; font-weight: 700; }
.book-card p { font-size: 13px; margin-top: 0; color: var(--faint); }
.manifesto { text-align: center; padding: 20px 20px 46px; display: grid; gap: 14px; background: none; border: 0; box-shadow: none; }
.manifesto .big { font-size: clamp(28px, 4.8vw, 56px); font-weight: 800; line-height: 1.18; letter-spacing: var(--track); text-wrap: balance; }
.manifesto .big em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto .muted { font-size: 17px; max-width: 34em; margin: 0 auto; }

/* 页脚 */
footer { margin-top: 110px; padding-block: 44px 48px; font-size: 14px; border-top: 1px solid var(--hair); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; color: var(--faint); letter-spacing: .08em; font-weight: 650; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); font-weight: 550; text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.legal a { color: var(--faint); font-weight: 500; }

/* 一日体验页 */
.crumb { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--muted); }
.crumb:hover { color: var(--ink); }
.day-hero { padding: clamp(28px, 4.4vw, 60px); position: relative; overflow: hidden; background: var(--grad-hero); border-color: transparent; border-radius: 40px; box-shadow: none; isolation: isolate; }
.day-hero h1 { font-size: clamp(38px, 6vw, 80px); margin-top: 22px; }
.day-hero h1 .mark { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .08em; }
.day-hero .lede { margin-top: 22px; max-width: 38em; font-size: 18px; color: var(--ink-2); }
.day-hero .sun { position: absolute; z-index: -1; right: 6%; top: 12%; width: clamp(120px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 26%, #FFF1BF 0%, #FFBE4A 46%, #F5832B 100%); box-shadow: 0 40px 60px -26px rgba(245, 131, 43, .65), inset -12px -16px 30px rgba(214, 92, 14, .28); animation: bob 9s ease-in-out infinite; }
.day-hero .hud { max-width: 760px; }
.topic { padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; background: var(--block); color: #fff; border-color: transparent; border-radius: 32px; position: relative; overflow: hidden; isolation: isolate; }
.topic::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 184, 61, .45), transparent 68%); }
.topic .q { font-size: clamp(24px, 3.8vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: var(--track); text-wrap: balance; max-width: 22em; }
.topic p { color: rgba(255, 255, 255, .75); font-size: 16.5px; }
.dirs button { font: inherit; color: inherit; text-align: left; cursor: pointer; border: 0; }
.dirs .pad { padding: 20px; transition: transform .5s var(--spring), box-shadow .5s; border-radius: 24px; }
.dirs .pad:hover { transform: translateY(-4px); }
.dirs .pad.on { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--ink), var(--sh-2); }
.dirs .sdg { font-size: 11.5px; font-weight: 650; color: var(--muted); letter-spacing: .04em; }
.dirs h3 { font-size: 18px; }
.dirs p { font-size: 14px; }
.idea { margin-top: 14px; padding: 18px 22px; font-size: 16px; min-height: 3.6em; border-radius: 20px; }
.idea b { font-weight: 700; }
.stars5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.star { padding: 20px; display: grid; gap: 6px; align-content: start; border-radius: 24px; }
.star b { font-size: 17.5px; letter-spacing: -.01em; margin-top: 6px; } .star p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.rate { display: flex; gap: 1px; }
.rate button { font-size: 22px; line-height: 1; padding: 0 1px; border: 0; background: none; cursor: pointer; color: #DDDDD8; transition: transform .3s var(--spring), color .2s; font-family: var(--f); }
.rate button.on { color: #FFB83D; text-shadow: 0 4px 10px rgba(255, 170, 40, .5); }
.rate button:hover { transform: scale(1.3) rotate(-8deg); }
.rate-msg { margin-top: 16px; font-weight: 650; min-height: 1.8em; }
.sched-card { padding: clamp(14px, 2.4vw, 26px); border-radius: 32px; }
.sched { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.sched .hd { font-size: 12.5px; font-weight: 700; padding: 0 6px 6px; letter-spacing: .03em; }
.sched .hd.k { color: var(--kid-ink); } .sched .hd.p { color: var(--par-ink); }
.sched .t { font-size: 13px; color: var(--faint); font-weight: 650; font-variant-numeric: tabular-nums; padding-top: 14px; text-align: right; padding-right: 6px; }
.blk { border-radius: 18px; padding: 14px 18px; font-size: 14.5px; line-height: 1.6; min-width: 0; color: var(--ink-2); transition: transform .4s var(--ease); }
.blk:hover { transform: scale(1.01); }
.blk b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; color: var(--ink); letter-spacing: -.01em; }
.blk.k { background: var(--kid-soft); } .blk.p { background: var(--parent-soft); }
.blk.m { background: var(--grad-warm); }
.blk.x { background: none; color: var(--faint); text-align: center; padding: 8px; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.quests { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.quest { padding: 26px; display: grid; gap: 8px; align-content: start; border-radius: 28px; border-color: transparent; box-shadow: none; }
.quest:nth-child(1) { background: var(--butter-soft); } .quest:nth-child(2) { background: var(--kid-soft); } .quest:nth-child(3) { background: var(--parent-soft); } .quest:nth-child(4) { background: var(--coral-soft); }
.quest .lv { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.05em; margin-bottom: 14px; opacity: .9; }
.quest:nth-child(1) .lv { color: var(--amber-ink); } .quest:nth-child(2) .lv { color: var(--kid-ink); } .quest:nth-child(3) .lv { color: var(--par-ink); } .quest:nth-child(4) .lv { color: var(--coral-ink); }
.quest .time { font-size: 12.5px; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.quest h3 { font-size: 22px; }
.quest p { font-size: 15px; color: var(--ink-2); }
.quest .pass { font-size: 14px; border-top: 1px solid var(--hair-2); padding-top: 12px; margin-top: 6px; }
.quest .pass b { color: var(--ink); }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.four div { border-radius: 18px; padding: 16px 18px; font-size: 14.5px; background: rgba(255, 255, 255, .8); color: var(--ink-2); }
.four b { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 2px; }

/* 示范作品试玩台 */
.play { padding: clamp(20px, 3.4vw, 44px); border-radius: 40px; background: var(--grad-hero); border-color: transparent; box-shadow: none; }
.play-body { display: grid; grid-template-columns: minmax(0, 310px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.device { width: 100%; max-width: 310px; aspect-ratio: 9 / 17; border-radius: 46px; background: #17181D; padding: 10px; box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255, 255, 255, .14); margin: 0 auto; }
.device .scr { width: 100%; height: 100%; border-radius: 37px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; font-size: 14px; position: relative; }
.app-bar { padding: 18px 14px 12px; font-weight: 750; font-size: 15px; text-align: center; background: var(--butter-soft); letter-spacing: -.01em; }
.app-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: auto; min-height: 0; }
.play-side h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: var(--track); line-height: 1.2; }
.play-side p { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 30em; }
.play-side .by { margin-top: 16px; font-size: 14px; color: var(--muted); }
.g-item { flex: 1; display: grid; place-items: center; text-align: center; border-radius: 22px; font-size: 26px; font-weight: 800; padding: 8px; background: var(--bg); min-height: 96px; letter-spacing: -.02em; transition: background .3s; }
.g-item small { display: block; font-size: 12.5px; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.g-item.ok { background: var(--parent-soft); animation: yes .5s var(--spring); }
.g-item.no { background: var(--coral-soft); animation: shake .4s; }
@keyframes yes { 50% { transform: scale(1.06); } }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.g-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-bins button { font: inherit; font-weight: 700; font-size: 13.5px; padding: 13px 4px; border: 0; border-radius: 16px; cursor: pointer; color: #fff; transition: transform .25s var(--spring); }
.g-bins button:active { transform: scale(.94); }
.g-bins button:nth-child(1) { background: #23A566; } .g-bins button:nth-child(2) { background: var(--kid); } .g-bins button:nth-child(3) { background: var(--coral); } .g-bins button:nth-child(4) { background: #6C707C; }
.g-top { display: flex; justify-content: space-between; font-weight: 650; font-size: 13px; color: var(--muted); }
.g-say { font-size: 13.5px; min-height: 2.8em; text-align: center; font-weight: 600; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: auto; min-height: 0; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 18px 18px 18px 5px; background: var(--bg); font-size: 13.5px; line-height: 1.55; align-self: flex-start; animation: rise .4s var(--ease) backwards; }
.msg.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; background: var(--kid); color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { font: inherit; font-size: 12.5px; font-weight: 650; padding: 6px 12px; border-radius: 999px; border: 0; background: var(--kid-soft); color: var(--kid-ink); cursor: pointer; transition: transform .25s var(--spring); }
.quick button:hover { transform: translateY(-1px); }
.dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); margin: 0 2px; animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.bars7 { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; min-height: 120px; padding-top: 20px; }
.bars7 div { background: linear-gradient(#9DB1FF, #4466FF); border-radius: 8px; position: relative; transition: height .8s var(--spring); min-height: 6px; }
.bars7 div.today { background: linear-gradient(#FFB29E, #FF6646); }
.bars7 div span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 650; white-space: nowrap; color: var(--muted); }
.days7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; font-size: 11px; text-align: center; color: var(--faint); font-weight: 650; }
.sleep-row { display: flex; gap: 8px; }
.sleep-row select { flex: 1; font: inherit; font-weight: 650; padding: 10px; border: 0; border-radius: 14px; background: var(--bg); color: var(--ink); }
.sleep-row button { font: inherit; font-weight: 700; padding: 10px 16px; border: 0; border-radius: 14px; background: var(--block); color: #fff; cursor: pointer; }
.pitch { padding: clamp(22px, 3.4vw, 36px); background: var(--kid-soft); font-size: clamp(17px, 2vw, 21px); line-height: 2.2; border-color: transparent; box-shadow: none; font-weight: 550; letter-spacing: -.01em; }
.pitch u { text-decoration: none; border-bottom: 2px solid rgba(38, 67, 208, .45); padding: 0 1.5em; }
.agenda { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.agenda li { padding: 18px 22px; display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 14px; border-radius: 22px; }
.agenda .when { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 20px; letter-spacing: -.03em; line-height: 1.3; }
.agenda .when small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: 0; }
.agenda h3 { font-size: 17px; } .agenda p { font-size: 14.5px; margin-top: 3px; color: var(--muted); line-height: 1.6; }
.rows { list-style: none; padding: 8px 26px; margin: 0; border-radius: 28px; }
.rows li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 15.5px; color: var(--ink-2); }
.rows li:last-child { border-bottom: 0; }
.rows li b { font-weight: 700; color: var(--ink); }

/* 伙伴区 */
.lock-wrap { min-height: calc(100vh - 90px); min-height: calc(100dvh - 90px); display: grid; place-items: center; padding: 30px 18px; position: relative; overflow: hidden; }
.lock-wrap::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #F1E8FF 0%, #E6EEFF 38%, rgba(246, 246, 243, 0) 68%); z-index: 0; }
.lock-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 40px 32px; display: grid; gap: 18px; justify-items: center; text-align: center; box-shadow: var(--sh-3); border-radius: 36px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lock-card h1 { font-size: 30px; }
.lock-card p { font-size: 15.5px; color: var(--muted); }
.padlock { width: 76px; height: 76px; filter: drop-shadow(0 16px 18px rgba(255, 150, 50, .35)); }
.padlock .shackle { transition: transform .8s var(--spring); transform-origin: 62px 40px; }
.lock-card.open .padlock .shackle { transform: rotate(38deg) translateY(-4px); }
.pin { display: flex; gap: 8px; position: relative; }
.pin i { width: 48px; height: 60px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--hair); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 28px; transition: transform .4s var(--spring), background .25s, box-shadow .25s; }
.pin i.filled { background: var(--block); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 18px -10px rgba(17, 18, 22, .6); }
.pin i.cur { box-shadow: inset 0 0 0 2px var(--kid); }
.pin input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; cursor: pointer; }
.pin.bad { animation: shake .4s; }
.pin.bad i { background: var(--coral-soft); color: var(--coral-ink); }
.lock-msg { min-height: 1.6em; font-weight: 650; font-size: 14.5px; }
.lock-msg.err { color: var(--coral-ink); }
.p-hero { padding: clamp(26px, 4.4vw, 56px); border-radius: 40px; background: var(--block); color: #fff; border-color: transparent; box-shadow: none; position: relative; overflow: hidden; isolation: isolate; }
.p-hero::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 124, 250, .5), rgba(166, 124, 255, .2) 45%, transparent 70%); }
.p-hero h1 { font-size: clamp(32px, 5vw, 60px); margin-top: 20px; }
.p-hero p { margin-top: 16px; max-width: 46em; color: rgba(255, 255, 255, .78); font-size: 17px; }
.p-hero .chip { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); box-shadow: none; }
.tbl-wrap { overflow-x: auto; border-radius: 28px; }
table { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 14.5px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { font-size: 12px; font-weight: 650; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: none; }
tr:last-child td { border-bottom: 0; }
td.price { white-space: nowrap; font-weight: 800; font-size: 17px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
td.ref { color: var(--muted); font-size: 13.5px; }
td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 650; }
tr.grp td { background: var(--bg); font-size: 12.5px; font-weight: 650; color: var(--muted); padding-block: 9px; }
tr.sum td { font-weight: 800; border-top: 1px solid var(--hair-2); font-size: 16px; }
.costgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.costgrid table { min-width: 0; }
.bars { display: grid; gap: 26px; padding: 28px; }
.bar .track { position: relative; height: 22px; margin-top: 12px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar .cost-part { position: absolute; top: 0; bottom: 0; left: 0; background: #C9CAD1; }
.bar .gain { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #3CCB9B, #0B8F63); border-radius: 0 999px 999px 0; }
.bar .lab { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.bar .lab b { color: var(--ink); }
.goal { padding: 24px; border-radius: 24px; } .goal .num { font-size: 52px; line-height: 1; } .goal p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.timeline { list-style: none; margin: 0 0 0 8px; padding: 0; border-left: 2px solid var(--hair-2); }
.timeline li { position: relative; padding: 0 0 24px 26px; font-size: 15.5px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--faint); }
.timeline li.big::before { background: linear-gradient(135deg, #FFB83D, #FF7A59); box-shadow: 0 0 0 5px rgba(255, 160, 80, .2); }
.timeline .d { font-weight: 750; font-variant-numeric: tabular-nums; display: block; color: var(--ink); letter-spacing: -.01em; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--hair-2); background: var(--surface); }
.p-nav { display: flex; gap: 4px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: none; }
.p-nav a { flex: none; text-decoration: none; color: var(--ink-2); font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(var(--tint), .05); transition: background .25s, color .25s; }
.p-nav a:hover { background: var(--block); color: #fff; }

/* 窄屏 */
@media (max-width: 1040px) {
  .nav-links { position: absolute; left: 0; right: 0; top: 70px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 28px; flex-direction: column; align-items: stretch; padding: 12px; gap: 0; display: none; box-shadow: inset 0 0 0 1px var(--hair), var(--sh-2); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 16px; border-radius: 16px; }
  .burger { display: grid; }
  .lang-btn { margin-left: auto; }
  .nav .wrap > .btn { display: none; }
  .hero-main, .hero-demo { grid-column: span 12; }
  .hero-main { min-height: 560px; }
  .stat { grid-column: span 6; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quest-track { display: none; }
  .comps, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4, .quests, .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid5, .promises, .stars5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book, .costgrid, .play-body { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  section { padding-block: 72px 4px; }
  .sec-head { margin-bottom: 26px; }
  .tile, .day, .book, .day-hero, .play, .p-hero { border-radius: 28px; }
  .grid2, .grid3, .grid4, .comps, .tiers, .quests, .four, .path { grid-template-columns: minmax(0, 1fr); }
  .grid5, .promises, .stars5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-main { min-height: 0; padding-top: 250px; }
  .stat { min-height: 112px; padding: 18px; border-radius: 22px; }
  .why3 .pad, .age, .layer { min-height: 0; }
  .path::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, #FF7A59, #FFB83D, #3CCB9B, #5B7CFA); }
  .path li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .path li .node { grid-row: span 2; margin-bottom: 0; }
  .bonus { grid-template-columns: minmax(0, 1fr); }
  .rooms { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; }
  .rooms .wall { display: none; }
  .room { min-height: 128px; padding: 20px; }
  .day-top .btn { margin-left: 0; }
  .who-body ul { grid-template-columns: minmax(0, 1fr); }
  .rows { padding: 4px 20px; }
  .rows li, .agenda li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .sched { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: 5px; }
  .blk { padding: 10px 11px; font-size: 13.5px; border-radius: 14px; }
  .blk b { font-size: 13.5px; }
  .sched .t { font-size: 11.5px; padding-right: 2px; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .pin i { width: 42px; height: 54px; font-size: 24px; }
  .medal { width: 78px; height: 78px; font-size: 15px; }
  .tabs { display: flex; }
  .tabs button { flex: 1 1 auto; padding: 9px 12px; }
  .faq summary { font-size: 17px; padding-block: 20px; }
  .brand small { font-size: 10px; letter-spacing: .02em; }
}

/* 徽章点亮后的颜色 */
.badge:nth-child(1) { --g: radial-gradient(circle at 32% 26%, #FFF1BF 0%, #FFBE4A 50%, #F5832B 100%); --gs: rgba(245, 131, 43, .75); }
.badge:nth-child(2) { --g: radial-gradient(circle at 32% 26%, #DCE5FF 0%, #6C8BFF 50%, #3B55D9 100%); --gs: rgba(59, 85, 217, .75); }
.badge:nth-child(3) { --g: radial-gradient(circle at 32% 26%, #C9F7E4 0%, #3CCB9B 50%, #12916A 100%); --gs: rgba(18, 145, 106, .75); }
.badge:nth-child(4) { --g: radial-gradient(circle at 32% 26%, #FFD9CE 0%, #FF7A59 50%, #E2482A 100%); --gs: rgba(226, 72, 42, .75); }
.badge:nth-child(5) { --g: radial-gradient(circle at 32% 26%, #EADFFF 0%, #A67CFF 50%, #7447E0 100%); --gs: rgba(116, 71, 224, .75); }
.badge:nth-child(6) { --g: radial-gradient(circle at 32% 26%, #FFE3EC 0%, #FF9DB7 50%, #E9567A 100%); --gs: rgba(233, 86, 122, .75); }

/* 比赛情报页 */
.radar-hero { padding: clamp(28px, 4.4vw, 60px); position: relative; overflow: hidden; background: var(--block); color: #fff; border-color: transparent; border-radius: 40px; box-shadow: none; isolation: isolate; }
.radar-hero h1 { font-size: clamp(38px, 6vw, 80px); margin-top: 22px; }
.radar-hero h1 .mark { background: linear-gradient(100deg, #FF9A7A 0%, #FFCB5C 30%, #6FE3B8 60%, #8FA6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .08em; }
.radar-hero .lede { margin-top: 22px; max-width: 36em; font-size: 18px; color: rgba(255, 255, 255, .78); position: relative; z-index: 1; }
.radar-hero .chip { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); box-shadow: none; }
.radar-hero .chip.coral { color: #FFB29E; }
.radar-hero .hud { max-width: 820px; position: relative; z-index: 1; }
.radar-hero .hud div { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.radar-hero .hud span { color: rgba(255, 255, 255, .6); }
.radar-hero .hud .num { color: #fff; }
.radar-rings { position: absolute; right: -120px; top: 50%; width: 560px; height: 560px; margin-top: -280px; z-index: -1; }
.radar-rings i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.radar-rings i:nth-child(2) { inset: 90px; } .radar-rings i:nth-child(3) { inset: 180px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.radar-rings b { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(111, 227, 184, .2), transparent 18%); animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.filters { padding: 18px 22px; display: grid; gap: 14px; border-radius: 28px; position: sticky; top: 82px; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.f-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.f-lab { font-size: 12.5px; font-weight: 650; color: var(--faint); letter-spacing: .03em; }
.filters .tabs { margin-bottom: 0; }
.filters .tabs button { padding: 7px 14px; font-size: 14px; }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.kinds button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 0; background: rgba(var(--tint), .05); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.kinds button:hover { transform: translateY(-1px); background: rgba(var(--tint), .1); }
.kinds button[aria-pressed="true"] { background: var(--block); color: #fff; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 14px; padding: 0 14px; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .25s; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--kid); }
.search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 0; background: none; padding: 11px 0; color: var(--ink); outline: none; }
.f-count { font-size: 13.5px; font-weight: 650; color: var(--muted); }
.radar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.rc { padding: 26px; display: flex; flex-direction: column; gap: 10px; border-radius: 30px; animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.rc-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.due { flex: none; font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: var(--parent-soft); color: var(--par-ink); white-space: nowrap; }
.due.soon { background: var(--butter-soft); color: var(--butter-ink); }
.due.hot { background: var(--coral); color: #fff; }
.due.none, .due.past { background: rgba(var(--tint), .06); color: var(--muted); }
.rc h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; margin-top: 6px; }
.rc-by { font-size: 14px; color: var(--muted); margin-top: -4px; }
.rc dl { margin: 6px 0 0; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.rc dl > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; line-height: 1.6; }
html[lang="en"] .rc dl > div { grid-template-columns: 8.6em minmax(0, 1fr); }
.rc dt { color: var(--faint); font-weight: 600; font-size: 13px; padding-top: 1px; }
.rc dd { margin: 0; color: var(--ink-2); }
.rc dd b { color: var(--ink); font-weight: 700; }
.rc-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rc-checked { font-size: 12.5px; color: var(--faint); }
.past { margin-top: 30px; }
.past summary { cursor: pointer; font-weight: 650; font-size: 16px; color: var(--muted); list-style: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(var(--tint), .05); }
.past summary::-webkit-details-marker { display: none; }
.past .rc { opacity: .72; }
.nav-links a[aria-current="page"] { background: rgba(var(--tint), .06); color: var(--ink); }
.seeall { margin-top: 22px; display: flex; justify-content: center; }
@media (max-width: 1040px) { .radar-list { grid-template-columns: minmax(0, 1fr); } .filters { position: static; } .radar-rings { opacity: .6; } }
@media (max-width: 680px) { .radar-hero { border-radius: 28px; } .rc { padding: 20px; border-radius: 24px; } .rc dl > div, html[lang="en"] .rc dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .filters { padding: 16px; border-radius: 22px; } }

/* 回到顶部 */
.to-top { position: fixed; z-index: 45; right: calc(max(18px, env(safe-area-inset-right, 0px)) + 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: var(--block); box-shadow: 0 14px 28px -12px rgba(17, 18, 22, .6), inset 0 1px 0 rgba(255, 255, 255, .14); opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--spring), background .25s; }
.to-top svg { width: 22px; height: 22px; transition: transform .4s var(--spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #2B2D35; }
.to-top:hover svg { transform: translateY(-3px); }
.to-top:active { transform: scale(.92); }
@media (max-width: 680px) { .to-top { width: 46px; height: 46px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); } }

/* 首屏标语 */
.hero-eyebrow { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--hair); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px rgba(255, 184, 61, .2); }

/* 品牌故事 */
.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 56px); border-radius: 40px; align-items: center; overflow: hidden; }
.story-art { position: relative; aspect-ratio: 4 / 3; border-radius: 30px; background: var(--grad-hero); overflow: hidden; }
.story-path { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(17, 18, 22, .25); }
.story-kite { position: absolute; width: 42%; left: 30%; top: 22%; filter: drop-shadow(0 26px 24px rgba(120, 90, 200, .28)); animation: glide 7s ease-in-out infinite; }
@keyframes glide { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(14px, -18px) rotate(3deg); } }
.story-year { position: absolute; left: 22px; bottom: 16px; font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; color: rgba(17, 18, 22, .1); line-height: 1; }
.story-text { display: grid; gap: 14px; align-content: start; }
.story-text h2 { font-size: clamp(30px, 4.4vw, 50px); }
.story-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.8; max-width: 36em; }
.story-slogan { font-size: clamp(20px, 2.4vw, 26px) !important; font-weight: 800; color: var(--ink) !important; letter-spacing: var(--track); margin-top: 4px; }
.story-slogan em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.story-facts div { background: var(--bg); border-radius: 18px; padding: 14px 16px; display: grid; gap: 4px; }
.story-facts b { font-size: 15.5px; }
.story-facts span { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 1040px) { .story { grid-template-columns: minmax(0, 1fr); } .story-art { aspect-ratio: 16 / 9; } }
@media (max-width: 680px) { .story { border-radius: 28px; } .story-facts { grid-template-columns: minmax(0, 1fr); } .story-art { aspect-ratio: 4 / 3; } }
.story-text .chip { justify-self: start; }

/* 微信二维码 */
.wx { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.wx img { width: 128px; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair), 0 12px 24px -16px rgba(17, 18, 22, .5); background: #fff; }
.wx-text { display: grid; gap: 6px; justify-items: start; }
.wx-text b { font-size: 17px; }
.wx-text p { font-size: 13.5px !important; color: var(--muted) !important; margin: 0 !important; line-height: 1.6; }
.wx-text .btn { margin-top: 4px; white-space: nowrap; }
@media (max-width: 680px) { .wx { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .wx img { width: 112px; } }

/* 合作伙伴密码框 */
.pw { position: relative; width: 100%; max-width: 320px; }
.pw input { width: 100%; font: inherit; font-size: 17px; padding: 14px 52px 14px 18px; border: 0; border-radius: 16px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); outline: none; transition: box-shadow .25s; letter-spacing: .02em; }
.pw input:focus { box-shadow: inset 0 0 0 2px var(--kid); }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 12px; background: transparent; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--ink); background: rgba(var(--tint), .06); }
.pw-eye svg { width: 20px; height: 20px; }
.pw.bad { animation: shake .4s; }
.pw.bad input { box-shadow: inset 0 0 0 2px var(--coral); }
#unlockBtn { min-width: 160px; }

/* 造物机：骰子、俏皮话、儿歌和发明图纸 */
.m-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.m-dice { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.m-dice:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.m-dice .die { display: inline-block; transition: transform .4s var(--spring); }
.m-dice:hover .die { transform: rotate(-20deg) scale(1.15); }
.m-dice.rolling .die { animation: roll .45s linear infinite; }
@keyframes roll { to { transform: rotate(360deg); } }
.m-say .quip { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #FFD27A; }
.screen.s-game .fall { position: absolute; left: 50%; top: 36px; margin-left: -10px; font-size: 18px; line-height: 1; animation: drop 1.6s ease-in infinite; }
.screen.s-game .tiles { position: absolute; left: 8px; right: 8px; bottom: 10px; display: flex; gap: 5px; }
.screen.s-game .tiles i { flex: 1; min-width: 0; height: 32px; border-radius: 6px 6px 9px 9px; background: rgba(255, 255, 255, .85); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(17, 18, 22, .08); overflow: hidden; }
.screen.s-game .tiles i.ok { background: #CFF7E6; box-shadow: inset 0 0 0 1.5px #23A566; }
.screen.s-book .art.emo::before, .screen.s-book .art.emo::after { display: none; }
.screen.s-book .art .sky { position: absolute; right: 8px; top: 6px; font-size: 18px; line-height: 1; }
.screen.s-book .art .hero { position: absolute; left: 12px; bottom: 6px; font-size: 30px; line-height: 1; animation: wobble 2.2s ease-in-out infinite; }
@keyframes wobble { 50% { transform: translateY(-4px) rotate(-4deg); } }
.screen.s-song { background: linear-gradient(160deg, #FFE9F1, #EDE6FF); }
.screen.s-song .notes { flex: 1; position: relative; }
.screen.s-song .notes span { position: absolute; bottom: 4px; font-size: 18px; color: #8A5CFF; animation: note 2.4s ease-in-out infinite; }
.screen.s-song .notes span:nth-child(1) { left: 14px; }
.screen.s-song .notes span:nth-child(2) { left: 46px; animation-delay: .6s; color: #FF6646; }
.screen.s-song .notes span:nth-child(3) { left: 76px; animation-delay: 1.2s; color: #23A566; }
@keyframes note { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-40px) rotate(18deg); opacity: 0; } }
.screen.s-song .lyric { font-weight: 700; text-align: center; line-height: 1.5; }
.screen.s-song .play { align-self: center; border: 0; font: inherit; font-size: 10px; font-weight: 750; background: var(--block); color: #fff; border-radius: 99px; padding: 4px 11px; cursor: pointer; }
.screen.s-song .play:active { transform: scale(.94); }
.screen.s-inv { background-color: #1F3B8F; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 12px 12px; color: #fff; align-items: center; justify-content: center; text-align: center; }
.screen.s-inv .ttl { font-size: 9px; letter-spacing: .12em; opacity: .7; }
.screen.s-inv .big { font-size: 34px; line-height: 1.1; animation: wobble 2.2s ease-in-out infinite; }
.screen.s-inv .nm { font-weight: 800; font-size: 11px; }
.screen.s-inv .parts { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
.screen.s-inv .parts i { font-style: normal; font-size: 8.5px; border: 1px dashed rgba(255, 255, 255, .6); border-radius: 6px; padding: 1px 5px; }
.screen.s-inv .does { font-size: 9px; opacity: .85; line-height: 1.4; }
.screen.s-game .tiles i.w { font-size: 9px; letter-spacing: -.02em; }

/* ===== 夜间模式：拉一下灯绳就关灯 =====
   颜色都走变量：夜里换一套变量，个别写死的浅色块在下面单独改。
   手机屏幕、演示设备、二维码保持亮着，像夜里亮着的屏幕。 */
html.night {
  /* 和主站 wonderelian.com 的夜间一致：深青绿底、米白字、琥珀金点缀 */
  color-scheme: dark;
  --bg: #102A30; --surface: #17363D; --ink: #F0E8D9; --ink-2: #DED5C4; --muted: #BAC7C4; --faint: #8FA6A3;
  --hair: rgba(240, 232, 217, .1); --hair-2: rgba(240, 232, 217, .18); --soft-line: rgba(240, 232, 217, .1);
  --tint: 240, 232, 217; --block: #0B2227; --kid: #8FAEFF; --parent: #4FD1A5; --gold: #D7A85F;
  --kid-soft: #173B45; --parent-soft: #164036; --butter-soft: #35321F; --butter-ink: #F2CD86; --coral-soft: #382C24; --lilac-soft: #20354A; --lunch: #143238;
  --grad-text: linear-gradient(100deg, #F6D58E 0%, #E3B66B 38%, #F0E8D9 68%, #A9DCC6 100%);
  --grad: linear-gradient(100deg, #E3B66B 0%, #F2CD86 35%, #9FD8C2 70%, #4FA7A0 100%);
  --kid-ink: #B3C6FF; --par-ink: #7FE3BF; --coral-ink: #FFB49E; --lilac-ink: #CDBDFF; --amber-ink: #F2CD86;
  --grad-warm: linear-gradient(135deg, #3A3220 0%, #2F2A24 55%, #1E3439 100%);
  --grad-hero: linear-gradient(135deg, #1A4045 0%, #14363C 50%, #0E2B31 100%);
  --sh-1: 0 1px 2px rgba(3, 16, 19, .4), 0 12px 28px -18px rgba(3, 16, 19, .8);
  --sh-2: 0 2px 4px rgba(3, 16, 19, .4), 0 28px 56px -28px rgba(3, 16, 19, .9);
  --sh-3: 0 4px 8px rgba(3, 16, 19, .45), 0 44px 80px -36px rgba(3, 16, 19, .95);
}
html.night :where(.screen, .device .scr) {
  --ink: #111216; --ink-2: #2B2D35; --muted: #5F626D; --faint: #8D909B; --surface: #FFFFFF; --block: #12333A; --tint: 17, 18, 22;
  --hair: rgba(17, 18, 22, .08); --hair-2: rgba(17, 18, 22, .14); --kid: #4466FF; --parent: #0B8F63;
  --kid-soft: #E8EDFF; --parent-soft: #DFF5EB; --butter-soft: #FFF2D0; --coral-soft: #FFE7DF; --lilac-soft: #EFE9FF; --lunch: #EFEFEC;
  --kid-ink: #2643D0; --par-ink: #08714E; --coral-ink: #C23A1D;
  color: var(--ink);
}
html.night ::selection { background: rgba(215, 168, 95, .35); }
html.night .btn.white { background: rgba(255, 255, 255, .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
html.night .btn.white:hover { background: rgba(255, 255, 255, .15); }
html.night .nav .wrap { background: rgba(16, 42, 48, .78); box-shadow: inset 0 0 0 1px var(--hair), 0 14px 34px -22px rgba(3, 16, 19, .8); }
html.night .hero-main::before { background: radial-gradient(60% 50% at 82% 12%, rgba(215, 168, 95, .16), transparent 70%); }
html.night :is(.role, .hero-eyebrow, .hud div, .age .makes span, .loot div, .four div) { background: rgba(255, 255, 255, .07); }
html.night .tier:nth-child(1).lit { background: #35321F; } html.night .tier:nth-child(2).lit { background: #173B45; }
html.night .tier:nth-child(3).lit { background: #164036; } html.night .tier:nth-child(4).lit { background: #382C24; }
html.night .bonus .btn { background: #fff; color: #111216; }
html.night .book-card { background: rgba(23, 54, 61, .92); }
html.night .lock-card { background: rgba(23, 54, 61, .9); }
html.night .lock-wrap::before { background: radial-gradient(circle, rgba(215, 168, 95, .2) 0%, rgba(215, 168, 95, .06) 40%, transparent 68%); }
html.night .filters { background: rgba(16, 42, 48, .88); }
html.night .rate button { color: #2E4E54; }
html.night .rate button.on { color: #FFB83D; }
html.night .wx img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
@media (max-width: 1040px) { html.night .nav-links { background: rgba(14, 38, 44, .97); } }
/* 夜空：只在夜里出现的星星，慢慢闪 */
html.night body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.4px 1.4px at 47% 34%, rgba(255, 236, 190, .8), transparent), radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1.2px 1.2px at 78% 58%, rgba(242, 214, 160, .7), transparent), radial-gradient(1px 1px at 91% 26%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.3px 1.3px at 86% 86%, rgba(255, 255, 255, .6), transparent), radial-gradient(1px 1px at 6% 52%, rgba(255, 255, 255, .45), transparent);
  animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }
html.night .logo { filter: drop-shadow(0 0 6px rgba(255, 190, 90, .55)); }
html.night .orb i, html.night .cube i, html.night .capsule i, html.night .tri i, html.night .kite i { filter: saturate(1.15) brightness(1.05); }

/* 灯绳：挂在导航栏右下，往下拉一下就开关灯 */
.cord { position: absolute; right: 74px; top: 100%; width: 34px; height: 56px; margin-top: -4px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; z-index: 1; }
.cord .line { position: absolute; left: 50%; top: 0; width: 1.5px; height: var(--len, 24px); margin-left: -.75px; background: linear-gradient(var(--hair-2), var(--faint)); transition: height .55s var(--spring); }
.cord .bead { position: absolute; left: 50%; top: var(--len, 24px); width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; line-height: 1;
  background: radial-gradient(circle at 34% 28%, #FFF6D8, #FFC64A 55%, #F08A1C); box-shadow: 0 6px 14px -4px rgba(240, 138, 28, .7), inset 0 -2px 3px rgba(0, 0, 0, .15); transition: top .55s var(--spring), transform .3s var(--spring); }
html.night .cord .bead { background: radial-gradient(circle at 34% 28%, #FFF6DE, #E8C07A 55%, #B8862E); box-shadow: 0 0 18px 3px rgba(232, 192, 122, .6); }
.cord:hover .bead { transform: scale(1.12); }
.cord.pulling { cursor: grabbing; }
.cord.pulling .line, .cord.pulling .bead { transition: none; }
.cord:focus-visible { outline: none; } .cord:focus-visible .bead { outline: 2px solid var(--kid); outline-offset: 3px; }
.cord-tip { position: absolute; right: 54px; top: calc(100% + 58px); white-space: nowrap; font-size: 13px; font-weight: 650; padding: 7px 13px; border-radius: 12px; background: var(--block); color: #fff; box-shadow: var(--sh-2);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .4s var(--spring); }
.cord-tip.show { opacity: 1; transform: none; }
@media (max-width: 1040px) { .cord { right: 104px; } .cord-tip { right: 70px; } }
html.theme-fade, html.theme-fade * { transition: background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .6s ease !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.night .opt[aria-pressed="true"] { color: #111216; }

/* 首屏色块拼东西：每块错开一点出发，像一块一块搭上去 */
.shape { transition: transform .9s var(--ease), translate 1.1s var(--spring), scale 1.1s var(--spring), rotate 1.1s var(--spring), opacity .6s ease; cursor: pointer; pointer-events: auto; }
.shape:nth-child(2) { transition-delay: 0s, .08s, .08s, .08s, .08s; } .shape:nth-child(3) { transition-delay: 0s, .16s, .16s, .16s, .16s; }
.shape:nth-child(4) { transition-delay: 0s, .24s, .24s, .24s, .24s; } .shape:nth-child(5) { transition-delay: 0s, .32s, .32s, .32s, .32s; }
.shape:nth-child(6) { transition-delay: 0s, .4s, .4s, .4s, .4s; }
.shapes.formed .shape i { animation: none; transform: none; }
.shape:nth-child(7) { transition-delay: 0s, .48s, .48s, .48s, .48s; }
.shape:nth-child(7) i { animation-duration: 6.5s; animation-delay: -4s; }
.kite i svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 14px rgba(124, 77, 235, .3)) drop-shadow(0 4px 6px rgba(245, 131, 43, .25)); }
.tri i svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 16px 14px rgba(240, 150, 20, .45)); }
.shape:nth-child(6) i { animation-duration: 8s; animation-delay: -2s; }
/* 拼木鸢：logo 四片从四个方向飞进来，一片接一片 */
.kite-build { position: absolute; pointer-events: none; filter: drop-shadow(0 22px 26px rgba(124, 77, 235, .28)) drop-shadow(0 8px 12px rgba(245, 131, 43, .22)); }
.kite-build .kp { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; translate: var(--ex); scale: .3; rotate: -30deg; opacity: 0;
  transition: translate .9s var(--spring), scale .9s var(--spring), rotate .9s var(--spring), opacity .4s ease; }
.kite-build.on .kp { translate: 0 0; scale: 1; rotate: 0deg; opacity: 1; }
.kite-build.on .kp:nth-child(2) { transition-delay: .12s; } .kite-build.on .kp:nth-child(3) { transition-delay: .24s; } .kite-build.on .kp:nth-child(4) { transition-delay: .36s; }
.kite-build.on { animation: kite-sail 3.2s ease-in-out .9s infinite; }
@keyframes kite-sail { 50% { transform: translateY(-8px) rotate(-3deg); } }
.build-label { position: absolute; transform: translate(-50%, 8px); font-size: 13px; font-weight: 700; white-space: nowrap; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair), var(--sh-1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s, transform .5s var(--spring); pointer-events: none; }
.build-label.show { opacity: 1; transform: translate(-50%, 0); }
html.night .build-label { background: rgba(23, 54, 61, .88); }
@media (max-width: 640px) { .shape.kite { top: 13% !important; right: 56% !important; } }

/* 夜里：主按钮换成琥珀金，深色卡片用更深的青绿，链接用金色 */
html.night .btn:not(.white):not(.blue):not(.green) { background: linear-gradient(135deg, #E6BE7A, #C8923F); color: #0B2227; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 26px -14px rgba(200, 146, 63, .7); }
html.night .bonus .btn { background: #F0E8D9; color: #0B2227; }
html.night .hero-demo { background: #0B2227; }
html.night a:not(.btn):not(.brand) { color: #E3B66B; }
html.night .nav-links a { color: var(--ink-2); }
html.night .to-top { background: #0B2227; box-shadow: 0 14px 28px -12px rgba(3, 16, 19, .7), inset 0 0 0 1px rgba(215, 168, 95, .35); color: #E3B66B; }

/* 背景音：导航栏里的音符，展开选声音 */
.snd { position: relative; flex: none; }
.snd-btn { width: 38px; height: 34px; border: 0; border-radius: 999px; cursor: pointer; display: grid; place-items: center; position: relative; background: rgba(var(--tint), .06); color: var(--ink); transition: background .25s, transform .3s var(--spring); }
.snd-btn:hover { background: rgba(var(--tint), .1); transform: scale(1.05); }
.snd-btn svg { width: 17px; height: 17px; }
html.night .snd-btn, html.night .lang-btn { background: rgba(240, 232, 217, .08); }
.snd.on .snd-btn { color: #B8862E; } html.night .snd.on .snd-btn { color: #E3B66B; }
.snd-wave { position: absolute; right: 3px; top: 5px; display: flex; gap: 1.5px; align-items: flex-end; height: 9px; opacity: 0; transition: opacity .3s; }
.snd-wave i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; }
.snd.on .snd-wave { opacity: 1; } .snd.on .snd-wave i { animation: eq .9s ease-in-out infinite alternate; }
.snd.on .snd-wave i:nth-child(2) { animation-delay: .3s; } .snd.on .snd-wave i:nth-child(3) { animation-delay: .6s; }
@keyframes eq { to { height: 9px; } }
.snd-panel { position: absolute; right: -40px; top: calc(100% + 14px); width: 244px; padding: 16px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair), var(--sh-3); display: grid; gap: 12px; z-index: 60; }
.snd-ttl { font-size: 13px; color: var(--muted); font-weight: 650; }
.snd-list { display: flex; flex-wrap: wrap; gap: 6px; }
.snd-list button { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(var(--tint), .06); color: var(--ink-2); }
html.night .snd-list button { background: rgba(240, 232, 217, .08); }
.snd-list button[aria-pressed="true"] { background: var(--block); color: #fff; }
html.night .snd-list button[aria-pressed="true"] { background: #D7A85F; color: #0B2227; }
.snd-play { font: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 14px; border-radius: 12px; border: 0; cursor: pointer; background: var(--kid-soft); color: var(--kid-ink); }
.snd-yixiu { font-size: 13px; }
@media (max-width: 1040px) { .snd { margin-left: auto; } .snd + .lang-btn { margin-left: 0; } .snd-panel { right: -90px; } }

/* 夜里：设备外框、悬停色、锁的图标也换成青绿和金色，不留深灰黑 */
html.night .phone { background: #06181C; box-shadow: 0 30px 40px -20px rgba(3, 16, 19, .9), inset 0 0 0 1px rgba(215, 168, 95, .28); }
html.night .device { background: #06181C; box-shadow: var(--sh-3), inset 0 0 0 1px rgba(215, 168, 95, .28); }
html.night .to-top:hover { background: #12333A; }
html.night .lock-card .shackle { stroke: #D7A85F; }
html.night .lock-card circle[fill="#111216"] { fill: #0B2227; }

/* 夜里整体配色：卡片描一圈很淡的金边；装饰光晕换成金色和青绿；没点亮的徽章是青绿色的珠子 */
html.night .card { border-color: rgba(215, 168, 95, .13); }
html.night :is(.soft-k, .soft-p, .soft-b, .soft-c, .soft-l) { box-shadow: inset 0 0 0 1px rgba(240, 232, 217, .06); }
html.night .hero-demo::before { background: radial-gradient(circle, rgba(79, 167, 160, .42), rgba(79, 167, 160, .12) 45%, transparent 70%); }
html.night .hero-demo::after { background: radial-gradient(circle, rgba(215, 168, 95, .32), transparent 68%); }
html.night .medal { background: radial-gradient(circle at 32% 26%, #2E5A60 0%, #1C4248 55%, #12333A 100%); color: #CFE3DC; box-shadow: inset -6px -9px 16px rgba(0, 0, 0, .25), inset 5px 6px 12px rgba(240, 232, 217, .08), 0 14px 22px -14px rgba(3, 16, 19, .9); }
html.night .medal::after { box-shadow: inset 0 0 0 1.5px rgba(215, 168, 95, .3); }
html.night .badge.lit .medal { color: var(--tc, #fff); }
html.night .m-say b { background: linear-gradient(transparent 62%, rgba(215, 168, 95, .5) 62%); }
html.night .m-steps span.on, html.night .live { background: #E3B66B; color: #0B2227; }
html.night .btn.blue { background: linear-gradient(135deg, #3E8F8A, #23646A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 26px -14px rgba(35, 100, 106, .8); }
html.night .chip::before { background: #D7A85F; }
html.night body::before { opacity: .75; }
html.night .radar-hero h1 .mark { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
