/* Shared wheel styles also support the Rocket instrument. */
.upgrader-stage { --upgrade-green:var(--positive,#56e2a0); --upgrade-red:var(--danger,#ff537e); position:relative; display:grid; justify-items:center; min-width:0; padding:7px 8px 12px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:radial-gradient(ellipse at 50% 42%,#1596ff18,transparent 65%),#061320b8; }
.upgrader-wheel { display:block; width:min(100%,330px); height:auto; overflow:visible; }
.upgrader-rim { fill:#071726; stroke:#59c9ff52; stroke-width:2; }
.upgrader-loss-arc { fill:none; stroke:var(--upgrade-red); stroke-width:30; }
.upgrader-win-arc { fill:none; stroke:var(--upgrade-green); stroke-width:46; stroke-linecap:butt; }
.upgrader-pointer { fill:#e2f6ff; }
.upgrader-pointer-line { fill:none; stroke:#e2f6ff; stroke-width:3; stroke-linecap:round; }
.upgrader-hub { fill:#0d2037; stroke:#72bbec66; stroke-width:2; }
.upgrader-wheel-target { fill:var(--ink); font-family:var(--body); font-size:32px; font-weight:600; }
.upgrader-wheel-chance { fill:var(--lavender); font-family:var(--body); font-size:14px; font-weight:500; }
.upgrader-status { margin:0; min-height:13px; max-width:100%; color:var(--muted); font-size:8px; font-weight:600; letter-spacing:1.4px; text-align:center; overflow-wrap:anywhere; }
.upgrader-actual-chance { margin:0 0 8px; max-width:100%; color:var(--ink); font:500 11px/1.5 var(--body); text-align:center; font-variant-numeric:tabular-nums; }
.upgrader-stage.is-win { border-color:#56e2a066; }
.upgrader-stage.is-loss { border-color:#ff537e73; }
.gold-upgrader-stage { margin-top:20px; background:radial-gradient(ellipse at 50% 42%,#1596ff1f,transparent 65%),#061320b8; }
.gold-upgrader-stage .upgrader-hub { fill:#091727; stroke:#284966; }
.gold-chance-controls { margin:16px 0; }
.gold-upgrader-stage.is-cashed { border-color:#56e2a066; }
.gold-upgrader-stage.is-crashed { border-color:#ff537e73; }
.upgrader-visual-note { margin:0; color:var(--muted); font-size:10px; line-height:1.5; }
.upgrader-preview { min-width:0; margin:0; color:var(--muted); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.upgrader-odds { margin:0; color:var(--muted); font-size:9px; line-height:1.7; overflow-wrap:anywhere; }
.upgrader-chance-help { margin:0; color:var(--muted); font-size:10px; line-height:1.5; }

/* All account games share the Upgrader width; decorative chips never change USD amounts. */
.flip-page.is-signed-in:has(.games-hub) { grid-template-columns:minmax(0,860px); }
.games-hub[data-active-game] { max-width:860px; }
.games-hub { container-type:inline-size; container-name:ncb-games; }
.games-hub .game-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.games-hub .game-tab { min-height:44px; }
.games-hub .game-tab span { white-space:normal; overflow-wrap:anywhere; }
@container ncb-games (max-width:739px) {
  .games-hub .game-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
#coinflip-panel[hidden],.games-hub[data-active-game="upgrader"] .game-panel[hidden],.games-hub[data-active-game="free-spins"] .game-panel[hidden],:is(#upgrader-panel,#welcome-bonus-page)[hidden] { display:none!important; }
:is(#upgrader-panel,#welcome-bonus-page) { --upgrade-green:var(--positive,#56e2a0); --upgrade-red:var(--danger,#ff537e); padding:18px; border-color:#ffffff14; background:#0b1523; box-shadow:none; }
.upgrader-account { display:grid; gap:4px; text-align:right; }
.upgrader-account span { color:var(--muted); font-size:10px; }
.upgrader-account strong { color:var(--accent); font-size:22px; font-weight:600; font-variant-numeric:tabular-nums; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-areas:"stake target" "wheel wheel" "multipliers multipliers" "chance chance" "action action"; gap:10px; min-width:0; }
.upgrader-stake-card { grid-area:stake; }
.upgrader-return-card { grid-area:target; }
.upgrader-choice { display:flex; flex-direction:column; align-items:center; min-width:0; padding:10px; border:1px solid #ffffff17; border-radius:10px; background:#131e2d; }
.upgrader-card-top { display:flex; align-items:center; width:100%; max-width:240px; min-width:0; gap:8px; }
.upgrader-card-top h3 { margin:0; color:#edf5ff; font:600 12px/1.5 var(--body); }
.upgrader-banknote { --note-paper:#cde1e2; --note-ink:#193b40; }
.upgrader-card-amount.upgrader-chip-amount { display:grid; justify-items:center; width:100%; max-width:240px; margin:8px 0 0; padding:0; color:var(--ink); direction:ltr; unicode-bidi:isolate; }
.upgrader-chip-amount::before,.upgrader-chip-amount::after { display:none; }
.upgrader-chip-stack { position:relative; width:112px; max-width:100%; height:92px; pointer-events:none; }
.upgrader-chip-stack::before { position:absolute; inset:auto 8px 3px; height:12px; border-radius:50%; background:#01050a66; content:""; }
.upgrader-chip { --chip-layer:0; position:absolute; left:50%; bottom:calc(8px + var(--chip-layer)*6px); display:block; width:76px; height:29px; border:2px solid var(--note-ink); border-radius:50%; background:repeating-conic-gradient(from 15deg,var(--note-paper) 0deg 40deg,#edf5ff 40deg 60deg); box-shadow:0 5px 0 var(--note-ink),0 6px 0 #07111f; transform:translateX(-50%); }
.upgrader-chip::before { position:absolute; inset:4px; border:1px solid var(--note-ink); border-radius:50%; background:var(--note-paper); content:""; }
.upgrader-chip::after { position:absolute; inset:3px; color:var(--note-ink); font:700 12px/19px var(--body); text-align:center; content:"$"; }
.upgrader-chip:nth-child(2) { --chip-layer:1; }
.upgrader-chip:nth-child(3) { --chip-layer:2; }
.upgrader-chip:nth-child(4) { --chip-layer:3; }
.upgrader-chip:nth-child(5) { --chip-layer:4; }
.upgrader-chip:nth-child(6) { --chip-layer:5; }
.upgrader-chip:nth-child(7) { --chip-layer:6; }
.upgrader-chip:nth-child(8) { --chip-layer:7; }
.upgrader-chip:nth-child(9) { --chip-layer:8; }
.upgrader-chip-stack[data-chip-count="0"] .upgrader-chip,.upgrader-chip-stack[data-chip-count="1"] .upgrader-chip:nth-child(n+2),.upgrader-chip-stack[data-chip-count="2"] .upgrader-chip:nth-child(n+3),.upgrader-chip-stack[data-chip-count="3"] .upgrader-chip:nth-child(n+4),.upgrader-chip-stack[data-chip-count="4"] .upgrader-chip:nth-child(n+5),.upgrader-chip-stack[data-chip-count="5"] .upgrader-chip:nth-child(n+6),.upgrader-chip-stack[data-chip-count="6"] .upgrader-chip:nth-child(n+7),.upgrader-chip-stack[data-chip-count="7"] .upgrader-chip:nth-child(n+8),.upgrader-chip-stack[data-chip-count="8"] .upgrader-chip:nth-child(n+9) { display:none; }
.upgrader-chip-value { width:100%; margin:3px 0 0; text-align:center; }
.upgrader-banknote[data-note-tier="2"] { --note-paper:#dbcdf2; --note-ink:#44305e; }
.upgrader-banknote[data-note-tier="5"] { --note-paper:#f3c6b9; --note-ink:#62312b; }
.upgrader-banknote[data-note-tier="10"] { --note-paper:#bedaf3; --note-ink:#1a4265; }
.upgrader-banknote[data-note-tier="20"] { --note-paper:#c8e5c2; --note-ink:#294c32; }
.upgrader-banknote[data-note-tier="50"] { --note-paper:#f0d9b0; --note-ink:#62481e; }
.upgrader-banknote[data-note-tier="100"] { --note-paper:#efcade; --note-ink:#69354e; }
#upgrader-stake-note { --note-paper:#ced5df; --note-ink:#243144; }
/* Preset colors stay distinct; the return chips follow the selection. */
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-multiplier-choice[data-upgrader-multiplier="200"],#upgrader-game-form:has([data-upgrader-multiplier="200"].is-selected) #upgrader-return-note { --note-paper:#ff897c; --note-ink:#542219; --note-card:#35202a; --note-card-hover:#432631; --note-card-selected:#4c2c37; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-multiplier-choice[data-upgrader-multiplier="300"],#upgrader-game-form:has([data-upgrader-multiplier="300"].is-selected) #upgrader-return-note { --note-paper:#7bbbff; --note-ink:#143753; --note-card:#152d48; --note-card-hover:#193752; --note-card-selected:#1e4263; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-multiplier-choice[data-upgrader-multiplier="500"],#upgrader-game-form:has([data-upgrader-multiplier="500"].is-selected) #upgrader-return-note { --note-paper:#76dfac; --note-ink:#133e2a; --note-card:#19362a; --note-card-hover:#1d4231; --note-card-selected:#24503a; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-multiplier-choice[data-upgrader-multiplier="1000"],#upgrader-game-form:has([data-upgrader-multiplier="1000"].is-selected) #upgrader-return-note { --note-paper:#ffd166; --note-ink:#543808; --note-card:#3b2d17; --note-card-hover:#47361b; --note-card-selected:#51401f; }
.upgrader-banknote::before { content:""; position:absolute; z-index:-1; inset:7px; border:1px solid currentColor; border-radius:2px; opacity:.3; pointer-events:none; }
.upgrader-banknote::after { content:""; position:absolute; z-index:-1; inset:12px; border-block:3px double currentColor; opacity:.15; pointer-events:none; }
.upgrader-banknote strong { display:block; max-width:100%; color:inherit; font:700 clamp(22px,3.4cqi,34px)/1.1 var(--display); letter-spacing:-.8px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; text-align:center; }
.upgrader-note-currency { display:block; margin-top:7px; color:inherit; font:600 9px/1 var(--body); letter-spacing:2px; }
.upgrader-stake-controls { display:grid; width:100%; max-width:240px; min-width:0; margin-top:auto; padding-top:8px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-wager-label { display:grid; min-width:0; margin:0; color:var(--muted); font-size:11px; }
.upgrader-stake-card .stake-slider-control { padding:0; border:0; background:transparent; }
.upgrader-stake-card .stake-slider-value { display:none; }
.upgrader-stake-card .stake-slider-bounds { display:flex; font-size:10px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-targets { grid-area:multipliers; margin:0; padding:0; min-width:0; border:0; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,240px); margin-inline:auto; gap:10px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options button { min-width:0; min-height:44px; padding:8px 4px; border:1px solid #42698766; border-radius:8px; background:#10263b; color:#cde3f5; font:600 13px var(--body); cursor:pointer; transition:background .16s,border-color .16s; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options button:hover:not(:disabled) { border-color:#59c9ff88; background:#18364f; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options button.is-selected { border-color:#59c9ff99; background:#59c9ff1a; color:#ade8ff; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice { display:grid; place-items:center; width:100%; aspect-ratio:1; min-height:44px; padding:0; border:1px solid color-mix(in srgb,var(--note-paper) 50%,transparent); border-radius:16px; background:var(--note-card); color:var(--note-paper); font:700 clamp(20px,3.5cqi,26px)/1 var(--body); direction:ltr; unicode-bidi:isolate; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice:hover:not(:disabled) { border-color:var(--note-paper); background:var(--note-card-hover); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice.is-selected { border-color:var(--note-paper); background:var(--note-card-selected); color:var(--note-paper); box-shadow:inset 0 0 0 1px var(--note-paper); }
.upgrader-wheel-column { display:contents; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-stage { grid-area:wheel; align-self:center; width:100%; padding:0; overflow:visible; border:0; border-radius:0; background:transparent; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-wheel { width:min(100%,520px); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-rim { fill:#091826; stroke:#35546d; stroke-width:1; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-loss-fill { fill:var(--upgrade-red); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-win-fill { fill:var(--upgrade-green); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-loss-arc,:is(#upgrader-panel,#welcome-bonus-page) .upgrader-win-arc { display:none; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-hub { fill:#0b1b2c; stroke:#43607966; stroke-width:1; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-central-chance { fill:var(--ink); font:700 38px var(--body); letter-spacing:-.8px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-pointer { filter:drop-shadow(0 2px 2px #03101bb3) drop-shadow(0 0 4px #bce8ff33); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-pointer-body { stroke:#193b5266; stroke-width:1; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-pointer-highlight { fill:#ffffffb3; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-pointer-line { stroke:#81b7d6; stroke-width:1.5; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-stage.is-win .upgrader-hub { stroke:var(--upgrade-green); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-stage.is-loss .upgrader-hub { stroke:var(--upgrade-red); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-stage.is-confirming .upgrader-status { color:#bae7ff; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-status { position:absolute; width:1px; height:1px; min-height:0; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin { grid-area:action; width:100%; min-width:0; min-height:48px; padding:12px 16px; border:1px solid #398cff66; border-radius:8px; background:#1665d8; color:#ffffff; font:600 14px var(--body); cursor:pointer; overflow-wrap:anywhere; transition:background .16s,border-color .16s; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin:hover:not(:disabled) { background:#1b6be0; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin:active:not(:disabled) { background:#125bc5; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout[aria-busy="true"] .upgrader-spin { opacity:1; border-color:#669ec850; background:#18364f; color:#cce7ff; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-controls button:disabled { opacity:.5; cursor:not-allowed; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-controls button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-adjustments { grid-area:chance; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:14px; min-width:0; margin:0; padding:8px 0 0; border-top:1px solid #35546d66; }
.upgrader-chance-heading { margin:0; color:var(--muted); font:500 10px/1.4 var(--body); }
.upgrader-chance-slider { min-width:0; }
.upgrader-chance-scale { display:flex; justify-content:space-between; margin:-4px 0 0; color:var(--muted); font:400 9px/1.4 var(--body); font-variant-numeric:tabular-nums; direction:ltr; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range { --range-color:var(--accent); --range-thumb:20px; display:block; width:100%; min-width:0; height:44px; min-height:44px; margin:0; appearance:none; -webkit-appearance:none; background:transparent; direction:ltr; cursor:pointer; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range::-webkit-slider-runnable-track { height:5px; border-radius:8px; background:linear-gradient(to right,var(--range-color) 0 calc(var(--range-thumb,20px) / 2 + (100% - var(--range-thumb,20px)) * var(--range-ratio,0)),#649dca29 calc(var(--range-thumb,20px) / 2 + (100% - var(--range-thumb,20px)) * var(--range-ratio,0)) 100%); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range::-moz-range-track { height:5px; border-radius:8px; background:linear-gradient(to right,var(--range-color) 0 calc(var(--range-thumb,20px) / 2 + (100% - var(--range-thumb,20px)) * var(--range-ratio,0)),#649dca29 calc(var(--range-thumb,20px) / 2 + (100% - var(--range-thumb,20px)) * var(--range-ratio,0)) 100%); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range::-webkit-slider-thumb { width:20px; height:20px; margin-top:-7.5px; appearance:none; -webkit-appearance:none; border:3px solid #e2f6ff66; border-radius:50%; background:var(--range-color); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range::-moz-range-thumb { width:14px; height:14px; border:3px solid #e2f6ff66; border-radius:50%; background:var(--range-color); }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range:disabled { opacity:.45; cursor:not-allowed; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-range:focus-visible { outline:2px solid var(--accent); outline-offset:1px; border-radius:8px; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-result { min-height:0; margin:16px 0 0; padding:10px 0 0; border-top:1px solid #42698766; color:#c5dbef; font:400 12px/1.6 var(--body); overflow-wrap:anywhere; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-result:empty { display:none; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-result.is-win { border-color:#56e2a066; color:#b9ffd0; }
:is(#upgrader-panel,#welcome-bonus-page) .upgrader-result.is-error { border-color:#ffb8c766; color:#ffd0da; }
:is(#upgrader-panel,#welcome-bonus-page):has(.upgrader-stage.is-loss) .upgrader-result:not(.is-error):not(.is-win) { border-color:#ff537e66; color:#e2c4cf; }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings { margin-top:8px; padding-top:0; }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; height:auto; min-height:44px; padding:9px 0; border:0; border-radius:0; background:transparent; color:var(--muted); font:500 11px/1.5 var(--body); }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings>summary::after { content:"+"; color:var(--accent); font:400 18px/1 var(--body); }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings[open]>summary::after { content:"−"; }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings>summary:hover,:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings[open]>summary { color:var(--ink); }
:is(#upgrader-panel,#welcome-bonus-page)>.upgrader-settings .game-info-panel { margin-top:0; padding:10px 12px; border-radius:8px; background:#081b29; }

@container ncb-games (min-width:740px) {
  :is(#upgrader-panel,#welcome-bonus-page) { padding:clamp(20px,2cqi,28px); }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr); grid-template-areas:"stake wheel target" "stake wheel multipliers" "chance chance chance" "action action action"; align-items:start; gap:16px 20px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-choice { padding:16px; border-radius:14px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-top,:is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-amount,:is(#upgrader-panel,#welcome-bonus-page) .upgrader-stake-controls { max-width:280px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-top h3 { font-size:14px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-amount { margin-block:16px 8px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip-stack { width:140px; height:112px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip { width:92px; height:34px; bottom:calc(10px + var(--chip-layer)*7px); }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip::after { font-size:14px; line-height:24px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-banknote strong { font-size:clamp(32px,4cqi,48px); }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-note-currency { font-size:10px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-stake-card { align-self:stretch; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-stake-card .upgrader-card-amount { margin-block:auto; padding-block:16px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-stake-controls { margin-top:0; padding-top:16px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options { width:min(100%,260px); gap:12px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice { font-size:clamp(26px,3cqi,34px); }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin { min-height:56px; font-size:16px; border-radius:12px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-heading { font-size:12px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chance-scale,:is(#upgrader-panel,#welcome-bonus-page) .stake-slider-bounds { font-size:11px; }
}
/* Fit the primary controls comfortably on shorter desktop screens. */
@media(min-width:1101px) and (max-height:820px) {
  @container ncb-games (min-width:740px) {
    :is(#upgrader-panel,#welcome-bonus-page) { padding:20px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout { gap:12px 16px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-choice { padding:12px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-top h3 { font-size:12px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-card-amount { margin-block:10px 6px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip-stack { width:112px; height:70px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip { width:76px; height:24px; bottom:calc(8px + var(--chip-layer)*4.5px); }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-chip::after { font-size:12px; line-height:17px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-banknote strong { font-size:32px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-stake-controls { padding-top:8px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options { width:min(100%,200px); gap:8px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice { font-size:26px; }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-wheel { width:min(100%,380px); }
    :is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin { min-height:52px; }
  }
}
@media(max-width:960px) {
  .flip-page.is-guest .games-hub .upgrader-controls,.flip-page.is-guest .games-hub .upgrader-balance { display:none; }
}
@media(max-width:600px) {
  .games-hub .game-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  :is(#upgrader-panel,#welcome-bonus-page) { padding:14px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout { gap:8px; }
  .upgrader-choice { padding:8px; }
  .upgrader-card-top h3 { font-size:11px; }
  .upgrader-card-amount.upgrader-chip-amount { margin-top:6px; }
  .upgrader-banknote strong { font-size:clamp(20px,7cqi,28px); letter-spacing:-.7px; }
  .upgrader-note-currency { margin-top:5px; font-size:8px; letter-spacing:1.4px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options { grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; gap:8px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options .upgrader-multiplier-choice { aspect-ratio:auto; min-height:54px; border-radius:10px; font-size:20px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options button { font-size:13px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-adjustments { gap:10px; }
  .upgrader-chance-heading { max-width:76px; font-size:9px; }
}
@media(max-width:360px) {
  :is(#upgrader-panel,#welcome-bonus-page) { padding-inline:12px; }
  :is(#upgrader-panel,#welcome-bonus-page) .upgrader-layout { gap:8px; }
  .upgrader-banknote strong { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) {
  .upgrader-pointer,:is(#upgrader-panel,#welcome-bonus-page) .upgrader-spin,:is(#upgrader-panel,#welcome-bonus-page) .upgrader-target-options button { transition:none; }
}

:is(#upgrader-panel,#welcome-bonus-page) .upgrader-odds-label { fill:var(--ink); font:500 12px var(--body); }
#upgrader-stage .upgrader-wheel text:not(#upgrader-wheel-chance) { display:none; }

/* The reference studio layout is presentation only: a large dial and one compact control column. */
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] {
  --paper:var(--br-game-well);
  --surface:var(--br-game-paper);
  --raised:var(--br-game-surface);
  --ink:var(--br-game-ink);
  --muted:var(--br-game-muted);
  --line:var(--br-game-line);
  --accent:var(--br-game-accent);
  --lavender:var(--br-game-hi);
  --positive:var(--br-game-good);
  --danger:var(--br-game-bad);
  --theme-on-accent:var(--br-game-on-accent);
  --upgrade-green:var(--br-game-good);
  --upgrade-red:var(--upgrader-loss-color);
  --upgrader-loss-color:color-mix(in srgb,var(--br-game-bad) 26%,var(--br-game-well));
  --upgrader-stage-top:color-mix(in srgb,var(--br-game-accent) 16%,var(--br-game-paper));
  --upgrader-stage-middle:var(--br-game-surface);
  --upgrader-ticks:var(--br-game-muted);
  --upgrader-hub-line:var(--br-game-line);
  --upgrader-hub-glow:color-mix(in srgb,var(--br-game-accent) 18%,transparent);
  --upgrader-selected-border:var(--br-game-hi);
  --upgrader-slider:var(--br-game-hi);
  --upgrader-action-border:var(--br-game-accent);
  --upgrader-action-hover:var(--br-game-action-hover);
  --upgrader-action-active:color-mix(in srgb,var(--br-game-accent) 85%,var(--br-game-well));
  container-type:inline-size;
  container-name:simple-upgrader;
  height:auto;
  padding:20px;
  background:var(--surface);
  border-color:var(--line);
  overflow:visible;
}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"wheel" "stake" "multipliers" "target" "chance" "action";
  align-items:start;
  width:100%;
  max-width:1056px;
  min-width:0;
  height:auto;
  margin:8px auto 0;
  padding:0;
  gap:10px;
}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-wheel-column { display:contents; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage {
  --upgrade-green:var(--positive);
  --upgrade-red:var(--upgrader-loss-color);
  grid-area:wheel;
  display:grid;
  place-items:center;
  align-content:center;
  align-self:stretch;
  justify-self:stretch;
  width:100%;
  min-width:0;
  min-height:0;
  margin:0;
  padding:20px;
  overflow:visible;
  border:1px solid var(--line);
  border-radius:16px;
  background:radial-gradient(110% 90% at 50% 0%,var(--upgrader-stage-top) 0%,var(--upgrader-stage-middle) 55%,var(--paper) 100%);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ink) 3%,transparent);
}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage .upgrader-wheel { display:block; width:min(100%,280px); height:auto; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-dial-ticks { fill:none; stroke:var(--upgrader-ticks); stroke-width:4; stroke-dasharray:1.5 8; opacity:.45; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-rim { fill:var(--paper); stroke:var(--line); stroke-width:1.5; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-loss-fill { fill:var(--upgrade-red); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-win-fill { fill:var(--upgrade-green); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-hub { r:102px; fill:var(--paper); stroke:var(--upgrader-hub-line); stroke-width:2; filter:drop-shadow(0 0 14px var(--upgrader-hub-glow)); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-central-chance { fill:var(--ink); font:800 38px var(--body); letter-spacing:-1px; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage.is-win .upgrader-hub { stroke:var(--positive); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage.is-loss .upgrader-hub { stroke:var(--danger); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-actual-chance { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-choice {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  grid-template-areas:"heading amount" "slider slider";
  align-items:center;
  align-self:stretch;
  min-width:0;
  min-height:0;
  padding:14px;
  gap:8px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--raised);
  box-shadow:none;
  overflow:visible;
}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-card-top { grid-area:heading; width:100%; max-width:none; min-height:0; padding:0; border:0; border-radius:0; background:none; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-card-top h3 { margin:0; color:var(--muted); font:650 12px/1.45 var(--body); overflow-wrap:anywhere; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-card-amount.upgrader-chip-amount { grid-area:amount; display:block; width:100%; max-width:none; min-width:0; margin:0; padding:0; background:none; color:var(--ink); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-banknote::before,
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-banknote::after { display:none; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chip-value { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:baseline; width:100%; margin:0; gap:3px 6px; text-align:end; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chip-value strong { min-width:0; color:var(--ink); font:750 clamp(22px,3.4cqi,28px)/1.2 var(--body); letter-spacing:-.6px; white-space:normal; overflow-wrap:anywhere; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-return-card .upgrader-chip-value strong { color:var(--lavender); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-note-currency { display:inline; margin:0; color:var(--muted); font-size:10px; letter-spacing:.04em; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stake-controls { grid-area:slider; width:100%; max-width:none; margin:0; padding:0; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .stake-slider-control { padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .stake-slider-value { display:block; margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .stake-slider-bounds { font-size:10px; line-height:1.4; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-targets { grid-area:multipliers; align-self:start; width:100%; margin:0; padding:0; border:0; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-target-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:none; margin:0; gap:6px; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-target-options .upgrader-multiplier-choice { display:grid; place-items:center; width:100%; min-width:0; min-height:44px; aspect-ratio:auto; padding:9px 5px; border:1px solid var(--line); border-radius:10px; background:var(--raised); color:var(--ink); font:750 14px/1.3 var(--body); box-shadow:none; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-target-options .upgrader-multiplier-choice:hover:not(:disabled) { border-color:var(--lavender); background:color-mix(in srgb,var(--accent) 20%,var(--raised)); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-target-options .upgrader-multiplier-choice:is(.is-selected,[aria-pressed="true"]) { border-color:var(--upgrader-selected-border); background:var(--accent); color:var(--theme-on-accent); box-shadow:inset 0 1px 0 color-mix(in srgb,var(--theme-on-accent) 8%,transparent); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-adjustments { grid-area:chance; align-self:start; width:100%; min-width:0; margin:0; padding:7px 12px 9px; gap:0; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chance-slider { width:100%; min-width:0; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chance-range { min-height:44px; height:44px; --range-color:var(--upgrader-slider); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chance-scale { margin:-2px 0 0; color:var(--muted); font-size:10px; line-height:1.4; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-spin { grid-area:action; align-self:start; justify-self:stretch; width:100%; min-width:0; min-height:54px; margin:0; padding:14px 18px; border:1px solid var(--upgrader-action-border); border-radius:12px; background:var(--accent); color:var(--theme-on-accent); font:800 16px/1.3 var(--body); box-shadow:inset 0 1px 0 color-mix(in srgb,var(--theme-on-accent) 7%,transparent); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-spin:hover:not(:disabled) { border-color:var(--lavender); background:var(--upgrader-action-hover); color:var(--theme-on-accent); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-spin:active:not(:disabled) { background:var(--upgrader-action-active); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-layout[aria-busy="true"] .upgrader-spin { border-color:var(--line); background:var(--raised); color:var(--muted); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] :is(button,input):focus-visible { outline:2px solid var(--lavender); outline-offset:3px; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-result { min-height:24px; margin:12px 0 0; padding:0; border:0; color:var(--muted); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-result.is-win { color:var(--positive); }
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-result.is-error { color:var(--danger); }
@container simple-upgrader (min-width:740px) {
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-layout {
    grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
    grid-template-areas:"wheel stake" "wheel multipliers" "wheel target" "wheel chance" "wheel action";
    gap:10px 20px;
  }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage { min-height:400px; padding:24px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage .upgrader-wheel { width:min(100%,360px); }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-choice { padding:14px 16px; }
}
@media(max-width:500px) {
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] { padding:16px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-layout { margin-top:4px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage { padding:16px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage .upgrader-wheel { width:min(100%,260px); }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chip-value strong { font-size:24px; }
}
@media(max-width:360px) {
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] { padding:12px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-choice { padding:12px; gap:8px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage { padding:12px; }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-stage .upgrader-wheel { width:min(100%,238px); }
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] .upgrader-chip-value strong { font-size:21px; }
}
/* Keep the reviewed reference colors in Dark; every alternate palette follows the shared studio tokens. */
:root:not([data-theme]) body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"],
:root[data-theme="dark"] body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] {
  --paper:#0a1126;
  --surface:#0d1530;
  --raised:#151f42;
  --ink:#f3f5ff;
  --muted:#a0acd2;
  --line:#29345c;
  --accent:#2142fe;
  --lavender:#b6c3ff;
  --positive:#35d07f;
  --danger:#ff6c8c;
  --theme-on-accent:#fff;
  --upgrader-loss-color:#542b4b;
  --upgrader-stage-top:#1c2b70;
  --upgrader-stage-middle:#121c49;
  --upgrader-ticks:#b8c8ff;
  --upgrader-hub-line:#6172c052;
  --upgrader-hub-glow:#2142fe30;
  --upgrader-selected-border:#5470ff;
  --upgrader-slider:#657dff;
  --upgrader-action-border:#4662ff;
  --upgrader-action-hover:#3554ff;
  --upgrader-action-active:#1837e2;
}
@media(prefers-reduced-motion:reduce) {
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="simple"] :is(button,input) { transition:none; }
}
/* Rabbit cabinet. All overrides belong to this Upgrader instance. */
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"]{--upgrade-green:#86d4bb;--upgrade-red:#c4afd4;--rabbit-cabinet-top:color-mix(in srgb,var(--surface) 84%,#668bc9);--rabbit-cabinet-floor:color-mix(in srgb,var(--paper) 87%,#8e9dc4);container-type:inline-size;container-name:rabbit-upgrader;height:auto;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 18px 48px color-mix(in srgb,var(--theme-shadow,#06111f44) 55%,transparent);overflow:visible}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"wheel wheel" "stake target" "stake multipliers" "chance chance" "action action";align-items:start;gap:10px 12px;width:100%;max-width:none;min-width:0;height:auto;margin:0 auto;padding:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-wheel-column{position:static;display:contents;width:100%;max-width:none;min-width:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage{grid-area:wheel;position:relative;isolation:isolate;display:block;align-self:start;justify-self:stretch;width:100%;max-width:none;min-width:0;min-height:300px;max-height:340px;aspect-ratio:2.15/1;margin:0 0 3px;padding:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 85%,#c8d8f5);border-radius:16px;background:radial-gradient(ellipse at 66% 19%,#b8cfff1e,transparent 48%),radial-gradient(ellipse at 14% 43%,#adc2f716,transparent 53%),linear-gradient(165deg,var(--rabbit-cabinet-top),var(--paper) 75%);box-shadow:inset 0 1px 0 #ffffff12,inset 0 -25px 60px #030d1e15}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 20% 14%,#d4dfffaa 0 1px,transparent 2px),radial-gradient(circle at 83% 21%,#e8eeff70 0 1px,transparent 2px),radial-gradient(circle at 8% 51%,#e1eaff55 0 1px,transparent 2px);pointer-events:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-cabinet-floor{position:absolute;inset:auto 0 0;height:20%;border-top:1px solid #c6d7f11c;background:linear-gradient(180deg,var(--rabbit-cabinet-floor),color-mix(in srgb,var(--paper) 93%,#495d83));clip-path:polygon(0 48%,55% 0,100% 30%,100% 100%,0 100%)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene{position:absolute;inset:0 auto 0 0;z-index:3;width:46%;height:100%;pointer-events:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene canvas,body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .rabbit-fallback{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;pointer-events:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene canvas{opacity:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .rabbit-fallback{opacity:1;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 8px 10px #06172c22)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene[data-rabbit-ready="true"] canvas{opacity:1}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene[data-rabbit-ready="true"] .rabbit-fallback{opacity:0;visibility:hidden}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell{position:absolute;inset:4% 3% 4% auto;z-index:2;display:flex;align-items:center;justify-content:center;width:60%;height:92%;min-width:0;filter:drop-shadow(0 14px 12px #03122735)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell::before{content:"";position:absolute;inset:auto 12% 0;height:8%;z-index:-1;border-radius:50%;background:#08162c22;filter:blur(4px)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell::after{content:"";position:absolute;left:44%;bottom:0;z-index:-1;width:12%;height:23%;border:1px solid #cad9ef36;border-radius:5px;background:linear-gradient(90deg,#7188a9,#bacde6 36%,#849cbe 80%,#607896);box-shadow:0 4px 8px #06162a22}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage .upgrader-wheel{display:block;flex:none;width:100%;height:100%;max-width:100%;max-height:100%;overflow:visible}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-ticks{fill:none;stroke:#b3c6e5;stroke-width:4;stroke-dasharray:1.5 8;opacity:.65}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rim{fill:url(#upgrader-rabbit-rim);stroke:#dce7f5;stroke-width:3}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-loss-fill{fill:var(--upgrade-red)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-win-fill{fill:var(--upgrade-green)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-loss-arc,body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-win-arc{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-hub{r:101px;fill:url(#upgrader-rabbit-hub);stroke:#f1f6ff;stroke-width:4;filter:drop-shadow(0 3px 4px #314f7b26)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-central-chance{fill:#263d5b;font:800 39px var(--body);letter-spacing:-1.5px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer{filter:drop-shadow(0 2px 2px #142c4c66)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-body{stroke:#526e8e;stroke-width:1.1;stroke-linejoin:round;vector-effect:non-scaling-stroke}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-highlight{fill:#ffffffd9}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-line{stroke:#7898b7;stroke-width:1.4}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-win{border-color:color-mix(in srgb,var(--positive) 60%,var(--line))}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-loss{border-color:color-mix(in srgb,var(--danger) 45%,var(--line))}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-win .upgrader-hub{stroke:#b6efd8}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-loss .upgrader-hub{stroke:#e2bbcf}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-choice{display:flex;flex-direction:column;align-items:stretch;align-self:stretch;min-width:0;min-height:0;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,color-mix(in srgb,var(--raised) 94%,var(--accent)),var(--surface));box-shadow:inset 0 1px 0 #ffffff04;overflow:visible}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stake-card{grid-area:stake}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-return-card{grid-area:target;align-self:start;min-height:82px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-card-top{display:flex;align-items:center;width:100%;max-width:none;min-width:0;padding:0;background:none;border:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-card-top h3{margin:0;color:var(--muted);font:600 11px/1.4 var(--body)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-card-amount.upgrader-chip-amount{display:block;width:100%;max-width:none;min-width:0;margin:6px 0 0;padding:0;background:none;color:var(--ink)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-banknote::before,body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-banknote::after{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chip-value{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:4px 6px;width:100%;margin:0;text-align:start}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chip-value strong{min-width:0;color:var(--ink);font:780 clamp(21px,3cqi,30px)/1.15 var(--body);letter-spacing:-.7px;overflow-wrap:anywhere;text-align:start}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-return-card .upgrader-chip-value strong{color:var(--lavender)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-note-currency{display:inline;margin:0;color:var(--muted);font:650 9px var(--body);letter-spacing:.06em}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stake-controls{display:grid;align-content:end;gap:0;width:100%;max-width:none;min-width:0;margin-top:auto;padding-top:7px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-wager-label{display:block;min-width:0;margin:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-slider-control{margin:0;padding:0;border:0;background:none;box-shadow:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-slider-value{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-slider-bounds{margin:-2px 0 0;color:var(--muted);font:450 9px/1.4 var(--body)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-slider{min-height:44px;height:44px;margin:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry{margin:8px 0 0;padding:0;border:0;background:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-row{display:flex;align-items:stretch;gap:6px;min-width:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-row input{flex:1;min-width:0;width:50px;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:var(--theme-field,var(--paper));color:var(--ink);font:650 16px/1.2 var(--body);font-variant-numeric:tabular-nums}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-save{display:grid;place-items:center;flex:none;width:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--raised);color:var(--ink);font-size:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-save::before{content:"";display:block;width:19px;height:19px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-status{min-height:0;margin:5px 0 0;color:var(--muted);font:450 10px/1.45 var(--body)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-status:empty{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-targets{grid-area:multipliers;align-self:stretch;min-width:0;width:100%;margin:0;padding:0;border:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;margin:0;gap:7px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice{display:grid;place-items:center;width:100%;min-width:0;min-height:44px;aspect-ratio:auto;margin:0;padding:8px 4px;border:1px solid var(--line);border-radius:10px;background:var(--raised);color:var(--ink);font:750 14px/1.25 var(--body);box-shadow:inset 0 1px 0 #ffffff05}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice:is(.is-selected,[aria-pressed="true"]){border-color:color-mix(in srgb,var(--accent) 65%,var(--line));background:color-mix(in srgb,var(--accent) 16%,var(--surface));color:var(--ink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 20%,transparent)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice:hover:not(:disabled){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--raised))}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-adjustments{grid-area:chance;display:grid;grid-template-columns:minmax(0,1fr);align-self:start;gap:0;min-width:0;width:100%;margin:0;padding:3px 12px 8px;border:1px solid var(--line);border-radius:12px;background:var(--theme-field,var(--paper))}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chance-slider{width:100%;min-width:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chance-range{--range-color:var(--lavender);display:block;width:100%;min-width:0;min-height:44px;height:44px;margin:0}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chance-scale{margin:-3px 0 0;color:var(--muted);font:450 9px/1.4 var(--body)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-spin{position:static;inset:auto;grid-area:action;grid-column:1/-1;align-self:start;justify-self:stretch;width:100%;min-width:0;min-height:52px;margin:0;padding:13px 18px;border:1px solid color-mix(in srgb,var(--accent) 75%,var(--line));border-radius:12px;background:var(--accent);color:var(--theme-on-accent);font:800 16px/1.3 var(--body);box-shadow:inset 0 1px 0 #ffffff15,0 5px 12px color-mix(in srgb,var(--accent) 10%,transparent)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-spin:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 85%,var(--ink));border-color:var(--accent)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout[aria-busy="true"] .upgrader-spin{background:var(--raised);border-color:var(--line);color:var(--muted);box-shadow:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] :is(button,input):focus-visible{outline:2px solid var(--lavender);outline-offset:3px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-result{min-height:0;margin:10px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--theme-field,var(--paper));color:var(--muted);font:500 12px/1.5 var(--body);overflow-wrap:anywhere}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-result:empty{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-result.is-win{border-color:color-mix(in srgb,var(--positive) 45%,var(--line));color:var(--positive)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-result.is-error{border-color:color-mix(in srgb,var(--danger) 45%,var(--line));color:var(--danger)}
@container rabbit-upgrader (min-width:640px){
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout{grid-template-areas:"wheel wheel" "stake target" "stake multipliers" "chance chance" "action action";gap:10px 14px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-choice{padding:12px 16px}
}
@container rabbit-upgrader (max-width:520px){
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage{aspect-ratio:1.35/1;min-height:260px;max-height:310px;margin-bottom:2px;border-radius:13px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-choice{padding:11px 10px;border-radius:11px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-card-top h3{font-size:10px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chip-value strong{font-size:21px;letter-spacing:-.7px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout{gap:9px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-return-card{min-height:81px}
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-note-currency{font-size:8px}
}
@media(max-width:500px){body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"]{padding:12px;border-radius:16px}}
@media(prefers-reduced-motion:reduce){body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] :is(button,input){transition:none}}

/* The editable stake already carries the same amount; keep the cabinet concise. */
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stake-card:has(.stake-entry) .upgrader-card-amount{display:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stake-card:has(.stake-entry) .stake-slider-bounds{display:none}
/* Wide cabinets place the scene beside the same compact controls. */
@container rabbit-upgrader (min-width:900px){
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout{grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);grid-template-areas:"wheel stake" "wheel target" "wheel multipliers" "wheel chance" "action action";gap:10px 16px}
}
/* Polished platformer arcade finish; cabinet geometry and touch controls stay fixed. */
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"]{--upgrade-green:#31b47d;--upgrade-red:#cf4353;--rabbit-cabinet-top:#263c7c;--rabbit-cabinet-floor:#142554;border-radius:12px;box-shadow:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage{--upgrade-green:#31b47d;--upgrade-red:#cf4353;border-color:#5985b280;border-radius:14px;background:radial-gradient(ellipse at 66% 12%,#62c9f224,transparent 52%),radial-gradient(ellipse at 14% 48%,#f0ae650d,transparent 48%),linear-gradient(155deg,#2a3e7d,#172956 62%,#111d41);box-shadow:inset 0 1px 0 #b1e8ff24,inset 0 -32px 65px #07123033}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage::before{opacity:.55}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-cabinet-floor{border-top-color:#7eb4dd3a;background:linear-gradient(180deg,#2b4480,#172956)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell{filter:drop-shadow(0 12px 12px #07102d66)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell::before{background:#0005}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-shell::after{border-color:#9bc7df66;border-radius:6px;background:linear-gradient(90deg,#2c4374,#7199bd 38%,#233867 70%,#14234a);box-shadow:0 3px 7px #07102d55}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-dial-ticks{stroke:#b0d8f0;stroke-width:3;stroke-dasharray:1 8;opacity:.72}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rim{fill:#36568f;stroke:#86d7f0;stroke-width:3.5}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-cabinet-fasteners circle{fill:#1c3563;stroke:#dfcc99;stroke-width:1}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-hub{fill:#1a3163;stroke:#739ac1;stroke-width:3;filter:drop-shadow(0 3px 5px #030c2444)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-central-chance{fill:#f0f7ff;font-weight:750;font-size:38px;letter-spacing:-1px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer{filter:drop-shadow(0 2px 2px #0009)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-body{stroke:#353e3f;stroke-width:1}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-highlight{fill:#ffefd18c}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-pointer-line{stroke:#d8c796;stroke-width:1.2}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-win .upgrader-hub{stroke:#68d2a4}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-stage.is-loss .upgrader-hub{stroke:#e4858f}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-choice{border-radius:10px;background:color-mix(in srgb,var(--surface) 94%,#365ea3);box-shadow:inset 0 1px 0 #c4e2ff08}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-card-top h3{font-weight:550;letter-spacing:.025em}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-return-card .upgrader-chip-value strong{color:var(--ink)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice{border-radius:9px;background:var(--surface);font-weight:700;box-shadow:inset 0 1px 0 #c4e2ff0a}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice:is(.is-selected,[aria-pressed="true"]){border-color:#5594c7;background:color-mix(in srgb,#496fc3 22%,var(--surface));box-shadow:inset 0 1px 0 #a1d7f324;color:var(--ink)}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-target-options .upgrader-multiplier-choice:hover:not(:disabled){border-color:#7dc6e7;background:color-mix(in srgb,#496fc3 15%,var(--surface))}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-adjustments{border-radius:10px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-chance-range{--range-color:#6faadd}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-row input,body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .stake-entry-save{border-radius:6px}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-spin{border-color:#75b4da;border-radius:10px;background:linear-gradient(180deg,#3d66ad,#28447f);color:#f2f8ff;font-weight:750;box-shadow:inset 0 1px 0 #bfe9ff33,0 3px 0 #162e6444}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-spin:hover:not(:disabled){border-color:#a1d8ef;background:linear-gradient(180deg,#4574be,#315393);color:#ffffff}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-layout[aria-busy="true"] .upgrader-spin{border-color:var(--line);background:var(--raised);color:var(--muted);box-shadow:none}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-result{border-radius:8px}
@container rabbit-upgrader (min-width:640px){
  body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene{width:calc(67% - 112px)}
}
/* The rig can reach past the original portrait box and over the wheel rim. */
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-rabbit-scene{width:100%}
body[data-game-provider="bluerabbit"] #games-hub #upgrader-panel[data-upgrader-ui="rabbit"] .rabbit-fallback{width:46%}

/* The compact standalone player supplies its own secondary mascot placement. */
#upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-player-mascot{display:none}

#upgrader-panel[data-upgrader-ui="rabbit"] .upgrader-player-stake-entry{display:none}
