/* Black / ivory / champagne interface. Game controls and saved state are untouched. */
#menu#menu#menu,#finish#finish#finish{
 background:linear-gradient(180deg,#090909d9,#090909 340px)!important;
 border:1px solid #ffffff26!important;border-radius:24px!important;
 box-shadow:0 24px 90px #000c!important;color:#f5f3ee!important;
 scrollbar-width:thin;scrollbar-color:#605b51 #111!important;
 touch-action:pan-y!important;overscroll-behavior:contain;
}
#menu#menu#menu{padding:24px!important;max-height:calc(100dvh - 24px)!important;overflow-y:auto!important}
#menu#menu#menu:after{display:none!important}
#menu#menu#menu .rush-brand-v2{padding:18px 0!important;margin:8px 0 18px!important;border-bottom:1px solid #ffffff20!important}
#menu#menu#menu .rush-brand-v2 img{width:64px!important;height:64px!important;border-radius:18px!important;box-shadow:0 0 0 1px #ffffff25!important}
#menu#menu#menu .rush-brand-v2 b{letter-spacing:.09em!important;color:#fff!important}
#menu#menu#menu h1{font-size:clamp(34px,9vw,50px)!important;line-height:1.02!important;letter-spacing:-.04em!important;margin:12px 0!important}
#menu#menu#menu h1 span{color:#d4bc8d!important;font-size:inherit!important;letter-spacing:-.04em!important}
#menu#menu#menu .eyebrow,#menu#menu#menu .select-label{color:#d3c3a2!important;font-size:10px!important;letter-spacing:.14em!important}
#menu#menu#menu .lead,#menu#menu#menu .controls{color:#aaa8a2!important;line-height:1.6!important;text-shadow:none!important}
#menu#menu#menu button:not(#start),#menu#menu#menu .download-game,#finish#finish#finish button:not(.primary){
 min-height:48px!important;padding:14px 16px!important;border-radius:13px!important;
 background:#171717!important;border:1px solid #ffffff20!important;
 color:#f0efeb!important;font-size:12px!important;letter-spacing:.025em!important;
 box-shadow:inset 0 1px #ffffff08!important;text-shadow:none!important;
 white-space:normal!important;overflow-wrap:anywhere;
}
#menu#menu#menu button:not(#start):hover{background:#242321!important;border-color:#d3bc8666!important}
#menu#menu#menu button:focus-visible,#menu#menu#menu select:focus-visible{outline:2px solid #e4c98d!important;outline-offset:3px}
#menu#menu#menu #start,#finish#finish#finish .primary{
 min-height:60px!important;border-radius:14px!important;background:linear-gradient(120deg,#f1d9a8,#c6a568)!important;
 border:1px solid #f5dfb4!important;color:#17130c!important;box-shadow:0 8px 24px #0008!important;
 text-shadow:none!important;font-size:17px!important;letter-spacing:.06em!important;
}
#menu#menu#menu select,#menu#menu#menu input{background:#101010!important;border:1px solid #ffffff24!important;border-radius:12px!important;min-height:48px!important;color:#f5f3ee!important;font-size:13px!important;max-width:100%!important}
#menu#menu#menu select{padding-right:28px!important;text-overflow:ellipsis}
#menu#menu#menu .garage,#menu#menu#menu .advanced-options,#menu#menu#menu .progress-panel,#menu#menu#menu #profile-picker,#menu#menu#menu #broom-info,#menu#menu#menu .record,#menu#menu#menu .live-weather{background:#101010!important;border:1px solid #ffffff18!important;border-radius:14px!important;box-shadow:none!important}
#menu#menu#menu #skin-preview{background:radial-gradient(ellipse at 50% 70%,#302d26,#101010 68%)!important;border:1px solid #ffffff20!important;box-shadow:none!important}
#menu#menu#menu .back{color:#c8c4ba!important}
#finish#finish#finish .result span{background:#151515!important;border-color:#ffffff26!important;color:#c3b38e!important}
html.rush-boot body #rush-boot-screen{align-items:end!important;padding:32px 22px max(36px,env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,#0002 20%,#0005 45%,#050505 100%),url('./assets/broom-rush-loading-v1.webp') center 43%/cover no-repeat!important}
html.rush-boot body #rush-boot-screen>div{width:min(430px,100%)!important;padding:22px 0!important;border:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important}
#rush-boot-screen .boot-logo{width:64px;height:64px;object-fit:cover;border-radius:17px;margin-bottom:16px;border:1px solid #ffffff50;box-shadow:0 10px 40px #0008}
html.rush-boot body #rush-boot-screen strong:after{font-size:30px!important;letter-spacing:.16em!important}
html.rush-boot body #rush-boot-screen span{font-size:10px!important;color:#cec6b6!important;letter-spacing:.15em!important}
html.rush-boot body #rush-boot-screen b{font-size:32px!important;font-weight:500!important;color:#f0d6a0!important;font-variant-numeric:tabular-nums}
html.rush-boot body #rush-boot-screen i{width:100%!important;height:3px!important;border:0!important;background:#ffffff24!important;margin:16px auto!important}
html.rush-boot body #rush-boot-screen i:after{background:#e0c08a!important;box-shadow:none!important}
#rush-boot-screen .boot-note{font-size:11px;line-height:1.6;color:#a7a49e;letter-spacing:0;margin-top:18px}
@media(max-width:520px){#menu#menu#menu{left:8px!important;right:8px!important;padding:20px 16px!important;border-radius:20px!important}#menu#menu#menu .profile-create{gap:6px!important}#menu#menu#menu #profile-add{min-width:62px!important;width:auto!important}}
@media(prefers-reduced-motion:reduce){#menu#menu#menu *,#rush-boot-screen *{transition:none!important;animation:none!important}}
/* V456 — filmowy ekran ładowania z trzema prawdziwie wyglądającymi światami. */
html.rush-boot body #rush-boot-screen{isolation:isolate;overflow:hidden;background:#020304!important}
html.rush-boot body #rush-boot-screen:before{content:'';position:absolute;z-index:-2;inset:-3%;background:url('./assets/broom-rush-worlds-loading-v456.webp') center center/cover no-repeat;filter:saturate(.92) contrast(1.04);transform:scale(1.035);animation:bootWorldDrift 13s ease-in-out infinite alternate;will-change:transform}
html.rush-boot body #rush-boot-screen:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#00000008 0%,#00000018 52%,#020407b8 82%,#020304f2 100%);pointer-events:none}
html.rush-boot body #rush-boot-screen>div{position:relative;padding:20px 0 4px!important;text-shadow:0 2px 14px #000,0 1px 3px #000}
#rush-boot-screen .boot-logo{width:52px;height:52px;margin-bottom:10px;background:#080a0bbd;box-shadow:0 8px 26px #000b,0 0 0 1px #fff3}
html.rush-boot body #rush-boot-screen strong:after{font-size:27px!important;letter-spacing:.18em!important}
html.rush-boot body #rush-boot-screen span{margin-top:7px!important;color:#f2eee6!important}
html.rush-boot body #rush-boot-screen b{margin-top:5px!important;font-size:27px!important;color:#fff3c0!important}
html.rush-boot body #rush-boot-screen i{position:relative;height:5px!important;margin:11px auto 0!important;border-radius:8px;background:#ffffff2e!important;box-shadow:0 1px 8px #0008!important}
html.rush-boot body #rush-boot-screen i:after{border-radius:8px;background:linear-gradient(90deg,#d28d48,#f5db9a 42%,#d9edf5 72%,#fff)!important;box-shadow:0 0 14px #f5d690aa!important;transition:width .35s cubic-bezier(.2,.8,.2,1)!important}
#rush-boot-screen .boot-note{min-height:18px;margin:12px 0 0;font-size:10px;color:#f0ede7;letter-spacing:.04em;transition:opacity .22s ease,transform .22s ease}
#rush-boot-screen .boot-note.changing{opacity:0;transform:translateY(4px)}
#rush-boot-screen .boot-signature{display:block;margin-top:8px;color:#b9b6b0;font:700 7px/1.3 Inter,system-ui,sans-serif;letter-spacing:.2em}
@keyframes bootWorldDrift{0%{transform:scale(1.035) translate3d(0,-.5%,0)}100%{transform:scale(1.085) translate3d(-1%,.7%,0)}}
@media(prefers-reduced-motion:reduce){html.rush-boot body #rush-boot-screen:before{animation:none!important;transform:scale(1.04)}}
/* Gameplay elements cannot appear over menu, results or pause. */
html.rush-ui-blocked body #app .run-chrome{display:none!important;pointer-events:none!important}
#menu#menu#menu[data-page="play"] [data-menu-page]:not([data-menu-page="play"]),#menu#menu#menu[data-page="garage"] [data-menu-page]:not([data-menu-page="garage"]),#menu#menu#menu[data-page="settings"] [data-menu-page]:not([data-menu-page="settings"]){display:none!important}
#menu#menu#menu .menu-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;background:#050505;border:1px solid #ffffff18;border-radius:13px;margin:20px 0}
#menu#menu#menu .menu-tabs button{padding:10px 5px!important;margin:0!important;min-height:42px!important;background:transparent!important;border:0!important;color:#a9a79f!important;box-shadow:none!important;font-size:12px!important}
#menu#menu#menu .menu-tabs button[aria-pressed="true"]{background:#29261f!important;color:#efd7a4!important}
body #app #rush-more-panel{inset:auto 10px 90px!important;max-height:60dvh!important;width:auto!important;overflow:auto!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px;background:#0b0b0bf5!important;border:1px solid #ffffff38!important;border-radius:18px!important;touch-action:pan-y}
body #app #rush-more-panel[hidden]{display:none!important}
body #app #rush-more-panel button,body #app #rush-more-panel .rush-action[id]{position:static!important;transform:none!important;inset:auto!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:48px!important;max-height:none!important;margin:0!important;padding:8px!important;font-size:9px!important;border-radius:10px!important;background:#202020!important;box-shadow:none!important}
body #app #rush-more-close{grid-column:1/-1}
body #app .rush-action[id]{background:#0c0d0ed9!important;box-shadow:none!important;border-color:#ffffff50!important}
body #app #rush-street{top:84px!important;font-size:8px!important;max-width:160px!important;padding:5px 10px!important}
body #app #pickup-receipt{top:130px!important;padding:5px 9px!important;font-size:9px!important}
body #app #rush-more{bottom:100px!important;right:10px!important;min-height:42px!important;background:#171717e6!important}
body #app #rush-night,body #app #rush-scope{inset:auto!important}
body #app #run-goal,body #app #rush-live-event{top:160px!important;pointer-events:none!important}
/* Dedicated touch slots: slide no longer shares the brake position. */
body #app #rush-slide.rush-action{left:68px!important;right:auto!important;top:auto!important;bottom:154px!important;width:54px!important;min-width:54px!important;height:44px!important;min-height:44px!important;max-height:44px!important;font-size:9px!important}
body #app #rush-brake.rush-action{left:8px!important;right:auto!important;top:auto!important;bottom:154px!important;width:52px!important;min-width:52px!important;height:44px!important;min-height:44px!important}
body #app #rush-turbo.rush-action{bottom:206px!important;left:8px!important}
body #app #rush-shoot.rush-action{bottom:102px!important;left:8px!important}
#menu#menu#menu{background:linear-gradient(180deg,#080a0b45,#080a0bf5 280px),url('./assets/broom-rush-loading-v1.webp') center top/100% auto no-repeat,#090909!important;border-color:#d1bc8c45!important}
#menu#menu#menu .rush-brand-v2{margin-top:16px!important;border-bottom:0!important}
#menu#menu#menu h1{font-size:36px!important;max-width:260px;text-shadow:0 3px 25px #000!important}
#menu#menu#menu .lead{max-width:300px;font-size:12px!important;background:#08090988;border-radius:10px;padding:10px}
#menu#menu#menu .menu-tabs{position:sticky;top:0;z-index:5;background:#101010f5;box-shadow:0 8px 20px #0006}
#menu#menu#menu #start{min-height:64px!important;font-size:20px!important;margin:14px 0!important}
#menu#menu#menu .record{display:flex!important;padding:14px!important;margin:16px 0!important;gap:12px!important}
#menu#menu#menu .record b{font-size:18px!important;color:#f5dfb2!important}
#menu#menu#menu .garage summary,#menu#menu#menu .advanced-options summary{padding:14px!important;background:#151515!important;border-radius:12px!important;color:#e9e4d9!important}
#menu#menu#menu .environment-panel{padding:16px;background:#111;border:1px solid #ffffff24;border-radius:15px;margin:14px 0}
.environment-panel h3{font-size:13px;letter-spacing:.1em;color:#e7cfa0}.environment-panel label{display:block;margin:12px 0;font-size:12px}.environment-panel [data-clock]{display:inline!important;min-height:0!important;width:18px!important;height:18px!important;vertical-align:middle;margin-right:8px}.environment-panel p{font-size:12px;line-height:1.6;color:#bcbcb7}.environment-panel a{font-size:11px;color:#e0c28a}.environment-panel [data-results]{display:grid;gap:5px}.environment-panel input:not([type=checkbox]){width:100%;margin-top:7px}

#menu .rush-menu-tabs button{white-space:nowrap!important;overflow-wrap:normal!important;font-size:clamp(10px,3vw,13px)!important}

#menu#menu#menu .menu-tabs button{white-space:nowrap!important;overflow-wrap:normal!important;min-width:0!important;padding:12px 5px!important;font-size:12px!important}
.look-3d{display:none!important;pointer-events:none!important}
