/* «Санта»: приглашение в мини-игру «Санта на льдинках» — по центру полосы с летящими снежинками (js/flakes.js) после
   «Маленькой тайны Санты»; кнопка открывает игру окном поверх страницы (игра — santa-2027/game/?embed) */
.st .st-flakes { display: flex; align-items: center; justify-content: center; }
.st-flakes canvas { pointer-events: none; }
.st-flakes__play { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; max-width: 560px; }
.st-flakes__play::before { content: ""; position: absolute; inset: -8% -22%; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .78) 30%, rgba(0, 0, 0, .5) 65%, rgba(0, 0, 0, 0)); }
.st-flakes__hero { width: 92px; height: auto; margin-bottom: 14px; transform-origin: 50% 100%;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55)); animation: stPlayHop 1.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes stPlayHop {
    0%, 100% { transform: translateY(0) scale(1.08, .9); }
    12% { transform: translateY(-3px) scale(.94, 1.08); }
    45% { transform: translateY(-26px) scale(1, 1); }
    80% { transform: translateY(-2px) scale(.96, 1.05); }
    88% { transform: translateY(0) scale(1.1, .88); }
}
@media (prefers-reduced-motion: reduce) { .st-flakes__hero { animation: none; } }
.st-flakes__kick { font-family: "StCorm", "SnForum", Georgia, serif; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: #cfaf78; }
.st-flakes__title { margin: 12px 0 0; font-family: "StCorm", "SnForum", Georgia, serif; font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: .9; text-transform: uppercase; color: #f4f1ec;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.st-flakes__text { margin: 14px 0 0; font-size: 16px; line-height: 1.45; color: rgba(244, 241, 236, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
.st-flakes__play .sn-btn { margin-top: 24px; width: 220px; height: 54px; border: 0; cursor: pointer; font-family: inherit; }
/* без WebGL полоса не схлопывается: остаются тёплый фон и приглашение */
.st .st-flakes.is-fallback { height: auto; margin-top: var(--gap); }
@media (min-width: 768px) { .st .st-flakes { height: clamp(380px, 34vw, 520px); } }
@media (max-width: 767px) {
    .st .st-flakes { height: auto; min-height: 84vw; }
    .st-flakes__play { padding: 56px 22px; }
    .st-flakes__title { font-size: 46px; }
    .st-flakes__text { font-size: 15px; }
    .st-flakes__play .sn-btn { width: 100%; max-width: 280px; }
}

.st-game { position: fixed; inset: 0; z-index: 10000; background: #050b12; opacity: 0; transition: opacity .35s ease; }
.st-game.is-on { opacity: 1; }
.st-game iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.st-game__close { position: absolute; top: calc(max(14px, env(safe-area-inset-top)) + 2px); right: 14px; z-index: 1; width: 42px; height: 42px; padding: 0; border-radius: 50%;
    border: 1px solid rgba(244, 241, 236, .3); background: rgba(0, 0, 0, .35); color: #f4f1ec; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.st-game__close:hover { background: rgba(244, 241, 236, .15); }
html.st-game-open, html.st-game-open body { overflow: hidden; }
