/* CASE_DETAILS_POLISH_OCT29 — ordinary themes, guarded by the page module. */
/* Frame the visible chest using the bounds of the original subscription PNG. */
@supports (object-view-box: inset(0)) {
    .case-v2-image-wrap > .case-v2-image[data-case-art-src^="/subscription-cases/"] {
        width: min(78%, 244px);
        height: min(74%, 232px);
        max-width: min(78%, 244px);
        max-height: min(74%, 232px);
        object-view-box: var(--md-art-crop);
        object-fit: contain !important;
        transform: none;
    }
}
@supports not (object-view-box: inset(0)) {
    .case-v2-image-wrap > .case-v2-image[data-case-art-src^="/subscription-cases/"] {
        --case-hero-scale: 1.18;
        --case-hero-hover-scale: 1.20;
    }
}
/* CASE_ITEMS_SMOOTH_NOV1: remove animation tracks outside the viewport budget.
   Visible/focused prizes retain their existing theme and graphics settings. */
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within),
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within)::before,
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within)::after,
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within) *,
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within) *::before,
.case-v2-page.md-case-items-budget .case-v2-item:not(.md-case-item-near):not(:hover):not(:focus-within) *::after{animation:none!important;will-change:auto!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn){position:relative;isolation:isolate;overflow:hidden;min-height:46px;padding:11px 20px;border-radius:12px!important;font-size:13px;font-weight:850;letter-spacing:0;text-transform:none;transform:none!important;transition:background-position .7s ease,filter .4s ease,border-color .3s ease!important;gap:8px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions .case-v2-open-btn{background:linear-gradient(180deg,#0000,#0002),linear-gradient(110deg,var(--accent),var(--accent-hover),var(--accent))!important;background-size:100% 100%,200% 100%!important;color:#04170c!important;border:1px solid var(--accent-hover)!important;box-shadow:inset 0 1px #ffffff35,0 0 8px rgba(var(--accent-rgb),.1)!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions .case-v2-fast-btn{background:rgba(var(--accent-rgb),.04)!important;border:1px solid rgba(var(--accent-rgb),.35)!important;color:var(--accent)!important;box-shadow:inset 0 1px #ffffff07!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn)::before{content:''!important;display:block!important;position:absolute;inset:-50% -15%;pointer-events:none;transform:translateX(-140%);background:linear-gradient(105deg,transparent 38%,#ffffff38 49%,transparent 61%);z-index:0}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn)::after{display:none!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn)>span{position:relative;z-index:1;font-size:inherit}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn):not(:disabled):hover{background-position:0 0,100% 0!important;animation:md-case-action-pulse 2.4s ease-in-out infinite!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn):not(:disabled):hover::before{animation:md-case-action-sheen 2.8s ease-in-out infinite!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn):disabled{animation:none!important;opacity:.45;filter:none!important;cursor:not-allowed}
.md-case-chest-icon{display:block;width:25px;height:25px;flex:0 0 25px;overflow:visible}.md-case-chest-accent{flood-color:var(--accent)}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page #roulette-result.win{color:#f2f4f6!important;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:0}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page #roulette-result.win b{color:#fff!important;font-weight:800}
.md-case-result-mark{display:inline-block;width:22px;height:22px;vertical-align:-5px;margin-right:6px;color:var(--accent);filter:drop-shadow(0 0 5px rgba(var(--accent-rgb),.18))}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-image-wrap{isolation:isolate;overflow:visible}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-image-wrap>.case-v2-image{animation:md-case-hero-float 6s ease-in-out infinite!important;will-change:translate}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-image-wrap>.case-v2-ring{display:block!important;position:absolute!important;width:340px!important;height:340px!important;max-width:110vw!important;max-height:none!important;inset:auto!important;object-fit:contain;opacity:.7!important;filter:brightness(1.15) saturate(1.12) drop-shadow(0 0 12px rgba(var(--case-glow-r2),var(--case-glow-g2),var(--case-glow-b2),.24))!important;z-index:0;animation:md-case-ring-turn 36s linear infinite!important;pointer-events:none;transform-origin:center}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items .cv2-item-img{height:132px;padding:8px 0 5px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items>.case-v2-item>.cv2-item-price{position:relative;inset:auto;align-self:flex-start;width:fit-content;max-width:calc(100% - 18px);margin:0 9px 3px;padding:4px 7px;font-size:11px;line-height:14px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items .cv2-item-name{height:auto;min-height:0;padding:0 9px 3px;margin:0;font-size:12px;line-height:16px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items .cv2-item-server{height:auto;min-height:0;padding:0 9px 7px;font-size:10px;line-height:14px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-open-sources{display:none!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-source-switch{margin:8px auto 12px!important;padding:0!important;gap:7px!important;border:0!important;background:none!important;box-shadow:none!important;justify-content:center}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-source-btn{min-height:33px;padding:7px 13px!important;border-radius:8px!important;border:1px solid #30383f!important;background:var(--md-card,#0e1317)!important;color:#a8b4be!important;font-size:11px;box-shadow:none!important;transition:color .25s,border-color .25s}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-source-btn.active{color:var(--accent)!important;border-color:rgba(var(--accent-rgb),.5)!important;box-shadow:inset 0 0 9px rgba(var(--accent-rgb),.035)!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-source-btn:disabled{opacity:.45;cursor:not-allowed}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-info-btn .info-icon{display:grid;place-items:center;width:22px;height:22px;color:#969ca2;background:none!important;border:0!important;box-shadow:none!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-info-btn .info-icon svg{display:block;width:22px;height:22px}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-info-btn:is(:hover,:focus-visible) .info-icon{color:var(--accent)}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-info-wrap:is(:focus-within,.md-case-info-open) .case-v2-tooltip{opacity:1;visibility:visible;pointer-events:auto}
.sound-volume-popover.md-case-volume{width:156px;padding:10px 12px;display:flex;align-items:center;gap:8px;border:1px solid #34383e;background:#1c2127!important;border-radius:8px;box-shadow:0 8px 25px #0006;font-size:10px}
.md-case-volume .sound-volume-heading{display:contents}.md-case-volume .sound-volume-heading>span{display:none}.md-case-volume output{order:2;width:27px;flex:0 0 27px;font-size:10px;color:#a7b1b9}
.md-case-volume input[type=range]{width:100px;flex:1;margin:0!important;height:4px}
@keyframes md-case-action-sheen{0%,15%{transform:translateX(-140%)}65%,100%{transform:translateX(140%)}}
@keyframes md-case-action-pulse{0%,100%{filter:drop-shadow(0 0 3px rgba(var(--accent-rgb),.12))}50%{filter:drop-shadow(0 0 12px rgba(var(--accent-rgb),.4))}}
@keyframes md-case-hero-float{0%,100%{translate:0 3px}50%{translate:0 -4px}}
@keyframes md-case-ring-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page.md-case-motion-off :is(.case-v2-image,.case-v2-ring,.case-v2-open-btn,.case-v2-fast-btn,.case-v2-open-btn::before,.case-v2-fast-btn::before){animation:none!important;transition:none!important;will-change:auto}
@media(max-width:600px){html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-image-wrap>.case-v2-ring{width:290px!important;height:290px!important}html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn){padding:10px 12px;min-width:0;font-size:11px}html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items .cv2-item-name{font-size:11px}.md-case-chest-icon{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){html:not([data-halloween]):not([data-theme="orange"]) .md-case-page :is(.case-v2-image,.case-v2-ring,.case-v2-open-btn,.case-v2-fast-btn,.case-v2-open-btn::before,.case-v2-fast-btn::before){animation:none!important;transition:none!important;will-change:auto}}
html:not([data-halloween]):not([data-theme="orange"]) .content-area:has(.md-case-page)>.site-footer{width:100%!important;max-width:100%;margin-inline:0!important}
html:not([data-halloween]):not([data-theme="orange"]) .md-case-page.md-case-motion-off .case-v2-image-wrap>:is(.case-v2-image,.case-v2-ring),html:not([data-halloween]):not([data-theme="orange"]) .md-case-page.md-case-motion-off .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn),html:not([data-halloween]):not([data-theme="orange"]) .md-case-page.md-case-motion-off .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn)::before{animation:none!important;transition:none!important;will-change:auto}
@media(prefers-reduced-motion:reduce){html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-image-wrap>:is(.case-v2-image,.case-v2-ring),html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn),html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-actions :is(.case-v2-open-btn,.case-v2-fast-btn)::before{animation:none!important;transition:none!important;will-change:auto}}
@media(max-width:600px){html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}html:not([data-halloween]):not([data-theme="orange"]) .md-case-page .case-v2-items>.case-v2-item>.cv2-item-price{white-space:nowrap}}
