/* rmr.global/stream: заявка на стрим-марафон. Стена из 100 эфиров гаснет до одного золотого, таймер бежит. Движение только transform и opacity. */
.st-page { --live: #ff3b30; --tv: #0d0b0a; scroll-behavior: smooth; }
.st { position: relative; overflow: clip; }
.st-glow { position: absolute; z-index: -1; top: -18vmax; inset-inline-end: -14vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 59, 48, .26), transparent); animation: stBreath 6s ease-in-out infinite; pointer-events: none; }
@keyframes stBreath { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.05); } }
.st-hero { max-width: 1240px; margin: 0 auto; padding: 108px var(--pad) 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 72px); align-items: center; }
.st-head { display: grid; justify-items: start; gap: 20px; animation: stUp .7s cubic-bezier(.16, 1, .3, 1) both; }
.st-live { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 7px 12px; border-radius: 7px; color: #fff; background: var(--live); font: 400 15px/1 var(--mono); letter-spacing: .04em; }
.st-live i, .st-rec i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: stPulse 1.2s ease-in-out infinite; }
.st-rec i { background: var(--live); }
@keyframes stPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.72); } }
@keyframes stUp { from { opacity: 0; transform: translateY(22px); } }
.st h1 { margin: 0; font: 400 clamp(38px, 5.6vw, 76px)/1.02 var(--display); text-transform: uppercase; text-wrap: balance; }
.st h1 em { display: inline-block; color: var(--gold-2); font-style: normal; }
.st-go { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border: 0; border-radius: 12px; color: #1d1b16; font: 400 19px/1.1 var(--display); text-align: center; text-decoration: none; cursor: pointer; background: linear-gradient(180deg, #ffdf8c, #eeb33b); box-shadow: 0 3px 0 #a9761a, 0 14px 30px -10px rgba(238, 179, 59, .7); transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s; }
.st-go::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 26%; background: rgba(255, 255, 255, .6); transform: skewX(-20deg); animation: stShine 3.6s ease-in-out infinite; }
@keyframes stShine { 0%, 62% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(640%) skewX(-20deg); } }
.st-go:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #a9761a, 0 18px 34px -10px rgba(238, 179, 59, .85); } .st-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #a9761a; }
.st-go:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; } .st-go[disabled] { opacity: .6; cursor: default; }
.st-tv { margin: 0; padding: 12px; border-radius: 16px; background: var(--tv); border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 59, 48, .2); animation: stUp .9s .08s cubic-bezier(.16, 1, .3, 1) both; }
.st-tv-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 11px; color: #f4eedd; font: 400 clamp(17px, 2.2vw, 24px)/1 var(--mono); font-variant-numeric: tabular-nums; }
.st-rec { display: inline-flex; align-items: center; gap: 9px; } .st-count { display: inline-flex; align-items: baseline; gap: 7px; } .st-count b { font-weight: 400; color: #ff6a60; } .st-count em { font-size: .62em; font-style: normal; opacity: .75; }
.st-wall { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; aspect-ratio: 16 / 10.4; }
.st-wall i { position: relative; border-radius: 2px; overflow: hidden; background: linear-gradient(145deg, hsl(var(--h) 55% 38%), hsl(calc(var(--h) + 34) 50% 19%)); }
.st-wall i::after { content: ""; position: absolute; top: 12%; left: 9%; width: 13%; aspect-ratio: 1; min-width: 2px; border-radius: 50%; background: var(--live); }
.st-wall i.off { animation: stOff .32s steps(4) forwards; }
@keyframes stOff { 0% { opacity: 1; } 35% { opacity: .15; } 60% { opacity: .75; } 100% { opacity: .07; } }
.st-wall.reset i { animation: stOn .5s ease-out both; }
@keyframes stOn { from { opacity: .07; } to { opacity: 1; } }
.st-wall i.win { z-index: 2; opacity: 1; background: linear-gradient(145deg, #ffe39a, #e9a92f); box-shadow: 0 0 22px 4px rgba(246, 185, 59, .7); }
.st-wall.won i.win { animation: stWin 3s ease-in-out infinite; } .st-wall.won i.win::after { background: #c42a1f; }
@keyframes stWin { 0%, 100% { transform: scale(1.5); } 50% { transform: scale(1.95); } }
.st-prize { position: absolute; z-index: 3; inset: auto 0 7%; text-align: center; color: #ffd978; font: 400 clamp(26px, 5vw, 52px)/1 var(--display); text-shadow: 0 2px 22px rgba(0, 0, 0, .95), 0 0 34px rgba(246, 185, 59, .55); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.st-wall.won .st-prize { opacity: 1; transform: scale(1); }
.st-rules { max-width: 1240px; margin: 0 auto; padding: 22px var(--pad) 62px; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(18px, 3vw, 40px); }
.st-rules li { display: grid; align-content: start; gap: 8px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.st-rules b { color: var(--gold-2); font: 400 clamp(38px, 5vw, 60px)/1 var(--display); } .st-rules span { font-size: 16px; line-height: 1.42; text-wrap: pretty; }
html.st-js .st-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); } html.st-js .st-rv.in { opacity: 1; transform: none; }
.st-rules li:nth-child(2) { transition-delay: .08s; } .st-rules li:nth-child(3) { transition-delay: .16s; } .st-rules li:nth-child(4) { transition-delay: .24s; } .st-rules li:nth-child(5) { transition-delay: .32s; } .st-rules li:nth-child(6) { transition-delay: .4s; }
.st-apply { max-width: 640px; margin: 0 auto 26px; padding: 0 var(--pad); scroll-margin-top: 88px; }
.st-form { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 16px; padding: clamp(22px, 4vw, 32px); border-radius: 16px; background: var(--ink2); }
.st-form::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 180%; aspect-ratio: 1; margin: -90% 0 0 -90%; background: conic-gradient(from 0deg, var(--live), #f6b93b 26%, transparent 42%, transparent 70%, var(--live)); animation: stSpin 7s linear infinite; }
.st-form::after { content: ""; position: absolute; z-index: -1; inset: 2px; border-radius: 14px; background: var(--ink2); }
@keyframes stSpin { to { transform: rotate(360deg); } }
.st-form h2 { margin: 0 0 2px; font: 400 clamp(25px, 4vw, 34px)/1.1 var(--display); text-transform: uppercase; }
.st-form label { display: grid; gap: 6px; font-size: 15px; min-width: 0; }
.st-form input:not([type="checkbox"]), .st-form textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; color: var(--text); font: inherit; background: var(--ink); border: 1px solid var(--line); border-radius: 9px; transition: border-color .2s, box-shadow .2s; }
.st-form input:focus, .st-form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 185, 59, .22); }
.st-form .st-check { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 14px; } .st-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #eeb33b; } .st-check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.st-form .st-go { width: 100%; }
.st-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.st-msg { margin: 0; min-height: 1.4em; font-weight: 600; } .st-msg.ok { color: var(--ok); } .st-msg.bad { color: #ff8a7a; }
.st-form.sent > :not(.st-msg) { display: none; } .st-form.sent { padding-block: 46px; }
.st-form.sent .st-msg { display: grid; justify-items: center; gap: 14px; text-align: center; font: 400 clamp(21px, 3.4vw, 28px)/1.2 var(--display); animation: stUp .6s cubic-bezier(.16, 1, .3, 1) both; }
.st-form.sent .st-msg::before { content: "✓"; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: #1d1b16; font: 700 34px/1 var(--body); background: linear-gradient(180deg, #ffdf8c, #eeb33b); }
.st-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 18px var(--pad) 36px; font-size: 14px; } .st-foot a { color: var(--text); opacity: .75; }
@media (max-width: 860px) { .st-hero { grid-template-columns: minmax(0, 1fr); padding-top: 92px; } .st-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-go { width: 100%; box-sizing: border-box; } .st-head { justify-items: stretch; } .st-live { justify-self: start; } }
@media (max-width: 860px) and (min-width: 561px) { .st-head .st-go { width: auto; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .st-page { scroll-behavior: auto; } .st-glow, .st-live i, .st-rec i, .st-go::after, .st-form::before, .st-wall.won i.win, .st-head, .st-tv { animation: none; } html.st-js .st-rv { opacity: 1; transform: none; transition: none; } }
