.case-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:40px;border:1px solid #82719966;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 85% 55%,#64518a77,transparent 48%),linear-gradient(135deg,#27283b,#182b36);margin-bottom:20px}.case-hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.2;background-image:radial-gradient(#c4e5df 1px,transparent 1px);background-size:31px 37px}.case-kicker{font-size:12px;font-weight:800;letter-spacing:.13em;color:#cbb4ed}.case-hero h1{font-size:clamp(30px,3vw,52px);line-height:1.12;margin:16px 0}.case-hero h1 em{font-style:normal;color:#ffd49b}.case-hero p{font-size:17px;line-height:1.65;color:#d4cddd}.case-hero-chest{width:260px;flex-shrink:0;filter:drop-shadow(0 0 35px #ac8ade44);text-align:center;transform:rotate(-5deg);animation:case-float 6s ease-in-out infinite}.case-hero-chest svg{width:100%}.case-hero-chest>span{font-size:13px;letter-spacing:.25em;color:#e5d4ed}.case-status{font-size:15px;line-height:1.5;color:#bfb4cf;min-height:24px}.case-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.case-board,.case-builder{padding:24px;min-width:0}.case-builder h2{margin:10px 0 24px}.case-builder label{display:block;font-weight:700;font-size:15px;margin-bottom:8px}.case-builder select{font:inherit;font-size:16px;width:100%;padding:12px;border:1px solid #655676;border-radius:10px;background:#222330;color:inherit}.case-builder h3{font-size:16px;margin-top:22px}.case-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.case-filters button,.case-selection button{font:inherit;font-size:14px;padding:9px 13px;border:1px solid #655676;border-radius:20px;background:#292735;color:#dcd2e8}.case-filters button[aria-pressed=true]{background:#bca3db;color:#211d2d;border-color:#bca3db}.case-choice{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #65567655}.case-thumb{width:64px;flex-shrink:0}.case-thumb svg{width:100%}.case-choice strong,.case-choice span{display:block;font-size:15px}.case-choice span{color:#e3c89f;margin-top:4px}.case-choice button.case-odds{border:0;background:transparent;color:#bbabe0;font:inherit;font-size:13px;padding:5px 0}.case-add{margin-left:auto;flex-shrink:0;width:34px;height:34px;border:1px solid #9280ae;border-radius:10px;color:#e3cfed;background:#4b405c;font-size:22px}.case-selection{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow:auto}.case-selection button{font-size:12px;padding:6px 10px}.case-summary{padding:16px 0;border-top:1px solid #65567655}.case-summary>div{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font-size:15px}.case-summary dd{margin:0;font-weight:800;white-space:nowrap}.case-summary dt{color:#bfb6cd}.case-fine,.case-empty-copy{font-size:14px;line-height:1.65;color:#bcb3c8}.case-builder>.primary{width:100%;margin-top:12px;padding:13px;font-size:16px}.case-empty{padding:25px;text-align:center;color:#c4bbce}.case-empty>div{width:150px;margin:auto;opacity:.65}.case-empty h3{font-size:21px}.case-empty p{font-size:15px;line-height:1.6}.case-room-card{padding:20px;margin:12px 0;border:1px solid #6d5d7d66;border-radius:15px;background:linear-gradient(110deg,#342f4055,#252a3e55)}.case-room-card>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.case-room-card strong{font-size:16px}.case-state{color:#c3ddd6;font-size:14px}.case-seats{display:flex;gap:14px;justify-content:center;margin:24px 0}.case-seat{display:flex;flex-direction:column;align-items:center;gap:7px;max-width:85px;min-width:0}.case-avatar{width:48px;height:48px;border:2px solid #a58bbb;border-radius:50%;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;font-size:22px;background:#42364f;flex-shrink:0}.case-seat small{font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-seat.vacant{color:#b4abbc}.case-seat.vacant .case-avatar{border:2px dashed #807388;background:#252633}.case-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #65567655;padding-top:14px}.case-card-bottom small,.case-card-bottom strong{display:block}.case-card-bottom small{font-size:10px;letter-spacing:.1em;color:#baaaca;margin-bottom:5px}.case-room-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.case-room-title{text-align:center;padding:28px 0}.case-room-title h2{font-size:28px;margin-bottom:9px}.case-room-title strong{font-size:22px;color:#ffdfa9}.case-live-seats{display:grid;grid-template-columns:repeat(var(--case-seats),minmax(0,1fr));gap:14px}.case-player{padding:24px 14px;min-width:0;text-align:center;border:1px solid #6b5c7b88;border-radius:18px;background:radial-gradient(ellipse at 50% 50%,#53416655,transparent 70%),#232533}.case-player>.case-kicker{display:block;margin-bottom:16px}.case-player h3{font-size:18px;overflow-wrap:anywhere}.case-player>.case-avatar{width:65px;height:65px}.case-player>span:not(.case-avatar){font-size:13px;color:#c2b2ce}.case-player>.primary,.case-player>.quiet-button{margin-top:20px;font-size:14px;max-width:100%}.case-player.case-winner{border-color:#ddba78;background:radial-gradient(ellipse at 50% 50%,#c9a05c33,transparent 80%),#282738}.case-reel{height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:20px 0;background:linear-gradient(180deg,#151a25,#343148,#151a25);border:1px solid #71608555;border-radius:14px;overflow:hidden}.case-reel svg{width:160px;max-width:100%;opacity:.6}.case-reveal{font-size:65px;display:block;animation:case-reveal .6s ease-out}.case-reel>span:last-child{font-size:14px;color:#e7d8e9}.case-payout{color:#f8d99c;font-weight:800;font-size:18px}.case-room-controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:25px 0}.case-odds-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px}.case-odds-table td,.case-odds-table th{text-align:left;padding:12px 8px;border-bottom:1px solid #68577677}.case-dialog-close{float:right}#case-dialog{max-width:570px;width:calc(100% - 32px);font-size:16px;line-height:1.7}#case-dialog::backdrop{background:#0b101acc}.case-lobby-link{margin:20px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:24px;border:1px solid #8e76a977;border-radius:20px;background:linear-gradient(110deg,#483557,#23363c);text-align:left;color:inherit}.case-lobby-link strong{display:block;font-size:23px}.case-lobby-link span{font-size:15px;color:#cfbfd9}.case-lobby-link b{font-size:26px;color:#f6d494}@keyframes case-float{50%{transform:translateY(-10px) rotate(3deg)}}@keyframes case-reveal{from{transform:translateY(30px) rotate(-15deg);opacity:0}to{transform:none;opacity:1}}@media(max-width:1300px){.case-layout{grid-template-columns:minmax(0,1fr) 300px}.case-hero{padding:28px}.case-hero-chest{width:210px}}@media(max-width:900px){.case-layout{grid-template-columns:1fr}.case-builder{order:-1}.case-hero-chest{width:165px}.case-live-seats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.case-hero{padding:24px 20px}.case-hero h1{font-size:30px}.case-hero p{font-size:15px}.case-hero-chest{position:absolute;right:-35px;bottom:-12px;width:160px;opacity:.2;z-index:-1}.case-board,.case-builder{padding:18px}.case-live-seats{gap:8px}.case-player{padding:18px 8px}.case-reel{height:145px}.case-player h3{font-size:16px}.case-room-title h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.case-hero-chest,.case-reveal{animation:none}}

