/* An original CSS/Canvas television stage; decorations never intercept input. */
#studio-fx{position:fixed;inset:0;pointer-events:none;z-index:18;overflow:hidden}#studio-fx[hidden]{display:none}#studio-fx canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:18}.studio-rig{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.studio-rig[hidden]{display:none}.studio-rig:before{content:'';position:absolute;left:10%;right:10%;top:7px;height:3px;background:linear-gradient(90deg,transparent,#b395da77,#f0d18877,transparent);box-shadow:0 8px 50px #b38ce077}.studio-beam{position:absolute;top:-70px;width:48vw;height:110vh;transform-origin:50% 0;clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);background:linear-gradient(#d4b6ff2b,#b695ea09 60%,transparent);filter:blur(4px);opacity:.65}.studio-beam:nth-child(1){left:-5%;transform:rotate(-20deg)}.studio-beam:nth-child(2){right:-5%;transform:rotate(20deg);background:linear-gradient(#f5d28a26,#eac78008 60%,transparent)}.studio-beam:nth-child(3){left:26%;height:95vh;width:36vw;background:linear-gradient(#d9f3a312,transparent 80%)}.studio-bulbs{position:absolute;inset:15px 12% auto;display:flex;justify-content:space-between}.studio-bulbs i{width:7px;height:7px;border-radius:50%;background:#e1c9ff;box-shadow:0 0 13px 4px #c29cfe4d}.studio-host .topbar,.studio-host #app{position:relative;z-index:1}.studio-host .topbar{border-bottom-color:#b695dc5e}.studio-host[data-studio-phase="lobby"] .page-heading{position:relative;padding-right:180px;min-height:170px}.studio-host[data-studio-phase="lobby"] .page-heading>.pill{display:none}.studio-host[data-studio-phase="lobby"] .qr-panel{border-color:#b39acc66;box-shadow:0 0 45px #b59aed0d}.studio-host[data-studio-phase="lobby"] .players-head h2:after{content:'СТУДИЯ ОТКРЫТА';display:inline-block;margin-left:16px;font-size:10px;letter-spacing:.13em;font-weight:600;color:var(--lime);vertical-align:middle}.studio-host[data-studio-phase="question"] .topbar,.studio-host[data-studio-phase="prepare"] .topbar{border-bottom-color:var(--line)}
.studio-host-mascot{width:145px;height:145px;position:absolute;right:12px;top:-7px;display:grid;place-items:center;isolation:isolate}.studio-host-mascot>svg{width:130px;height:130px;overflow:visible;z-index:1;filter:drop-shadow(0 5px 14px #09051155)}.mascot-halo{position:absolute;inset:7px;border-radius:50%;background:radial-gradient(#b193df26,transparent 68%);border:1px solid #b39ad731;transform:rotate(-15deg)}.mascot-caption{position:absolute;bottom:-5px;font-size:9px;font-weight:750;letter-spacing:.13em;color:var(--purple)}.mascot-star{position:absolute;color:var(--lime);font-size:21px}.star-one{left:-4px;top:35px}.star-two{right:-3px;bottom:25px;color:#e9c98b;font-size:27px}.mascot-surprise-mouth{opacity:0}.mascot-eye,.mascot-glint{transform-box:fill-box;transform-origin:center}.mascot-smile{transform-box:fill-box;transform-origin:center}.mascot-bolt{filter:drop-shadow(0 0 4px #e4f58b44)}[data-studio-mood="surprise"] .studio-host-mascot .mascot-smile{opacity:0}[data-studio-mood="surprise"] .studio-host-mascot .mascot-surprise-mouth{opacity:1}[data-studio-mood="happy"] .mascot-star{color:#ffe298}[data-studio-mood="mischief"] .studio-host-mascot>svg{transform:rotate(-9deg)}
.courier-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:0 auto 22px}.courier-chip{display:flex;align-items:center;gap:9px;background:#2b2239;border:1px solid #6d527d;border-radius:100px;padding:7px 15px;font-size:13px;color:#dbcde9}.courier-chip>span{font-size:21px}.courier-label{align-self:center;color:var(--muted);font-size:10px;letter-spacing:.1em;margin-right:5px}.studio-host .effect-cast .effect-card{position:relative}.studio-host .effect-cast .effect-card.landed:after{content:'';position:absolute;inset:-1px;border:2px solid #d1b3f5;border-radius:inherit;opacity:0;pointer-events:none}.studio-host .effect-card.spotlight{box-shadow:0 0 32px #bc95e62e,0 -30px 90px #b795e30a}
.studio-host[data-studio-phase="answers"] .answer-board{perspective:1300px}.studio-host[data-studio-phase="answers"] .answer-option{backface-visibility:hidden;transform-origin:50% 50%;position:relative;overflow:hidden}.studio-host[data-studio-phase="answers"] .answer-option:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#f3e7ff2b 49%,transparent 65%);transform:translateX(-110%)}.studio-host .answer-recap{position:relative;overflow:hidden;border-color:#b9d38680}.studio-host .answer-recap:after{content:'';position:absolute;inset:0;border:2px solid #ddef99;border-radius:inherit;pointer-events:none;opacity:0}.studio-host .answer-recap>span{color:var(--lime)}
.ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 15px;padding-top:5px}.ranking-heading .eyebrow{color:var(--lime)}.ranking-heading>span:last-child{font-size:12px;color:var(--muted)}.result-player{position:relative;overflow:visible}.rank-number{position:absolute;left:12px;top:12px;color:#d3c3df;font-size:9px;letter-spacing:.08em}.rank-crown{position:absolute;right:10px;top:-18px;opacity:0;transform:translateY(-12px);font-size:32px;color:#ffe09c;text-shadow:0 0 18px #ffdc7766;pointer-events:none}.rank-leader .rank-crown{opacity:1;transform:none}.rank-leader{border-color:#e4c77e!important}.studio-callout{position:relative;z-index:1;font-size:10px;letter-spacing:.12em;font-weight:800;color:#f3d58e;min-height:18px}.result-player .studio-callout:empty{display:none}.studio-host .featured-player:after{content:'';position:absolute;z-index:-1;pointer-events:none;left:-45%;right:-45%;height:500px;bottom:0;background:linear-gradient(180deg,#eed1ff00,#ecd5ff1c);clip-path:polygon(48% 0,52% 0,100% 100%,0 100%);filter:blur(4px)}.studio-host .featured-player{z-index:2;box-shadow:0 0 45px #b68be533,0 0 0 4px #c5a6f418}.studio-host .result-lone_correct .result-player:not(.featured-player),.studio-host .result-lone_wrong .result-player:not(.featured-player),.studio-host .result-lone_timeout .result-player:not(.featured-player){filter:brightness(.78) saturate(.8)}.studio-host .results-scene .confetti{display:none}.studio-host .featured-player:before{top:-21px!important}.studio-host .result-player .result-avatar{margin-top:10px}.studio-host .celebration-grid{padding-top:18px;isolation:isolate}.studio-host .results-scene .show-heading p{max-width:850px;margin-left:auto;margin-right:auto}.studio-host .results-scene .answer-recap{margin-top:22px}
.studio-host[data-studio-phase="finished"] .final-title h1{background:linear-gradient(100deg,#f5e7ff 15%,#ffdf8f 50%,#e5f59f 85%);background-clip:text;-webkit-background-clip:text;color:transparent}.studio-host .podium{perspective:1000px;padding-top:18px}.studio-host .podium-block{transform-origin:50% 100%;border-top:2px solid #ffffff33;box-shadow:0 24px 45px #09051266}.studio-host .podium-place.first .podium-block{background:linear-gradient(145deg,#eff4aa,#c6db73);box-shadow:0 0 50px #e5e58b24,0 24px 45px #09051266}.studio-winner .winner-tag{font-size:42px;text-shadow:0 0 20px #f3d57b88;top:-45px}.podium.is-tie{align-items:flex-end;max-width:1000px;flex-wrap:wrap;gap:18px}.podium.is-tie .podium-place{flex:1 1 135px;max-width:220px;min-width:0}.podium.is-tie .podium-block{height:150px}.podium.is-tie .winner-tag{top:-45px}.studio-host[data-studio-phase="finished"] .final-actions{position:relative;z-index:2}
.studio-phone .phone-result.is-correct{position:relative;border:1px solid #c2d77d55;border-radius:24px;padding:24px 16px;background:radial-gradient(ellipse at 50% 0,#e0f49410,transparent 70%)}.studio-phone .phone-result.is-correct .phone-points{text-shadow:0 0 25px #d9ee7055}.studio-phone .pending .sent-mark{box-shadow:0 0 45px #ddef8a22}.studio-phone .target,.studio-phone .effect-choice{transform-origin:center}
@media(prefers-reduced-motion:no-preference){
  .studio-host .studio-beam:nth-child(1){animation:studio-left-beam 10s ease-in-out infinite alternate}.studio-host .studio-beam:nth-child(2){animation:studio-right-beam 12s ease-in-out infinite alternate}.studio-host[data-studio-phase="lobby"] .wordmark{animation:studio-logo .9s both;animation-delay:var(--scene-offset,0ms)}.studio-host-mascot{animation:studio-mascot-float 5s ease-in-out infinite}.mascot-eye,.mascot-glint{animation:studio-blink 7s infinite;animation-delay:var(--scene-offset,0ms)}.hero-art .mascot-eye-left,.hero-art .mascot-glint-left{animation:studio-wink 9s infinite}.hero-art .mascot-bolt{animation:studio-spark 8s infinite}.studio-speaking .studio-host-mascot .mascot-smile{animation:studio-talk .26s ease-in-out infinite alternate}.studio-host .mascot-star{animation:studio-star 4s ease-in-out infinite}.studio-host .star-two{animation-delay:-2s}
  .studio-host .effect-cast .effect-card.landed:after{animation:studio-impact .8s both;animation-delay:var(--landing-delay,0ms)}
  .studio-host[data-studio-phase="answers"] .answer-option{animation:studio-answer-flip .7s cubic-bezier(.15,.65,.25,1) both;animation-delay:calc(var(--scene-offset,0ms) + var(--option-order)*150ms)}.studio-host[data-studio-phase="answers"] .answer-option:after{animation:studio-answer-shine .8s ease-out both;animation-delay:calc(var(--scene-offset,0ms) + var(--option-order)*150ms + 300ms)}
  .studio-host .result-player{animation:result-arrive .8s both;animation-delay:calc(var(--scene-offset,0ms) + var(--player-order)*120ms)}.studio-host .answer-recap:after{animation:studio-answer-wave 1.8s ease-out both;animation-delay:calc(var(--scene-offset,0ms) + 600ms)}.studio-host .rank-leader .rank-crown{animation:studio-crown .75s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--rank-delay,0ms)}
  .studio-host .podium-block{animation:studio-podium 1.1s cubic-bezier(.12,.75,.25,1) both;animation-delay:calc(var(--scene-offset,0ms) + var(--podium-delay,200ms))}.studio-host .podium-avatar,.studio-host .podium-name{animation:studio-person .6s both;animation-delay:calc(var(--scene-offset,0ms) + var(--podium-delay,200ms) + 650ms)}.studio-winner .winner-tag{animation:studio-award-crown .9s cubic-bezier(.2,.75,.3,1) both;animation-delay:calc(var(--scene-offset,0ms) + 1700ms)}.studio-phone .phone-result.is-correct .phone-points{animation:studio-person .65s both}
}
@keyframes studio-left-beam{from{transform:rotate(-27deg)}to{transform:rotate(12deg)}}@keyframes studio-right-beam{from{transform:rotate(23deg)}to{transform:rotate(-10deg)}}@keyframes studio-logo{from{opacity:0;transform:translateY(-15px) scale(.9)}to{opacity:1;transform:none}}@keyframes studio-mascot-float{50%{transform:translateY(-6px) rotate(3deg)}}@keyframes studio-blink{0%,91%,96%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}@keyframes studio-wink{0%,84%,91%,100%{transform:scaleY(1)}87%{transform:scaleY(.08)}}@keyframes studio-spark{0%,84%,100%{filter:drop-shadow(0 0 3px #e4f58b22)}88%,93%{filter:drop-shadow(0 0 13px #e4f58bee)}}@keyframes studio-talk{from{transform:scaleY(.7)}to{transform:scaleY(1.3)}}@keyframes studio-star{50%{transform:scale(.65) rotate(25deg);opacity:.45}}@keyframes studio-impact{0%{opacity:.9;transform:scale(.97)}100%{opacity:0;transform:scale(1.08)}}@keyframes studio-answer-flip{0%{opacity:0;transform:rotateY(-86deg) translateY(8px)}100%{opacity:1;transform:none}}@keyframes studio-answer-shine{to{transform:translateX(110%)}}@keyframes studio-answer-wave{0%{opacity:.9;transform:scale(.96)}100%{opacity:0;transform:scale(1.07)}}@keyframes studio-crown{0%{opacity:0;transform:translateY(-40px) rotate(-16deg)}75%{opacity:1;transform:translateY(3px) rotate(5deg)}100%{opacity:1;transform:none}}@keyframes studio-podium{from{opacity:.2;transform:scaleY(.04)}to{opacity:1;transform:scaleY(1)}}@keyframes studio-person{from{opacity:0;transform:translateY(20px) scale(.9)}to{opacity:1;transform:none}}@keyframes studio-award-crown{0%{opacity:0;transform:translate(-50%,-110px) rotate(-16deg)}75%{opacity:1;transform:translate(-50%,5px) rotate(4deg)}100%{opacity:1;transform:translate(-50%,0)}}
@media(max-width:760px){.studio-host[data-studio-phase="lobby"] .page-heading{padding-right:95px;min-height:170px}.studio-host-mascot{width:88px;height:100px;right:0;top:22px}.studio-host-mascot>svg{width:86px;height:86px}.mascot-caption{font-size:7px;bottom:-3px}.mascot-star{font-size:15px}.star-two{right:-3px;font-size:19px}.studio-host[data-studio-phase="lobby"] .players-head h2:after{display:none}.courier-row{gap:6px}.courier-chip{font-size:11px;padding:6px 10px}.courier-label{width:100%;text-align:center;font-size:9px}.ranking-heading{align-items:flex-start}.ranking-heading>span:last-child{font-size:10px;text-align:right}.rank-number{left:8px;top:8px;font-size:8px}.studio-callout{font-size:8px}.rank-crown{font-size:27px;right:6px}.podium.is-tie{gap:13px}.podium.is-tie .podium-place{flex-basis:30%;max-width:45%}.podium.is-tie .podium-block{height:120px}.studio-host .featured-player:after{height:300px}.studio-beam{opacity:.4}}
@media(prefers-reduced-motion:reduce){.studio-beam,.studio-host-mascot,.mascot-eye,.mascot-glint,.mascot-bolt,.mascot-star,.mascot-smile,.studio-host .rank-crown,.studio-host .podium-block,.studio-host .podium-avatar,.studio-host .podium-name,.studio-winner .winner-tag,.studio-host .answer-option,.studio-host .answer-option:after{animation:none!important}.studio-host .answer-option:after{display:none}.studio-host .rank-crown{transition:none}.studio-host .featured-player:after{opacity:.5}}

.studio-host .show-heading{position:relative;padding-left:100px;padding-right:100px;min-height:125px}
.studio-host .show-heading .studio-host-mascot{right:-5px;top:0;width:90px;height:100px}
.studio-host .show-heading .studio-host-mascot>svg{width:86px;height:86px}
.studio-host .show-heading .mascot-caption{font-size:7px}
.studio-host .show-heading .mascot-star{font-size:16px}
@media(max-width:760px){.studio-host .show-heading{padding-left:0;padding-right:0;min-height:0}.studio-host .show-heading .studio-host-mascot{display:none}}
.studio-host .featured-player:before{position:absolute;left:50%;top:-13px!important;transform:translateX(-50%);padding:5px 8px;background:#30213f;border:1px solid #a984c2;border-radius:100px;white-space:nowrap;z-index:3;font-size:8px!important;letter-spacing:.05em!important}
.studio-host .featured-player.rank-leader .rank-crown{right:-7px;top:-38px}
@media(min-width:1100px){.celebration-grid:has(.result-player:nth-child(6)) .result-player>b{font-size:16px;max-width:100%}}

.studio-home .top-note{color:#dac1f4;text-shadow:0 0 12px #c49be844}
@media(prefers-reduced-motion:no-preference){.studio-home .top-note{animation:studio-neon-sign 5s ease-in-out infinite}}
@keyframes studio-neon-sign{0%,100%{opacity:.7;color:#cbb1df;text-shadow:0 0 4px #b993dd44}40%,65%{opacity:1;color:#f2dfb2;text-shadow:0 0 10px #dcadf199,0 0 23px #cfa3ec66}75%{opacity:.85;color:#e4c9ff;text-shadow:0 0 8px #c4a2e966}}
@media(max-width:1050px){.studio-home .topbar{position:relative;padding-bottom:22px;min-height:94px}.studio-home .top-note{display:block;position:absolute;bottom:8px;left:12px;right:12px;text-align:center;font-size:9px;letter-spacing:.13em;line-height:1.4}}

/* Brighter show lighting; beams stay behind readable cards. */
.studio-beam{opacity:.95;background:linear-gradient(#d4b6ff88,#b695ea33 62%,transparent);filter:blur(2px)}.studio-beam:nth-child(2){background:linear-gradient(#ffe3a288,#eac78033 62%,transparent)}.studio-beam:nth-child(3){background:linear-gradient(#e4ffc85c,#c2eca224 65%,transparent)}.studio-bulbs i{width:9px;height:9px;box-shadow:0 0 18px 7px #c29cfe99,0 0 45px 16px #c29cfe33}.studio-rig:before{box-shadow:0 8px 65px #c8a3edbb}
