*{box-sizing:border-box}.brasa-body{margin:0;background:#102c38;color:#f9e9c9;font:16px/1.5 system-ui,sans-serif}.brasa-body button,.brasa-body input,.brasa-body select{font:inherit}.brasa-body button{min-height:44px;cursor:pointer;border:1px solid #608284;border-radius:12px;padding:10px 17px;background:#234a56;color:#fff0d0;font-weight:700}.brasa-body button:hover{background:#37616a}.brasa-body button:disabled{opacity:.5;cursor:default}.brasa-body button.primary{background:#ffd06a;color:#233745;border:0;box-shadow:0 4px #b96c36}.brasa-body a{color:#f9d68d}.brasa-body h1,.brasa-body h2,.brasa-body h3,.brasa-body p{margin:0 0 14px}.brasa-body h1{line-height:1.12;font-size:clamp(28px,4vw,46px)}.brasa-body h2{font-size:23px}.brasa-body h3{font-size:18px}.brasa-body small{font-size:12px}.brasa-body [hidden]{display:none!important}.brasa-body :focus-visible{outline:3px solid #8ae3d4;outline-offset:3px}#rally-app{max-width:1180px;margin:auto;padding:0 24px 24px}.rally-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0}.rally-header>a:first-child{font-size:14px;text-decoration:none}.rally-logo{font-size:27px;font-weight:950;letter-spacing:-1px;text-decoration:none;transform:skew(-7deg);white-space:nowrap}.rally-logo em{color:#ee8052;font-style:normal}.rally-hero{overflow:hidden;position:relative;text-align:center;border:1px solid #537b7f;border-radius:28px;padding:40px 24px;background:radial-gradient(ellipse at 50% 80%,#c9854d,#466870 42%,#193e4a 76%)}.rally-stamp,.eyebrow{font-size:12px;letter-spacing:2px;font-weight:850;color:#ffd68b}.rally-hero h1{font-size:clamp(40px,7vw,76px);margin:20px 0;text-shadow:0 5px 0 #153643}.rally-hero h1 span{color:#ffd06a}.rally-hero p{max-width:660px;margin:0 auto 18px}.rally-hero-cars{display:flex;max-width:720px;margin:0 auto}.rally-hero-cars svg{width:33%;filter:drop-shadow(0 7px 0 #213f4c55)}.rally-hero-cars svg:nth-child(2){transform:scale(1.17)}.rally-menu{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:20px}.rally-caption{font-size:12px;color:#c1d6cc}.rally-save{font-size:14px;color:#ffd68b;margin-top:14px!important;min-height:20px}.rally-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}.rally-wallet{font-size:30px;color:#ffda7d;white-space:nowrap}.rally-wallet small{display:block;text-align:right}.rally-cars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rally-card{padding:22px;border:2px solid #44666e;border-radius:22px;background:linear-gradient(155deg,#335862,#173643)}.rally-card.selected{border-color:#ffd16e}.rally-card svg{width:100%;height:150px}.rally-tag{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#b8dccf}.rally-stats{display:grid;gap:5px;margin:12px 0 18px;font-size:14px}.rally-stats span{display:flex;justify-content:space-between;border-bottom:1px solid #517077}.rally-card button{width:100%}.rally-upgrades{margin:25px 0}.rally-upgrades>div,.rally-brief-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.rally-upgrades article,.rally-brief-actions article{padding:18px;border-radius:16px;background:#244854;border:1px solid #507177}.rally-upgrades p{font-size:13px}.rally-upgrades small{color:#ffcb6c}.rally-garage-bottom{display:flex;gap:15px;flex-wrap:wrap;align-items:center;padding:20px;border:1px solid #537578;border-radius:18px}.rally-garage-bottom p{font-size:13px;margin:8px 0 0}.rally-garage-bottom>div{flex:1 1 300px}.rally-tip{padding:20px;color:#ffe49a}.rally-brief{max-width:1000px;margin:30px auto}.rally-brief-actions{margin:24px 0}.rally-brief-actions article>b{font-size:30px;color:#ffd16d}.rally-brief-actions p{font-size:14px}.rally-race-bar{display:flex;align-items:center;gap:10px;margin-bottom:10px}.rally-race-bar>b{flex:1;font-size:14px}.rally-stage{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;border:2px solid #527578;background:#24485b}#rally-canvas{width:100%;height:100%}#rally-canvas canvas{display:block}.rally-small-hud{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:4px;font-size:12px;background:#15303cdb;padding:6px 10px;border-radius:10px;pointer-events:none}.rally-minimap{position:absolute;right:10px;top:10px;width:100px;opacity:.9;background:#142e38a8;border-radius:10px;pointer-events:none}.rally-minimap svg{width:100%;display:block}.rally-countdown{position:absolute;left:25%;right:25%;top:30%;font-size:38px;font-weight:900;text-align:center;text-shadow:0 3px 4px #12313a;z-index:2}.rally-countdown:not(:empty){cursor:pointer}.rally-pad{position:absolute;left:0;right:0;bottom:0;height:38%;min-height:110px;pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none}.rally-pad button{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;background:#163744ba;border:2px solid #b0c8b6;border-radius:50%;width:46px;height:46px;padding:0;font-size:24px;min-height:0}.rally-pad [data-drive=move]{width:96px;height:96px;background:#16374480;border:2px solid #cae6d0}.rally-pad [data-drive=move] span{display:block;width:43px;height:43px;background:#9ee3d1b5;border:2px solid #ecf8de;border-radius:50%;margin:auto}.rally-pad [data-drive=accelerate]{width:72px;height:72px;font-size:32px;background:#df8e42d9;border-color:#ffd890}.rally-pad small{position:absolute;top:47px;left:0;right:0;font-size:9px}.rally-paused,.rally-result{position:absolute;inset:0;background:#153441f2;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;overflow:auto}.rally-result h1{font-size:clamp(22px,3vw,34px)}.rally-result ol{list-style:none;padding:0;width:100%;max-width:380px;margin:10px 0}.rally-result li{display:flex;justify-content:space-between;border-bottom:1px solid #527b7d;padding:3px;font-size:14px}.rally-prize{color:#ffd06b;font-weight:900;font-size:23px}.rally-control-settings{margin:12px 0;border:1px solid #537578;border-radius:12px;padding:10px}.rally-control-settings summary{cursor:pointer;min-height:32px;font-size:14px}.rally-control-settings>div{display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding:15px 0}.rally-control-settings label{display:flex;gap:8px;align-items:center;font-size:13px}.brasa-body select,.brasa-body input:not([type=range]):not([type=checkbox]){border:1px solid #63838a;border-radius:7px;background:#102d39;color:#fff1d6;padding:8px;min-height:40px;max-width:100%}.rally-ranking{font-size:13px;color:#bfe4d3}.rally-editor-tools{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.rally-editor-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:16px}.rally-map{background:#315665;border:1px solid #628487;border-radius:18px;touch-action:none;width:100%;aspect-ratio:1.5;display:block}.rally-map [data-piece]{cursor:grab}.rally-editor-panel{padding:18px;background:#20434f;border:1px solid #55777c;border-radius:18px;min-width:0}.rally-editor-panel label,.rally-editor-settings label{display:flex;flex-direction:column;gap:5px;font-size:13px;margin:9px 0}.rally-editor-panel input,.rally-editor-panel select{width:100%}.rally-editor-settings{margin:16px 0;padding:18px;background:#20434f;border-radius:18px}.rally-editor-settings summary{cursor:pointer;font-weight:800}.rally-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rally-editor select{max-width:100%}.rally-editor p{font-size:14px}.rally-editor-notice{color:#ffd58c;min-height:24px}.rally-map-caption{color:#b9d3c7;font-size:12px;margin:10px 0}.rally-editor input[type=file]{width:100%}@media(max-width:700px){#rally-app{padding:0 10px 15px}.rally-header{padding:10px 0;gap:6px}.rally-logo{font-size:22px}.rally-header>a:first-child{font-size:11px}.rally-header button{font-size:12px;padding:8px}.rally-hero{padding:25px 12px;border-radius:20px}.rally-cars{grid-template-columns:1fr;gap:12px}.rally-card{display:grid;grid-template-columns:120px 1fr;padding:14px;gap:0 14px}.rally-card svg{grid-row:2/5;height:100px}.rally-tag{grid-column:1/-1}.rally-card h2{font-size:20px;margin:6px 0}.rally-stats{margin:0 0 12px;font-size:12px}.rally-card button{grid-column:1/-1}.rally-upgrades>div,.rally-brief-actions{grid-template-columns:1fr}.rally-section-title{align-items:flex-start;gap:10px}.rally-section-title h1{font-size:26px}.rally-wallet{font-size:24px}.rally-race-bar>b{font-size:12px}.rally-race-bar button{padding:8px 10px;font-size:12px}.rally-stage{aspect-ratio:4/3}.rally-pad{height:130px}.rally-pad [data-drive=move]{width:82px;height:82px}.rally-pad [data-drive=accelerate]{width:62px;height:62px}.rally-pad button{width:44px;height:44px}.rally-pad small{top:41px;font-size:8px}.rally-minimap{width:64px}.rally-small-hud{font-size:10px;top:7px;left:7px}.rally-countdown{font-size:24px;left:15%;right:15%}.rally-result h1{font-size:21px;margin-bottom:5px}.rally-result p{font-size:12px;margin-bottom:5px}.rally-result .rally-prize{font-size:19px}.rally-result li{font-size:12px}.rally-result .eyebrow{font-size:9px}.rally-editor-grid{grid-template-columns:1fr}.rally-fields{grid-template-columns:repeat(2,1fr)}}@media(orientation:landscape)and (max-height:550px){#rally-app{max-width:100%;padding:0 10px}.rally-header{padding:5px 0}.rally-header button{min-height:32px;padding:4px 12px}.rally-race-bar{margin-bottom:4px}.rally-race-bar button{min-height:32px;padding:3px 12px}.rally-stage{height:calc(100svh - 105px);aspect-ratio:auto;max-width:960px;margin:auto}.rally-pad{height:125px}.rally-hero{padding:18px}.rally-hero h1{font-size:42px;margin:10px}.rally-hero-cars{max-width:350px}.rally-cars{grid-template-columns:repeat(3,1fr)}.rally-card{display:block;padding:12px}.rally-card svg{height:85px}.rally-upgrades>div,.rally-brief-actions{grid-template-columns:repeat(3,1fr)}.rally-result{padding:10px}.rally-result h1{font-size:22px}.rally-result p{margin-bottom:5px}.rally-result ol{margin:5px 0}.rally-result button{min-height:36px;padding:5px 14px}}.rally-rivals{display:flex;gap:18px;flex-wrap:wrap;margin:18px 0}.rally-rivals article{display:flex;align-items:center;gap:10px;flex:1 1 200px}.rally-rivals svg{width:70px;height:70px;flex-shrink:0}.rally-rivals b,.rally-rivals span{display:block}.rally-rivals span{font-size:12px;color:#c6d7c4}@media(max-width:360px){.rally-header{flex-wrap:wrap}.rally-header .rally-logo{order:-1;width:100%;text-align:center;font-size:24px}.rally-header>a:first-child{font-size:12px}}@media(orientation:landscape)and (max-height:550px){#rally-app{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom)}.rally-stage{height:calc(100svh - 105px - env(safe-area-inset-bottom))}}.rally-summary{max-width:820px;margin:20px auto;padding:24px;border:2px solid #527f86;border-radius:22px;background:#173b47}.rally-summary h1{font-size:clamp(26px,5vw,42px)}.rally-summary ol,.rally-circuit-board ol{list-style:none;padding:0}.rally-summary li,.rally-circuit-board li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #41636c;flex-wrap:wrap}.rally-summary-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.rally-circuit-board{margin-top:24px;padding:18px;border:1px solid #527f86;border-radius:18px}.rally-summary .rally-prize{line-height:1.6}@media(max-width:420px){.rally-summary{padding:16px}.rally-summary-actions button{width:100%}}.rally-hub{max-width:900px;margin:28px auto;padding:28px;border:1px solid #64878a;border-radius:24px;background:#193e4a}.rally-destinations{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.rally-destinations button{min-height:180px;text-align:left;padding:24px;background:linear-gradient(135deg,#376570,#1b3a48);border:2px solid #729597}.rally-destinations button:first-child{border-color:#ffd06a}.rally-destinations b,.rally-destinations span{display:block}.rally-destinations b{font-size:23px;margin-bottom:18px}.rally-destinations span{font-size:14px;font-weight:400;color:#d9e6d6}.rally-shop-nav{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.rally-rotate{position:absolute;inset:0;z-index:20;background:#102e3ff5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:18px}.rally-rotate>b{font-size:28px}.rally-stage,.rally-stage *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.rally-stage{touch-action:none}.rally-playing{position:fixed;inset:0;z-index:50;max-width:none!important;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important;background:#102e3f;overflow:hidden}.rally-playing>.rally-header,.rally-playing>.rally-save,.rally-playing .rally-caption,.rally-playing .rally-ranking{display:none}.rally-playing .rally-race{height:100%;display:flex;flex-direction:column}.rally-playing .rally-race-bar{padding:5px 10px;margin:0;min-height:44px;flex-shrink:0}.rally-playing .rally-race-bar button{min-height:32px;padding:4px 10px}.rally-playing .rally-stage{flex:1;min-height:0;width:100%;max-width:none;height:auto;aspect-ratio:auto;margin:0;border-radius:0;border:0;background:linear-gradient(90deg,#193542,#2c4b55 18% 80%,#193542)}.rally-playing #rally-canvas{position:absolute;left:20%;width:60%;height:100%}.rally-playing .rally-pad{height:100%;min-height:0}.rally-playing .rally-small-hud{left:21%;top:6px}.rally-playing .rally-minimap{right:21%;top:6px;width:68px}.rally-playing .rally-control-settings{display:none}.rally-playing .rally-control-settings[open]{display:block;position:absolute;inset:48px 5% 8px;z-index:15;background:#173b47;overflow:auto;padding:16px}.rally-playing .rally-paused{left:20%;right:20%;font-size:13px}.rally-playing .rally-paused h2{font-size:20px}.rally-playing .rally-paused button{margin-bottom:8px}.rally-playing .rally-pad button{box-shadow:none}.rally-playing .rally-countdown{left:35%;right:35%}@media(max-width:700px){.rally-destinations{grid-template-columns:1fr}.rally-destinations button{min-height:112px;padding:18px}.rally-destinations b{margin-bottom:9px}.rally-hub{padding:18px}.rally-playing .rally-race-bar>b{font-size:10px}.rally-playing .rally-race-bar button{font-size:11px;padding:4px 7px}}.rally-pad [data-drive=move] small{position:absolute;bottom:4px;left:0;width:100%;font-size:9px;line-height:12px;pointer-events:none;color:#e8dfb7}.brasa-body{background:radial-gradient(ellipse at 50% 0,#326574 0,#153e50 45%,#102e3f);color:#fff0d3;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.brasa-body button{min-height:46px;border-color:#789b98;background:#214b5c;box-shadow:0 3px #102f3c;transition:background .12s,transform .12s}.brasa-body button:active:not(:disabled){transform:translateY(2px)}.brasa-body button.primary{background:linear-gradient(#ffe4a3,#ffc96e);border:1px solid #ffefbd;box-shadow:0 4px #b97848;color:#273a43}.brasa-body button:disabled{box-shadow:none}.brasa-body button:hover:not(:disabled){background:#356778}.brasa-body button.primary:hover:not(:disabled){background:#ffe6a9}.rally-header{padding:18px 0}.rally-logo{font-size:30px;letter-spacing:-1.2px;color:#ffe6b0!important;text-shadow:0 3px 0 #122f41}.rally-logo em{color:#f29970}.rally-header>a:first-child{color:#bde0d6}.rally-header [data-sound]{min-width:120px;font-size:13px}.rally-hero{border:2px solid #9bb8a0;box-shadow:0 10px #0c2c3a55,0 25px 80px #04182755;background:radial-gradient(ellipse at 50% 80%,#bd9b68 0,#41757b 48%,#1f4d60 82%);padding:36px 24px}.rally-stamp{display:inline-block;padding:9px 17px;border-radius:24px;background:#163f51;color:#fadd9f;border:1px solid #89a897}.rally-hero h1{letter-spacing:-.04em}.rally-hero-cars{max-width:830px;gap:12px;align-items:center}.rally-hero-cars svg{height:auto;width:calc((100% - 24px)/3);filter:drop-shadow(0 10px 5px #15343d66)}.rally-hero-cars svg:nth-child(2){transform:scale(1.08)}.rally-menu .primary{padding:15px 26px;font-size:17px}.rally-section-title{padding:8px 0 15px;border-bottom:1px solid #88a69c55}.rally-section-title h1{letter-spacing:-.04em}.rally-wallet{padding:10px 18px;background:#113947;border:1px solid #78988d;border-radius:16px;font-size:32px;color:#ffe3a0}.rally-card{position:relative;overflow:hidden;padding:24px;background:radial-gradient(ellipse at 50% 28%,#517b80,#234e5d 65%);border:2px solid #638b89;box-shadow:0 7px #0f2d3b88}.rally-card.selected{border-color:#ffda87;box-shadow:0 7px #8f6f4588,inset 0 0 0 3px #ffda8720}.rally-tag{display:inline-block;padding:4px 9px;background:#123b4b99;border:1px solid #89ac9d66;border-radius:7px;color:#d7e9cf;letter-spacing:1px}.rally-card svg{height:200px;margin:7px 0 4px;filter:drop-shadow(0 8px 5px #0b2b3c55)}.rally-card h2{font-size:27px;color:#ffe3a0;letter-spacing:-.03em}.rally-card button{width:100%;margin-top:12px}.rally-stats{gap:8px}.rally-stats>.rally-stat{display:grid;grid-template-columns:1fr auto;gap:2px 10px;color:#d4e1d8;font-size:13px;line-height:1.4}.rally-stat>span{display:block}.rally-stat>b{color:#fff1d0;font-variant-numeric:tabular-nums}.rally-stat meter{grid-column:1/-1;width:100%;height:7px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#113847}.rally-stat meter::-webkit-meter-bar{border:0;background:#143847;border-radius:5px}.rally-stat meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#7bc4b6,#ffdc8c)}.rally-stat meter::-moz-meter-bar{background:#a4d0b2}.rally-upgrades{padding-top:28px}.rally-upgrades>h2{color:#ffdf9c}.rally-upgrades article,.rally-brief-actions article{border:1px solid #7d9d91;background:linear-gradient(145deg,#325f69,#1b4355);box-shadow:0 5px #102f3c55}.rally-upgrades h3{display:flex;justify-content:space-between;gap:12px}.rally-upgrades button{width:100%;margin-top:12px}.rally-upgrades p{color:#d7e4d6;min-height:40px}.rally-garage-bottom{margin-top:26px;background:#163d4d;border-color:#86a897}.rally-garage-bottom b{color:#ffdf9e;font-size:18px}.rally-circuit-board{background:#224d5b}.rally-brief{padding:26px;background:#204a5a;border:1px solid #88a59a;border-radius:22px;box-shadow:0 9px #112e3c77}.rally-brief h1{letter-spacing:-.035em;color:#ffe3a0}.rally-brief>button{margin-right:10px;margin-bottom:8px}.rally-rivals article{padding:12px;background:#173e4c;border:1px solid #698d83;border-radius:14px}.rally-rivals svg{width:62px;height:62px}.rally-stage{border:2px solid #91b5a4;border-radius:20px;box-shadow:0 10px 28px #0a273e55}.rally-race-bar{padding:8px 0}.rally-race-bar>b{color:#ffe9b5;font-variant-numeric:tabular-nums}.rally-small-hud{background:#143d4fdd;border:1px solid #9cbba077;color:#ffeabd;padding:7px 11px;box-shadow:0 3px 10px #0e2e3b33}.rally-minimap{background:#10394ed9;border:1px solid #80aa9c99;padding:3px;border-radius:12px}.rally-pad button{box-shadow:0 4px 10px #112e3b33}.rally-pad [data-drive=missile]{border-color:#e9b08c;color:#ffe0a9}.rally-pad [data-drive=turbo]{border-color:#ffda84;color:#ffda84}.rally-pad [data-drive=shield]{border-color:#92ded3;color:#a2eee2}.rally-paused{background:#173d50ef;gap:12px}.rally-paused h2{font-size:30px;color:#ffe0a0}.rally-paused button{min-width:210px}.rally-paused p{color:#c4ded4}.rally-control-settings{background:#173d4c;border-color:#688d86}.rally-ranking{padding:10px 12px;background:#163a48;border-radius:10px;font-size:12px}.rally-summary{padding:34px;background:radial-gradient(ellipse at 50% 0,#466e72,#1e495b 75%);border:2px solid #a1b79c;box-shadow:0 9px #12344288}.rally-summary>.eyebrow{padding:8px 12px;border:1px solid #a4b294;background:#1a4050;display:inline-block;border-radius:20px}.rally-summary h1{color:#ffe7ad;letter-spacing:-.035em;font-size:clamp(27px,4vw,42px);margin:8px 0 22px}.rally-summary .rally-prize{padding:18px 20px;background:#143c4d;border:1px solid #dab97d;border-radius:15px;color:#ffe0a0;font-size:20px}.rally-summary h2{margin:25px 0 12px;color:#d7e8d6;font-size:20px}.rally-summary li{padding:12px 14px;border:1px solid #77988a55;border-radius:9px;margin:7px 0;background:#173f4e66}.rally-summary li:first-child{background:#8f885d33;border-color:#cdb480}.rally-summary li>span{color:#d5e4d8;font-size:14px}.rally-summary-actions{padding-top:10px}.rally-summary-actions .primary{flex:1}.rally-editor-panel,.rally-editor-settings{border-color:#739b90;background:#224e5d}.rally-map{border-color:#87b09f}@media(max-width:700px){.rally-card{padding:16px;grid-template-columns:130px minmax(0,1fr)}.rally-card svg{height:145px;grid-row:2/5}.rally-card h2{font-size:23px}.rally-stats{gap:4px}.rally-stats>.rally-stat{font-size:12px}.rally-summary,.rally-brief{padding:20px}.rally-header [data-sound]{min-width:100px}.rally-wallet{font-size:25px;padding:8px 12px}}@media(max-width:360px){.rally-card{grid-template-columns:105px minmax(0,1fr)}.rally-card svg{height:125px}.rally-section-title h1{font-size:24px}.rally-wallet{font-size:21px;padding:6px 9px}}@media(orientation:landscape)and (max-height:550px){.rally-header{padding:5px 0}.rally-header button{min-height:40px}.rally-race-bar{padding:0}.rally-race-bar button{min-height:40px}.rally-stage{height:calc(100svh - 122px - env(safe-area-inset-bottom));border-radius:14px}.rally-card{display:block;padding:14px}.rally-card svg{height:132px;margin:0}.rally-card h2{font-size:23px}.rally-hero-cars{max-width:500px}.rally-hero{padding:18px}.rally-hero h1{font-size:38px;margin:15px 0}.rally-paused h2{font-size:24px}.rally-paused{gap:5px}.rally-paused p{margin-bottom:3px}.rally-upgrades p{min-height:0}.rally-small-hud{top:7px;left:7px;font-size:10px}.rally-minimap{width:72px}}@media(prefers-reduced-motion:reduce){.brasa-body button{transition:none}.brasa-body button:active{transform:none}}.brasa-body .rally-pad button:active:not(:disabled){transform:translate(-50%,-50%)}.rally-brand{display:block;width:150px;height:47px;object-fit:contain}.rally-header>a:first-child{display:flex;align-items:center}@media(max-width:700px){.rally-brand{width:100px;height:34px}.rally-header{gap:8px}.rally-logo{font-size:24px}.rally-header [data-sound]{min-width:82px;padding:8px;font-size:11px}}@media(max-width:360px){.rally-brand{width:78px}.rally-logo{font-size:21px}.rally-header [data-sound]{min-width:72px}}#rally-app:fullscreen{max-width:none;width:100%;height:100%;overflow-y:auto;background:#102e3f;padding:16px}#rally-app.rally-playing:fullscreen{padding:0;overflow:hidden}.rally-intro{position:fixed;inset:0;z-index:1000;background:radial-gradient(ellipse at center,#193947,#080f17 75%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;animation:forge-intro .35s ease-out;color:#f4e8cd}.rally-intro img{width:min(78vw,480px);height:auto}.rally-intro p{margin:0;font-size:12px;letter-spacing:5px;color:#a5b8b7}.rally-intro>b{margin-top:15px;font-size:clamp(28px,6vw,48px);letter-spacing:3px}.rally-intro>b span{color:#eea06b}.rally-intro button{position:absolute;right:24px;bottom:24px;font-size:12px;background:transparent;border:1px solid #63777b;box-shadow:none}.rally-season-preview{margin-top:24px;padding:22px;border:1px solid #a9b5a0;border-radius:20px;background:linear-gradient(135deg,#264e5a,#465952)}.rally-season-preview h2{margin-top:0}.rally-season-preview ol{display:flex;flex-wrap:wrap;gap:12px 30px;padding-left:22px;font-size:14px}.rally-season-preview p{line-height:1.5}.rally-season-preview button{max-width:100%}.rally-playing .rally-pad [data-drive=move]{width:clamp(106px,16vw,140px);height:clamp(106px,16vw,140px)}.rally-playing .rally-pad [data-drive=move] span{width:58px;height:58px}.rally-drive-position,.rally-action-status{position:absolute;pointer-events:none;text-align:center;color:#fff0ce;background:#143642e8;border:1px solid #75978b;border-radius:12px;padding:8px 5px;font-variant-numeric:tabular-nums}.rally-drive-position{font-size:24px;font-weight:900}.rally-action-status{font-size:13px;display:grid;gap:8px}.rally-action-status>div{display:flex;align-items:center;justify-content:center;gap:7px}.rally-action-status b{font-size:20px;line-height:22px}.rally-charge-bars{display:flex;gap:4px}.rally-charge-bars i{display:block;width:12px;height:5px;border-radius:2px;background:#536770}.rally-charge-bars i.charged{background:#ffd16a;box-shadow:0 0 4px #ffcf7160}@keyframes forge-intro{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.rally-intro{animation:none}}.rally-charge-bars{display:grid;grid-template-columns:repeat(5,8px);gap:3px}.rally-charge-bars i{width:8px;height:5px}.rally-charge-bars i:nth-child(n+6){margin-top:2px}.rally-action-icon{width:25px;height:25px;flex:none}.rally-pad button>.rally-action-icon{width:30px;height:30px;pointer-events:none}.rally-shield-ring{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);pointer-events:none;transform:rotate(-90deg)}.rally-shield-ring circle{fill:none;stroke-width:3}.rally-shield-ring .ring-track{stroke:#546f78;opacity:.65}.rally-shield-ring [data-shield-progress]{stroke:#c8ffed;stroke-linecap:round;transition:stroke-dasharray .12s linear,stroke .2s}.rally-pad [data-drive=shield][data-state=charging] [data-shield-progress]{stroke:#f5d37f}.rally-pad [data-drive=shield][data-state=active]{background:#276f70;box-shadow:0 0 12px #8ce8d470}.rally-upgrades>p{max-width:660px;color:#d3e2d8;margin-bottom:18px;min-height:0}.rally-card svg,.rally-hero-cars svg,.rally-part-sample svg{image-rendering:auto}.rally-upgrade-card{padding:18px!important;display:flex;flex-direction:column;min-width:0}.rally-upgrade-card>h3{font-size:20px;margin-bottom:14px}.rally-upgrade-card>h3 small{font-size:13px;background:#163e4c;border-radius:20px;padding:3px 9px;color:#ffdf9c}.rally-part-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin-bottom:14px;align-items:stretch}.rally-part-sample{margin:0;padding:10px 7px 4px;border:1px solid #698e89;border-radius:12px;background:radial-gradient(ellipse at 50% 90%,#38626c,#163c4c);display:flex;flex-direction:column;justify-content:space-between;min-width:0}.rally-part-sample+.rally-part-sample{border-color:#deb97f;background:radial-gradient(ellipse at 50% 90%,#716d52,#294d56)}.rally-part-sample figcaption{text-align:center;line-height:1.25;min-height:47px}.rally-part-sample small{display:block;font-size:10px;color:#bcd6cc;margin-bottom:5px}.rally-part-sample b{display:block;font-size:12px;color:#ffedbe;font-weight:700}.rally-part-sample svg{display:block;width:100%;height:90px;overflow:visible;filter:drop-shadow(0 5px 4px #0b24384d)}.rally-upgrade-card>p{font-size:13px;line-height:1.5;margin-bottom:12px;min-height:40px}.rally-upgrade-card>button{margin-top:auto!important}.rally-parts-complete{margin:0!important;min-height:0!important;padding:16px 5px;align-self:center;font-size:12px;line-height:1.6;color:#bde1cf!important;text-align:center}@media(max-width:700px){.rally-upgrade-card{padding:16px!important}.rally-part-sample svg{height:105px}.rally-part-sample figcaption{min-height:40px}.rally-part-sample b{font-size:13px}}@media(orientation:landscape)and (max-height:550px){.rally-upgrade-card{padding:12px!important}.rally-part-sample{padding:8px 4px 3px}.rally-part-sample svg{height:75px}.rally-part-sample figcaption{min-height:45px}.rally-part-sample b{font-size:11px}.rally-upgrade-card>h3{font-size:18px}}.rally-creator{padding:clamp(16px,4vw,36px);border:1px solid #63878b;border-radius:24px;background:linear-gradient(130deg,#244e5b,#152f40)}.rally-creator h1{font-size:clamp(30px,5vw,48px);line-height:1.1;max-width:650px}.rally-creator p{color:#d4e5dd;line-height:1.6}.rally-creator-steps,.rally-creator-bases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;list-style:none}.rally-creator-steps li{padding:16px;border-left:3px solid #f6cd78;background:#20424e;border-radius:8px}.rally-creator-steps b{display:block;color:#f6cd78;margin-bottom:8px}.rally-creator-bases article{padding:18px;border:1px solid #64858a;border-radius:18px;background:#2a505b;display:flex;flex-direction:column}.rally-creator-bases svg{width:100%;height:150px;background:#163743;border-radius:12px}.rally-creator-bases h2{font-size:21px;color:#f6cd78}.rally-creator-bases button{margin-top:auto}.rally-editor.guided .rally-editor-settings,.rally-editor.guided [data-base]{display:none}.rally-editor.guided .rally-map{background:#183743;border:1px solid #769796;border-radius:18px;touch-action:none}.rally-editor.guided .rally-editor-panel{align-self:start}.rally-editor.guided .rally-editor-tools{align-items:end}.rally-editor.guided .rally-editor-tools label{display:flex;flex-direction:column;gap:8px}.rally-editor.guided input,.rally-editor.guided select{min-height:44px}.rally-editor.guided .rally-map-caption{line-height:1.6}@media(max-width:700px){.rally-creator-bases,.rally-creator-steps{grid-template-columns:1fr}.rally-creator-bases svg{height:120px}.rally-creator-steps{gap:8px}.rally-creator-steps li{padding:10px}.rally-editor.guided .rally-editor-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rally-editor.guided .rally-editor-tools label{grid-column:1/-1}.rally-editor.guided .rally-editor-tools>*{min-width:0;max-width:100%}}.rally-editor.guided{color-scheme:dark}.rally-editor.guided select{color:#ffe3b2;background-color:#254b58;border:1px solid #7a9a9d;border-radius:9px;padding:10px}.rally-editor.guided option{color:#ffe3b2;background:#254b58}
