.svyatki-board{display:flex;flex-direction:column;gap:6px;min-height:0;flex:1}
.svyatki-scene{position:relative;flex:1;min-height:210px;border-radius:18px;overflow:hidden;background:#102838;touch-action:none}
.svyatki-scene.is-loading{opacity:.7}
.svyatki-scene canvas{width:100%;height:100%;display:block;touch-action:none}
.svyatki-rounds{position:absolute;top:8px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:2;pointer-events:none}
.svyatki-rounds i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;background:#0d2a36cc;color:#d9ecf2;border:1px solid #e7c97a55}
.svyatki-rounds i.current{background:#2f6b5f;color:#fff6d6;border-color:#f0d48a}
.svyatki-rounds i.done{background:#1f4d40;color:#c8f0d8}
.svyatki-hud{position:absolute;top:8px;right:8px;z-index:2;padding:5px 10px;border-radius:999px;background:#0d2a36d0;color:#ffe9b0;font-size:12px;font-weight:800;pointer-events:none}
.svyatki-gate{position:absolute;inset:0;display:grid;place-items:center;padding:18px;background:radial-gradient(ellipse at 50% 40%,#1a4050ee,#0a1c28f2);z-index:3}
.svyatki-gate[hidden]{display:none!important}
.svyatki-gate article{max-width:280px;text-align:center;color:#eef6f8}
.svyatki-gate b{display:block;font-size:20px;margin-bottom:8px;color:#ffe7a8}
.svyatki-gate p{margin:0;font-size:14px;line-height:1.45;color:#c5dbe3}
.svyatki-controls{display:flex;gap:8px;justify-content:center}
.svyatki-controls button{min-height:48px;min-width:160px;border:0;border-radius:16px;background:linear-gradient(180deg,#3d9a7a,#226b58);color:#fff8e6;font:inherit;font-weight:850;font-size:16px;padding:10px 18px}
.svyatki-controls button:disabled{opacity:.55}
.svyatki-caption{margin:0;min-height:2.6em;font-size:13px;line-height:1.35;color:#1a4c5c;text-align:center}
@media(max-width:370px){
 .svyatki-hud{font-size:11px;padding:4px 8px}
 .svyatki-gate b{font-size:18px}
 .svyatki-controls button{min-width:140px;font-size:15px}
}
.svyatki-star-view{position:fixed;inset:0;z-index:1400;height:100vh;height:100dvh;width:100vw;overflow:hidden;background:#091f2a;color:#fff7d8;touch-action:none;user-select:none;-webkit-user-select:none}
.svyatki-star-view>canvas{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:fill;display:block}
.svyatki-star-view.is-native{background:transparent;pointer-events:none}
.svyatki-star-view.is-native button,.svyatki-star-view.is-native a{pointer-events:auto}
.svyatki-star-view>header{position:absolute;top:0;left:0;right:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:linear-gradient(#0f263ae8,transparent);font-size:15px}
.svyatki-star-view>header b{font-weight:800;color:#ffe7a8}
.svyatki-star-view button{min-height:48px;border:1px solid #b6a269;border-radius:14px;background:#102b3cdb;color:#fff3ca;font:inherit;font-weight:800;padding:12px 16px}
.svyatki-star-sight{position:absolute;left:50%;top:46%;width:84px;height:84px;transform:translate(-50%,-50%);border:2px solid #ffe7a899;border-radius:50%;box-shadow:0 0 0 1px #14323c,0 0 24px #f5cf7840;pointer-events:none}
.svyatki-star-marker{position:absolute;z-index:2;width:42px;height:42px;display:grid;place-items:center;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 0 10px #f6c75a)}
.svyatki-star-marker[hidden]{display:none!important}
.svyatki-star-marker b{font-size:32px;line-height:1;color:#ffe7a2}
.svyatki-star-marker.is-off{width:48px;height:48px;border-radius:50%;background:#102c3bcc;border:2px solid #ffe7a8}
.svyatki-star-status{position:absolute;z-index:2;left:16px;right:16px;bottom:calc(36px + env(safe-area-inset-bottom));margin:0;padding:12px 14px;background:#102c3be8;border:1px solid #8ca99066;border-radius:16px;text-align:center;font-size:15px;line-height:1.4;pointer-events:none}
.svyatki-star-view>small{position:absolute;z-index:2;left:0;right:0;bottom:calc(6px + env(safe-area-inset-bottom));text-align:center;font-size:10px;color:#d7e4ea}
.svyatki-star-view>small a{color:#ffe7a8}
@media(prefers-reduced-motion:reduce){.svyatki-star-marker{filter:none}}
.svyatki-controls button[hidden]{display:none}.svyatki-controls:has([data-sparkler-touch]:not([hidden])) button{min-width:0;flex:1;font-size:13px;padding:8px 6px}
.svyatki-controls button[data-sparkler-reset]{min-height:44px;background:linear-gradient(180deg,#765536,#4b382d);border:1px solid #f4d593;color:#fff2ca;font-size:14px;padding:8px 18px}
