/* Original studio identity: warm paper, ink and brass; no external font downloads. */
:root{--lime:#e6bf77;--purple:#b9c9c2;--ink:#171c21;--muted:#cac6bc;--line:#dec69244;--arcade-mint:#e6bf77;--arcade-violet:#ddd3bc;--arcade-navy:#1a2026;font-family:'Avenir Next','Segoe UI',Arial,sans-serif;color:#f4eee1}
.logo{display:block;width:154px;line-height:1;letter-spacing:0;padding:9px 12px;background:#151b23eb;border:1px solid #e6bf7755;border-radius:3px;box-shadow:0 4px 18px #0004}.logo img{display:block!important;width:128px!important;height:auto!important;max-height:76px;object-fit:contain;filter:brightness(0) invert(.94);opacity:1!important;transform:none!important}.logo:hover{border-color:#e6bf77}
h1,h2,.final-mark{font-family:Georgia,'Times New Roman',serif;font-weight:700;font-style:normal}.home h1{font-size:clamp(60px,6.8vw,96px);line-height:.98;letter-spacing:-3px;text-shadow:0 4px 22px #0008}.home h1 em{color:#e6bf77}.home .eyebrow{font-size:11px;letter-spacing:2.6px;border-left:3px solid #e6bf77;padding-left:12px}.home .lead{font-size:16px;line-height:1.6;color:#e4dfd3}.home .features{border-block:1px solid #e6bf7744;padding-block:14px}.home .looks button.selected{background:#e6bf7722;border-color:#e6bf77;color:#f6d99b}
.home .primary,.panel .primary,.primary{background:linear-gradient(115deg,#ecd3a0,#d6ad67);color:#1a2026;border:1px solid #fff4d17a;border-radius:3px;box-shadow:0 4px 0 #70532a66,0 8px 24px #0003;transition:transform .16s,box-shadow .16s,filter .16s}.primary:hover{background:#f2d9a5;transform:translateY(-2px);box-shadow:0 6px 0 #70532a55,0 10px 28px #0004}.primary:active{transform:translateY(1px)}
.mission,.panel,dialog,.quick-player,.hud-menu,.map-wrap,.style-hud,.mission-tools,.guide{background:#192027ed;border:1px solid #d9bf8855;border-radius:5px;color:#f0e9da;box-shadow:0 6px 22px #0003}.mission{border-left:3px solid #d6ad67}.mission .eyebrow{color:#d6ad67;letter-spacing:1.6px}.mission-brief #objective{font-size:14px;font-weight:650;line-height:1.35}.counters b,.style-hud b,#styleTotal{font-variant-numeric:tabular-nums;color:#f5db9f}.style-hud{border-left:3px solid #d6ad67}.world-label{background:#172028e8;border:1px solid #d9bf8866;border-radius:3px;color:#f0e7d3;font-weight:600;letter-spacing:.3px}.world-label.school{color:#ffe3aa;border-bottom:2px solid #e6bf77}
.panel h2,dialog h2{letter-spacing:-.7px;line-height:1.1;color:#f3e6c9}.panel p,dialog p{line-height:1.6}.secondary,.map-places button{border-radius:3px;border-color:#d9bf8855;background:#283039;color:#eee5d2;transition:background .15s,border-color .15s}.secondary:hover,.map-places button:hover{background:#3c4145;border-color:#e6bf77}.map-places b{font-weight:650;line-height:1.35}.map-places small{color:#c2c1b9;line-height:1.5}.reward{background:#26342eee;border-color:#dab87a}.story-progress i,.power-hud i{background:linear-gradient(90deg,#d6ad67,#f3dcad)}.record-disc span{max-width:80px;font-size:9px;letter-spacing:1px;white-space:normal}
body[data-state=roam] .world-actions button{background:#202b34ec;border-color:#cfb78388;color:#f5ecdc}body[data-state=roam] .world-actions #interact{background:#e5c385;color:#20242a}body[data-state=roam] .world-actions #jump{background:#35434b;border-color:#e6bf77}.world-actions button:hover:not(:disabled){filter:brightness(1.16)}.world-actions button:active:not(:disabled){transform:scale(.96)}.trick-notice{background:#1a222bee;border:1px solid #d6ad67;color:#f1d5a1}.control-row kbd{color:#ecc889}.toast{background:#f0dfb8;color:#252b30;border:1px solid #d6ad67}
@media(max-width:700px),(pointer:coarse){.logo{width:115px;padding:6px 8px}.logo img{width:97px!important;max-height:58px}.home h1{font-size:clamp(46px,11.8vw,76px);letter-spacing:-1.8px;line-height:1.02}.home .eyebrow{font-size:9px;letter-spacing:1.3px}.home .lead{font-size:14px}.home .features{padding-block:10px}.mission-brief #objective{font-size:12px;line-height:1.3}.home .primary{min-height:52px}.world-label{font-size:10px}.panel h2,dialog h2{font-size:28px}.panel,dialog{max-width:calc(100vw - 24px)}}
@media(max-height:500px) and (orientation:landscape){.home h1{font-size:44px;margin:10px 0}.home .features{display:none}.home .lead{font-size:12px}.logo{width:102px}.logo img{width:84px!important}}
@media(prefers-reduced-motion:reduce){button,.primary,.secondary{transition:none!important}}
body[data-state=roam] .logo{position:fixed;left:35px;top:12px;width:90px;padding:4px}body[data-state=roam] .logo img{width:80px!important;max-height:46px}
body[data-state=home] #labels{display:none}body[data-state=home] .vignette{background:linear-gradient(90deg,#10161ee6 0%,#10161e99 44%,#10161e22 80%),linear-gradient(0deg,#10161e88,transparent 50%)}.home .features b{font-size:11px;line-height:1.4;color:#f3ead8}.home .features>span{flex:1;font-size:12px}.home .control-note{font-size:11px;color:#ddd7ca}.home .home-foot{font-size:10px;line-height:1.5;color:#d7ccba}.home .lead{text-shadow:0 2px 6px #0009}
@media(max-width:700px),(pointer:coarse){body[data-state=home] .vignette{background:linear-gradient(90deg,#10161ed9,#10161e44),linear-gradient(0deg,#10161ebb,transparent 70%)}.home .features{gap:12px}.home .features b{font-size:10px}.home .home-foot{font-size:9px}.home .control-note{font-size:10px}}
@media(min-width:701px) and (pointer:fine){.home .control-note{display:none}.home .features{margin:18px 0 14px}.home .looks{margin:12px 0}.home h1{margin-top:20px;margin-bottom:18px}}
@media(max-width:700px) and (orientation:portrait){.toast{top:auto;bottom:245px;max-width:calc(100vw - 32px);pointer-events:none}}
/* Dense street lettering: Cyrillic-capable system fallbacks, original studio identity. */
h1,h2,.final-mark{font-family:Impact,'Arial Black','Helvetica Neue',Arial,sans-serif;font-weight:900;font-style:normal}.home h1{font-family:Impact,'Arial Black','Helvetica Neue',Arial,sans-serif;font-size:clamp(76px,7.8vw,112px);font-weight:900;line-height:.95;letter-spacing:-1.5px;color:#fffdf4;-webkit-text-stroke:2px #111820;paint-order:stroke fill;text-shadow:3px 3px 0 #111820,6px 6px 0 #111820,0 9px 26px #0007}.home h1 em{color:#fffdf4}.home .eyebrow{color:#f1cd74}.panel h2,dialog h2{font-family:Impact,'Arial Black','Helvetica Neue',Arial,sans-serif;font-weight:900;letter-spacing:.4px;text-shadow:2px 2px 0 #080e15}.record-disc span{font-size:16px;font-weight:900;letter-spacing:1px}.primary,.secondary,.mission-brief #objective{font-weight:800}
@media(max-width:700px),(pointer:coarse){.home h1{font-size:clamp(50px,13.8vw,82px);line-height:1;letter-spacing:-1px;-webkit-text-stroke:1.5px #111820;text-shadow:2px 2px 0 #111820,4px 4px 0 #111820,0 6px 15px #0007}}
@media(max-height:500px) and (orientation:landscape){.home h1{font-size:46px}}

/* Aircraft uses the same two-thumb layout with explicit vertical flight actions. */
@media(max-width:700px),(pointer:coarse),(max-height:500px) and (orientation:landscape){
 body[data-mode=vehicle][data-transport=plane] .world-actions #jump{display:flex;right:0;bottom:96px;width:70px;height:62px;min-height:62px;border-radius:16px;align-items:center;justify-content:center}
 body[data-mode=vehicle][data-transport=plane] .world-actions #brakeButton{font-size:10px}
}

body[data-transport=plane] .world-actions #dash,body[data-transport=plane] .world-actions #mobileMore{display:none!important}

body[data-transport=metro] .world-actions #dash,body[data-transport=metro] .world-actions #mobileMore,body[data-transport=metro] .world-actions #brakeButton{display:none!important}

body[data-transport=metro] .guide{display:none}
@media(max-height:500px) and (orientation:landscape){
 body[data-state=roam] #powerHud{left:145px;right:auto;bottom:14px;max-width:205px;width:205px;transform:none}
 body[data-state=roam] #environmentStatus{display:none}
}
