@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";.boot-loading{z-index:30;background:#141b1b;flex-direction:column;justify-content:center;align-items:center;gap:30px;padding:24px;display:flex;position:fixed;inset:0}.boot-brand{color:#f4f6ef;font-size:26px;font-weight:800}.boot-brand span{color:#c2ed76}.boot-meter{width:min(100%,280px)}.boot-status{color:#b8c3bd;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:12px;display:flex}.boot-percent{color:#f4f6ef;font-variant-numeric:tabular-nums;font-weight:800}.boot-meter progress{appearance:none;background:#34413e;border:0;border-radius:3px;width:100%;height:6px;display:block;overflow:hidden}.boot-meter progress::-webkit-progress-bar{background:#34413e}.boot-meter progress::-webkit-progress-value{background:#c2ed76}.boot-meter progress::-moz-progress-bar{background:#c2ed76}:root{color:#eef3e8;font-synthesis:none;letter-spacing:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--lime:#c2ed76;--muted:#a3b3a8;--safe-top:max(env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px));--safe-bottom:max(env(safe-area-inset-bottom),var(--tg-content-safe-area-inset-bottom,0px));background:#111b16;font-family:Manrope,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer;color:inherit;border:0}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button svg{flex-shrink:0;width:20px;height:20px}button{justify-content:center;align-items:center;gap:9px;display:inline-flex}h1,h2,p{margin:0}h1{font-size:27px;font-weight:800}h2{font-size:24px}small{font-size:11px;line-height:1.5}button,.panel{border-radius:6px}button.icon{background:#25362b;width:42px;height:42px}button.primary{background:var(--lime);color:#182819;min-height:52px;padding:0 22px;font-weight:800}button.secondary{background:#2c3e32;min-height:44px;padding:0 16px}button:active{filter:brightness(.87)}.hidden{display:none!important}.garage{min-height:100dvh;padding-bottom:calc(20px + var(--safe-bottom));overflow-x:hidden}.topbar{height:calc(78px + var(--safe-top));padding:calc(18px + var(--safe-top)) 22px 14px;justify-content:space-between;align-items:center;display:flex}.brand small{color:var(--lime);letter-spacing:0;font-size:10px;font-weight:800;display:block}.topbar h1{line-height:1.3}.avatar{object-fit:cover;background:#2b4234;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:800;display:inline-flex}.identity{align-items:center;gap:8px;max-width:45%;font-size:11px;display:flex}.identity span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.preview{width:100%;height:min(38dvh,330px);display:block}.preview-wrap{position:relative}.bike-index{font-variant-numeric:tabular-nums;color:#f3f7f0;background:#112e28b8;border-radius:4px;padding:6px 10px;font-size:11px;position:absolute;top:16px;left:22px}.bike-index b{font-size:17px}.garage-inner{max-width:680px;margin:auto;padding:22px}.model-line{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:12px;display:grid}.model-info{text-align:center;flex-direction:column;justify-content:center;min-height:64px;display:flex}.model-info small{color:var(--muted);font-size:10px}.model-info h2{overflow-wrap:anywhere;margin:4px 0;font-size:19px;line-height:1.3}.palette{justify-content:center;gap:14px;margin:20px 0 25px;display:flex}.swatch{background:var(--color);outline-offset:4px;border:2px solid #ffffff35;border-radius:50%;outline:2px solid #0000;width:26px;height:26px}.swatch[aria-pressed=true]{outline-color:var(--lime)}.route{border-top:1px solid #314237;border-bottom:1px solid #314237;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:16px 0;display:flex}.route h3{margin:0;font-size:14px}.route small{color:var(--muted);margin-top:4px;display:block}.route svg{color:var(--lime);flex-shrink:0;width:24px}.route .route-name{flex:1}.route .version{color:var(--muted);font-size:10px}.start{width:100%}.garage-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:15px;display:flex}.garage-footer button{color:var(--muted);background:0 0;padding:8px 0;font-size:12px}.best{color:var(--muted);font-size:11px}.best strong{color:#f1f5ed;font-variant-numeric:tabular-nums;font-size:16px;display:block}.notice{color:var(--muted);text-align:center;margin-top:16px;font-size:12px;line-height:1.6}.notice a{color:var(--lime)}.game{touch-action:none;-webkit-user-select:none;user-select:none;background:#82b4d5;position:fixed;inset:0;overflow:hidden}.game canvas{width:100%;height:100%;display:block}.hud{top:calc(10px + var(--safe-top));left:calc(16px + env(safe-area-inset-left));right:calc(16px + env(safe-area-inset-right));pointer-events:none;justify-content:space-between;align-items:center;gap:18px;display:flex;position:absolute}.hud>*{pointer-events:auto}.hud button{color:#f0f4e6;background:#14251ac9;border-radius:50%;width:38px;height:38px}.hud-left,.hud-right{align-items:center;gap:10px;display:flex}.timer{font-variant-numeric:tabular-nums;color:#f9fff5;text-shadow:0 2px 8px #213a34;font-size:22px;font-weight:800}.progress{width:100px}.progress div{background:#ffffff70;height:3px;margin-top:5px}.progress i{background:#d3f39e;width:0;height:3px;display:block}.progress small{color:#fff;text-shadow:0 1px 4px #123}.controls{bottom:calc(14px + var(--safe-bottom));left:calc(20px + env(safe-area-inset-left));right:calc(20px + env(safe-area-inset-right));pointer-events:none;justify-content:space-between;display:flex;position:absolute}.control-group{gap:18px;display:flex}.control{pointer-events:auto;touch-action:none;-webkit-touch-callout:none;background:#16291f85;border:2px solid #e0efddaa;border-radius:50%;width:65px;height:65px}.control svg{color:#f4f7eb;width:29px;height:29px}.control[data-input="1"]{color:#20331e;background:#c2ed76cc;border-color:#dcf7ad}.control[data-input="1"] svg{color:#20331e}.control.held{color:#22342b;background:#fff;transform:scale(.96)}.control.held svg{color:#22342b}.race-label{color:#f9fff1;text-shadow:0 2px 5px #123;pointer-events:none;font-size:10px;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.veil{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:20;background:#101c16aa;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.panel{background:#17261d;width:min(100%,420px);padding:28px;box-shadow:0 25px 80px #0005}.panel .eyebrow{color:var(--lime);margin-bottom:12px;font-size:10px;font-weight:800}.panel h2{margin-bottom:12px;font-size:24px}.panel p{color:var(--muted);font-size:13px;line-height:1.6}.panel .result-time{color:#edf6e4;font-variant-numeric:tabular-nums;margin:16px 0;font-size:38px;font-weight:800}.panel-actions{gap:12px;margin-top:22px;display:flex}.panel-actions button{flex:1}.panel .icon{position:absolute;top:14px;right:14px}.panel{position:relative}.rotate{background:#12211cf2}.rotate .panel{text-align:center;box-shadow:none;background:0 0}.rotate svg{width:58px;height:58px;color:var(--lime);margin-bottom:22px}.board{z-index:15;padding:calc(20px + var(--safe-top)) 22px calc(22px + var(--safe-bottom));background:#111b16;position:fixed;inset:0;overflow:auto}.board-header{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.board-header h2{font-size:24px}.board-title{color:var(--muted);margin-bottom:20px;font-size:12px}.board-list{margin:0;padding:0;list-style:none}.board-list li{border-bottom:1px solid #2c3a30;grid-template-columns:24px 36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:15px 0;display:grid}.board-list .rank{color:var(--muted);font-size:14px}.board-list li:first-child .rank{color:var(--lime);font-weight:800}.board-list .player-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.board-list a{color:inherit;text-decoration:none}.board-list .player-bike{color:var(--muted);margin-top:3px;font-size:10px;display:block}.board-list .time{font-variant-numeric:tabular-nums;color:var(--lime);font-size:15px;font-weight:700}.empty{text-align:center;color:var(--muted);margin:60px 0;font-size:13px;line-height:1.7}.gate{text-align:center;flex-direction:column;justify-content:center;max-width:380px;min-height:100dvh;margin:auto;padding:30px;display:flex}.gate h1{margin:20px 0 12px;font-size:30px}.gate p{color:var(--muted);font-size:14px;line-height:1.8}.gate a{color:var(--lime);margin-top:25px;display:block}.gate button{margin-top:20px}.loading{z-index:30;background:#111b16;justify-content:center;align-items:center;font-size:22px;font-weight:800;display:flex;position:fixed;inset:0}.loading span{color:var(--lime)}@media (orientation:landscape){.garage .topbar{height:65px;padding-top:12px}.garage .preview-wrap{width:52%;position:absolute;top:65px;bottom:0;left:0}.garage .preview{height:100%}.garage-inner{margin-left:52%;padding:12px 25px}.palette{gap:12px;margin:12px 0 18px}.route{margin-bottom:12px;padding:10px 0}.garage-footer{margin-top:8px}.model-info{min-height:50px}.notice{margin-top:6px;font-size:10px}.board{max-width:700px;margin:auto}.panel{padding:22px}.panel .result-time{margin:12px 0;font-size:30px}.panel-actions{margin-top:15px}}@media (height<=360px) and (orientation:landscape){.control{width:52px;height:52px}.controls{bottom:10px}.hud{top:8px}.garage-inner{padding:4px 18px}.palette{margin:10px 0}.route{padding:7px 0}.garage-footer{margin-top:3px}.garage .topbar{height:55px}.garage .preview-wrap{top:55px}}.palette{flex-wrap:wrap;gap:6px}.swatch{background:0 0;border:0;outline:0;width:44px;height:44px;position:relative}.swatch:before{content:"";background:var(--color);outline-offset:4px;border:2px solid #ffffff35;border-radius:50%;outline:2px solid #0000;width:26px;height:26px}.swatch[aria-pressed=true]{outline:0}.swatch[aria-pressed=true]:before{outline-color:var(--lime)}@media (height<=700px) and (orientation:portrait){.preview{height:29dvh}.garage-inner{padding-top:14px}.palette{margin:10px 0 15px}}@media (width<=350px) and (orientation:portrait){.palette{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;padding:6px 0;overflow-x:auto}.palette::-webkit-scrollbar{display:none}.swatch{flex:0 0 44px}}.countdown{color:#f4ffd9;text-shadow:0 3px #213d2d,0 5px 24px #13281f;pointer-events:none;white-space:nowrap;z-index:5;font-size:64px;font-weight:800;position:absolute;top:35%;left:50%;transform:translate(-50%,-50%)}.identity .avatar,.identity .icon{flex-shrink:0}.board-list li{grid-template-columns:var(--rank-width,3ch) 36px minmax(0,1fr) auto}.board-list .player-name{max-width:100%;display:block}@media (width<=350px){.identity>span:not(.avatar){display:none}}@media (height<=360px){.countdown{font-size:48px}}.result-stats{margin:0 0 12px;font-size:12px}.result-stats>div{border-bottom:1px solid #314237;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;display:flex}.result-stats dt{color:var(--muted)}.result-stats dd{color:var(--lime);white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-weight:700}.dialog .panel{max-height:calc(100dvh - 32px);overflow-y:auto}.dialog .panel-actions{flex-wrap:wrap}.dialog .panel-actions button{min-width:90px;padding:0 12px}@media (height<=400px){.result-panel{padding:18px}.result-panel .eyebrow,.result-panel h2{margin-bottom:6px}.result-panel .result-time{margin:8px 0;font-size:28px}.result-panel .result-stats>div{padding:3px 0}.result-panel .panel-actions{margin-top:12px}}.customization-tabs{background:#203127;border-radius:6px;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:10px;padding:3px;display:grid}.customization-tabs button{min-height:36px;color:var(--muted);background:0 0;font-size:12px;font-weight:700}.customization-tabs button[aria-selected=true]{color:#e8f7ce;background:#36513b}.garage .preview{height:min(31dvh,265px)}.garage-inner{padding-top:14px}.garage .palette{gap:3px;margin:10px 0 12px}.garage .route{padding:12px 0}.control.pedal{background:0 0;border:0;border-radius:6px;align-items:flex-end;width:78px;height:88px;padding:0;display:flex;transform:none}.pedal-face{box-sizing:border-box;pointer-events:none;background:linear-gradient(115deg,#556169,#243038);border:3px solid #99a8a9;border-bottom-width:7px;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:64px;height:78px;display:flex;transform:rotate(-7deg);box-shadow:0 3px 8px #0007}.brake-pedal .pedal-face{border-color:#929e9f;width:76px;height:63px}.gas-pedal .pedal-face{background:linear-gradient(115deg,#507243,#29422e);border-color:#c7e999}.pedal-grip{background:repeating-linear-gradient(0deg,#17201f 0 4px,#889190 4px 6px);border-radius:2px;width:76%;height:34px}.brake-pedal .pedal-grip{height:22px}.pedal-name{color:#f0f5e9;font-size:9px;font-weight:800;line-height:1}.control.pedal.held .pedal-face{filter:brightness(1.25);border-bottom-width:3px;transform:translateY(5px)rotate(-3deg)}@media (height<=700px) and (orientation:portrait){.garage .preview{height:23dvh}.garage-inner{padding-top:10px}.customization-tabs{margin-bottom:6px}.garage .route{padding:9px 0}.garage .notice{margin-top:6px}}@media (orientation:landscape){.garage .preview{height:100%}.customization-tabs{margin-bottom:4px}.customization-tabs button{min-height:30px}.garage .route{padding:7px 0}.garage .palette{margin:5px 0 8px}.garage .model-info{min-height:44px}}@media (height<=360px) and (orientation:landscape){.control.pedal{width:68px;height:72px}.pedal-face{width:54px;height:66px}.brake-pedal .pedal-face{width:64px;height:54px}.control-group.pedals{gap:10px}.race-label{bottom:12px}}.track-tabs{background:#203127;border-radius:6px;grid-template-columns:1.6fr 1fr;gap:3px;margin-top:8px;padding:3px;display:grid}.track-tabs button{min-height:38px;color:var(--muted);overflow-wrap:anywhere;background:0 0;padding:6px 8px;font-size:12px;font-weight:700;line-height:1.25}.track-tabs button[aria-selected=true]{color:#e8f7ce;background:#36513b}.board .track-tabs{margin-bottom:16px}.race-label{text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 400px);overflow:hidden}.track-tabs.has-preview{grid-template-columns:repeat(3,minmax(0,1fr))}@media (orientation:landscape){.track-tabs{margin-top:3px}.track-tabs button{min-height:32px;font-size:11px}.garage .route{margin-bottom:8px}.garage .garage-inner{padding-top:8px}.garage .palette{margin:3px 0 5px}}@media (width<=700px){.race-label{max-width:calc(100% - 330px)}}.brand{align-items:center;gap:8px;display:flex}.brand-logo{object-fit:contain;border-radius:4px;flex-shrink:0;width:44px;height:44px}.bike-lock{color:#e8cb92;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;line-height:1.4;display:flex}.bike-lock svg{flex-shrink:0;width:20px;height:20px}.start:disabled{cursor:not-allowed;opacity:.65}@media (width<=350px) and (orientation:portrait){.topbar{padding-left:14px;padding-right:14px}.brand-logo{width:36px;height:36px}.brand h1{font-size:20px}.identity{gap:4px}.identity>span{max-width:45px}}.garage{flex-direction:column;max-width:960px;height:100dvh;min-height:0;margin:auto;padding-bottom:0;display:flex}.garage .topbar{height:calc(70px + var(--safe-top));padding:calc(12px + var(--safe-top)) 16px 12px;flex-shrink:0}.garage .topbar h1{font-size:24px}.garage .identity{gap:5px;max-width:none}.garage .identity .icon{width:36px;height:36px}.garage .identity .avatar{width:30px;height:30px}.garage-tabs{border-bottom:1px solid #314237;flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px 12px 8px;display:grid}.garage-tabs button{color:#acbbb1;background:0 0;gap:6px;min-height:42px;padding:5px;font-size:12px;font-weight:700}.garage-tabs button svg{width:18px;height:18px}.garage-tabs button[aria-selected=true]{color:#19291d;background:#c2ed76}.garage-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.garage .preview-wrap{flex-shrink:0;width:100%;min-width:0;position:relative;top:auto;bottom:auto;left:auto}.garage .preview{width:100%;height:min(32dvh,270px);min-height:170px;display:block}.preview-caption{pointer-events:none;color:#f5f8f1;text-shadow:0 1px 4px #123;max-width:calc(100% - 76px);position:absolute;top:12px;left:14px}.preview-caption>span{overflow-wrap:anywhere;font-size:14px;font-weight:800;line-height:1.35;display:block}.preview-caption small{margin-top:2px;font-size:10px;display:block}.garage .preview-zoom{background:#172b23db;width:36px;height:36px;position:absolute;top:12px;right:12px}.garage-panel{flex:1;min-width:0;min-height:0;padding:16px;overflow-y:auto}.field{margin:0 0 13px}.field label,.field-label{color:#aebbb2;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.field select{font:inherit;color:#f2f5ec;cursor:pointer;background:#22352b;border:1px solid #4b6152;border-radius:6px;width:100%;max-width:100%;min-height:44px;padding:8px 34px 8px 12px;font-size:14px;line-height:1.4}.field select:focus-visible{outline:2px solid var(--lime);outline-offset:2px}.paint-field{margin:0 0 12px}.garage .palette{flex-wrap:wrap;justify-content:flex-start;gap:0;margin:0;padding:0;overflow:visible}.garage .swatch{flex:0 0 40px;width:40px;height:40px}.garage .swatch:before{outline-offset:3px;width:23px;height:23px}.gender-options{background:#203127;border-radius:6px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.gender-options button{color:#afbeb5;background:0 0;min-height:38px;font-size:13px}.gender-options button[aria-pressed=true]{color:#edf7e2;background:#36513b;font-weight:700}.route-options{border:0;min-width:0;margin:0;padding:0}.route-options legend{color:#aebbb2;margin-bottom:8px;font-size:12px;font-weight:600}.route-option{cursor:pointer;border:1px solid #3a4e40;border-radius:6px;grid-template-columns:18px 74px minmax(0,1fr);align-items:center;gap:12px;min-height:89px;margin-bottom:8px;padding:10px;display:grid}.route-option:has(input:checked){background:#203427;border-color:#c2ed76}.route-option input{accent-color:#c2ed76;width:17px;height:17px;margin:0}.route-option img{object-fit:cover;border-radius:4px;width:74px;height:64px}.route-info{min-width:0}.route-info strong{font-size:14px;line-height:1.3;display:block}.route-info small{color:#a9bbb0;margin-top:3px;display:block}.route-best{color:#d3dfcf;font-variant-numeric:tabular-nums;margin-top:4px;font-size:10px;display:block}.helmet-settings{border-top:1px solid #34483b;margin-top:5px}.helmet-settings summary{cursor:pointer;color:#aebbb2;justify-content:space-between;align-items:center;gap:10px;min-height:57px;font-size:12px;list-style:none;display:flex}.helmet-settings summary::-webkit-details-marker{display:none}.helmet-settings summary strong{color:#f1f5ed;margin-top:3px;font-size:14px;font-weight:600;display:block}.helmet-settings summary svg{width:18px;height:18px;transition:transform .15s}.helmet-settings[open] summary svg{transform:rotate(180deg)}.helmet-fields{padding-top:8px}.garage-actions{z-index:6;padding:10px 16px calc(12px + var(--safe-bottom));background:#111b16;border-top:1px solid #34483b;flex-shrink:0;position:sticky;bottom:0}.race-choice{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:12px;line-height:1.35;display:flex}.race-choice>span:first-child{min-width:0;font-weight:600}.race-choice .best{white-space:nowrap;font-size:10px}.race-choice .best strong{margin-left:4px;font-size:12px;display:inline}.garage-actions .start{min-height:48px}.garage-actions .bike-lock{margin-bottom:8px;font-size:11px}.garage-actions .bike-lock svg{width:17px;height:17px}.record-date{color:#94a99c;font-variant-numeric:tabular-nums;overflow-wrap:normal;margin-top:4px;font-size:10px;line-height:1.45;display:block}.garage{color:#f0f3f5;background:#14181b}.garage .topbar{border-bottom:1px solid #2d343a}.garage .topbar .brand small{color:#a7bdc7}.garage .identity .icon{background:#252d33}.garage .identity .avatar{background:#36464c}.garage-tabs{border-color:#353d43;gap:0;padding-bottom:0}.garage-tabs button{color:#a8b5be;border-bottom:3px solid #0000;border-radius:0;min-height:46px}.garage-tabs button[aria-selected=true]{color:#d0f18f;background:0 0;border-bottom-color:#c2ed76}.garage .preview-wrap{border-bottom:1px solid #424e54}.garage .preview-caption{background:#17232bd1;border-left:2px solid #c2ed76;border-radius:0;padding:5px 8px}.garage .preview-caption small{color:#c5d5dd}.garage-panel{background:#171d21}.garage .field-label,.garage .field label{color:#b5c2cb}.garage .field select{background:#252e35;border-color:#485660}.garage .gender-options{background:#242d34}.garage .gender-options button[aria-pressed=true]{color:#f4fafc;background:#3b505b}.garage .route-option{background:0 0;border-color:#3a4851;border-radius:6px}.garage .route-option:has(input:checked){background:#23302d;border-color:#bedf87}.garage .route-info small{color:#b5c6ce}.garage .route-best{color:#d2e2e9}.garage .route-options legend{color:#b5c2cb}.garage .helmet-settings{border-color:#3a4851}.garage .helmet-settings summary{color:#b5c2cb}.garage-actions{background:#14181b;border-color:#354149}.garage .race-choice .best{color:#a5bac6}.garage .bike-lock{color:#efbe7c}.garage .preview-zoom{background:#1c2c36e8}.bike-picker{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;min-height:64px;margin-bottom:20px;display:grid}.garage .bike-picker .icon{background:#273840;border:1px solid #4b606c;border-radius:6px;width:44px;height:44px}.bike-picker-name{text-align:center;min-width:0}.bike-picker-name small{color:#91bacf;font-variant-numeric:tabular-nums;font-size:10px;display:block}.bike-picker-name strong{overflow-wrap:anywhere;margin-top:5px;font-size:17px;line-height:1.3;display:block}.rotation-guide{width:190px;height:165px;margin:0 auto 25px;position:relative}.rotation-guide svg{margin:0}.rotation-phone{transform-origin:50%;animation:3s ease-in-out infinite turn-phone;position:absolute;top:32px;left:57px}.rotation-phone svg{color:#f2f6eb;width:76px;height:96px}.rotation-arrow{color:#c2ed76;position:absolute}.rotation-arrow svg{stroke-width:2.5px;width:50px;height:50px}.rotation-arrow.first{top:4px;right:10px;transform:rotate(35deg)}.rotation-arrow.second{bottom:0;left:8px;transform:rotate(215deg)}@keyframes turn-phone{0%,15%{transform:rotate(0)}60%,85%{transform:rotate(90deg)}to{transform:rotate(0)}}@media (prefers-reduced-motion:reduce){.rotation-phone{animation:none;transform:rotate(90deg)}}@media (width<=350px){.garage .topbar{padding-left:12px;padding-right:12px}.garage .brand-logo{width:32px;height:32px}.garage .topbar h1{font-size:20px}.garage .brand{gap:6px}.garage .identity{gap:4px}.garage-panel{padding:12px}.garage-tabs{padding-left:8px;padding-right:8px}.garage-tabs button{gap:4px;font-size:11px}.garage-actions{padding-left:12px;padding-right:12px}.route-option{grid-template-columns:17px 60px minmax(0,1fr);gap:9px}.route-option img{width:60px;height:60px}}@media (orientation:landscape){.garage .topbar{height:calc(56px + var(--safe-top));padding-top:calc(8px + var(--safe-top));padding-bottom:8px}.garage .topbar h1{font-size:21px}.garage .brand-logo{width:34px;height:34px}.garage-tabs{padding-top:3px;padding-bottom:4px}.garage-tabs button{min-height:35px}.garage-body{height:calc(100dvh - 99px - var(--safe-top));flex:none;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:46% minmax(0,1fr);min-height:250px;display:grid}.garage .preview-wrap{grid-area:1/1/3;height:100%}.garage .preview{height:100%;min-height:0}.garage-panel{border-left:1px solid #314237;grid-area:1/2;min-height:0;padding:10px 14px;overflow-y:auto}.garage-actions{padding:8px 14px calc(8px + var(--safe-bottom));border-left:1px solid #314237;grid-area:2/2;position:relative}.garage-actions .start{min-height:42px}.field{margin-bottom:9px}.field select{min-height:40px}.garage .swatch{height:37px}.route-option{grid-template-columns:17px 62px minmax(0,1fr);gap:9px;min-height:75px;padding:7px}.route-option img{width:62px;height:56px}.route-options legend{margin-bottom:6px}.route-info strong{font-size:13px}.preview-caption{left:12px}}.access{min-height:100dvh;padding:calc(24px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));text-align:center;background:#14181b;flex-direction:column;justify-content:center;align-items:center;display:flex}.access-logo{object-fit:contain;border-radius:6px;width:112px;height:112px;margin-bottom:18px}.access h1{margin-bottom:28px;font-size:28px;line-height:1.3}.access-actions{gap:12px;width:min(100%,340px);display:grid}.access-actions button{white-space:normal;min-height:52px;padding:12px 16px;font-size:14px;line-height:1.4}.telegram-login{color:#fff;background:#2096d2;font-weight:700}.access .secondary{background:#2a353d}.access-status{color:#b5c4cc;max-width:340px;min-height:40px;margin-top:18px;font-size:12px;line-height:1.6}.garage .account{border:1px solid #51616b}.garage .account .avatar{width:28px;height:28px}.board-mode{border-bottom:1px solid #34463b;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:18px;display:grid}.board-mode button{color:#acbbb2;background:0 0;border-bottom:2px solid #0000;border-radius:0;min-height:44px;padding:8px;font-size:12px;line-height:1.4}.board-mode button[aria-pressed=true]{color:#d4edaf;border-bottom-color:#c2ed76}@media (height<=400px){.access-logo{width:72px;height:72px;margin-bottom:10px}.access h1{margin-bottom:16px;font-size:24px}.access-actions{gap:8px}.access-actions button{min-height:44px}.access-status{min-height:20px;margin-top:10px}}.online-button{width:100%;margin-top:6px;font-size:12px;min-height:36px!important}.duel-lobby{border-bottom:1px solid #43515a;margin-bottom:8px;padding-bottom:8px}.duel-heading{color:#b7d9ec;justify-content:space-between;align-items:center;font-size:10px;display:flex}.duel-heading .icon{width:30px;height:30px}.duel-members{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.duel-members b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.duel-members small{color:#b5c5c9;font-size:10px;display:block}.duel-connection{color:#efbe7c;white-space:pre-line;font-size:11px;line-height:1.4}.duel-race-status{top:calc(58px + var(--safe-top));text-align:center;color:#fff;text-shadow:0 2px 5px #111;pointer-events:none;max-width:70%;font-size:12px;position:absolute;left:50%;transform:translate(-50%)}.dialog-message{white-space:pre-line}@media (height<=440px) and (orientation:landscape){.duel-lobby{margin-bottom:4px;padding-bottom:4px}.duel-heading .icon{width:24px;height:24px}.duel-members b{font-size:11px}.garage-actions:has(.duel-lobby) .race-choice{display:none}.garage-actions:has(.duel-lobby) .online-button{min-height:28px!important}.garage-actions:has(.duel-lobby) .start{min-height:36px}}
