.extra-stage { text-align: center; }
.extra-feedback p { color: var(--stake-text-secondary); margin: .4rem auto 0; max-width: 36rem; }
.extra-currency { align-self: center; padding: 0 7px; color: var(--stake-text-secondary); }
#extra-settings { display: grid; gap: 12px; }
.extra-board { flex: 1; min-height: 220px; display: grid; align-content: center; justify-items: center; gap: 9px; }
.extra-actions, .extra-row, .extra-draws { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.extra-actions button, .extra-board button, .extra-toolbar button { padding: 8px 12px; }
.extra-actions [data-action="cashout"] { color: #0c2514; background: #51dc7a; }
.extra-feedback strong { font-size: clamp(1.3rem, 4vw, 2.6rem); font-variant-numeric: tabular-nums; }
.extra-tile, .extra-row button {
    display: grid; place-items: center; min-width: 42px; min-height: 44px; padding: 8px;
    background: var(--stake-bg-secondary); border: 1px solid var(--stake-border); border-radius: 7px;
    color: var(--stake-text-primary); overflow-wrap: anywhere;
}
.extra-row[data-cards] .extra-tile, .extra-row[data-cards] button {
    min-width: clamp(37px, 7vw, 66px); min-height: clamp(49px, 9vw, 87px);
    padding: 5px; background: #e8f2fa; color: #132234; font-weight: 750;
}
.extra-row[data-cards] [data-red] { color: #a21f37; }
.extra-row[data-current-hand] { outline: 2px solid var(--stake-accent); border-radius: 8px; padding: 5px; }
.extra-row button[aria-pressed="true"], .extra-grid button[aria-pressed="true"] { outline: 2px solid var(--stake-accent); }
.extra-grid { width: min(100%, 450px); display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 6px; }
.extra-grid button { min-height: 38px; padding: 4px 0; font-size: .8rem; }
.extra-grid button[data-hit] { background: #006b59; color: white; }
.extra-wheel, .extra-dartboard {
    width: min(62vw, 225px); aspect-ratio: 1; border-radius: 50%; position: relative;
    border: 7px solid var(--stake-border); box-shadow: 0 8px 22px #0006;
}
.extra-wheel-disk { position: absolute; inset: 0; border-radius: inherit; }
.extra-wheel::after, .extra-dartboard::after {
    content: ''; position: absolute; top: var(--marker-y, 5%); left: var(--marker-x, 50%);
    transform: translate(-50%, -50%); width: 12px; aspect-ratio: 1; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 3px #152536;
}
.extra-number { font-size: clamp(2.2rem, 7vw, 5.25rem); font-weight: 750; }
.extra-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; }
.extra-toolbar a { color: var(--stake-text-secondary); }
.extra-rules { padding: 12px; color: var(--stake-text-secondary); }
.extra-rules summary { cursor: pointer; font-weight: 650; color: var(--stake-text-primary); }
.extra-grid [aria-current="step"] { outline: 2px solid var(--stake-accent); }

.extra-stage { position: relative; min-height: 600px; }
.extra-net output { display: block; padding: 10px 8px; border: 1px solid var(--stake-border); border-radius: 7px; font-variant-numeric: tabular-nums; }
.extra-actions:empty, .extra-feedback:not(:has(strong:not(:empty), p:not(:empty))) { display: none; }
.extra-stage .extra-board { width: 100%; }
.extra-original .extra-board img { display: block; }
:is([data-original-slug="chicken"],[data-original-slug="crash"]) .extra-stage { padding: 0; }
:is([data-original-slug="chicken"],[data-original-slug="crash"]) .extra-board { display: flex; align-items: stretch; }
:is([data-original-slug="chicken"],[data-original-slug="crash"]) .extra-actions { flex-direction: column; align-items: stretch; }
[data-original-slug="chicken"] .extra-feedback { position: absolute; inset: auto 0 14px; pointer-events: none; }
[data-original-slug="chicken"] .extra-feedback p { display: inline-block; background: var(--stake-bg-secondary); padding: 5px 10px; border-radius: 6px; margin: 0 8px; }
.scene-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; border-radius: 32px; padding: .45em .8em; background: var(--stake-bg-tertiary); color: var(--stake-text-primary); font-size: .82rem; font-weight: 700; }
.chicken-road { --lane: 125px; width: 100%; min-height: 440px; position: relative; overflow: hidden; }
.chicken-track { position: absolute; inset: 0 auto 0 0; display: flex; width: max-content; transform: translateX(var(--pan, 0)); transition: transform 420ms cubic-bezier(.25,.65,.35,1); }
.chicken-curb { width: calc(67px + var(--lane)/2); position: relative; border-right: 18px dashed var(--stake-bg-tertiary); background: var(--stake-bg-secondary); }
.chicken-curb::after { content: ''; position: absolute; top: 53%; left: 0; right: 0; height: 62px; background: repeating-linear-gradient(90deg,var(--stake-border) 0 22px,transparent 22px 26px); opacity: .6; }
.chicken-signal { position: absolute; top: 12%; left: 13%; display: flex; gap: 5px; padding: 6px; border-radius: 25px; background: var(--stake-bg-inset); border: 4px solid var(--stake-bg-tertiary); }
.chicken-signal::after { position: absolute; content: ''; height: 84px; width: 9px; top: 100%; left: 44%; background: var(--stake-bg-tertiary); border-radius: 0 0 4px 4px; }
.chicken-signal i { width: 19px; height: 19px; border-radius: 50%; background: #203744; }
.chicken-signal i:last-child { background: #ffd147; box-shadow: inset 4px 3px #ffe998,0 0 13px #ffb31a72; }
.chicken-lane { width: var(--lane); position: relative; display: grid; justify-items: center; }
.chicken-lane::before { content: ''; width: 4px; position: absolute; left: -2px; top: 3%; bottom: 3%; opacity: .54; background: repeating-linear-gradient(180deg, var(--stake-bg-tertiary) 0 21px, transparent 21px 45px); border-radius: 4px; }
.chicken-drain { position: absolute; top: 55%; width: 56%; aspect-ratio: 1.5; border-radius: 100%; background: var(--stake-bg-tertiary); border: 4px solid var(--stake-bg-secondary); box-shadow: inset 0 0 0 4px var(--stake-bg-inset); opacity: .8; }
.chicken-drain::after { content: ''; position: absolute; inset: 23% 31%; background: repeating-linear-gradient(90deg, var(--stake-bg-inset) 0 4px, transparent 4px 8px); border-radius: 8px; }
.chicken-lane .scene-chip { position: absolute; top: 68%; min-width: 64%; }
.chicken-lane.is-safe .scene-chip { background: #146f5a; }
.chicken-lane.is-hit .scene-chip { background: #9c284a; }
.chicken-traffic { position: absolute; width: clamp(33px, 6vw, 67px); height: clamp(62px, 11vw, 126px); top: 0; border-radius: 24% 24% 21% 21%; background: var(--car); box-shadow: inset 0 -7px #0f182b91, 0 8px 2px #07121e75; animation: drive-down var(--drive) linear var(--offset) infinite; }
.chicken-traffic::before { content: ''; position: absolute; inset: 17% 13%; border-radius: 25% 25% 20% 20%; background: linear-gradient(#e6f1fc 0 24%, #213a53 25% 49%, #ffffff60 50% 72%,#ffffff20 73%); }
.chicken-traffic::after { content: ''; position: absolute; inset: auto 10% 9%; height: 9%; border-left: 9px solid #fff5d9; border-right: 9px solid #fff5d9; border-radius: 6px; }
@keyframes drive-down { from { transform: translateY(-145px); } to { transform: translateY(750px); } }
.chicken-runner { z-index: 1; position: absolute; left: 0; top: 59%; width: clamp(47px, 7vw, 82px); transform: translate(calc(var(--step, 67px) - 50%),-82%); transition: transform 420ms cubic-bezier(.25,.65,.35,1); filter: drop-shadow(0 5px 3px #07152295); }
.chicken-runner.is-hit { filter: sepia(.5) drop-shadow(0 0 13px #f6385e); }
.chicken-sprite { width: 100%; }
.crash-stage { display: flex; position: relative; flex: 1; flex-direction: column; justify-content: space-between; min-height: 510px; padding: 16px; min-width: 0; overflow: hidden; }
.crash-chart { position: absolute; inset: 18% 8% 8% 4%; width: 88%; height: 74%; color: #759cb3; }
.crash-display { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7px; align-items: center; justify-content: center; pointer-events: none; }
.crash-display strong { font-size: clamp(3.2rem, 8vw, 6.25rem); line-height: .95; font-variant-numeric: tabular-nums; letter-spacing: -.055em; text-shadow: 0 5px #122a41; }
.crash-display span { border-radius: 30px; padding: .45em 1em; background: var(--stake-bg-tertiary); font-weight: 650; }
.crash-display span:empty { visibility: hidden; }
.crash-stage[data-phase="crashed"] .crash-display strong { text-shadow: 0 5px #ed3058, 0 10px #8c2042; }
.crash-stage[data-phase="crashed"] .crash-display span { background: #c91c49; }
.crash-history { display: flex; position: relative; overflow-x: auto; scrollbar-width: none; gap: 6px; }
.crash-history button:first-child { margin-inline-start: auto; }
.original-game .crash-history button { flex: 0 0 auto; border-radius: 25px; padding: .54em .85em; font-size: .76rem; }
.crash-history button.is-high { background: #46dc3c; color: #15311e; }
.crash-stage footer { position: relative; display: flex; justify-content: space-between; gap: 12px; text-align: left; font-size: .78rem; color: var(--stake-text-secondary); }
.crash-network { white-space: nowrap; }
.crash-network i { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: #e49a4e; margin-left: .3em; }
.crash-network.is-online i { background: #33db59; }
.crash-proof { width: min(94vw, 500px); max-height: 83vh; border: 1px solid var(--stake-border); border-radius: 10px; background: var(--stake-bg-secondary); color: var(--stake-text-primary); padding: 16px; text-align: left; }
.crash-proof::backdrop { background: #080f19ba; }
.crash-proof form { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.crash-proof button { padding: 4px 10px; }
.crash-proof dt { color: var(--stake-text-secondary); }
.crash-proof dd { margin: 2px 0 10px; overflow-wrap: anywhere; }
.packs-scene { position: relative; display: grid; place-items: center; width: 100%; min-height: 520px; padding: 46px 10px 18px; }
.packs-count { position: absolute; top: 0; right: 0; font-size: .78rem !important; display: grid; gap: 3px; }
.packs-count progress { width: 100%; height: 5px; accent-color: #61d6e9; }
.packs-content { position: relative; width: 100%; display: grid; place-items: center; }
.pack-sealed { width: clamp(110px, 24vw, 184px); position: relative; }
.pack-foil, .pack-seal { background: linear-gradient(105deg,#4b6cee,#97baff 13%,#efb747 48%,#638afa 82%,#2c4bc4); }
.pack-foil { border-radius: 5px 5px 12px 12px; padding: 8px 9px 18px; box-shadow: 0 14px 44px #050f236e; }
.pack-seal { height: 18px; border-radius: 8px 8px 1px 1px; border-block-end: 3px dashed #e3eff9; position: relative; z-index: 1; }
.pack-seal::after { content: ''; position: absolute; inset: 3px 0; background: repeating-linear-gradient(90deg,#eef4ff30 0 2px,transparent 2px 5px); }
.pack-wrapper { width: 100%; border-radius: 5px; }
.packs-cards { display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(5px, 1.15vw, 14px); width: min(100%, 490px); perspective: 950px; }
.pack-card { --rarity: #61daef; grid-column: span 2; background: var(--stake-bg-secondary); border: 4px solid var(--rarity); border-radius: 10px; color: var(--stake-text-primary); min-width: 0; overflow: hidden; text-align: center; padding-bottom: 8px; }
.pack-card:nth-child(4) { grid-column: 2 / span 2; }
.pack-card[data-rarity="Uncommon"] { --rarity: #3888fb; }
.pack-card[data-rarity="Rare"] { --rarity: #f16384; }
.pack-card[data-rarity="Epic"] { --rarity: #92ed63; }
.pack-card[data-rarity="Legendary"] { --rarity: #ffd14c; }
.pack-card header { display: flex; gap: 3px; justify-content: space-between; flex-wrap: wrap; align-items: center; padding: 3px 5px; text-align: left; background: var(--rarity); color: #112535; font-size: clamp(.55rem, 1vw, .77rem); }
.pack-card small { white-space: nowrap; }
.pack-card svg { display: block; width: 85%; margin: 5px auto; background: var(--stake-bg-tertiary); border-radius: 5px; }
.pack-card svg g { filter: hue-rotate(var(--card-hue,0deg)); }
.pack-palette { display: flex; gap: 5px; position: absolute; bottom: 0; }
.pack-palette i { width: 13px; height: 13px; border-radius: 3px; background: var(--tier); }
.pack-payout { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; gap: 7px; padding: 8px 14px; min-width: 100px; border: 4px solid var(--stake-border); border-radius: 12px; background: var(--stake-bg-inset); box-shadow: 0 7px 25px #07122193; }
.pack-payout strong { font-size: clamp(1.15rem,3vw,1.7rem); }
.pack-collection > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(87px,1fr)); gap: 8px; }
.pack-collection .pack-card { grid-column: auto; }
.original-scene { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; width: min(100%, 640px); padding: 12px 0; }
.original-scene-row { display: flex; align-items: center; justify-content: center; width: 100%; gap: clamp(5px,1.1vw,13px); min-width: 0; }
.original-scene .scene-hole { display: grid; place-items: center; width: clamp(32px,10%,75px); aspect-ratio: 1; padding: 0; background: var(--stake-bg-secondary); border-radius: 9px; box-shadow: inset 0 -4px var(--stake-bg-primary); }
[data-original-slug="moles"] .scene-hole { aspect-ratio: 1.5; border-radius: 50%; box-shadow: inset 0 6px var(--stake-bg-tertiary); }
.original-scene button.scene-hole { background: var(--stake-bg-tertiary); }
.scene-hole[data-result="safe"] { background: #17755e; }
.scene-hole[data-result="loss"] { background: #972747; }
.scene-card-back { width: min(15%, 70px); aspect-ratio: .7; border: 5px solid var(--stake-bg-tertiary); border-radius: 7px; background: repeating-linear-gradient(135deg,var(--stake-bg-tertiary) 0 3px,var(--stake-bg-secondary) 3px 8px); }
.scene-idle-reels { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; width: min(100%,360px); }
.scene-idle-reels :is(.scene-chip,img) { border-radius: 6px; width: 100%; height: 54px; object-fit: cover; object-position: top; font-size: 1.2rem; }
[data-original-slug="tome-of-life"] { --reel-edge: #8c66dc; --reel-background: #31234c; }
[data-original-slug="scarab-spin"] { --reel-edge: #d9a03b; --reel-background: #50312c; }
[data-original-slug="blue-samurai"] { --reel-edge: #4796df; --reel-background: #203d61; }
.extra-row[data-reels] { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); width: min(95%,470px); gap: 5px; }
.extra-row[data-reels] .extra-tile { min-width: 0; aspect-ratio: 1.25; min-height: 0; padding: 0; background: var(--reel-background); border: 1px solid var(--reel-edge); font-size: clamp(1rem,3vw,2rem); overflow: hidden; }
.extra-row[data-reels] .scene-symbol { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.extra-row[data-reels] [data-feature] .scene-symbol { filter: hue-rotate(45deg); }
.extra-row[data-reels] [data-wild] .scene-symbol { filter: hue-rotate(310deg) saturate(1.3); }
.extra-row[data-reels] :is([data-wild], [data-scatter]) { outline: 2px solid #ffd77b; outline-offset: -2px; }
.scene-waiting-wheel, .scene-waiting-darts { width: min(65%,235px); aspect-ratio: 1; border: 6px solid var(--stake-bg-tertiary); border-radius: 50%; }
.scene-waiting-wheel { background: repeating-conic-gradient(#1fb5aa 0 24deg,#34465a 24deg 48deg,#f2b43b 48deg 72deg); }
.scene-waiting-darts { background: radial-gradient(circle,#ffd261 0 11%,#2fac9e 11% 37%,#385690 37%); }
.scene-prop { position: relative; min-width: 0; width: min(28%,115px); display: grid; place-items: center; gap: 5px; }
.scene-prop .scene-chip { min-width: 0; }
.scene-prop > div { width: 100%; position: relative; }
.scene-slide-prop { aspect-ratio: .9; border: 4px solid #395a80; border-radius: 10px; background: linear-gradient(145deg,#5a8add,#2e4572); }
.scene-slide-prop i { position: absolute; inset: 23%; background: #b4dfff; clip-path: polygon(25% 0,75% 0,100% 35%,50% 100%,0 35%); }
[data-original-slug="slide"] .scene-prop:nth-child(2n) .scene-slide-prop { filter: hue-rotate(25deg); }
.scene-drill-prop { aspect-ratio: .7; background: repeating-linear-gradient(170deg,#50405b 0 12px,#30334e 12px 25px); border: 4px solid #60708f; border-radius: 10px; }
.scene-drill-prop i { position: absolute; inset: 17%; background: repeating-linear-gradient(18deg,#ffd97e 0 9px,#ff9f4a 9px 17px); clip-path: polygon(0 16%,33% 16%,40% 0,60% 0,67% 16%,100% 16%,77% 53%,50% 100%,23% 53%); }
.scene-cases-prop { aspect-ratio: 1.2; border-radius: 13px; border: 5px solid #a894e4; background: linear-gradient(#7c51b3 0 43%,#b398e9 44% 49%,#5b3997 50%); }
.scene-cases-prop i { position: absolute; inset: 34% 35%; border: 3px solid #f8d880; background: #b97528; border-radius: 5px; }
.scene-tarot-prop { aspect-ratio: .7; border: 5px solid #ffc868; border-radius: 10px; background: radial-gradient(ellipse at center,#8d56ae,#3b285c); }
.scene-tarot-prop i { position: absolute; inset: 26%; background: #ffdc92; clip-path: polygon(50% 0,60% 37%,100% 50%,62% 60%,50% 100%,38% 61%,0 50%,38% 39%); }
[data-original-slug="slide"] .scene-prop { width: min(13%,75px); }
[data-original-slug="slide"] .scene-prop:nth-child(4) { outline: 2px solid var(--stake-accent); outline-offset: 3px; border-radius: 8px; }
.flip-coin { display: grid; place-items: center; width: min(40%,160px); aspect-ratio: 1; border-radius: 50%; border: 9px solid #ef9f27; box-shadow: inset 0 0 0 6px #ffe892, 0 6px #ae651f; background: #ffce58; color: #854610; font-size: 3rem; font-weight: 900; }
.pump-balloon { position: relative; width: 92px; height: 110px; background: radial-gradient(ellipse at 31% 21%,#fff2 0 12%, transparent 13%),linear-gradient(140deg,#ff6588,#db1e59); border-radius: 50% 50% 52% 52%; scale: var(--inflated); transform-origin: center bottom; box-shadow: inset -6px -8px #ad155555; }
.pump-balloon::after { position: absolute; content: ''; border: 9px solid transparent; border-bottom-color: #ed4065; bottom: -8px; left: calc(50% - 9px); }
.pump-balloon.is-popped { opacity: .37; background: repeating-conic-gradient(transparent 0 28deg,#eb3268 28deg 35deg); }
.pump-base { border-radius: 6px; width: 81px; height: 13px; background: var(--stake-bg-tertiary); }
.snakes-path { display: grid; width: min(100%,460px); grid-template-columns: repeat(6,1fr); gap: 6px; }
.snake-square { display: grid; place-items: center; position: relative; min-height: 48px; border-radius: 7px; background: var(--stake-bg-secondary); }
.snake-square[data-current] { outline: 2px solid #63dabf; }
.snake-token { position: absolute; bottom: 3px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #63dabf; }
.rps-hand { display: grid; justify-items: center; gap: 7px; width: min(30%,130px); text-transform: capitalize; }
.rps-hand i { display: block; width: 70%; aspect-ratio: 1; background: #ffd586; border-radius: 21% 24% 36% 32%; box-shadow: inset -6px -7px #dc993877; clip-path: polygon(2% 27%,18% 27%,18% 14%,39% 14%,39% 7%,62% 7%,62% 14%,85% 14%,98% 34%,92% 91%,67% 100%,19% 91%); }
.rps-hand[data-hand="paper"] i { clip-path: polygon(2% 51%,16% 50%,22% 58%,21% 15%,31% 12%,36% 44%,42% 4%,53% 4%,54% 41%,65% 7%,75% 12%,68% 46%,85% 25%,95% 33%,81% 81%,67% 100%,25% 93%); }
.rps-hand[data-hand="scissors"] i { clip-path: polygon(5% 58%,27% 48%,25% 11%,36% 7%,48% 46%,65% 1%,77% 8%,69% 49%,90% 53%,95% 83%,69% 100%,27% 95%); }
.prime-track { position: relative; width: 92%; height: 35px; border: 8px solid var(--stake-bg-tertiary); border-radius: 30px; background: linear-gradient(90deg,#ec4265 0 var(--lower),#5bdd7b var(--lower) var(--upper),#ec4265 var(--upper)); }
.prime-marker { position: absolute; bottom: 100%; transform: translate(-50%,-8px); white-space: nowrap; }
@media (max-width: 700px) {
    .extra-stage { min-height: 370px; }
    .chicken-road, .crash-stage, .packs-scene { min-height: 365px; }
    .chicken-traffic { animation-duration: calc(var(--drive) * 1.2); }
}
@media (prefers-reduced-motion: reduce) {
    .original-game:not(.original-motion-enabled) .chicken-track, .original-game:not(.original-motion-enabled) .chicken-runner { transition: none; }
    .original-game:not(.original-motion-enabled) .chicken-traffic { animation-play-state: paused; }
}

