/* Reference-inspired Originals: quiet controls, generous scenes, restrained gold. */
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses){--game-canvas:#0b1928;--game-rail:#1c2633;--game-field:#0c1724;--game-border:#344252;--game-muted:#a9bbd1;--game-text:#edf1f7;border-color:#293746;background:#0b1928;grid-template-columns:290px minmax(0,1fr);}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-controls{background:linear-gradient(145deg,#202d3b,#192532 75%);padding:24px 20px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-stage{background:#0b1928;padding:25px;min-height:650px;}
.game-workspace:is(.game-rocket,.game-wheel,.game-fishing,.game-gumball,.game-roulette){--sans:'Brokeprint Sans',sans-serif;--numeric:'Brokeprint Sans',sans-serif;font-family:'Brokeprint Sans',sans-serif;}
.game-workspace:is(.game-rocket,.game-wheel,.game-fishing,.game-gumball,.game-roulette) .game-controls{background:linear-gradient(145deg,#1e3548,#192b3c);}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .play-mode{background:#0b1726;border-color:#334455;border-radius:9px;min-height:46px;color:#8fa6c1;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .play-mode>span:first-child{background:#2b4258;color:#fff;border-radius:7px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .amount-field{border-color:#3b4d60;background:#0c1b2b;border-radius:7px;min-height:49px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .amount-adjustments{background:#30465d;color:#eaf1f9;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .amount-currency{background:#f3c66e;color:#182739;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .bet-options>button{background:#28384a;border:1px solid #33465a;color:#e4eaf2;border-radius:6px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .button-primary{background:linear-gradient(115deg,#f9cd79,#dea239);border:1px solid #f7c96d;box-shadow:inset 0 -2px #a3712b55;color:#0d1b29;min-height:52px;font-size:15px;border-radius:8px;}
.game-workspace:is(.game-fishing,.game-gumball) .button-primary{background:linear-gradient(110deg,#168bff,#0969e6);border-color:#2d92fa;color:#fff;box-shadow:inset 0 -2px #0755ad;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .button-primary:disabled{filter:saturate(.55);opacity:.6;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .stage-round-history span{border:0;background:#2b3445;color:#d9e2ef;min-width:57px;padding:10px 13px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .stage-round-history .history-win{background:#685126;color:#ffe8b2;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .extra-stage-value>strong{font-family:var(--numeric);font-size:clamp(40px,4.5vw,62px);font-weight:600;color:#f3c578;}
.original-stage-heading{position:relative;z-index:1;}
.game-workspace:is(.game-packs,.game-dragon) .game-stage{background:url('brokeprint-assets/castle-cartoon-v1.svg') center/cover no-repeat;}
.game-workspace:is(.game-wheel,.game-gumball,.game-cardflip) .game-stage{background:url('brokeprint-assets/prize-cartoon-v1.svg') center/cover no-repeat;}
/* Rocket uses the very same coordinates for its path and moving ship. */
.game-workspace.game-rocket .game-stage{justify-content:flex-start;}
.rocket-scenery{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.game-workspace .rocket-sky{height:515px;}
.game-workspace .rocket-grid-lines{opacity:.25;background:repeating-linear-gradient(to bottom,transparent 0 99px,#54769655 100px),repeating-linear-gradient(to right,transparent 0 119px,#54769655 120px);}
.game-workspace .rocket-multiplier{font:800 clamp(55px,6vw,95px)/1 'Brokeprint Sans',sans-serif;top:42%;color:#f5f8ff;text-shadow:0 3px 0 #354d6433;}
.game-workspace .rocket-caption{top:calc(42% + 63px);color:#a4c2e9;font-size:11px;letter-spacing:3px;}
.game-workspace .rocket-ship,.game-workspace .rocket-ship svg{width:52px;height:62px;}
.game-workspace .rocket-ship svg{stroke:none;filter:drop-shadow(0 2px 2px #0004);}
.game-workspace .rocket-trail #rocketPath{stroke:#ffd257;stroke-width:4;}
.game-workspace .rocket-trail #rocketArea{fill:#eabf5c0b;}
/* Roulette decorations stay behind the authoritative wheel and ball. */
.roulette-scene{position:relative;isolation:isolate;}
.roulette-scenery{position:absolute;inset:-15px -25px auto;width:calc(100% + 50px);height:405px;z-index:-1;pointer-events:none;opacity:.72;}
.game-workspace.game-roulette .wheel-wrap{width:min(100%,370px);margin-top:6px;}
.game-workspace.game-roulette .roulette-wheel{border:9px solid #25384a;outline:2px solid #ba9457;box-shadow:0 9px 0 #08131f,0 18px 20px #0004;}
.game-workspace.game-roulette .roulette-result{width:34%;border-color:#aa8b52;background:radial-gradient(circle at 45% 20%,#24394b,#0c1927 75%);}
.game-workspace.game-roulette .roulette-pockets .pocket-red{fill:#c02246;}
.game-workspace.game-roulette .roulette-pockets .pocket-green{fill:#0d9b79;}
.game-workspace.game-roulette .roulette-betting{width:100%;}
.game-workspace.game-roulette .roulette-cell.red,.game-workspace.game-roulette .bet-colors [data-bet=red]{background:#b91f42;border-color:#d12f51;}
.game-workspace.game-roulette .roulette-cell.black,.game-workspace.game-roulette .bet-colors [data-bet=black]{background:#172535;border-color:#3a4d60;}
.game-workspace.game-roulette .roulette-zero,.game-workspace.game-roulette .bet-colors [data-bet=green]{background:#078164;border-color:#199d7c;}
.game-workspace.game-roulette .roulette-dozens button,.game-workspace.game-roulette .roulette-parity button{background:#253547;border-color:#3c5065;color:#d9e4f1;}
/* Wheel: one generous, readable wheel and a compact payout legend. */
.game-workspace.game-wheel .wheel-arena{min-height:395px;padding:14px;}
.game-workspace.game-wheel .prize-wheel-wrap{width:min(100%,400px);}
.game-workspace.game-wheel .prize-wheel{border:0;box-shadow:0 0 0 1px #6392b366;}
.game-workspace.game-wheel .prize-wheel text{font-family:'Brokeprint Sans',sans-serif;font-weight:650;fill:#fff0cd;}
.game-workspace.game-wheel .prize-wheel-pointer{top:-7px;border-top:32px solid #ffcc38;border-left-width:13px;border-right-width:13px;}
.game-workspace.game-wheel .wheel-pay-legend>span{background:#162c3dba;border-color:#365371;color:#efd097;min-width:100px;}
/* Dragon: the fire anchor is measured from the sprite mouth, never guessed. */
.game-workspace.game-dragon .dragon-arena{max-width:540px;margin:auto;}
.game-workspace.game-dragon .tower-dragon-perch{height:190px;margin:0 auto -8px;position:relative;z-index:1;}
.game-workspace.game-dragon .tower-dragon{width:100%;height:100%;max-width:440px;overflow:visible;}
.game-workspace.game-dragon .dragon-tower{position:relative;background:#0c1929e8;max-width:420px;margin:auto;padding:13px 12px;border:1px solid #455273;border-radius:9px;box-shadow:0 18px 25px #0004;}
.game-workspace.game-dragon .tower-floor{grid-template-columns:55px minmax(0,1fr) 24px;gap:9px;margin-bottom:5px;}
.game-workspace.game-dragon .tower-floor>span{font-size:11px;color:#f1c078;}
.game-workspace.game-dragon .tower-floor button{height:43px;border-radius:6px;background:linear-gradient(145deg,#263959,#18253f);border:1px solid #354970;box-shadow:inset 0 1px #6f8eb31f;}
.game-workspace.game-dragon .tower-floor button:disabled{opacity:1;}
.game-workspace.game-dragon .tower-floor.is-current button:not(:disabled){border-color:#c7a362;box-shadow:0 0 10px #d7a24e15;}
.game-workspace.game-dragon .tower-floor button.is-safe{background:#164d45;border-color:#55aa8d;}
.game-workspace.game-dragon .tower-floor button.is-scorched{background:#48202d;border-color:#b45558;}
/* The final pack spread stays legible; the wrapper and sequential reveal remain. */
.game-workspace.game-packs .pack-display{max-width:800px;gap:11px;margin:65px auto 40px;}
.game-workspace.game-packs .collect-card{border:2px solid var(--rarity);border-radius:10px;background:repeating-linear-gradient(45deg,#93b2db07 0 1px,transparent 1px 13px),repeating-linear-gradient(-45deg,#93b2db07 0 1px,transparent 1px 13px),radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--rarity) 30%,#122237),#0c1828);box-shadow:inset 0 0 0 4px #0b1628,inset 0 0 0 5px color-mix(in srgb,var(--rarity) 40%,transparent),0 10px 20px #0005;gap:12px;padding:17px 7px;}
.game-workspace.game-packs .collect-card>span{font-size:9px;font-weight:600;}
.game-workspace.game-packs .collect-card>strong{font-family:var(--numeric);font-size:clamp(16px,2vw,27px);}
.game-workspace.game-packs .collect-card>svg{stroke-width:1.3;fill:color-mix(in srgb,var(--rarity) 55%,#6d83a5);}
.game-workspace.game-packs .pack-opening{min-height:440px;}
/* Darts: area-correct target rings, fine ticks, and warm metallic projectiles. */
.game-workspace.game-darts .darts-board{width:100%;max-width:780px;max-height:480px;display:block;margin:0 auto;}
.game-workspace.game-darts .darts-paytable>span{background:#142133;border-color:#2b3b52;}
/* Moles: four holes above, three below, with generous targets. */
.game-workspace.game-moles .mole-garden{position:relative;isolation:isolate;max-width:800px;min-height:340px;padding:40px 25px 20px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:30px 14px;align-items:center;background:none;}
.mole-landscape{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;}
.game-workspace.game-moles .mole-hole{grid-column:span 2;width:100%;height:115px;max-width:none;background:none;}
.game-workspace.game-moles .mole-hole:nth-of-type(5){grid-column:2/span 2;}
.game-workspace.game-moles .mole-hole:nth-of-type(6){grid-column:4/span 2;}
.game-workspace.game-moles .mole-hole:nth-of-type(7){grid-column:6/span 2;}
.game-workspace.game-moles .mole-rim{left:3%;right:3%;bottom:25px;height:62px;border:10px solid #735b4b;border-radius:50%;background:radial-gradient(ellipse at 50% 30%,#0a101b,#211c23);box-shadow:inset 0 6px 0 #382c27,0 6px 0 #3b302b,0 9px 7px #0004;}
.game-workspace.game-moles .mole-rim:after{content:'';position:absolute;inset:-11px;border-radius:50%;border:3px dashed #aa8663;opacity:.55;}
.game-workspace.game-moles .mole-peek{left:16%;right:16%;bottom:34px;height:90px;z-index:2;}
.game-workspace.game-moles .mole-art{height:100%;width:100%;}
.game-workspace.game-moles .mole-hole>small{bottom:0;color:#a5b9d6;font-size:11px;}
/* Nine cards, a subtle gold frame, and plenty of negative space. */
.game-workspace.game-cardflip .card-flip-table{max-width:480px;padding:20px 23px 25px;background:#0c1b2bd9;border:1px solid #b49152;border-radius:18px;position:relative;}
.card-flip-crown{display:block;text-align:center;color:#e5bc74;font:29px/1 Georgia,serif;margin:0 0 12px;}
.game-workspace.game-cardflip .card-flip-table-label{color:#edc179;font:600 11px var(--sans);letter-spacing:2px;margin-bottom:19px;}
.game-workspace.game-cardflip .card-flip-grid{gap:12px;}
.game-workspace.game-cardflip .flip-card-back{border:2px solid #e6bb65;border-radius:7px;background:repeating-linear-gradient(45deg,#e9bd7510 0 1px,transparent 1px 14px),repeating-linear-gradient(-45deg,#e9bd7510 0 1px,transparent 1px 14px),linear-gradient(135deg,#6c2c47,#3c1832);box-shadow:inset 0 0 0 3px #24182a,inset 0 0 0 4px #b6976280;}
.game-workspace.game-cardflip .flip-card-back>i{inset:8px;border:1px solid #c29d6790;border-radius:5px;}
.game-workspace.game-cardflip .flip-card-back>img{width:55%;height:55%;}
/* Fishing and capsules: crisp blue objects, small readable captions. */
.game-workspace.game-fishing .fishing-scene{max-width:none;margin:14px auto 0;border-color:#294e69;border-radius:12px;}
.game-workspace.game-fishing .lake-caption{background:#10273c;}
.game-workspace.game-fishing .fishing-lake{filter:saturate(.85);}
.game-workspace.game-gumball .gumball-scene{max-width:440px;}
.game-workspace.game-gumball .gumball-machine{filter:drop-shadow(0 14px 13px #0004);}
.game-workspace.game-gumball .gum-capsule{width:71px;height:71px;}
.game-workspace.game-gumball .gum-prize{background:#132c43;border-radius:7px;}
/* Scratch ticket: banknote engraving, simple symbols, clear winning rows. */
.game-workspace.game-scratch .scratch-ticket{max-width:380px;padding:20px 24px;border-radius:14px;border-color:#d9ac58;background:repeating-radial-gradient(ellipse at -40% -15%,transparent 0 13px,#bb985016 14px,transparent 15px 22px),repeating-radial-gradient(ellipse at 150% 120%,transparent 0 17px,#bb985013 18px,transparent 19px 27px),linear-gradient(145deg,#202831,#0d1926);}
.game-workspace.game-scratch .scratch-ticket-top{display:flex;flex-direction:column;gap:10px;padding-bottom:13px;border-color:#b58f4b55;}
.game-workspace.game-scratch .scratch-ticket-top>img{width:35px;height:35px;}
.game-workspace.game-scratch .scratch-ticket-top>small{font:600 9px var(--sans);letter-spacing:4px;color:#c8a469;}
.game-workspace.game-scratch .scratch-ticket-top>span{font:650 22px var(--sans);letter-spacing:2px;color:#f1d3a0;}
.game-workspace.game-scratch .scratch-ticket>p{color:#c0bdba;font-size:12px;}
.game-workspace.game-scratch .scratch-panel{background:linear-gradient(#151e28,#101923);border-color:#6a6555;border-radius:7px;}
.game-workspace.game-scratch .scratch-panel.is-matched{background:radial-gradient(ellipse at 30% 0,#805f2f,#382d22);border-color:#e4b969;box-shadow:inset 0 0 16px #dbb87344;}
.game-workspace.game-scratch .scratch-ticket-footer{color:#c9a873;font-size:8px;}
/* Midnight Downs: a quiet stadium and proper, animated runners. */
.game-workspace.game-horses .race-course{position:relative;background:linear-gradient(#0e2033,#142437);border-color:#2e4258;}
.game-workspace.game-horses .race-marquee{position:relative;z-index:1;padding:17px 19px 32px;border:0;}
.race-stadium{position:absolute;top:18px;width:100%;height:75px;pointer-events:none;}
.game-workspace.game-horses .race-track{padding:8px 15px 0;border-top:1px solid #486379;position:relative;}
.game-workspace.game-horses .race-lane{grid-template-columns:100px minmax(0,1fr);min-height:73px;border-color:#3c536966;}
.game-workspace.game-horses .race-runway{height:73px;background:repeating-linear-gradient(90deg,transparent 0 69px,#45617a66 70px 71px,transparent 72px 110px);}
.game-workspace.game-horses .race-runner{width:83px;height:57px;bottom:5px;}
.game-workspace.game-horses .race-lane-label>b{font-size:17px;}
.game-workspace.game-horses .race-lane-label>small{font-size:10px;}
.game-workspace.game-horses .race-finish{width:11px;opacity:.95;background-size:11px 11px;right:17px;}
.game-workspace.game-horses .race-dust{position:absolute;left:-14px;bottom:0;width:36px;height:12px;border-radius:50%;background:var(--runner);opacity:0;filter:blur(3px);}
.game-workspace.game-horses .is-racing .race-dust{opacity:.25;animation:race-dust .32s ease-out infinite;}
@keyframes race-dust{to{transform:translateX(-18px) scale(1.6);opacity:0;}}
@media(min-width:1550px){.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses){grid-template-columns:310px minmax(0,1fr);}.game-workspace.game-dragon .tower-floor button{height:48px}.game-workspace.game-cardflip .card-flip-table{max-width:500px}.game-workspace.game-roulette .wheel-wrap{width:390px}}
@media(max-width:1100px){.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses){grid-template-columns:245px minmax(0,1fr)}.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-stage{padding:18px}.game-workspace.game-horses .race-lane{grid-template-columns:72px minmax(0,1fr)}.game-workspace.game-horses .race-runner{width:64px;height:46px}.game-workspace.game-moles .mole-garden{padding:28px 10px 15px;gap:16px 9px}.game-workspace.game-moles .mole-hole{height:96px}.game-workspace.game-moles .mole-rim{height:48px;border-width:8px}}
@media(max-width:850px){.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses){grid-template-columns:minmax(0,1fr)}.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-stage{min-height:0}.game-workspace.game-dragon .tower-dragon-perch{height:160px}.game-workspace .rocket-sky{height:390px}.game-workspace .rocket-multiplier{font-size:65px}.game-workspace .rocket-caption{top:calc(42% + 51px)}.game-workspace.game-cardflip .card-flip-table{max-width:410px}.game-workspace.game-gumball .gumball-scene{max-width:340px}.game-workspace.game-scratch .scratch-ticket{max-width:340px}.game-workspace.game-roulette .wheel-wrap{width:310px}.roulette-scenery{height:340px}.game-workspace.game-wheel .prize-wheel-wrap{width:330px}}
@media(max-width:450px){.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-stage{padding:15px 10px}.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-controls{padding:18px 15px}.game-workspace.game-wheel .wheel-arena{min-height:270px;padding:13px 8px}.game-workspace.game-wheel .wheel-pay-legend>span{min-width:0;padding:10px 14px}.game-workspace.game-dragon .tower-floor{grid-template-columns:44px minmax(0,1fr) 16px;gap:5px}.game-workspace.game-dragon .tower-floor>span{font-size:9px}.game-workspace.game-dragon .dragon-tower{padding:9px 6px}.game-workspace.game-dragon .tower-floor button{height:38px}.game-workspace.game-moles .mole-garden{padding:25px 4px 15px;gap:16px 5px;min-height:250px}.game-workspace.game-moles .mole-hole{height:88px}.game-workspace.game-moles .mole-rim{bottom:20px;height:39px;border-width:6px}.game-workspace.game-moles .mole-peek{bottom:26px;left:9%;right:9%;height:65px}.game-workspace.game-moles .mole-hole>small{font-size:9px}.game-workspace.game-cardflip .card-flip-table{padding:15px 13px 20px;border-radius:12px}.game-workspace.game-cardflip .card-flip-grid{gap:9px}.game-workspace.game-cardflip .card-flip-table-label{font-size:8px}.game-workspace.game-scratch .scratch-ticket{padding:16px}.game-workspace.game-scratch .scratch-ticket-top>span{font-size:18px}.game-workspace.game-horses .race-lane{grid-template-columns:57px minmax(0,1fr);gap:5px;min-height:53px}.game-workspace.game-horses .race-runway{height:53px}.game-workspace.game-horses .race-runner{width:49px;height:36px}.game-workspace.game-horses .race-lane-label>b{font-size:11px}.game-workspace.game-horses .race-lane-label>small{font-size:7px}.game-workspace.game-horses .race-marquee{padding:15px 12px 30px}.game-workspace.game-horses .race-track{padding:8px 8px 0}.game-workspace.game-packs .pack-display{gap:5px}.game-workspace.game-packs .collect-card{padding:11px 3px;gap:8px}.game-workspace.game-packs .collect-card>span{font-size:7px}.game-workspace.game-packs .collect-card>strong{font-size:13px}.game-workspace .rocket-ship,.game-workspace .rocket-ship svg{width:38px;height:46px}.game-workspace .rocket-multiplier{font-size:55px}.game-workspace .rocket-sky{height:330px}}
@media(prefers-reduced-motion:reduce){.race-dust{animation:none!important;opacity:0!important}}

/* Typography and idle states keep the functional rail compact and easy to scan. */
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .game-controls{--sans:'Brokeprint Sans',sans-serif;--mono:'Brokeprint Sans',sans-serif;font-family:'Brokeprint Sans',sans-serif;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .play-mode{padding:4px;gap:3px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .play-mode>span{flex:1;text-align:center;padding:9px 3px;white-space:nowrap;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .play-mode>span:first-child{font-size:13px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .amount-field>input{font:650 18px 'Brokeprint Sans',sans-serif;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .control-balance{font-size:12px;}
.game-workspace:is(.game-rocket,.game-roulette,.game-dragon,.game-wheel,.game-packs,.game-moles,.game-darts,.game-cardflip,.game-fishing,.game-gumball,.game-scratch,.game-horses) .control-balance strong{font:650 13px 'Brokeprint Sans',sans-serif;}
.game-workspace .extra-stage-value.is-awaiting>strong{display:none;}
.game-workspace .extra-stage-value.is-awaiting{margin:18px auto;}
.game-workspace.game-scratch .scratch-ticket.is-sample canvas,.game-workspace.game-scratch .scratch-ticket.is-sample .scratch-panel>small{visibility:hidden;}
.game-workspace:is(.game-wheel,.game-gumball,.game-cardflip) .game-stage{background-image:url('brokeprint-assets/prize-cartoon-v1.svg');}
.game-workspace.game-darts .dart-pay-legend>span{background:#132236;border-color:#29394e;}
.game-workspace.game-darts .dart-pay-legend b{font-size:14px;}
.game-workspace.game-dragon .tower-dragon-perch{width:min(100%,440px);}
.game-workspace.game-dragon .dragon-tower{width:min(100%,420px);}
.game-workspace.game-dragon .tower-dragon{filter:none;}
.game-workspace.game-moles .mole-rim:after{border:0;background:repeating-conic-gradient(#8e6e54 0deg 15deg,#674d3e 16deg 29deg,#a28261 30deg 43deg);mask:radial-gradient(ellipse,transparent 58%,#000 61%);clip-path:polygon(8% 20%,23% 6%,41% 0,62% 2%,82% 10%,96% 30%,100% 52%,89% 78%,68% 97%,43% 100%,20% 90%,3% 67%,0 42%);opacity:.85;}
@media(max-width:450px){.game-workspace.game-moles .mole-rim:after{inset:-7px}}

.card-flip-crown svg{display:block;width:32px;height:25px;margin:auto}

/* Flat, quiet scenery keeps the interactive pieces in focus. */
.game-workspace.game-cardflip .game-stage{background:#0b1928;}
.game-workspace.game-packs .game-stage{background:#0b1928;}
.game-workspace.game-packs .collect-card{background:color-mix(in srgb,var(--rarity) 12%,#122237);box-shadow:inset 0 0 0 4px #112033,0 4px 0 #071321; }
.game-workspace.game-dragon .tower-floor button{background:#203452;box-shadow:none;}
.game-workspace.game-gumball .gumball-machine{filter:none;}
.game-workspace.game-roulette .roulette-wheel{box-shadow:0 6px 0 #08131f;}
