/* 闪耀之声 H5 第二版 · 亮色品牌风：白底 + 荧光黄绿 + 靛蓝，粗黑描边、硬投影，像贴纸一样；内页一屏一屏左右翻 */
@font-face { font-family: 'SYH'; src: url('font/syh.woff2?v=20261024v2c') format('woff2'); font-weight: 900; font-display: swap; }
:root {
  --lime: #dbf901; --indigo: #26249f; --ink: #141414; --paper: #f7f8f2;
  --cyan: #2fd3f2; --orange: #ffb21f; --pink: #ff8fbd;
  --fh: 'SYH', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --w: 480px; --vh: 1vh;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior-x: none; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.lock, body.on-station { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
em { font-style: normal; }

.shell {
  width: 100%; max-width: var(--w); min-height: 100vh; margin: 0 auto; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 38% at 0 0, rgba(219, 249, 1, .28), transparent 70%), radial-gradient(ellipse 80% 40% at 100% 100%, rgba(47, 211, 242, .2), transparent 70%), var(--paper);
}
.dotbg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; background-image: radial-gradient(rgba(20, 20, 20, .08) 1.1px, transparent 1.4px); background-size: 18px 18px; }

/* 按下去：硬投影收回，像按了一下实体按钮 */
.ov, .pc-block, .pill, .eng, .dirs button, .stairs button, .stage-tabs button, .mod-tabs button, .dyw-tabs button, .rules button, .cats button, .gal-tabs button,
.specials button, .eq-path button, .patterns button, .seasons3 button, .vote button, .kits button, .lad-row button, .topics button, .flow button,
.jc-tabs button, .dims button, .nav-next, .nav-prev, .rk-play, .round-btn, .map-pill { transition: -webkit-transform .15s, transform .15s, box-shadow .15s, background .25s, color .25s; }
.ov:active, .pc-block:active, .pill:active, .dirs button:active, .stage-tabs button:active, .mod-tabs button:active, .dyw-tabs button:active, .rules button:active,
.gal-tabs button:active, .eq-path button:active, .patterns button:active, .seasons3 button:active, .vote button:active, .kits button:active, .lad-row button:active,
.jc-tabs button:active, .nav-next:active, .nav-prev:active, .rk-play:active, .round-btn:active, .map-pill:active { -webkit-transform: translate(2px, 2px); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- 顶栏 ---------- */
.top {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 15; height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  transition: background .25s, box-shadow .25s;
}
.top.solid { background: rgba(247, 248, 242, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 2px 0 var(--ink); }
.brand img { width: 92px; height: auto; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.round-btn {
  position: relative; width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #fff; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.round-btn svg { position: relative; width: 17px; height: 17px; color: var(--ink); }
.menu-toggle { flex-direction: column; gap: 3.5px; }
.menu-toggle i { width: 15px; height: 2px; background: var(--ink); border-radius: 1px; }
/* 随时回课程目录（首页）：每个入口顶栏都有，靛蓝底大一点，一眼能找到 */
.map-pill { display: none; align-items: center; gap: 5px; height: 36px; padding: 0 13px 0 10px; border-radius: 18px; font-size: 15px; font-weight: 900; color: #fff; letter-spacing: 1px;
  background: var(--indigo); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.map-pill svg { width: 16px; height: 16px; color: var(--lime); }
.map-pill svg rect { fill: currentColor; }
body.on-station .map-pill { display: inline-flex; }

/* 背景音乐：唱片按钮，播放时转 */
.bgm-btn .vinyl { position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px; border-radius: 50%; background: radial-gradient(circle, var(--lime) 0 20%, var(--ink) 21% 25%, transparent 26%), repeating-radial-gradient(circle, #222 0 1.5px, #3a3a3a 1.5px 3px); opacity: 0; transition: opacity .3s; }
.bgm-btn svg { width: 15px; height: 15px; transition: opacity .3s; }
.bgm-btn .slash { position: absolute; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); box-shadow: 0 0 0 1.5px #fff; }
.bgm-btn.playing .vinyl { opacity: 1; -webkit-animation: spin 4s linear infinite; animation: spin 4s linear infinite; }
.bgm-btn.playing svg { opacity: 0; }
.bgm-btn.playing .slash { display: none; }
.bgm-tip {
  position: absolute; top: 58px; right: 96px; z-index: 16; font-size: 13px; font-weight: 800; white-space: nowrap; padding: 7px 12px; border-radius: 14px;
  background: var(--ink); color: var(--lime);
  opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); transition: opacity .3s, -webkit-transform .3s; transition: opacity .3s, transform .3s; pointer-events: none;
}
.bgm-tip:before { content: ''; position: absolute; right: 12px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.bgm-tip.show { opacity: 1; -webkit-transform: none; transform: none; }

main { position: relative; z-index: 1; padding: 0 18px 22px; min-height: calc(100vh - 64px); }
body.on-station main { padding: 0; min-height: 0; }
.page-enter { -webkit-animation: page-in .45s ease-out both; animation: page-in .45s ease-out both; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: 1.2px; font-weight: 900; color: var(--indigo); }
.eyebrow:before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: var(--lime); border: 2px solid var(--ink); flex-shrink: 0; }

/* ---------- 首页：课程目录（照课程系统首页排，不放海报） ---------- */
.home2 { padding: 2px 0 calc(16px + env(safe-area-inset-bottom)); }
.home2 > a, .tile, .pill { -webkit-animation: card-in .5s both; animation: card-in .5s both; }
.mark { position: absolute; z-index: 2; right: 7px; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.mark svg { width: 13px; height: 13px; }
.next-badge { position: absolute; z-index: 2; left: 10px; top: -12px; font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 10px; background: var(--ink); color: var(--lime); white-space: nowrap; -webkit-animation: nudge 1.4s ease-in-out infinite; animation: nudge 1.4s ease-in-out infinite; }
/* 体系总览：细细一条，不是海报 */
.ov { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 10px 8px 12px; border-radius: 18px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.ov-ic { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.ov-txt { flex: 1; min-width: 0; }
.ov-txt b { display: block; font-family: var(--fh); font-weight: 900; font-size: 18px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-txt small { display: block; font-size: 12.5px; font-weight: 700; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov .arr { font-style: normal; font-size: 28px; font-weight: 900; line-height: 1; flex-shrink: 0; padding-right: 2px; }
.ov .mark { top: -9px; right: -7px; }
/* 口才评测：系统里在底部按钮第一个，这里提到最前面，通栏 */
.pc-block { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px 12px 12px; border-radius: 22px; background: var(--lime); border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.pc-ic { width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px; background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pc-ic img { width: 50px; height: 50px; }
.pc-txt { flex: 1; min-width: 0; }
.pc-txt em { display: inline-block; font-size: 12px; font-weight: 900; color: #fff; background: var(--indigo); padding: 0 9px; border-radius: 9px; line-height: 1.7; }
.pc-txt b { display: block; font-family: var(--fh); font-weight: 900; font-size: 28px; line-height: 1.2; margin-top: 2px; letter-spacing: 1px; }
.pc-txt small { display: block; font-size: 14px; font-weight: 800; color: #333; }
.pc-block .arr { font-style: normal; font-size: 34px; font-weight: 900; line-height: 1; flex-shrink: 0; }
.pc-block .mark { top: -9px; right: -7px; }
.sec-t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 22px 2px 12px; }
.sec-t b { font-family: var(--fh); font-weight: 900; font-size: 21px; line-height: 1.2; }
.sec-t span { font-size: 12.5px; font-weight: 700; color: #666; }
/* 课程瓷片：两列，图本身带描边和圆角 */
.tiles { display: flex; gap: 10px; }
.tcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tile { position: relative; display: block; transition: -webkit-transform .15s; transition: transform .15s; }
.tile img { width: 100%; height: auto; -webkit-filter: drop-shadow(3px 3px 0 var(--ink)); filter: drop-shadow(3px 3px 0 var(--ink)); }
.tile:active { -webkit-transform: scale(.97); transform: scale(.97); }
.tile.is-next img { -webkit-animation: glow-img 1.6s ease-in-out .5s infinite; animation: glow-img 1.6s ease-in-out .5s infinite; }
/* 工具和服务：系统底下那条深色按钮栏 */
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-radius: 24px; background: #4b4e60; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.pill { position: relative; display: block; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
.pill img { width: 100%; height: auto; border-radius: 999px; }
.pill:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
.pill .mark { top: -7px; right: -5px; }
.pill .next-badge { top: -12px; left: 8px; }
.ov.is-next, .pc-block.is-next, .pill.is-next { -webkit-animation: card-in .5s both, glow 1.6s ease-in-out .5s infinite; animation: card-in .5s both, glow 1.6s ease-in-out .5s infinite; }
.home-end { margin-top: 24px; text-align: center; }
.home-end p { font-size: 14px; font-weight: 800; color: #444; }
.home-end p b { font-family: var(--fh); font-size: 18px; color: var(--indigo); }
.faq-link { display: inline-block; margin-top: 14px; padding: 4px 6px; font-size: 14.5px; font-weight: 900; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: 11.5px; text-align: center; color: #777; margin: 16px 0 0; }

/* ---------- 每一站：一屏一屏左右翻 ---------- */
.station { --c: #dbf901; --t: #141414; height: calc(var(--vh) * 100 - 64px); display: flex; flex-direction: column; }
.st-top { display: flex; align-items: center; gap: 10px; padding: 0 18px 6px; flex-shrink: 0; }
.st-name { font-size: 13.5px; font-weight: 900; padding: 2px 10px; border-radius: 12px; background: var(--c); color: var(--t); border: 2px solid var(--ink); flex-shrink: 0; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-steps { flex: 1; display: flex; gap: 3px; }
.st-steps i { flex: 1; height: 5px; border-radius: 3px; background: rgba(20, 20, 20, .12); }
.st-steps i.seen { background: rgba(38, 36, 159, .38); }
.st-steps i.cur { background: var(--ink); }
.st-count { font-size: 13px; font-weight: 800; color: #555; flex-shrink: 0; font-variant-numeric: tabular-nums; }

.scenes { flex: 1; min-height: 0; overflow: hidden; position: relative; touch-action: pan-y; }
.track { display: flex; height: 100%; transition: -webkit-transform .55s cubic-bezier(.2, .8, .2, 1); transition: transform .55s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.track.dragging { transition: none; }
.scene { flex: 0 0 100%; width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 6px 18px 14px; display: flex; flex-direction: column; }
.scene > * + * { margin-top: 16px; }
.scene > * { flex-shrink: 0; }
/* 内容少的屏上下居中；内容多时照常从上往下（不会被裁掉） */
.scene > :first-child { margin-top: auto; }
.scene > :last-child { margin-bottom: auto; }
.scene::-webkit-scrollbar { display: none; }

/* 进场动画：一屏翻到眼前时，元素依次浮上来 */
.ani { opacity: 0; -webkit-transform: translateY(18px); transform: translateY(18px); transition: opacity .6s, -webkit-transform .7s cubic-bezier(.2, .8, .2, 1); transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.scene.on .ani { opacity: 1; -webkit-transform: none; transform: none; transition-delay: calc(var(--d, 0) * 90ms + 120ms); }

.sc-head h2 { font-family: var(--fh); font-weight: 900; font-size: 30px; line-height: 1.24; margin-top: 6px; letter-spacing: .5px; }
.sc-head h2 em { background: linear-gradient(transparent 56%, var(--lime) 56%, var(--lime) 94%, transparent 94%); padding: 0 2px; }
.sc-head p { font-size: 16px; line-height: 1.6; color: #333; font-weight: 600; margin-top: 8px; }
.sc-head.center { text-align: center; }

/* 通用：带粗边的画面框 */
.screen { position: relative; flex-shrink: 0; border-radius: 18px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.screen:before { content: ''; display: block; padding-top: 56.25%; }
.screen.r32:before { padding-top: 62%; }
.screen.r16:before { padding-top: 60%; }
.screen img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.screen.img-top img { object-position: 50% 0; }
#eqShot img { opacity: 0; transition: opacity .45s; }
#eqShot img.on { opacity: 1; }
.corner-tag { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: rgba(20, 20, 20, .74); color: #fff; }
.live { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 12px; font-weight: 900; padding: 2px 9px 2px 20px; border-radius: 10px; background: var(--lime); border: 1.5px solid var(--ink); }
.live:before { content: ''; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #ef3b3b; -webkit-animation: blink 1.2s infinite; animation: blink 1.2s infinite; }
.mini-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.mini-tags span { font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); }
.mini-tags span:before { content: '✓ '; color: var(--indigo); font-weight: 900; }
.note { font-size: 13px; color: #666; text-align: center; font-weight: 600; }

/* ---------- 通用：点了以后出来的那句话（亮底大字） ---------- */
.say { position: relative; min-height: 60px; padding: 10px 16px 12px; border-radius: 18px; font-size: 18px; font-weight: 800; line-height: 1.5; color: var(--ink); background: var(--lime); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.say small { display: table; font-size: 12.5px; font-weight: 900; color: #fff; background: var(--indigo); padding: 0 9px; border-radius: 9px; margin-bottom: 4px; letter-spacing: .5px; line-height: 1.7; }
.pop { -webkit-animation: say-pop .4s cubic-bezier(.2, .8, .2, 1.2); animation: say-pop .4s cubic-bezier(.2, .8, .2, 1.2); }
.tap-hint { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 14px; background: var(--ink); color: var(--lime); -webkit-animation: nudge 1.4s ease-in-out infinite; animation: nudge 1.4s ease-in-out infinite; pointer-events: none; white-space: nowrap; }
.tap-hint svg { width: 15px; height: 15px; }
.touched .tap-hint { display: none; }
/* 音乐跳动条：正在放的那一行才动 */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; flex-shrink: 0; }
.eq i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; }
.playing .eq i { -webkit-animation: eq .7s ease-in-out infinite alternate; animation: eq .7s ease-in-out infinite alternate; }
.eq i:nth-child(2) { -webkit-animation-delay: -.25s !important; animation-delay: -.25s !important; }
.eq i:nth-child(3) { -webkit-animation-delay: -.5s !important; animation-delay: -.5s !important; }
.eq i:nth-child(4) { -webkit-animation-delay: -.15s !important; animation-delay: -.15s !important; }

/* ---------- 01 双擎 ---------- */
.engines { display: flex; align-items: center; }
.eng { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 16px 6px 14px; border-radius: 22px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.eng.e0 { background: var(--lime); }
.eng.e1 { background: var(--indigo); color: #fff; }
.eng img { height: 76px; width: auto; }
.eng.e1 img { height: 50px; margin: 13px 0; }
.eng b { font-family: var(--fh); font-weight: 900; font-size: 26px; line-height: 1.2; margin-top: 8px; }
.eng small { font-size: 14px; font-weight: 800; opacity: .92; }
.eng:not(.on) { opacity: .62; }
.eng.on { -webkit-transform: translateY(-5px) rotate(-2deg); transform: translateY(-5px) rotate(-2deg); box-shadow: 6px 8px 0 var(--ink); }
.eng.e1.on { -webkit-transform: translateY(-5px) rotate(2deg); transform: translateY(-5px) rotate(2deg); }
.eng-plus { position: relative; z-index: 2; flex-shrink: 0; width: 42px; height: 42px; margin: 0 -14px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 900; font-size: 28px; line-height: 1; }
.dirs { display: grid; gap: 8px; }
.dirs button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 18px; font-weight: 800; text-align: left; line-height: 1.35; }
.dirs b { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: 14px; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); }
.dirs button.on { -webkit-transform: translateX(6px); transform: translateX(6px); }
.dirs.perf button.on { background: var(--lime); }
.dirs.think button.on { background: var(--indigo); color: #fff; }
.dirs.think button.on b { background: var(--lime); }

/* ---------- 02 成长路线 ---------- */
.stairs { display: flex; align-items: flex-end; gap: 5px; height: 196px; padding: 40px 2px 0; flex-shrink: 0; }
/* 最矮一级至少 56px，放得下段名和年龄；其余六级在 56px 和顶之间均分 */
.stairs button { position: relative; flex: 1; min-width: 0; height: var(--h); height: calc(56px + (100% - 56px) * var(--k)); border-radius: 12px 12px 6px 6px; background: var(--c); color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.stairs span { display: flex; flex-direction: column; align-items: center; }
.stairs b { font-family: var(--fh); font-weight: 900; font-size: 19px; line-height: 1; text-shadow: 1px 1px 0 rgba(20, 20, 20, .35); }
.stairs small { font-size: 10.5px; font-weight: 800; margin-top: 4px; white-space: nowrap; letter-spacing: -.3px; }
.stairs button:not(.on) { -webkit-filter: saturate(.75); filter: saturate(.75); }
.stairs button.on { -webkit-transform: translateY(-8px); transform: translateY(-8px); box-shadow: 3px 6px 0 var(--ink); }
.stairs button.on:before { content: ''; position: absolute; left: 50%; top: -42px; width: 40px; height: 38px; margin-left: -20px; background: url('img/hero_xb.webp') center / contain no-repeat; -webkit-animation: hop2 .9s ease-in-out infinite; animation: hop2 .9s ease-in-out infinite; }
.lad-card { background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.lc-top { display: flex; align-items: baseline; gap: 10px; padding: 7px 14px; background: var(--c); color: #fff; border-bottom: 2.5px solid var(--ink); }
.lc-top b { font-family: var(--fh); font-weight: 900; font-size: 24px; line-height: 1.3; }
.lc-top span { font-size: 14px; font-weight: 800; }
.lc-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.lc-row + .lc-row { border-top: 2px dashed rgba(20, 20, 20, .16); }
.lc-row img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.lc-row div { flex: 1; min-width: 0; }
.lc-row small { display: block; font-size: 12px; font-weight: 900; color: var(--indigo); }
.lc-row b { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; }
.lc-row em { flex-shrink: 0; font-family: var(--fh); font-weight: 900; font-size: 28px; line-height: 1; text-align: center; }
.lc-row em i { display: block; font-style: normal; font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 11px; font-weight: 800; margin-top: 2px; }
.stage-tabs, .mod-tabs, .dyw-tabs { display: flex; gap: 8px; }
.stage-tabs button, .mod-tabs button, .dyw-tabs button { flex: 1; min-width: 0; padding: 7px 2px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.stage-tabs b { display: block; font-family: var(--fh); font-weight: 900; font-size: 20px; line-height: 1.3; }
.stage-tabs small { display: block; font-size: 12px; font-weight: 800; color: #555; }
.stage-tabs button.on, .dyw-tabs button.on { background: var(--indigo); color: #fff; }
.stage-tabs button.on small { color: var(--lime); }
.stage-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-col { border-radius: 18px; border: 2px solid var(--ink); padding: 9px 11px 10px; }
.sg-col.perf { background: var(--lime); }
.sg-col.think { background: var(--indigo); color: #fff; }
.sg-col h4 { display: flex; align-items: center; gap: 6px; font-family: var(--fh); font-weight: 900; font-size: 18px; margin: 0 0 4px; }
.sg-col h4 img { height: 26px; width: auto; }
.sg-col h4 img.ox { height: 18px; }
.sg-col ul { margin: 0; padding: 0; list-style: none; }
.sg-col li { font-size: 14.5px; font-weight: 700; line-height: 1.45; padding: 5px 0; border-top: 1.5px solid rgba(20, 20, 20, .16); }
.sg-col.think li { border-color: rgba(255, 255, 255, .26); }
.sg-col li small { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.45; opacity: .78; }
.sg-feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sg-feat span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--ink); }
.sg-feat svg { width: 13px; height: 13px; color: var(--indigo); }
.lad-row { display: flex; gap: 10px; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 4px 18px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex-shrink: 0; }
.lad-row::-webkit-scrollbar { display: none; }
.lad-row button { flex: 0 0 auto; width: 116px; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--c); }
.lad-row img { width: 100%; height: 300px; object-fit: cover; object-position: 50% 0; }
.lad-row span { display: block; padding: 5px 0; font-size: 13px; font-weight: 900; color: #fff; text-align: center; border-top: 2px solid var(--ink); }

/* ---------- 03 动画冒险 ---------- */
.bignum { display: flex; align-items: flex-end; gap: 10px; }
.bignum b { font-family: var(--fh); font-weight: 900; font-size: 96px; line-height: .86; color: var(--indigo); text-shadow: 4px 4px 0 var(--lime); letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.bignum span { font-family: var(--fh); font-weight: 900; font-size: 24px; line-height: 1.2; }
.bignum small { display: block; font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 14px; font-weight: 800; color: #555; }
.bignum.sm b { font-size: 66px; }
.marquee { overflow: hidden; margin-left: -18px; margin-right: -18px; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); background: #fff; flex-shrink: 0; }
.mq-track { display: flex; width: -webkit-max-content; width: max-content; -webkit-animation: mq 46s linear infinite; animation: mq 46s linear infinite; }
.marquee img { height: 132px; width: auto; max-width: none; }
.marquee.text { background: var(--indigo); }
.marquee.text .mq-track { -webkit-animation-duration: 36s; animation-duration: 36s; }
.marquee.text span { color: #fff; font-size: 15px; font-weight: 800; padding: 9px 0 9px 16px; white-space: nowrap; }
.marquee.text span:before { content: '★'; color: var(--lime); margin-right: 8px; }
.season-wrap { display: flex; gap: 16px; align-items: center; }
.sw-img { flex: 0 0 43%; border-radius: 16px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); -webkit-transform: rotate(-3deg); transform: rotate(-3deg); background: #fff; }
.sw-img img { width: 100%; height: auto; }
.sw-txt { flex: 1; min-width: 0; }
.sw-name { font-family: var(--fh); font-weight: 900; font-size: 22px; margin-top: 6px; }
.sw-facts { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.sw-facts span { font-size: 14px; font-weight: 800; padding: 3px 11px; border-radius: 14px; background: var(--lime); border: 2px solid var(--ink); }
.sw-facts b { font-family: var(--fh); font-size: 17px; }
.mod-tabs button { font-family: var(--fh); font-weight: 900; font-size: 18px; padding: 8px 2px; }
.mod-tabs button.on { background: var(--cyan); }
.mod-card { border-radius: 20px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; overflow: hidden; }
.mc-img { position: relative; }
.mc-img:before { content: ''; display: block; padding-top: 64%; }
.mc-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.mc-txt { padding: 9px 14px 12px; border-top: 2.5px solid var(--ink); }
.mc-num { display: flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 800; }
.mc-num b { font-family: var(--fh); font-weight: 900; font-size: 32px; color: var(--indigo); line-height: 1.05; }
.mc-txt p + p { font-size: 15.5px; font-weight: 700; margin-top: 2px; line-height: 1.5; }

/* ---------- 04 星能召唤师 ---------- */
/* --dy：卡片落到读卡器正中要往下移多少 */
.swipe { --dy: 124px; position: relative; height: 282px; flex-shrink: 0; }
.sw-reader { position: absolute; left: 50%; bottom: 0; width: 220px; margin-left: -110px; -webkit-filter: drop-shadow(4px 5px 0 rgba(20, 20, 20, .25)); filter: drop-shadow(4px 5px 0 rgba(20, 20, 20, .25)); transition: -webkit-filter .3s; transition: filter .3s; }
.sw-card { position: absolute; left: 50%; top: 0; z-index: 2; width: 118px; margin-left: -59px; -webkit-animation: bob 3s ease-in-out infinite; animation: bob 3s ease-in-out infinite; }
.sw-card img { width: 100%; -webkit-filter: drop-shadow(3px 4px 0 rgba(20, 20, 20, .3)); filter: drop-shadow(3px 4px 0 rgba(20, 20, 20, .3)); }
.swipe.go .sw-card { -webkit-animation: swipe-go 2.2s cubic-bezier(.3, .7, .3, 1) both; animation: swipe-go 2.2s cubic-bezier(.3, .7, .3, 1) both; }
.swipe.hit .sw-reader { -webkit-filter: drop-shadow(0 0 16px #2fd3f2) drop-shadow(0 0 4px #2fd3f2); filter: drop-shadow(0 0 16px #2fd3f2) drop-shadow(0 0 4px #2fd3f2); }
.ripple { position: absolute; z-index: 1; left: 50%; bottom: 46px; width: 90px; height: 90px; margin-left: -45px; border-radius: 50%; border: 4px solid var(--cyan); opacity: 0; pointer-events: none; }
.swipe.hit .ripple { -webkit-animation: ripple 1s ease-out both; animation: ripple 1s ease-out both; }
.swipe.hit .ripple.r2 { -webkit-animation-delay: .25s; animation-delay: .25s; }
.swipe .tap-hint { position: absolute; z-index: 3; right: 2px; top: 36px; }
.summon { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; flex-shrink: 0; }
.sm-logo { position: relative; z-index: 2; width: 60%; -webkit-transform: rotate(-4deg); transform: rotate(-4deg); }
.sm-pack { width: 36%; margin-left: -5%; -webkit-transform: rotate(8deg); transform: rotate(8deg); -webkit-animation: bob 5s ease-in-out infinite; animation: bob 5s ease-in-out infinite; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rules button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 16px; font-weight: 800; white-space: nowrap; }
.rules b { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; background: var(--ink); color: var(--lime); }
.rules button.on { background: var(--orange); }

/* ---------- 05 表演家 ---------- */
.search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 7px 0 16px; border-radius: 27px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); flex-shrink: 0; }
.search svg { width: 22px; height: 22px; flex-shrink: 0; }
.sq { font-size: 20px; font-weight: 900; }
.caret { width: 2.5px; height: 24px; margin-left: -6px; background: var(--indigo); -webkit-animation: blink 1s steps(1) infinite; animation: blink 1s steps(1) infinite; }
.s-go { margin-left: auto; padding: 7px 16px; border-radius: 20px; background: var(--indigo); color: #fff; font-weight: 900; font-size: 15px; }
.cats { display: flex; flex-wrap: wrap; gap: 7px; }
.cats button { padding: 5px 13px; border-radius: 16px; font-size: 15px; font-weight: 800; background: #fff; border: 2px solid var(--ink); }
.cats button.on { background: var(--lime); box-shadow: 2px 2px 0 var(--ink); }
.gal-img { position: relative; overflow: hidden; border-radius: 18px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.gal-img.r169 { padding-top: 56.25%; }
.gal-img.r43 { padding-top: 75%; }
.gal-img.r32 { padding-top: 66.67%; }
.gal-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s; }
.gal-img img.on { opacity: 1; }
.gal-tabs { display: flex; gap: 7px; margin-top: 14px; }
.gal-tabs button { flex: 1; min-width: 0; padding: 8px 2px; border-radius: 14px; font-size: 15px; font-weight: 800; white-space: nowrap; background: #fff; border: 2px solid var(--ink); }
.gal-tabs button.on { background: var(--lime); box-shadow: 2px 2px 0 var(--ink); }
.gal-cap { margin-top: 10px; text-align: center; font-size: 15px; font-weight: 600; color: #333; }
.gal-cap b { display: block; font-size: 19px; font-weight: 900; color: var(--ink); }
/* 节奏律动：字跟着鼓点亮 */
.rk { padding: 12px; border-radius: 22px; background: var(--indigo); color: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); flex-shrink: 0; }
.rk-count { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 800; }
.rk-count span { margin-right: 4px; opacity: .85; }
.rk-count i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255, 255, 255, .5); font-size: 12px; transition: background .1s, -webkit-transform .1s; transition: background .1s, transform .1s; }
.rk-count i.lit { background: var(--lime); color: var(--ink); border-color: var(--lime); -webkit-transform: scale(1.2); transform: scale(1.2); }
.rk-lines { display: grid; gap: 5px; margin: 10px 0 12px; }
.rk-line { display: flex; justify-content: center; gap: 3px; }
.rk-line i { font-style: normal; font-family: var(--fh); font-weight: 900; font-size: 26px; width: 37px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: rgba(255, 255, 255, .5); transition: color .12s, background .12s, -webkit-transform .12s; transition: color .12s, background .12s, transform .12s; }
.rk-line i.lit { color: var(--lime); }
.rk-line i.hit { background: var(--lime); color: var(--ink); -webkit-transform: scale(1.18) translateY(-2px); transform: scale(1.18) translateY(-2px); }
.rk-play { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 16px 6px 6px; border-radius: 30px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 17px; font-weight: 900; }
.ver-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; }
.ver-ic svg { width: 16px; height: 16px; }
.ver-ic .line { fill: currentColor; }
.ver-ic svg + svg, .playing .ver-ic svg:first-child { display: none; }
.playing .ver-ic svg + svg { display: block; }
.rk-play .eq { margin-left: auto; opacity: 0; transition: opacity .3s; }
.rk-play.playing .eq { opacity: 1; }
.rk:not(.touched) .ver-ic { -webkit-animation: ping 1.8s ease-out infinite; animation: ping 1.8s ease-out infinite; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.topics button { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.topics button:before { content: ''; display: block; padding-top: 56.25%; }
.topics img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.topics .lv { position: absolute; left: 4px; top: 4px; font-style: normal; font-size: 11px; font-weight: 900; line-height: 1.5; padding: 0 6px; border-radius: 8px; background: var(--lime); color: var(--ink); border: 1.5px solid var(--ink); }
.topics .lv.hi { background: var(--indigo); color: #fff; }
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 3px; }
.flow button, .flow span { font-size: 14px; font-weight: 800; padding: 5px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); white-space: nowrap; }
.flow button { box-shadow: 2px 2px 0 var(--ink); }
.flow i { font-style: normal; font-weight: 900; font-size: 17px; color: var(--indigo); }
.flow.sm span { font-size: 13px; padding: 3px 9px; background: var(--paper); }
.specials { display: grid; gap: 9px; }
.specials button { position: relative; display: block; width: 100%; border-radius: 14px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: #fff; }
.specials button:before { content: ''; display: block; padding-top: 18%; }
.specials img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 40%; }
.specials button:first-child img { object-position: 50% 28%; }
.specials b { position: absolute; left: 16px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); font-family: var(--fh); font-weight: 900; font-size: 28px; color: var(--lime); text-shadow: 2px 2px 0 var(--ink), -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink); }
.specials button.on { -webkit-transform: translateX(6px); transform: translateX(6px); box-shadow: 3px 3px 0 var(--ink), -6px 0 0 var(--indigo); }

/* ---------- 06 绘本 ---------- */
.book-hero { position: relative; flex-shrink: 0; border-radius: 18px; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.book-hero:before { content: ''; display: block; padding-top: 53.4%; }
.book-hero img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.eq-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.eq-path button { display: flex; align-items: center; gap: 5px; padding: 7px 6px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.eq-path b { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: var(--paper); border: 1.5px solid var(--ink); }
.eq-path button.done { background: #fde3ee; }
.eq-path button.on { background: var(--pink); box-shadow: 3px 3px 0 var(--ink); }
.eq-path button.on b { background: var(--ink); color: #fff; }
.obs { display: flex; align-items: center; justify-content: center; gap: 6px; }
.obs span { font-family: var(--fh); font-weight: 900; font-size: 18px; padding: 5px 12px; border-radius: 14px; background: var(--indigo); color: #fff; border: 2px solid var(--ink); }
.obs i { font-style: normal; font-weight: 900; font-size: 20px; }
.patterns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.patterns button { padding: 9px 4px; border-radius: 16px; font-family: var(--fh); font-weight: 900; font-size: 22px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.patterns button.on { background: var(--pink); }
.say .formula { display: block; font-family: var(--fh); font-weight: 900; font-size: 26px; letter-spacing: 1px; line-height: 1.4; }
.say .formula i { font-style: normal; color: var(--indigo); letter-spacing: -2px; }

/* ---------- 07 大语文 ---------- */
.dyw-tabs button { font-family: var(--fh); font-weight: 900; font-size: 18px; padding: 9px 2px; }
.dyw-card { border-radius: 20px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; overflow: hidden; padding-bottom: 12px; }
.dc-img { position: relative; border-bottom: 2.5px solid var(--ink); }
.dc-img:before { content: ''; display: block; padding-top: 44%; }
.dc-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.dyw-card .mc-num { padding: 8px 14px 0; }
.dc-d { padding: 2px 14px 0; font-size: 15.5px; font-weight: 700; line-height: 1.55; }
.seasons3 { display: grid; gap: 9px; }
.seasons3 button { display: block; width: 100%; text-align: left; padding: 10px 16px 11px; border-radius: 18px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.seasons3 small { font-size: 12.5px; font-weight: 900; color: var(--indigo); }
.seasons3 b { display: block; font-family: var(--fh); font-weight: 900; font-size: 22px; line-height: 1.3; }
.seasons3 span { display: block; font-size: 16px; font-weight: 800; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s, opacity .35s, margin .35s; }
.seasons3 button.on { background: var(--indigo); color: #fff; }
.seasons3 button.on small { color: var(--lime); }
.seasons3 button.on span { max-height: 50px; opacity: 1; margin-top: 2px; color: var(--lime); }
.vote { display: flex; gap: 10px; }
.vote button { flex: 1; padding: 10px 4px; border-radius: 18px; font-family: var(--fh); font-weight: 900; font-size: 20px; background: #fff; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.vote button[data-vote="0"].on { background: var(--orange); }
.vote button[data-vote="1"].on { background: var(--cyan); }

/* ---------- 08 教材与陪练 ---------- */
.app-wrap { display: flex; gap: 12px; align-items: center; }
.phones { width: 44%; flex-shrink: 0; border-radius: 16px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.app-list { flex: 1; min-width: 0; display: grid; gap: 8px; }
.app-list div { padding: 8px 11px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); }
.app-list div:first-child { background: var(--lime); }
.app-list b { display: block; font-family: var(--fh); font-weight: 900; font-size: 17px; line-height: 1.35; }
.app-list p { font-size: 13.5px; font-weight: 700; line-height: 1.45; color: #333; }
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kits button { padding: 8px 4px 7px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.kits img { width: 100%; height: 92px; object-fit: contain; }
.kits span { display: block; font-size: 13px; font-weight: 800; text-align: center; margin-top: 4px; white-space: nowrap; }
.cast img { width: 100%; }

/* ---------- 09 老板常问 ---------- */
.faq { display: grid; gap: 9px; }
.qa { border-radius: 18px; overflow: hidden; background: #fff; border: 2px solid var(--ink); transition: background .3s, box-shadow .3s; }
.qa > button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; text-align: left; font-size: 17px; font-weight: 800; line-height: 1.4; }
.q-mark { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; background: var(--indigo); color: var(--lime); }
.qa .arr { margin-left: auto; font-style: normal; font-size: 22px; line-height: 1; -webkit-transform: rotate(90deg); transform: rotate(90deg); transition: -webkit-transform .3s; transition: transform .3s; }
.qa.open .arr { -webkit-transform: rotate(-90deg); transform: rotate(-90deg); }
.qa .a { display: none; padding: 0 14px 13px 52px; }
.qa.open .a { display: block; -webkit-animation: module-in .3s ease-out; animation: module-in .3s ease-out; }
.qa .a p { font-size: 16px; line-height: 1.6; font-weight: 600; }
.qa.open { background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- 第二版：各入口新加的屏 ---------- */
/* 课件截图各自的画框比例（按截图原比例，不裁字） */
.screen.r-act:before { padding-top: 44.2%; }
.screen.r-warm:before { padding-top: 42.3%; }
.screen.r-qnk:before { padding-top: 27.9%; }
.screen.r-jz:before { padding-top: 41.9%; }
.screen.r-jj:before { padding-top: 42.7%; }
.screen.r-hd:before { padding-top: 46.6%; }
/* 五个环节挤一行 */
.flow.tight { gap: 4px 1px; }
.flow.tight span { padding-left: 6px; padding-right: 6px; }
.flow.tight i { font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13.5px; font-weight: 800; padding: 3px 10px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); white-space: nowrap; }
/* 口才评测 */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.dims button { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 4px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.dims b { flex-shrink: 0; font-family: var(--fh); font-size: 12px; color: var(--indigo); }
.dims button.on { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); }
.report { border-radius: 18px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); background: #fff; overflow: hidden; }
.rp-top { display: flex; align-items: baseline; gap: 8px; padding: 7px 14px; background: var(--indigo); color: #fff; }
.rp-top b { font-family: var(--fh); font-weight: 900; font-size: 20px; }
.rp-top span { font-size: 12.5px; font-weight: 800; color: var(--lime); }
.rp-row { display: flex; align-items: baseline; gap: 10px; padding: 7px 14px; border-bottom: 1.5px dashed rgba(20, 20, 20, .18); }
.rp-row small { flex-shrink: 0; width: 58px; font-size: 12.5px; font-weight: 900; color: var(--indigo); }
.rp-row p { font-size: 15px; font-weight: 800; line-height: 1.4; }
.rp-end { display: flex; align-items: center; gap: 10px; padding: 9px 14px; }
.rp-seg { font-family: var(--fh); font-weight: 900; font-size: 18px; padding: 1px 12px; border-radius: 12px; background: var(--lime); border: 2px solid var(--ink); }
.rp-say { font-size: 14px; font-weight: 700; color: #888; }
.rp-btns { display: flex; gap: 8px; padding: 0 14px 12px; }
.rp-btns span { flex: 1; text-align: center; font-size: 14px; font-weight: 900; padding: 5px 0; border-radius: 14px; border: 2px solid var(--ink); }
.rp-btns span + span { background: var(--ink); color: var(--lime); }
/* 幼儿版：48 节课程卡三排滚动 */
.wall { display: grid; gap: 6px; margin-left: -18px; margin-right: -18px; padding: 8px 0; background: var(--ink); flex-shrink: 0; overflow: hidden; }
.wall-row { overflow: hidden; }
.wall-row .mq-track { -webkit-animation-duration: 70s; animation-duration: 70s; }
.wall-row.rev .mq-track { -webkit-animation-direction: reverse; animation-direction: reverse; }
.wall-row img { height: 64px; width: auto; max-width: none; margin-right: 6px; border-radius: 8px; }
/* 季卡、思辨卡、段卡：点一张，下面换说明 */
.cards6, .cards5, .cards7 { display: grid; gap: 8px 7px; }
.cards6 { grid-template-columns: repeat(3, 1fr); }
.cards5 { grid-template-columns: repeat(6, 1fr); }
.cards5 button { grid-column: span 2; }
.cards5 button:nth-child(4) { grid-column: 2 / span 2; }
.cards7 { grid-template-columns: repeat(8, 1fr); }
.cards7 button { grid-column: span 2; }
.cards7 button:nth-child(5) { grid-column: 2 / span 2; }
.cards6 button, .cards5 button, .cards7 button { display: block; transition: -webkit-transform .2s; transition: transform .2s; }
.cards6 img, .cards5 img, .cards7 img { width: 100%; height: auto; transition: opacity .2s; }
.cards6 button:not(.on) img, .cards5 button:not(.on) img, .cards7 button:not(.on) img { opacity: .66; }
.cards6 button.on, .cards5 button.on, .cards7 button.on { -webkit-transform: translateY(-4px) scale(1.04); transform: translateY(-4px) scale(1.04); }
.cards6 button.on img, .cards5 button.on img, .cards7 button.on img { -webkit-filter: drop-shadow(3px 3px 0 var(--ink)); filter: drop-shadow(3px 3px 0 var(--ink)); }
.say.sbc { font-size: 16.5px; }
.say .eg { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; margin-top: 3px; color: #333; }
.say .look { display: inline-block; margin-top: 7px; font-size: 13.5px; font-weight: 900; padding: 3px 12px; border-radius: 14px; background: var(--ink); color: var(--lime); }
/* 活动课四节、星声代两个活动 */
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.acts span { display: block; padding: 6px 10px 7px; border-radius: 14px; background: #fff; border: 2px solid var(--ink); font-size: 14.5px; font-weight: 800; line-height: 1.4; }
.acts b { display: block; font-size: 12px; font-weight: 900; color: var(--indigo); }
.acts.two { grid-template-columns: 1fr; }
.acts.two b { display: inline; margin-right: 6px; font-size: 15px; }
/* 基础练习四类 */
.jc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.jc-tabs button { padding: 8px 0; border-radius: 14px; font-family: var(--fh); font-weight: 900; font-size: 15px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.jc-tabs button.on { background: var(--indigo); color: #fff; }
.jc-card { padding: 10px 12px 12px; border-radius: 18px; background: var(--lime); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.jc-sys { display: table; font-size: 12.5px; font-weight: 900; color: #fff; background: var(--indigo); padding: 0 9px; border-radius: 9px; line-height: 1.7; margin-bottom: 8px; }
.jc-card .chips { gap: 5px; }
.jc-card .chips span { font-size: 13px; padding: 2px 9px; }
.jc-more { font-size: 13.5px; font-weight: 700; line-height: 1.5; margin-top: 8px; color: #333; }
/* 才艺广场、教学管理、校区管理：系统按钮放大 */
.pill-big { width: 72%; max-width: 280px; margin-left: auto; margin-right: auto; border-radius: 999px; border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: #fff; overflow: hidden; }
.pill-big img { width: 100%; }

/* 底部：页码点 + 下一步 */
.st-nav { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 8px 18px calc(12px + env(safe-area-inset-bottom)); }
.dots { flex: 1; display: flex; gap: 6px; align-items: center; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(20, 20, 20, .18); transition: width .3s, background .3s; }
.dots i.on { width: 24px; background: var(--ink); }
.nav-prev { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; font-size: 24px; font-weight: 900; line-height: 1; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav-next { height: 46px; padding: 0 20px; border-radius: 23px; font-size: 16px; font-weight: 900; white-space: nowrap; background: var(--lime); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.nav-next small { font-size: 12px; font-weight: 700; margin-left: 4px; opacity: .75; }

/* ---------- 菜单 ---------- */
.menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 30; }
.menu[hidden] { display: none; }
.menu-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(20, 20, 20, .45); }
.menu-card {
  position: absolute; top: 70px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%);
  width: calc(100% - 30px); max-width: 440px; max-height: calc(100vh - 90px); overflow-y: auto;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 16px 18px 18px; box-shadow: 5px 5px 0 var(--ink);
  -webkit-animation: module-in .25s ease-out; animation: module-in .25s ease-out;
}
.menu-title { display: flex; align-items: center; justify-content: space-between; font-family: var(--fh); font-weight: 900; font-size: 20px; margin-bottom: 6px; }
.menu-title button { font-size: 20px; padding: 4px 6px; }
.menu nav a { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1.5px solid rgba(20, 20, 20, .1); font-size: 15px; font-weight: 700; border-radius: 10px; }
.menu nav a b { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--indigo); width: 20px; }
.menu nav a.here { background: var(--lime); }
.menu-g { font-size: 12px; font-weight: 900; color: #888; letter-spacing: 1px; margin: 12px 6px 2px; }
.menu nav a .ok { color: var(--indigo); font-size: 12px; font-weight: 800; margin-left: auto; }

/* ---------- 放大查看 ---------- */
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(20, 20, 20, .94); display: none; }
.lightbox.open { display: block; }
.lb-stage { position: absolute; top: 50%; left: 50%; width: calc(100vw - 24px); max-width: 560px; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.lb-stage img { width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox.rotate .lb-stage { width: calc(100vh - 70px); max-width: calc((100vw - 24px) * 16 / 9); -webkit-transform: translate(-50%, -50%) rotate(90deg); transform: translate(-50%, -50%) rotate(90deg); }
.lightbox.rotate .lb-stage img { max-height: none; }
.lightbox.tall .lb-stage { top: 0; left: 0; right: 0; bottom: 0; width: auto; max-width: none; -webkit-transform: none; transform: none; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 60px 12px 56px; }
.lightbox.tall .lb-stage img { max-width: 560px; max-height: none; margin: 0 auto; }
.lb-tip { position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: rgba(255, 255, 255, .8); pointer-events: none; }
.lightbox.tall .lb-tip { bottom: 0; padding: 10px 0 calc(12px + env(safe-area-inset-bottom)); background: rgba(20, 20, 20, .85); }
.lb-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 16px; font-weight: 900; border: 2px solid var(--ink); }
@media (orientation: landscape) { .lightbox.rotate .lb-stage { width: calc(100vw - 24px); max-width: calc((100vh - 60px) * 16 / 9); -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } }

/* ---------- 过场、提示 ---------- */
.warp { position: fixed; top: 0; left: 50%; width: 100%; max-width: var(--w); height: 100vh; pointer-events: none; z-index: 40; opacity: 0; -webkit-transform: translateX(-50%) scale(.4); transform: translateX(-50%) scale(.4); background: radial-gradient(circle at center, rgba(219, 249, 1, .75), rgba(219, 249, 1, 0) 42%); }
.warp.active { -webkit-animation: warp .5s ease-out; animation: warp .5s ease-out; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; -webkit-transform: translate(-50%, 20px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--lime); border-radius: 20px; padding: 10px 18px; font-size: 14px; font-weight: 800; white-space: nowrap; transition: opacity .25s, -webkit-transform .25s; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }

@-webkit-keyframes say-pop { from { opacity: .3; -webkit-transform: scale(.96) translateY(6px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes say-pop { from { opacity: .3; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes nudge { 50% { -webkit-transform: translateY(-3px); } }
@keyframes nudge { 50% { transform: translateY(-3px); } }
@-webkit-keyframes eq { from { height: 20%; } to { height: 100%; } }
@keyframes eq { from { height: 20%; } to { height: 100%; } }
@-webkit-keyframes page-in { from { opacity: .2; -webkit-transform: translateY(15px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes page-in { from { opacity: .2; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes module-in { from { opacity: 0; -webkit-transform: translateY(10px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes module-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes card-in { from { opacity: 0; -webkit-transform: translateY(16px) scale(.96); } to { opacity: 1; -webkit-transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@-webkit-keyframes hero-in { from { opacity: 0; -webkit-transform: translateY(40px) scale(.9); } to { opacity: 1; -webkit-transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
@-webkit-keyframes warp { 0% { opacity: 0; -webkit-transform: translateX(-50%) scale(.3); } 35% { opacity: .8; } 100% { opacity: 0; -webkit-transform: translateX(-50%) scale(2); } }
@keyframes warp { 0% { opacity: 0; transform: translateX(-50%) scale(.3); } 35% { opacity: .8; } 100% { opacity: 0; transform: translateX(-50%) scale(2); } }
@-webkit-keyframes shine { 0%, 70% { left: -100%; } 100% { left: 200%; } }
@keyframes shine { 0%, 70% { left: -100%; } 100% { left: 200%; } }
@-webkit-keyframes twinkle { 50% { opacity: .3; -webkit-transform: scale(.7) rotate(20deg); } }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7) rotate(20deg); } }
@-webkit-keyframes bob { 50% { -webkit-transform: translateY(-6px) rotate(3deg); } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(3deg); } }
@-webkit-keyframes hop2 { 50% { -webkit-transform: translateY(-5px); } }
@keyframes hop2 { 50% { transform: translateY(-5px); } }
@-webkit-keyframes glow { 50% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 6px rgba(38, 36, 159, .22); } }
@keyframes glow { 50% { box-shadow: 4px 4px 0 var(--ink), 0 0 0 6px rgba(38, 36, 159, .22); } }
@-webkit-keyframes glow-img { 50% { -webkit-filter: drop-shadow(3px 3px 0 #141414) drop-shadow(0 0 7px rgba(38, 36, 159, .75)); } }
@keyframes glow-img { 50% { filter: drop-shadow(3px 3px 0 #141414) drop-shadow(0 0 7px rgba(38, 36, 159, .75)); } }
@-webkit-keyframes blink { 50% { opacity: .15; } }
@keyframes blink { 50% { opacity: .15; } }
@-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@-webkit-keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20, 20, 20, .45); } 100% { box-shadow: 0 0 0 14px rgba(20, 20, 20, 0); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(20, 20, 20, .45); } 100% { box-shadow: 0 0 0 14px rgba(20, 20, 20, 0); } }
@-webkit-keyframes mq { to { -webkit-transform: translateX(-50%); } }
@keyframes mq { to { transform: translateX(-50%); } }
@-webkit-keyframes swipe-go { 0% { -webkit-transform: none; } 28%, 72% { -webkit-transform: translateY(var(--dy)) rotate(-8deg) scale(.86); } 100% { -webkit-transform: none; } }
@keyframes swipe-go { 0% { transform: none; } 28%, 72% { transform: translateY(var(--dy)) rotate(-8deg) scale(.86); } 100% { transform: none; } }
@-webkit-keyframes ripple { 0% { opacity: .9; -webkit-transform: scale(.4); } 100% { opacity: 0; -webkit-transform: scale(2.6); } }
@keyframes ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }

/* 电脑上看：中间一列手机宽，上下贴满屏幕，可用高度和手机一样，下面按屏高分档的规则照样对得上 */
@media (min-width: 560px) {
  :root { --w: 420px; }
  body { background: #e9ebdf; }
  .shell { border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); box-shadow: 8px 0 0 var(--ink); }
}
@media (min-height: 780px) {
  .sc-head h2 { font-size: 31px; }
  .scene > * + * { margin-top: 20px; }
  .stairs { height: 214px; }
  .swipe { --dy: 132px; height: 300px; }
  .sw-reader { width: 236px; margin-left: -118px; }
  .sw-card { width: 124px; margin-left: -62px; }
  .lad-row img { height: 340px; }
}
/* 矮屏（小手机、微信底栏占位）：缩小大图，保证一屏放得下 */
@media (max-height: 700px) {
  .sc-head h2 { font-size: 25px; }
  .sc-head p { font-size: 14.5px; margin-top: 4px; }
  .scene > * + * { margin-top: 12px; }
  .say { min-height: 52px; padding: 8px 14px 10px; font-size: 16.5px; }
  .eng img { height: 60px; }
  .eng.e1 img { height: 40px; margin: 10px 0; }
  .eng b { font-size: 23px; }
  .dirs button { padding: 7px 12px; font-size: 17px; }
  .stairs { height: 168px; padding-top: 38px; }
  .lc-row { padding: 6px 14px; }
  .lc-row b { font-size: 16px; }
  .sg-col li { font-size: 14px; padding: 4px 0; }
  .lad-row img { height: 250px; }
  .bignum b { font-size: 78px; }
  .bignum.sm b { font-size: 56px; }
  .marquee img { height: 108px; }
  .mc-img:before { padding-top: 56%; }
  .swipe { --dy: 101px; height: 232px; }
  .sw-reader { width: 190px; margin-left: -95px; }
  .sw-card { width: 96px; margin-left: -48px; }
  .summon { height: 120px; }
  .rk-line i { font-size: 23px; height: 34px; width: 34px; }
  .rk-lines { margin: 8px 0 10px; }
  .specials button:before { padding-top: 19%; }
  .patterns button { padding: 7px 4px; font-size: 20px; }
  .say .formula { font-size: 23px; }
  .seasons3 button { padding: 8px 14px 9px; }
  .seasons3 b { font-size: 20px; }
  .kits img { height: 74px; }
  .qa > button { padding: 9px 12px; font-size: 16px; }
  .qa .a { padding: 0 12px 11px 50px; }
  .qa .a p { font-size: 15px; }
  .cards6 { padding: 0 7%; }
  .cards5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .cards5 button, .cards5 button:nth-child(4) { grid-column: auto; }
  .rp-row { padding: 5px 14px; }
  .rp-end { padding: 7px 14px; }
  .wall-row img { height: 56px; }
}
/* iPhone 8 等（微信里约 600 高）：间距再收一点 */
@media (max-height: 640px) {
  .scene > * + * { margin-top: 10px; }
  .sc-head h2 { font-size: 23px; }
  .stairs { height: 150px; padding-top: 36px; }
  .lad-row img { height: 220px; }
  .marquee img { height: 92px; }
  .swipe { --dy: 89px; height: 210px; }
  .sw-reader { width: 176px; margin-left: -88px; }
  .sw-card { width: 88px; margin-left: -44px; }
  .summon { height: 100px; }
  .book-hero:before { padding-top: 46%; }
  .mc-img:before { padding-top: 50%; }
  .kits img { height: 64px; }
  .cast { display: none; }
  .scene > * + * { margin-top: 8px; }
  .say { min-height: 0; font-size: 15.5px; padding: 7px 12px 8px; }
  .dirs { gap: 6px; }
  .dirs button { padding: 5px 12px; }
  .dirs b { width: 26px; height: 26px; }
  .scene { padding-bottom: 8px; }
  .screen.r32:before { padding-top: 45%; }
  .screen.r16:before { padding-top: 46%; }
  .mc-img:before { padding-top: 43%; }
  .gal-img.r43 { padding-top: 55%; }
  .gal-img.r32 { padding-top: 55%; }
  .gal-tabs { margin-top: 10px; }
  .gal-cap { margin-top: 6px; }
  .rk { padding: 9px 10px; }
  .rk-lines { gap: 3px; margin: 6px 0 8px; }
  .rk-line i { height: 26px; font-size: 21px; }
  .rk-count i { width: 21px; height: 21px; }
  .rk-play { padding-top: 4px; padding-bottom: 4px; }
  .specials { gap: 7px; }
  .specials button:before { padding-top: 13%; }
  .specials b { font-size: 22px; }
  .vote button { padding: 7px 4px; font-size: 18px; }
  .flow.sm { gap: 4px 2px; }
  .flow.sm span { font-size: 12px; padding: 3px 6px; }
  .flow.sm i { font-size: 14px; }
  .cards6 { padding: 0 11%; gap: 6px; }
  .rp-btns { display: none; }
  .wall-row img { height: 50px; }
  .acts span { padding: 5px 9px 6px; font-size: 13.5px; }
}
/* 更矮的屏（安卓小屏 + 微信底栏）：再收一档 */
@media (max-height: 590px) {
  .sc-head h2 { font-size: 22px; }
  .bignum b { font-size: 64px; }
  .stairs { height: 140px; }
}
/* 窄屏安卓（360 宽）：阶段卡底下三个标签挤在一行 */
@media (max-width: 374px) {
  .sg-feat { gap: 4px; }
  .sg-feat span { font-size: 12px; padding: 3px 6px; gap: 3px; }
  .sg-col { padding: 8px 9px 9px; }
  .sg-col li { padding: 3px 0; }
  .jc-card .chips span { font-size: 12.5px; padding: 2px 8px; }
}
@media (max-width: 359px) {
  main { padding-left: 15px; padding-right: 15px; }
  .scene, .st-top, .st-nav { padding-left: 15px; padding-right: 15px; }
  .lad-row, .marquee, .wall { margin-left: -15px; margin-right: -15px; }
  .rk-line i { width: 31px; font-size: 22px; }
  .eq-path button { font-size: 13px; }
  .top-actions { gap: 6px; }
  .map-pill { padding: 0 10px 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { -webkit-animation: none !important; animation: none !important; transition: none !important; }
  .ani { opacity: 1; -webkit-transform: none; transform: none; }
}
