@font-face{font-family:"Press Start 2P";src:url(../fonts/press-start-2p.ttf) format("truetype");font-display:block}@font-face{font-family:Pixel;src:url(../fonts/press-start-2p.ttf) format("truetype");font-display:swap}:root{font-family:Arial,Helvetica,sans-serif;color:#f0e9db;background:#0f0e17;font-synthesis:none;--ink:#0f0e17;--panel:#0e0d18;--line:#6b6590;--muted:#bcb4c7;--gold:#ffd84a;--lilac:#c9c5e6;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}#app{height:100dvh;position:relative;touch-action:none}#game{position:absolute;inset:0}#game canvas{display:block;image-rendering:pixelated}button,input,select{font:inherit}button{cursor:pointer;color:#f2ecdf;background:#252336;border:1px solid #6b6590;border-radius:7px;min-height:46px;padding:12px 16px;font-size:15px;line-height:1.35;touch-action:manipulation;transition:background .15s}button:hover{background:#4a4158}button:active,button[aria-pressed=true],button[aria-current=page]{background:#655674;border-color:#c6b8de}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffd84a;outline-offset:3px}button:disabled{opacity:.4;cursor:default}button.primary{background:#ffd84a;color:#3a2605;border-color:#c9a23a;font-weight:700}button.primary:hover{background:#ffe57a}button.primary span{float:right;margin-left:15px}.hidden{display:none!important}small,.eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.6px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h2{font-size:25px;line-height:1.2;margin-bottom:0;font-weight:500}h3{font-size:22px;line-height:1.3;font-weight:500}p{line-height:1.6;color:#ded7e7}#ui{position:absolute;inset:0;pointer-events:none;user-select:none;-webkit-user-select:none}#hud{position:absolute;inset:0;pointer-events:none}#hud button{pointer-events:auto}#hud.blocked{visibility:hidden}.hud-header{position:absolute;left:max(24px,var(--safe-left));right:max(24px,var(--safe-right));top:calc(18px + var(--safe-top));display:flex;align-items:center;justify-content:space-between;gap:16px}.wordmark{font-family:Pixel,monospace;font-size:15px;color:#fff4dc;text-shadow:2px 2px #302d3b;line-height:1.5}.wordmark span{color:#dfc6f0}.wordmark small{font-family:Arial,sans-serif;display:block;font-size:8px;margin-top:6px;color:#e9e6d8;text-shadow:1px 1px #302d3b}.header-actions{display:flex;gap:7px}.header-actions button{min-width:46px;min-height:46px;padding:6px;background:#0e0d18ed;font-size:23px;border-color:#c9a23a}.header-actions button[aria-pressed=true]{color:var(--gold);background:#5c4868}#quest{position:absolute;left:max(24px,var(--safe-left));top:calc(92px + var(--safe-top));max-width:360px;width:calc(100% - 210px);text-align:left;background:#0e0d18f0;border-color:#c9a23a;box-shadow:0 6px 18px #0f0e1722;padding:14px 17px;display:flex;flex-direction:column;gap:6px}#quest small{color:var(--gold);letter-spacing:1px;font-size:9px}#quest b{font-size:19px;font-weight:500}#quest span{font-size:13px;color:#d8d0df;line-height:1.45}#map-button{position:absolute;top:calc(92px + var(--safe-top));right:max(24px,var(--safe-right));background:#0e0d18ef;padding:5px;min-height:0;border-color:#c9a23a;display:flex;flex-direction:column;gap:3px}#minimap{width:132px;height:103px;image-rendering:pixelated;border-radius:3px}#map-label{font-size:8px;color:#ead8bc}#collection-count{position:absolute;right:max(24px,var(--safe-right));top:calc(235px + var(--safe-top));font-size:12px;color:#f8e5ca;background:#0e0d18e8;padding:7px 11px;border-radius:6px}#car-hud{position:absolute;top:calc(264px + var(--safe-top));right:max(24px,var(--safe-right));font-size:12px;background:#0e0d18ed;padding:10px;border-radius:5px;max-width:210px;text-align:right;line-height:1.4}#prompt{position:absolute;left:50%;bottom:calc(50px + var(--safe-bottom));transform:translate(-50%);background:#0e0d18e8;color:#f4e1c7;padding:10px 16px;max-width:80%;border-radius:5px;font-size:14px;text-align:center}#prompt:empty{display:none}.desktop-help{position:absolute;bottom:16px;left:50%;transform:translate(-50%);font-size:10px;letter-spacing:1px;color:#fff1d9;text-shadow:1px 1px #0e0d18;white-space:nowrap}#toast{position:absolute;z-index:4;top:calc(295px + var(--safe-top));left:50%;transform:translate(-50%,-6px);max-width:430px;width:calc(100% - 40px);padding:14px 18px;background:#0e0d18f5;border:1px solid #c9a23a;border-radius:7px;line-height:1.5;font-size:14px;opacity:0;transition:opacity .2s,transform .2s;color:#f3e7d4;pointer-events:none}#toast.visible{opacity:1;transform:translate(-50%)}#touch{display:none;position:absolute;left:max(20px,var(--safe-left));right:max(20px,var(--safe-right));bottom:calc(20px + var(--safe-bottom));justify-content:space-between;align-items:flex-end;pointer-events:none}#joystick{pointer-events:auto;touch-action:none;width:122px;height:122px;border-radius:50%;border:2px solid #f5e7d2a0;background:#0e0d1880;position:relative;box-shadow:inset 0 0 0 14px #ebe3cc10}#stick{width:48px;height:48px;position:absolute;left:35px;top:35px;border-radius:50%;background:#e6d8b8b0;border:2px solid #fff1dbb0;pointer-events:none}.touch-right{display:grid;grid-template-columns:repeat(2,84px);gap:8px;pointer-events:none}.touch-right button{font-size:11px;font-weight:700;min-height:52px;padding:8px 4px;border-radius:12px;background:#302d3be0;border:1px solid #d9c8b2aa;touch-action:none;pointer-events:auto}#action{grid-column:1/-1;background:#ffd84aed;color:#0e0d18;min-height:56px}#boost{grid-column:2}#drift{grid-column:1/-1;min-height:44px}#brake{grid-column:1;grid-row:2}#boost:not(:only-child){grid-row:2}#overlay{position:absolute;inset:0;pointer-events:none}#overlay:empty{display:none}.panel-backdrop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:calc(24px + var(--safe-top)) max(24px,var(--safe-right)) calc(24px + var(--safe-bottom)) max(24px,var(--safe-left));background:#15131e98;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:auto;touch-action:none}.panel{width:560px;max-width:100%;max-height:100%;display:flex;flex-direction:column;background:#181523;border:1px solid #c9a23a;box-shadow:0 24px 100px #17131ec0;border-radius:14px;overflow:hidden}.wide-panel{width:850px}.puzzle-panel{width:650px}.panel-heading{padding:24px 28px 18px;border-bottom:1px solid #49404f;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.panel-heading small{font-size:9px;color:var(--gold);display:block;margin-bottom:8px}.panel-body{padding:22px 28px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;min-height:0;scrollbar-width:thin;scrollbar-color:#7e6a8b #181523}.panel-body:focus:not(:focus-visible){outline:none}.panel-actions{display:flex;flex-wrap:wrap;gap:9px;padding:16px 28px 22px;border-top:1px solid #49404f;flex-shrink:0}.panel-actions>button{flex:1;min-width:115px}.options{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}.options button{flex:1;min-width:95px}.choice-list{display:flex;flex-direction:column;gap:10px}.choice-list button{text-align:left}.choice-list b{font-weight:500}.choice-list small{display:block;font-size:12px;letter-spacing:0;color:#d2c7da;margin-top:5px}.panel-body>button{margin:7px 0;width:100%}.puzzle-intro{font-size:14px;margin-bottom:20px}.puzzle-tools{display:flex;flex-wrap:wrap;gap:8px}.puzzle-tools button{flex:1;min-width:120px;font-size:12px}.puzzle-status:not(:empty){padding:12px 14px;background:#554454;border-radius:6px}.hint{background:#403a4e;color:#eee0ca;padding:15px;border-left:3px solid var(--gold);font-size:14px}.puzzle-status:empty{display:none}fieldset{border:0;padding:0;margin:18px 0}legend{font-size:13px;color:var(--gold);font-weight:700}.puzzle-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:7px;margin:15px 0}.puzzle-grid button{font-size:12px;min-height:65px;padding:8px 3px;overflow-wrap:anywhere}.puzzle-grid small{display:block;letter-spacing:0;font-size:10px;line-height:1.4;color:#ffe2b6;margin-top:4px}.item-tray{margin-bottom:12px}.item-tray button{font-size:12px}.slot-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}.slot-list button{text-align:left;min-height:70px}.slot-list small{display:block;letter-spacing:0;font-size:11px;margin-bottom:7px}.slot-list strong{font-weight:500}.toggle-list{display:flex;flex-direction:column;gap:10px;margin:15px 0}.toggle-list button{text-align:left;line-height:1.5}.mini-preview{max-width:400px;margin:16px auto;overflow:hidden;border-radius:6px;background:#39364b}.mini-preview svg,.album-cover svg,.moment-reward svg{width:100%;display:block}.mini-preview p{padding:12px;margin:0;font-size:13px}.counters{display:flex;flex-direction:column;gap:9px;margin:20px 0}.counters>div{display:flex;gap:10px;align-items:center}.counters span{flex:1;font-size:13px}.counters button{min-width:46px;padding:8px;font-size:20px}.counters output{width:25px;text-align:center;font-size:22px}.segments{display:flex;height:37px;gap:2px;margin-top:10px;color:#282536}.segments span{text-align:center;line-height:37px;font-weight:700}.recipe-target{padding:16px;background:#332e40;border-radius:7px;font-size:14px}.mix-swatch{min-height:65px;color:#282536;display:flex;align-items:center;justify-content:center;font-size:13px;border-radius:6px;margin-bottom:20px}.lens-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lens{background:#37313f;border:1px solid #776279;border-radius:25px;padding:15px 8px;text-align:center}.lens p{font-size:22px;margin:14px 0}.lens .options{margin-bottom:0}.lens button{min-width:44px;padding:8px}.preview-text{background:#35303f;padding:16px;border-radius:7px;font-size:14px}.preview-text p{margin:8px 0 0}.dialogue-layout{display:grid;grid-template-columns:96px 1fr;gap:22px;align-items:start}.dialogue-layout canvas{image-rendering:pixelated;width:96px;height:114px;border-radius:7px}.dialogue-layout small{letter-spacing:1px}.dialogue-text{font-size:20px;line-height:1.6;margin:12px 0 0}.appearance-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:25px}.appearance-preview>div{background:#373241;border-radius:8px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 0}.appearance-preview canvas{image-rendering:pixelated;max-width:100%;height:auto}.appearance-preview img{width:48px;height:72px;image-rendering:pixelated}.phone-tabs{display:flex;gap:6px;overflow-x:auto;touch-action:pan-x;margin:0 -10px 20px;padding:0 10px 10px;overscroll-behavior:contain}.phone-tabs button{font-size:12px;flex-shrink:0;min-height:44px;padding:9px 12px}.message-bubble{background:#393243;border-radius:10px 10px 10px 2px;padding:15px 17px;margin-bottom:13px}.message-bubble small{font-size:9px;color:var(--gold)}.message-bubble p{font-size:15px;margin:6px 0 0}.side-list{display:flex;flex-direction:column;gap:9px;margin-bottom:20px}.side-list button{text-align:left}.side-list small{display:block;letter-spacing:0;color:#d5c9da;margin-top:4px}.album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.album-card{background:#353040;overflow:hidden;border-radius:8px;padding-bottom:10px}.album-card svg{width:100%;display:block}.album-card b{font-size:17px;display:block;padding:13px 14px 0;font-weight:500}.album-card p{font-size:12px;margin:8px 14px;line-height:1.5}.unseen-card{aspect-ratio:16/9;display:grid;place-items:center;background:#3f3a4e;color:#7f748c;font-size:44px}.locked b,.locked p{color:#b0a6bc}.album-cover{margin-bottom:25px;text-align:center}.album-cover h3{margin:22px 0 10px}.album-cover p{margin:15px 0}.album-cover svg{border-radius:6px}.letter{font-family:Georgia,serif;background:#e7dcc6;color:#403244;padding:30px;border-radius:6px;margin:16px 0}.letter p{font-size:18px;line-height:1.75;color:#403244}.letter p:last-child{margin-bottom:0}.letter-seal{font-size:27px;margin-bottom:22px}.moment-reward{text-align:center}.moment-reward small{display:block;margin:20px 0 12px;color:var(--gold)}.moment-reward h3{font-size:29px;margin:0 0 12px}.moment-reward p{font-size:17px;margin-bottom:3px}.settings-list{display:flex;flex-direction:column;gap:20px;margin-bottom:24px}.settings-list label{font-size:15px;line-height:1.5}.settings-list input[type=range]{display:block;width:100%;min-height:44px;margin:7px 0;accent-color:#c2a6db}.settings-list input[type=checkbox]{width:24px;height:24px;vertical-align:middle;margin:0 12px 0 0;accent-color:#c2a6db}.import-save{display:block;padding:12px 0;line-height:1.5}.import-save input{display:block;max-width:100%;margin-top:10px}.save-note{font-size:13px;color:#c7b6d7}#large-map{width:100%;height:auto;display:block;background:#81967b;border-radius:7px}.map-legend{font-size:13px;line-height:1.8;margin-top:15px}.map-places button{font-size:12px}.title-screen{position:absolute;inset:0;background:#0f0e17;pointer-events:auto;overflow-y:auto;touch-action:pan-y;display:flex;align-items:center;padding:calc(45px + var(--safe-top)) max(8vw,var(--safe-right)) calc(34px + var(--safe-bottom)) max(8vw,var(--safe-left));overscroll-behavior:contain}.title-art{position:absolute;right:0;bottom:0;width:75%;opacity:.7;pointer-events:none}.title-art svg{width:100%;display:block}.title-screen:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0f0e17 25%,#0f0e17cc 49%,#0f0e1700);pointer-events:none}.title-content{position:relative;z-index:1;width:450px;max-width:100%;margin:0}.title-content>.eyebrow{font-size:9px;color:#c9b9d8;letter-spacing:2px}.title-star{color:#ffd84a;font-size:42px;margin:20px 0 12px}.title-content h1{font-family:Pixel,monospace;font-size:clamp(38px,5vw,68px);font-weight:400;line-height:1.48;letter-spacing:0;margin:0;color:#f3dfc0}.title-content h1 em{font-style:normal;color:#b9acd1}.title-content h2{font-family:Georgia,serif;font-size:29px;margin:14px 0 24px;color:#f0e3d1}.title-content>p{font-size:16px;color:#c8bfce;line-height:1.8;margin-bottom:30px}.menu-actions{display:flex;flex-direction:column;gap:10px;width:340px;max-width:100%}.menu-actions>button{min-height:50px;text-align:left;padding:14px 18px}.menu-row{display:flex;gap:5px}.menu-row button{background:transparent;border-color:transparent;font-size:12px;padding:8px 11px;flex:1;white-space:nowrap}.title-byline{display:block;margin-top:28px;font-size:8px;color:#a99fb7;letter-spacing:2px}@media(pointer:coarse),(max-width:700px){#touch{display:flex}.desktop-help{display:none}#prompt{bottom:calc(198px + var(--safe-bottom));font-size:12px;max-width:90%;width:max-content}.hud-header{left:max(14px,var(--safe-left));right:max(14px,var(--safe-right));top:calc(12px + var(--safe-top))}.wordmark{font-size:11px}.wordmark small{font-size:6px;letter-spacing:.7px}.header-actions{gap:5px}.header-actions button{min-width:44px;min-height:44px;font-size:20px}#quest{left:max(14px,var(--safe-left));top:calc(78px + var(--safe-top));width:calc(100% - 122px);padding:11px 12px;gap:5px}#quest b{font-size:16px}#quest span{font-size:11px;line-height:1.4}#quest small{font-size:7px;letter-spacing:.5px}#map-button{right:max(14px,var(--safe-right));top:calc(78px + var(--safe-top));padding:4px}#minimap{width:86px;height:67px}#map-label{font-size:6px;letter-spacing:1px}#collection-count{right:max(14px,var(--safe-right));top:calc(178px + var(--safe-top));font-size:10px;padding:5px 7px}#car-hud{top:calc(206px + var(--safe-top));right:14px;max-width:220px;font-size:10px}#toast{top:calc(260px + var(--safe-top));font-size:13px;padding:12px 14px}.panel-backdrop{padding:calc(12px + var(--safe-top)) max(10px,var(--safe-right)) calc(12px + var(--safe-bottom)) max(10px,var(--safe-left));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.panel{border-radius:12px}.panel-heading{padding:18px 18px 14px}.panel-heading h2{font-size:23px}.panel-heading small{font-size:8px;letter-spacing:1.4px;margin-bottom:6px}.panel-body{padding:18px}.panel-actions{padding:12px 18px 16px;gap:8px}.panel-actions button{font-size:14px;min-width:105px;padding:11px 12px}.dialogue-layout{grid-template-columns:72px 1fr;gap:15px}.dialogue-layout canvas{width:72px;height:86px}.dialogue-text{font-size:17px;line-height:1.55;margin-top:10px}.dialogue-layout small{font-size:9px}.puzzle-intro{font-size:13px}.puzzle-grid{gap:5px}.puzzle-grid button{min-height:56px;font-size:10px;padding:8px 2px}.puzzle-grid small{font-size:9px}.options{gap:6px}.options button{min-width:80px;font-size:12px;padding:10px 8px}.lens-pair{gap:7px}.lens{padding:12px 6px}.lens b{font-size:14px}.lens p{font-size:19px}.lens .options button{min-width:44px}.slot-list button{font-size:13px;padding:11px}.slot-list small{font-size:10px}.puzzle-tools button{font-size:11px;min-width:85px;padding:9px 7px}.letter{padding:23px 20px}.letter p{font-size:17px;line-height:1.7}.album-grid{gap:9px}.album-card b{font-size:15px;padding:11px 10px 0}.album-card p{font-size:11px;margin:7px 10px}.title-screen{align-items:flex-start;padding:calc(25px + var(--safe-top)) 28px calc(24px + var(--safe-bottom));min-height:100%}.title-art{width:150%;right:-35%;bottom:0;opacity:.45;position:fixed}.title-screen:after{background:linear-gradient(180deg,#0f0e17 10%,#0f0e17d9 50%,#0f0e1744);position:fixed}.title-content{margin:auto 0}.title-content>.eyebrow{font-size:7px;letter-spacing:1.4px}.title-star{font-size:34px;margin:17px 0 8px}.title-content h1{font-size:clamp(34px,9vw,48px);line-height:1.55}.title-content h2{font-size:24px;margin:12px 0 20px}.title-content>p{font-size:14px;line-height:1.7;margin-bottom:24px}.title-byline{font-size:7px;margin-top:20px}.menu-actions{width:100%}.menu-row button{font-size:11px;padding:8px}.moment-reward h3{font-size:25px}}@media(max-width:360px){.wordmark{font-size:9px}.header-actions button{min-width:44px}.hud-header{gap:8px}#touch{left:12px;right:12px}.touch-right{grid-template-columns:repeat(2,76px)}#joystick{width:110px;height:110px}#stick{left:29px;top:29px}.panel-body{padding:15px}.panel-heading{padding:16px 15px 12px}.panel-actions{padding:11px 15px 13px}.panel-heading h2{font-size:21px}.puzzle-grid{gap:4px}.title-screen{padding-left:22px;padding-right:22px}}@media(max-height:550px)and (orientation:landscape){.title-screen{padding:25px 6vw}.title-star{display:none}.title-content{width:440px}.title-content h1{font-size:30px;line-height:1.4}.title-content h1 br{display:none}.title-content h1 em{margin-left:20px}.title-content h2{font-size:23px;margin:8px 0 12px}.title-content>p{font-size:13px;margin-bottom:12px}.title-byline{margin-top:12px}.menu-actions{gap:5px}.menu-actions>button{min-height:44px;padding:9px 14px}.title-content>.eyebrow{font-size:7px}.hud-header{top:calc(7px + var(--safe-top));left:max(12px,var(--safe-left));right:max(12px,var(--safe-right))}.wordmark small{display:none}.wordmark{font-size:10px}.header-actions button{min-height:44px}#quest{top:calc(57px + var(--safe-top));width:260px;max-height:115px;padding:8px 12px}#quest b{font-size:14px}#quest span{font-size:10px}#quest small{font-size:7px}#map-button{top:calc(57px + var(--safe-top))}#minimap{width:86px;height:67px}#collection-count{top:calc(158px + var(--safe-top))}#car-hud{top:calc(185px + var(--safe-top))}#touch{bottom:calc(12px + var(--safe-bottom))}#joystick{width:104px;height:104px}#stick{top:26px;left:26px}.touch-right{grid-template-columns:repeat(3,74px)}.touch-right #action{grid-column:3;grid-row:1/3;min-height:70px}.touch-right #boost{grid-column:2;grid-row:2}.touch-right #brake{grid-column:1;grid-row:2}.touch-right #drift{grid-column:1/3;grid-row:1;min-height:44px}.touch-right button{min-height:44px}#prompt{bottom:calc(21px + var(--safe-bottom));max-width:42%;font-size:11px}#toast{top:calc(70px + var(--safe-top));width:40%;font-size:12px}.panel-backdrop{padding:calc(8px + var(--safe-top)) max(18px,var(--safe-right)) calc(8px + var(--safe-bottom)) max(18px,var(--safe-left))}.panel-heading{padding:12px 20px 10px}.panel-heading h2{font-size:21px}.panel-heading small{margin-bottom:3px;font-size:7px}.panel-body{padding:14px 20px}.panel-actions{padding:10px 20px}.mini-preview{max-width:260px}.puzzle-grid{max-width:350px;margin-left:auto;margin-right:auto}.letter p{font-size:17px}}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}:root{font-family:system-ui,sans-serif;--gold:#ffd84a;--panel:rgba(14,13,24,.94);--ink:#0f0e17;-webkit-text-size-adjust:100%}*{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}button{font-family:monospace;font-weight:700;letter-spacing:.4px;border-radius:8px}.title-screen{background:#0a09148c;display:flex;align-items:center;justify-content:center;text-align:center;padding:calc(30px + var(--safe-top)) 24px calc(30px + var(--safe-bottom))}.title-screen:after{display:none}.title-content{width:100%;max-width:1100px;margin:auto}.title-content>.eyebrow{display:none}.title-content h1{font:400 clamp(26px,5.2vw,76px)/1.5 Pixel,monospace;color:#ffd84a;text-shadow:4px 5px #3a2605;letter-spacing:0;margin:0 0 28px}.title-content h2{font:400 clamp(12px,2vw,28px)/1.7 Pixel,monospace;color:#fff;margin:0 0 34px}.title-content>p{color:#e8e4ff;font-size:clamp(14px,1.7vw,24px);margin:0 0 54px}.menu-actions{width:440px;margin:auto;gap:14px}.menu-actions>button{font:400 20px/1.5 Pixel,monospace;text-align:center;min-height:72px;background:#ffffff18;border:1px solid #ffffff55}.menu-actions>button.primary{background:#ffd84a;color:#3a2605;border-color:#3a2605}.menu-actions>button span{display:none}.menu-row button{font-family:system-ui,sans-serif;color:#e8d9a0;border-color:#fff3}.title-byline{color:#e8d9a0;margin-top:35px}.panel{border:1.5px solid #c9a23a;background:#181523;box-shadow:0 12px 50px #08071099}.panel-backdrop{background:#0a0914b0;-webkit-backdrop-filter:none;backdrop-filter:none}.panel-heading{border-color:#51465d}.panel-heading h2{color:#ffd84a}.panel-heading small{color:#b6d5e8}.panel-actions{border-color:#51465d}.phone-tabs button[aria-current=page],button[aria-pressed=true]{background:#38425e;border-color:#c9a23a}.hint{border-color:#ffd84a;background:#252336}.letter{font-family:system-ui,sans-serif;background:#1b2535;border:1px solid #6b6590;color:#eee8d4}.letter p{color:#eee8d4}.dialogue-backdrop{background:transparent;align-items:flex-end;padding-bottom:max(28px,var(--safe-bottom))}.dialogue-backdrop .panel{width:1296px;max-height:70%;background:#0e0d18f5;border-width:2px;border-radius:20px}.dialogue-backdrop .panel-heading{padding:18px 24px 0;border:0}.dialogue-backdrop .panel-heading small{display:none}.dialogue-backdrop .panel-heading h2{font:400 19px/1.5 Pixel,monospace;text-transform:uppercase}.dialogue-backdrop .panel-body{padding:12px 24px}.dialogue-text{font-size:26px}.dialogue-backdrop .panel-actions{border:0;padding:2px 24px 18px;justify-content:flex-end}.dialogue-backdrop .panel-actions>button{flex:0 1 auto;min-width:145px}.dialogue-layout canvas{background:#2a2740;border:1px solid #6b6590;border-radius:10px}.pixel-plate{display:block;width:100%;height:auto;image-rendering:pixelated}.title-art{display:none}.hud-header{justify-content:flex-end}.wordmark{display:none}.header-actions button{background:#0e0d18e6;border:1.5px solid #c9a23a}.header-actions{gap:8px}#quest{top:calc(20px + var(--safe-top));left:auto;right:max(190px,var(--safe-right));width:348px;max-width:35vw;background:#0e0d18e6;border:2px solid #c9a23a;text-align:center;padding:11px 14px}#quest small{font:400 9px/1.5 Pixel,monospace;color:#ffd84a}#quest b{font-size:17px}#quest span{display:none}#collection-count{top:calc(20px + var(--safe-top));left:max(20px,var(--safe-left));right:auto;width:300px;padding:19px 18px 19px 67px;height:90px;border:2px solid #c9a23a;border-radius:15px;background:#0e0d18e6;font-weight:700;font-size:25px;line-height:1.8;color:#fff}#collection-count:before{content:"★";position:absolute;left:20px;top:26px;background:#f2c23c;color:#7a5a10;border-radius:50%;width:34px;height:34px;text-align:center;line-height:34px}#collection-count:after{content:"МОМЕНТЫ · ОТКРЫТКИ";display:block;font:10px/1.6 monospace;color:#e8d9a0;letter-spacing:1px}#map-button{top:auto;bottom:24px;right:24px;border-color:#c9a23a;background:#0e0d18db}#car-hud{top:calc(111px + var(--safe-top));right:24px;border:1px solid #c9a23a;color:#e8d9a0;font-family:monospace}#prompt{border:1.5px solid #ffd84a;border-radius:28px;background:#0e0d18e6}#toast{border:1.5px solid #ffd84a;background:#0e0d18f0;text-align:center;font-weight:600}@media(pointer:coarse),(max-width:700px){#touch{display:flex}#joystick{width:112px;height:112px;border-color:#c9a23a88;background:#0e0d1866}#stick{width:44px;height:44px;left:32px;top:32px;border:1px solid #c9a23a;background:#ffd84a66}.touch-right{display:flex;align-items:flex-end;gap:8px}.touch-right button{border-radius:50%;width:66px;min-height:66px;background:#0e0d18c9;border-color:#c9a23a;font-size:10px;padding:3px}#action{width:86px;min-height:86px;background:#ffd84a;color:#3a2605}#hud.driving .touch-right{display:grid;grid-template-columns:66px 86px}#hud.driving #boost{grid-column:2;grid-row:1}#hud.driving #brake{grid-column:1;grid-row:1}#hud.driving #drift{grid-column:1;grid-row:2}#hud.driving #action{grid-column:2;grid-row:2}.hud-header{left:auto;right:12px;top:calc(10px + var(--safe-top))}.header-actions{gap:5px}.header-actions button{min-width:44px;min-height:44px;font-size:19px}#quest{top:calc(94px + var(--safe-top));left:12px;right:12px;max-width:none;width:calc(100% - 24px);padding:9px 13px;border:1px solid #a9c7df;border-radius:6px;background:#132c49ef;text-align:center}#quest small{font:700 9px/1.4 system-ui,sans-serif;letter-spacing:.5px}#quest b{font-size:13px;color:#f1f6ff}#collection-count{top:calc(10px + var(--safe-top));left:10px;width:calc(100% - 166px);height:74px;padding:13px 8px 10px 45px;border-radius:10px;border-width:1px;font-size:16px;line-height:1.6}#collection-count:before{left:12px;top:23px;width:26px;height:26px;font-size:18px;line-height:26px}#collection-count:after{font-size:7px;letter-spacing:.5px}#map-button{top:auto;bottom:calc(200px + var(--safe-bottom));right:12px;padding:3px}#minimap{width:75px;height:58px}#car-hud{top:calc(168px + var(--safe-top));right:12px;max-width:210px;padding:8px}#prompt{bottom:calc(150px + var(--safe-bottom));max-width:90%;font-size:13px}#toast{top:calc(185px + var(--safe-top));font-size:13px}.dialogue-backdrop{padding:10px 12px max(12px,var(--safe-bottom))}.dialogue-backdrop .panel{max-height:80%;border-radius:12px}.dialogue-backdrop .panel-heading{padding:15px 14px 0}.dialogue-backdrop .panel-heading h2{font-size:12px}.dialogue-backdrop .panel-body{padding:12px 14px}.dialogue-text{font-size:17px}.dialogue-backdrop .panel-actions{padding:3px 14px 13px}.dialogue-backdrop .panel-actions>button{min-width:100px;font-size:12px}.title-screen{padding:calc(34px + var(--safe-top)) 20px calc(24px + var(--safe-bottom))}.title-content h1{font-size:clamp(24px,7vw,35px);line-height:1.75;margin:0 0 23px}.title-content h2{font-size:clamp(11px,3vw,15px);line-height:1.8;margin-bottom:33px}.title-content>p{font-size:14px;line-height:1.7;margin-bottom:35px}.menu-actions{width:100%;max-width:340px;gap:10px}.menu-actions>button{min-height:55px;font-size:12px;line-height:1.7}.menu-row button{font-size:11px}.title-byline{font-size:7px;letter-spacing:1px;margin-top:27px}}@media(max-height:550px)and (orientation:landscape){.title-content h1{font-size:29px;margin-bottom:12px}.title-content h2{font-size:13px;margin-bottom:16px}.title-content>p{font-size:13px;margin-bottom:18px}.menu-actions{max-width:360px;gap:7px}.menu-actions>button{font-size:12px;min-height:44px;padding:8px 14px}.title-byline{margin-top:12px}.title-screen{padding:20px}.title-content{width:100%}#quest{left:220px;right:170px;top:calc(10px + var(--safe-top));width:auto;max-width:none}#collection-count{width:200px;height:64px;padding:9px 10px 8px 46px;font-size:17px}#collection-count:before{top:17px;left:12px;width:26px;height:26px;line-height:26px;font-size:18px}#collection-count:after{font-size:7px}#map-button{bottom:calc(118px + var(--safe-bottom));right:12px}#minimap{width:64px;height:50px}#car-hud{top:calc(82px + var(--safe-top));right:12px}#prompt{bottom:calc(15px + var(--safe-bottom));max-width:42%}#joystick{width:92px;height:92px}#stick{left:22px;top:22px}.touch-right{display:flex!important;align-items:flex-end}.touch-right button{width:58px;min-height:58px;font-size:9px}#action{width:74px;min-height:74px}.dialogue-backdrop .panel{max-height:94%}.dialogue-backdrop .panel-heading h2{font-size:11px}.dialogue-text{font-size:16px}.dialogue-backdrop .panel-heading{padding-top:10px}.dialogue-backdrop .panel-body{padding-top:7px;padding-bottom:7px}.dialogue-backdrop .panel-actions{padding-bottom:10px}}button,#quest{font-family:system-ui,sans-serif}.panel-actions>button{font-family:system-ui,sans-serif}.menu-actions>button{font-family:Pixel,monospace}#quest span{display:block;font:12px/1.45 system-ui,sans-serif;color:#e8d9a0}#car-hud{top:calc(165px + var(--safe-top))}#vehicle-actions{position:absolute;right:24px;bottom:178px;display:flex;gap:7px;pointer-events:auto}#vehicle-actions button{width:48px;min-height:46px;padding:5px;background:#152b44e8;border-color:#c9a23a;font:700 10px system-ui,sans-serif}.saved-clip-button{margin:8px 10px 2px;max-width:calc(100% - 20px);font-size:12px;padding:8px}@media(pointer:coarse),(max-width:700px){#quest span{font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#car-hud{top:calc(212px + var(--safe-top))}#hud.driving #map-button{top:calc(256px + var(--safe-top));bottom:auto}#hud.driving #prompt{bottom:calc(205px + var(--safe-bottom))}#vehicle-actions{right:12px;bottom:calc(280px + var(--safe-bottom));gap:5px}#vehicle-actions button{width:46px;min-height:44px}}@media(max-height:550px)and (orientation:landscape){#quest span{font-size:10px;-webkit-line-clamp:1}#car-hud{top:calc(96px + var(--safe-top));max-width:210px}#hud.driving #map-button{top:auto;bottom:calc(118px + var(--safe-bottom))}#hud.driving #prompt,#prompt{bottom:calc(15px + var(--safe-bottom));max-width:32%;left:43%}#vehicle-actions{bottom:calc(205px + var(--safe-bottom));right:12px}#vehicle-actions button{width:44px;min-height:44px}}@media(pointer:coarse),(max-width:700px){#hud.driving #drift{min-height:66px}}@media(max-height:550px)and (orientation:landscape){#hud.driving #drift{min-height:58px}}.reflection-layers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.reflection-layer{padding:7px 3px;line-height:1.25;font-size:12px}.reflection-layer span,.reflection-layer small{display:block}.reflection-layer small{margin-top:3px;font-size:10px;color:#e7d9bd}.reflection-layer.layer-0 span{color:#ffd782}.reflection-layer.layer-1 span{color:#c9e9ff}.reflection-layer.layer-2 span{color:#ffbfdc}.reflection-board{position:relative;width:min(100%,265px);aspect-ratio:1;margin:10px auto 0;outline:2px solid #a48657;background:#243b59}#reflection-glass{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.reflection-cells{position:absolute;inset:0;display:grid;grid-template:repeat(5,1fr)/repeat(5,1fr)}.reflection-cells button{min-width:0;min-height:0;padding:3px;border-radius:0;border:1px solid #d0e3ff28;background:transparent;color:#fff;text-shadow:1px 1px #16141e;font-size:11px;text-align:left;align-content:start}.reflection-cells button:hover,.reflection-cells button:focus-visible{background:#cee7ff28;outline:2px solid #ffe0a0;outline-offset:-3px}.reflection-cells .reflection-hint{border:2px dashed #ffe0a0}.reflection-status{text-align:center}.reflection-board.aligned{animation:reflection-glow .65s ease-out}@keyframes reflection-glow{40%{box-shadow:0 0 27px #ffe0a0;filter:brightness(1.28)}}.reduced-motion .reflection-board.aligned{animation:none}#target-arrow{position:absolute;transform:translate(-50%,-50%);width:112px;display:grid;justify-items:center;gap:1px;color:var(--gold);filter:drop-shadow(0 3px 2px #141421);pointer-events:none}#target-arrow span{display:block;font-size:48px;line-height:1}#target-arrow b{font:800 19px system-ui,sans-serif;border:2px solid #c9a23a;border-radius:8px;background:var(--panel);padding:3px 9px;color:#fff4c4;white-space:nowrap}#hud.blocked #target-arrow{visibility:hidden}#quest{line-height:1.35}#quest b{font-weight:750}#quest small{color:#f4d67d}#minimap{image-rendering:pixelated;border-radius:3px}.dialogue-layout canvas{border:1px solid #c9a23a}@media(pointer:coarse),(max-width:700px){#quest{left:max(12px,var(--safe-left));right:max(12px,var(--safe-right));width:auto;background:var(--panel);border-color:#c9a23a}#target-arrow span{font-size:37px}#target-arrow b{font-size:16px}}@media(max-height:550px)and (orientation:landscape){#quest{left:max(220px,calc(210px + var(--safe-left)));right:max(168px,calc(156px + var(--safe-right)))}#target-arrow span{font-size:32px}}
