.pm-stage.tc-stage{background:linear-gradient(180deg,#0c3b66 0%,#11598a 34%,#1d84a8 46%,#e9c98a 47%,#d7ae63 100%)}
.tc-beach{position:relative;min-width:0;display:grid;gap:.6rem;border-radius:16px;padding:.6rem}
.tc-sky{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:16px}
.tc-sun{position:absolute;right:8%;top:6%;width:54px;height:54px;border-radius:50%;background:radial-gradient(circle,#fff6c4,#ffcf4a 60%,rgba(255,180,40,0) 72%);animation:tcSun 6s ease-in-out infinite alternate}
@keyframes tcSun{to{transform:translateY(6px) scale(1.06)}}
.tc-wave{position:absolute;left:-10%;right:-10%;top:44%;height:16px;background:radial-gradient(ellipse at 50% 0,rgba(255,255,255,.85) 0 35%,transparent 36%) 0 0/40px 16px repeat-x;animation:tcWave 5s linear infinite;opacity:.7}
@keyframes tcWave{to{transform:translateX(40px)}}
.tc-status{position:relative;margin:0;text-align:center;font-weight:900;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.5);font-size:1.05rem}
.tc-grid{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem .6rem;margin-top:3rem}
.tc-chest{position:relative;aspect-ratio:6/5;border:0;background:transparent;padding:0;cursor:pointer;perspective:400px;border-radius:12px;transition:transform .15s,filter .2s}
.tc-chest:disabled{cursor:default}
.tc-chest:not(:disabled):hover{transform:translateY(-4px) rotate(-1.5deg);filter:drop-shadow(0 0 10px rgba(255,220,120,.9))}
.tc-chest:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tc-svg,.tc-lidsvg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 6px 4px rgba(60,30,0,.35))}
.tc-lidsvg{z-index:1;transform-origin:91% 46%;transition:transform .55s cubic-bezier(.3,1.6,.5,1)}
.tc-chest.arrive{animation:tcArrive .55s cubic-bezier(.2,1.4,.4,1) both;animation-delay:var(--d)}
@keyframes tcArrive{from{transform:translateY(-30px) scale(.7);opacity:0}to{transform:none;opacity:1}}
.tc-chest.chosen:not(.open){animation:tcRattle .26s linear 1}
@keyframes tcRattle{25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}
.tc-chest.open .tc-lidsvg{transform:translateY(-14%) rotate(16deg) scaleY(.8)}
.tc-inside{position:absolute;left:12%;right:12%;top:4%;height:46%;display:grid;place-items:center;z-index:3;pointer-events:none}
.tc-loot{font-size:clamp(1.3rem,.9rem + 1.8vw,2.3rem);padding:.1rem .35rem;border-radius:999px;background:radial-gradient(circle,rgba(255,230,140,.55),transparent 70%);animation:tcLoot .5s cubic-bezier(.3,1.6,.5,1) both;filter:drop-shadow(0 0 8px rgba(255,220,80,.9))}
.tc-loot.empty{filter:grayscale(1) opacity(.8)}
@keyframes tcLoot{from{transform:translateY(20px) scale(.3);opacity:0}to{transform:none;opacity:1}}
.tc-val{position:absolute;left:50%;bottom:-.55rem;transform:translateX(-50%);white-space:nowrap;font-weight:900;font-size:.8rem;padding:.08rem .5rem;border-radius:999px;background:rgba(30,15,0,.75);color:#ffe27a;z-index:3}
.tc-val:empty{display:none}
.tc-chest.empty .tc-val{color:#ddd}
.tc-chest.jackpot{filter:drop-shadow(0 0 18px #ffd23d)}
.tc-chest.ghost{opacity:.55;filter:saturate(.5)}
.tc-chest.ghost .tc-val{background:rgba(30,15,0,.5);color:#fff}
.tc-picks{position:relative;display:grid;grid-template-columns:repeat(3,1fr) 1.3fr;gap:.4rem;margin-top:.4rem}
.tc-pick,.tc-total{display:grid;place-items:center;min-height:2.8rem;border-radius:12px;background:rgba(60,30,5,.55);color:#f6e1b5;font-weight:800;border:1px dashed rgba(255,230,170,.45)}
.tc-pick.got{background:linear-gradient(180deg,#ffd75a,#d99a00);color:#3d2500;border-style:solid;animation:tcLoot .4s ease-out}
.tc-pick.nil{background:rgba(40,20,0,.75);color:#bba;border-style:solid}
.tc-total{background:linear-gradient(180deg,#2c1606,#4a2508);border:2px solid #e3b04b;line-height:1.1}
.tc-total small{font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:#e3b04b}
.tc-total b{color:#fff;font-size:1.1rem}
.tc-pool{font-size:.85rem;color:#e6edf8}
.tc-pool ul{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none;padding:0;margin:.35rem 0 0}
.tc-pool li{padding:.15rem .5rem;border-radius:999px;background:rgba(255,215,90,.16);border:1px solid rgba(255,215,90,.4);font-weight:700}
.tc-pool li.top{background:linear-gradient(180deg,#ffd75a,#d99a00);color:#3d2500}
.tc-pool li.zero{opacity:.6;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2)}
html.g3-reduced .tc-sun,html.g3-reduced .tc-wave,html.g3-reduced .tc-chest,html.g3-reduced .tc-loot{animation:none!important}
html.g3-reduced .tc-lidsvg{transition:none}
@media (max-width:40rem){.tc-grid{grid-template-columns:repeat(3,1fr);margin-top:2.6rem;gap:1.3rem .5rem}.tc-val{font-size:.72rem}}
