:root{color-scheme:dark;--bg:#17141f;--panel:#261d30;--text:#fff5e4;--yellow:#ffcf65;--orange:#ff824a;--violet:#bd9fff;--line:#eac9de35;--muted:#beaabb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px 'Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.hidden{display:none!important}.shell{max-width:1600px;padding:0 4vw;margin:auto}.top{height:91px;display:flex;align-items:center;gap:25px}.brand>b{display:flex;align-items:center;font-size:30px;letter-spacing:-3px;font-style:italic;color:var(--yellow)}.brand b span{font-size:19px;letter-spacing:2px;margin-left:13px;color:var(--text);font-style:normal}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:2px}.edition{margin-left:auto;font-family:monospace;letter-spacing:2px;font-size:12px;color:var(--muted)}.edition span{color:var(--orange);margin-left:10px}.top-buttons{display:flex;gap:8px}.top-buttons button{min-width:39px;height:38px;border:1px solid var(--line);border-radius:7px;background:#ffffff06;font-size:21px}.top-buttons button span{font-size:12px;margin-left:6px;padding-right:5px}.cabinet{border:1px solid #a17e965f;border-radius:15px;overflow:hidden;box-shadow:0 25px 90px #0006}.stage{position:relative;height:min(71vw,720px);max-height:78dvh;min-height:440px;isolation:isolate;background:#362638;overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none}.overlay{position:absolute;inset:0;z-index:8}.start-panel{background:linear-gradient(90deg,#1b1229ed 0%,#1b1229ae 38%,#23192b00 83%)}.start-copy{position:absolute;left:6%;top:7%;z-index:1}.overline{font-size:12px;letter-spacing:2px;font-weight:750;color:var(--yellow)}h1{font-size:clamp(65px,7vw,102px);font-weight:950;line-height:1.06;letter-spacing:-3px;margin:18px 0 10px;transform:skew(-6deg);text-shadow:0 5px 0 #42273c}h1 em{font-style:normal;color:var(--yellow)}h1 em span{color:var(--orange)}.game-subtitle{letter-spacing:2px;font-size:12px;font-weight:800;margin:14px 0 16px;color:#ffb882}.intro{font-size:16px;line-height:1.7;margin:0 0 20px;color:#f2dfdd}.primary{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:15px 20px;min-height:53px;border:0;border-radius:7px;background:var(--yellow);color:#24192a;font-size:16px;font-weight:900;box-shadow:0 4px 0 #9a613d;transition:.15s}.primary:hover{background:#ffdf92}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #9a613d}#startButton{min-width:290px}.reward-ribbon{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#d2b3c9;margin-top:21px}.reward-ribbon strong{font-size:16px;color:#ffe5b4}.text-link{display:block;background:none;border:0;font-size:13px;color:#d9bed1;padding:13px 2px;text-align:center}.text-link:hover{color:var(--yellow)}.start-copy .text-link{text-align:left}.game-stamp{position:absolute;right:5%;top:9%;width:130px;height:151px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--orange);color:#291b2b;transform:rotate(9deg);border:2px solid #30203a;box-shadow:5px 5px 0 #30203a}.game-stamp small{font-size:12px;letter-spacing:4px}.game-stamp b{font-size:35px;line-height:1.04;margin:7px 0}.game-stamp span{font-size:9px;font-weight:bold;letter-spacing:1px}.start-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:27px;padding:17px 12px;background:#241a2dd9;border-top:1px solid var(--line);font-size:14px;font-weight:750}.start-bottom i{font-style:normal;color:var(--orange)}.game-footer{background:#231b2d;min-height:47px;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;font-size:11px;letter-spacing:1px;color:var(--muted)}.desktop-keys{letter-spacing:0}.mobile-tip{display:none}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 26px;font-size:12px;color:var(--muted)}.page-footer nav{display:flex;gap:20px}.hud{position:absolute;top:21px;left:23px;right:23px;display:flex;align-items:flex-start;gap:24px;z-index:3;pointer-events:none}.player-hud{width:260px;padding:12px 14px;background:#241b32d9;border:1px solid #fbd69e59;border-radius:7px}.hud-name{display:flex;justify-content:space-between;font-family:monospace;font-size:11px;color:#ddbfce}.hud-name b{font-family:inherit;color:#ffe7b8;font-size:14px}.hp-track{height:13px;background:#100c1dcc;border:1px solid #e9c5a460;border-radius:3px;margin:8px 0 4px;overflow:hidden}.hp-track i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#ff874d,#ffd06f);transition:width .1s}.rage-track{height:5px;background:#0b0a20b5;border-radius:3px;overflow:hidden}.rage-track i{display:block;height:100%;width:0;background:#c6a0ff}.hud-sub{display:flex;justify-content:space-between;font-size:11px;margin-top:8px;color:#e0c3d6}.district{margin:10px auto 0;text-align:center;text-shadow:0 2px 5px #150b1c}.district>span{display:block;font-size:20px;font-weight:950;color:#fff0cc}.district small{display:block;font-size:11px;color:#f5d2d3;margin-top:6px}.time-hud{display:flex;flex-direction:column;gap:8px;align-items:flex-end;background:#231831b9;padding:12px;border-radius:6px}.time-hud b{font-family:monospace;font-size:22px}.time-hud span{font-family:monospace;font-size:12px;color:#ffcb7b}.combo{position:absolute;left:3%;top:30%;z-index:4;display:flex;flex-direction:column;transform:rotate(-7deg);text-shadow:3px 3px 0 #342041;pointer-events:none}.combo b{font-size:55px;font-family:monospace;font-weight:1000;color:#ffda80;line-height:1}.combo span{font-size:14px;font-weight:950;letter-spacing:2px;color:var(--orange)}.boss-hud{position:absolute;top:126px;left:27%;right:15%;z-index:4;text-shadow:0 2px 5px #1b1024}.boss-hud>span{display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:950}.boss-hud small{font-size:12px;color:#ffc4c8}.boss-hud>div{height:13px;padding:2px;border:1px solid #f3b9ee;border-radius:4px;background:#25122cdc;margin-top:7px}.boss-hud i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#fe778d,#bf97ff);transition:width .1s}.toast{position:absolute;z-index:20;left:50%;top:24%;transform:translate(-50%,-8px);max-width:90%;padding:12px 21px;background:#2b203beF;border:1px solid #f7c9927d;border-radius:7px;font-size:16px;font-weight:750;color:#ffe1a2;opacity:0;pointer-events:none;transition:.2s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.touch{position:absolute;bottom:18px;left:24px;right:24px;z-index:5;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none;user-select:none}.joystick{width:124px;height:124px;background:#29203790;border:2px solid #f5d5c854;border-radius:50%;position:relative;pointer-events:auto;touch-action:none}.joystick>span{position:absolute;font-size:14px;color:#f7d7cf88}.joy-up{top:5px;left:52px}.joy-down{bottom:5px;left:52px}.joy-left{left:7px;top:51px}.joy-right{right:7px;top:51px}.joystick i{position:absolute;left:33px;top:33px;width:54px;height:54px;background:#e8c2ac80;border:2px solid #fff0dba1;border-radius:50%;box-shadow:0 5px 15px #1d122958;pointer-events:none}.touch-actions{display:grid;grid-template-columns:63px 72px 85px;grid-template-rows:60px 68px;gap:8px;align-items:center}.action{pointer-events:auto;touch-action:none;border-radius:50%;border:2px solid #ffedc8a6;background:#4c3449b5;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#ffecc7;width:64px;height:64px;box-shadow:0 5px 0 #170d2740;gap:3px}.action b{font-size:25px;line-height:1}.action span{font-size:11px;font-weight:800}.action:active,.action.pressed{transform:scale(.93);filter:brightness(1.3)}.attack{grid-column:3;grid-row:1/3;align-self:end;width:85px;height:85px;background:#ffd16ae6;color:#2c1732}.attack b{font-size:31px}.jump{grid-column:2;grid-row:2;background:#ff935bd9;color:#281a30;width:72px;height:72px}.item{grid-column:2;grid-row:1;width:59px;height:59px}.item.ready{box-shadow:0 0 20px #ffc15e9c;border-color:#ffe3a5}.special{grid-column:1;grid-row:2;background:#9273cbb8;color:#f7e8ff}.special.ready{background:#bf9aff;box-shadow:0 0 20px #bd9cff76;color:#22112b}.pause-panel{display:grid;place-items:center;background:#201626bd;backdrop-filter:blur(8px)}.panel-card{width:min(450px,90%);padding:30px;border:1px solid var(--line);border-radius:15px;background:#2b2035;box-shadow:0 20px 80px #0005;text-align:center}.panel-card h2{font-size:29px;margin:15px 0 10px}.panel-card p{color:#d5bbce;font-size:15px;line-height:1.6}.panel-card .primary{width:100%}.control-guide{display:grid;grid-template-columns:1fr 1fr;gap:11px;text-align:left;font-size:12px;margin:20px 0;color:#ead7e5}.control-guide span:first-child{grid-column:1/-1}kbd{padding:3px 5px;border:1px solid #bd9ab766;border-radius:4px;font-size:11px;display:inline-block}.story{background:linear-gradient(90deg,#301d3c70,#512b4766)}.cinematic{position:absolute;inset:0;background:url('/assets/captive-v3.png') center/cover}.story-shade{position:absolute;inset:0;background:linear-gradient(0deg,#171322ba,transparent 65%)}.teacher-portrait{position:absolute;width:min(42%,480px);aspect-ratio:1;right:4%;top:9%;border:6px solid #fff2e4;border-radius:10px;box-shadow:9px 10px 0 #f0a38544,0 15px 60px #20152a66;transform:rotate(2deg);overflow:hidden;background:#fff}.teacher-portrait>div{width:100%;height:100%;background:url('/assets/teacher-half-v3.png') 0% 0% / 300% 200%}.teacher-portrait>small{position:absolute;right:0;bottom:0;background:#ffcb71;color:#382133;font-size:12px;font-weight:900;padding:8px 14px;letter-spacing:2px}.story-top{position:absolute;left:25px;right:25px;top:23px;display:flex;justify-content:space-between;gap:15px;color:#ffdfac;text-shadow:0 2px 8px #24142b;font-size:13px;font-weight:800;letter-spacing:1px}.story-top b{padding:8px 12px;border:1px solid #ffd4cc73;border-radius:20px;background:#2f193fcc}.story-top b:empty{display:none}.dialogue-card{position:absolute;left:4%;bottom:5%;width:64%;padding:32px 26px 21px;border:1px solid #ffceaa99;border-radius:11px;background:linear-gradient(120deg,#30203ef5,#211b33fa);box-shadow:0 15px 70px #160d2999}.speaker{position:absolute;left:21px;top:-22px;display:flex;align-items:center;gap:13px;background:var(--orange);color:#291829;border:1px solid #ffcfb1;border-radius:6px;padding:9px 18px;transform:rotate(-1deg)}.speaker b{font-size:20px}.speaker span{font-size:12px;font-weight:800}.dialogue-card>p{font-size:21px;line-height:1.7;margin:8px 0 21px;font-weight:650;min-height:72px}.dialogue-card>.primary{width:100%;min-height:43px;padding:10px 18px;font-size:15px}.answers{display:grid;gap:9px}.answer{padding:12px 14px;border:1px solid #c9a0c2aa;border-radius:7px;background:#8d668b19;color:#fceae4;text-align:left;font-size:16px;display:flex;gap:12px;align-items:center}.answer:hover{border-color:var(--yellow);background:#e5aa691c}.answer b{font-family:monospace;font-size:12px;border:1px solid #a78ba46b;border-radius:3px;padding:4px 7px;color:#ffd290}.dialogue-card .dialogue-hint{font-size:16px;color:#ffd5a7;min-height:0;line-height:1.6;border-top:1px solid var(--line);padding-top:13px}.claim-panel{overflow:auto;padding:30px 20px;background:#191124d9;backdrop-filter:blur(12px)}.claim-card{width:min(565px,100%);margin:auto;border:1px solid #e2b49875;background:#2b2034;border-radius:14px;padding:28px;box-shadow:0 15px 60px #0005}.claim-card h2{font-size:30px;line-height:1.35;margin:14px 0 20px;letter-spacing:-1px}.claim-prize{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 8px;background:#e09b5421;border-top:1px solid #b687596b;border-bottom:1px solid #b687596b;color:#ffe0a1;font-size:15px}.claim-prize>span{margin:0 4px;color:#bba2b2}.code-box{margin:21px 0;padding:14px;border:1px dashed #e8c59180;border-radius:8px;display:grid;grid-template-columns:1fr auto;gap:7px}.code-box small{grid-column:1/-1;color:#bea6bc;font-size:12px}.code-box strong,.voucher-code{font-family:monospace;letter-spacing:2px;font-size:22px;color:#ffe0a0}.code-box button{border:1px solid var(--line);background:#62435e61;border-radius:4px;font-size:12px;padding:4px 9px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;margin:0 0 15px}input,select{width:100%;padding:12px;border:1px solid #ab899e70;border-radius:6px;background:#1e1728;color:#fceee4;min-height:46px;font-size:16px}input::placeholder{color:#917d93}.consent{flex-direction:row;align-items:flex-start;font-size:13px;font-weight:400;line-height:1.7;gap:10px}.consent input{width:17px;height:17px;min-height:0;flex-shrink:0;margin:3px 0;accent-color:var(--orange)}.privacy-note{font-size:12px;color:#b7a0b1;line-height:1.65;margin:0 0 13px}.form-error{color:#ffb0b5;font-size:14px;line-height:1.6;min-height:0}.form-error:empty{display:none}.claim-card .primary{width:100%;font-size:15px}.voucher-card{text-align:center}.ticket-icon{font-size:54px;color:var(--yellow);margin:15px}.voucher-code{display:block;margin:24px 0}.voucher-card dl{display:grid;grid-template-columns:auto 1fr;text-align:left;gap:13px;font-size:15px;padding:19px;background:#17102149;border-radius:8px}.voucher-card dt{color:#bca5bb}.voucher-card dd{margin:0;text-align:right}.voucher-card>p{font-size:14px;color:#d4bdd0;line-height:1.75}.voucher-card h2{font-size:29px}.error-banner{position:fixed;z-index:50;bottom:20px;left:50%;transform:translateX(-50%);background:#633647;border:1px solid #ffbec4;border-radius:7px;padding:14px 22px;max-width:90%;font-size:14px}
@media(max-width:1000px){.shell{padding:0 2.5vw}.top{height:75px}.stage{height:70vw;min-height:430px}.start-copy{top:6%}h1{font-size:70px;margin:15px 0 10px}.intro{font-size:14px;margin-bottom:15px}.reward-ribbon{margin-top:14px}.game-subtitle{font-size:10px}.start-bottom{font-size:12px;padding:14px}.game-stamp{width:100px;height:120px}.game-stamp b{font-size:28px}.game-stamp small{font-size:10px}.player-hud{width:220px}.district>span{font-size:17px}.boss-hud{left:30%;right:10%}.dialogue-card{width:67%;padding:27px 21px 17px}.dialogue-card>p{font-size:18px}.teacher-portrait{width:44%;right:3%;top:13%}.page-footer{font-size:11px}.page-footer nav{gap:12px}}
@media(max-width:600px) and (orientation:portrait){.shell{padding:0 10px}.top{height:75px;gap:10px}.brand>b{font-size:25px}.brand b span{font-size:16px;letter-spacing:1px;margin-left:8px}.brand small{font-size:8px;letter-spacing:1.2px}.edition{display:none}.top-buttons{margin-left:auto;gap:5px}.top-buttons button{height:33px;min-width:33px;font-size:19px}.top-buttons button span{display:none}.stage{height:calc(100dvh - 157px);min-height:530px;max-height:none}.cabinet{border-radius:11px}.start-copy{left:6%;top:6%}h1{font-size:65px;letter-spacing:-2px}.overline{font-size:10px;letter-spacing:1px}.game-subtitle{font-size:10px;letter-spacing:1px}.intro{font-size:14px}.start-copy .primary{min-width:225px;font-size:15px}.reward-ribbon strong{font-size:14px}.start-copy .text-link{font-size:12px}.game-stamp{right:5%;top:59%;width:75px;height:93px}.game-stamp b{font-size:23px}.game-stamp small{font-size:8px}.game-stamp span{font-size:6px}.start-bottom{font-size:10px;gap:9px;padding:17px 8px}.start-bottom i{font-size:10px}.game-footer{font-size:8px;letter-spacing:.4px;padding:11px}.desktop-keys{display:none}.mobile-tip{display:inline;font-size:10px}.page-footer{font-size:10px;margin:14px 0;align-items:flex-start}.page-footer>span{max-width:66%;line-height:1.6}.page-footer nav{gap:9px;flex-shrink:0}.hud{top:13px;left:12px;right:12px;gap:9px}.player-hud{width:195px;padding:9px 10px}.hud-name{font-size:9px}.hud-name b{font-size:12px}.hud-sub{font-size:10px}.district{position:absolute;top:97px;left:0;margin:0;text-align:left}.district>span{font-size:14px}.district small{font-size:10px}.time-hud{margin-left:auto;padding:9px}.time-hud b{font-size:17px}.time-hud span{font-size:10px}.boss-hud{top:156px;left:13px;right:13px}.boss-hud>span{font-size:13px}.boss-hud small{font-size:10px}.combo{top:33%;left:4%}.combo b{font-size:40px}.combo span{font-size:11px}.touch{bottom:16px;left:13px;right:13px}.joystick{width:101px;height:101px}.joystick i{width:45px;height:45px;left:26px;top:26px}.joy-up,.joy-down{left:41px}.joy-left,.joy-right{top:41px}.touch-actions{grid-template-columns:49px 52px 64px;grid-template-rows:47px 52px;gap:5px}.action{width:48px;height:48px}.action b{font-size:21px}.action span{font-size:9px}.attack{width:64px;height:64px}.attack b{font-size:25px}.jump{width:54px;height:54px}.item{width:47px;height:47px}.toast{font-size:13px;top:26%;padding:10px 13px;min-width:200px}.teacher-portrait{width:75%;top:10%;right:5%;border-width:4px}.story-top{top:16px;left:16px;right:16px;font-size:11px;letter-spacing:0}.story-top b{padding:7px 10px}.dialogue-card{width:92%;left:4%;bottom:3%;padding:27px 17px 15px}.dialogue-card>p{font-size:17px;line-height:1.6;margin:8px 0 15px;min-height:58px}.speaker{top:-18px;left:14px;padding:7px 13px;gap:10px}.speaker b{font-size:18px}.speaker span{font-size:11px}.answer{font-size:14px;padding:10px 11px;gap:9px}.answer b{font-size:11px;padding:3px 5px}.answers{gap:7px}.dialogue-card>.primary{font-size:14px}.dialogue-card .dialogue-hint{font-size:14px}.teacher-portrait>small{font-size:10px;padding:7px 10px}.claim-panel{padding:18px 10px}.claim-card{padding:22px 17px}.claim-card h2{font-size:26px}.claim-prize{font-size:13px;gap:5px}.form-row{grid-template-columns:1fr;gap:0}.code-box strong{font-size:17px;letter-spacing:1px}.code-box{padding:12px}.code-box button{font-size:11px}.claim-card .primary{font-size:14px;gap:8px}.voucher-code{font-size:19px;letter-spacing:1px}.voucher-card h2{font-size:24px}.voucher-card dl{font-size:13px;padding:15px}.voucher-card>p{font-size:13px}.control-guide{font-size:11px}.panel-card{padding:24px}.panel-card h2{font-size:25px}}
@media(max-height:600px) and (orientation:landscape){.shell{padding:0}.top,.game-footer,.page-footer{display:none}.cabinet{border:0;border-radius:0}.stage{height:100dvh;min-height:0;max-height:none}.start-copy{top:5%;left:6%}.overline{font-size:10px}h1{font-size:clamp(39px,12dvh,64px);margin:9px 0}.game-subtitle{font-size:10px;margin:8px 0}.intro{font-size:13px;line-height:1.5;margin:8px 0 12px}.intro br{display:none}#startButton{min-width:245px;min-height:43px;font-size:14px;padding:10px 16px}.reward-ribbon{margin-top:12px;flex-direction:row;align-items:center;gap:9px;font-size:10px}.reward-ribbon strong{font-size:13px}.start-copy .text-link{font-size:11px;padding:10px 0}.start-bottom{padding:11px;font-size:11px;gap:25px}.game-stamp{top:8%;width:86px;height:108px}.game-stamp b{font-size:26px}.game-stamp small{font-size:9px}.game-stamp span{font-size:7px}.hud{top:13px;left:18px;right:18px;gap:20px}.player-hud{padding:8px 10px;width:220px}.hud-name{font-size:9px}.hud-name b{font-size:12px}.hp-track{height:10px;margin:6px 0 4px}.hud-sub{font-size:10px;margin-top:6px}.district>span{font-size:16px}.district small{font-size:10px}.time-hud{padding:8px}.time-hud b{font-size:18px}.time-hud span{font-size:10px}.boss-hud{top:83px;left:32%;right:14%}.boss-hud>span{font-size:13px}.boss-hud small{font-size:10px}.boss-hud>div{height:10px;margin-top:5px}.touch{bottom:12px;left:21px;right:21px}.joystick{width:98px;height:98px}.joystick i{width:44px;height:44px;left:25px;top:25px}.joy-up,.joy-down{left:40px}.joy-left,.joy-right{top:39px}.touch-actions{grid-template-columns:49px 55px 72px;grid-template-rows:47px 54px;gap:6px}.action{width:50px;height:50px}.action b{font-size:21px}.action span{font-size:10px}.attack{width:72px;height:72px}.attack b{font-size:26px}.jump{width:57px;height:57px}.item{width:49px;height:49px}.combo b{font-size:37px}.combo span{font-size:11px}.toast{font-size:14px;padding:10px 16px}.teacher-portrait{width:36%;top:7%;right:4%}.story-top{top:12px;left:23px;right:23px;font-size:11px}.story-top b{padding:7px 12px}.dialogue-card{width:65%;left:4%;bottom:5%;padding:22px 19px 14px}.dialogue-card>p{font-size:16px;line-height:1.6;min-height:45px;margin:4px 0 12px}.speaker{top:-17px;padding:6px 14px}.speaker b{font-size:17px}.speaker span{font-size:10px}.answers{gap:6px}.answer{font-size:14px;padding:8px 11px;gap:8px}.answer b{font-size:10px;padding:3px 5px}.dialogue-card>.primary{padding:8px 16px;min-height:37px;font-size:13px}.dialogue-card .dialogue-hint{font-size:13px;margin:8px 0 12px;padding-top:9px;min-height:0}.teacher-portrait>small{font-size:9px;padding:6px 10px}.claim-panel{padding:20px}.claim-card{padding:23px}.panel-card{padding:20px;max-width:470px}.panel-card h2{font-size:24px;margin:10px 0}.panel-card p{font-size:13px;margin:8px 0}.control-guide{margin:13px 0;font-size:11px;gap:8px}.panel-card .primary{padding:10px 17px;min-height:43px}.panel-card .text-link{padding:10px}.cinematic{background-position:center}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.pause-game{pointer-events:auto;border:1px solid #eac9de55;background:#241a2bcc;border-radius:5px;font-size:12px;padding:7px 10px;min-height:36px}.pause-settings{display:flex;justify-content:center;gap:25px}.pause-settings .text-link{padding:5px 0;font-size:12px}.pause-panel{overflow:auto;padding:12px}.stage:fullscreen{width:100vw;height:100dvh;max-height:none;min-height:0}
/* Dialogue staging keeps the complete upper body inside each portrait. */
.startup-error{position:absolute;inset:12%;z-index:40;background:#261a30f5;border:2px solid #ffce75;border-radius:14px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px;gap:16px}.startup-error b{font-size:25px}.startup-error p{font-size:16px;line-height:1.6;max-width:420px}.startup-error .primary{min-width:200px}
.cast-stage{position:absolute;top:54px;bottom:215px;left:4%;right:4%;display:flex;align-items:center;justify-content:space-around;gap:20px;pointer-events:none}.story .cast-portrait{position:relative;top:auto;right:auto;left:auto;width:auto;height:min(100%,350px);aspect-ratio:1;max-width:46%;border:4px solid #eddad4;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 35px #160d294f;transform:translateY(9px) scale(.94);opacity:.66;transition:transform .24s,opacity .24s,border-color .24s}.story .cast-portrait.speaking{transform:translateY(0) scale(1);opacity:1;border-color:#ffd17d;box-shadow:0 0 0 3px #ffb04b28,0 12px 45px #160d295c}.story .cast-face{width:100%;height:100%;background-size:300% 200%;background-repeat:no-repeat}.story #teacherFace{background-image:url('/assets/teacher-half-v3.png');background-position:0 0}.story #heroFace{background-image:url('/assets/hero-portraits-v54-a.png');background-position:0 0}.story .cast-portrait>small{position:absolute;bottom:0;right:0;left:0;text-align:center;padding:7px 10px;background:#261a30e6;color:#ffdda1;font-size:13px;font-weight:750}.story .dialogue-card{width:92%;left:4%;bottom:3%;padding:25px 23px 18px}.story .dialogue-card>p{min-height:45px;margin:9px 0 13px;line-height:1.6}.story .dialogue-card>.primary{min-height:45px;padding:10px 18px;min-width:190px}.story.quiz-scene .cast-stage{bottom:295px}.story.quiz-scene .dialogue-card{padding:22px 22px 15px}.cinematic{background-image:url('/assets/captive-v3.png')}.player-hud{position:relative;padding-left:65px!important;width:290px}#heroAvatar{position:absolute;left:9px;top:14px;width:46px;height:53px;border:1px solid #ffd59288;border-radius:5px;background:#fff url('/assets/hero-portraits-v54-a.png') 0 0/300% 200%;overflow:hidden}
@media(max-width:600px) and (orientation:portrait){.cast-stage{top:48px;bottom:240px;left:4%;right:4%;display:block}.story .cast-portrait{position:absolute;right:0;left:auto;top:0;width:min(79%,310px);max-width:none;height:auto;transform:none;opacity:1}.story .cast-portrait:not(.speaking){width:29%;left:0;right:auto;top:9px;opacity:.78;z-index:0}.story .cast-portrait.speaking{z-index:1;transform:none}.story .cast-portrait>small{font-size:12px;padding:5px}.story .cast-portrait:not(.speaking)>small{display:none}.story .dialogue-card{padding:23px 16px 14px;bottom:3%}.story .dialogue-card>p{font-size:16px;min-height:40px}.story.quiz-scene .cast-stage{bottom:310px}.story.quiz-scene .dialogue-card{padding:22px 15px 14px}.story .dialogue-card>.primary{font-size:14px;min-height:44px;width:100%}.player-hud{width:218px;padding-left:57px!important}#heroAvatar{left:7px;top:10px;width:42px;height:53px}.hud-name{font-size:8px}.hud-name b{font-size:11px}.time-hud{padding:8px}.time-hud b{font-size:15px}.time-hud span{font-size:10px}.pause-game{padding:5px 7px;font-size:11px}.startup-error{inset:8%;padding:20px}.startup-error b{font-size:22px}.startup-error p{font-size:14px}}
@media(max-height:600px) and (orientation:landscape){.cast-stage,.story.quiz-scene .cast-stage{left:65%;right:2%;top:40px;bottom:16px;display:block}.story .cast-portrait{position:absolute;right:0;left:auto;top:0;width:min(100%,calc(100dvh - 75px));max-width:none;height:auto;opacity:1;transform:none}.story .cast-portrait.speaking{transform:none;z-index:1}.story .cast-portrait:not(.speaking){width:28%;left:-14%;right:auto;top:0;opacity:.8;z-index:0}.story .cast-portrait:not(.speaking)>small{display:none}.story .cast-portrait>small{font-size:12px;padding:5px}.story .dialogue-card,.story.quiz-scene .dialogue-card{width:58%;left:3%;bottom:5%;padding:22px 18px 13px}.story .dialogue-card>p{min-height:40px;font-size:15px;margin:5px 0 10px}.story .dialogue-card>.primary{min-height:39px;font-size:14px;padding:8px 15px}.story .speaker span{font-size:11px}.player-hud{width:245px;padding-left:61px!important}#heroAvatar{left:8px;top:10px;width:44px;height:53px}.time-hud{flex-direction:row;align-items:center;gap:12px}.pause-game{font-size:12px}.startup-error{inset:8% 18%;gap:8px;padding:18px}.startup-error p{margin:5px 0}.cinematic{background-position:center 35%}}
@media(prefers-reduced-motion:reduce){.story .cast-portrait{transition:none}}

.story #heroFace,#heroAvatar{background-size:600% 400%;background-position:10% 0%}#heroAvatar{height:46px}
@supports(width:1cqw){.cast-stage{container-type:size}.story .cast-portrait{width:min(40cqw,100cqh,350px);height:auto;max-width:none;flex-shrink:0}@media(max-width:600px) and (orientation:portrait){.story .cast-portrait.speaking{width:min(79cqw,100cqh,310px)}.story .cast-portrait:not(.speaking){width:29cqw}}@media(max-height:600px) and (orientation:landscape){.story .cast-portrait.speaking{width:min(100cqw,100cqh)}.story .cast-portrait:not(.speaking){width:28cqw}}}
/* Full viewport special cut-in: movement stays paused until the impact lands. */
.special-panel{position:absolute;inset:0;z-index:100;background:#071426;isolation:isolate;overflow:hidden;pointer-events:auto;display:grid;align-items:center;box-shadow:inset 0 0 0 5px #88dfff}.special-art{position:absolute;inset:-2%;background:url('/assets/unarmed-special-v5.png') center 38%/cover no-repeat;animation:special-lunge 1.8s cubic-bezier(.18,.7,.2,1) both}.special-copy{position:relative;z-index:1;margin-left:6%;width:47%;text-shadow:0 3px 14px #06101d,3px 3px 0 #06101d}.special-copy>span{font-size:clamp(11px,1.4vw,18px);letter-spacing:.16em;color:#afe8ff;font-weight:850}.special-copy h2{font-size:clamp(38px,7.5vw,116px);line-height:1.05;margin:16px 0;color:#fff1b2;font-weight:950;letter-spacing:-.07em;animation:special-title .3s ease-out both}.special-copy p{display:inline-block;background:#071426e8;border:1px solid #b2eaff;padding:10px 16px;color:#dbf6ff;font-size:clamp(12px,1.6vw,22px);margin:8px 0 20px}.special-copy strong{display:block;font-size:clamp(24px,3.5vw,52px);color:#fff;letter-spacing:.04em}.special-panel.artifact{box-shadow:inset 0 0 0 5px #ffdb61}.special-panel.artifact .special-copy h2{color:#ffde69}.special-panel.impact .special-art{filter:brightness(1.35)}.voice-note{font-size:11px!important;color:#b9a7bd;margin:12px 0 0!important}.hud-sub #weaponLabel{white-space:nowrap;font-size:11px}.action.item.ready{background:#ffe39b;color:#241426;border-color:#fff7ce;box-shadow:0 0 0 3px #ffca7e55}.special.ready{box-shadow:0 0 0 3px #ffe37f66,0 0 22px #ffb54b55}
@keyframes special-lunge{0%{transform:translateX(22%) scale(1.08);filter:brightness(.6)}20%{transform:translateX(0) scale(1);filter:brightness(1)}76%{transform:translateX(-1%) scale(1.04)}100%{transform:translateX(-4%) scale(1.18)}}
@keyframes special-title{from{opacity:0;transform:translateX(-50px) skewX(-8deg)}to{opacity:1;transform:translateX(0) skewX(-8deg)}}
@media(orientation:portrait){.special-art{background-size:auto 76%;background-position:67% 0}.special-copy{align-self:end;width:88%;margin:0 6% 13%;background:linear-gradient(0deg,#071426f0,#07142690 70%,transparent);padding-top:90px}.special-copy h2{font-size:clamp(44px,12vw,80px)}.special-copy strong{font-size:27px}.special-copy p{font-size:13px}.special-copy>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.special-art,.special-copy h2{animation:none!important;transform:none!important}.special-panel.impact .special-art{filter:none}}

.special-panel.artifact .special-art{background-image:url('/assets/golden-broom-special-v6.png')}.story.discovery-scene .story-top{color:#acffff}.story.discovery-scene .dialogue-card{border-color:#96f5f1;box-shadow:0 0 30px #69bbff33}.story.discovery-scene .cast-portrait.speaking{border-color:#91faff}

/* Incoming call opens the rescue; the teacher remains framed through the waist. */
.call-panel{display:flex;align-items:center;justify-content:center;gap:6%;background:radial-gradient(ellipse at 20% 30%,#353653e8,#110f20fa 75%);padding:6%}.call-portrait{width:min(42%,370px);aspect-ratio:1;background:#eee url('/assets/teacher-half-v3.png') 50% 0/300% 200% no-repeat;border:3px solid #eddbd8;border-radius:24px;box-shadow:0 20px 65px #0006}.call-copy{max-width:420px}.call-copy h2{font-size:clamp(32px,4.5vw,58px);margin:8px 0 13px;letter-spacing:.05em}.call-copy>p:not(.call-incoming){line-height:1.9;color:#dacbdc;font-size:15px}.call-incoming{color:#8ef3c3;font-size:13px;letter-spacing:.2em;margin-top:22px}.answer-call{display:flex;align-items:center;gap:17px;padding:12px 24px 12px 14px;border:1px solid #90f7c690;background:#206a50;border-radius:40px;font-size:16px;font-weight:800;margin-top:30px;box-shadow:0 0 0 8px #5ddbab0a}.answer-call b{display:grid;place-items:center;background:#96f5c6;color:#134938;border-radius:50%;width:49px;height:49px;font-size:29px;animation:phone-shiver 1.2s ease-in-out infinite}.call-status{position:absolute;right:4%;top:55px;z-index:3;font-size:12px;color:#a1efc9;background:#102b28e8;padding:9px 14px;border:1px solid #66bf9f66;border-radius:20px}.call-status i{display:inline-block;width:7px;height:7px;background:#7defb6;border-radius:50%;margin-right:7px}.phone-scene .cast-stage{top:85px}.story.phone-scene{background:linear-gradient(145deg,#1a3242ed,#261728eb)}.hud-sub #weaponLabel{font-size:10px;overflow:hidden;text-overflow:ellipsis;max-width:73%;display:inline-block;vertical-align:bottom}.page-footer nav{flex-wrap:wrap;justify-content:flex-end}
@keyframes phone-shiver{0%,40%,100%{transform:rotate(0)}10%,30%{transform:rotate(-13deg)}20%{transform:rotate(13deg)}}
@media(max-width:600px) and (orientation:portrait){.call-panel{flex-direction:column;gap:12px;padding:6% 7%;justify-content:center}.call-portrait{width:min(65%,240px);border-radius:18px}.call-copy{text-align:center}.call-copy .overline{font-size:10px}.call-copy h2{font-size:32px}.call-copy>p:not(.call-incoming){font-size:13px;line-height:1.6;margin:10px 0}.call-incoming{margin:10px 0;font-size:12px}.answer-call{margin:15px auto 0;font-size:15px;padding:9px 20px 9px 10px}.answer-call b{width:43px;height:43px}.call-status{top:45px;font-size:10px;padding:6px 10px}.phone-scene .cast-stage{top:77px}}
@media(max-height:600px) and (orientation:landscape){.call-panel{padding:5%}.call-portrait{width:min(35%,calc(100dvh - 60px))}.call-copy h2{font-size:32px}.call-copy>p:not(.call-incoming){font-size:13px;margin:8px 0}.call-incoming{margin:10px 0;font-size:12px}.answer-call{margin-top:15px;padding:8px 20px 8px 10px;font-size:14px}.answer-call b{width:38px;height:38px;font-size:25px}.call-status{top:10px;right:2%;font-size:10px;padding:6px 10px}.phone-scene .cast-stage{top:44px}}
@media(prefers-reduced-motion:reduce){.answer-call b{animation:none}}

.go-guide{position:absolute;right:4%;top:35%;z-index:5;pointer-events:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px;filter:drop-shadow(0 3px 0 #311924)}.go-guide strong{color:#ffe68e;font:italic 950 clamp(32px,4vw,54px)/1.1 Impact,'Arial Black',sans-serif;letter-spacing:.03em;-webkit-text-stroke:1px #5c3017;text-shadow:2px 2px 0 #bf5d24;animation:go-signal .75s ease-in-out infinite alternate}.go-guide strong b{display:inline-block;margin-left:7px;color:#fff2bd;font-style:normal}.go-guide>span{font-size:14px;font-weight:800;color:#fff1c8;text-shadow:0 2px 4px #171123,1px 1px 0 #171123}@keyframes go-signal{from{transform:translateX(-7px);opacity:.75}to{transform:translateX(0);opacity:1}}@media(max-width:600px) and (orientation:portrait){.go-guide{top:35%;right:5%}.go-guide strong{font-size:36px}.go-guide>span{font-size:12px}}@media(max-height:600px) and (orientation:landscape){.go-guide{top:33%;right:5%}.go-guide strong{font-size:37px}.go-guide>span{font-size:12px}}@media(prefers-reduced-motion:reduce){.go-guide strong{animation:none}}

.story.defeated-scene .cinematic{background-image:url('/assets/boss-defeated-v9.webp');background-position:center 48%;background-size:cover}.story.defeated-scene .cast-stage{display:none}.story.defeated-scene .story-shade{background:linear-gradient(0deg,#17141fd9,transparent 70%)}.confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:40}.confetti i{position:absolute;top:-25px;width:9px;height:17px;border-radius:1px;animation:confetti-fall 2.7s ease-in forwards}@keyframes confetti-fall{to{transform:translate(var(--drift),800px) rotate(var(--spin));opacity:0}}@media(prefers-reduced-motion:reduce){.confetti{display:none}}

/* Route illustrations stay unobstructed above the dialogue; full-art view keeps
   the whole composition, including the live-action teacher, visible on phones. */
.story.illustrated-scene .cast-stage{display:none}.story.illustrated-scene .cinematic{background-size:cover;background-position:center 32%;background-repeat:no-repeat;background-color:#181925}.story.illustrated-scene .story-shade{background:linear-gradient(0deg,#12121a90,transparent 72%)}.time-hud #scoreLabel{font:10px monospace;color:#b5ebd4}
@media(max-width:600px) and (orientation:portrait){.story.illustrated-scene .cinematic{background-size:100% auto;background-position:center 27%}.story.illustrated-scene .dialogue-card{bottom:4%}}
@media(max-height:600px) and (orientation:landscape){.story.illustrated-scene .dialogue-card{width:88%;left:6%;bottom:3%;padding:16px 17px 10px;background:#241a31dc}.story.illustrated-scene .dialogue-card>p{font-size:14px;min-height:0;line-height:1.5;max-width:calc(100% - 195px);margin:3px 0}.story.illustrated-scene .dialogue-card>.primary{position:absolute;right:13px;bottom:10px;min-width:175px;min-height:35px;padding:7px 12px}.story.illustrated-scene .speaker{top:-24px}}

/* A dedicated illustrated cover gives the villain real title-screen presence. */
.start-panel{background:linear-gradient(90deg,#160e23e6 0%,#160e2390 31%,#160e2300 58%),url('/assets/cover-kangaroo-v10.webp') center/cover no-repeat}.start-copy{left:5%;top:7%}.game-stamp{display:none}.boss-hud>span>b{font-size:inherit}.start-bottom{background:#191322df}
@media(max-width:600px) and (orientation:portrait){.start-panel{background-image:linear-gradient(0deg,#170f27e8 0%,#170f27b0 40%,transparent 80%),url('/assets/cover-kangaroo-v10.webp');background-position:center,63% top;background-size:cover,auto 75%;background-color:#21132c}.start-copy{left:6%;top:30%}.start-copy h1{font-size:57px;margin:10px 0 6px}.start-copy .intro{font-size:12px;line-height:1.5;max-width:260px}.start-copy .reward-ribbon{margin-top:13px}.start-copy .overline{font-size:11px}.start-copy .game-subtitle{margin:8px 0}.district small{max-width:290px}.boss-hud small{max-width:56%;font-size:10px}}
@media(max-height:600px) and (orientation:landscape){.start-copy{top:4%;left:5%}.start-panel{background-position:center,center 40%}.start-copy .intro{max-width:390px}.boss-hud>span{gap:12px}.boss-hud small{max-width:65%;font-size:10px}}


/* Three-character attract theatre over the illustrated rescue poster. */
.start-panel{background-image:linear-gradient(90deg,#150e23f2 0%,#150e23b8 34%,#150e2328 65%),url('/assets/cover-capture-v11.webp');background-position:center,center 35%;background-size:cover;overflow:auto}
.start-copy{z-index:3;width:42%;max-width:470px;pointer-events:none}.start-copy button,.start-copy a{pointer-events:auto}.start-copy h1{font-size:clamp(62px,7vw,97px)}.start-copy .intro{max-width:370px;text-shadow:0 2px 5px #130a1c}.cover-theatre{position:absolute;right:0;bottom:8%;width:61%;height:62%;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 56% 93%,#211529b0,transparent 69%)}#coverStage{height:100%;width:100%;filter:drop-shadow(0 5px 7px #120b24a0)}#coverDialogue{position:absolute;bottom:0;left:7%;right:5%;margin:0;padding:9px 12px;color:#fff1c9;background:#1d1326de;border-top:1px solid #efbe7355;font-size:14px;line-height:1.45;font-weight:800;text-align:center;text-shadow:0 2px 2px #140c20}.cover-motion{position:absolute;z-index:4;top:16px;right:16px;background:#20162ccf;border:1px solid #ffe0ab66;border-radius:7px;padding:9px 13px;min-height:40px;font-size:14px}.start-bottom{z-index:3}.start-panel .intro{font-size:16px}.start-copy .text-link{font-size:14px}
@media(max-width:600px) and (orientation:portrait){.start-panel{background-image:linear-gradient(0deg,#170f27 25%,#170f27e6 44%,#170f2720 80%),url('/assets/cover-capture-v11.webp');background-position:center,72% top;background-size:cover,auto 58%}.cover-theatre{top:4%;bottom:auto;right:-3%;width:106%;height:42%}.cover-motion{top:9px;right:9px;font-size:12px;padding:7px 10px;min-height:35px}#coverDialogue{font-size:14px;padding:7px 9px;left:6%;right:6%}.start-copy{top:46%;left:6%;right:6%;width:auto;max-width:none}.start-copy h1{font-size:43px;line-height:1.05;margin:8px 0}.start-copy h1 br{display:none}.start-copy .overline{font-size:12px;letter-spacing:0}.start-copy .game-subtitle{font-size:12px;margin:7px 0 10px}.start-panel .intro{font-size:14px;line-height:1.5;margin:0 0 12px;max-width:none}.start-panel .intro br{display:none}.start-copy .primary{width:100%;min-width:0;font-size:16px;min-height:47px;padding:12px 16px}.start-copy .reward-ribbon{margin-top:13px;flex-direction:row;gap:8px;align-items:center}.start-copy .reward-ribbon strong{font-size:14px}.start-copy .text-link{font-size:14px;padding:11px 0}.start-bottom{display:none}}
@media(max-height:600px) and (orientation:landscape){.start-copy{left:4%;top:5%;width:42%;max-width:none}.start-copy h1{font-size:clamp(36px,12dvh,63px);margin:7px 0}.start-panel .intro{font-size:14px;line-height:1.45;margin:7px 0 11px}.start-copy .game-subtitle{margin:7px 0}.start-copy .text-link{font-size:14px;padding:10px 0}.start-copy .reward-ribbon{margin-top:12px}.cover-theatre{width:59%;height:83%;bottom:6%;right:-1%}#coverDialogue{font-size:14px;bottom:0}.cover-motion{top:9px;right:9px;min-height:34px;padding:7px 10px;font-size:12px}.start-bottom{display:none}}
@media(prefers-reduced-motion:reduce){.cover-motion{display:none}}


/* A short player-facing menu keeps the rescue, controls and start action clear. */
.top-buttons{margin-left:auto}.start-copy .intro{margin-top:21px;margin-bottom:25px}.start-copy .overline{font-size:14px;letter-spacing:.04em}.start-copy .text-link{margin-top:12px}.game-footer{justify-content:center;font-size:14px;letter-spacing:0}.game-footer .mobile-tip{font-size:14px}
@media(max-width:600px) and (orientation:portrait){.start-copy{top:49%}.start-copy .intro{font-size:16px;line-height:1.7;margin-top:17px;margin-bottom:22px}.start-copy .overline{font-size:14px;letter-spacing:0}.start-copy .text-link{margin-top:10px}.game-footer{padding:12px 8px}.stage{height:calc(100dvh - 125px)}}
@media(max-height:600px) and (orientation:landscape){.start-copy{top:9%}.start-copy .intro{font-size:15px;line-height:1.6;margin-top:14px;margin-bottom:20px}.start-copy .overline{font-size:13px}.start-copy .text-link{margin-top:6px}}
/* Arcade controls: labels stay visible on touch screens as well as desktop. */
.action{position:relative}.action kbd{position:absolute;top:3px;left:50%;transform:translateX(-50%);font:800 12px/1.1 ui-monospace,monospace;opacity:.85;background:none;border:0;padding:0;pointer-events:none}.action b{margin-top:9px}.action span{font-size:12px}.action.super{grid-column:1;grid-row:1;background:#292d50;border:2px solid #8c9ed9;color:#dce8ff}.action.super.ready{background:#233b66;border-color:#a8ffff;color:#fff7c9;box-shadow:0 0 0 3px #8ddef955,0 0 25px #a3f7ffaa}.action.super.ready b{color:#ffdf79}.ally-hud{position:absolute;left:3%;top:115px;z-index:3;display:flex;gap:10px;align-items:center;padding:7px 11px;border-left:3px solid #9df3ce;background:#152824dd;color:#c7ffe7;font-size:12px;pointer-events:none}.ally-hud b{color:#fff4db}.story.choice-scene .dialogue-card>p{max-width:100%;margin-bottom:12px}.story.choice-scene .answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rescue-option{font-size:15px;line-height:1.5;min-height:54px;text-align:left;border-color:#fff2c269}.rescue-option:first-child{background:#6d491b;color:#fff4b8;border-color:#ffcb66}.rescue-option:last-child{background:#2d3043;color:#e1e8fa}
.special-panel.super-cutin{background:#080f22;box-shadow:inset 0 0 0 6px #a2faff}.super-cutin .special-art{background-image:url('/assets/super-attack-v13.webp');background-position:center;animation:super-rush 3.2s cubic-bezier(.15,.65,.2,1) both}.super-cutin:before,.super-cutin:after{content:"";position:absolute;inset:-40%;z-index:1;pointer-events:none}.super-cutin:before{background:repeating-conic-gradient(from 10deg,transparent 0deg 16deg,#b4ffff55 17deg 18deg,transparent 20deg 29deg);mask-image:radial-gradient(circle,transparent 7%,#000 70%);animation:super-rays 3.2s ease-in-out both}.super-cutin:after{inset:5%;border:4px solid #e2fdff;border-radius:50%;box-shadow:0 0 50px #a6ecff,inset 0 0 60px #68dfff;animation:super-ring 3.2s ease-out both}.super-cutin .special-copy{align-self:end;width:88%;margin:0 6% 5%;z-index:3}.super-cutin .special-copy h2{font-size:clamp(34px,6.5vw,100px);letter-spacing:-.04em;color:#fff0a7;margin:10px 0;text-shadow:4px 5px 0 #332047,0 0 30px #72f6ff}.super-cutin .special-copy>span{background:#141628b8;padding:5px 10px}.super-cutin .special-copy strong{font-size:clamp(20px,2.5vw,36px)}.super-cutin .special-copy p{margin:4px 0 10px}.super-cutin.impact .special-art{filter:brightness(1.15) saturate(1.4)}
@keyframes super-rush{0%{transform:scale(1.24);filter:saturate(.2) brightness(.6)}25%{transform:scale(1.04);filter:saturate(1.1) brightness(1)}72%{transform:scale(1.08)}90%,100%{transform:scale(1.15)}}@keyframes super-rays{0%{opacity:0;transform:rotate(-8deg) scale(.7)}35%{opacity:.8}85%{opacity:.15}100%{opacity:0;transform:rotate(18deg) scale(1.5)}}@keyframes super-ring{0%,30%{opacity:0;transform:scale(.05)}45%{opacity:1}88%,100%{opacity:0;transform:scale(2.4)}}
.result-panel{overflow-y:auto;background:radial-gradient(ellipse at 80% 0,#384a6b90,transparent 55%),linear-gradient(150deg,#181624f7,#101626fc);padding:30px 5%;overscroll-behavior:contain}.result-card{max-width:840px;margin:auto;padding-bottom:14px}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.result-heading h2{font-size:clamp(28px,4vw,48px);margin:16px 0 8px}.result-heading p{font-size:15px;color:#c5d2e6;margin:0}.result-grade{font:1000 italic clamp(58px,9vw,112px)/1 sans-serif;color:#ffdb77;text-shadow:4px 5px 0 #73456d;transform:rotate(-7deg)}.result-score{display:flex;flex-direction:column;align-items:center;border-block:1px solid #a6c1d940;padding:13px;margin:18px 0;background:linear-gradient(90deg,transparent,#7585b310,transparent)}.result-score small{font:800 13px ui-monospace,monospace;letter-spacing:.3em;color:#b7e1fa}.result-score>b{font:900 clamp(44px,8vw,76px)/1.2 ui-monospace,monospace;letter-spacing:.06em;color:#fff1c8}.score-breakdown{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 18px}.score-breakdown>div{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #d1d9eb26;padding-bottom:9px}.score-breakdown span{font-size:14px;color:#d5d9ed}.score-breakdown b{font:800 21px ui-monospace,monospace;color:#a9f2e2}.score-breakdown small{font-size:12px;color:#b0a9c1;min-height:15px}.result-medals{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}.result-medals span{font-size:13px;background:#facb5817;border:1px solid #f4c95850;color:#ffe3a2;padding:6px 10px;border-radius:4px}.ranking{border-top:2px solid #a8ced366;padding-top:15px;margin:20px 0}.ranking-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ranking-heading h3{font:900 clamp(20px,4vw,30px) ui-monospace,monospace;color:#ffca80;margin:0;letter-spacing:.06em}.ranking-heading>strong{font:800 16px ui-monospace,monospace;color:#aaf6e1}.ranking-note{color:#aebed4;font-size:13px}.ranking-list{padding:0;margin:14px 0;list-style:none}.ranking-list li{display:grid;grid-template-columns:35px 1fr 100px 36px;gap:10px;align-items:center;border-bottom:1px solid #e8d2e421;padding:10px;font-size:15px}.ranking-list li span:first-child{color:#bfc9dd;font-family:monospace}.ranking-list li span:nth-child(3){text-align:right;font:800 18px ui-monospace,monospace;color:#ffe4ad}.ranking-list li span:last-child{text-align:right;color:#b5f4e9;font-weight:900}.ranking-list li.mine{background:#ffe4981a;box-shadow:inset 3px 0 #ffda7c}.ranking-list .ranking-empty{display:block;font-size:15px;color:#c1bed0;padding:20px 0}.rank-form label{font-size:14px}.rank-form>div{display:flex;gap:8px;margin:8px 0}.rank-form input{min-width:0;flex:1;padding:12px;border:1px solid #f1d6a64d;background:#101322;color:white;border-radius:4px}.rank-form button{border:1px solid #ffe4a5;background:#ffda80;color:#281d28;font-size:14px;font-weight:900;border-radius:4px;padding:10px 16px}.rank-form small,#rankMessage{font-size:13px;color:#b8c7db;line-height:1.5}.result-card>.primary{width:100%;margin-top:15px}.result-card .overline{font-size:13px}
@media(max-width:600px) and (orientation:portrait){.action b{font-size:21px}.action.attack b{font-size:27px}.ally-hud{top:112px;left:3%;font-size:12px}.story.choice-scene .answers{grid-template-columns:1fr}.story.choice-scene .dialogue-card{bottom:3%}.result-panel{padding:22px 5%}.score-breakdown{grid-template-columns:repeat(2,1fr)}.ranking-heading{align-items:flex-start;flex-direction:column;gap:5px}.ranking-list li{grid-template-columns:25px 1fr 87px 30px;gap:5px;padding:10px 5px;font-size:14px}.rank-form button{padding:10px;font-size:13px}.super-cutin .special-copy{margin-bottom:12%}.super-cutin .special-art{background-position:58% center}}
@media(max-height:600px) and (orientation:landscape){.action{min-height:49px}.action b{font-size:18px;margin-top:9px;line-height:1}.action span{font-size:12px;line-height:1.2}.action.attack b{font-size:25px}.ally-hud{top:95px;left:18px;padding:5px 8px}.story.choice-scene .dialogue-card{width:90%;left:5%}.story.choice-scene .answers{grid-template-columns:1fr 1fr}.story.choice-scene .dialogue-card>p{font-size:14px}.rescue-option{font-size:14px;min-height:48px}.result-panel{padding:20px 6%}.result-heading h2{font-size:32px}.result-grade{font-size:65px}.super-cutin .special-copy{margin-bottom:4%}.super-cutin .special-copy h2{font-size:42px}.super-cutin .special-copy p{font-size:14px;padding:7px 10px}.super-cutin .special-copy strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.super-cutin:before,.super-cutin:after{animation:none;display:none}.super-cutin .special-art{animation:none;transform:none}}
/* Rescue dialogue keeps a photographic expression beside the illustrated scene. */
.rescue-portrait{position:absolute;left:18px;top:22px;width:132px;height:158px;border:2px solid #ffdda0;border-radius:9px;background:#f0eeef;overflow:hidden;box-shadow:0 5px 18px #0005}.rescue-portrait>div{height:100%;background:url('/assets/companion-faces-v14.webp') 0 0/300% 200% no-repeat}.rescue-portrait>div.hero{background-image:url('/assets/hero-portraits-v54-a.png');background-size:600% 400%}.rescue-portrait small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:12px;line-height:1.5;background:#221e33e8;color:#ffedb6;padding:5px 2px}.story.rescue-scene .dialogue-card{padding-left:172px;min-height:209px}.story.rescue-scene .dialogue-card>p{font-size:17px;line-height:1.7}.story.rescue-scene .dialogue-card>.primary{margin-top:12px}.story.rescue-scene .speaker{left:170px}.story.rescue-scene .cinematic{background-position:center 30%}.story.rescue-scene .dialogue-card{background:#211c30ed}
.super-cutin .special-art{background-image:url('/assets/super-tiger-v14.webp');background-position:center 42%;animation:super-tiger-entry 3.2s cubic-bezier(.15,.7,.2,1) both}.super-cutin .special-copy h2{font-size:clamp(32px,5.6vw,91px);letter-spacing:-.04em;max-width:95%;text-shadow:4px 5px 0 #422538,0 0 26px #66e7ff}.super-cutin .special-copy{width:90%;margin-left:5%;margin-bottom:4%}.super-cutin .special-copy strong{color:#c9fbff}.super-stage-title{position:absolute;top:26%;left:50%;transform:translateX(-50%) skew(-7deg);z-index:4;text-align:center;pointer-events:none;color:#fff4ae;text-shadow:3px 3px 0 #24192e,0 0 19px #5cddff;white-space:nowrap}.super-stage-title small{display:block;font:800 12px ui-monospace,monospace;letter-spacing:.2em;color:#aeffff}.super-stage-title b{display:block;font-size:clamp(28px,4vw,58px);font-weight:1000;line-height:1.25}.super-stage-title span{display:inline-block;margin-top:5px;font-weight:800;font-size:16px;padding:4px 15px;background:#151b35c9;border-block:1px solid #e0eead66}@keyframes super-tiger-entry{0%{transform:translateY(6%) scale(1.18);filter:brightness(.4) saturate(.5)}30%{transform:translateY(0) scale(1);filter:brightness(1.05) saturate(1.1)}75%{transform:translateY(-1%) scale(1.04)}100%{transform:translateY(-4%) scale(1.12)}}
@media(max-width:600px) and (orientation:portrait){.rescue-portrait{left:11px;top:32px;width:98px;height:133px}.rescue-portrait small{font-size:12px;padding:4px 1px}.story.rescue-scene .dialogue-card{padding:23px 13px 15px 123px;min-height:210px}.story.rescue-scene .dialogue-card>p{font-size:16px;line-height:1.65}.story.rescue-scene .speaker{left:122px;padding-inline:10px;max-width:calc(100% - 135px)}.story.rescue-scene .speaker span{display:none}.story.rescue-scene .speaker b{font-size:16px}.story.rescue-scene .dialogue-card>.primary{margin-left:-110px;width:calc(100% + 110px);min-width:0}.story.rescue-scene.choice-scene .answers{margin-left:-110px}.story.rescue-scene.choice-scene .dialogue-card>p{min-height:125px}.super-stage-title{top:25%}.super-stage-title b{font-size:31px}.super-cutin .special-copy{margin-bottom:10%}.super-cutin .special-copy h2{font-size:40px}.super-cutin .special-art{background-position:56% center}}
@media(max-height:600px) and (orientation:landscape){.story.rescue-scene .dialogue-card{width:92%;left:4%;min-height:134px;padding:15px 16px 13px 134px}.rescue-portrait{left:13px;top:9px;width:102px;height:117px}.story.rescue-scene .speaker{left:135px}.story.rescue-scene .dialogue-card>p{font-size:15px;line-height:1.55;max-width:calc(100% - 175px);margin:0;min-height:60px}.story.rescue-scene .dialogue-card>.primary{min-width:163px;max-width:170px;white-space:normal;line-height:1.5;font-size:13px;padding:8px 10px}.story.rescue-scene.choice-scene .dialogue-card>p{max-width:100%;min-height:0;margin-bottom:7px}.story.rescue-scene.choice-scene .answers{gap:8px}.story.rescue-scene .speaker span{display:none}.super-stage-title{top:23%}.super-stage-title b{font-size:35px}.super-stage-title span{font-size:14px}.super-cutin .special-copy h2{font-size:43px}}
@media(prefers-reduced-motion:reduce){.super-cutin .special-art{animation:none!important;transform:none}.super-stage-title{transform:translateX(-50%)}}
.rescue-portrait{height:auto!important}.rescue-portrait>div{height:auto;aspect-ratio:1}.rescue-portrait small{position:static;display:block;padding:4px 2px;line-height:1.3}
/* Full-size active-speaker portrait, matching the opening telephone scene. */
.story.rescue-scene .cast-stage{display:block;left:4%;right:4%;top:55px;bottom:210px;z-index:1;container-type:size}
.story.rescue-scene .rescue-portrait{display:block;position:absolute;left:auto;right:0;top:auto;bottom:0;width:min(45cqw,90cqh,340px);height:auto!important;max-width:none;aspect-ratio:1;border:3px solid #ffe0a3;transform:none;opacity:1;border-radius:12px}
.story.rescue-scene .rescue-portrait>div{height:100%;aspect-ratio:1;background-size:300% 200%}
.story.rescue-scene .rescue-portrait>div.hero{background-size:600% 400%}
.story.rescue-scene .rescue-portrait>div.coach{background-image:url('/assets/coach-faces-v15.webp');background-size:300% 200%}
.story.rescue-scene .rescue-portrait small{position:absolute;inset:auto 0 0;text-align:center;background:#211b32e8;padding:7px 4px;font-size:14px;line-height:1.4}
.story.rescue-scene .dialogue-card{left:4%;width:92%;padding:24px 24px 17px;min-height:166px;z-index:2}
.story.rescue-scene .dialogue-card>p{font-size:17px;line-height:1.7;max-width:none;min-height:0;margin:0 0 12px}
.story.rescue-scene .speaker{left:24px;max-width:calc(100% - 45px)}
.story.rescue-scene .dialogue-card>.primary{position:static;margin:0 0 0 auto;width:auto;min-width:170px;max-width:none}
.story.rescue-scene.choice-scene .answers{margin-left:0}
.story.rescue-scene.choice-scene .dialogue-card>p{min-height:0}
@media(max-width:600px) and (orientation:portrait){
 .story.rescue-scene .cast-stage{top:55px;bottom:240px}
 .story.rescue-scene .rescue-portrait{width:min(83cqw,94cqh,300px);right:0;bottom:0}
 .story.rescue-scene .dialogue-card{left:4%;width:92%;padding:22px 16px 15px;min-height:190px;bottom:3%}
 .story.rescue-scene .dialogue-card>p{font-size:16px;line-height:1.7}
 .story.rescue-scene .speaker{left:16px}.story.rescue-scene .speaker span{display:none}
 .story.rescue-scene .dialogue-card>.primary{width:100%;min-width:0;margin:0}
 .story.rescue-scene.choice-scene .cast-stage{bottom:295px}
}
@media(max-height:600px) and (orientation:landscape){
 .story.rescue-scene .cast-stage{top:38px;bottom:151px;left:4%;right:4%}
 .story.rescue-scene .rescue-portrait{width:min(31cqw,95cqh,245px)}
 .story.rescue-scene .dialogue-card{left:4%;width:92%;bottom:3%;padding:16px 18px 11px;min-height:120px}
 .story.rescue-scene .dialogue-card>p{font-size:16px;line-height:1.5;max-width:calc(100% - 182px);margin:0;min-height:60px}
 .story.rescue-scene .dialogue-card>.primary{position:absolute;right:15px;bottom:13px;min-width:165px;max-width:175px;padding:9px 10px;font-size:14px}
 .story.rescue-scene .speaker{left:20px}.story.rescue-scene .speaker span{display:none}
 .story.rescue-scene.choice-scene .dialogue-card>p{max-width:100%;min-height:0;margin-bottom:8px}
 .story.rescue-scene.choice-scene .cast-stage{bottom:164px}
}

/* Clear arcade feedback: damage trail and independent sound levels. */
.hp-track{position:relative}.hp-track i{position:absolute;left:0;top:0;height:100%}.hp-track #hpTrail{background:#ffe5a0;transition:width .45s ease-out .16s}.hp-track #hpBar{position:relative;transition:width .1s linear}
.audio-mixer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid #ffe0ae33;padding-top:14px;margin-top:16px}.audio-mixer label{font-size:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px}.audio-mixer output{font-size:12px;color:#ffdf9a}.audio-mixer input{width:100%;accent-color:#ffc865;padding:0;min-height:32px}.pause-panel{overflow-y:auto}.pause-panel .panel-card{margin:auto}.action:focus-visible,.primary:focus-visible,button:focus-visible{outline:3px solid #a6f6ff;outline-offset:3px}
@media(max-height:600px) and (orientation:landscape){.pause-panel{display:block;padding:15px}.audio-mixer{margin-top:8px;padding-top:9px}.control-guide{margin:10px 0}.pause-panel .panel-card{max-width:660px}.audio-mixer label{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hp-track #hpTrail,.hp-track #hpBar{transition:none}}

.skip-special{position:absolute;right:20px;top:20px;z-index:5;background:#102536df;border:1px solid #b0eeff;color:#fff1bb;border-radius:6px;padding:12px 16px;font-size:14px;min-height:44px}

/* Keep the complete line in flow so the dialogue card never jumps while typing. */
#dialogueText .dialogue-pending{visibility:hidden}#dialogueText{cursor:pointer}#dialogueText:focus-visible{outline:2px solid #ffcf65;outline-offset:5px;border-radius:3px}

/* Ending portraits stay solid even when the teacher is speaking. */
.story.ending-scene #heroPortrait{opacity:1;border:0;border-radius:0;box-shadow:none;background:#fff;transition:transform .24s}

/* v23: short cut-ins hand their motion to the real three-beat attack. */
.special-panel{--cutin-time:.85s;box-shadow:none;background:#121522}
.special-panel .special-art{inset:0;background-image:url('/assets/hero-tiger-v23.webp');background-size:cover;background-position:center;animation:v23-entry var(--cutin-time) ease-out both}
.special-panel.super-cutin .special-art{background-image:url('/assets/hero-tiger-v23.webp');animation:v23-entry var(--cutin-time) ease-out both}
.special-panel.linked .special-art{background-image:url('/assets/duo-tiger-v23.webp')}
.special-panel.artifact .special-art{background-image:url('/assets/aunt-summon-v23.webp')}
.special-panel:before,.special-panel:after{display:none}
.special-panel .special-copy{width:90%;margin:0 5% 4%;padding:30px 0 0;align-self:end;background:linear-gradient(0deg,#151325c9,transparent);z-index:3}
.special-panel .special-copy>span,.special-panel .special-copy p{display:none}
.special-panel .special-copy h2{font-size:clamp(28px,5.6vw,84px);line-height:1.15;letter-spacing:0;margin:5px 0;text-shadow:3px 4px #261f37;animation:v23-title var(--cutin-time) ease-out both}
.special-panel .special-copy strong{font-size:clamp(17px,2.6vw,32px);line-height:1.4;color:#fff1ac}
.special-panel .special-copy strong:empty{display:none}
.special-panel .special-focus{position:absolute;inset:10% -5% 48%;z-index:2;background:url('/assets/hero-tiger-v23.webp') 33% 31%/180% auto no-repeat;clip-path:polygon(7% 0,100% 0,92% 100%,0 100%);border-block:3px solid #ffde75;animation:v23-focus var(--cutin-time) ease-out both;pointer-events:none}
.special-panel.artifact .special-focus{background-image:url('/assets/aunt-summon-v23.webp');background-position:35% 27%}
.special-panel.linked .special-focus{background-image:url('/assets/duo-tiger-v23.webp');background-position:center 30%}
.special-panel.quick-cutin{background:transparent;pointer-events:none}
.special-panel.quick-cutin .special-art{inset:22% 0 25%;clip-path:polygon(0 10%,100% 0,100% 90%,0 100%);background-position:center 27%}
.special-panel.quick-cutin .special-focus,.special-panel.quick-cutin .skip-special{display:none}
.special-panel.quick-cutin .special-copy{align-self:center;margin-top:20%;background:none}
.special-panel .skip-special{font-size:14px;min-height:40px;padding:8px 12px;background:#171624c9}
.super-stage-title small,.super-stage-title b{display:none}
.super-stage-title{top:25%;max-width:90%;white-space:normal}
.super-stage-title span{font-size:clamp(19px,3vw,34px);background:#141727c9;padding:5px 18px}
.aunt-hud{position:absolute;left:3%;top:156px;z-index:4;font-size:14px;background:#32220ee8;color:#ffe59a;padding:7px 11px;border-left:3px solid #ffd366;pointer-events:none}.aunt-hud b{margin-left:8px}
.action.special.aunt-ready{color:#fff5bc;border-color:#ffce5c;background:#6a3c20;box-shadow:0 0 15px #ffe58b80}
.story.illustrated-scene .dialogue-card{background:#251d35f5}
.story.phone-scene.illustrated-scene .cast-stage{display:block;top:65px;bottom:210px;left:5%;right:5%;pointer-events:none}
.story.phone-scene.illustrated-scene .hero-portrait{right:0;left:auto;width:28%;height:100%;opacity:1;border:0;background:transparent;box-shadow:none}
.story.phone-scene.illustrated-scene .hero-portrait .cast-face{filter:none;opacity:1}
@keyframes v23-entry{0%{transform:translateX(-4%) scale(1.15);filter:brightness(.55)}35%{transform:translateX(0) scale(1);filter:brightness(1)}100%{transform:translateX(1.5%) scale(1.04);filter:brightness(1)}}
@keyframes v23-focus{0%{opacity:0;transform:translateX(-25%)}12%,36%{opacity:1;transform:translateX(0)}56%,100%{opacity:0;transform:translateX(25%)}}
@keyframes v23-title{0%,28%{opacity:0;transform:translateX(-70px) skew(-8deg)}50%,100%{opacity:1;transform:translateX(0) skew(-5deg)}}
@media(max-width:600px) and (orientation:portrait){.special-panel .special-art{background-size:auto 72%;background-position:center 15%;background-repeat:no-repeat}.special-panel .special-copy{margin-bottom:12%;width:92%;margin-left:4%}.special-panel .special-copy h2{font-size:35px}.special-panel .special-focus{inset:15% -8% 50%;background-size:auto 190%}.story.phone-scene.illustrated-scene .hero-portrait{width:45%}.aunt-hud{top:151px;font-size:13px}}
@media(max-height:600px) and (orientation:landscape){.special-panel .special-copy h2{font-size:clamp(28px,6vw,53px)}.special-panel .special-copy{margin-bottom:3%}.aunt-hud{top:124px;left:18px;font-size:13px;padding:5px 8px}.story.phone-scene.illustrated-scene .cast-stage{top:40px;bottom:135px}}
@media(prefers-reduced-motion:reduce){.special-panel .special-art,.special-panel.super-cutin .special-art,.special-panel .special-copy h2{animation:none!important;transform:none!important;filter:none!important}.special-panel .special-focus{display:none}.special-panel .special-copy h2{opacity:1}}

.asset-panel{z-index:35;background:#191522eF;align-items:center;justify-content:center}.asset-card{width:min(90%,520px);padding:30px}.asset-card h2{color:#ffdc83;font-size:30px}.asset-card p{line-height:1.7}.asset-card .text-link{display:block;margin:12px auto}.result-growth{margin:24px 0;padding:20px 0;border-block:1px solid #f1c78455}.result-growth h3{color:#ffe4a8;margin:0 0 15px}.result-growth p{color:#f8eadb;line-height:1.65;margin:7px 0}.result-growth small{color:#d8c7b8}#resultReplay{margin:0 0 25px;width:100%}button:focus-visible{outline:3px solid #a3f3dc;outline-offset:4px}

/* Clip the intentionally overhanging cover actors without horizontal scrolling. */
.start-panel{overflow-x:hidden}

/* Full-frame cut-ins: the illustration and caption own separate layout areas. */
.special-panel,
.special-panel.quick-cutin{
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;
 gap:12px;padding:max(66px,calc(env(safe-area-inset-top) + 54px)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
 background:#101421;box-shadow:none;align-items:stretch;
}
.special-panel::before{
 content:'';display:block;position:absolute;inset:0;z-index:0;pointer-events:none;
 background:repeating-conic-gradient(from 12deg at 50% 44%,transparent 0deg 12deg,#89e4f014 13deg 14deg,transparent 15deg 28deg);
 mask-image:none;animation:none;opacity:1;transform:none;
}
.special-panel::after{content:'';display:block;position:absolute;inset:8px;z-index:0;border:1px solid #9fd9e84d;border-radius:0;box-shadow:none;background:none;animation:none;pointer-events:none}
.special-panel .special-art,
.special-panel.super-cutin .special-art,
.special-panel.quick-cutin .special-art{
 position:relative;grid-area:1/1;inset:auto;width:100%;height:100%;min-width:0;min-height:0;z-index:1;
 background-size:contain;background-position:center;background-repeat:no-repeat;
 clip-path:none;transform:none;animation:v24-cutin-light var(--cutin-time,.85s) ease-out both;
}
.special-panel .special-focus{display:none}
.special-panel .special-copy,
.special-panel.super-cutin .special-copy,
.special-panel.quick-cutin .special-copy{
 position:relative;grid-area:2/1;align-self:stretch;justify-self:center;left:auto;bottom:auto;width:min(100%,1120px);min-width:0;
 margin:0;padding:14px 12px 0;background:#101421;border-top:2px solid #a4e5ef;z-index:3;text-align:center;transform:none;
}
.special-panel .special-copy h2{
 max-width:100%;margin:0 0 8px;font-size:clamp(28px,4.7vw,66px);line-height:1.18;letter-spacing:-.02em;
 color:#ffdf80;text-shadow:2px 3px #292034;overflow-wrap:anywhere;text-wrap:balance;animation:v24-cutin-title .22s ease-out both;
}
.special-panel .special-copy strong{font-size:clamp(16px,1.9vw,25px);line-height:1.5;letter-spacing:0;color:#fff2c5;overflow-wrap:anywhere;text-wrap:balance}
.special-panel .skip-special{top:max(10px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));min-height:44px;max-width:calc(100% - 32px);margin:0;padding:9px 14px;white-space:nowrap;z-index:7}
@keyframes v24-cutin-light{from{filter:brightness(.8) saturate(.8)}to{filter:brightness(1) saturate(1)}}
@keyframes v24-cutin-title{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:600px) and (orientation:portrait){
 .special-panel,.special-panel.quick-cutin{gap:16px;padding-inline:12px}
 .special-panel .special-copy,.special-panel.super-cutin .special-copy,.special-panel.quick-cutin .special-copy{width:100%;margin:0;padding:16px 8px 6px}
 .special-panel .special-copy h2{font-size:clamp(28px,8.5vw,42px)}
 .special-panel .special-copy strong{font-size:17px}
}
@media(max-height:600px) and (orientation:landscape){
 .special-panel,.special-panel.quick-cutin{grid-template-columns:minmax(0,1.65fr) minmax(210px,1fr);grid-template-rows:minmax(0,1fr);gap:18px;padding-top:max(58px,calc(env(safe-area-inset-top) + 50px));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .special-panel .special-copy,.special-panel.super-cutin .special-copy,.special-panel.quick-cutin .special-copy{grid-area:1/2;align-self:center;width:100%;margin:0;padding:14px 6px;border-top:0;border-bottom:2px solid #a4e5ef;text-align:left}
 .special-panel .special-copy h2{font-size:clamp(26px,3.8vw,40px);line-height:1.2;margin-bottom:10px}
 .special-panel .special-copy strong{font-size:clamp(15px,2vw,19px);line-height:1.45}
}
@media(prefers-reduced-motion:reduce){.special-panel .special-art,.special-panel.super-cutin .special-art,.special-panel .special-copy h2{animation:none!important;transform:none!important;filter:none!important}}
