/* Loaded both in document and case shadow roots. No reel transform/timing rules. */
:host .shell{background:linear-gradient(#071a2277,#071a22 760px),var(--gc4-case-scene) center top/100% auto no-repeat #071a22!important;border:0!important;border-radius:14px!important;min-height:0!important}
:host .shell:before{display:none!important}:host .shell .leaves{display:none!important}
:host .shell .wrap{padding:0!important;max-width:1420px!important;margin:auto!important}
:host .shell .topbar{height:48px;min-height:0;padding:0 4px!important;border-bottom:0!important;justify-content:flex-end}
:host .shell .topbar .brand,:host .shell .topbar .wallet{display:none!important}:host .shell .topbar .mode-badge{color:#8bdded;background:#0a2732;border:1px solid #3d5d69}:host .shell .inventory-nav{font-size:13px;color:#acc9d5}
:host .shell .single-back{display:inline-block;margin:0 0 16px!important;color:#ffb580!important;font:650 14px Inter,'Segoe UI',sans-serif}
:host .shell .hero.single-case-heading{position:relative;isolation:isolate;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);align-items:center!important;gap:28px!important;padding:35px 48px!important;margin:0 0 24px!important;min-height:330px!important;overflow:hidden;border:1px solid #42636f!important;border-radius:16px!important;background:linear-gradient(90deg,#061a24ed 0%,#071a22ad 43%,#071a221a 80%),var(--gc4-case-scene) center/cover!important}
:host .shell .hero.single-case-heading:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 77% 60%,color-mix(in srgb,var(--gc4-case-accent) 25%,transparent),transparent 48%);pointer-events:none;animation:gcCaseLight 6s ease-in-out infinite}
:host .shell .hero.single-case-heading:after{content:"";position:absolute;right:8%;bottom:27px;width:35%;height:20px;border-radius:50%;background:var(--gc4-case-accent);opacity:.35;filter:blur(19px);pointer-events:none}
:host .shell .hero.single-case-heading>div{z-index:1;min-width:0}
:host .shell .hero.single-case-heading>img{position:relative;z-index:1;width:min(100%,400px)!important;max-width:100%!important;height:280px!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;justify-self:center;background:none!important;padding:0!important;border:0!important;border-radius:0!important;filter:drop-shadow(0 25px 18px #0008)!important;animation:gcCaseHover 6s ease-in-out infinite}
:host .shell .hero.single-case-heading h1{font:850 clamp(32px,4.5vw,58px)/1.05 Inter,'Segoe UI',sans-serif!important;letter-spacing:-1.8px!important;margin:16px 0!important;color:#fff!important}
:host .shell .hero.single-case-heading p{font:400 16px/1.6 Inter,'Segoe UI',sans-serif!important;color:#cee3eb!important;margin:0!important}
:host .shell .hero.single-case-heading p:first-child{font-size:10px!important;letter-spacing:2.5px;color:#8fe1e9!important}
.gc4-case-steps{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:26px 0 0;color:#b3cbd5;font:400 12px/1.6 Inter,'Segoe UI',sans-serif}.gc4-case-steps li{display:flex;align-items:center;gap:8px}.gc4-case-steps b{display:grid;place-items:center;width:23px;height:23px;color:#ffb782;background:#193b47;border-radius:6px}
:host .shell .arena{position:relative;isolation:isolate;background:linear-gradient(180deg,#092532d9,#092532f5),var(--gc4-case-scene) center/cover!important;border:1px solid #426775!important;border-radius:16px!important;margin:0 0 34px!important;padding:24px!important;overflow:hidden}
:host .shell .arena:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;box-shadow:inset 0 1px var(--gc4-case-accent);background:radial-gradient(ellipse at 50% 0%,#6fe4f018,transparent 65%)}
:host .shell .arena-header{padding:0 0 22px!important;display:flex;justify-content:space-between;align-items:center}:host .shell .arena-title h2{font:750 23px Inter,'Segoe UI',sans-serif!important;color:#f0f8f9}:host .shell .arena-title p{font-size:9px;letter-spacing:2px;color:#81afc1;margin-top:6px}:host .shell .arena-options .icon-button{color:#b7d8e2;border:1px solid #3e5f6d;border-radius:8px;background:#0b2632}
:host .shell .arena-actions{padding:22px 0 0!important}:host .shell .action-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}:host .shell button.open-button{min-width:240px;min-height:54px;padding:15px 28px!important;background:#ff873b!important;color:#071a22!important;font:800 16px Inter,'Segoe UI',sans-serif;border-radius:9px!important;box-shadow:0 6px 26px #ff82272b!important;border:1px solid #ffac67!important;transition:filter .2s}:host .shell button.open-button:hover:not(:disabled){filter:brightness(1.1)}:host .shell .speed{color:#b2cbd6;font-size:13px}:host .shell .status{margin:14px 0 0;min-height:20px;color:#b7d4df;text-align:center}:host .shell .status.error{color:#ffb4a9}
:host .shell .contents-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:30px 0 22px}:host .shell .contents-heading h2{font:750 25px Inter,'Segoe UI',sans-serif;color:#eef7fa}:host .shell .contents-heading p{font-size:12px;line-height:1.7;color:#9ebdcc;margin-top:8px}:host .shell .contents{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px}
:host .shell .item-card{border:1px solid #315361!important;border-radius:12px!important;padding:15px!important;background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--item-color) 12%,#102d39),#0c2530 80%)!important;box-shadow:inset 0 -3px var(--item-color);transition:transform .2s,border-color .2s}:host .shell .item-card:hover{border-color:var(--item-color)!important;transform:translateY(-3px)}:host .shell .item-card>img{width:100%;height:125px;object-fit:contain;filter:drop-shadow(0 10px 14px #0006)}:host .shell .item-card h3{font:700 14px/1.4 Inter,'Segoe UI',sans-serif;color:#e7f4f8;margin:10px 0 4px}:host .shell .item-hero,:host .shell .item-wear{color:#91b4c4!important}:host .shell .item-footer{border-top:1px solid #33515e;padding-top:12px}:host .shell .item-value{color:#e4f0f5}
:host .shell .dv-feature{background:linear-gradient(90deg,#071a22e8,#071a2255),var(--gc4-case-scene) center/cover!important;border:1px solid #42636f!important;border-radius:16px!important;padding:35px!important;margin-bottom:24px!important}:host .shell .dv-art>img{width:100%!important;height:300px!important;object-fit:contain!important;animation:gcCaseHover 6s ease-in-out infinite}:host .shell .dv-feature h1{color:#f0f8fa!important;font-family:Inter,'Segoe UI',sans-serif!important}:host .shell .dv-feature .dv-art{background:none!important}
/* Existing legacy, reward, craft and pass openers keep their controls/reels. */
body.gc-site[data-gc-route=case] :is(.bolt-case-detail,.quest-reward-case,.hw-case-page,.cw){background:linear-gradient(#071a2277,#071a22 800px),var(--gc4-case-scene) center top/100% auto no-repeat #071a22!important;border-radius:16px!important}
body.gc-site[data-gc-route=case] :is(.case-hero,.qr-heading,.hw-case-hero,.cw-hero){background:linear-gradient(90deg,#071a22e8,#071a2266),var(--gc4-case-scene) center/cover!important;border:1px solid #42636f!important;border-radius:16px!important;padding:32px!important;position:relative;overflow:hidden}
body.gc-site[data-gc-route=case] :is(.case-hero__img,.hw-case-art>img,.cw-stage-chest){object-fit:contain!important;background:none!important;max-height:310px!important;filter:drop-shadow(0 20px 15px #0008);animation:gcCaseHover 6s ease-in-out infinite}
body.gc-site[data-gc-route=case] .case-hero__img img{object-fit:contain!important;max-height:300px!important;background:none!important}
body.gc-site[data-gc-route=case] :is(.qr-stage,.cw-stage,.hw-case-opening){background:radial-gradient(ellipse at 50% 20%,#3bc6db2b,transparent 60%),linear-gradient(#0b2631aa,#0b2631ed),var(--gc4-case-scene) center/cover!important;border:1px solid #315361!important;border-radius:14px!important}
body.gc-site[data-gc-route=case] :is(.case-actions,.qr-controls,.hw-case-controls,.cw-controls){border-color:#315361!important;background:#0c2833d9!important;border-radius:12px!important}
body.gc-site[data-gc-route=case] :is(.loot-card,.qr-grid>article,.hw-case-grid>article,.cw-loot-card){background:radial-gradient(ellipse at 50% 30%,#1d4b59,#0c2732)!important;border-color:#315361!important;border-radius:12px!important}
@keyframes gcCaseHover{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-10px) rotate(1deg)}}@keyframes gcCaseLight{50%{opacity:.5;transform:scale(1.08)}}
@media(max-width:700px){:host .shell .hero.single-case-heading{grid-template-columns:1fr!important;padding:24px!important;gap:15px!important;min-height:0!important}:host .shell .hero.single-case-heading>img{height:230px!important;width:280px!important;order:-1}:host .shell .hero.single-case-heading h1{font-size:34px!important}:host .shell .hero.single-case-heading p{font-size:14px!important}:host .shell .hero.single-case-heading:after{right:20%;bottom:55%;width:60%}:host .shell .arena{padding:18px 12px!important}:host .shell .contents{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}:host .shell .contents-heading{display:block}:host .shell .item-card{padding:12px!important}:host .shell .item-card>img{height:105px}.gc4-case-steps{gap:8px;font-size:11px;margin-top:18px}:host .shell .dv-feature{padding:24px!important}:host .shell .dv-art>img{height:230px!important}}
@media(prefers-reduced-motion:reduce){:host .shell .hero.single-case-heading>img,:host .shell .hero.single-case-heading:before,:host .shell .dv-art>img,body.gc-site[data-gc-route=case] :is(.case-hero__img,.hw-case-art>img,.cw-stage-chest){animation:none!important}:host .shell .item-card{transition:none}}

:host-context(.gc-motion-off) .single-case-heading img,:host-context(.gc-motion-off) .single-case-heading::after,body.gc-motion-off .gc4-case-art{animation:none!important}