.case-preview-label{display:inline-block;border:1px solid #ddbf8599;border-radius:8px;padding:6px 10px;background:#6b533933;color:#f0d4a7;font-size:14px;margin-bottom:15px}.case-choice:nth-child(2) .case-thumb{filter:hue-rotate(40deg)}.case-choice:nth-child(3) .case-thumb{filter:hue-rotate(310deg)}
#case-page .case-hero h1{display:block}#case-page .case-hero h1 em{display:inline}#case-page .case-hero-chest svg,#case-page .case-thumb svg,#case-page .case-empty>div svg{display:block;width:100%;height:auto;max-width:100%}#case-page .case-reel svg{height:auto}#case-page .case-empty>div{max-width:100%}
/* The Treasure Vault: a dimensional signature shared by the game and lobby. */
#case-page .case-hero{min-height:380px;padding:40px 44px;background:radial-gradient(ellipse at 78% 52%,#7f69ac55,transparent 44%),radial-gradient(ellipse at 100% 100%,#5ea9ac33,transparent 55%),linear-gradient(115deg,#292739,#192d39)}
#case-page .case-hero>div:first-child{position:relative;z-index:2;flex:1;min-width:0}
#case-page .case-hero h1{font-size:clamp(32px,3.5vw,54px);margin:16px 0 8px}
#case-page .case-hero-tagline{font-family:var(--sketch-font);font-size:clamp(26px,3vw,42px);line-height:1.18;margin:0 0 18px;font-weight:600;display:block}
#case-page .case-hero-tagline em{font-style:normal;color:#f0cd91}
#case-page .case-hero p{margin:12px 0 22px;max-width:480px}
#case-page .case-hero-chest{position:relative;flex:0 0 43%;width:43%;max-width:480px;min-width:250px;perspective:1000px;animation:none;transform:none;filter:none;isolation:isolate}
#case-page .case-hero-chest .case-signature{position:relative;z-index:1;filter:drop-shadow(0 16px 22px #0c112966);transform:rotateY(-7deg) rotateX(5deg);transform-origin:50% 70%;animation:case-vault-turn 9s ease-in-out infinite}
.case-stage-halo{position:absolute;inset:5% 2% 4%;border:1px solid #cbb8f022;border-radius:50%;background:radial-gradient(ellipse,#c7a0f020,transparent 68%);transform:rotateX(52deg);box-shadow:0 0 70px #b5a0ef0a}
#case-page .case-stage-caption{display:block;font-size:11px;letter-spacing:.22em;color:#c7bdd9;margin-top:-15px;position:relative;z-index:2}
.case-signature .case-chest-float{animation:case-chest-bob 6s ease-in-out infinite;transform-origin:220px 180px}.case-signature .case-sparkles{animation:case-glimmer 4s ease-in-out infinite}
#case-page .case-thumb{width:67px;filter:drop-shadow(0 6px 8px #0004)}#case-page .case-choice:nth-child(2) .case-thumb{filter:hue-rotate(40deg) drop-shadow(0 6px 8px #0004)}#case-page .case-choice:nth-child(3) .case-thumb{filter:hue-rotate(310deg) drop-shadow(0 6px 8px #0004)}
#case-page .case-empty>div{width:185px;opacity:.8}
.case-treasures{padding:26px;margin:23px 0;overflow:hidden;background:linear-gradient(140deg,#292736,#202631)}
.case-treasures-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.case-treasures-heading h2{font-family:var(--sketch-font);font-size:28px;margin:8px 0;display:block}
.case-treasures-heading p{font-size:15px;color:#bfb8ce;line-height:1.6;margin:0;max-width:480px}
.case-chest-tabs{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}
.case-chest-tabs button{font:inherit;font-size:14px;min-height:42px;padding:10px 14px;border:1px solid #7d6e9255;border-radius:11px;background:#1a203080;color:#c9bfd6;cursor:pointer}
.case-chest-tabs button[aria-pressed=true]{background:#bba0d725;border-color:#baa0db;color:#f0e4fc;box-shadow:inset 0 1px 0 #e9d6ff1a}
.case-treasure-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.case-treasure-card{--item-accent:#b3b1cc;position:relative;text-align:center;padding:17px 13px 18px;border:1px solid #77738855;border-radius:17px;min-width:0;background:radial-gradient(ellipse at 50% 35%,#b2a4d01a,transparent 67%),linear-gradient(150deg,#34314180,#1c2630);isolation:isolate;transition:transform .25s,border-color .25s}
.case-treasure-card:before{content:"";position:absolute;inset:auto 16% -1px;height:2px;background:var(--item-accent);box-shadow:0 -8px 28px var(--item-accent);opacity:.6;z-index:-1}
.case-treasure-card:hover{transform:translateY(-4px);border-color:var(--item-accent)}
.case-rarity-1{--item-accent:#8fbfc8}.case-rarity-2{--item-accent:#c699ce}.case-rarity-3{--item-accent:#e6bd7a;background:radial-gradient(ellipse at 50% 35%,#d6ad5725,transparent 70%),linear-gradient(150deg,#3c344280,#202830);border-color:#ac8e5a66}
.case-item-rarity{font-size:10px;letter-spacing:.15em;font-weight:750;color:var(--item-accent)}
.case-item-stage{position:relative;display:grid;place-items:center;height:125px;margin:7px 0 4px;perspective:600px}
.case-item-stage:after{content:"";position:absolute;bottom:3px;width:75%;height:20px;border:1px solid #c9bdd326;border-radius:50%;transform:rotateX(45deg);z-index:-1}
#case-page .case-item-art{display:block;width:110px;height:121px;max-width:100%;filter:drop-shadow(0 9px 10px #0b112650);transform:rotateY(-12deg) rotateX(7deg);animation:case-item-bob 6s ease-in-out infinite}
.case-treasure-card:nth-child(2) .case-item-art{animation-delay:-1.5s}.case-treasure-card:nth-child(3) .case-item-art{animation-delay:-3s}.case-treasure-card:nth-child(4) .case-item-art{animation-delay:-4.5s}
.case-treasure-card h3{font-size:16px;margin:12px 0 9px;font-weight:650;display:block}.case-treasure-card>strong{display:block;font-size:22px;color:#f1e5f7;font-variant-numeric:tabular-nums}.case-treasure-card strong small{font:inherit;font-size:13px;font-weight:500;color:#b5abc3}.case-item-odds{display:block;font-size:13px;color:#beb5cd;margin-top:7px}
.case-treasures>.case-fine{margin:18px 0 0}
.case-lobby-scene{position:relative;display:block;width:100%;aspect-ratio:3/1;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 77% 45%,#9273b955,transparent 65%),linear-gradient(115deg,#292941,#1d3540)}
.case-lobby-scene:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#e8dcf7 1px,transparent 1px);background-size:39px 32px;opacity:.15;z-index:-1}
.case-lobby-copy{position:absolute;inset:14% auto auto 6%;z-index:2;display:grid;gap:5px;max-width:55%;text-align:left}
.case-lobby-copy>small{font-size:9px;letter-spacing:.13em;font-weight:750;color:#cbb7e6}
.case-lobby-copy>strong{font-family:var(--sketch-font);font-size:clamp(25px,2.5vw,43px);font-weight:750;line-height:1;display:block;color:#f9eddf}.case-lobby-copy strong span{color:#e8bd80}.case-lobby-copy>span{font-size:11px;color:#c1b9cc;margin-top:5px}
.case-lobby-art{position:absolute;width:55%;height:135%;right:-1%;top:-15%;filter:drop-shadow(0 7px 12px #15152888)}
#lobby-page .case-lobby-art svg{display:block;width:100%;height:100%}
@media(min-width:1250px){#lobby-page .lobby-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#lobby-page .lobby-grid .lobby-play{font-size:14px;padding:8px 11px}#lobby-page .lobby-grid .lobby-game-stat>strong{font-size:18px!important}.case-lobby-copy>strong{font-size:clamp(26px,2.2vw,40px)}}
@media(min-width:721px) and (max-width:1249px){#lobby-page .case-lobby-game{grid-column:1/-1}#lobby-page .case-lobby-scene{aspect-ratio:5/1}.case-lobby-art{width:42%;right:5%;top:-22%;height:150%}.case-lobby-copy>strong{font-size:42px}.case-lobby-copy>strong br{display:none}.case-lobby-copy>strong br:after{content:" "}.case-lobby-copy{gap:7px}.case-lobby-copy>span{font-size:14px}}
@media(max-width:1100px){#case-page .case-hero{padding:28px;min-height:330px}.case-treasures-heading{align-items:start;flex-direction:column;gap:16px}.case-chest-tabs{flex-shrink:1}.case-treasure-items{gap:10px}.case-treasure-card{padding:14px 8px}.case-treasure-card h3{font-size:15px}}
@media(max-width:650px){#case-page .case-hero{display:block;min-height:0;padding:26px 22px}#case-page .case-hero>div:first-child{max-width:100%}#case-page .case-hero h1{font-size:38px}#case-page .case-hero-tagline{font-size:30px}#case-page .case-hero p{font-size:15px}#case-page .case-hero-chest{position:relative;right:auto;bottom:auto;z-index:1;width:100%;max-width:330px;min-width:0;margin:6px auto 0;opacity:1}#case-page .case-stage-caption{font-size:10px;margin-top:-12px}.case-treasures{padding:20px 16px}.case-treasures-heading h2{font-size:26px}.case-chest-tabs{gap:5px}.case-chest-tabs button{font-size:12px;padding:9px 10px}.case-treasure-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.case-item-stage{height:115px}.case-treasure-card h3{font-size:15px}.case-item-rarity{font-size:9px}.case-lobby-copy>strong{font-size:33px}.case-lobby-copy>small{font-size:8px}.case-lobby-copy>span{font-size:10px;max-width:120px;line-height:1.4}}
@keyframes case-vault-turn{0%,100%{transform:rotateY(-7deg) rotateX(5deg)}50%{transform:rotateY(7deg) rotateX(1deg)}}
@keyframes case-chest-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes case-item-bob{0%,100%{transform:translateY(0) rotateY(-12deg) rotateX(7deg)}50%{transform:translateY(-5px) rotateY(8deg) rotateX(0)}}
@keyframes case-glimmer{0%,100%{opacity:.55}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){#case-page .case-hero-chest .case-signature,.case-signature .case-chest-float,.case-signature .case-sparkles,#case-page .case-item-art{animation:none}.case-treasure-card{transition:none}.case-treasure-card:hover{transform:none}}

/* Consistent Originals branding for all three lobby scenes. */
#lobby-page .lobby-art-frame{display:block;position:relative;width:100%;aspect-ratio:3/1;overflow:hidden}
#lobby-page .lobby-art-frame>svg{display:block;width:100%;height:auto;max-width:100%}
#lobby-page .lobby-art-frame>svg text{font-family:var(--sketch-font)}
#lobby-page .lobby-originals{font-family:var(--font);font-size:9px;font-weight:750;letter-spacing:.13em;color:#cbb7e6;line-height:1.4;white-space:nowrap}
#lobby-page .lobby-art-frame>.lobby-originals{position:absolute;left:6%;top:14%}
#lobby-page .case-lobby-copy{gap:5px}#lobby-page .case-lobby-copy>.lobby-originals{margin:0}
@media(max-width:650px){#lobby-page .lobby-originals{font-size:8px}}

.case-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.case-hero-actions .quiet-button{min-height:42px}.case-hero-actions [data-case="preview-opening"]{background:#c0a5de22;border:1px solid #bc9fdb77;color:#eee1fb}
#case-opening{--opening-slot:132px;position:fixed;box-sizing:border-box;width:calc(100% - 32px);max-width:1120px;max-height:94dvh;padding:22px 26px 18px;overflow:auto;isolation:isolate;border:1px solid #9f87ba99;border-radius:25px;background:radial-gradient(ellipse at 14% 42%,#7655b329,transparent 45%),radial-gradient(ellipse at 88% 45%,#4ea7ae26,transparent 45%),linear-gradient(155deg,#28283d,#151f2d 65%,#242437);color:#f3edf7;box-shadow:0 35px 130px #030918dc;font-family:var(--font);scrollbar-width:thin}
#case-opening::backdrop{background:#060b16dc;backdrop-filter:blur(8px)}
#case-opening .case-opening-head{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:15px;border-bottom:1px solid #b2a3ce26}
.case-opening-head h2{display:block;font:700 30px/1.1 var(--sketch-font);margin:6px 0 0}.case-opening-head h2>span{color:#ebc68c}.case-opening-head .case-kicker{font-size:10px;letter-spacing:.18em}
.case-show-controls{display:flex;align-items:center;gap:10px}.case-show-controls .quiet-button{font:600 12px var(--font);min-height:37px;padding:8px 11px;border:1px solid #b59ac94a;border-radius:10px;background:#b49bd510}.case-show-controls .icon-button{font-size:25px;min-width:37px;min-height:37px}.case-show-demo{font-size:9px;letter-spacing:.07em;color:#c6af83;white-space:nowrap;border:1px solid #b69a642e;padding:7px 9px;border-radius:8px}
.case-show-fireworks{position:absolute;inset:0;width:100%;height:100%;z-index:8;pointer-events:none;border-radius:inherit}.case-show-beams{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;border-radius:inherit}.case-show-beams:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#e5d9ff 1px,transparent 1px);background-size:43px 47px;opacity:.10}.case-show-beams i{position:absolute;top:-20%;left:6%;height:110%;width:24%;background:linear-gradient(#b5a1fa13,transparent);transform-origin:50% 0;clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);rotate:-28deg;animation:case-beam 9s ease-in-out infinite alternate}.case-show-beams i:nth-child(2){left:65%;rotate:22deg;animation-delay:-4s;background:linear-gradient(#80e1d712,transparent)}.case-show-beams i:nth-child(3){left:35%;rotate:8deg;opacity:.6;animation-delay:-7s}
.case-round-dashboard{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:14px 0 16px}.case-round-caption{display:grid;gap:5px;min-width:130px}.case-round-caption>strong{font-size:21px;font-weight:750}.case-round-caption>span{font-size:12px;color:#c5b6d4}.case-round-dashboard ol{display:flex;align-items:center;gap:12px;list-style:none;padding:0;margin:0;flex:1;max-width:370px}.case-round-dashboard li{position:relative;display:grid;grid-template-columns:1fr 20px;align-items:center;flex:1;min-width:0;padding:3px 7px 9px;border:1px solid #8171923b;border-radius:11px;background:#b2a0dc07;transition:border-color .3s,background .3s}.case-round-icon{display:block;width:48px;height:35px}.case-round-icon svg{display:block!important;width:100%!important;height:100%!important;filter:grayscale(1);opacity:.55}.case-round-dashboard li>b{font-size:15px;color:#9489a7}.case-round-meter{position:absolute;bottom:0;left:8%;width:0;height:2px;background:#c6a6f0;border-radius:5px;box-shadow:0 0 9px #ccabfa66}.case-round-dashboard li.is-active{border-color:#c2a5e2aa;background:#ba9bde13}.case-round-dashboard li.is-active svg,.case-round-dashboard li.is-done svg{filter:none;opacity:1}.case-round-dashboard li.is-active>b,.case-round-dashboard li.is-done>b{color:#e3d3fa}.case-round-dashboard li.is-active .case-round-meter{width:84%;animation:case-round-fill 4.8s linear both}.case-round-dashboard li.is-done .case-round-meter{width:84%;background:#9bd2c6;animation:none}
.case-opening-lanes{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.case-opening-lanes:before{content:"VS";position:absolute;z-index:4;left:50%;top:45%;translate:-50% -50%;font:700 12px var(--sketch-font);color:#b0a0c9;background:#202536;border:1px solid #82729666;border-radius:50%;width:33px;height:33px;display:grid;place-items:center}
.case-opening-lane{position:relative;border:1px solid #9b82b54a;border-radius:19px;overflow:hidden;min-width:0;background:radial-gradient(ellipse at 50% 25%,#8062ac15,transparent 75%),#1e253280;transition:border-color .4s,box-shadow .4s}.case-opening-lane:nth-child(2){background:radial-gradient(ellipse at 50% 25%,#5aa7a513,transparent 75%),#1e253280}
.case-opening-player{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid #a68abd27;background:linear-gradient(110deg,#8b6fac12,transparent)}.case-opening-player>strong{font-size:16px;min-width:0}.case-opening-player>b{margin-left:auto;font-size:25px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}.case-opening-player>b small{font-size:11px;color:#b7aac9;font-weight:500}.case-opening-avatar{flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #bca1e788;background:radial-gradient(circle at 30% 25%,#a38ac6,#58496f);font:700 22px var(--sketch-font);box-shadow:0 3px 12px #100d2033}.case-opening-lane:nth-child(2) .case-opening-avatar{border-color:#8cc5cb88;background:radial-gradient(circle at 30% 25%,#81b8be,#375c6d)}
.case-opening-stage{position:relative;height:clamp(205px,32vh,295px);isolation:isolate;background:radial-gradient(ellipse at 50% 50%,#b590d61f,transparent 65%)}.case-opening-stage:after{content:"";position:absolute;inset:auto 12% 73px;height:22px;border-radius:50%;border:1px solid #bfa6db25;background:#a998c408;transform:rotateX(55deg);z-index:-1}
.case-opening-chest{position:absolute;inset:0 8%;display:grid;place-items:center;transition:opacity .32s,transform .5s;perspective:900px}#case-opening .case-opening-chest>svg{display:block;width:100%;height:100%;max-height:265px;max-width:355px;filter:drop-shadow(0 13px 14px #080c1f88)}#case-opening .case-chest-float{animation:none}.case-opening-lid{transform-box:fill-box;transform-origin:center bottom;transition:transform .65s cubic-bezier(.22,.8,.3,1)}[data-phase="ready"] .case-opening-lid,[data-phase="sealed"] .case-opening-lid{transform:translateY(48px) scaleY(.25)}[data-phase="ready"] .case-opening-loot,[data-phase="sealed"] .case-opening-loot{opacity:0}.case-opening-loot{transition:opacity .5s}[data-phase="unlocking"] .case-opening-chest{animation:case-unseal .65s ease-out}
.case-opening-window{position:absolute;inset:0 0 72px;overflow:hidden;opacity:0;transition:opacity .25s;background:linear-gradient(180deg,#111a2930,transparent,#3c2e5140);isolation:isolate}.case-opening-window:before,.case-opening-window:after{content:"";position:absolute;z-index:3;top:0;bottom:0;width:22%;pointer-events:none}.case-opening-window:before{left:0;background:linear-gradient(90deg,#202535,transparent)}.case-opening-window:after{right:0;background:linear-gradient(-90deg,#202535,transparent)}
.case-opening-pointer{position:absolute;z-index:4;left:50%;top:0;bottom:0;width:2px;translate:-50% 0;background:linear-gradient(#e6c68a66,transparent 18%,transparent 80%,#e6c68a66)}.case-opening-pointer:before,.case-opening-pointer:after{content:"";position:absolute;left:-5px;border-inline:6px solid transparent;filter:drop-shadow(0 0 5px #edc47966)}.case-opening-pointer:before{top:0;border-top:9px solid #e9cc93}.case-opening-pointer:after{bottom:0;border-bottom:8px solid #e9cc93}
#case-opening .case-opening-strip{position:absolute;left:50%;top:0;display:flex;align-items:center;height:100%;width:max-content;gap:0;will-change:transform;transition:none!important}.case-opening-slot{position:relative;display:grid;place-items:center;align-content:center;flex:0 0 var(--opening-slot);width:var(--opening-slot);height:100%;gap:3px;isolation:isolate;opacity:.7;transition:opacity .25s,filter .25s}.case-slot-plinth{position:absolute;left:10%;right:10%;bottom:10%;height:17px;border:1px solid #af9ac733;border-radius:50%;transform:rotateX(42deg);background:#9c82ba0a;z-index:-1}#case-opening .case-opening-slot>svg{display:block;width:110px;height:125px;max-width:90%;filter:drop-shadow(0 14px 9px #080d1a99);transition:transform .4s cubic-bezier(.17,.8,.3,1)}.case-opening-slot>small{font-size:10px;color:#aea2bd;max-width:100%;text-align:center;white-space:nowrap}
[data-phase="rolling"] .case-opening-chest,[data-phase="revealed"] .case-opening-chest,[data-phase="complete"] .case-opening-chest{opacity:0;transform:scale(.75) translateY(-15px)}[data-phase="rolling"] .case-opening-window,[data-phase="revealed"] .case-opening-window,[data-phase="complete"] .case-opening-window{opacity:1}[data-phase="revealed"] .is-target,[data-phase="complete"] .is-target{opacity:1;filter:drop-shadow(0 0 15px #d4aafd55)}[data-phase="revealed"] .is-target>svg,[data-phase="complete"] .is-target>svg{transform:translateY(-2px) scale(1.14)}[data-phase="revealed"] .is-target>small,[data-phase="complete"] .is-target>small{opacity:0}
.case-opening-drop{position:absolute;inset:auto 7px 10px;display:grid;justify-items:center;align-content:center;gap:4px;min-height:53px}.case-drop-rarity{font-size:8px;letter-spacing:.17em;color:#b7abc9}.case-drop-rarity.case-rarity-1{color:#9bcdcf}.case-drop-rarity.case-rarity-2{color:#d0a8e4}.case-drop-rarity.case-rarity-3{color:#eccb8b}.case-opening-drop>strong{font-size:18px;line-height:1.1}.case-opening-drop>b{font-size:17px;line-height:1;color:#e7c787}.case-opening-drop>b small{font-size:10px;font-weight:400;color:#bcaec9}
.case-opening-history{display:flex;align-items:center;justify-content:center;gap:9px;padding:9px 12px;border-top:1px solid #a28bb32e;min-height:63px;background:#14202c66}.case-opening-history>button,.case-history-empty{position:relative;width:55px;height:48px;flex-shrink:0;display:grid;place-items:center;align-content:center;border:1px solid #a58fbd38;border-radius:11px;background:#6f578f10;cursor:pointer;padding:0}.case-history-empty{border-style:dashed;cursor:default}.case-history-empty>small{font-size:14px;color:#6c627d}#case-opening .case-opening-history svg{display:block;width:30px;height:33px}.case-opening-history button>small{font:600 9px var(--font);color:#cfb988;line-height:1;margin-top:-3px}.case-opening-history>button:hover,.case-opening-history>button.is-picked{border-color:#dac29d;box-shadow:0 0 10px #d7af7419}.case-open-inspection{margin:0;padding:7px;font-size:11px;text-align:center;color:#d5c2e6;background:#161c29}.case-open-inspection[hidden]{display:none}
.case-opening-result{position:relative;min-height:58px;display:flex;justify-content:center;align-items:center;gap:15px;margin:12px 0;text-align:center;color:#c4b9d3}.case-show-vs{font-size:10px;letter-spacing:.22em;color:#a295b5}.case-opening-result:has(.case-show-trophy){background:linear-gradient(90deg,transparent,#b1935424,transparent);border-block:1px solid #c2a46d35;border-radius:14px;padding:10px}.case-show-trophy{font-size:32px;color:#f0d199;filter:drop-shadow(0 0 12px #e5b96e66)}.case-opening-result>div{display:grid;gap:4px;text-align:left}.case-opening-result>div small{font-size:8px;letter-spacing:.16em;color:#cbb78e}.case-opening-result>div strong{font:700 26px/1.1 var(--sketch-font);color:#f4d7a0}.case-opening-result>b{font-size:22px;letter-spacing:.03em;font-variant-numeric:tabular-nums}.case-opening-result>b span{color:#6e657d;padding-inline:5px}.case-opening-lane.is-leading{border-color:#e5c383;box-shadow:0 0 25px #e5b35717,inset 0 0 24px #e4bc6310}
.case-opening-footer{position:relative;z-index:5;border-top:1px solid #ac92c32e;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:14px}.case-opening-footer>span{font-size:10px;color:#8e829f}.case-opening-footer>div{display:flex;gap:8px}.case-opening-footer button{min-height:37px;font-size:13px;padding:8px 14px}.case-opening-footer [data-opening="skip"]{border:1px solid #9b82b548;border-radius:9px;background:#83709710}.case-opening-footer button:disabled{opacity:.35}
@keyframes case-beam{to{rotate:24deg}}@keyframes case-round-fill{from{width:0}to{width:84%}}@keyframes case-unseal{0%,100%{translate:0}30%{translate:-3px}65%{translate:3px}85%{translate:0 -5px}}
@media(max-width:650px){#case-opening{--opening-slot:96px;width:calc(100% - 14px);max-height:96dvh;padding:15px 10px 12px;border-radius:18px}.case-opening-head h2{font-size:23px}.case-opening-head .case-kicker{font-size:8px}.case-show-controls{gap:4px;flex-wrap:wrap;justify-content:end;max-width:115px}.case-show-demo{font-size:7px;padding:4px 5px}.case-show-controls .quiet-button{font-size:10px;padding:6px 7px;min-height:31px}.case-show-controls .icon-button{font-size:22px;min-width:29px;min-height:29px}.case-round-dashboard{gap:10px;padding:12px 0}.case-round-caption{min-width:95px}.case-round-caption>strong{font-size:17px}.case-round-caption>span{font-size:10px}.case-round-dashboard ol{gap:5px;max-width:190px}.case-round-dashboard li{padding:2px 3px 6px;grid-template-columns:1fr 11px}.case-round-icon{width:32px;height:27px}.case-round-dashboard li>b{font-size:11px}.case-opening-lanes{gap:9px}.case-opening-lanes:before{width:23px;height:23px;font-size:9px}.case-opening-player{gap:5px;padding:9px 7px;flex-wrap:wrap}.case-opening-avatar{width:25px;height:25px;font-size:17px}.case-opening-player>strong{font-size:12px}.case-opening-player>b{flex-basis:100%;text-align:center;margin:3px 0 0;font-size:24px}.case-opening-stage{height:228px}.case-opening-window{bottom:75px}#case-opening .case-opening-slot>svg{width:84px;height:105px}.case-opening-slot>small{font-size:8px}.case-opening-drop>strong{font-size:14px}.case-opening-drop>b{font-size:18px}.case-opening-history{gap:5px;padding:7px 4px;min-height:57px}.case-opening-history>button,.case-history-empty{width:39px;height:42px}#case-opening .case-opening-history svg{width:26px;height:29px}.case-opening-result{gap:9px;margin:10px 0;min-height:48px}.case-opening-result>div strong{font-size:21px}.case-opening-result>b{font-size:17px}.case-show-trophy{font-size:25px}.case-opening-footer{flex-wrap:wrap;gap:8px;justify-content:center;padding-top:10px}.case-opening-footer>span{font-size:9px;flex-basis:100%;text-align:center}.case-opening-footer button{font-size:12px;min-height:36px}.case-open-inspection{font-size:9px}}
@media(prefers-reduced-motion:reduce){#case-opening *{animation:none!important;transition:none!important}.case-show-beams{display:none}}

.case-show-pyro{position:absolute;inset:0;z-index:9;overflow:hidden;pointer-events:none;border-radius:inherit}.case-pyro-burst{position:absolute;width:1px;height:1px}.case-pyro-burst>i{position:absolute;display:block;left:0;top:0;width:3px;height:23px;border-radius:50%;background:linear-gradient(transparent,var(--spark));box-shadow:0 0 5px var(--spark);opacity:0;animation:case-spark-flight var(--life) cubic-bezier(.12,.55,.26,1) var(--delay) both;will-change:transform,opacity}@keyframes case-spark-flight{0%{transform:translate(0,0) rotate(var(--angle)) scale(.1);opacity:0}7%{opacity:1}65%{opacity:.85}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--angle)) scale(.25);opacity:0}}@media(prefers-reduced-motion:reduce){.case-show-pyro{display:none}}

@keyframes case-spark-flight{0%{transform:translate(0,0) rotate(var(--angle)) scale(.85);opacity:0}7%{opacity:1}65%{opacity:.95}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--angle)) scale(.45);opacity:0}}

/* Opening arena: team-based layout, including eight-seat visual demonstration. */
#case-opening{--opening-slot:190px;width:calc(100vw - 36px);max-width:1600px;height:min(1040px,95dvh);max-height:95dvh;padding:22px 26px;overflow:hidden;border-radius:24px}
#case-opening[open]{display:flex;flex-direction:column;gap:16px}
#case-opening .case-opening-head{flex:none;padding-bottom:14px;gap:20px}
#case-opening .case-opening-head h2{font-size:36px}
#case-opening .case-show-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:none;flex-wrap:nowrap}
#case-opening .case-layout-control{display:grid;gap:5px;font-size:11px;color:#c4bbd2}
#case-opening .case-layout-control select{font:600 14px var(--font);color:#f8f0ff;background:#292b40;border:1px solid #9683af66;border-radius:9px;padding:9px 30px 9px 12px;min-height:39px}
#case-opening .case-show-demo{font-size:10px;white-space:nowrap}
#case-opening .case-round-dashboard{flex:none;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:22px;padding:14px 20px;background:#090f1e55;border:1px solid #c1a9dc26;border-radius:15px;margin:0}
#case-opening .case-round-chest{display:grid;gap:4px}
#case-opening .case-round-chest small{font-size:10px;letter-spacing:.17em;color:#b7a4cb}
#case-opening .case-round-chest strong{font-size:19px;color:#f6dfb8}
#case-opening .case-round-center{display:grid;justify-items:center;gap:10px}
#case-opening .case-round-center>strong{font-size:18px;font-variant-numeric:tabular-nums}
#case-opening #case-show-rounds{display:flex;justify-content:center;gap:8px;width:100%;max-width:220px;margin:0;padding:0;list-style:none}
#case-opening #case-show-rounds li{display:block;flex:1;height:5px;padding:0;border:0;border-radius:4px;background:#5c516b;min-width:0;overflow:hidden}
#case-opening #case-show-rounds li.is-active{background:#e8c18b;box-shadow:0 0 12px #efc57c77}
#case-opening #case-show-rounds li.is-done{background:#91c6c2}
#case-opening .case-round-status{justify-self:end;font-size:13px;color:#c8bdd7}
#case-opening .case-team-arena{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;overflow:auto;scrollbar-width:thin;scrollbar-color:#79668e transparent;padding:2px 3px 4px}
#case-opening .case-team-arena:before{display:none}
#case-opening .case-team{--team:#d6a7d9;min-width:0;border:1px solid #b38cbe55;border-radius:19px;background:linear-gradient(155deg,#44325155,#191e2b99);overflow:hidden;transition:border-color .4s,box-shadow .4s}
#case-opening .case-team-tide{--team:#8dcacb;border-color:#7ebdc04d;background:linear-gradient(155deg,#21465255,#191e2b99)}
#case-opening .case-team-header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #ad97bf33;gap:12px;background:#ffffff04}
#case-opening .case-team-header>span{display:flex;align-items:center;gap:10px;min-width:0}
#case-opening .case-team-header i{display:grid;place-items:center;font-style:normal;font-weight:800;font-size:18px;color:var(--team);background:#141d2d;border:1px solid var(--team);width:31px;height:31px;border-radius:9px}
#case-opening .case-team-header strong{font-size:15px;letter-spacing:.13em;color:var(--team)}
#case-opening .case-team-header small{font-size:12px;color:#bdafcd;font-weight:400;white-space:nowrap}
#case-opening .case-team-header>b{font-size:22px;white-space:nowrap;font-variant-numeric:tabular-nums}
#case-opening .case-team-players{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}
#case-opening.is-squad .case-team-players{grid-template-columns:repeat(2,minmax(0,1fr))}
#case-opening .case-opening-lane{border:1px solid #a18bb52e;border-radius:13px;background:#131a2888;box-shadow:0 8px 18px #060b1b22;min-width:0}
#case-opening .case-opening-player{display:flex;flex-wrap:nowrap;gap:9px;padding:11px 12px;min-height:46px;box-sizing:border-box;background:#ffffff03}
#case-opening .case-opening-player>strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#case-opening .case-opening-player>b{margin:0 0 0 auto;flex-basis:auto;font-size:19px;text-align:right}
#case-opening .case-opening-player>b small{font-size:10px}
#case-opening .case-opening-avatar{width:28px;height:28px;font:700 16px var(--font);border-color:var(--team);background:#4d3f61;color:#f2defb}
#case-opening .case-team-tide .case-opening-avatar{background:#305565;color:#cbf6f1}
#case-opening .case-opening-stage{height:clamp(255px,35dvh,375px);background:radial-gradient(ellipse at 50% 45%,#a78db31a,transparent 72%)}
#case-opening .case-opening-stage:after{display:none}
#case-opening .case-opening-chest{inset:0 10% 48px}
#case-opening .case-opening-chest>svg{max-width:410px;max-height:330px}
#case-opening .case-opening-window{inset:12px 0 70px;background:none;overflow:hidden}
#case-opening .case-opening-window:before,#case-opening .case-opening-window:after{width:18%;background:linear-gradient(90deg,#171f2ee6,transparent)}
#case-opening .case-opening-window:after{background:linear-gradient(-90deg,#171f2ee6,transparent)}
#case-opening .case-reel-focus{position:absolute;z-index:2;top:10px;bottom:10px;left:50%;width:calc(var(--opening-slot) - 12px);transform:translateX(-50%);border:1px solid #ebd8a975;border-radius:17px;box-shadow:0 0 24px #f2cf8a12,inset 0 0 20px #e0d5eb08;pointer-events:none}
#case-opening .case-opening-pointer{top:3px;bottom:auto;width:10px;height:10px;border:1px solid #ffe8b9;border-radius:2px;background:#e7c586;transform:rotate(45deg);box-shadow:0 0 12px #e5b97766}
#case-opening .case-opening-pointer:before,#case-opening .case-opening-pointer:after{display:none}
#case-opening .case-opening-slot{height:calc(100% - 24px);margin:12px 0;opacity:.64;transition:opacity .35s,filter .35s;box-sizing:border-box}
#case-opening .case-opening-slot:before{content:"";position:absolute;z-index:-1;inset:1px 8px;border-radius:16px;border:1px solid #b29bc52e;background:radial-gradient(ellipse at 50% 35%,#82689b24,transparent 75%),linear-gradient(145deg,#46405a55,#252a3c99)}
#case-opening .case-opening-slot.case-rarity-1:before{border-color:#8accc23b;background:radial-gradient(ellipse,#6ec7bf22,transparent 80%),#26384255}
#case-opening .case-opening-slot.case-rarity-2:before{border-color:#c89ee655;background:radial-gradient(ellipse,#ba86e42a,transparent 80%),#3a294b55}
#case-opening .case-opening-slot.case-rarity-3:before{border-color:#efcd7a66;background:radial-gradient(ellipse,#edc26230,transparent 80%),#493d2755}
#case-opening .case-opening-slot>svg{width:164px;height:184px;max-width:88%;max-height:84%;filter:drop-shadow(0 13px 12px #02091899)}
#case-opening[data-phase="revealed"] .case-opening-slot:not(.is-target),#case-opening[data-phase="complete"] .case-opening-slot:not(.is-target){opacity:.24;filter:saturate(.5)}
#case-opening[data-phase="revealed"] .case-opening-slot.is-target,#case-opening[data-phase="complete"] .case-opening-slot.is-target{opacity:1;filter:drop-shadow(0 0 14px #e6c67a33)}
#case-opening[data-phase="revealed"] .case-opening-slot.is-target>svg,#case-opening[data-phase="complete"] .case-opening-slot.is-target>svg{transform:translateY(-3px) scale(1.08)}
#case-opening .case-opening-drop{inset:auto 9px 10px;min-height:48px;gap:6px}
#case-opening .case-opening-drop>strong{font-size:19px;text-align:center}
#case-opening .case-opening-drop>b{font-size:20px}
#case-opening .case-opening-drop>b small{font-size:11px}
#case-opening .case-opening-history{gap:8px;min-height:62px;padding:8px;background:#0f182a66}
#case-opening .case-opening-history>button,#case-opening .case-history-empty{height:48px;width:52px;border-radius:9px}
#case-opening .case-opening-history svg{width:31px;height:32px}
#case-opening .case-opening-history button>small{font-size:10px}
#case-opening .case-open-inspection{font-size:12px;padding:8px;line-height:1.4}
#case-opening .case-team.is-winning{border-color:#f2d092;box-shadow:0 0 25px #e7bd631a,inset 0 0 22px #e4bc6310}
#case-opening .case-opening-result{flex:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,1.3fr) minmax(0,1fr);align-items:center;gap:16px;min-height:105px;padding:13px 20px;margin:0;border:1px solid #b79ccb33;border-radius:16px;background:linear-gradient(90deg,#77548018,#151d2d88,#43858e18)}
#case-opening .case-score-column{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:center;gap:3px 7px;text-align:center}
#case-opening .case-score-column>span{grid-column:1/-1;font-size:12px;letter-spacing:.18em;color:#cda6d3;font-weight:700}
#case-opening .case-score-tide>span{color:#9cd0cc}
#case-opening .case-score-column>strong{font:800 40px/1.1 var(--font);color:#f4e7ff;font-variant-numeric:tabular-nums}
#case-opening .case-score-column>small{font-size:12px;letter-spacing:0;color:#ac9fbd}
#case-opening .case-score-column.is-winning>strong{color:#ffe0a1;text-shadow:0 0 25px #e8b46433}
#case-opening .case-score-outcome{display:grid;justify-items:center;gap:3px;text-align:center}
#case-opening .case-score-outcome>.case-score-crown{font-size:26px;line-height:1;color:#dfbe85}
#case-opening .case-score-outcome>strong{font:700 23px/1.2 var(--sketch-font);color:#f5dfb9}
#case-opening .case-score-outcome>small{font-size:9px;letter-spacing:.16em;color:#ad9dc2}
#case-opening .case-opening-footer{flex:none;flex-wrap:nowrap;justify-content:space-between;gap:12px;padding-top:0;border:0}
#case-opening .case-opening-footer>span{flex-basis:auto;font-size:12px;text-align:left;color:#b4a7c5}
#case-opening .case-opening-footer button{font:600 14px var(--font);min-height:39px}
#case-opening.is-squad{--opening-slot:140px}
#case-opening.is-squad .case-opening-stage{height:225px}
#case-opening.is-squad .case-opening-slot>svg{width:120px;height:132px}
#case-opening.is-squad .case-opening-drop>strong{font-size:15px}
#case-opening.is-squad .case-opening-drop>b{font-size:18px}
#case-opening.is-squad .case-team-players{padding:11px;gap:10px}
#case-opening[data-team-size="4"] .case-opening-stage{height:190px}
#case-opening[data-team-size="4"] .case-opening-history{min-height:50px;padding:5px}
#case-opening[data-team-size="4"] .case-opening-history>button,#case-opening[data-team-size="4"] .case-history-empty{width:42px;height:40px}
#case-opening[data-team-size="4"] .case-opening-history svg{width:26px;height:26px}
@media(max-width:1000px){#case-opening{padding:18px;--opening-slot:160px}#case-opening .case-team-arena{gap:12px}#case-opening .case-team-players{padding:10px}#case-opening.is-squad{--opening-slot:115px}#case-opening.is-squad .case-opening-player{gap:6px;padding:9px 7px}#case-opening.is-squad .case-opening-player>strong{font-size:12px}#case-opening.is-squad .case-opening-player>b{font-size:15px}#case-opening.is-squad .case-opening-avatar{width:22px;height:22px;font-size:12px}#case-opening .case-team-header small{display:none}#case-opening .case-opening-slot>svg{width:140px;height:155px}#case-opening.is-squad .case-opening-slot>svg{width:100px;height:112px}}
@media(max-width:650px){#case-opening{width:calc(100vw - 12px);padding:13px 10px;height:97dvh;max-height:97dvh;border-radius:17px;--opening-slot:130px}#case-opening[open]{gap:10px}#case-opening .case-opening-head{align-items:start;padding-bottom:9px;gap:8px}#case-opening .case-opening-head h2{font-size:24px}#case-opening .case-opening-head .case-kicker{font-size:8px}#case-opening .case-show-controls{display:grid;grid-template-columns:1fr auto;gap:6px;max-width:190px}#case-opening .case-layout-control{grid-row:1;grid-column:1;font-size:9px;gap:3px}#case-opening .case-layout-control select{font-size:12px;padding:6px;min-height:31px;width:145px}#case-opening .case-show-controls .icon-button{grid-row:1;grid-column:2;align-self:end}#case-opening .case-show-demo{grid-row:2;grid-column:1;font-size:8px;justify-self:start}#case-opening .case-show-controls .quiet-button{grid-row:2;grid-column:1/-1;justify-self:end;font-size:10px;padding:3px 5px;min-height:24px}#case-opening .case-round-dashboard{padding:11px 10px;gap:12px;grid-template-columns:1fr 1fr}#case-opening .case-round-chest strong{font-size:15px}#case-opening .case-round-chest small{font-size:9px}#case-opening .case-round-center>strong{font-size:15px}#case-opening .case-round-status{display:none}#case-opening .case-team-arena{grid-template-columns:minmax(0,1fr);gap:12px}#case-opening .case-team-header{padding:10px 12px}#case-opening .case-team-header strong{font-size:13px}#case-opening .case-team-header small{display:block;font-size:10px}#case-opening .case-team-header>b{font-size:19px}#case-opening .case-team-header i{width:26px;height:26px;font-size:15px}#case-opening .case-opening-stage{height:245px}#case-opening .case-opening-player>strong{font-size:14px}#case-opening .case-opening-player>b{font-size:18px}#case-opening .case-opening-slot>svg{width:120px;height:144px}#case-opening.is-squad{--opening-slot:110px}#case-opening.is-squad .case-team-players{padding:8px;gap:7px}#case-opening.is-squad .case-opening-stage{height:191px}#case-opening.is-squad .case-opening-player{display:grid;grid-template-columns:auto 1fr;gap:4px;padding:8px}#case-opening.is-squad .case-opening-player>b{grid-column:1/-1;text-align:center;margin:3px 0 0;font-size:19px}#case-opening.is-squad .case-opening-drop>strong{font-size:13px}#case-opening.is-squad .case-opening-drop>b{font-size:17px}#case-opening.is-squad .case-opening-history{gap:4px;padding:5px;min-height:49px}#case-opening.is-squad .case-opening-history>button,#case-opening.is-squad .case-history-empty{width:35px;height:38px}#case-opening.is-squad .case-opening-history svg{width:24px;height:24px}#case-opening .case-opening-result{grid-template-columns:minmax(0,1fr) minmax(105px,1.25fr) minmax(0,1fr);gap:6px;min-height:86px;padding:9px 6px}#case-opening .case-score-column{gap:4px;grid-template-columns:1fr}#case-opening .case-score-column>span{font-size:9px;letter-spacing:.12em}#case-opening .case-score-column>strong{font-size:29px}#case-opening .case-score-column>small{font-size:10px}#case-opening .case-score-outcome>strong{font-size:17px}#case-opening .case-score-outcome>small{font-size:7px}#case-opening .case-score-outcome>.case-score-crown{font-size:22px}#case-opening .case-opening-footer{gap:5px}#case-opening .case-opening-footer>span{font-size:10px;max-width:110px}#case-opening .case-opening-footer>div{gap:5px}#case-opening .case-opening-footer button{font-size:12px;min-height:36px;padding:7px 9px}}

/* Keep four-player teams within a generous desktop arena. */
#case-opening .case-opening-lane{contain:paint;isolation:isolate}
#case-opening[data-team-size="4"] .case-team-header{padding:11px 14px}
#case-opening[data-team-size="4"] .case-opening-player{padding:7px 10px;min-height:40px}
#case-opening[data-team-size="4"] .case-opening-avatar{width:24px;height:24px;font-size:14px}
#case-opening[data-team-size="4"] .case-opening-stage{height:170px}
#case-opening[data-team-size="4"] .case-opening-window{bottom:58px}
#case-opening[data-team-size="4"] .case-opening-drop{bottom:5px;min-height:45px;gap:4px}
#case-opening[data-team-size="4"] .case-opening-history{min-height:44px;padding:4px}
#case-opening[data-team-size="4"] .case-opening-history>button,#case-opening[data-team-size="4"] .case-history-empty{height:34px;width:38px}
#case-opening[data-team-size="4"] .case-opening-history svg{height:23px;width:24px}
@media(max-width:650px){#case-opening[data-team-size="4"] .case-opening-player{padding:8px;min-height:63px}#case-opening[data-team-size="4"] .case-opening-stage{height:191px}#case-opening[data-team-size="4"] .case-opening-window{bottom:65px}#case-opening[data-team-size="4"] .case-opening-history{min-height:44px}#case-opening[data-team-size="4"] .case-opening-history>button,#case-opening[data-team-size="4"] .case-history-empty{width:34px}#case-opening .case-team-arena{overscroll-behavior:contain}#case-opening .case-show-demo{max-width:88px}#case-opening .case-show-controls .quiet-button{max-width:85px}}

#case-opening .case-team-arena{grid-auto-rows:max-content}
