/* Packs: recording-led geometry, independently drawn card symbols. */
.packs-body .packs-game-panel{display:block;height:auto;min-height:0;padding:0;border:0;background:#0f212e;overflow:hidden}
.packs-body .packs-recent-results,.packs-body .packs-result-grid{display:none}
.packs-body .pack-stage-surface{position:relative;container-type:inline-size;height:630px;overflow:hidden;background:#0f212e;border-radius:5px;--card-width:clamp(84px,16.667cqw,150px);--card-gap:clamp(8px,2cqw,18px)}
.packs-body .pack-collection{position:absolute;z-index:8;right:16px;top:16px;display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-height:34px;width:151px;padding:5px 12px 6px;border:0;border-radius:22px;background:#2f4553;color:#f1faff;font-size:11px;font-weight:700;cursor:pointer}
.packs-body .pack-collection strong{font:inherit;white-space:nowrap}.packs-body .collection-dot{width:6px;height:6px;border-radius:50%;background:#00e701}
.packs-body .pack-collection progress{display:block;flex:1 1 100%;appearance:none;height:3px;border:0;border-radius:2px;background:#526a79;overflow:hidden}
.packs-body .pack-collection progress::-webkit-progress-bar{background:#526a79}.packs-body .pack-collection progress::-webkit-progress-value{background:#d7e9f0}.packs-body .pack-collection progress::-moz-progress-bar{background:#d7e9f0}
.packs-body .pack-wrapper{position:absolute;z-index:3;left:50%;top:50%;width:clamp(130px,22.222cqw,200px);aspect-ratio:200/298;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 4px #08182055);pointer-events:none}
.packs-body .pack-foil{position:absolute;inset:30px 0 0;border:14px solid #247be0;border-top-color:#4898f3;border-right-color:#3489e8;border-bottom-color:#1659ae;border-radius:9px;background:#1471d3;box-shadow:inset 12px 0 #196ac3,inset -5px 0 #4d9afa55;color:#c3e6ff}
.packs-body .pack-foil::before{content:"";position:absolute;inset:15px 6px 14px;border-radius:5px;background:#1b77d9}
.packs-body .pack-cap{position:absolute;left:0;top:0;width:100%;height:31px;z-index:2;border-radius:9px 9px 4px 4px;background:#207ce3;box-shadow:inset 0 -5px #4695ed,inset 0 2px #438ee8;transform-origin:5% 100%}
.packs-body .pack-emblem{position:absolute;left:50%;top:45%;font-family:Georgia,serif;font-size:clamp(28px,4.2cqw,40px);font-weight:700;font-style:italic;transform:translate(-50%,-50%) rotate(-59deg)}
.packs-body .pack-emblem::before{content:"";position:absolute;width:140%;height:135%;left:-20%;top:-16%;border:1px solid #a5d7ff;transform:skew(-20deg);border-radius:2px}
.packs-body .pack-demo{position:absolute;left:0;right:0;bottom:18px;text-align:center;font-size:8px;letter-spacing:3px;color:#88baf5}
.packs-body .pack-cards{position:absolute;z-index:4;left:50%;top:50%;width:calc(var(--card-width)*3 + var(--card-gap)*2);height:calc(var(--card-width)*2.8 + 20px);transform:translate(-50%,-50%);display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,1fr);gap:20px var(--card-gap)}
.packs-body .pack-card{--rarity:#50e4f5;--rarity-light:#bdfaff;--rarity-dark:#1d8d9f;position:relative;grid-column:span 2;width:var(--card-width);height:calc(var(--card-width)*1.4);border:4px solid var(--rarity);border-radius:10px;background:#1a2e38;color:#e7f7ff;box-shadow:inset 0 0 0 2px #58778255,0 2px 4px #0002;transform-origin:50% 50%;min-width:0;container-type:inline-size}
.packs-body .pack-card:nth-child(4){grid-column:2/span 2}.packs-body .pack-card:nth-child(5){grid-column:4/span 2}
.packs-body .card-meta{height:16%;position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:2px;isolation:isolate;font-size:7cqw;font-weight:700;color:#052532;white-space:nowrap}
.packs-body .card-meta::before{content:"";position:absolute;z-index:-1;inset:-1px -1px 0;background:var(--rarity);clip-path:polygon(0 0,78% 0,64% 100%,0 100%)}
.packs-body .card-meta .card-id{color:#d5e3e9;font-weight:500;font-size:6cqw}
.packs-body .card-art{position:relative;display:grid;place-items:center;margin:2% 3% 0;height:49%;background:#2a424e;border-radius:2px;overflow:hidden;color:var(--rarity)}
.packs-body .card-art svg{width:91%;height:94%;filter:drop-shadow(1px 2px 1px #0a24364d)}
.packs-body .card-multiplier{display:grid;place-items:center;width:64%;height:15%;margin:7% auto 0;border-radius:30px;background:#2d4551;color:#ebfaff;font-weight:800;font-size:9cqw;white-space:nowrap}
.packs-body .card-footer{display:flex;position:absolute;bottom:3%;left:4%;right:4%;align-items:center;justify-content:space-between;color:#587482;font-size:6cqw}.packs-body .card-stars{color:#d2eff5;letter-spacing:1px;font-size:7cqw}
.packs-body .pack-new{position:absolute;z-index:3;right:-2px;top:-25px;border-radius:20px;background:#00e701;color:#063600;padding:3px 8px;font-size:11px;font-weight:800;white-space:nowrap}
.packs-body .pack-card.uncommon{--rarity:#168cff;--rarity-light:#b5dfff;--rarity-dark:#1156a8}
.packs-body .pack-card.rare{--rarity:#f31555;--rarity-light:#ffc5d6;--rarity-dark:#ab1143}
.packs-body .pack-card.epic{--rarity:#10e91b;--rarity-light:#d2ffad;--rarity-dark:#129a1c}
.packs-body .pack-card.legendary{--rarity:#34edc2;--rarity-light:#c2fff3;--rarity-dark:#188d7c}
.packs-body .pack-card.rainbow{--rarity:#ffc600;--rarity-light:#fff4a0;--rarity-dark:#c9800c;box-shadow:0 0 22px #ffc60044}
.packs-body .pack-total{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:150px;min-height:130px;padding:20px 12px 11px;border:6px solid #4c6270;border-radius:16px;background:#172d39;color:#b4ccd9;text-align:center;box-shadow:0 2px 6px #0003}
.packs-body .pack-total strong{display:block;font-size:23px;font-weight:750;line-height:1.2}.packs-body .pack-total strong::after{content:"";display:block;width:62px;height:2px;margin:15px auto;background:#3e5969}
.packs-body .pack-total span{display:block;font-size:17px;font-weight:700;overflow-wrap:anywhere}.packs-body .pack-total small{display:block;font-size:9px;margin-top:4px;color:#8eabbc}
.packs-body .pack-total.win{border-color:#00e701;color:#00e701}.packs-body .pack-total.win strong::after{background:#00e70166}
.packs-body .pack-rarities{position:absolute;z-index:7;display:flex;gap:5px;left:50%;bottom:20px;transform:translateX(-50%)}
.packs-body .pack-rarities span{display:block;width:18px;height:20px;border-radius:3px;background:#50e4f5;box-shadow:inset -2px 0 #0002}.packs-body .pack-rarities .uncommon{background:#168cff}.packs-body .pack-rarities .rare{background:#f31555}.packs-body .pack-rarities .epic{background:#10e91b}.packs-body .pack-rarities .legendary{background:#34edc2}.packs-body .pack-rarities .rainbow{background:#ffc600}
.packs-body .collection-hint{margin:0 0 8px;padding:8px;background:#2f4553;border-radius:5px;color:#cfdee9;font-size:11px;line-height:1.4}
.packs-body .crash-bet-panel{gap:12px}.packs-body .crash-bet-panel .segmented{margin-bottom:0}
.packs-body .mapping-panel{margin-block:1rem}.packs-body .mapping-wrap{max-height:24rem;overflow:auto}.packs-body .mapping-wrap table{min-width:42rem}
.packs-body .pack-collection-dialog{width:min(950px,calc(100vw - 24px));max-height:90vh;overflow:auto;background:#172d3a}
.packs-body .collection-filter{display:flex;gap:9px;align-items:center;margin:14px 0;color:#dce9f2}.packs-body .collection-filter input{width:18px;height:18px;accent-color:#1787ee}
.packs-body .collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:20px 12px;padding-top:14px}.packs-body .collection-grid .pack-card{width:100%;height:auto;aspect-ratio:5/7;grid-column:auto;--card-width:105px}.packs-body .collection-grid .pack-card.uncollected{filter:grayscale(1);opacity:.52}.packs-body .collection-grid .pack-card.uncollected .card-art{background:#203844}.packs-body .collection-grid .pack-card.uncollected .card-art::after{content:"?";font-size:38px;font-weight:800;color:#668698}.packs-body .collection-grid .pack-card.uncollected svg{display:none}.packs-body .collection-grid .pack-card.uncollected .card-footer span:first-child{color:#a6bfce}
@media(max-width:1100px){.packs-body .pack-stage-surface{height:580px}}
@media(max-width:760px){.packs-body .pack-stage-surface{height:540px}}
@media(max-width:600px){.packs-body .pack-stage-surface{height:440px}.packs-body .pack-collection{right:12px;top:12px;width:143px;font-size:10px}.packs-body .pack-card{border-width:3px;border-radius:7px}.packs-body .pack-cards{gap:18px var(--card-gap)}.packs-body .pack-new{top:-20px;font-size:9px;padding:2px 5px}.packs-body .pack-total{width:105px;min-height:100px;padding:12px 6px 8px;border-width:4px;border-radius:11px}.packs-body .pack-total strong{font-size:17px}.packs-body .pack-total strong::after{margin:9px auto;width:45px}.packs-body .pack-total span{font-size:13px}.packs-body .pack-total small{font-size:8px}.packs-body .pack-rarities{bottom:20px;gap:4px}.packs-body .pack-rarities span{width:15px;height:17px}.packs-body .pack-foil{border-width:10px}}
@media(prefers-reduced-motion:reduce){.packs-body *{animation:none!important;transition:none!important}}
.packs-body .card-meta{font-size:clamp(8px,7cqw,11px)}
.packs-body .card-meta .card-id{font-size:clamp(7px,6cqw,9px)}
.packs-body .card-multiplier{font-size:clamp(10px,9cqw,14px)}
.packs-body .card-footer{font-size:clamp(6px,6cqw,9px)}
.packs-body .card-stars{font-size:clamp(7px,7cqw,10px)}
.packs-body .pack-card.rare .card-stars,.packs-body .pack-card.epic .card-stars,.packs-body .pack-card.legendary .card-stars,.packs-body .pack-card.rainbow .card-stars{color:#ffd04b}
.packs-body .pack-collection-dialog{padding:0 18px 18px}
.packs-body .pack-collection-dialog .info-header{position:sticky;top:0;z-index:3;margin-inline:-18px;background:#172d3a}
