.case-roll{display:grid;grid-template-columns:260px minmax(0,1fr);width:100%;max-width:1420px;margin:auto;min-height:540px;background:#0c1925;border:1px solid #2b4556;border-radius:18px;color:#eaf6ff;overflow:hidden;box-sizing:border-box}
#gpPlay:has(.case-roll) #gpStage .gp-inner{width:100%;max-width:none;min-width:0}
#gpPlay:not(.fs):has(.case-roll) #gameArt{display:block!important;width:100%;min-width:0}
#gpPlay:has(.case-roll) #gameArt>.tg{width:100%!important;max-width:none;min-width:0}
#gpPlay:not(.fs):has(.case-roll) #gameArt>.tg>.case-roll{width:100%;max-width:none;margin:0}
.cr-controls{background:#1a2e3b;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}.cr-controls h2{margin:0;font-size:25px}.cr-controls label{display:grid;gap:7px;font-size:13px;color:#aac1ce}.cr-controls label[hidden]{display:none}.cr-input-row{display:flex;gap:5px;min-width:0}.cr-input-row input{flex:1;width:50px;min-width:0}.cr-controls input,.cr-controls select{box-sizing:border-box;min-width:0;max-width:100%;width:100%;height:44px;padding:9px;background:#0b1c28;border:1px solid #466375;border-radius:8px;color:#f1f7ff;font:700 14px system-ui}.cr-input-row .chip{padding:6px;min-width:34px;color:#e0f4ff;background:#2a4456;border-radius:6px;font-size:13px}.cr-modes{display:flex;gap:4px;background:#0a1b27;padding:4px;border-radius:24px}.cr-modes .chip{flex:1;background:transparent;border:0;color:#a5c5d4;border-radius:20px;padding:8px}.cr-modes .chip[aria-pressed=true]{background:#324b5c;color:#fff}.cr-wallet{display:grid;gap:4px;text-align:center}.cr-wallet small{font-size:12px;color:#a8bfcd}.cr-wallet b{font-size:21px}.cr-controls .btn{min-height:44px;padding:10px;font-size:14px}.cr-odds{font-size:12px;line-height:1.5;color:#adc4d0}.cr-odds summary{cursor:pointer;font-weight:700}.cr-odds #crOdds>div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #355163}.cr-odds span{display:flex;align-items:center;gap:7px}
.cr-stage{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-width:0;padding:22px 0;background:radial-gradient(ellipse at 50% 42%,#153449,#0c1925 75%)}.cr-status{text-align:center;font-size:14px;min-height:22px;padding:0 12px;color:#aec9d9}.cr-reel-window{position:relative;width:100%;height:230px;overflow:hidden;display:flex;align-items:center;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.cr-strip{display:flex;gap:12px;flex:none;will-change:transform}.cr-card{flex:0 0 144px;width:144px;position:relative;display:grid;justify-items:center;align-content:center;height:210px;gap:0;box-sizing:border-box}.cr-card svg{width:144px;height:168px;overflow:visible}.cr-card b{font-size:16px;border-radius:20px;background:#203a4c;padding:5px 12px;min-width:80px;text-align:center;z-index:1;font-variant-numeric:tabular-nums}.cr-lid{transform-box:fill-box;transform-origin:center;transition:transform .5s ease}.cr-prize{opacity:0;transform:translateY(30px) scale(.3);transform-origin:center;transition:transform .5s,opacity .4s}.cr-card.winner .cr-lid{transform:translateY(-30px) rotate(-10deg)}.cr-card.winner .cr-prize{opacity:1;transform:translateY(-8px) scale(1)}.cr-card.winner b{background:#366a54;color:#b8ffba;box-shadow:0 0 18px #64e89444}.cr-pointer{position:absolute;left:50%;top:7px;bottom:7px;width:2px;background:linear-gradient(#ffda63,transparent 22%,transparent 80%,#ffda63);z-index:3;pointer-events:none}.cr-pointer::before,.cr-pointer::after{content:'';position:absolute;left:-7px;border-left:8px solid transparent;border-right:8px solid transparent}.cr-pointer::before{top:0;border-top:12px solid #ffdc62}.cr-pointer::after{bottom:0;border-bottom:12px solid #ffdc62}.cr-result{min-height:36px;display:grid;place-items:center;text-align:center;padding:0 12px;color:#ffe792;font-size:clamp(18px,2vw,29px);font-weight:800}.cr-legend{display:flex;gap:7px}.cr-color{display:inline-block;flex:none;width:15px;height:15px;border-radius:4px;background:#638093}.cr-color.cyan{background:#43d3ec}.cr-color.blue{background:#3573ff}.cr-color.red{background:#ed3659}.cr-color.green{background:#55df3a}.cr-color.purple{background:#a65eff}.cr-color.gold{background:#ffc849}.cr-recent{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;padding:0 12px;min-height:30px}.cr-recent .chip{padding:5px 8px;font-size:12px;min-height:32px}.cr-fair{display:grid;gap:6px;text-align:center;padding:10px 20px;max-width:100%;box-sizing:border-box;color:#849fb2}.cr-fair code{font-size:11px;color:#86d5cc;overflow-wrap:anywhere}.cr-fair small{font-size:11px;line-height:1.4}
#gpPlay:has(.case-roll) #demoBar:empty{display:none!important}#gpPlay.fs:has(.case-roll) #fsBrand{padding:7px 12px}#gpPlay.fs:has(.case-roll) #gameArt.ga-fill>.tg>.case-roll{display:grid!important;width:min(100%,1500px)!important;max-width:1500px!important;flex:0 1 auto!important;min-height:0!important;height:min(760px,calc(100dvh - 90px));margin:auto!important;background:#0c1925!important}#gpPlay.fs:has(.case-roll) #gpStage,#gpPlay.fs:has(.case-roll) #gpInner{min-height:0}#gpPlay.fs:has(.case-roll) #gameArt{min-height:0;overflow:auto}#gpPlay.fs:has(.case-roll) .cr-controls{overflow:auto}
@media(max-width:760px){.case-roll{grid-template-columns:1fr;min-height:0}.cr-stage{order:0;padding:16px 0;gap:9px}.cr-controls{order:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.cr-controls h2,.cr-controls>.cr-modes,.cr-controls>#crPlay,.cr-controls>.cr-odds{grid-column:1/3}.cr-controls h2{font-size:21px}.cr-controls #crAutoOptions{grid-column:1/3}.cr-controls label{min-width:0}.cr-controls #crHistory{font-size:12px}.cr-wallet{justify-content:center}.cr-wallet b{font-size:17px}.cr-fair{padding:6px 14px}.cr-fair code{font-size:10px}.cr-result{font-size:20px}.cr-stage .cr-reel-window{height:210px}#gpPlay.fs:has(.case-roll){overflow:auto;padding-top:60px;justify-content:flex-start}#gpPlay.fs:has(.case-roll) #gameArt.ga-fill>.tg>.case-roll{height:auto;min-height:0!important;max-height:none}#gpPlay.fs:has(.case-roll) #gameArt.ga-fill>.tg{justify-content:flex-start!important}}
@media(max-width:600px){.cr-card{flex-basis:100px;width:100px;height:170px}.cr-card svg{width:100px;height:128px}.cr-card b{min-width:62px;font-size:14px}.cr-stage .cr-reel-window{height:180px}}
@media(prefers-reduced-motion:reduce){.cr-lid,.cr-prize{transition:none}}
