@font-face{font-family:Pixel;src:url('pixel.woff') format('woff');font-display:swap}@font-face{font-family:Display;src:url('display.woff') format('woff');font-display:swap;font-weight:700}
:root{color-scheme:dark;--cream:#fff4d9;--yellow:#ffd16c;--pink:#ff739a;--pixel:Pixel,"Courier New",monospace}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#101526}body{font-family:var(--pixel);color:var(--cream)}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #fff4d9;outline-offset:5px}button:disabled{opacity:.35;cursor:default}#arcade{position:relative;width:100%;height:100%;height:100svh;overflow:hidden;isolation:isolate;background:#244b51}#game{width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges;touch-action:none;outline:none}.screen-texture{position:absolute;inset:0;pointer-events:none;z-index:4;background:repeating-linear-gradient(0deg,#00000007 0,#00000007 1px,transparent 1px,transparent 4px);box-shadow:inset 0 0 100px #07102040}
.topbar{position:absolute;z-index:10;top:0;left:0;width:100%;padding:calc(22px + env(safe-area-inset-top)) max(25px,env(safe-area-inset-right)) 24px max(25px,env(safe-area-inset-left));display:flex;align-items:start;justify-content:space-between;gap:20px;background:linear-gradient(#09182bd9,#09182b5c,transparent);pointer-events:none;text-shadow:2px 2px #12213a}.topbar button{pointer-events:auto}.hud-title{font:12px var(--pixel);letter-spacing:1px;color:var(--yellow);display:flex;align-items:center;gap:16px}.hud-title>span{font-size:8px;color:#d9e8df}.health-row{display:flex;align-items:center;gap:12px;margin-top:12px}.health{display:flex;gap:7px}.health i{width:13px;height:11px;background:var(--pink);clip-path:polygon(0 0,35% 0,50% 20%,65% 0,100% 0,100% 50%,50% 100%,0 50%)}.health i.empty{background:#526470}.health-row>span{font:7px var(--pixel);color:#e0e7db}.stage-name{font:9px var(--pixel);letter-spacing:1px;margin-top:3px;color:#dce8d7}.hud-right{display:flex;align-items:start;gap:9px}.score-wrap{margin-right:13px;text-align:right}.label{display:block;font-size:6px;letter-spacing:1px;color:#b6c8c8;margin-bottom:7px}.score-wrap strong{font:15px var(--pixel);color:var(--yellow)}.small-button{width:33px;height:33px;border:1px solid #b4d4d940;background:#132c3a85;display:grid;place-items:center;position:relative;box-shadow:0 3px #08152140}.small-button svg{width:17px;height:17px;display:block}.small-button:hover{background:#396274}.sound-slash{position:absolute;width:24px;height:2px;background:var(--pink);transform:rotate(-45deg)}
.overlay{position:absolute;z-index:8;inset:0;display:grid;place-items:center;background:linear-gradient(180deg,#0b192f90,#173c4028 75%,#0c223380);padding:70px 20px 45px}.title-screen{background:linear-gradient(180deg,#0a26334f,#0d213730 60%,#0b243f60)}.title-content{text-align:center;margin-top:-40px;filter:drop-shadow(0 3px #081a2950)}.edition{font-size:7px;letter-spacing:1.6px;color:#e6e9d6;display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:30px}.edition>span{width:24px;height:2px;background:var(--yellow)}.logo-wrap{position:relative}h1,.logo-shadow{font:clamp(44px,7.1vw,108px)/1 var(--pixel);letter-spacing:-4px;margin:0;color:var(--cream);white-space:nowrap}.logo-shadow{position:absolute;top:6px;left:7px;color:#224c59;z-index:-1;-webkit-text-stroke:7px #102b3e}h1{text-shadow:0 6px #b66d58;-webkit-text-stroke:1px #fff4d9}.logo-tag{font:7px var(--pixel);letter-spacing:2.7px;color:var(--yellow);margin-top:24px}.story{font-family:Arial,sans-serif;font-size:16px;line-height:1.75;color:#eef1dd;margin:28px 0 24px;text-shadow:2px 2px #173544}.big-button{background:var(--pink);border:0;box-shadow:0 -3px #ffb0ad,inset -4px -4px #b84b74,4px 4px #112c3f;height:52px;min-width:260px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 auto;color:#291f3b;font:10px var(--pixel);text-shadow:none}.big-button>span{font:17px Display,monospace}.big-button:hover{background:#ffa0ac;transform:translateY(-1px)}.big-button:active{transform:translate(2px,2px);box-shadow:0 -3px #ffb0ad,inset -4px -4px #b84b74,2px 2px #112c3f}.option-button{border:0;background:#102e3e88;color:#e6e5c8;display:block;padding:10px 12px;font-size:6px;letter-spacing:.7px;margin:16px auto}.option-button[aria-pressed=true]{color:#abe6c6}.world-tickets{display:flex;align-items:center;justify-content:center;gap:16px;margin:28px 0;font:6px var(--pixel);color:#ecedd8;letter-spacing:.7px}.world-tickets>span{display:flex;align-items:center;gap:6px}.world-tickets b{color:#eacb94;font:11px monospace}.world-tickets i{width:6px;height:6px;box-shadow:2px 2px #112c3f}.forest-dot{background:#9fd5aa}.city-dot{background:#b2b3ef}.relay-dot{background:#ff9d96}.title-controls{font:6px/2.1 var(--pixel);letter-spacing:.5px;color:#d5e4d8}.title-controls kbd{font:inherit;color:var(--yellow);border:1px solid #b7d6bd60;padding:4px 5px;margin:0 5px 0 13px;background:#12304550}.best-line{font:6px var(--pixel);color:#bbcfc4;margin-top:26px;letter-spacing:.5px}.best-line strong{color:var(--yellow);font:8px var(--pixel);margin-left:9px}.best-line>span{font:5px var(--pixel);color:#9db8b2;margin-left:10px}.title-footer{position:absolute;bottom:22px;left:27px;right:27px;display:flex;justify-content:space-between;font-size:5px;letter-spacing:1px;color:#d2dcc9}.title-footer i{font:16px Arial;color:var(--yellow);vertical-align:middle;margin-left:8px}.touch-copy{display:none}
.dialog{width:min(460px,100%);text-align:center;padding:35px 25px;background:#101d34e8;border:2px solid #789c9a;box-shadow:6px 6px #07101a88}.eyebrow{font-size:6px;line-height:1.8;letter-spacing:1.4px;color:var(--yellow);margin-bottom:20px}.dialog h2{font:30px/1.5 var(--pixel);color:#fff3d7;letter-spacing:-1px;margin:0;text-shadow:3px 3px #b35c73}.dialog p{font:14px/1.6 Arial,sans-serif;color:#bbcfcc;margin:17px 0 27px}.text-button{font:7px var(--pixel);display:block;border:0;background:transparent;color:#c5d5cc;padding:12px;margin:11px auto 0}.text-button:hover{color:var(--yellow)}.dialog-controls{font:6px/2 var(--pixel);color:#9fb7b8;margin-top:20px}.result-number{font:34px var(--pixel);color:var(--yellow);margin:25px 0}.result-stats{display:flex;justify-content:center;gap:35px;font:6px var(--pixel);color:#94b5bc;margin:25px 0 32px}.result-stats strong{font:10px var(--pixel);display:block;color:#f7ebcf;margin-top:10px}
.banner{position:absolute;left:0;right:0;top:22%;text-align:center;z-index:6;pointer-events:none;font:clamp(13px,2vw,24px)/1.6 var(--pixel);letter-spacing:1px;color:var(--cream);text-shadow:3px 3px #143348}.banner small{display:block;font:7px/1.8 var(--pixel);letter-spacing:1px;color:var(--yellow);margin:12px auto 0;max-width:85%}.bottom-info{position:absolute;left:26px;bottom:52px;z-index:5;pointer-events:none;font:6px var(--pixel);letter-spacing:1px;color:#f5eed3;display:flex;align-items:center;gap:20px;text-shadow:2px 2px #143348}#power-label{color:#ffb8c1}.desktop-hint{position:absolute;left:0;right:0;bottom:15px;z-index:5;display:flex;justify-content:center;gap:24px;font:6px var(--pixel);color:#a7c9be;text-shadow:1px 1px #122f43}.desktop-hint b{font-weight:400;color:#ebedd9;margin-left:5px}
.touch-controls{position:absolute;left:20px;right:20px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:7;display:none;justify-content:space-between;align-items:end;pointer-events:none;touch-action:none;user-select:none;-webkit-user-select:none}.touch-controls button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #cee8dc70;box-shadow:0 5px #10283ea0,inset 0 0 0 2px #10283e55;background:#153746b3;backdrop-filter:blur(2px);text-shadow:2px 2px #16354a;color:#d9f5df}.touch-controls button.pressed{transform:translateY(3px);background:#6fbdab;box-shadow:0 2px #10283eb0,inset 0 0 0 2px #10283e55}.direction-buttons{display:flex;gap:9px}.direction-buttons button{width:65px;height:65px;font:23px Display,monospace}.action-buttons{display:flex;gap:12px;align-items:end}.action-buttons button{width:62px;height:62px;border-radius:50%;box-shadow:0 5px #10283ea0,inset 0 0 0 3px #10283e55}.action-buttons b{font:26px Display,monospace;line-height:1}.action-buttons span{font:5px var(--pixel);margin-top:6px}.action-buttons .jump{width:74px;height:74px;background:#e58a70cc;color:#fff3d3;border-color:#ffd8a0b0}.action-buttons .fire{background:#a54e79bd;border-color:#fcb4ccb0}.action-buttons .dash{width:48px;height:48px;margin-right:-4px;margin-bottom:21px}.dash i{position:absolute;left:8px;right:8px;height:2px;bottom:5px;background:#85e6c5;transform-origin:left}.toast{position:absolute;z-index:20;bottom:30%;left:50%;transform:translateX(-50%);padding:17px;background:#11263ef2;border:2px solid #9bd6c9;font:8px/1.8 var(--pixel);text-align:center;max-width:90%;min-width:220px}
#arcade[data-state=title] .hud-left,#arcade[data-state=title] .score-wrap,#arcade[data-state=title] .stage-name,#arcade[data-state=title] #pause-btn{visibility:hidden}#arcade:not([data-state=playing]) .touch-controls,#arcade:not([data-state=playing]) .bottom-info,#arcade:not([data-state=playing]) .desktop-hint{visibility:hidden}.hidden{display:none!important}
@media(pointer:coarse){.touch-controls{display:flex}.keyboard-copy,.desktop-hint{display:none}.touch-copy{display:block;font-size:6px;line-height:2.3}.touch-copy small{font:5px var(--pixel);color:#abc8c1}.bottom-info{bottom:133px}.small-button{width:39px;height:39px}.title-controls{margin:20px 0}.screen-texture{background:none}}
@media(max-width:760px){.topbar{padding:calc(15px + env(safe-area-inset-top)) 16px 35px;gap:10px}.stage-name{display:none}.hud-title{font-size:8px;gap:9px}.hud-title>span{font-size:6px}.health-row{margin-top:9px;gap:8px}.health{gap:4px}.health i{width:11px;height:10px}.health-row>span{font-size:5px}.hud-right{gap:6px}.score-wrap{margin-right:5px}.score-wrap strong{font-size:10px}.label{font-size:5px;margin-bottom:5px}.small-button{width:30px;height:32px}.small-button svg{width:15px;height:15px}.title-content{margin-top:-24px;width:100%}.edition{font-size:5px;letter-spacing:.7px;gap:8px;margin-bottom:24px}.edition>span{width:15px}.logo-wrap{margin:0 -8px}h1,.logo-shadow{font-size:clamp(33px,10.9vw,66px);letter-spacing:-2.8px}.logo-shadow{top:4px;left:4px;-webkit-text-stroke:3px #102b3e}.logo-tag{font-size:5px;letter-spacing:1px;margin-top:19px}.story{font-size:14px;margin:23px 0}.big-button{height:50px;min-width:245px;font-size:8px;padding:0 19px}.world-tickets{gap:10px;font-size:5px;letter-spacing:0;margin:22px -3px}.world-tickets>span{gap:5px}.title-controls{font-size:5px;line-height:2.5}.best-line{font-size:5px;margin-top:22px}.best-line strong{font-size:7px;margin-left:6px}.best-line>span{display:none}.title-footer{left:17px;right:17px;bottom:18px;font-size:4px;letter-spacing:.2px}.title-footer i{font-size:12px;margin-left:3px}.title-footer>span:first-child{max-width:170px;line-height:1.8}.overlay{padding:75px 18px 45px}.banner{top:23%;font-size:16px;letter-spacing:0}.banner small{font-size:6px;max-width:85%;line-height:2}.bottom-info{left:17px;bottom:122px;font-size:5px;gap:14px;letter-spacing:.5px}.touch-controls{display:flex;left:14px;right:14px;bottom:calc(23px + env(safe-area-inset-bottom))}.direction-buttons{gap:7px}.direction-buttons button{width:49px;height:56px;font-size:19px}.action-buttons{gap:9px}.action-buttons button{width:51px;height:51px}.action-buttons .jump{width:61px;height:61px}.action-buttons .dash{width:39px;height:39px;margin-right:-4px;margin-bottom:30px}.action-buttons span{font-size:4px;margin-top:4px}.action-buttons b{font-size:23px}.desktop-hint,.keyboard-copy{display:none}.touch-copy{display:block;font:5px/2.4 var(--pixel)}.touch-copy small{font:4px var(--pixel);color:#b7d0c5}.dialog{padding:28px 17px}.dialog h2{font-size:25px}.eyebrow{font-size:5px;letter-spacing:.8px}.dialog p{font-size:13px}.dialog-controls{font-size:5px}.result-number{font-size:29px}.result-stats{gap:29px;font-size:5px}.result-stats strong{font-size:8px}.result-stats+.big-button{min-width:225px}}
@media(max-width:360px){.topbar{padding-left:12px;padding-right:12px}.hud-right{gap:4px}.small-button{width:27px;height:30px}.score-wrap{margin-right:3px}.hud-title{gap:6px;font-size:7px}.score-wrap strong{font-size:9px}.health-row>span{font-size:4px}.direction-buttons button{width:43px;height:51px}.touch-controls{left:12px;right:12px}.action-buttons{gap:7px}.action-buttons .jump{width:56px;height:56px}.action-buttons .fire{width:46px;height:46px}.action-buttons .dash{width:35px;height:35px}.world-tickets{font-size:4px;gap:8px}.edition{font-size:4px}.logo-tag{font-size:4px}.title-footer{font-size:3px}.title-footer>span:first-child{max-width:150px}}
@media(max-height:570px) and (orientation:landscape){.topbar{padding-top:12px;padding-bottom:18px}.title-content{margin-top:6px}.edition{font-size:5px;margin-bottom:15px}h1,.logo-shadow{font-size:64px}.logo-tag{font-size:5px;letter-spacing:1.3px;margin-top:13px}.story{font-size:12px;line-height:1.5;margin:14px 0}.big-button{height:42px;min-width:230px;font-size:8px}.option-button{margin:10px auto;font-size:5px;padding:7px}.world-tickets{margin:14px 0;font-size:5px;gap:14px}.title-controls{font-size:5px;margin:8px 0}.touch-copy small{display:none}.best-line{margin-top:14px;font-size:5px}.title-footer{bottom:12px;font-size:4px}.overlay{padding:48px 20px 30px}.hud-title{font-size:9px}.hud-title>span{font-size:6px}.health-row{margin-top:8px}.score-wrap strong{font-size:11px}.stage-name{font-size:7px}.small-button{width:31px;height:31px}.touch-controls{bottom:17px;left:20px;right:20px}.direction-buttons button{width:51px;height:48px}.action-buttons button{width:48px;height:48px}.action-buttons .jump{width:56px;height:56px}.action-buttons .dash{width:36px;height:36px;margin-bottom:25px}.bottom-info{bottom:88px;font-size:5px}.dialog{padding:17px 25px}.dialog h2{font-size:24px}.eyebrow{margin-bottom:10px;font-size:5px}.dialog p{margin:10px 0 15px;font-size:12px}.dialog-controls{display:none}.result-number{font-size:26px;margin:15px 0}.result-stats{margin:17px 0 23px}.text-button{font-size:6px;padding:8px;margin-top:7px}}
@media(prefers-reduced-motion:reduce){.screen-texture{display:none}.big-button:hover,.big-button:active{transform:none}}

.big-button>span,.direction-buttons button,.action-buttons b{font-family:Display,Pixel,monospace}
@media(max-height:570px) and (orientation:landscape){.title-screen .edition,.title-screen .world-tickets{display:none}.title-screen h1,.title-screen .logo-shadow{font-size:58px}.title-screen .logo-tag{margin-top:13px}.title-screen .story{margin:14px 0}.title-screen .title-content{margin-top:0}.title-screen .best-line{margin-top:12px}}
.logo-shadow{width:100%;text-align:center;pointer-events:none}.big-button{font-size:12px}.option-button{font-size:8px}.title-controls{font-size:8px}.best-line{font-size:7px}.world-tickets{font-size:7px}.touch-copy small{font-size:6px}.action-buttons span{font-size:6px}
@media(max-width:760px){.big-button{font-size:10px}.option-button{font-size:8px}.title-controls,.touch-copy{font-size:7px}.touch-copy small{font-size:6px}.best-line{font-size:7px}.best-line strong{font-size:9px}.world-tickets{font-size:6px}.hud-title{font-size:10px}.hud-title>span{font-size:7px}.health-row>span{font-size:6px}.score-wrap strong{font-size:12px}.label{font-size:6px}.action-buttons span{font-size:6px}.banner small{font-size:7px}}
@media(max-width:360px){.hud-title{font-size:8px}.hud-title>span{font-size:6px}.health-row>span{font-size:5px}.score-wrap strong{font-size:10px}.world-tickets{font-size:5px}.touch-copy{font-size:6px}.touch-copy small{font-size:5px}.action-buttons span{font-size:5px}}
@media(max-height:570px) and (orientation:landscape){.title-controls{font-size:6px}.option-button{font-size:7px}.big-button{font-size:10px}.title-screen .best-line{font-size:6px}}
/* Adventure update: checkpoint saves, fragments and outfits. */
.menu-buttons{display:grid;gap:12px;width:min(300px,100%);margin:auto}.big-button{width:100%;max-width:300px;min-width:0;padding:0 16px;gap:12px;font-size:16px}.continue-button{background:#9edec6;box-shadow:0 -3px #d3f2d0,inset -4px -4px #4d9e99,4px 4px #112c3f}.continue-button:hover{background:#b6ecd1}#continue-label{font:10px var(--pixel)}.outfit-picker{margin:22px auto 0;font:6px var(--pixel);color:#d5e1ce}.outfit-caption{display:block;color:#ecd6ad;font-size:5px;letter-spacing:1px;margin-bottom:10px}.outfit-picker>div{display:flex;align-items:center;justify-content:center;gap:17px}.outfit-swatch{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;font:5px var(--pixel);color:#d6ded2;padding:3px}.outfit-swatch i{display:block;width:23px;height:18px;border:3px solid #b5cfb460;background:#6cc8b1;box-shadow:2px 2px #142b4050}.outfit-swatch.afterglow i{background:#b5a3ed}.outfit-swatch.gold i{background:#f6cc7e}.outfit-swatch[aria-pressed=true] i{border-color:#fff1b3;outline:2px solid #204b53;box-shadow:0 0 0 4px #f8d9a430}.outfit-swatch:disabled{opacity:.48;cursor:default}.outfit-picker #outfit-progress{display:block;font-size:5px;margin-top:11px;color:#bed9c9}.world-tickets{margin:20px 0}.title-content{margin-top:-20px}.title-screen .best-line{margin-top:15px}.run-progress{position:absolute;z-index:5;left:50%;top:75px;transform:translateX(-50%);width:220px;pointer-events:none;text-shadow:1px 1px #123042}.fragment-hud{display:flex;align-items:center;gap:8px;font:7px var(--pixel);color:#d7f5d3}.fragment-symbol{color:#93ead5;font:11px Display,Pixel,monospace}.fragment-hud strong{font:7px var(--pixel);color:#d7f5d3}#run-gems{margin-left:auto;color:#ffdfa6;font-size:6px}.stage-progress{height:3px;background:#17374880;margin-top:8px;border:1px solid #a3cebd40}.stage-progress i{height:1px;background:#c9ebbd;display:block;width:0}.combo-label{text-align:right;color:#ffd19c;font:6px var(--pixel);margin-top:8px;height:10px}.critical:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:4;box-shadow:inset 0 0 55px #f57b954a}.rank-stamp{display:grid;place-items:center;width:78px;height:78px;margin:23px auto;color:#ffde91;font:48px Display,Pixel,monospace;border:2px solid #e6bd8a;box-shadow:4px 4px #82475d;transform:rotate(-5deg);background:#2b3d53}.clear-stats{display:flex;justify-content:center;gap:23px;font:6px var(--pixel);color:#abc7c7}.clear-stats strong{display:block;margin-top:10px;font:12px var(--pixel);color:#f7e7c4}.clear-dialog p{font-size:13px;max-width:320px;margin:23px auto}.result-stats{gap:24px}.action-buttons .dash{min-width:44px;min-height:44px}.title-screen .story{margin:21px 0}.title-screen .edition{margin-bottom:24px}
@media(max-width:760px){.big-button{font-size:12px;max-width:285px}.menu-buttons{width:min(285px,100%);gap:10px}.title-content{margin-top:-10px}.title-screen .story{margin:19px 0}.outfit-picker{margin-top:18px}.outfit-swatch i{width:22px;height:17px}.outfit-picker>div{gap:14px}.outfit-picker #outfit-progress{font-size:5px}.title-screen .world-tickets{margin:18px 0}.title-screen.has-save .world-tickets{display:none}.run-progress{top:66px;width:180px}.fragment-hud{font-size:6px}.fragment-hud strong{font-size:6px}#run-gems{font-size:5px}.combo-label{font-size:5px;margin-top:7px}.rank-stamp{width:65px;height:65px;font-size:38px;margin:20px auto}.clear-stats{gap:19px;font-size:5px}.clear-stats strong{font-size:10px}.clear-dialog h2{font-size:21px}.result-stats{gap:19px;font-size:5px}.result-stats strong{font-size:8px}.action-buttons .dash{width:44px;height:44px}.title-screen .option-button{margin:12px auto}.title-screen .title-controls{margin:16px 0}}
@media(max-width:360px){.big-button{font-size:11px}.menu-buttons{max-width:265px}#continue-label{font-size:9px}.outfit-picker>div{gap:10px}.outfit-picker{margin-top:15px}.outfit-swatch{font-size:4px}.run-progress{width:160px}.action-buttons .dash{width:44px;height:44px}.result-stats{gap:15px}.title-screen .story{margin:15px 0}.title-screen .logo-tag{margin-top:15px}.title-screen .world-tickets{margin:15px 0}.title-screen .title-controls{margin:12px 0}}
@media(max-height:570px) and (orientation:landscape){.title-screen .story,.title-screen .title-controls,.title-screen .world-tickets{display:none}.title-screen .logo-tag{margin-top:12px}.title-screen .logo-wrap{margin-bottom:18px}.title-screen .outfit-caption,.title-screen #outfit-progress{display:none}.title-screen .outfit-picker{margin-top:13px}.title-screen .option-button{font-size:7px;margin:10px auto;padding:6px 10px}.title-screen .outfit-swatch{flex-direction:row;font-size:4px;gap:6px}.title-screen .outfit-swatch i{width:18px;height:15px}.title-screen .outfit-picker>div{gap:15px}.title-screen .best-line{margin-top:12px}.menu-buttons{gap:10px;max-width:280px}.big-button{font-size:12px;height:40px}.title-screen h1,.title-screen .logo-shadow{font-size:48px}.title-content{margin-top:0}.run-progress{top:60px;width:180px}.clear-dialog{max-width:480px;padding:19px 25px;display:grid;grid-template-columns:70px 1fr;column-gap:23px;align-items:center}.clear-dialog .eyebrow{grid-column:1/-1;margin-bottom:9px}.clear-dialog h2{grid-column:1/-1;font-size:22px}.rank-stamp{width:62px;height:62px;font-size:40px;grid-column:1;grid-row:3/5;margin:20px auto}.clear-stats{grid-column:2;gap:17px;margin:18px 0 0;font-size:5px}.clear-stats strong{font-size:9px;margin-top:8px}.clear-dialog p{grid-column:2;line-height:1.6;font-size:11px;margin:12px auto 16px}.clear-dialog .big-button,.clear-dialog .text-button{grid-column:1/-1}.clear-dialog .text-button{margin-top:12px}.result-stats{gap:25px}}
@media(max-height:700px) and (orientation:portrait){.title-screen .edition,.title-screen .world-tickets,.title-screen .title-controls{display:none}.title-screen .logo-wrap{margin-bottom:20px}.title-screen .outfit-caption{display:none}.title-screen .story{font-size:13px;line-height:1.5;margin:17px 0}.title-screen .outfit-picker{margin-top:16px}.title-screen .best-line{margin-top:14px}.title-screen .logo-tag{font-size:4px}.title-content{margin-top:0}.title-footer>span:first-child{display:none}.title-footer{justify-content:end}}
/* The assigned role becomes a command the player can change. */
.script-status{position:absolute;z-index:5;left:25px;top:82px;width:330px;padding:11px 12px;background:#162b3acf;border-left:3px solid #e5b59c;text-shadow:1px 1px #132c40;pointer-events:none;font:7px/1.9 var(--pixel);color:#f3d9b5}.script-status>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;color:#f1c4b5}.script-status #edits-count{color:#b5e5ce;white-space:nowrap}.script-status.rewritten{border-color:#a8e3bf}.script-status.rewritten #script-role,.script-status.rewritten #script-order{color:#c9e8bc}.rewrite-button{position:absolute;z-index:7;bottom:83px;left:50%;transform:translateX(-50%);width:300px;min-height:44px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:2px solid #a8dec4;background:#17394aed;box-shadow:3px 3px #11283d;color:#d1efd1;font:8px/1.6 var(--pixel);touch-action:manipulation}.rewrite-button kbd{font:9px var(--pixel);padding:5px 6px;background:#8fd5bb;color:#143545}.rewrite-button.context-ready{background:#b4e7c7;color:#163d47;border-color:#e6f6c8}.rewrite-button.context-ready kbd{background:#2f6266;color:#e4f4c8}.rewrite-button:not(:disabled):hover{border-color:#fff5cf}.rewrite-button:disabled{opacity:.64;background:#213b49}.action-buttons #fire-btn:disabled{opacity:.38}.boss-active .banner{top:205px}.clear-dialog h2{font-size:25px}
@media(max-width:760px) and (orientation:portrait){.script-status{left:16px;right:16px;top:108px;width:auto;padding:8px 10px;font-size:7px;line-height:1.8}.script-status>div:first-child{margin-bottom:4px}.rewrite-button{top:166px;bottom:auto;width:calc(100% - 32px);min-height:44px;font-size:8px}.banner{top:222px}.boss-active .banner{top:274px}.banner small{line-height:2.1;margin-top:10px}.clear-dialog h2{font-size:20px}.bottom-info{max-width:calc(100% - 34px);line-height:1.8;align-items:start}}
@media(max-height:570px) and (orientation:landscape){.script-status{top:65px;left:20px;width:260px;padding:7px 9px;font-size:6px;line-height:1.7}.script-status>div:first-child{margin-bottom:4px}.rewrite-button{bottom:15px;min-height:40px;width:270px;font-size:6px;padding:6px 9px}.rewrite-button kbd{font-size:7px}.banner,.boss-active .banner{top:132px;font-size:16px}.banner small{font-size:6px;margin-top:7px;max-width:70%}.desktop-hint{display:none}.clear-dialog h2{font-size:21px}}
.chapter-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:48px;width:100%;max-width:300px;margin:auto;padding:10px;background:#173b48e8;border:1px solid #abdcc7;box-shadow:3px 3px #102b3a;color:#c4efcd;font:10px var(--pixel)}.chapter-button small{font:5px var(--pixel);color:#d5d4af}.chapter-button:hover{background:#285563}.world-tickets{display:grid;grid-template-columns:repeat(3,max-content);gap:12px 22px}.carnival-dot{background:#f0b1a1}.docks-dot{background:#86d2dc}.summit-dot{background:#e9e4be}.title-screen .edition{margin-bottom:20px}.title-screen .story{margin:17px 0}.title-screen .outfit-picker{margin-top:17px}.title-screen .best-line{margin-top:12px}
@media(max-width:760px){.chapter-button{font-size:9px;min-height:46px;max-width:285px}.chapter-button small{font-size:5px}.world-tickets{gap:10px 14px;font-size:5px}.title-screen .title-controls{margin:12px 0}.title-screen .logo-tag{margin-top:16px}.title-screen .edition{margin-bottom:19px}}
@media(max-height:570px) and (orientation:landscape){.chapter-button{min-height:35px;font-size:8px;padding:6px;gap:5px}.chapter-button small{font-size:4px}.title-screen .outfit-picker{margin-top:10px}.title-screen .best-line{margin-top:9px}.title-screen .logo-wrap{margin-bottom:13px}.title-screen.has-save h1,.title-screen.has-save .logo-shadow{font-size:40px}}
@media(pointer:coarse),(max-width:760px){.direction-buttons{margin-left:6px;gap:13px}}
