/* Six Originals, sharing the lounge controls and fictional wallet. */
.extra-stage-value{display:grid;justify-items:center;gap:9px;margin:20px 0;color:#e9c58a;}
.extra-stage-value>span{font-size:10px;letter-spacing:1.6px;color:#8f99aa;}
.extra-stage-value>strong{font:650 clamp(32px,4vw,54px)/1.15 var(--sans);letter-spacing:-1px;}
.extra-stage-note{text-align:center;color:#aab2c0;font-size:12px;line-height:1.7;max-width:510px;margin:18px auto;min-height:21px;}
.extra-choice-grid{display:grid;gap:6px;margin:12px 0 20px;grid-template-columns:repeat(3,minmax(0,1fr));}
.extra-choice-grid button{display:grid;place-items:center;gap:5px;padding:9px 4px;min-width:0;border:1px solid #ffffff12;border-radius:7px;background:#171e2b;color:#b9c0ce;font:11px var(--sans);}
.extra-choice-grid button.is-active{border-color:#cfaa6f;background:#d4ad6e18;color:#eed6a9;}
.extra-choice-grid .duel-hand{height:36px;width:36px;stroke-width:3;}
.flip-choices{grid-template-columns:repeat(2,1fr);}
.game-controls .extra-cashout{margin-top:10px;background:#d4ad6e17;border:1px solid #d4ad6e66;color:#eac88f;justify-content:center;width:100%;}
.game-controls [data-tower-random]{width:100%;margin:10px 0;padding:13px;border-radius:6px;background:#283141;border:1px solid #ffffff18;color:#d5dae3;}
.rps-arena{display:flex;align-items:center;justify-content:center;gap:clamp(16px,3vw,40px);min-height:260px;padding-top:20px;}
.duel-side{display:grid;justify-items:center;gap:16px;flex:1;max-width:190px;}
.duel-side>span{font-size:9px;letter-spacing:1.5px;color:#8a95a9;}
.duel-side>strong{font-size:16px;color:#e9d5b2;}
.hand-pedestal{display:grid;place-items:center;border:1px solid #e3b97828;border-radius:50%;width:150px;height:150px;background:radial-gradient(circle at 35% 30%,#ac795626,#141e30 75%);box-shadow:0 15px 35px #0003,inset 0 -8px 20px #0c1425;}
.duel-hand{width:112px;height:112px;fill:#d4ad6e25;stroke:#e7be80;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;}
.opponent .hand-pedestal{background:radial-gradient(circle at 65% 30%,#a6416626,#141e30 75%);border-color:#d1839728;}
.opponent .duel-hand{stroke:#d796a6;fill:#bf608320;transform:scaleX(-1);}
.duel-versus{color:#716b70;font-size:16px;letter-spacing:2px;}
.rps-arena.is-playing .hand-pedestal{animation:duelShake .25s ease-in-out infinite alternate;}
.extra-trail{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:24px auto 8px;}
.extra-trail span{padding:7px 10px;border:1px solid #d4ad6e2b;border-radius:5px;font-size:10px;color:#dec392;background:#d4ad6e0b;}
.extra-trail .is-loss{background:#a9446718;color:#e3a0b6;border-color:#a9446733;}
.extra-trail .is-tie{color:#96a4ba;border-color:#96a4ba22;}
.flip-arena{display:grid;justify-items:center;gap:24px;min-height:275px;align-content:center;perspective:700px;}
.flip-coin{width:174px;height:174px;border-radius:50%;padding:13px;background:repeating-conic-gradient(#ffde9b 0deg 3deg,#a57c44 3deg 5deg);box-shadow:0 8px 0 #71502d,0 24px 36px #0006;transform-style:preserve-3d;}
.coin-front{display:grid;place-items:center;width:100%;height:100%;border:2px solid #f2d298;border-radius:50%;background:radial-gradient(circle at 30% 20%,#debf80,#9a713e 72%);box-shadow:inset 0 0 0 7px #b7894d,inset 0 0 0 9px #e6c285;}
.coin-front>img{width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 2px 2px #33271466);}
.coin-front>svg{width:91px;fill:#902342;stroke:#ed9d9e;stroke-width:2;}
.flip-coin.is-flipping{animation:coinTurn 1.05s cubic-bezier(.25,.1,.4,1) infinite;}
.coin-side-label{font-size:13px;color:#baa17b;}
.pump-arena{height:275px;display:flex;align-items:center;justify-content:center;gap:60px;position:relative;}
.balloon-object{position:relative;width:155px;transform:scale(var(--balloon-scale,1));transform-origin:50% 70%;transition:transform .4s;}
.balloon-object>svg{display:block;width:100%;filter:drop-shadow(0 15px 18px #0004);}
.balloon-object.is-burst .balloon-skin,.balloon-object.is-burst .balloon-highlight{opacity:0;}
.burst-rays{display:none;position:absolute;inset:15% 0;text-align:center;color:#e37991;font-size:120px;line-height:1;}
.balloon-object.is-burst .burst-rays{display:block;animation:burstFlash .5s ease-out;}
.pump-machine{width:50px;height:125px;position:relative;align-self:flex-end;margin-bottom:44px;}
.pump-cylinder{position:absolute;bottom:0;left:10px;width:32px;height:75px;border-radius:5px 5px 12px 12px;background:linear-gradient(90deg,#596779,#b8a688 35%,#77613f 60%,#323c50);border:1px solid #a79673;}
.pump-handle{position:absolute;left:0;top:0;width:54px;height:8px;background:#c3a576;border-radius:4px;}
.pump-handle:after{content:'';position:absolute;top:8px;left:24px;height:43px;width:5px;background:linear-gradient(90deg,#4e596b,#bbb5a8,#50576b);}
.pump-machine>i{position:absolute;bottom:-3px;left:0;width:60px;height:10px;border-radius:6px;background:#635e56;}
.pump-progress{display:flex;gap:5px;max-width:350px;margin:24px auto;}
.pump-progress i{height:5px;flex:1;border-radius:4px;background:#293245;}
.pump-progress i.is-filled{background:#d3ae73;}
.is-pumping .pump-handle{animation:pumpStroke .375s ease-in-out infinite alternate;}
.is-pumping .balloon-object{animation:balloonPulse .75s ease-out;}
.wheel-arena{display:grid;place-items:center;min-height:320px;padding:18px;}
.prize-wheel-wrap{position:relative;width:min(100%,340px);aspect-ratio:1;filter:drop-shadow(0 16px 24px #0005);}
.prize-wheel{display:block;width:100%;height:100%;border-radius:50%;border:7px solid #394050;box-shadow:0 0 0 2px #d4ad6e50;}
.prize-wheel text{font:600 11px var(--sans);fill:#fff1d7;}
.prize-wheel-pointer{position:absolute;left:50%;top:-10px;z-index:2;transform:translateX(-50%);border-left:11px solid transparent;border-right:11px solid transparent;border-top:28px solid #f0cc8c;filter:drop-shadow(0 2px 2px #0009);}
.wheel-hub{width:17%;height:17%;object-fit:contain;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
.wheel-pay-legend{display:flex;justify-content:center;gap:10px;margin:25px auto 10px;}
.wheel-pay-legend>span{display:grid;gap:5px;padding:10px 16px;background:#202a3a;border:1px solid #ffffff0d;border-radius:6px;text-align:center;color:#e2c68f;font-size:15px;}
.wheel-pay-legend small{color:#8d99ad;font-size:9px;}
.pack-display{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:55px auto 35px;max-width:690px;perspective:800px;}
.pack-slot{min-width:0;aspect-ratio:.69;}
.collect-card,.pack-card-back{height:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:9px;border:1px solid var(--rarity,#907247);background:radial-gradient(ellipse at 35% 0%,color-mix(in srgb,var(--rarity,#907247) 26%,#182233),#111a29 78%);box-shadow:inset 0 0 0 4px #0003,0 10px 18px #0003;padding:12px 6px;gap:10px;color:var(--rarity,#d4ad6e);}
.collect-card>span{font-size:8px;letter-spacing:.2px;text-align:center;}
.collect-card>svg{width:72%;max-height:92px;fill:color-mix(in srgb,var(--rarity) 26%,transparent);stroke:var(--rarity);stroke-width:2;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--rarity) 30%,transparent));}
.collect-card>strong{font-size:clamp(13px,1.8vw,25px);color:#eee5d8;}
.collect-card>small{font-size:8px;color:#76849a;}
.pack-card-back{background:repeating-linear-gradient(45deg,#ffffff03 0px,#ffffff03 1px,transparent 1px,transparent 9px),linear-gradient(145deg,#273343,#141c2c);color:#ab9063;border-color:#b48e563b;}
.pack-card-back img{width:55%;object-fit:contain;}
.pack-card-back span{font-size:7px;letter-spacing:1px;}
.pack-slot.is-revealed{animation:cardReveal .45s ease-out;}
.rarity-legendary,.rarity-mythic{box-shadow:0 0 24px color-mix(in srgb,var(--rarity) 22%,transparent),inset 0 0 0 4px #0003;}
.pack-rarity-list{display:grid;gap:9px;margin:20px 0;color:#aab4c4;font-size:10px;}
.pack-rarity-list>span{display:flex;align-items:center;gap:8px;}
.pack-rarity-list i{width:6px;height:6px;border-radius:50%;background:var(--rarity);}
.pack-rarity-list b{margin-left:auto;font-weight:500;color:#8793a7;}
.packs-collection{border-top:1px solid #ffffff0e;margin-top:28px;padding-top:18px;}
.packs-collection summary{cursor:pointer;display:flex;justify-content:space-between;font-size:12px;color:#d8c399;gap:12px;}
.packs-collection summary span{color:#8996a9;font-size:10px;}
.collection-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;margin-top:20px;}
.collection-slot{aspect-ratio:.74;display:grid;place-items:center;border:1px solid #273344;border-radius:4px;background:#141e2c;color:#526178;min-width:0;}
.collection-slot>b{font-size:15px;font-weight:500;}.collection-slot>small{font-size:7px;}
.collection-slot svg{width:80%;fill:#0000;stroke:var(--rarity);stroke-width:2;}
.collection-slot.is-collected{border-color:color-mix(in srgb,var(--rarity) 50%,transparent);color:var(--rarity);}
.dragon-tower{max-width:430px;margin:22px auto;display:grid;gap:7px;}
.tower-floor{display:grid;grid-template-columns:65px 1fr 23px;gap:10px;align-items:center;}
.tower-floor>span{font-size:11px;text-align:right;color:#7f8b9d;}.tower-floor>small{font-size:9px;color:#657085;}
.tower-floor>div{display:grid;gap:7px;}.tower-floor button{height:39px;min-width:0;display:grid;place-items:center;border:1px solid #3b4658;border-radius:5px;background:linear-gradient(140deg,#263246,#1c2536);box-shadow:0 3px 0 #0b1221;padding:5px;}
.tower-floor button>i{height:11px;width:11px;border:1px solid #8090a54d;transform:rotate(45deg);border-radius:2px;}.tower-floor button svg{height:26px;fill:#dac08d22;stroke:#e3c891;stroke-width:3;}
.tower-floor.is-current button{background:linear-gradient(140deg,#51432f,#302d2b);border-color:#c2a373;cursor:pointer;}.tower-floor.is-current>span{color:#dfc48e;}
.tower-floor button:disabled{opacity:.65;}.tower-floor button.is-safe{background:#c9ab731c;border-color:#c7ac74;opacity:1;}.tower-floor button.is-dragon{background:#97385433;border-color:#c96783;color:#f2a2b6;opacity:1;}
.extra-lobby{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:120px;}
.lobby-duel{display:flex;gap:0;justify-content:center;}.lobby-duel .duel-hand{width:95px;height:95px;transform:rotate(-13deg);}.lobby-duel .duel-hand:last-child{transform:rotate(13deg);stroke:#d69da8;fill:#d69da815;}
.lobby-flip .flip-coin{width:120px;height:120px;padding:9px;transform:rotate(-16deg);}.lobby-flip .coin-front img{width:60px;height:60px;}
.lobby-balloon .balloon-object{width:140px;transform:scale(.8) rotate(9deg);}
.lobby-packs .collect-card{width:105px;height:147px;transform:rotate(-9deg);}.lobby-packs .collect-card>strong{font-size:24px;}
.lobby-prize-wheel .prize-wheel-wrap{width:145px;}.lobby-prize-wheel .prize-wheel text{display:none;}
.lobby-tower svg{width:114px;height:114px;fill:#d4ad6e20;stroke:#d4ad6e;stroke-width:2;}
.game-rps .lobby-art,.game-flip .lobby-art{background:radial-gradient(ellipse at 50% 55%,#66533b55,#171e2b 76%);}
.game-pump .lobby-art{background:radial-gradient(ellipse at 50% 40%,#6b2e5255,#171e2b 76%);}
.game-packs .lobby-art,.game-dragon .lobby-art{background:radial-gradient(ellipse at 50% 50%,#62524044,#171e2b 76%);}
@keyframes coinTurn{0%{transform:rotateX(0) translateY(0)}45%{transform:rotateX(700deg) translateY(-26px)}100%{transform:rotateX(1440deg) translateY(0)}}
@keyframes duelShake{from{transform:rotate(-7deg) translateY(0)}to{transform:rotate(5deg) translateY(-10px)}}
@keyframes pumpStroke{from{transform:translateY(0)}to{transform:translateY(25px)}}
@keyframes balloonPulse{50%{transform:scale(calc(var(--balloon-scale) + .04))}100%{transform:scale(var(--balloon-scale))}}
@keyframes burstFlash{from{transform:scale(.5);opacity:1}to{transform:scale(1.15);opacity:.8}}
@keyframes cardReveal{from{transform:rotateY(90deg) translateY(-8px);opacity:.3}to{transform:rotateY(0) translateY(0);opacity:1}}
@media(max-width:1100px){.pack-display{gap:7px;}.collect-card{gap:6px;padding:9px 4px;}.collect-card>span{font-size:7px;}.collection-grid{grid-template-columns:repeat(8,1fr);}.hand-pedestal{width:125px;height:125px;}.duel-hand{width:95px;height:95px;}}
@media(max-width:700px){.rps-arena{min-height:215px;gap:12px;}.hand-pedestal{width:110px;height:110px;}.duel-hand{width:83px;height:83px;}.duel-side>span{font-size:8px;}.duel-side{gap:12px;}.duel-versus{font-size:12px;}.extra-stage-value>strong{font-size:36px;}.pump-arena{gap:30px;height:235px;}.balloon-object{width:137px;}.prize-wheel-wrap{max-width:265px;}.wheel-arena{min-height:270px;padding:14px;}.pack-display{gap:5px;margin:30px auto 24px;}.collect-card>span{font-size:6px;}.collect-card>strong{font-size:12px;}.collect-card>small{font-size:6px;}.collect-card{padding:8px 3px;border-radius:5px;gap:7px;}.pack-card-back span{font-size:5px;letter-spacing:0;}.extra-stage-note{font-size:11px;}.collection-grid{grid-template-columns:repeat(8,1fr);gap:5px;}.tower-floor{grid-template-columns:58px 1fr 17px;gap:7px;}.tower-floor button{height:38px;}.lobby-duel .duel-hand{width:72px;height:72px;}.lobby-flip .flip-coin{width:99px;height:99px;}.lobby-flip .coin-front img{width:47px;height:47px;}.lobby-prize-wheel .prize-wheel-wrap{width:110px;}.lobby-packs .collect-card{height:112px;width:78px;}.lobby-packs .collect-card>strong{font-size:18px;}.lobby-tower svg{width:95px;height:95px;}}
@media(prefers-reduced-motion:reduce){.flip-coin.is-flipping,.rps-arena.is-playing .hand-pedestal,.is-pumping .pump-handle,.is-pumping .balloon-object,.pack-slot.is-revealed,.burst-rays{animation:none!important;}.balloon-object{transition:none;}}

/* Keep large card returns and tower payouts inside their slots. */
.pack-slot{container-type:inline-size;}
.pack-slot .collect-card>strong{font-size:clamp(9px,17cqi,25px);white-space:nowrap;line-height:1.2;}
.pack-slot .collect-card>strong.is-long{font-size:clamp(7px,12cqi,17px);}
.tower-floor{grid-template-columns:90px 1fr 23px;}
@media(max-width:700px){.tower-floor{grid-template-columns:75px 1fr 17px;}.tower-floor>span{font-size:9px;}.pack-slot .collect-card>span{font-size:clamp(5px,8cqi,8px);}}

.pack-display{width:100%;}

.flip-coin{position:relative;}
.coin-front{position:absolute;inset:13px;width:auto;height:auto;backface-visibility:hidden;}
.coin-back{transform:rotateX(180deg);}
.lobby-flip .coin-front{inset:9px;}
@media(max-width:700px){.game-workspace .extra-stage{min-height:0;padding:20px 16px;}.game-rps .extra-stage-value,.game-flip .extra-stage-value,.game-pump .extra-stage-value{margin:14px 0;}.game-rps .extra-stage-note,.game-flip .extra-stage-note,.game-pump .extra-stage-note{margin:12px auto;}.game-rps .extra-trail,.game-flip .extra-trail{margin:12px auto 0;}}
