.santa-game{
 position:relative;isolation:isolate;width:100%;height:clamp(265px,55vh,620px);max-width:1100px;
 overflow:hidden;margin:auto;border-radius:20px;background:#464d79;color:#fff4dc;
}
.santa-game canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.santa-hud{
 position:absolute;z-index:1;top:10px;left:10px;right:10px;
 display:flex;align-items:center;justify-content:space-between;gap:6px;pointer-events:none;
}
.santa-hud>*{
 padding:5px 10px;border:1px solid #f8e6e353;border-radius:9px;background:#283057e6;
 font-size:14px;font-weight:780;font-variant-numeric:tabular-nums;line-height:1.2;
}
.santa-instruction{
 position:absolute;z-index:1;top:48px;left:50%;width:max-content;max-width:85%;margin:0;
 transform:translateX(-50%);padding:4px 9px;border-radius:8px;
 background:#364365cf;color:#ffefcd;font-size:13px;font-weight:700;text-align:center;pointer-events:none;
}
.santa-game.can-deliver .santa-instruction{background:#ffdf9a;color:#53334e}
.santa-stick{
 position:absolute;z-index:2;bottom:14px;left:14px;display:grid;place-items:center;
 width:clamp(74px,22vmin,120px);aspect-ratio:1;border:2px solid #f6e5eeb8;border-radius:50%;
 background:#2b345d9e;box-shadow:inset 0 0 0 6px #313e676e,0 5px 15px #262d4a47;
 touch-action:none;cursor:grab;
}
.santa-stick>span{
 width:38%;aspect-ratio:1;border:2px solid #fff4f4;border-radius:50%;
 background:#e9b9cd;box-shadow:0 3px 8px #2c264e70;
 transform:translate(var(--stick-x,0),var(--stick-y,0));pointer-events:none;
}
.santa-gift{
 position:absolute;z-index:2;right:14px;bottom:14px;min-width:76px;min-height:58px;
 display:grid;place-items:center;gap:5px;padding:8px 13px;
 border:2px solid #ffd1d5;border-radius:15px;background:#a7466a;color:#fff9e8;
 font:inherit;font-weight:780;font-size:15px;line-height:1;touch-action:none;cursor:pointer;
}
.santa-gift:focus-visible{outline:2px solid #fff6cf;outline-offset:3px}
.santa-game.can-deliver .santa-gift{border-color:#ffe5a7;background:#8b365c;box-shadow:0 0 16px #ffdc8cbe}
.santa-gift:active{background:#773951}
.santa-gift-icon{
 position:relative;display:block;width:21px;height:16px;border:2px solid #ffe4a3;border-radius:3px;
 background:linear-gradient(90deg,transparent 41%,#ffe4a3 41% 61%,transparent 61%);
}
.santa-gift-icon::before,.santa-gift-icon::after{
 content:"";position:absolute;top:-7px;width:7px;height:5px;border:2px solid #ffe4a3;border-radius:75% 100% 0 100%;
}
.santa-gift-icon::before{left:1px;transform:rotate(12deg)}
.santa-gift-icon::after{right:1px;transform:scaleX(-1) rotate(12deg)}
.arena.single:has(.santa-game){max-width:1100px}
.arena.two .santa-stick{width:clamp(62px,17vmin,92px);left:8px;bottom:8px}
.arena.two .santa-gift{right:8px;bottom:8px;min-width:65px}
.arena.two.panel-face .santa-game{height:clamp(140px,calc(var(--panel-local-height,340px) - 78px),500px)}
@media(max-width:760px),(max-height:560px) and (orientation:landscape){
 .play-shell:has(.arena.single .santa-game){padding:4px max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))}
 .play-shell:has(.arena.single .santa-game) .play-top{min-height:44px;margin:0 3px 2px;gap:4px}
 .play-shell:has(.arena.single .santa-game) .play-title{text-align:left;min-width:0}
 .play-shell:has(.arena.single .santa-game) .play-title h1{font-size:clamp(16px,4vw,20px);line-height:1.2}
 .play-shell:has(.arena.single .santa-game) .play-top-actions{gap:0}
 .play-shell:has(.arena.single .santa-game) .play-top-actions .icon-btn{width:44px;height:44px}
 .play-shell:has(.arena.single .santa-game) :is(.play-brand,.play-title>p,.match-strip,.round-footer>span){display:none}
 .arena.single:has(.santa-game) .player-panel{border:0;box-shadow:none;background:transparent}
 .arena.single:has(.santa-game) .player-panel-head{padding:1px 5px 3px;min-height:27px;border:0;background:transparent}
 .arena.single:has(.santa-game) :is(.panel-name small,.panel-progress,.panel-time){display:none}
 .arena.single:has(.santa-game) .game-content{min-height:0;padding:0}
 .arena.single .santa-game{height:max(210px,calc(100dvh - 128px - env(safe-area-inset-bottom)));border-radius:13px}
 .play-shell:has(.arena.single .santa-game) .round-footer{margin:2px 0 0;min-height:36px}
 .play-shell:has(.arena.single .santa-game) .round-footer button{font-size:14px;min-height:36px;padding:5px 10px}
}

.santa-stick{display:none}
@media(pointer:coarse),(hover:none) and (any-pointer:coarse){
 .santa-stick{display:grid}
}
@media(min-width:761px) and (min-height:561px){
 .arena.single .santa-game{max-width:none;height:max(290px,calc(var(--round-space) - 36px))}
 .arena.two:not(.panel-face) .santa-game{height:clamp(290px,calc(var(--round-space) - 84px),750px)}
}
