
.frost-icon{display:block;width:min(100%,128px);aspect-ratio:1;margin:auto;border-radius:21%;background:#140a4a url('/img/winter-icons.png') 50.3% 16.4% / 475% 311% no-repeat;box-shadow:0 9px 24px #10092a66}
.icon-upgrade{background-position:83% 16.4%}.icon-crash{background-position:16.5% 16.4%}.icon-battle{background-position:50.3% 79.5%}.icon-double{background-position:16.5% 79.5%}
.arena{max-width:1040px;margin:1rem auto;padding:clamp(16px,3vw,36px);border:1px solid #53778b66;border-radius:24px;background:radial-gradient(ellipse at top right,#28506566,transparent 55%),var(--bg-panel);color:var(--text)}
.battle-lobbies{display:grid;gap:10px;margin:0 0 18px}.battle-lobbies h3{margin:0 0 6px;font-size:1rem}.battle-lobby{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #6e9caa77;border-radius:14px;background:#112330}.battle-lobby.is-mine{border-color:#deb67899}.battle-lobby b{display:block}.battle-lobby small{display:block;opacity:.8;margin-top:4px;line-height:1.35}.battle-lobby .btn-open,.battle-lobby .btn-ghost{flex:0 0 auto;min-width:7.5rem}
.arena select,.arena input,.arena button:not(.btn-open){font:inherit;color:inherit;border:1px solid #7392a055;background:#192731;border-radius:10px;padding:.55rem}.arena button{cursor:pointer}.arena label{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.arena details{margin:18px 0}.arena summary{cursor:pointer;font-weight:750;padding:10px 0}.arena input{width:100%;margin-bottom:10px}
.arena-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(114px,1fr));gap:8px;max-height:350px;overflow:auto}.arena-library button:not([hidden]){display:grid;align-content:start;gap:5px}.arena-library button:hover,.lineup button:hover{border-color:#91d9ef}.arena-library .case-visual{width:100%;height:76px;min-height:0;margin:0}.arena-library img{max-height:74px;object-fit:contain}.arena-library small{color:#ffd598}
.lineup{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}.duel-lanes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.duel-lanes article{display:grid;gap:8px;text-align:center;min-width:0;background:#112330;border:1px solid #6e9caa77;border-radius:16px;padding:14px}.duel-lanes output{font-size:.85rem}.reel-window{position:relative;overflow:hidden;background:radial-gradient(ellipse,#47597766,transparent 72%)}.reel-window:before{content:'▼';position:absolute;top:0;left:50%;color:#ffd496;z-index:1}.reel-strip{width:100%;display:flex}.reel-strip img{flex:0 0 100%;width:100%;height:clamp(80px,15vw,150px);object-fit:contain}
.duel-victory{text-align:center;padding:22px;margin:12px 0 0;border-radius:16px;border:1px solid #deb67899;background:radial-gradient(ellipse at top,#85683e80,transparent 70%),#18242c;animation:podium .65s ease-out}.duel-victory small{letter-spacing:.2em;color:#f2c782}.duel-victory h2{margin:8px}.duel-victory strong{font-variant-numeric:tabular-nums}@keyframes podium{from{opacity:0;transform:translateY(15px) scale(.95)}}
.case-card .case-art-wrap{background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--case-tone,var(--accent)) 24%,transparent),transparent 66%),linear-gradient(135deg,#ffffff12,transparent 38%);box-shadow:inset 0 1px #ffffff24}.case-card .case-art{filter:drop-shadow(0 9px 8px #0006);transition:transform .25s}.case-card:hover .case-art{transform:translateY(-3px) rotate(-2deg)}
.winter-game-grid .winter-game-icon,.winter-play .winter-game-icon{width:100%;height:104px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(120deg,#100939bb,#0a486890),url('/img/holiday-night.jpg') center 45%/cover}.winter-game-icon i{font:normal 2.6rem/1 system-ui;filter:drop-shadow(0 3px 7px #081125)}.winter-game-lights .winter-game-icon,.winter-game-bells .winter-game-icon{background-position:right center}.winter-game-order .winter-game-icon,.winter-game-snow .winter-game-icon{background-position:left center}
.shop-art{position:relative;border-radius:14px;background:radial-gradient(ellipse,#40818c66,transparent 70%)}.shop-art img{display:block;margin:auto}.shop-art b{position:absolute;top:50%;left:46%;font-size:26px;transform:translate(-50%,-50%)}.shop-1{background:radial-gradient(ellipse,#aa704755,transparent 70%)}.shop-2{background:radial-gradient(ellipse,#8d6adb66,transparent 70%)}
@media(prefers-reduced-motion:reduce){.duel-victory,.case-card .case-art{animation:none;transition:none}}

.icon-crash,.winter-game-crash .winter-game-icon{background:#15104c url(/img/frost-crash.png) center/cover no-repeat;image-rendering:pixelated}
.icon-double,.winter-game-double .winter-game-icon{background:#15104c url(/img/frost-double.png) center/cover no-repeat;image-rendering:pixelated}
.icon-pairs,.winter-game-pairs .winter-game-icon{background:#15104c url(/img/frost-pairs.png) center/cover no-repeat;image-rendering:pixelated}
.icon-lights,.winter-game-lights .winter-game-icon{background:#15104c url(/img/frost-lights.png) center/cover no-repeat;image-rendering:pixelated}
.icon-snow,.winter-game-snow .winter-game-icon{background:#15104c url(/img/frost-snow.png) center/cover no-repeat;image-rendering:pixelated}
.icon-count,.winter-game-count .winter-game-icon{background:#15104c url(/img/frost-count.png) center/cover no-repeat;image-rendering:pixelated}
.icon-order,.winter-game-order .winter-game-icon{background:#15104c url(/img/frost-order.png) center/cover no-repeat;image-rendering:pixelated}
.icon-bells,.winter-game-bells .winter-game-icon{background:#15104c url(/img/frost-bells.png) center/cover no-repeat;image-rendering:pixelated}
.winter-game-grid .winter-game-icon,.winter-play .winter-game-icon{width:108px;height:108px;margin-inline:auto;box-shadow:0 8px 20px #07051f80}
.case-grid .case-card{--display-tone:var(--case-tone,#85dff8);border-color:color-mix(in srgb,var(--display-tone) 36%,#141b2a);background:linear-gradient(155deg,#1d2c40,#101522 66%);overflow:hidden}
.case-grid .case-art-wrap{background:radial-gradient(ellipse at 50% 71%,color-mix(in srgb,var(--display-tone) 38%,transparent),transparent 68%),repeating-linear-gradient(135deg,transparent 0 16px,#b0dcff10 17px 18px),#151e30;box-shadow:inset 0 -1px #b8d9ef33}
.case-grid .case-art-wrap::after{content:"";position:absolute;inset:12px;border:1px solid #e1f3ff35;clip-path:polygon(0 0,18% 0,18% 2%,2% 2%,2% 17%,0 17%,0 100%,100% 100%,100% 80%,98% 80%,98% 98%,0 98%);pointer-events:none}
.case-grid .case-card:hover,.case-grid .case-card:focus-visible{border-color:var(--display-tone)}
.case-grid .case-price{color:#ffdb95}

.icon-crash,.winter-game-crash .winter-game-icon{background:#080621 url('/img/avatar-crash.png') center/contain no-repeat;image-rendering:auto}
.icon-double,.winter-game-double .winter-game-icon{background:#080621 url('/img/avatar-double.png') center/contain no-repeat;image-rendering:auto}
.icon-snow,.winter-game-snow .winter-game-icon{background:#080621 url('/img/avatar-snow.png') center/contain no-repeat;image-rendering:auto}
.icon-count,.winter-game-count .winter-game-icon{background:#080621 url('/img/avatar-count.png') center/contain no-repeat;image-rendering:auto}
.icon-order,.winter-game-order .winter-game-icon{background:#080621 url('/img/avatar-order.png') center/contain no-repeat;image-rendering:auto}
.icon-bells,.winter-game-bells .winter-game-icon{background:#080621 url('/img/avatar-bells.png') center/contain no-repeat;image-rendering:auto}
.icon-battle,.winter-game-battle .winter-game-icon{background:#080621 url('/img/avatar-battle.png') center/contain no-repeat;image-rendering:auto}
.icon-pairs,.winter-game-pairs .winter-game-icon{background:#080621 url('/img/avatar-pairs.png') center/contain no-repeat;image-rendering:auto}
.icon-upgrade,.winter-game-upgrade .winter-game-icon{background:#080621 url('/img/avatar-upgrade.png') center/contain no-repeat;image-rendering:auto}
.icon-cases,.winter-game-cases .winter-game-icon{background:#080621 url('/img/avatar-cases.png') center/contain no-repeat;image-rendering:auto}

.winter-game-lights .winter-game-icon{background:#15104c url('/img/northern-garland.png') center/contain no-repeat;image-rendering:auto}

.winter-game-count .winter-game-icon{background:#15104c url('/img/winter-emblem-count.png') center/contain no-repeat;image-rendering:auto}

.icon-double { background: #080621 url('/img/double-gifts.png') center/contain no-repeat; }
.winter-game-count .winter-game-icon { background: #080621 url('/img/workshop-fire.png') center/contain no-repeat; }
.up-center-top{position:relative;border:1px solid #8299bf55;border-radius:24px;padding:24px 12px;background:radial-gradient(ellipse at 50% 0%,#474b884d,transparent 65%),linear-gradient(145deg,#18273a,#101625);color:#e3efff}
.up-wheel{isolation:isolate;border-radius:50%;background:repeating-conic-gradient(from -1deg,#b8dfff60 0 1deg,transparent 1deg 6deg);box-shadow:0 0 0 4px #101927,0 0 0 5px #91b7d43d,0 14px 32px #0005}
.up-wheel:before{content:'';position:absolute;inset:3%;border-radius:50%;background:radial-gradient(circle,#26354d,#101927)}
.up-wheel .up-ring{position:relative}.up-wheel .hub{background:radial-gradient(circle at 35% 20%,#30405a,#111928);align-content:center;gap:6px}
.up-bonus-key{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px auto;color:#d2eadf;font-size:.82rem}.up-bonus-key b{padding:3px 8px;border-radius:6px;background:#174835;color:#8dffc0}
.up-pointer-arm.spinning{transition-timing-function:cubic-bezier(.19,.02,.08,1)}.up-pointer-arm.spinning.is-fast{transition-timing-function:cubic-bezier(.16,.66,.14,1)}
.up-win-card{background:linear-gradient(145deg,#273950,#101927);border:1px solid #88b7d9;border-radius:22px;box-shadow:0 20px 75px #03081399}.up-win-card.is-jackpot{border:2px solid #53f29c}.up-win-card.is-jackpot b{color:#8dffc0}
.up-win-overlay.is-on .up-win-card{animation:upgrade-arrive .55s cubic-bezier(.16,.8,.23,1) both}
@keyframes upgrade-arrive{from{opacity:0;transform:translateY(24px) scale(.9) rotate(-2deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.up-win-overlay.is-on .up-win-card{animation:none}}

.weekly-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.weekly-table caption{text-align:left;font-weight:750;margin:.8rem 0}.weekly-table :is(th,td){padding:.6rem;border-bottom:1px solid #738fa144;overflow-wrap:anywhere}.weekly-table :is(td,th):last-child{text-align:right}.weekly-self{background:#70cceb20;color:var(--text);font-weight:700}
