:root{--ink:#172333;--muted:#718096;--cream:#fffaf0;--paper:#fff;--line:#e9edf2;--orange:#f28c28;--blue:#275d9b;--green:#44a66f;--yellow:#e8c547;--purple:#8e68b8;--shadow:0 18px 46px rgba(34,48,66,.1);--radius:24px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 20% 0,#fff1cc 0,transparent 34%),var(--cream);color:var(--ink);font-family:"Noto Sans SC",sans-serif;min-height:100vh}button{font:inherit;border:0;cursor:pointer}button:focus-visible{outline:4px solid #8fc9ff;outline-offset:3px}.app-shell{max-width:1180px;margin:auto;padding:24px 28px 48px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:46px;height:46px;border-radius:15px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 6px 0 #174373}.brand h1{font-family:"Baloo 2",sans-serif;font-size:25px;margin:0;line-height:1}.brand small{color:var(--muted);font-size:12px}.icon-btn{width:48px;height:48px;border-radius:16px;background:#fff;border:1px solid var(--line);color:var(--blue);font-size:20px}.hero{background:linear-gradient(120deg,#fff 0,#fff8e9 100%);border:1px solid #f2e8d7;border-radius:32px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:230px;height:230px;right:-55px;top:-90px;border-radius:50%;background:#f7cf8c55}.eyebrow{color:var(--orange);font-weight:800;font-size:13px;letter-spacing:.08em}.hero h2{font-family:"Baloo 2",sans-serif;font-size:42px;line-height:1.05;margin:8px 0}.hero p{color:var(--muted);margin:0 0 22px}.primary{background:var(--blue);color:#fff;border-radius:16px;padding:14px 22px;min-height:52px;font-weight:800;box-shadow:0 5px 0 #174373;transition:.18s transform}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #174373}.secondary{background:#eef5ff;color:var(--blue);border-radius:14px;padding:12px 16px;min-height:48px;font-weight:700}.grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-top:20px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 8px 25px #2230420c}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel h3{margin:0;font-size:19px}.route-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.route-card{min-height:108px;border-radius:18px;padding:16px;color:#fff;text-align:left;position:relative;overflow:hidden}.route-card.locked{filter:grayscale(1);opacity:.45}.route-card strong{display:block;font-size:25px}.route-card span{font-size:12px;opacity:.9}.route-card i{position:absolute;right:14px;bottom:8px;font-size:33px;font-style:normal;opacity:.7}.station-row{display:flex;align-items:center;gap:0;overflow:auto;padding:8px 0 14px}.station{min-width:72px;text-align:center;position:relative;color:var(--muted);font-size:11px}.station:not(:last-child):after{content:"";position:absolute;top:14px;left:50%;width:100%;height:4px;background:#e7edf1;z-index:0}.station-dot{position:relative;z-index:1;margin:auto auto 8px;width:28px;height:28px;border:5px solid var(--orange);background:#fff;border-radius:50%}.station.done .station-dot{background:var(--orange)}.station.current{color:var(--ink);font-weight:800}.station.current .station-dot{box-shadow:0 0 0 6px #f28c2833}.stat-row{display:flex;gap:10px}.stat{flex:1;background:#f6f8fa;border-radius:15px;padding:13px}.stat b{display:block;font-size:23px}.stat span{font-size:12px;color:var(--muted)}.trip-shell{max-width:760px;margin:0 auto}.back{background:transparent;color:var(--muted);padding:8px 0}.trip-top{display:flex;justify-content:space-between;align-items:center;margin:10px 0 18px}.trip-top h2{margin:0;font-family:"Baloo 2";font-size:29px}.progress{height:8px;background:#e9eef3;border-radius:20px;overflow:hidden}.progress i{display:block;height:100%;background:var(--orange);border-radius:inherit;transition:.3s;width:30%}.scene{background:#1d3d5e;border-radius:28px;min-height:170px;color:#fff;padding:22px;position:relative;overflow:hidden;margin-bottom:16px}.scene:before{content:"";position:absolute;inset:auto 0 0;height:46px;background:linear-gradient(90deg,#e9be63 0 15%,#496f79 15% 17%,#e9be63 17% 31%,#496f79 31% 33%,#e9be63 33%)}.scene-art{font-size:72px;position:relative;z-index:1;animation:train 2.5s ease-in-out infinite alternate}.scene-label{position:relative;z-index:1;font-weight:800;font-size:14px}.question{padding:24px 22px}.question h3{font-size:22px;line-height:1.35;margin:0 0 18px}.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.choice{min-height:68px;border:2px solid #e8edf2;background:#fff;border-radius:17px;font-size:23px;font-weight:800;color:var(--blue);transition:.18s}.choice:hover{border-color:var(--blue);background:#f3f8ff}.choice.correct{background:#e5f7ec;border-color:var(--green);color:#25764a}.choice.wrong{background:#fff0ed;border-color:#e47d69}.hint{background:#fff7e5;border-radius:14px;color:#865f1d;padding:12px 14px;font-size:14px;margin-top:14px}.trip-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.reward{display:flex;align-items:center;gap:14px;background:#fff7e3;border:1px solid #f4d58d;padding:15px;border-radius:17px}.ticket{font-size:31px}.empty{color:var(--muted);padding:18px 0}.video-list{display:grid;gap:10px}.video-item{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--line);border-radius:15px}.video-thumb{width:54px;height:38px;border-radius:9px;background:#d9e6f4;display:grid;place-items:center}.muted{color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#172333;color:#fff;padding:12px 18px;border-radius:14px;z-index:10}@keyframes train{to{transform:translateX(18px)}}@media(max-width:760px){.app-shell{padding:16px 15px 35px}.grid{grid-template-columns:1fr}.hero h2{font-size:34px}.hero{padding:22px}.panel{padding:18px}.choices{gap:9px}.choice{min-height:60px}.topbar{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.video-modal{position:fixed;inset:0;background:#0e2030cc;display:grid;place-items:center;z-index:20;padding:20px}.video-dialog{background:#fff;border-radius:24px;padding:16px;width:min(720px,100%)}.video-dialog>.icon-btn{display:block;margin-left:auto}.reward-video{width:100%;max-height:70vh;border-radius:14px;background:#0f1f2f}.video-slot{margin-top:8px}
/* 实景乘车层：每一站由照片、语音和一个动作组成 */
.scene-photo{height:280px;border-radius:28px;position:relative;overflow:hidden;margin-bottom:16px;background:#142a3d}.scene-photo img,.scene-motion{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92)}.scene-motion{position:absolute;inset:0}.scene-motion.media-missing{display:none}.scene-photo img.image-missing{opacity:0}.scene-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#10253622 25%,#102536c7 100%);pointer-events:none}.scene-overlay{position:absolute;bottom:18px;left:20px;right:20px;display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:17px;z-index:1}.scene-badge{display:grid;place-items:center;width:44px;height:44px;border:2px solid #fff;border-radius:50%;background:#142a3dcc}.line-chip{display:inline-flex;padding:5px 11px;border-radius:999px;color:#fff;font-size:12px;font-weight:800}.audio-prompt{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;font-weight:700;margin-bottom:12px}.listen{width:58px;height:58px;border-radius:50%;background:var(--blue);color:#fff;font-size:23px;box-shadow:0 5px 0 #174373}.pinyin-prompt{font-size:32px!important;letter-spacing:.05em;margin-bottom:16px!important}

.header-actions{display:flex;gap:10px}.header-actions .icon-btn,.listen{display:inline-grid;place-items:center}#audio-status{min-height:1.5em;color:#365575;font-size:14px}

/* 大字、完整声调和分开的试听/作答按钮，适合孩子自己操作。 */
.practice-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:700px;margin:20px 0 14px;position:relative;z-index:1}
.mode-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 14px;border:3px solid #d7e2ed;border-radius:22px;background:#fff;color:var(--ink);min-height:170px}
.mode-card.selected,.spell-mode.selected{border-color:var(--blue);background:#eaf3fc;box-shadow:0 5px 0 #c2d7ed}
.mode-picture{display:flex;align-items:center;justify-content:center;gap:14px;font-size:30px;height:54px}
.mode-picture b{font-family:Arial,sans-serif;font-size:34px;font-weight:500}.mode-card strong{font-size:24px}.mode-card small{font-size:15px;color:#47617c}
.spell-mode{display:block;border:2px solid #d7e2ed;border-radius:16px;background:#fff;padding:14px 20px;margin:0 0 24px;color:var(--blue);min-height:56px;font-weight:700}.spell-mode span{font-family:Arial,sans-serif;font-size:22px}
.trip-shell{max-width:880px}.scene-photo{height:230px}.question{padding:24px}.audio-prompt{font-size:17px;color:#3e5874;gap:16px;margin-bottom:20px}.listen{flex-shrink:0;width:64px;height:64px}
.choices{gap:20px}.choice{min-height:156px;border-width:3px;border-radius:24px;font-family:Arial,"Noto Sans SC",sans-serif;font-size:76px;font-weight:500;line-height:1.4;padding:14px 8px;box-shadow:0 6px 0 #dce5ef}
.question .target-pinyin{font-family:Arial,"Noto Sans SC",sans-serif;text-align:center;font-size:88px;font-weight:500;line-height:1.5;color:var(--blue);margin:-8px 0 18px;letter-spacing:.025em}
.sound-card{border:3px solid #d7e2ed;border-radius:24px;overflow:hidden;background:#f7faff;box-shadow:0 6px 0 #dce5ef}
.sound-preview{position:relative;display:grid;place-items:center;width:100%;min-height:120px;background:transparent;color:var(--blue)}.sound-preview svg{width:60px;height:60px}.sound-number{position:absolute;top:12px;left:16px;font-size:22px;font-weight:800;color:#47617c}
.sound-pick{width:100%;min-height:56px;background:#e3effb;color:var(--blue);font-size:20px;font-weight:700;border-top:2px solid #d7e2ed}.sound-pick span{margin-left:12px}
.sound-card.correct{border-color:var(--green);background:#e5f7ec}.sound-card.wrong{border-color:#cc6250;background:#fff0ed}.recorded{border-color:var(--blue);background:#eaf3fc}
.spelling-track{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 22px}.letter-slot{display:grid;place-items:center;width:108px;height:110px;border:3px dashed #9db4cd;border-radius:18px;background:#f4f8fd;font-family:Arial,sans-serif;font-size:64px;color:var(--blue)}.coupler{color:#9db4cd;font-size:30px}
.letter-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.letter-choices .choice{min-height:112px;font-size:64px}.spelling-actions{display:flex;justify-content:center;gap:20px;margin-top:22px}.spelling-actions .primary{min-width:120px;font-size:28px}
.hint-action{margin-top:20px}.answer-feedback{margin-top:22px;color:#365575;font-size:22px}.feedback-pinyin{font-family:Arial,sans-serif;font-size:36px;font-weight:500;margin-left:12px}
button:disabled{cursor:default}.sound-pick:disabled,.spelling-actions button:disabled{opacity:.45}.choice:disabled{box-shadow:none}.choice:not(:disabled):active,.mode-card:active{transform:translateY(3px)}
.station-home{background:#f7fbff;border:1px solid #dce8f3;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);margin-bottom:20px}.station-sign{display:flex;align-items:center;gap:14px;padding:22px 28px;background:#183d63;color:#fff}.station-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#183d63;font-size:28px}.station-sign small{opacity:.8}.station-sign h2{margin:2px 0 0;font-family:"Baloo 2";font-size:30px}.station-light{margin-left:auto;color:#9be2b5;font-size:13px;white-space:nowrap}.station-platform{min-height:172px;padding:24px 28px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(120deg,#fff 0,#edf6fc 100%)}.platform-line{position:absolute;left:0;right:0;bottom:26px;height:8px;background:linear-gradient(90deg,#f4c04e 0 8%,#1d5c8c 8% 11%,#f4c04e 11% 19%,#1d5c8c 19% 22%,#f4c04e 22% 30%,#1d5c8c 30% 33%,#f4c04e 33%)}.platform-copy{position:relative;z-index:1}.platform-copy h3{font-size:27px;margin:5px 0}.platform-copy p{margin:0;color:var(--muted)}.platform-train{font-size:82px;margin-left:auto;position:relative;z-index:1;animation:train 2.5s ease-in-out infinite alternate}.station-gates{padding:20px 28px 0}.station-gates .practice-modes{max-width:none;margin:0}.station-actions{display:flex;gap:12px;padding:0 28px 26px}.station-actions .secondary{min-height:52px}.station-services{display:flex;flex-direction:column}.service-link{display:grid;grid-template-columns:38px 1fr;column-gap:10px;text-align:left;align-items:center;background:#f7faff;border:1px solid #e0e9f2;border-radius:14px;padding:10px;margin-bottom:10px;color:var(--ink)}.service-link span{grid-row:span 2;font-size:24px}.service-link b{font-size:15px}.service-link small{color:var(--muted)}.confirm-choice{display:block;width:100%;margin:18px auto 0;max-width:300px}.sound-card.selected{border-color:var(--blue);box-shadow:0 0 0 4px #8fc9ff55,0 6px 0 #c2d7ed}.correct-feedback{color:#27784b;font-weight:900}.celebration{position:relative;overflow:hidden;text-align:center;margin:12px -8px -8px;padding:18px 6px;border-radius:20px;background:linear-gradient(120deg,#fff2bb,#e3f7ff);color:#1e5f91;font-size:24px;font-weight:900;animation:celebrate .55s ease-out}.confetti{position:absolute;font-size:22px;animation:confetti 1.1s ease-out forwards}.confetti-a{left:15%;top:4px;color:#f28c28}.confetti-b{right:20%;top:10px;color:#8e68b8}.confetti-c{left:48%;top:0;color:#44a66f}@keyframes celebrate{0%{transform:scale(.92);opacity:.3}100%{transform:scale(1);opacity:1}}@keyframes confetti{0%{transform:translateY(-4px) rotate(0);opacity:1}100%{transform:translateY(62px) rotate(130deg);opacity:0}}
@media(min-width:1000px){.trip-shell{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:24px;max-width:1100px}.trip-shell>.back,.trip-top,.trip-shell>.progress{grid-column:1/-1}.trip-shell>.back{justify-self:start}.trip-shell>.progress{margin-bottom:18px}.scene-photo{grid-column:1;height:auto;min-height:390px;margin:0;align-self:stretch}.question{grid-column:2}.trip-shell>#audio-status,.trip-actions{grid-column:2}.trip-top{margin-bottom:12px}.trip-actions{margin-top:0}}
@media(max-width:600px){.practice-modes{gap:12px}.mode-card{padding:16px 8px;min-height:156px}.mode-picture{gap:7px;font-size:24px}.mode-picture b{font-size:28px}.mode-picture svg{width:24px}.mode-card strong{font-size:22px}.hero:after{pointer-events:none}.trip-top{margin:8px 0 12px}.trip-top h2{font-size:24px}.scene-photo{height:174px;border-radius:22px;margin-bottom:12px}.scene-overlay{bottom:12px;left:14px;font-size:16px}.scene-badge{width:36px;height:36px}.question{padding:18px 14px}.audio-prompt{font-size:15px;gap:12px;margin-bottom:16px}.listen{width:56px;height:56px}.choices{gap:14px}.choice{min-height:132px;font-size:64px;border-radius:20px}.question .target-pinyin{font-size:72px;line-height:1.35;margin:0 0 16px}.sound-preview{min-height:100px}.sound-preview svg{width:48px;height:48px}.sound-number{font-size:18px;left:10px;top:10px}.sound-pick{font-size:18px;min-height:52px}.sound-card{border-radius:20px}.letter-choices{gap:8px}.letter-choices .choice{min-height:88px;font-size:42px;border-radius:16px}.letter-slot{width:84px;height:86px;font-size:54px}.spelling-track{margin-bottom:18px}.hint-action{margin-top:16px}.topbar .brand small{display:none}.brand h1{font-size:21px}.brand{gap:8px}.brand-mark{width:36px;height:36px}.header-actions{gap:6px}.header-actions .icon-btn{width:42px;height:42px}.app-shell{padding:14px 12px 28px}}

/* 奖励视频按封面选择，列表不预加载视频本体。 */
.reward-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-top:18px}
.reward-film{min-width:0;text-align:left;background:#f3f7fa;color:#18384c;border:1px solid #d5e2eb;border-radius:14px;padding:0 0 14px;overflow:hidden}
.reward-film:hover{border-color:#275d9b;background:#eaf3fc}.reward-film>strong,.reward-film>small{display:block;padding:0 12px}.reward-film>strong{margin:12px 0 6px;font-size:18px}.reward-film>small{color:#526d81;font-size:12px;overflow-wrap:anywhere}
.film-poster{position:relative;display:grid;place-items:center;aspect-ratio:16/10;background:#19364a;font-size:50px;overflow:hidden}.film-poster img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.film-play{position:absolute;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#10283bbf;border:2px solid #fff;color:#fff;font-size:24px}.film-duration{position:absolute;right:8px;bottom:8px;padding:3px 7px;background:#10283bdb;color:#fff;border-radius:5px;font:14px Arial,sans-serif}
.video-dialog>h3{margin:10px 0;font-size:18px}.video-error{color:#9e362c}.reward-room{max-width:1100px}
@media(max-width:600px){.reward-library{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reward-film>strong{font-size:15px;padding:0 8px}.reward-film>small{padding:0 8px;font-size:11px}.film-play{width:42px;height:42px;font-size:20px}}

/* 固定在设备视口内，媒体超出卡片时直接裁剪。 */
html,body{height:100%;overflow:hidden}
body{min-height:0}
#app{height:100%;overflow:hidden}
.app-shell{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.app-shell>.topbar{flex:0 0 auto}
.app-shell>.metro-home,.app-shell>.reward-room,.app-shell>.trip-shell,.app-shell>.panel,.app-shell>.hero{flex:1 1 auto;min-height:0;height:calc(100% - 84px);max-height:calc(100% - 84px);overflow:hidden}
.scene-photo,.scene-photo img,.scene-motion{max-width:100%;overflow:hidden}
.film-poster img{object-fit:cover}
.reward-video{height:min(60dvh,420px);max-height:calc(100dvh - 150px);object-fit:cover}
.video-dialog{max-height:calc(100dvh - 40px);overflow:hidden}
.video-slot{max-width:100%;overflow:hidden}
.metro-route{height:clamp(260px,calc(100dvh - 430px),540px)}
.metro-footnote{flex:0 0 auto;margin:4px 0 0}
@media(max-width:600px){.app-shell{padding:10px 12px 12px}.app-shell>.metro-home,.app-shell>.reward-room,.app-shell>.trip-shell,.app-shell>.panel,.app-shell>.hero{height:calc(100% - 68px);max-height:calc(100% - 68px)}.metro-route{height:clamp(240px,calc(100dvh - 360px),430px)}.scene-photo{max-height:30dvh}.reward-video{height:min(50dvh,300px)}}

.trip-shell{position:relative;padding-bottom:76px}
.trip-actions{position:absolute;left:0;right:0;bottom:8px;z-index:4;margin:0;padding-top:8px;background:var(--cream)}

/* 选关地图：两排车站沿同一条回转线路排列，按线路顺序阅读。 */
.metro-home{--map-bg:#18394d;background:var(--map-bg);color:#fff;border-radius:20px;overflow:hidden;box-shadow:0 20px 42px #18394d24}
.metro-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 38px 24px}
.metro-hero h2{font-size:34px;margin:0 0 8px;font-weight:900}.metro-hero p{color:#bed4df;margin:0;font-size:15px}
.metro-ticket{display:grid;grid-template-columns:1fr auto;gap:5px 22px;text-align:left;background:#fff2cc;color:#18394d;border-radius:12px;padding:16px 20px;min-width:190px}
.metro-ticket span{font-size:13px}.metro-ticket strong{grid-column:2;grid-row:1/3;font:700 40px/1 "Baloo 2",sans-serif}.metro-ticket small{font-size:12px;color:#6d5321}
.line-switcher{display:flex;gap:10px;margin:0 38px 24px}.line-switch{flex:1;min-width:0;min-height:64px;display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #577286;background:#203f53;color:#dce8ee;border-radius:10px;text-align:left}
.line-switch b{font-size:18px;white-space:nowrap}.line-switch small{font-size:12px}.line-switch.active{background:#fff5dc;color:#16394d;border-color:#fff5dc}.line-switch:disabled{color:#adc0ca;background:#183245;border-color:#3c586b}.line-switch:disabled small{color:#adc0ca}
.metro-map-caption{display:flex;justify-content:space-between;gap:15px;padding:0 38px;color:#bdd3df;font-size:12px}.metro-map-caption b{color:#fff}
.metro-route{position:relative;height:540px;margin:4px 30px 12px}
.route-rail{position:absolute;width:100%;height:100%;inset:0;overflow:visible;pointer-events:none}.route-rail path{fill:none;stroke-linecap:round;stroke-linejoin:round}.rail-bed{stroke:#7399aa;stroke-width:20;opacity:.32}.rail-color{stroke:var(--route);stroke-width:12}.rail-guide{stroke:#e0eef4;stroke-width:2;stroke-dasharray:2 14;opacity:.6}
.stop-0{left:0}
.metro-stop{position:absolute;left:0;top:44px;width:33.333%;padding:0;display:flex;flex-direction:column;align-items:center;color:#fff;background:transparent;gap:7px;border-radius:12px}
.stop-1{left:33.333%}.stop-2{left:66.666%}.stop-3{left:66.666%;top:282px}.stop-4{left:33.333%;top:282px}.stop-5{top:282px}
.stop-node{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;border:7px solid #82bccd;background:#e9f5f5;color:#163c51;box-shadow:0 8px 18px #081d2b60;font:500 34px/1.4 Arial,sans-serif;transition:transform .2s ease-out}
.stop-node>svg{width:44px;height:44px}.metro-stop:hover .stop-node{transform:translateY(-5px)}.metro-stop:active .stop-node{transform:scale(.95)}
.metro-stop b{font-size:19px;line-height:1.4}.metro-stop small{font-size:12px;color:#c2d9e4;line-height:1.5}.stop-number{position:absolute;top:-12px;left:calc(50% - 57px);background:#31586c;border:2px solid #18394d;border-radius:20px;padding:3px 8px;color:#ebf5f8;font:700 12px/1.4 "Baloo 2",sans-serif;z-index:1}
.station-tools-actions{display:flex;gap:8px;margin-top:8px;max-width:100%}.station-tools-actions button{min-height:48px;padding:6px 12px;border:2px solid #f08470;border-radius:12px;background:#fff9e8;color:#17445b;font-weight:800}.station-tools-actions em{font-style:normal;color:#d96555}
.is-reward .stop-node{background:#294c5a;border-color:#f4c45d;border-radius:20px}.is-reward .stop-node svg{width:80px;height:80px}.is-reward b{color:#ffdb85}.stop-3 .stop-node{font-size:24px}.stop-4 .stop-node{border-color:#efac79}.stop-5 .stop-node{border-color:#a6b9d0;font-size:46px}
.metro-callout{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 38px;background:#edf5f4;color:#1b4052}.metro-callout b{display:block;font-size:16px;margin-bottom:4px}.metro-callout span{font-size:13px;color:#476575}.study-meter{height:10px;width:180px;flex-shrink:0;background:#cfdfdf;border-radius:8px;overflow:hidden}.study-meter i{display:block;height:100%;background:#277d80;border-radius:inherit}.metro-footnote{text-align:center;color:#4b6675;font-size:12px;line-height:1.8;margin:18px 10px}
@media(max-width:760px){.metro-hero{padding:24px 20px;gap:12px}.metro-hero h2{font-size:24px}.metro-hero p{font-size:13px}.metro-ticket{min-width:76px;display:flex;flex-direction:column;align-items:center;padding:10px}.metro-ticket span{font-size:10px}.metro-ticket strong{font-size:30px}.metro-ticket small{display:none}.line-switcher{margin:0 16px 20px;gap:7px}.line-switch{flex-direction:column;justify-content:center;gap:3px;padding:8px 2px;min-height:64px}.line-switch b{font-size:15px}.line-switch small{font-size:10px}.metro-map-caption{padding:0 20px;font-size:11px}.metro-map-caption>span:last-child{max-width:145px;text-align:right}.metro-route{height:540px;margin:8px 10px 12px}.stop-node{width:76px;height:76px;border-width:5px;font-size:28px}.metro-stop{top:57px}.stop-3,.stop-4,.stop-5{top:295px}.metro-stop b{font-size:15px}.metro-stop small{font-size:10px}.stop-number{left:calc(50% - 42px);font-size:10px;padding:2px 6px}.stop-node>svg{width:32px;height:32px}.is-reward .stop-node svg{width:64px;height:64px}.stop-3 .stop-node{font-size:19px}.metro-callout{padding:16px 20px;gap:14px;flex-wrap:wrap}.metro-callout span{font-size:12px}.study-meter{width:100%}.reward-room{padding:14px}.reward-room-head{flex-wrap:wrap;padding:16px}.reward-room-head>div{min-width:0;flex:1}.reward-room-head h2{font-size:22px}.reward-room-head>strong{font-size:28px}.reward-castle{width:46px;height:46px}}
/* 可爱地铁绘本主题：站牌、列车吉祥物和糖果色线路。 */
body{background:#f9e8d2}
.metro-home{background:#1b4862;border:4px solid #fff1d1;border-radius:28px;box-shadow:0 12px 0 #d98f73,0 24px 40px #6e52623b;position:relative}
.metro-home:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 20%,#fff8dc1f 0 3px,transparent 4px),radial-gradient(circle at 76% 14%,#fff8dc17 0 4px,transparent 5px);background-size:84px 68px;pointer-events:none}
.metro-skyline{position:absolute;left:0;right:0;top:0;height:18px;background:#f5c95f;border-bottom:4px solid #ed936f;overflow:hidden}.metro-skyline i{display:inline-block;width:16%;height:13px;margin:0 1%;background:#fff2c7;border-radius:8px 8px 0 0;opacity:.8}
.metro-hero{position:relative;padding:42px 38px 26px;background:linear-gradient(180deg,#57bfc0 0,#63c8c4 58%,#85d2c5 100%);border-bottom:5px solid #f1b75b;color:#163e52;overflow:hidden}.metro-hero:after{content:"";position:absolute;right:-50px;bottom:-64px;width:250px;height:140px;border-radius:50% 50% 0 0;background:#ffd98666}.metro-hero-copy{position:relative;z-index:1}.metro-sign{display:inline-block;padding:5px 12px;background:#fff7dc;border:2px solid #18445a;border-radius:8px;color:#18445a;font-size:12px;font-weight:900;letter-spacing:.08em;box-shadow:0 3px 0 #d88d70}.metro-hero h2{font-size:38px;color:#173d53;text-shadow:0 2px #fff4cf;margin:14px 0 6px}.metro-hero p{color:#24566a}.metro-mascot{position:absolute;right:27%;bottom:12px;z-index:2;width:118px;transform:rotate(-2deg);filter:drop-shadow(0 8px 0 #39788955)}.metro-mascot svg{width:118px;height:94px}.metro-mascot span{position:absolute;top:-27px;right:-18px;padding:4px 8px;border-radius:12px;background:#fff7dc;color:#d9785c;font-size:12px;font-weight:900;transform:rotate(8deg)}
.metro-ticket{position:relative;z-index:2;border:3px solid #173d53;box-shadow:0 5px 0 #d88062;background:#fff5cb;border-radius:16px}.metro-ticket strong{color:#e77459}.line-switcher{position:relative;z-index:2;margin:0;padding:20px 38px 18px;background:#1b4862}.line-switch{border:2px solid #74b8be;background:#24556d;color:#eff9e5;box-shadow:0 4px 0 #12394f;border-radius:12px}.line-switch.active{background:#fff2c7;border-color:#fff2c7;color:#19435a;box-shadow:0 4px 0 #d98b70}.metro-map-caption{position:relative;z-index:2;padding:0 38px 4px;background:#1b4862}.metro-route{position:relative;z-index:2}.route-rail .rail-bed{stroke:#f6dd9b;opacity:.45}.route-rail .rail-color{stroke:#f18a70;stroke-width:14}.route-rail .rail-guide{stroke:#fff7d7;opacity:.8}
.stop-node{border:7px solid #f7c85c;background:#fff5d7;color:#19435a;box-shadow:0 7px 0 #d9826a;font-family:"Baloo 2","Noto Sans SC",sans-serif}.metro-stop b{color:#fff9e5;text-shadow:0 2px #15425a}.stop-number{background:#f18a70;border-color:#fff3cf;color:#fff}.is-reward .stop-node{background:#ffe7a1;border-color:#ee8c6c;box-shadow:0 7px 0 #c86d60}.metro-callout{border-top:4px solid #f3bf5e;border-radius:0 0 20px 20px;background:#fff4d6}.metro-footnote{color:#6b5148}
@media(max-width:760px){.metro-hero{padding:38px 20px 22px}.metro-hero h2{font-size:28px}.metro-mascot{right:22%;width:80px}.metro-mascot svg{width:80px;height:64px}.metro-mascot span{font-size:10px;top:-23px}.line-switcher{padding:16px}.metro-map-caption{padding:0 20px 4px}.metro-home{border-width:3px}}

/* 提高首页亮度：让大屏平板在客厅光线下更轻、更有儿童绘本感。 */
body{background:#fff3dc}
.metro-home{background:#effcf7;border-color:#fffdf1;box-shadow:0 12px 0 #f1b684,0 24px 40px #78949a28}
.metro-hero{background:linear-gradient(180deg,#7bd7d0 0,#a5e5d0 100%);border-bottom-color:#ffd166}
.metro-hero h2{color:#17445b;text-shadow:0 2px #fff6d3}.metro-hero p{color:#245b6c}
.line-switcher{background:#d7f5ec}.line-switch{background:#f7fffb;border-color:#8ad3c9;color:#245269;box-shadow:0 4px 0 #9ed9ce}.line-switch.active{background:#fff7c9;border-color:#ffd166;box-shadow:0 4px 0 #edaa7d}.line-switch:disabled{background:#e7f5ef;border-color:#b8ded4;color:#86a3a2;box-shadow:0 4px 0 #c5e2d8}
.metro-map-caption{background:#d7f5ec;color:#2c6774}.metro-map-caption b{color:#17445b}
.metro-route{background:#d7f5ec}.metro-home:before{background:radial-gradient(circle at 14% 20%,#ffffffc7 0 3px,transparent 4px),radial-gradient(circle at 76% 14%,#ffffffa8 0 4px,transparent 5px);background-size:84px 68px}
.route-rail .rail-bed{stroke:#72bbb6;opacity:.5}.route-rail .rail-color{stroke:#f08470}.route-rail .rail-guide{stroke:#fff9dc}
.stop-node{background:#fff9e8;border-color:#ffd166;color:#17445b;box-shadow:0 7px 0 #e89b72}.stop-number{background:#f08470;border-color:#fff9dc}.metro-stop b{color:#17445b;text-shadow:none}.metro-stop small{color:#2c6774}.is-reward .stop-node{background:#fff0a8;border-color:#f08470;box-shadow:0 7px 0 #dc806c}.is-reward b{color:#d96555}
.metro-callout{background:#fff9df;border-top-color:#ffd166;color:#17445b}.metro-callout span{color:#4f7180}.study-meter{background:#d8eee6}.study-meter i{background:#44b6a7}.metro-footnote{color:#806356}
.mistake-list{display:grid;gap:10px;margin-top:16px}.mistake-row{display:grid;grid-template-columns:90px 1fr auto;gap:12px;align-items:center;padding:14px 16px;background:#fff7df;border:2px solid #f2c66b;border-radius:12px;color:#17445b}.mistake-row span{font-size:14px}.mistake-row small{color:#6d8790}@media(max-width:600px){.mistake-row{grid-template-columns:1fr}.mistake-row small{font-size:12px}}

@media(max-width:760px){.station-tools-actions{flex-direction:column;align-items:stretch;width:calc(100% - 12px)}.station-tools-actions button{padding:6px 4px;font-size:14px}.metro-route{height:570px}}
