/* SOLA AI 训练营 · 官网样式（GBA 像素风，亮色） */
@font-face { font-family: 'Pixel'; src: url(fonts/pixel.woff2) format('woff2'); font-display: block; }
:root {
  --ink: #26283A; --muted: #5C6074; --paper: #FFFDF6; --cream: #F6F1E2; --line: #26283A;
  --navy: #183B70; --red: #D22B20; --sky: #8FD3F8; --sky2: #BDE6FB; --grass: #78C850; --grass-d: #4E9A38; --sun: #F8D030;
  --t1: #58B868; --t2: #4890E0; --t3: #E8B020; --t4: #E87830; --t5: #D22B20;
  --px: 'Pixel', 'PingFang SC', monospace; --cn: 'PingFang SC', 'Noto Sans SC', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.75 var(--cn); }
img { image-rendering: pixelated; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.px { font-family: var(--px); -webkit-font-smoothing: none; font-weight: 400; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* 像素面板：GBA 菜单框 */
.box { background: var(--paper); border: 3px solid var(--line); border-radius: 6px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #C9D3EA, 4px 4px 0 rgba(38, 40, 58, .18); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font: 24px/1 var(--px); -webkit-font-smoothing: none; text-decoration: none;
  background: var(--paper); border: 3px solid var(--line); border-radius: 4px; box-shadow: 0 4px 0 var(--line); transition: translate .08s, box-shadow .08s; }
.btn:hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--line); }
.btn:active { translate: 0 3px; box-shadow: 0 1px 0 var(--line); }
.btn.red { background: var(--red); color: #fff; }
.btn.sm { font-size: 12px; padding: 7px 12px; box-shadow: 0 3px 0 var(--line); }
.tag { display: inline-block; padding: 1px 8px; font: 12px/1.6 var(--px); color: #fff; border-radius: 3px; -webkit-font-smoothing: none; }
.t1 { background: var(--t1); } .t2 { background: var(--t2); } .t3 { background: var(--t3); color: var(--ink); } .t4 { background: var(--t4); } .t5 { background: var(--t5); }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; border-bottom: 4px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 24px/1 var(--px); -webkit-font-smoothing: none; white-space: nowrap; }
.sola { display: inline-block; padding: 2px 11px 3px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--red); font: 12px/1.3 var(--px); transform: skewX(-8deg); }
.nav nav { display: flex; gap: 18px; margin-left: auto; }
.nav nav a { text-decoration: none; font: 12px/1 var(--px); -webkit-font-smoothing: none; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a.on { opacity: 1; border-color: var(--sun); }
.chip { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; background: rgba(255, 255, 255, .12); border-radius: 4px; text-decoration: none; font: 12px/1.2 var(--px); -webkit-font-smoothing: none; white-space: nowrap; }
.chip img { height: 34px; }

/* ================= 首页 v3：大视觉 ================= */
.crest-s { height: 36px; width: auto; }
.kicker { margin: 0 0 8px; font-size: 24px; color: var(--red); letter-spacing: .08em; }
.big { margin: 0; font: 72px/1.15 var(--px); -webkit-font-smoothing: none; letter-spacing: .02em; }
.lead { margin: 18px 0 0; max-width: 640px; font-size: 19px; color: var(--muted); }
.outline { text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px 3px 0 var(--ink), 3px -3px 0 var(--ink), -3px -3px 0 var(--ink), 8px 8px 0 var(--ink); }

/* 1. 开机画面 */
.title-screen { position: relative; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: grid; place-items: center; overflow: hidden; background: #2E6B32; border-bottom: 4px solid var(--line); }
.pan { position: absolute; inset: -4%; background: url(img/world.webp) center / cover no-repeat; image-rendering: pixelated; animation: pan 40s ease-in-out infinite alternate; }
@keyframes pan { from { transform: scale(1.18) translate(3%, 2%); } to { transform: scale(1.18) translate(-3%, -2%); } }
.title-screen::after { content: ''; position: absolute; inset: 0; background: rgba(16, 22, 46, .38); }
.ts-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px 150px; }
.crest-big { width: 192px; height: auto; animation: bob 2s steps(2) infinite; filter: drop-shadow(6px 6px 0 rgba(16, 22, 46, .6)); }
.ts-title { margin: 22px 0 0; font-size: 120px; line-height: 1; color: var(--paper); letter-spacing: .04em;
  text-shadow: 4px 0 0 var(--ink), -4px 0 0 var(--ink), 0 4px 0 var(--ink), 0 -4px 0 var(--ink), 4px 4px 0 var(--ink), -4px 4px 0 var(--ink), 4px -4px 0 var(--ink), -4px -4px 0 var(--ink), 10px 10px 0 var(--red); }
.ts-sub { margin: 26px 0 0; padding: 8px 18px; font-size: 36px; color: var(--ink); background: var(--sun); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.press { margin-top: 40px; padding: 10px 26px; font-size: 36px; color: var(--paper); background: transparent; border: 0; animation: blink 1.1s steps(1) infinite; text-shadow: 3px 3px 0 var(--ink); }
.press:hover { color: var(--sun); }
@keyframes blink { 50% { opacity: 0; } }
.parade { position: absolute; left: 0; right: 0; bottom: 14px; height: 110px; z-index: 2; overflow: hidden; }
.parade div { position: absolute; bottom: 0; display: flex; gap: 26px; align-items: flex-end; animation: walk 34s linear infinite; animation-delay: -12s; }
.parade img { height: 92px; animation: hop .5s steps(2) infinite; }
.parade img:nth-child(even) { animation-delay: .25s; }
@keyframes walk { from { left: -720px; } to { left: 100%; } }
@keyframes hop { 50% { translate: 0 -5px; } }
@keyframes bob { 50% { translate: 0 -4px; } }

/* 2. 选择搭档 */
.starter-sec { position: relative; padding: 100px 0 110px; background: linear-gradient(var(--sky) 0 62%, #A8DC80 62%); border-bottom: 4px solid var(--line); overflow: hidden; }
.starter-sec .lead { color: #2D4A6A; }
.podiums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 46px; align-items: end; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0; background: none; border: 0; }
.pod img { height: 150px; transition: translate .15s; animation: bob 1.6s steps(2) infinite; }
.pod:nth-child(2) img { animation-delay: .3s; } .pod:nth-child(4) img { animation-delay: .5s; }
.pod .base { width: 86%; height: 30px; margin-top: -14px; border-radius: 50%; background: #7CC058; box-shadow: inset 0 -6px 0 #5A9A40, 0 0 0 3px var(--ink); }
.pod b { margin-top: 14px; font: 24px/1.2 var(--px); -webkit-font-smoothing: none; }
.pod small { font: 12px/1.4 var(--px); color: #2D4A6A; -webkit-font-smoothing: none; }
.pod:hover img, .pod.on img { translate: 0 -10px; }
.pod.on .base { background: var(--sun); box-shadow: inset 0 -6px 0 #C8A020, 0 0 0 3px var(--ink); }
.pod.jump img { animation: jump .45s steps(3) 1; }
@keyframes jump { 50% { translate: 0 -40px; } }
.pdetail { display: grid; grid-template-columns: 220px 1fr; gap: 30px; margin-top: 30px; padding: 28px 32px; align-items: center; }
.pdetail .bigmon { height: 220px; width: auto; justify-self: center; }
.pdetail h3 { margin: 0; font: 36px/1.2 var(--px); -webkit-font-smoothing: none; }
.pdetail .say { margin: 10px 0 14px; padding: 10px 16px; display: inline-block; font: 24px/1.4 var(--px); -webkit-font-smoothing: none; background: #fff; border: 3px solid var(--ink); border-radius: 6px; }
.pdetail ul { margin: 0; padding: 0; list-style: none; }
.pdetail li { padding-left: 24px; position: relative; } .pdetail li::before { content: '▶'; position: absolute; left: 0; top: 2px; font-size: 12px; color: var(--red); }
.evo-row { display: flex; align-items: flex-end; gap: 8px; margin: 18px 0 18px; flex-wrap: wrap; }
.evo-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.evo-row img { height: var(--h); }
.evo-row figcaption { font: 12px/1.4 var(--px); -webkit-font-smoothing: none; margin-top: 4px; }
.evo-row i { font: normal 12px/1 var(--px); color: var(--muted); margin-bottom: 30px; }

/* 3. 遭遇战 */
.enc-sec { padding: 100px 0; background: var(--navy); color: var(--paper); border-bottom: 4px solid var(--line); }
.enc-sec .kicker { color: var(--sun); }
.arena { position: relative; height: 420px; margin-top: 36px; overflow: hidden; border: 4px solid var(--ink); border-radius: 8px 8px 0 0; }
.ar-sky { position: absolute; inset: 0; background: linear-gradient(#F8F8E8 0 40%, #E2EECB 40% 64%, #CFE4AE 64%); }
.ar-pad { position: absolute; border-radius: 50%; background: #A8D088; box-shadow: inset 0 -8px 0 #80B068, 0 0 0 3px #90C078; }
.ar-pad.foe { right: 8%; top: 214px; width: 34%; height: 60px; }
.ar-pad.me { left: 5%; bottom: -30px; width: 38%; height: 80px; }
.ar-foe { position: absolute; right: 12%; bottom: 168px; height: 250px; transform-origin: 50% 100%; }
.ar-me { position: absolute; left: 11%; bottom: 10px; height: 200px; transform: scaleX(-1); }
.ar-hud { position: absolute; left: 4%; top: 30px; width: min(380px, 50%); padding: 12px 16px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 6px 2px 6px 2px; box-shadow: 4px 4px 0 rgba(38, 40, 58, .3); font-size: 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.ar-hud .hp { height: 12px; background: #505060; border: 2px solid var(--ink); border-radius: 3px; overflow: hidden; }
.ar-hud .hp span { display: block; height: 100%; width: 100%; background: #58D080; transition: width .7s steps(12); }
.ar-hud small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.ar-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ar-flash.on { animation: flash .3s steps(2) 1; } @keyframes flash { 50% { opacity: .85; } }
.hit { animation: hit .5s steps(2) 1; } @keyframes hit { 0%, 40%, 80% { opacity: 0; } 20%, 60%, 100% { opacity: 1; } }
.laugh { animation: laugh .5s steps(4) 1; } @keyframes laugh { 25% { translate: -8px 0; } 75% { translate: 8px 0; } }
.faint { animation: faint .7s steps(6) forwards; } @keyframes faint { to { translate: 0 80px; opacity: 0; } }
.ar-text { border-radius: 0 0 8px 8px; border-top: 0; padding: 24px 30px 28px; color: var(--ink); }
.ar-q { margin: 0; font-size: 21px; line-height: 1.7; }
.ar-ask { margin: 14px 0 0; font-size: 24px; color: var(--navy); }
.ar-opts { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ar-opts .btn { min-width: 160px; justify-content: center; }
.ar-why { margin: 16px 0 0; padding: 12px 16px; background: #FFF8DA; border-left: 6px solid var(--sun); font-size: 17px; }

/* 4. 世界地图 */
.map-sec { padding: 100px 0; background: var(--cream); border-bottom: 4px solid var(--line); }
.worldmap { position: relative; margin-top: 36px; border: 4px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 8px 8px 0 rgba(38, 40, 58, .2); }
.worldmap img { display: block; width: 100%; }
.pin { position: absolute; translate: -50% -100%; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.pin .lab { padding: 4px 10px; font: 24px/1.2 var(--px); -webkit-font-smoothing: none; background: var(--paper); border: 3px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; transition: translate .12s; }
.pin .lab small { display: block; font-size: 12px; color: var(--muted); }
.pin::after { content: ''; width: 0; height: 0; border: 9px solid transparent; border-top: 12px solid var(--ink); }
.pin:hover .lab { translate: 0 -4px; background: var(--sun); }
.pin .tagx { position: absolute; top: -12px; right: -12px; }
.pin .tagx img { width: 34px; height: auto; }
.me-marker { position: absolute; translate: -50% -100%; z-index: 3; pointer-events: none; }
.me-marker img { height: 84px; animation: hop .5s steps(2) infinite; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .35)); }
.badgecase { display: flex; align-items: center; gap: 22px; margin-top: 24px; padding: 18px 24px; flex-wrap: wrap; }
.badgecase b { font: 24px/1 var(--px); -webkit-font-smoothing: none; margin-right: 6px; }
.badgecase figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.badgecase img { width: 72px; height: auto; }
.badgecase img.off { filter: grayscale(1) brightness(1.3); opacity: .35; }
.badgecase figcaption { font: 12px/1 var(--px); -webkit-font-smoothing: none; color: var(--muted); }

/* 5. 猫总 */
.boss-sec { position: relative; padding: 100px 0 0; background: #141A33; color: var(--paper); overflow: hidden; }
.boss-sec::before { content: ''; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 24px 24px; }
.boss-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.boss-copy { padding-bottom: 100px; }
.boss-sec .kicker { color: var(--sun); }
.quip { margin-top: 26px; padding: 18px 22px; min-height: 76px; color: var(--ink); font-size: 24px; line-height: 1.5; }
.boss-note { color: rgba(255, 253, 246, .75); margin: 18px 0 26px; }
.boss-art { padding: 0; background: none; border: 0; justify-self: end; }
.boss-art img { display: block; height: 560px; width: auto; transition: translate .1s; }
.boss-art:active img { translate: 0 6px; }

.foot { padding: 36px 0 50px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; align-items: center; gap: 12px; }

/* 选搭档 */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(20, 24, 40, .6); }
.modal[hidden] { display: none; }
.modal .box { width: min(860px, 100%); max-height: 92vh; overflow: auto; padding: 28px; }
.modal h3 { margin: 0 0 6px; font: 36px/1.2 var(--px); -webkit-font-smoothing: none; }
.modal > .box > p { margin: 0 0 20px; color: var(--muted); }
.starters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.starter { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 16px; background: #fff; border: 3px solid #C9D3EA; border-radius: 6px; }
.starter:hover, .starter:focus-visible { outline: none; border-color: var(--line); translate: 0 -3px; }
.starter img { height: 96px; animation: bob 1.6s steps(2) infinite; }
.starter b { font: 24px/1.3 var(--px); -webkit-font-smoothing: none; }
.starter span { font: 12px/1.4 var(--px); color: var(--muted); -webkit-font-smoothing: none; text-align: center; }

/* 学习地图页 */
.trainer { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; padding: 22px 26px; margin: 36px 0 10px; }
.trainer .me img { height: 120px; animation: bob 1.6s steps(2) infinite; }
.trainer h2 { margin: 0; font: 36px/1.2 var(--px); -webkit-font-smoothing: none; }
.trainer .meta { font: 12px/1.6 var(--px); color: var(--muted); -webkit-font-smoothing: none; }
.xp { height: 14px; margin: 10px 0 6px; background: #E2E4EE; border: 3px solid var(--line); }
.xp span { display: block; height: 100%; width: 0; background: #48A0F8; transition: width .8s steps(16); }
.forms { display: flex; gap: 8px; margin-top: 8px; align-items: flex-end; }
.forms img { height: 40px; opacity: .25; filter: grayscale(1); }
.forms img.got { opacity: 1; filter: none; }

.area { margin-top: 46px; }
.area-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.area-head h3 { margin: 0; font: 36px/1.2 var(--px); -webkit-font-smoothing: none; }
.area-head p { margin: 0; color: var(--muted); }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ls { position: relative; display: block; text-align: left; padding: 16px 18px 18px; background: #fff; border: 3px solid var(--line); border-radius: 6px; box-shadow: 0 4px 0 var(--line); transition: translate .1s, box-shadow .1s; }
.ls:hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--line); }
.ls small { font: 12px/1 var(--px); color: var(--muted); -webkit-font-smoothing: none; }
.ls b { display: block; margin: 8px 0 6px; font: 24px/1.35 var(--px); -webkit-font-smoothing: none; }
.ls p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.ls.done { background: #F0F8EA; }
.ls.done::after { content: '✓ 已学'; position: absolute; right: 12px; top: 12px; font: 12px/1 var(--px); color: #fff; background: var(--t1); padding: 4px 6px; border-radius: 3px; }
.ls.soon { opacity: .6; box-shadow: 0 4px 0 #9A9CB0; border-color: #9A9CB0; }

/* 课程面板 */
.lesson { position: fixed; inset: 0; z-index: 70; overflow: auto; background: rgba(20, 24, 40, .55); padding: 30px 16px; }
.lesson[hidden] { display: none; }
.lesson > .box { max-width: 820px; margin: 0 auto; padding: 30px 34px 36px; }
.l-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lesson h2 { margin: 12px 0 18px; font: 36px/1.3 var(--px); -webkit-font-smoothing: none; }
.say { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: end; margin-bottom: 26px; }
.say img { height: 96px; transform: scaleX(-1); }
.bubble { position: relative; padding: 16px 20px; background: #fff; border: 3px solid var(--line); border-radius: 6px; font-size: 18px; line-height: 1.8; }
.bubble::before { content: ''; position: absolute; left: -14px; bottom: 18px; border: 7px solid transparent; border-right: 8px solid var(--line); }
.l-sec { margin-top: 26px; }
.l-sec h4 { margin: 0 0 10px; font: 24px/1.3 var(--px); -webkit-font-smoothing: none; }
.l-body dt { font-weight: 600; margin-top: 12px; }
.l-body dd { margin: 2px 0 0; color: #3E4258; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp div { padding: 14px 16px; border: 3px solid; border-radius: 6px; white-space: pre-line; font-size: 16px; line-height: 1.7; }
.cmp .bad { border-color: #E8A098; background: #FFF4F2; }
.cmp .good { border-color: #8CCB86; background: #F2FBF0; }
.cmp i { display: block; font: normal 12px/1.6 var(--px); margin-bottom: 6px; -webkit-font-smoothing: none; }
.cmp .bad i { color: var(--red); } .cmp .good i { color: #2E8A3A; }
.note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.try pre { margin: 10px 0 0; padding: 16px; background: #26283A; color: #F2F2F6; border-radius: 6px; white-space: pre-wrap; font: 15px/1.7 var(--cn); }
.try .row { display: flex; gap: 10px; margin-top: 10px; }
.quiz .opt { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 10px 14px; background: #fff; border: 3px solid #C9D3EA; border-radius: 6px; font-size: 16px; }
.quiz .opt:hover { border-color: var(--line); }
.quiz .opt.right { border-color: #58B868; background: #F2FBF0; }
.quiz .opt.wrong { border-color: #E8A098; background: #FFF4F2; }
.quiz .why { margin: 12px 0 0; padding: 12px 14px; background: #FFF8DA; border-left: 6px solid var(--sun); }
.l-end { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gain { font: 24px/1 var(--px); color: #2E8A3A; -webkit-font-smoothing: none; }

/* 进化动画 */
.evolve { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: #F8F8F0; }
.evolve[hidden] { display: none; }
.evolve .stage { position: relative; width: 260px; height: 260px; margin: 0 auto; display: grid; place-items: center; }
.evolve .stage img { position: absolute; height: 200px; }
.evolve .stage img.white { filter: brightness(0) invert(1) drop-shadow(0 0 0 #fff); }
.evolve .stage.go img.a { animation: evoA 2.6s steps(1) forwards; }
.evolve .stage.go img.b { animation: evoB 2.6s steps(1) forwards; }
@keyframes evoA { 0%, 10%, 30%, 46%, 60%, 70%, 78%, 84%, 90% { opacity: 1; } 20%, 38%, 53%, 65%, 74%, 81%, 87%, 94%, 100% { opacity: 0; } }
@keyframes evoB { 0%, 10%, 30%, 46%, 60%, 70%, 78%, 84%, 90% { opacity: 0; } 20%, 38%, 53%, 65%, 74%, 81%, 87%, 94%, 100% { opacity: 1; } }
.evolve .glow { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 40%, transparent 70%); opacity: 0; }
.evolve .stage.go .glow { animation: glow 2.6s steps(6) 1; }
@keyframes glow { 40%, 80% { opacity: 1; } }
.evolve .msg b { white-space: nowrap; }
.evolve .msg { width: min(640px, 92vw); margin-top: 18px; padding: 18px 22px; font: 24px/1.6 var(--px); -webkit-font-smoothing: none; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; translate: -50% 0; padding: 10px 18px; background: var(--ink); color: #fff; font: 12px/1.4 var(--px); border-radius: 4px; -webkit-font-smoothing: none; }
.toast[hidden] { display: none; }

@media (max-width: 960px) {
  .lessons { grid-template-columns: 1fr 1fr; }
  .big { font-size: 48px; }
  .ts-title { font-size: 84px; }
  .podiums .pod img { height: 110px; }
  .boss-art img { height: 420px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav nav { display: none; }
  .chip { margin-left: auto; }
  .sec { padding: 56px 0; }
  .sec-head { display: block; } .sec-head h2 { font-size: 24px; } .sec-head p { margin-top: 8px; }
  .starters { grid-template-columns: 1fr 1fr; }
  .lessons { grid-template-columns: 1fr; }
  .big { font-size: 36px; } .kicker { font-size: 12px; } .lead { font-size: 16px; }
  .ts-title { font-size: 60px; } .ts-sub { font-size: 24px; } .press { font-size: 24px; } .crest-big { width: 144px; }
  .parade img { height: 64px; } .parade div { gap: 12px; }
  .starter-sec, .enc-sec, .map-sec { padding: 64px 0; }
  .podiums { grid-template-columns: repeat(5, 1fr); gap: 2px; } .podiums .pod img { height: 60px; } .pod b { font-size: 12px; } .pod small { display: none; } .pod .base { height: 16px; margin-top: -8px; }
  .pdetail { grid-template-columns: 1fr; padding: 20px; gap: 10px; } .pdetail .bigmon { height: 150px; } .pdetail h3 { font-size: 24px; } .pdetail .say { font-size: 12px; }
  .arena { height: 300px; } .ar-foe { height: 150px; bottom: 132px; right: 6%; } .ar-pad.foe { top: 150px; height: 40px; width: 46%; right: 2%; } .ar-me { height: 120px; left: 6%; } .ar-hud { font-size: 12px; top: 14px; width: 52%; padding: 8px 10px; }
  .ar-text { padding: 18px; } .ar-q { font-size: 16px; } .ar-ask { font-size: 12px; } .ar-opts .btn { min-width: 0; flex: 1; font-size: 18px; }
  .pin .lab { font-size: 12px; padding: 2px 6px; border-width: 2px; } .pin .lab small { display: none; } .pin .tagx img { width: 20px; } .me-marker img { height: 44px; }
  .badgecase { gap: 10px; padding: 14px; } .badgecase img { width: 44px; } .badgecase b { width: 100%; font-size: 12px; }
  .boss-sec { padding-top: 64px; } .boss-in { grid-template-columns: 1fr; } .boss-copy { padding-bottom: 0; } .boss-art { justify-self: center; } .boss-art img { height: 300px; } .quip { font-size: 18px; }
  .trainer { grid-template-columns: 90px 1fr; padding: 16px; } .trainer .me img { height: 84px; } .trainer h2 { font-size: 24px; }
  .area-head { display: block; } .area-head h3 { font-size: 24px; }
  .lesson { padding: 0; } .lesson > .box { border-radius: 0; min-height: 100%; padding: 20px 18px 30px; }
  .lesson h2 { font-size: 24px; }
  .say { grid-template-columns: 64px 1fr; } .say img { height: 64px; }
  .bubble { font-size: 16px; }
  .cmp { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ================= 首页 v4：通关攻略 ================= */
.overview { padding: 90px 0 70px; background: var(--cream); }
.ov-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 30px; }
.overview .badgecase { margin: 0; }
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 46px; align-items: start; padding-top: 30px; padding-bottom: 60px; }
.toc { position: sticky; top: 84px; padding: 16px 0; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-decoration: none; font: 24px/1.2 var(--px); -webkit-font-smoothing: none; border-left: 4px solid transparent; }
.toc a small { display: block; font-size: 12px; color: var(--muted); }
.toc a img { width: 30px; height: auto; }
.toc a img.off { filter: grayscale(1); opacity: .35; }
.toc a:hover, .toc a.on { background: var(--paper); border-left-color: var(--red); }
.chap { padding: 70px 0 30px; border-bottom: 3px dashed #CFC6AE; scroll-margin-top: 70px; }
.chap:last-child { border-bottom: 0; }
.c-banner { position: relative; height: 260px; border: 4px solid var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 8px 8px 0 rgba(38, 40, 58, .2); }
.c-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 22, 46, .72) 0 46%, rgba(16, 22, 46, 0) 80%); }
.c-banner .ct { position: absolute; z-index: 2; left: 30px; bottom: 26px; color: var(--paper); }
.c-banner .ct span { font: 24px/1 var(--px); color: var(--sun); -webkit-font-smoothing: none; }
.c-banner .ct h2 { margin: 10px 0 0; font: 72px/1.05 var(--px); -webkit-font-smoothing: none; text-shadow: 6px 6px 0 var(--ink); }
.c-banner .cbadge { position: absolute; z-index: 2; right: 24px; top: 22px; width: 96px; height: auto; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .45)); }
.c-banner .cbadge.off { filter: grayscale(1) brightness(1.4) drop-shadow(4px 4px 0 rgba(0, 0, 0, .45)); opacity: .5; }
.goal { display: flex; gap: 14px; align-items: center; margin: 24px 0 0; padding: 16px 20px; font-size: 18px; }
.goal b { flex: none; font: 24px/1 var(--px); color: var(--red); -webkit-font-smoothing: none; }
.blk { margin-top: 40px; }
.blk > h3 { margin: 0 0 16px; font: 36px/1.2 var(--px); -webkit-font-smoothing: none; display: flex; align-items: center; gap: 12px; }
.blk > h3 small { font-size: 12px; color: var(--muted); }
.steps { counter-reset: st; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 16px 18px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 4px 0 var(--ink); }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 56px; height: 56px; font: 36px/1 var(--px); color: #fff; background: var(--navy); border: 3px solid var(--ink); -webkit-font-smoothing: none; }
.steps b { display: block; font: 24px/1.35 var(--px); -webkit-font-smoothing: none; }
.steps p { margin: 4px 0 0; color: #3E4258; }
.mons { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.mon-card { display: grid; grid-template-rows: auto auto 1fr auto; padding: 0 0 16px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 0 var(--ink); }
.mon-card .art { height: 170px; display: grid; place-items: end center; padding-bottom: 8px; background: linear-gradient(#F4F4E6 0 62%, #D9EAC0 62%); border-bottom: 3px solid var(--ink); }
.mon-card .art img { height: 140px; width: auto; transition: translate .12s; }
.mon-card:hover .art img { translate: 0 -6px; }
.mon-card b { margin: 12px 16px 0; font: 24px/1.2 var(--px); -webkit-font-smoothing: none; }
.mon-card p { margin: 6px 16px 0; font-size: 15px; line-height: 1.65; color: #3E4258; }
.mon-card .beat { margin: 10px 16px 0; padding: 8px 10px; font-size: 15px; line-height: 1.6; background: #F2FBF0; border-left: 5px solid #58B868; }
.mon-card .beat i { font: normal 12px/1 var(--px); color: #2E8A3A; display: block; margin-bottom: 4px; -webkit-font-smoothing: none; }
.moves-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mv { padding: 16px 18px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 4px 0 var(--ink); }
.mv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mv b { font: 24px/1.2 var(--px); -webkit-font-smoothing: none; }
.mv .when { font: 12px/1.4 var(--px); color: var(--muted); -webkit-font-smoothing: none; }
.mv pre { margin: 10px 0 10px; padding: 12px 14px; background: var(--ink); color: #F2F2F6; border-radius: 4px; white-space: pre-wrap; font: 15px/1.7 var(--cn); }
.checks { display: grid; gap: 10px; }
.ck { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; cursor: pointer; font-size: 17px; user-select: none; }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck .bx { flex: none; width: 28px; height: 28px; border: 3px solid var(--ink); background: #fff; display: grid; place-items: center; font: 24px/1 var(--px); color: #fff; }
.ck.on { background: #F2FBF0; }
.ck.on .bx { background: #58B868; }
.ck.on .bx::after { content: '✓'; font-size: 18px; }
.got { margin-top: 14px; display: none; align-items: center; gap: 16px; padding: 14px 18px; font: 24px/1.3 var(--px); -webkit-font-smoothing: none; }
.got.on { display: flex; animation: stamp .5s steps(4) 1; }
.got img { width: 64px; height: auto; }
@keyframes stamp { from { transform: scale(1.6); opacity: 0; } }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { padding: 8px 12px; background: var(--paper); border: 3px solid var(--ink); border-radius: 4px; text-decoration: none; font-size: 15px; }
.related a:hover { background: var(--sun); }
.related a.done { background: #F2FBF0; }
.c-practice .arena { margin-top: 0; }
.boss-rounds { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: end; }
.boss-rounds ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.boss-rounds li { padding: 16px 18px; background: #1E2546; color: var(--paper); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 4px 0 var(--ink); }
.boss-rounds li b { display: block; font: 24px/1.3 var(--px); color: var(--sun); -webkit-font-smoothing: none; }
.boss-rounds li p { margin: 6px 0 0; color: rgba(255, 253, 246, .85); }
.boss-rounds .boss-art img { height: 360px; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.tool { padding: 16px 18px; background: #fff; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 0 4px 0 var(--ink); }
.tool small { font: 12px/1 var(--px); color: var(--muted); -webkit-font-smoothing: none; }
.tool b { display: block; margin: 6px 0 8px; font: 24px/1.2 var(--px); -webkit-font-smoothing: none; }
.tool p { margin: 0; font-size: 15px; line-height: 1.65; color: #3E4258; }
.tool p + p { margin-top: 6px; color: var(--muted); }
@media (max-width: 960px) {
  .guide { grid-template-columns: 1fr; gap: 0; }
  .toc { position: sticky; top: 60px; z-index: 30; display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; margin: 0 -24px; padding-inline: 16px; background: var(--cream); border-bottom: 3px solid var(--ink); }
  .toc a { flex: none; font-size: 12px; padding: 6px 8px; border-left: 0; border-bottom: 3px solid transparent; }
  .toc a small { display: none; } .toc a img { width: 20px; }
  .toc a.on { border-bottom-color: var(--red); }
  .tools { grid-template-columns: 1fr 1fr; }
  .ov-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .overview { padding: 56px 0 40px; }
  .chap { padding: 46px 0 24px; }
  .c-banner { height: 180px; } .c-banner .ct { left: 16px; bottom: 14px; } .c-banner .ct h2 { font-size: 36px; text-shadow: 4px 4px 0 var(--ink); } .c-banner .ct span { font-size: 12px; } .c-banner .cbadge { width: 56px; right: 12px; top: 12px; }
  .goal { flex-direction: column; align-items: flex-start; font-size: 16px; }
  .blk > h3 { font-size: 24px; }
  .steps li { grid-template-columns: 44px 1fr; padding: 12px; gap: 12px; } .steps li::before { width: 40px; height: 40px; font-size: 24px; } .steps b { font-size: 18px; }
  .moves-g, .tools { grid-template-columns: 1fr; }
  .boss-rounds { grid-template-columns: 1fr; } .boss-rounds .boss-art { justify-self: center; } .boss-rounds .boss-art img { height: 260px; }
  .toc { margin: 0 -16px; }
}
