/* Illustrated automotive UI: reusable enamel, metal and rubber assets. */
:root{
 --rl-slate-frame:url("../assets/rally-20261109/plate-slate.png"); --rl-slate-tile:url("../assets/rally-20261109/tile-slate.png");
 --rl-green-frame:url("../assets/rally-20261109/plate-green.png"); --rl-green-tile:url("../assets/rally-20261109/tile-green.png");
 --rl-red-frame:url("../assets/rally-20261109/plate-red.png"); --rl-red-tile:url("../assets/rally-20261109/tile-red.png");
 --rl-blue-frame:url("../assets/rally-20261109/plate-blue.png"); --rl-blue-tile:url("../assets/rally-20261109/tile-blue.png");
 --rl-amber-frame:url("../assets/rally-20261109/plate-amber.png"); --rl-amber-tile:url("../assets/rally-20261109/tile-amber.png");
 --rl-violet-frame:url("../assets/rally-20261109/plate-violet.png"); --rl-violet-tile:url("../assets/rally-20261109/tile-violet.png");
 --rl-ivory-frame:url("../assets/rally-20261109/plate-ivory.png"); --rl-ivory-tile:url("../assets/rally-20261109/tile-ivory.png");
 --rl-teal-frame:url("../assets/rally-20261109/plate-teal.png"); --rl-teal-tile:url("../assets/rally-20261109/tile-teal.png");
 --rl-rubber-frame:url("../assets/rally-20261109/plate-rubber.png"); --rl-rubber-tile:url("../assets/rally-20261109/tile-rubber.png");
 --rl-light-frame:url("../assets/rally-20261109/plate-light.png"); --rl-light-tile:url("../assets/rally-20261109/tile-light.png");
 --rl-steel-frame:url("../assets/rally-20261109/plate-steel.png"); --rl-steel-tile:url("../assets/rally-20261109/tile-steel.png");
 --rl-rim-frame:url("../assets/rally-20261109/plate-rim.png"); --rl-rim-tile:url("../assets/rally-20261109/tile-rim.png");
 --rl-ink:#192d3b; --rl-cream:#f4f7fc; --rl-muted:#b5c9d6;
}
/* Raster nine-slice plates keep the metallic edge crisp at different sizes. */
html.rally-ui {color-scheme:dark;}
html.rally-ui body {color:var(--rl-cream);font-family:Arial,"Segoe UI",sans-serif;background:#132636;}
.rally-ui :is(.panel,.lobby,.hf-modal,.bw-modal,.is-box,.pu-content) {
 --rl-frame:var(--rl-rim-frame);--rl-tile:var(--rl-slate-tile);
 border:12px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 border-radius:18px!important;color:var(--rl-cream)!important;box-shadow:0 10px 24px #08151b66!important;
}
.rally-ui .panel {padding:10px 12px 12px;gap:9px;}
.rally-ui :is(.overlay,#fleet-notice) {background:#122531bd;backdrop-filter:none;}
.rally-ui :is(.panel-title,.lb-title,.hf-modal h1,.moto-gift-copy h2) {color:#ffdda0!important;text-shadow:0 2px 1px #071e2b!important;letter-spacing:.2px;}
.rally-ui :is(.hint,.lb-left,.acc-body,.online-caption,.res-reason,.adult-mode-copy,.moto-gift-copy p) {color:#d0dee8!important;}
.rally-ui :is(.btn,.tab,.btn-icon,.x-close,.qmark,.slot,.is-tabs button,.is-x,.bw-tabs button,.bw-ack,.pu-secondary,.mods-picker button,.mods-footer>button) {
 --rl-frame:var(--rl-blue-frame);--rl-tile:var(--rl-blue-tile);
 border:8px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 border-radius:10px!important;color:var(--rl-cream)!important;box-shadow:0 3px 3px #081a2455!important;
 text-shadow:0 1px 1px #071c2b99!important;font-weight:800;
 transition:transform .08s ease-out,filter .08s ease-out;
}
.rally-ui :is(.btn,.tab) {padding:0 10px;}
.rally-ui :is(.btn.sm,.tab) {border-width:7px!important;}
.rally-ui :is(.b-green,.tag.on,.ls .rd,.bw-ack) {--rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-green-tile);}
.rally-ui :is(.b-orange,.tab.on,.is-tabs button.on,.bw-tabs button[aria-selected=true]) {--rl-frame:var(--rl-amber-frame);--rl-tile:var(--rl-amber-tile);color:#14252c!important;text-shadow:none!important;}
.rally-ui :is(.b-grey,.pu-secondary,.mods-footer>button) {--rl-frame:var(--rl-rubber-frame);--rl-tile:var(--rl-rubber-tile);}
.rally-ui .b-pink {--rl-frame:var(--rl-violet-frame);--rl-tile:var(--rl-violet-tile);}
.rally-ui :is(.x-close,.is-x) {--rl-frame:var(--rl-red-frame);--rl-tile:var(--rl-red-tile);border-width:6px!important;}
.rally-ui :is(.btn,.tab,.dm button,.btn-icon,.mods-option):active {filter:brightness(.9);box-shadow:none!important;}
.rally-ui :is(button,[role=button]):focus-visible {outline:3px solid #fff0ba;outline-offset:3px;}
.rally-ui button:disabled {filter:saturate(.25);opacity:.65;}
.rally-ui .btn .cn {color:inherit!important;}
.rally-ui :is(.x-close,.is-x)::before {content:"";inset:2px;position:absolute;margin:0;width:auto;height:auto;transform:none;border:0;border-radius:0;background:url('../assets/rally-20261109/icons.png') no-repeat;background-size:600% 400%;background-position:100% 0;}
.rally-ui :is(.x-close,.is-x)::after {display:none;}
/* Product cards share dark dashboard plates. */
.rally-ui :is(.card,.mods-option,.row,.rm,.rr,.lb-row,.online-card,.room-track-summary,.room-track-option,.training-card,.idea,.bw-receipt-row,.hf-receipt-row) {
 --rl-frame:var(--rl-slate-frame);--rl-tile:var(--rl-slate-tile);
 border:8px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 border-radius:12px!important;box-shadow:0 2px 4px #081a2433!important;color:var(--rl-cream)!important;text-shadow:none!important;
}
.rally-ui :is(.card,.mods-option) {padding:4px;}
.rally-ui :is(.card small,.card>b,.mods-option>b,.row em,.rm em,.rm b,.rr>span,.rr em,.lb-name,.online-name,.idea-h b,.idea p,.hf-receipt-row>span,.hf-receipt-row b,.hf-receipt-row strong,.bw-receipt-row) {color:var(--rl-cream)!important;text-shadow:none!important;}
.rally-ui :is(.card.sel,.mods-option.selected) {--rl-frame:var(--rl-amber-frame);box-shadow:0 0 0 2px #d4a54d!important;}
.rally-ui .card.lock {filter:saturate(.65);}
.rally-ui .hf-covered {--rl-frame:var(--rl-rubber-frame);--rl-tile:var(--rl-rubber-tile);}
.rally-ui .hf-covered :is(b,.hf-unknown) {color:var(--rl-cream)!important;}
.rally-ui .hf-next-tag {color:#ffdda0!important;}
.rally-ui :is(.tag,.mods-badge,.mods-action) {background:var(--rl-teal-tile) repeat!important;background-size:72px!important;color:var(--rl-cream)!important;text-shadow:none!important;border-radius:5px;}
.rally-ui .tag.on {background:var(--rl-green-tile) repeat!important;}
.rally-ui .row.done {--rl-tile:var(--rl-teal-tile);--rl-frame:var(--rl-teal-frame);}
.rally-ui :is(.pips,.dm-xp,.gar-pw i,.res-xp>i,.bw-meter) {background:var(--rl-rubber-tile) repeat!important;border:0!important;box-shadow:none!important;}
.rally-ui :is(.pips i,.dm-xp b,.res-xp>i>b) {background:var(--rl-amber-tile) repeat!important;background-size:72px!important;box-shadow:none!important;}
.rally-ui :is(.seg b.on) {background:#8fa260!important;box-shadow:none!important;}
.rally-ui .cn {color:#ffdda0;text-shadow:none;}
.rally-ui .card .cn {color:#ffdda0;}
/* Game HUD: same controls/coordinates; compact instrument badges at the top. */
.rally-ui :is(.hud-pause,.hud-place,.hud-coins,.hud-time,.hud-room,.hud-fuel,.hud-hint) {
 --rl-frame:var(--rl-slate-frame);--rl-tile:var(--rl-slate-tile);
 border:7px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 box-shadow:0 2px 4px #122a3c3d!important;border-radius:10px!important;color:var(--rl-cream)!important;text-shadow:none!important;
}
.rally-ui .hud-top {top:8px;gap:8px;align-items:center;}
.rally-ui .hud-pause {width:46px;height:46px;flex-shrink:0;}
.rally-ui .hud-race {gap:8px;min-width:0;}
.rally-ui .hud-place {height:46px;min-width:62px;font-size:25px;align-items:center;gap:1px;padding:0 5px;--rl-frame:var(--rl-amber-frame);--rl-tile:var(--rl-amber-tile);color:#1a2e3b!important;}
.rally-ui .hud-place small {font-size:13px;}
.rally-ui .hud-prog {height:20px;min-width:75px;border:4px solid transparent;border-image:var(--rl-ivory-frame) 32 stretch;background:var(--rl-rubber-tile) repeat;background-size:72px;box-shadow:none;}
.rally-ui .hud-prog .flag {width:28px;height:28px;right:-7px;top:-9px;background:url('../assets/rally-20261109/icons.png') no-repeat;background-size:600% 400%;background-position:100% 66.6667%;border:0;}
.rally-ui .dot {border-color:#fff0d5;box-shadow:0 1px 2px #10283b;}
.rally-ui .dot.me {border-color:#fff3ce;box-shadow:0 0 0 2px #18364b;}
.rally-ui .hud-time {height:40px;display:flex;align-items:center;justify-content:center;min-width:66px;padding:0 4px;font:800 17px Arial;font-variant-numeric:tabular-nums;}
.rally-ui .hud-coins {height:44px;min-width:62px;padding:0 5px;gap:4px;font-size:17px;}
.rally-ui .hud-room {font-size:11px;padding:1px 4px;}
.rally-ui .hud-fuel {height:44px;padding:0 6px;}
.rally-ui .fuelbox {border-color:#d9cbb0;background:var(--rl-rubber-tile);}
.rally-ui .fuelbox b {background:var(--rl-green-tile);}
.rally-ui .fuelbox b.low {background:var(--rl-red-tile);}
.rally-ui .hud-count {color:#ffedbf;text-shadow:0 3px #253c4d,0 6px #b17934;}
.rally-ui .hud-count.go {color:#e4efc3;text-shadow:0 3px #324736;}
/* Touch pads: large silhouette and clear pressed state, no animated texture. */
.rally-ui .pedal {
 --rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-green-tile);
 border:10px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 border-radius:18px!important;opacity:.98;box-shadow:0 4px 5px #112c3c4d!important;gap:5px;color:#fff5dc;font:800 13px Arial;text-shadow:0 1px #15282c;
}
.rally-ui .pedal.brake {--rl-frame:var(--rl-red-frame);--rl-tile:var(--rl-red-tile);}
.rally-ui .pedal.jump {--rl-frame:var(--rl-blue-frame);--rl-tile:var(--rl-blue-tile);}
.rally-ui .pedal.on {filter:brightness(.85);transform:translateY(4px) scale(.97);box-shadow:none!important;}
.rally-ui .pedal.nitro {--rl-frame:var(--rl-violet-frame);--rl-tile:var(--rl-violet-tile);border-radius:15px!important;position:absolute;left:12px;width:78px;height:78px;bottom:134px;animation:none!important;padding:0;gap:2px;}
.rally-ui .pedal.nitro::before {inset:auto 7px 5px;height:4px;border-radius:2px;background:#d2a8ce;transform:scaleX(var(--ch));transform-origin:left;box-shadow:none;}
.rally-ui .pedal.nitro span {font-size:10px;}
.rally-ui .pedal.nitro.full {--rl-frame:var(--rl-amber-frame);--rl-tile:var(--rl-violet-tile);}
.rally-ui .itbtn {background:var(--rl-slate-tile);background-color:#1a364c;background-blend-mode:soft-light;border:7px solid transparent;border-image:var(--rl-slate-frame) 32 stretch;border-radius:12px;box-shadow:0 2px 4px #10243766;}
.rally-ui .itbtn i {background:var(--rl-red-tile);border:2px solid #efe4c6;}
.rally-ui .lobby {border-width:10px!important;}
.rally-ui .ls {background:var(--rl-rubber-tile);color:#cacfc5;}
.rally-ui .ls.on {background:var(--rl-teal-tile);color:#fff2db;}
/* Main menu: automotive dashboard with the living track behind it. */
.rally-ui .dm {--profile-top:8px;--dash-key-height:66px;container-type:size;}
.rally-ui .dm-glass {background:none;box-shadow:none;}
.rally-ui .dm-top {left:12px;right:12px;}
.rally-ui .dm-title {position:absolute;left:50%;top:0;transform:translateX(-50%);width:clamp(230px,27cqw,335px);height:100px;margin:0;filter:none;}
.rally-ui .dm-nav {top:108px;max-width:460px;min-height:30px;font-size:12px;padding:1px 9px;}
.rally-ui :is(.dm-me,.dm-cnt,.dm-nav,.dm-sb,.dm-key,.dm-gauge,.dm-online,.dm-rbtns>button) {
 --rl-frame:var(--rl-slate-frame);--rl-tile:var(--rl-slate-tile);
 border:8px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;
 background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;
 border-radius:12px!important;box-shadow:0 3px 5px #0b263c4d!important;color:var(--rl-cream)!important;text-shadow:none!important;
}
.rally-ui .dm .dm-me {width:190px;padding:0 4px;gap:7px;}
.rally-ui .dm-ava {width:32px;height:32px;background:var(--rl-red-tile);border:2px solid #e9d6aa;box-shadow:none;font-size:16px;}
.rally-ui .dm-mev small {color:#e0dac5;}
.rally-ui .dm-mev span {font-size:12px;}
.rally-ui .dm .dm-cnt {height:40px;padding:0 4px;font-size:13px;gap:4px;}
.rally-ui .dm-cnts {width:190px;gap:5px;}
.rally-ui .dm-nav span {color:#d2d7cd;font-size:9px;}
.rally-ui .dm-nav i {color:#e7cf9b;}
.rally-ui .dm-nav em {background:var(--rl-violet-tile);color:#ffedcb;font-size:10px;}
.rally-ui .dm-side {left:12px;gap:7px;--side-button-size:38px;}
.rally-ui .dm .dm-sb {border-width:6px!important;}
.rally-ui .dm-sb::before,.rally-ui .dm-key::after {display:none;}
.rally-ui .dm-sb svg,.rally-ui .dm-cnt svg {filter:none;}
.rally-ui .dm-rbtns {right:12px;top:58px;gap:7px;max-width:150px;}
.rally-ui .dm-rbtns>button {min-height:44px;padding:1px 7px!important;font-size:12px;}
.rally-ui .dm-ideas {--rl-frame:var(--rl-teal-frame)!important;--rl-tile:var(--rl-teal-tile)!important;}
.rally-ui .dm-friends {--rl-frame:var(--rl-violet-frame)!important;--rl-tile:var(--rl-violet-tile)!important;}
.rally-ui .dm-adult {--rl-frame:var(--rl-rubber-frame)!important;--rl-tile:var(--rl-rubber-tile)!important;}
.rally-ui .dm-adult[aria-pressed=true] {--rl-frame:var(--rl-red-frame)!important;--rl-tile:var(--rl-red-tile)!important;}
.rally-ui .dm-dash {height:110px;padding:0 12px 10px;background:var(--rl-slate-tile);background-size:72px;border:0;border-radius:0;box-shadow:0 -3px 12px #10283b33;}
.rally-ui .dm-dash::before {inset:0 0 auto;height:8px;border:0;border-image:none;border-radius:0;background:var(--rl-steel-tile);background-size:72px;box-shadow:none;}
.rally-ui .dm-keys {gap:7px;}
.rally-ui .dm .dm-key {width:66px;font-size:10px;padding:0;gap:2px;}
.rally-ui .dm-key-icon {border:0;box-shadow:none;background:none;width:28px;height:28px;}
.rally-ui .dm-key-icon svg {width:27px;height:27px;filter:none;}
.rally-ui .dm-key.k-shop {--rl-frame:var(--rl-violet-frame);--rl-tile:var(--rl-violet-tile);}
.rally-ui .dm-key.k-q {--rl-frame:var(--rl-teal-frame);--rl-tile:var(--rl-teal-tile);}
.rally-ui .dm-key.k-chest {--rl-frame:var(--rl-amber-frame);--rl-tile:var(--rl-slate-tile);--rl-color:#1e3d52;color:#fff!important;}
.rally-ui .dm-key.k-chest :is(b,small,span,#m-chest-t) {color:#fff!important;}
.rally-ui .dm .dm-gauge {width:82px;height:74px;margin-bottom:26px;--rl-frame:var(--rl-ivory-frame);--rl-tile:var(--rl-ivory-tile);color:var(--rl-ink)!important;gap:1px;text-align:center;}
.rally-ui .dm-gauge>svg:first-child {display:none;}
.rally-ui .dm-gauge .g-ic {position:static;filter:none;width:12px;height:12px;flex-shrink:0;}
.rally-ui .dm-gauge b {font-size:20px;line-height:20px;color:#1b3545;text-shadow:none;text-align:center;}
.rally-ui .dm-gauge i {display:block;width:100%;max-width:100%;color:#425763;font-size:10px;line-height:11px;text-align:center;}
.rally-ui .dm-gauge .g-chip {position:static;inset:auto;transform:none;display:block;width:100%;max-width:100%;padding:0;border:0;background:none;box-shadow:none;color:#425763;line-height:11px;font-size:10px;text-align:center;}
.rally-ui .dm .dm-online {min-height:28px;padding:0 8px;border-width:5px!important;bottom:5px;font-size:11px;gap:6px;box-shadow:none!important;}
.rally-ui .dm-online i {width:6px;height:6px;background:#b7d58a;box-shadow:none;}
.rally-ui .dm-online b {color:#b7d58a;}
/* Garage workshop, loadouts, refunds, ideas and results share the same plate system. */
.rally-ui :is(#gar-prev,#mods-preview,.mods-stage) {background:var(--rl-rubber-tile) repeat!important;background-size:72px!important;border:2px solid #b8c4bd!important;box-shadow:none!important;border-radius:10px;}
.rally-ui .mods-stage::after {display:none;}
.rally-ui :is(.gar-name,.gar-pw,.res-total,.res-badge,.league,.match-wait-clock,#toast,.reconnect-message) {background:var(--rl-teal-tile)!important;border-color:#ccbb94!important;box-shadow:none!important;color:var(--rl-cream)!important;text-shadow:none!important;}
.rally-ui .gar-pw .pw-n b {color:#ffdb94;text-shadow:none;}
.rally-ui .gar-pw small {color:#c9d3c8;}
.rally-ui :is(.gar-stats>div>span,.hf-modal p,.hf-modal small,.hf-eyebrow,.hf-modal header>span) {color:#d0dee8!important;}
.rally-ui .hf-refund>strong {color:#d8e6ba;}
.rally-ui .hf-receipt-row {border-width:5px!important;padding:2px 5px;margin-bottom:4px;}
.rally-ui .hf-modal footer {border-color:#627773;}
.rally-ui .is-head {background:var(--rl-teal-tile);box-shadow:none;}
.rally-ui .is-box {border-width:8px!important;}
.rally-ui #idea-text {background:var(--rl-slate-tile);background-color:#102b43;background-blend-mode:soft-light;color:var(--rl-cream);caret-color:#ffdda0;border:2px solid #648298;border-radius:8px;padding:12px;}
.rally-ui #idea-text::placeholder {color:#b5c9d6;}
.rally-ui .idea-rules,.rally-ui .idea-limit {color:#e6dfcc;}
.rally-ui .res-list .rr.me {--rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-teal-tile);}
.rally-ui .vic-strip {background:var(--rl-steel-tile);height:7px;border:0;}
.rally-ui .res-medal .vic-rays {display:none;}
.rally-ui .pu-kicker {color:#e3d2b2!important;}
.rally-ui .pu-call,.rally-ui .pu-rule {background:var(--rl-teal-tile)!important;border-color:#9cafa0!important;color:var(--rl-cream)!important;}
.rally-ui .bw-hero,.rally-ui .bw-visual {background:var(--rl-rubber-tile)!important;}
.rally-ui .bw-modal :is(h1,h2) {color:#ffe0a2!important;text-shadow:none!important;}
.rally-ui .bw-modal :is(p,small) {color:#dfddcc!important;}
.rally-ui #scr-loading {background:var(--rl-slate-tile);background-size:72px;}
.rally-ui .load-car {display:none;}
.rally-ui #load-title {font-size:0;margin-bottom:20px;}
.rally-ui #load-title img {display:block;width:100%;height:auto;}
.rally-ui .load-bar {height:15px;border:3px solid #d3c7a9;background:var(--rl-rubber-tile);border-radius:5px;}
.rally-ui #load-fill {background:var(--rl-amber-tile);}
.rally-ui .load-row,.rally-ui #load-tip {color:#f0e3c9;text-shadow:none;}
@media(prefers-reduced-motion:reduce) {.rally-ui * {animation:none!important;transition:none!important;}}
/* Quiet backgrounds preserve text contrast. */
.rally-ui :is(.panel,.lobby,.hf-modal,.bw-modal,.is-box,.pu-content,.dm-dash) {background-color:#122c43!important;background-blend-mode:soft-light!important;}
.rally-ui :is(.card,.mods-option,.row,.rm,.rr,.lb-row,.online-card,.room-track-summary,.room-track-option,.training-card,.idea,.bw-receipt-row,.hf-receipt-row) {background-color:#1a364c!important;background-blend-mode:soft-light!important;}
.rally-ui .hf-covered {background-color:#253947!important;}
.rally-ui .item>em {color:#5b492d!important;}
.rally-ui :is(.hud-pause,.hud-coins,.hud-time,.hud-room,.hud-fuel,.hud-hint,.dm-me,.dm-cnt,.dm-nav,.dm-sb,.dm-key,.dm-rbtns>button,.dm-online) {background-color:#1a364d!important;background-blend-mode:soft-light!important;}
.rally-ui :is(.btn,.tab,.btn-icon,.x-close,.qmark,.slot,.is-tabs button,.is-x,.bw-tabs button,.bw-primary,.bw-summary button,.pu-secondary,.mods-picker button,.mods-footer>button) {background-color:var(--rl-color,#255b84)!important;background-blend-mode:soft-light!important;}
.rally-ui :is(.b-green,.bw-primary) {--rl-color:#3c8048;}
.rally-ui :is(.b-orange,.tab.on,.is-tabs button.on) {--rl-color:#e4a02d;}
.rally-ui .b-grey {--rl-color:#34414a;}
.rally-ui .btn.b-pink {--rl-frame:var(--rl-violet-frame)!important;--rl-tile:var(--rl-violet-tile)!important;--rl-color:#744669;}
.rally-ui :is(.x-close,.is-x) {--rl-frame:var(--rl-red-frame)!important;--rl-tile:var(--rl-red-tile)!important;--rl-color:#a95238;}
.rally-ui .hud-pause {--rl-frame:var(--rl-slate-frame)!important;--rl-tile:var(--rl-slate-tile)!important;}
.rally-ui .pedal {background-color:#357549!important;background-blend-mode:soft-light!important;}
.rally-ui .pedal.brake {background-color:#a94537!important;}
.rally-ui .pedal.jump {background-color:#285c91!important;}
.rally-ui .pedal.nitro {background-color:#65528c!important;}
.rally-ui .dm .dm-gauge {background-color:#1a364c!important;background-blend-mode:soft-light!important;}
.rally-ui .dm-rbtns .adult-mode-label {min-width:0;}
.rally-ui .dm-rbtns .adult-mode-title {font-size:11px;}
.rally-ui .dm-rbtns .adult-mode-status {font-size:12px;line-height:1.15;}
.rally-ui .dm-rbtns .dm-adult {justify-content:flex-start;}
.rally-ui :is(.bw-primary,.bw-summary button,#player-updates button) {--rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-green-tile);border:8px solid transparent!important;border-image:var(--rl-frame) 32 stretch!important;background:var(--rl-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;color:var(--rl-cream)!important;box-shadow:none!important;}
.rally-ui #player-updates {background:var(--rl-slate-tile)!important;background-color:#122c43!important;background-blend-mode:soft-light!important;}
.rally-ui .bw-tabs {background:none!important;border-color:#687b77!important;}
.rally-ui .bw-refund-badge,.rally-ui .bw-summary {background:var(--rl-teal-tile)!important;border-color:#718b7d!important;}
.rally-ui :is(.bw-copy .bw-preserved,.bw-summary strong) {color:#d6e9b4!important;}
.rally-ui :is(.sw,.node) {border:8px solid transparent!important;border-image:var(--rl-slate-frame) 32 stretch!important;background:var(--rl-slate-tile) repeat!important;background-size:72px!important;background-clip:padding-box!important;background-color:#1a364c!important;background-blend-mode:soft-light!important;color:var(--rl-cream)!important;box-shadow:none!important;border-radius:10px;}
.rally-ui .sw :is(b,small),.rally-ui .node em,.rally-ui .node .cn {color:var(--rl-cream)!important;text-shadow:none!important;}
.rally-ui :is(.sw.on,.node.ready) {border-image-source:var(--rl-amber-frame)!important;animation:none!important;}
.rally-ui :is(#gar-prev,#mods-preview,.mods-stage) {background-color:#263a45!important;background-blend-mode:soft-light!important;}
.rally-ui :is(.res-badge,.pl,.lb-medal) {border:6px solid transparent!important;border-image:var(--rl-amber-frame) 32 stretch!important;background:var(--rl-amber-tile)!important;color:#1d3040!important;box-shadow:none!important;text-shadow:none!important;}
.rally-ui .res-badge {border-width:9px!important;border-radius:9px;}
.rally-ui .vic .p-res {animation:pin .22s ease-out;}
.rally-ui .vic .p-res::after {display:none;}
.rally-ui .vic #res-title {-webkit-text-fill-color:#ffdda0;color:#ffdda0;background:none;filter:none;animation:none;}
.rally-ui .vic .res-badge.p1 {animation:none;}
.rally-ui .vic-strip {animation:none;}
.rally-ui :is(.online-level,.online-self,.lb-score,.idea-h small,.idea-text,.idea-actions) {color:#c9deeb!important;text-shadow:none!important;}
.rally-ui .developer-profile {border-image-source:var(--rl-amber-frame)!important;}
.rally-ui .developer-profile .dm-mev>span {color:#ffdda0!important;}
/* Compact purchasing surfaces follow the garage tabs; text can grow naturally. */
.rally-ui #app {container-type:size;}
.rally-ui #tune-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(84px,max-content);align-content:start;gap:6px;min-height:0;overflow-y:auto;}
.rally-ui #tune-list .tune-upgrade {--rl-frame:var(--rl-teal-frame)!important;--rl-tile:var(--rl-teal-tile)!important;--rl-color:#204759;display:grid;grid-template-rows:auto 4px auto;align-content:center;min-width:0;min-height:84px;padding:6px 7px;border-width:5px!important;gap:7px;font-size:calc(13px * var(--ui-text-scale,1));line-height:1.2;white-space:normal;text-align:left;}
.rally-ui .tune-card-head {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 8px;min-width:0;color:#eff5fb;}
.rally-ui .tune-card-head b {font-size:1em;line-height:1.15;}
.rally-ui .tune-card-head>span {font-size:.78em;color:#c7d9e6;white-space:nowrap;}
.rally-ui #tune-list .pips {width:100%;height:4px;border-radius:2px;gap:1px;}
.rally-ui #tune-list .pips b {height:4px;min-width:0;}
.rally-ui #tune-list .pips.u-nitro b.on {background:#bd8cf0;}
.rally-ui #tune-list .pips b:nth-child(5n) {margin-right:2px;}
.rally-ui .upgrade-footer {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 7px;min-width:0;}
.rally-ui .upgrade-footer small {font-size:.8em;color:#d5e0e9;}
.rally-ui .upgrade-price {font-size:1em;color:#f9dc9c;white-space:nowrap;}
.rally-ui .upgrade-price .cn {color:inherit;}
.rally-ui #tune-list>.hint {grid-column:1/-1;font-size:11px;padding:3px;}
.rally-ui #ov-shop>.panel {width:min(760px,calc(100% - 20px));height:min(370px,calc(100% - 16px));padding:6px 8px;gap:6px;border-width:8px!important;}
.rally-ui #ov-shop .panel-title {font-size:23px;line-height:26px;}
.rally-ui #ov-shop .loadout {min-height:34px;gap:8px;font-size:12px;flex-shrink:0;}
.rally-ui #ov-shop .slot {width:36px;height:34px;flex-shrink:0;border-width:4px!important;}
.rally-ui #ov-shop .slot svg {width:20px;height:20px;}
.rally-ui #ov-shop .slot small {position:absolute;right:0;bottom:0;font-size:10px;}
.rally-ui #ov-shop .qmark {width:30px;height:30px;font-size:16px;border-width:4px!important;}
.rally-ui #shop-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;flex:1;min-height:0;max-height:none;gap:6px;overflow-y:auto;padding:0;}
.rally-ui #shop-list>.item {display:flex;flex-direction:column;align-items:stretch;min-height:110px;min-width:0;gap:4px;padding:4px;border-width:5px!important;}
.rally-ui .shop-item-head {display:flex;align-items:center;gap:6px;min-width:0;text-align:left;}
.rally-ui .shop-item-head>svg {width:28px;height:28px;flex-shrink:0;}
.rally-ui .shop-item-head>div {min-width:0;display:flex;flex-direction:column;gap:1px;}
.rally-ui .shop-item-head b {color:#193448;font-size:calc(13px * var(--ui-text-scale,1));line-height:1.15;}
.rally-ui .shop-item-head em {color:#486274!important;font-size:calc(11px * var(--ui-text-scale,1));line-height:1.15;}
.rally-ui #shop-list .shop-item-help {font-size:11px;line-height:1.25;text-align:left;color:#365266;flex:1;min-height:20px;}
.rally-ui #shop-list .two {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:4px;}
.rally-ui #shop-list :is(.btn,.tag) {width:100%;min-height:44px;min-width:0;max-width:100%;font-size:calc(12px * var(--ui-text-scale,1));line-height:1.2;padding:3px;border-width:5px!important;gap:3px;flex-wrap:wrap;}
.rally-ui #shop-list .b-orange {--rl-frame:var(--rl-blue-frame)!important;--rl-tile:var(--rl-blue-tile)!important;--rl-color:#255b84;color:#f2f7fd!important;}
.rally-ui #shop-list .b-green {--rl-frame:var(--rl-teal-frame)!important;--rl-tile:var(--rl-teal-tile)!important;--rl-color:#204759;color:#f2f7fd!important;}
.rally-ui #shop-list .cn {font-size:1em;gap:2px;color:inherit;white-space:nowrap;}
.rally-ui #shop-list .cn svg {width:12px;height:12px;flex-shrink:0;}
@container(max-height:450px){
 .rally-ui #ov-garage>.panel{width:min(760px,calc(100% - 20px));height:calc(100% - 16px);padding:5px 7px;gap:5px;border-width:8px!important;}
 .rally-ui #ov-garage .panel-title{font-size:21px;line-height:24px;flex-shrink:0;}
 .rally-ui #ov-garage .gar{flex:1;min-height:0;gap:10px;}
 .rally-ui #ov-garage .gar-l{width:40%;min-width:0;gap:4px;}
 .rally-ui #ov-garage #gar-prev{width:100%;height:clamp(85px,25cqh,120px);flex-shrink:0;}
 .rally-ui #ov-garage .gar-name{font-size:11px;line-height:16px;margin-top:-12px;align-self:center;max-width:100%;}
 .rally-ui #ov-garage .gar-pw{min-height:34px;padding:3px 7px;}
 .rally-ui #ov-garage .gar-pw .pw-n b{font-size:24px;}
 .rally-ui #ov-garage .gar-pw .pw-r>span{font-size:9px;}
 .rally-ui #ov-garage #gar-stats>div{min-height:14px;font-size:10px;}
 .rally-ui #ov-garage #gar-stats>div>span{font-size:10px;}
 .rally-ui #ov-garage .gar-r{gap:5px;min-height:0;}
 .rally-ui #ov-garage .gar-r>.tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;}
 .rally-ui #ov-garage .tab{min-height:34px;font-size:calc(10px * var(--ui-text-scale,1));line-height:1.2;padding:1px 2px;border-width:5px!important;}
 .rally-ui #ov-garage .gar-r>.tabc{flex:1;min-height:0;}
 .rally-ui #ov-garage .gar-r>.tabc.on{display:flex;flex-direction:column;}
 .rally-ui #ov-garage .tabc>.scroller{min-height:0;max-height:none;flex:1;}
 .rally-ui #tune-list{height:100%;min-height:0;grid-auto-rows:minmax(74px,max-content);gap:5px;}
 .rally-ui #tune-list .tune-upgrade{min-height:74px;padding:4px 6px;gap:5px;font-size:calc(12px * var(--ui-text-scale,1));}
 .rally-ui #tune-list>.hint{padding:0;font-size:10px;line-height:1.2;}
}
@container(max-height:340px){.rally-ui #shop-list>.item{min-height:90px}.rally-ui #shop-list .shop-item-help{display:none;}}
.rally-ui :is(.btn,.tab,.tune-upgrade,.tag) {overflow-wrap:anywhere;max-inline-size:100%;box-sizing:border-box;}
.rally-ui #shop-list .cn {min-width:0;}

.rally-ui #shop-list .two,.rally-ui .shop-item-head {flex-shrink:0;}
/* A visible wallet on every garage tab. */
.rally-ui .garage-heading {position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:32px;flex-shrink:0;padding-right:0;}
.rally-ui .garage-heading>.panel-title {grid-column:2;grid-row:1;}
.rally-ui .garage-wallet {grid-column:1;grid-row:1;justify-self:start;display:flex;align-items:center;gap:4px;max-width:100%;height:30px;padding:2px 5px;color:#ffdda0;font-size:calc(15px * var(--ui-text-scale,1));line-height:1.15;white-space:nowrap;min-width:0;}
.rally-ui .garage-wallet svg {flex-shrink:0;}
/* All five shop products fit the window, including enlarged text. */
.rally-ui #ov-shop>.panel {height:calc(100% - 16px);max-height:410px;}
.rally-ui #shop-list {grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:unset;align-content:stretch;overflow:visible;}
.rally-ui #shop-list>.item {display:grid;grid-template-rows:32px minmax(0,1fr) 44px;min-height:0;gap:3px;padding:3px;align-items:stretch;}
.rally-ui #shop-list .shop-item-head {height:32px;min-height:0;}
.rally-ui #shop-list .shop-item-help {display:block;min-height:0;align-self:stretch;font-size:calc(11px * var(--ui-text-scale,1));line-height:1.2;}
.rally-ui #shop-list .two {height:44px;min-height:0;}
.rally-ui #shop-list :is(.btn,.tag) {height:44px;min-height:44px;flex-wrap:nowrap;white-space:nowrap;padding:2px;gap:3px;}
.rally-ui #shop-list>.item>.tag {grid-row:3;justify-content:center;}
/* Tasks and achievements use independent progress cards instead of fixed table columns. */
.rally-ui #ov-quests>.panel {width:min(780px,calc(100% - 20px));height:calc(100% - 16px);max-height:460px;min-height:0;padding:7px 8px;gap:7px;border-width:8px!important;}
.rally-ui #ov-quests>.panel>.tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-right:46px;flex-shrink:0;}
.rally-ui #ov-quests>.panel>.tabs .tab {min-height:40px;min-width:0;padding:2px 7px;font-size:calc(15px * var(--ui-text-scale,1));line-height:1.15;white-space:normal;}
.rally-ui #ov-quests .tabc.on {display:flex;flex:1;min-height:0;}
.rally-ui #ov-quests :is(#q-list,#ach-list) {flex:1;min-height:0;max-height:none;display:grid;align-content:start;gap:7px;padding:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
.rally-ui #q-list {grid-template-columns:repeat(6,minmax(0,1fr));}
.rally-ui #ach-list {grid-template-columns:repeat(3,minmax(0,1fr));}
.rally-ui .reward-card {display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:8px;min-width:0;padding:8px;border:5px solid transparent;border-image:var(--rl-slate-frame) 32 stretch;background:var(--rl-slate-tile) repeat;background-size:72px;background-color:#1a364c;background-blend-mode:soft-light;background-clip:padding-box;color:#f4f8fc;border-radius:8px;text-align:left;}
.rally-ui .quest-card {grid-column:span 2;min-height:116px;}
.rally-ui .bonus-card {grid-column:span 3;flex-direction:row;align-items:center;min-height:90px;gap:8px;}
.rally-ui .bonus-copy {display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;}
.rally-ui .reward-title {font-size:calc(14px * var(--ui-text-scale,1));line-height:1.2;overflow-wrap:anywhere;}
.rally-ui .reward-progress {display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;}
.rally-ui .reward-meter {display:block;width:100%;height:9px;min-height:9px;overflow:hidden;border-radius:3px;background:var(--rl-rubber-tile) repeat;background-size:72px;}
.rally-ui .reward-meter>i {display:block;height:100%;background:#d7a24c;box-shadow:inset 0 1px #ffe6a1;}
.rally-ui .reward-card:is(.ready,.done) .reward-meter>i {background:#479a79;box-shadow:inset 0 1px #b6efd8;}
.rally-ui .reward-count {font-size:calc(12px * var(--ui-text-scale,1));line-height:1.2;color:#d5e3f0;font-variant-numeric:tabular-nums;}
.rally-ui .reward-footer {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;min-width:0;}
.rally-ui .reward-caption {color:#c0d3e0;font-size:calc(11px * var(--ui-text-scale,1));line-height:1.25;}
.rally-ui .reward-value {font-size:calc(13px * var(--ui-text-scale,1));line-height:1.2;color:#ffdda0;}
.rally-ui .reward-value .cn {color:inherit;white-space:nowrap;}
.rally-ui .reward-status {font-size:calc(12px * var(--ui-text-scale,1));line-height:1.2;color:#bcf2cd;font-weight:700;}
.rally-ui .reward-card .btn {--rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-green-tile);--rl-color:#2c7949;min-height:44px;min-width:80px;max-width:100%;font-size:calc(13px * var(--ui-text-scale,1));line-height:1.15;padding:2px 7px;border-width:5px!important;}
.rally-ui .reward-card.ready {border-image-source:var(--rl-teal-frame);}
.rally-ui .reward-card .btn:disabled {--rl-frame:var(--rl-green-frame);--rl-tile:var(--rl-green-tile);--rl-color:#2d5541;opacity:.55;}
.rally-ui #q-list>.hint {grid-column:1/-1;padding:1px 3px;font-size:11px;line-height:1.25;}
.rally-ui .achievement-card {min-height:142px;}
@container(max-height:340px){
 .rally-ui #ov-shop .loadout {min-height:30px;}
 .rally-ui #ov-shop>.panel {gap:4px;padding:4px 6px;}
 .rally-ui #shop-list>.item {grid-template-rows:minmax(28px,1fr) 44px;gap:2px;}
 .rally-ui #shop-list .shop-item-help {display:none;}
 .rally-ui #shop-list>.item>.tag {grid-row:2;}
 .rally-ui .quest-card {min-height:96px;padding:6px;gap:5px;}
 .rally-ui .bonus-card {min-height:74px;padding:6px;}
 .rally-ui .achievement-card {min-height:130px;padding:6px;gap:6px;}
 .rally-ui #ov-quests>.panel {gap:5px;padding:5px 6px;}
}

/* Only the compact golden price is clickable in tuning. */
.rally-ui #tune-list .tune-upgrade {border:5px solid transparent;border-image:var(--rl-teal-frame) 32 stretch;background:var(--rl-teal-tile) repeat;background-size:72px;background-color:#204759;background-blend-mode:soft-light;background-clip:padding-box;border-radius:8px;color:#eff5fb;gap:4px;padding:5px 7px;cursor:default;}
.rally-ui #tune-list .upgrade-price {--rl-frame:var(--rl-amber-frame)!important;--rl-tile:var(--rl-amber-tile)!important;--rl-color:#ce962c;min-height:34px;min-width:64px;width:auto;max-width:100%;padding:1px 7px;border-width:5px!important;font-size:1em;line-height:1.15;color:#283139!important;white-space:nowrap;}
.rally-ui .upgrade-max {font-size:.9em;color:#c2ddcc;}
.rally-ui #ov-quests :is(#q-list,#ach-list) {grid-auto-rows:max-content;}
.rally-ui .reward-card {height:max-content;}
.rally-ui .reward-card>* {flex-shrink:0;}
.rally-ui #shop-list .shop-item-head {font-size:calc(13px * var(--ui-text-scale,1));}
/* The five daily cards share the available height; text is measured within each slot. */
.rally-ui #q-list {grid-template-rows:minmax(0,1fr) minmax(0,.8fr) auto;align-content:stretch;}
.rally-ui #q-list .quest-card {display:grid;grid-template-rows:minmax(0,1fr) 32px 24px;height:auto;min-height:0;gap:5px;}
.rally-ui #q-list .reward-title {display:block;min-height:0;}
.rally-ui #q-list .reward-progress {gap:3px;}
.rally-ui #q-list .reward-count {display:block;min-height:0;height:20px;}
.rally-ui #q-list .reward-footer {height:24px;min-height:0;flex-wrap:nowrap;font-size:calc(13px * var(--ui-text-scale,1));}
.rally-ui #q-list .reward-footer>* {min-width:0;}
.rally-ui #q-list .bonus-card {height:auto;min-height:0;}
.rally-ui #q-list .bonus-copy {height:100%;display:grid;grid-template-rows:minmax(0,1fr) 32px;min-height:0;gap:4px;}
.rally-ui #q-list .bonus-copy>.reward-caption {display:block;min-height:0;}
.rally-ui #q-list .bonus-card>.reward-status {flex-shrink:1;min-width:0;}
.rally-ui .achievement-card {height:auto;}
.rally-ui #tune-list {grid-auto-rows:max-content;}
.rally-ui #tune-list .tune-upgrade {height:max-content;align-content:start;}
/* Direct equipment choice: all items in one row, one installed for the race. */
.rally-ui #ov-shop .loadout {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:64px;}
.rally-ui .loadout-caption {font-size:calc(12px * var(--ui-text-scale,1));white-space:nowrap;}
.rally-ui .loadout-items {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;min-width:0;}
.rally-ui #ov-shop .loadout-item {position:relative;width:100%;height:64px;min-width:0;display:grid;grid-template-rows:24px 16px 12px;align-items:center;justify-items:center;gap:0;padding:2px;border-width:4px!important;font-size:calc(12px * var(--ui-text-scale,1));line-height:1.1;cursor:pointer;}
.rally-ui #ov-shop .loadout-item>svg {width:24px;height:24px;}
.rally-ui .loadout-name {display:block;max-width:100%;font-size:1em;line-height:1.1;white-space:nowrap;}
.rally-ui .loadout-mark {display:block;max-width:100%;font-size:.82em;line-height:1.1;white-space:nowrap;color:#c9e4ef;}
.rally-ui .loadout-item.installed {--rl-frame:var(--rl-green-frame)!important;--rl-tile:var(--rl-green-tile)!important;--rl-color:#275e3c;box-shadow:0 0 0 1px #b0e5b7!important;}
.rally-ui .loadout-item.installed .loadout-mark {color:#fff;}
.rally-ui .loadout-count {position:absolute;right:3px;top:2px;display:block;min-width:13px;max-width:calc(100% - 6px);padding:1px 2px;border-radius:4px;background:#122c43e8;color:#fff;font-size:9px;line-height:10px;text-align:center;white-space:nowrap;}
@container(max-height:340px){
 .rally-ui #ov-shop .loadout {min-height:64px;gap:4px;}
 .rally-ui #ov-shop .loadout-caption {font-size:10px;}
 .rally-ui #ov-shop .loadout-items {gap:3px;}
 .rally-ui #shop-list>.item {grid-template-rows:minmax(24px,1fr) 44px;border-width:4px!important;padding:2px;gap:2px;}
}
.rally-ui .loadout-item:not(.installed):not(:disabled) .loadout-mark {visibility:hidden;}
/* Shop: dark product plates and controls, with green installed/purchase actions. */
.rally-ui #ov-shop .shop-heading {min-height:26px;height:26px;}
.rally-ui #ov-shop .shop-wallet {height:26px;font-size:calc(14px * var(--ui-text-scale,1));}
.rally-ui #shop-list>.item {--rl-frame:var(--rl-slate-frame);--rl-tile:var(--rl-slate-tile);background-color:#1a364c!important;color:#f4f8fc!important;}
.rally-ui #shop-list :is(.shop-item-head b,.shop-item-head em,.shop-item-help) {color:#f4f8fc!important;}
.rally-ui #shop-list .shop-item-head em {color:#c6d9e6!important;}
.rally-ui #shop-list .b-orange {--rl-frame:var(--rl-blue-frame)!important;--rl-tile:var(--rl-blue-tile)!important;--rl-color:#255b84;color:var(--rl-cream)!important;}
.rally-ui #shop-list .b-green {--rl-frame:var(--rl-green-frame)!important;--rl-tile:var(--rl-green-tile)!important;--rl-color:#54b36a;color:var(--rl-cream)!important;}
.rally-ui #shop-list>.item>.tag {background:var(--rl-slate-tile)!important;background-color:#263a45!important;background-blend-mode:soft-light!important;color:#c6d9e6!important;text-shadow:none!important;}
.rally-ui #ov-shop .loadout-item {--rl-frame:var(--rl-slate-frame);--rl-tile:var(--rl-slate-tile);--rl-color:#1a364c;color:var(--rl-cream)!important;}
.rally-ui #ov-shop .loadout-item.installed {--rl-frame:var(--rl-green-frame)!important;--rl-tile:var(--rl-green-tile)!important;--rl-color:#275e3c;color:#fff!important;}
.rally-ui #ov-shop .loadout-item:disabled .loadout-mark {color:#c6d9e6;}
/* Lower car cards: smaller preview and less padding, with text-driven height. */
.rally-ui #gar-list {grid-auto-rows:max-content;align-content:start;gap:5px;}
.rally-ui #gar-list>.card.car {display:grid;grid-template-rows:50px auto auto;align-content:start;justify-items:stretch;min-width:0;height:max-content;gap:3px;padding:3px;border-width:5px!important;}
.rally-ui #gar-list>.card.car>img {width:100%;height:50px;object-fit:contain;}
.rally-ui #gar-list>.card.car>b {min-width:0;font-size:calc(13px * var(--ui-text-scale,1));line-height:1.2;text-align:center;overflow-wrap:anywhere;}
.rally-ui #gar-list>.card.car :is(.btn,.tag) {width:100%;min-width:0;min-height:34px;justify-content:center;font-size:calc(12px * var(--ui-text-scale,1));line-height:1.15;padding:1px 4px;border-width:5px!important;}
.rally-ui #gar-list .hf-next-tag {font-size:calc(9px * var(--ui-text-scale,1));line-height:1.15;}
.rally-ui #gar-list .hf-unknown {font-size:calc(10px * var(--ui-text-scale,1));line-height:1.2;}
