:root{color-scheme:dark;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#07131e;color:#fff}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #f9bc69;outline-offset:3px}#game-shell{position:fixed;inset:0;overflow:hidden}#game-canvas{display:block;width:100%;height:100%;touch-action:none}#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);letter-spacing:.35em;font-size:.8rem;font-weight:800;color:#f8cc89}#loading[hidden]{display:none}.screen{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%)}.panel{width:min(540px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;padding:36px 38px;background:linear-gradient(145deg,rgba(5,16,28,.91),rgba(9,27,38,.82));border:1px solid rgba(255,255,255,.18);box-shadow:0 30px 90px rgba(0,0,0,.48);backdrop-filter:blur(18px);border-radius:20px}.panel[hidden],#hud[hidden],.photo-overlay[hidden]{display:none!important}.eyebrow{margin:0 0 15px;font-size:.7rem;font-weight:800;letter-spacing:.3em;color:#ffbd68}.panel h1{margin:0 0 24px;font-weight:950;font-size:clamp(2.9rem,8vw,5rem);line-height:.92;letter-spacing:-.07em}.panel h1 em{font-style:normal;color:#ffbd68}.panel h2{font-weight:900;font-size:clamp(2rem,6vw,3.3rem);letter-spacing:-.05em;margin:.1em 0 .4em}.intro,.panel p:not(.eyebrow){color:#d2dbe2;line-height:1.55}.mode-buttons{display:flex;gap:10px;margin:25px 0 18px;flex-wrap:wrap}.mode-buttons button,.photo-actions button{border:0;border-radius:9px;padding:14px 19px;font-weight:850;letter-spacing:.06em}.primary{background:#ffb760;color:#1c160f}.primary:hover{background:#ffd294}.secondary{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.18)!important}.secondary:hover{background:rgba(255,255,255,.22)}.mode-buttons span{margin-left:12px}.controls-note{font-size:.76rem;border-top:1px solid rgba(255,255,255,.15);padding-top:18px}.small-note{font-size:.75rem;opacity:.75}#hud{position:absolute;inset:0;z-index:3;pointer-events:none}.hud-top,.hud-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:absolute;left:22px;right:22px}.hud-top{top:20px}.hud-bottom{bottom:20px;align-items:flex-end}.brand{padding:11px 13px;border-left:3px solid #ffbc70;background:rgba(5,17,28,.57);font-size:.95rem;font-weight:950;letter-spacing:.1em}.brand span{display:block;color:#ffbc70;font-weight:700;font-size:.57rem;letter-spacing:.2em}.route-pill{display:flex;gap:13px;padding:12px 17px;border-radius:100px;background:rgba(5,17,28,.62);font-size:.73rem;font-weight:850;letter-spacing:.08em}.route-pill b{color:#ffbc70}.hud-actions{display:flex;gap:8px}.hud-actions button{pointer-events:auto;border:1px solid #ffffff38;border-radius:8px;background:#071521b3;color:#fff;padding:11px 15px;font-weight:800;letter-spacing:.06em}.hud-actions button:hover{background:#203a4b}#message{position:absolute;left:50%;top:16%;transform:translateX(-50%);padding:10px 18px;background:#091926c7;border:1px solid #ffbf726e;border-radius:8px;color:#fff4e4;font-size:.85rem;font-weight:900;letter-spacing:.12em;opacity:0;transition:opacity .2s;text-align:center;min-width:220px}#message.show{opacity:1}.race-info{display:flex;gap:2px;background:rgba(5,17,28,.68);backdrop-filter:blur(12px);border:1px solid #ffffff21;border-radius:10px;overflow:hidden}.race-info>div{padding:11px 14px;min-width:92px}.race-info>div+div{border-left:1px solid #ffffff21}.race-info small,.dash small{display:block;font-size:.58rem;font-weight:800;letter-spacing:.15em;color:#a9b9c4}.race-info strong{display:block;margin-top:5px;font-size:.95rem}.dash{display:flex;gap:16px;align-items:center;padding:14px 18px;background:rgba(5,17,28,.78);backdrop-filter:blur(14px);border:1px solid #ffffff2c;border-radius:12px}.speed strong{font-size:3.4rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.05em}.speed small{text-align:right;color:#ffbd68}.gear{padding:0 13px;border-left:1px solid #ffffff2b;border-right:1px solid #ffffff2b;text-align:center}.gear strong{display:block;font-size:2.1rem;color:#ffbd68}.rpm{min-width:95px}.rpm-track{height:6px;margin:7px 0;background:#39505b;border-radius:5px;overflow:hidden}.rpm-track span{display:block;height:100%;width:12%;background:#ffbd68;transition:width .1s}.rpm>span{font-size:.7rem;font-variant-numeric:tabular-nums}.switch{display:flex;align-items:center;gap:10px;margin:13px 0;font-weight:700}.switch input{accent-color:#ffbd68;width:20px;height:20px}.photo-overlay{position:absolute;z-index:6;inset:0;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:26px;pointer-events:none;background:linear-gradient(#08121d8c,transparent 25%,transparent 72%,#08121d8c)}.photo-overlay>div{max-width:470px}.photo-overlay h2{margin:0 0 6px;font-size:1.8rem}.photo-overlay p:not(.eyebrow){font-size:.8rem;color:#e5edf2}.photo-actions{display:flex;gap:8px;pointer-events:auto;flex-wrap:wrap;justify-content:flex-end}.photo-actions button{font-size:.75rem}#touch-controls{display:none;position:absolute;left:12px;right:12px;bottom:124px;justify-content:space-between;gap:8px;pointer-events:none;touch-action:none}#touch-controls>div{display:flex;gap:8px;align-items:end}#touch-controls button{pointer-events:auto;border:1px solid #ffffff4d;color:#fff;background:#071521aa;border-radius:10px;min-width:55px;min-height:56px;font-weight:850;touch-action:none;user-select:none}#touch-controls button.pressed{background:#efae63;color:#10151b}#touch-controls .touch-right button:last-child{min-width:68px;min-height:72px;background:#d99136dd;color:#141414}#touch-controls .touch-right button:first-child{background:#863d39bb}@media(pointer:coarse),(max-width:900px){#touch-controls{display:flex}.hud-bottom{bottom:8px;left:10px;right:10px}.hud-top{top:9px;left:10px;right:10px}.brand{font-size:.72rem}.route-pill{font-size:.6rem;padding:10px}.hud-actions button{padding:9px}.hud-actions button span{display:none}.race-info>div{min-width:58px;padding:7px}.race-info strong{font-size:.7rem}.dash{gap:7px;padding:7px}.speed strong{font-size:2.15rem}.gear strong{font-size:1.4rem}.rpm{min-width:55px}.rpm>span{font-size:.58rem}.panel{padding:25px 22px}.photo-overlay{flex-direction:column}.photo-actions{align-self:flex-end;margin-top:auto}}@media(max-height:600px){#touch-controls{bottom:76px}.hud-bottom{bottom:4px}.race-info>div{padding:5px}.dash{padding:5px}.speed strong{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
#photo-screen .photo-right{pointer-events:auto;display:flex;flex-direction:column;gap:12px;align-items:stretch;width:min(300px,100%)}.camera-controls{padding:14px 16px;background:#071521d9;border:1px solid #ffffff3d;border-radius:12px;backdrop-filter:blur(12px)}.camera-controls label{display:block;margin:0 0 11px;color:#ffcc8e;font-size:.68rem;font-weight:900;letter-spacing:.12em}.camera-controls label:last-child{margin-bottom:0}.camera-controls label span{float:right;color:#fff}.camera-controls input{display:block;width:100%;margin-top:7px;accent-color:#ffbd68}.photo-actions{justify-content:flex-end}@media(max-width:900px){#photo-screen .photo-right{margin-top:auto;align-self:flex-end}.camera-controls{padding:10px 12px}.camera-controls label{margin-bottom:6px}}
#photo-screen .light-meter{border-top:1px solid #ffffff29;margin-top:10px;padding-top:10px;display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;font-size:.62rem;font-weight:900;letter-spacing:.1em;color:#ffcc8e}.meter-line{grid-column:1 / -1;grid-row:2;height:7px;border-radius:6px;background:linear-gradient(90deg,#4b8099 0%,#d4c8aa 50%,#d68b60 100%);position:relative}.meter-line i{position:absolute;left:50%;height:13px;width:2px;background:#fff;top:-3px}.meter-line b{position:absolute;left:50%;top:-5px;height:17px;width:4px;border-radius:3px;background:#101a22;border:1px solid #fff;transform:translateX(-50%)}.light-meter strong{grid-column:2;grid-row:1;color:#fff}
#start-screen .route-select{display:flex;align-items:center;gap:12px;color:#aab9c1;font-size:.58rem;font-weight:800;letter-spacing:.08em;flex-wrap:wrap}#start-screen select{padding:8px 10px;background:#21333e;border:1px solid #ffffff35;border-radius:6px;color:#fff;font-size:.72rem}button:disabled{opacity:.45;cursor:wait}
.photo-overlay.minimal .camera-controls,.photo-overlay.minimal>div:first-child{display:none}.photo-overlay.minimal .photo-right{margin-left:auto}.photo-overlay.minimal{background:none}.hud-actions #gear-mode{color:#ffd296;font-size:.65rem;padding:11px 9px}
#game-shell.crashed:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:4;box-shadow:inset 0 0 100px #641b17a8}#game-shell.crashed #finish-title{color:#ffa38e}
.game-site-tabs{position:fixed;top:0;left:75px;right:0;z-index:22;display:flex;flex-wrap:wrap;gap:8px;padding:8px 18px;background:#020914e8;border-bottom:1px solid #6ee7d629;font:11px "Courier New",monospace}.game-site-tabs a{color:#9aaeb5;text-decoration:none;padding:8px 5px;letter-spacing:.06em;border-bottom:1px solid transparent}.game-site-tabs a:hover,.game-site-tabs a.active{color:#e8f7f5;border-color:#00bfa5}.hud-top{top:68px}@media(max-width:900px){.game-site-tabs{left:0;padding:4px 8px;gap:4px}.game-site-tabs a{font-size:9px;padding:7px 4px}.hud-top{top:72px}}

/* UKZLK_GAME_SIDEBAR_FIX_20261014 */
.games-page #globalNav{position:fixed;inset:0 auto 0 0;width:75px;min-width:75px;max-width:75px;height:100dvh;box-sizing:border-box;flex:none}
.games-page .hud-top,.games-page .hud-bottom{left:95px}
@media(max-width:900px){
 .games-page #globalNav{width:54px;min-width:54px;max-width:54px;height:48px;bottom:auto;padding:2px 0}
 .games-page #globalNav .global-nav-group,.games-page #globalNav .global-nav-bottom{display:none}
 .games-page #globalNav .global-monogram{margin:2px 0}
 .games-page .game-site-tabs{left:54px}
 .games-page .hud-top,.games-page .hud-bottom{left:10px}
}
