/* «Устат» — «Живая викторина»: экран учителя (проектор 1024–1920) и телефон ученика (от 375 px). */
:root {
  --o0: #e21b3c; --o1: #1368ce; --o2: #c98f00; --o3: #26890c;
  --lv-bg1: #2a1752; --lv-bg2: #46178f; --lv-ink: #fff; --lv-card: rgba(255, 255, 255, .1); --lv-card2: rgba(255, 255, 255, .16);
  --lv-good: #2fbf71; --lv-bad: #e5484d;
}
.lv-shape { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* ================= Учитель: подготовка ================= */
.live-wrap { padding-top: 28px; padding-bottom: 60px; }
.live-head h1 { margin-bottom: 6px; }
.live-head p { color: var(--text-muted); max-width: 760px; margin: 0 0 18px; font-size: 1.05rem; }
.live-tabs { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.live-step { margin-bottom: 18px; }
.live-step h2 { font-size: 1.25rem; margin: 0 0 12px; }
.live-src { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.live-panel { border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 14px; background: var(--surface-2); }
.live-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.live-row > label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .92rem; flex: 1 1 220px; }
.live-muted { color: var(--text-muted); font-size: .92rem; }
.live-banner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--yellow-soft); border: 1px solid var(--yellow); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-weight: 700; }
[data-theme="dark"] .live-banner { color: var(--text); }
.live-gate { text-align: center; padding: 34px 20px; }
.live-gate p { font-size: 1.1rem; margin-bottom: 14px; }

.m-q { display: grid; gap: 8px; border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--surface); }
.m-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-opt { display: flex; align-items: center; gap: 6px; }
.m-opt input[type=radio] { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.m-opt .dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
@media (max-width: 640px) { .m-opts { grid-template-columns: 1fr; } }

.q-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow: auto; }
.q-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; }
.q-item .n { font-weight: 800; color: var(--primary-strong); padding-top: 2px; }
.q-item .t { font-weight: 700; overflow-wrap: anywhere; }
.q-item .o { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .88rem; color: var(--text-muted); margin-top: 4px; }
.q-item .o span.ok { color: var(--primary-strong); font-weight: 800; }
.q-item .o span.ok::before { content: "✓ "; }
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 18px; margin-top: 8px; }
.opt-grid label.chk { display: flex; gap: 10px; align-items: center; font-weight: 600; cursor: pointer; }
.opt-grid label.chk input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.opt-grid label.chk.off { opacity: .45; cursor: not-allowed; }
.live-create { display: flex; justify-content: center; margin-top: 8px; }
.live-create .btn { font-size: 1.25rem; padding: 16px 40px; }

.res-list { display: flex; flex-direction: column; gap: 8px; }
.res-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; text-align: left; color: var(--text); font: inherit; width: 100%; }
.res-item:hover { border-color: var(--primary); }
.res-item b { font-size: 1.05rem; overflow-wrap: anywhere; }
.res-item .pct { font-weight: 800; font-size: 1.2rem; color: var(--primary-strong); grid-row: span 2; }

/* ================= Учитель: проектор ================= */
body.lv-on { overflow: hidden; }
.lv-stage { position: fixed; inset: 0; z-index: 300; color: var(--lv-ink); background: radial-gradient(1200px 700px at 15% 0%, #5b2bb0 0%, transparent 60%), linear-gradient(160deg, var(--lv-bg1), var(--lv-bg2)); display: flex; flex-direction: column; font-family: var(--font); overflow: hidden; }
.lv-stage[hidden] { display: none; }
.lv-top { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: rgba(0, 0, 0, .18); flex: none; }
.lv-top .brand { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lv-top .codechip { background: #fff; color: #2a1752; border-radius: 10px; padding: 4px 12px; font-weight: 900; letter-spacing: 2px; font-size: 1.1rem; }
.lv-top .sp { flex: 1; }
.lv-top .info { font-weight: 700; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lv-ibtn { background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 10px; min-width: 42px; height: 42px; padding: 0 12px; font-size: 1.1rem; cursor: pointer; font-weight: 700; font-family: inherit; }
.lv-ibtn:hover { background: rgba(255, 255, 255, .26); }
.lv-ibtn:focus-visible, .lv-btn:focus-visible { outline: 3px solid #ffd54a; outline-offset: 2px; }
.lv-main { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px 26px; gap: 16px; overflow: auto; }
.lv-ctrl { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 12px 18px 16px; flex: none; }
.lv-btn { border: 0; border-radius: 14px; padding: 14px 28px; font-size: 1.2rem; font-weight: 800; cursor: pointer; font-family: inherit; background: #fff; color: #2a1752; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: transform .12s; }
.lv-btn:hover { transform: translateY(-1px); }
.lv-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.lv-btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.lv-btn.go { background: #ffd54a; color: #2a1752; font-size: 1.35rem; padding: 16px 40px; }
.lv-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.lv-net { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); background: #e5484d; color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 800; z-index: 5; }

/* Лобби */
.lv-lobby { display: grid; grid-template-columns: minmax(280px, 42%) 1fr; gap: 26px; align-items: start; }
.lv-qr { background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); aspect-ratio: 1; width: 100%; max-width: min(56vh, 520px); justify-self: center; }
.lv-qr svg { width: 100%; height: 100%; display: block; }
.lv-joininfo { display: flex; flex-direction: column; gap: 10px; }
.lv-joininfo .big { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 800; margin: 0; font-family: var(--font-display); }
.lv-url { font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 800; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 16px; overflow-wrap: anywhere; cursor: pointer; border: 0; color: #fff; text-align: left; font-family: inherit; }
.lv-code { font-size: clamp(3.4rem, 9vw, 7.6rem); font-weight: 900; letter-spacing: .08em; line-height: 1; background: #fff; color: #2a1752; border-radius: 22px; padding: 12px 24px; width: max-content; max-width: 100%; font-variant-numeric: tabular-nums; }
.lv-pcount { display: flex; gap: 16px; align-items: baseline; font-weight: 800; font-size: 1.3rem; flex-wrap: wrap; }
.lv-pcount .n { font-size: 2.4rem; }
.lv-plist { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.lv-pill { background: #fff; color: #2a1752; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.35rem); cursor: pointer; font-family: inherit; animation: lvPop .35s ease-out; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-pill.off { opacity: .5; }
.lv-pill:hover { text-decoration: line-through; }
@keyframes lvPop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } to { transform: scale(1); opacity: 1; } }

/* Вопрос */
.lv-qbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.lv-qbar .qn { font-weight: 800; font-size: 1.3rem; opacity: .9; }
.lv-qbar .ans { justify-self: end; text-align: center; font-weight: 800; }
.lv-qbar .ans b { display: block; font-size: 2.6rem; line-height: 1; }
.lv-timer { width: 108px; height: 108px; position: relative; }
.lv-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lv-timer circle { fill: none; stroke-width: 10; }
.lv-timer .bg { stroke: rgba(255, 255, 255, .18); }
.lv-timer .fg { stroke: #ffd54a; stroke-linecap: round; transition: stroke .3s; }
.lv-timer.warn .fg { stroke: #ff7a59; }
.lv-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.lv-qtext { background: #fff; color: #1d1433; border-radius: 22px; padding: clamp(16px, 2.4vw, 30px); font-size: clamp(1.6rem, 3.1vw, 3.1rem); font-weight: 800; line-height: 1.25; text-align: center; white-space: pre-line; overflow-wrap: anywhere; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.lv-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; min-height: 0; }
.lv-opt { display: flex; align-items: center; gap: 16px; border-radius: 18px; padding: 14px 22px; font-size: clamp(1.3rem, 2.4vw, 2.4rem); font-weight: 800; color: #fff; min-height: 90px; overflow-wrap: anywhere; box-shadow: 0 6px 0 rgba(0, 0, 0, .22); transition: opacity .4s, transform .4s, filter .4s; position: relative; }
.lv-opt .lv-shape { width: 1.3em; height: 1.3em; }
.lv-opt .cnt { margin-left: auto; font-size: .8em; font-weight: 900; background: rgba(0, 0, 0, .2); border-radius: 12px; padding: 2px 12px; }
.c0 { background: var(--o0); } .c1 { background: var(--o1); } .c2 { background: var(--o2); } .c3 { background: var(--o3); }
.lv-opt.dim { opacity: .35; filter: saturate(.5); }
.lv-opt.right { transform: scale(1.02); outline: 6px solid #fff; }
.lv-opt.right::after { content: "✓"; position: absolute; right: -10px; top: -14px; background: #fff; color: var(--lv-good); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.8rem; font-weight: 900; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.lv-pause[hidden], .lv-net[hidden] { display: none; }
.lv-pause { position: absolute; inset: 0; background: rgba(20, 10, 40, .72); display: grid; place-items: center; font-size: clamp(3rem, 8vw, 7rem); font-weight: 900; z-index: 4; backdrop-filter: blur(3px); }

/* Ответы: диаграмма + лидеры */
.lv-reveal { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; flex: 1; min-height: 0; }
.lv-chart { display: flex; align-items: flex-end; justify-content: center; gap: 4%; height: clamp(110px, 24vh, 340px); padding: 0 6px; border-bottom: 3px solid rgba(255, 255, 255, .4); }
.lv-bar { flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.lv-bar .v { font-weight: 900; font-size: clamp(1.3rem, 3vh, 2rem); }
.lv-bar .col { width: 100%; border-radius: 12px 12px 0 0; height: 0; transition: height .9s cubic-bezier(.2, .8, .2, 1); display: flex; justify-content: center; padding-top: 8px; min-height: 6px; overflow: hidden; }
.lv-bar .col .lv-shape { width: 32px; height: 32px; color: #fff; }
.lv-bar.dim { opacity: .4; }
.lv-board { background: rgba(0, 0, 0, .18); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lv-board h3 { margin: 0 0 4px; font-size: 1.5rem; }
.lv-lead { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 10px; align-items: center; background: #fff; color: #1d1433; border-radius: 14px; padding: 10px 14px; font-size: clamp(1.05rem, 1.6vw, 1.45rem); font-weight: 800; opacity: 0; transform: translateX(40px); animation: lvIn .5s forwards; }
.lv-lead .r { font-size: 1.4em; text-align: center; }
.lv-lead .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-lead .d { color: var(--lv-good); font-size: .85em; }
.lv-lead .mv { font-size: .8em; width: 2.4em; text-align: right; }
.lv-lead .mv.up { color: var(--lv-good); } .lv-lead .mv.down { color: var(--lv-bad); }
@keyframes lvIn { to { opacity: 1; transform: none; } }

/* Итоги */
.lv-final { display: flex; flex-direction: column; gap: 22px; }
.lv-podium { display: flex; justify-content: center; align-items: flex-end; gap: 18px; min-height: 300px; padding-top: 30px; }
.lv-pod { width: min(240px, 28vw); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lv-pod .who { font-size: clamp(1.2rem, 2.2vw, 2rem); font-weight: 900; text-align: center; overflow-wrap: anywhere; opacity: 0; animation: lvIn .6s forwards; transform: translateY(20px); }
.lv-pod .pts { font-weight: 800; opacity: .9; }
.lv-pod .blk { width: 100%; border-radius: 16px 16px 0 0; display: grid; place-items: start center; padding-top: 14px; font-size: 3.4rem; font-weight: 900; color: #2a1752; height: 0; transition: height 1s cubic-bezier(.2, .8, .2, 1); overflow: hidden; }
.lv-pod.p1 .blk { background: linear-gradient(#ffe27a, #f2b705); }
.lv-pod.p2 .blk { background: linear-gradient(#f1f3f8, #b8bfcc); }
.lv-pod.p3 .blk { background: linear-gradient(#f3c6a0, #c9834b); }
.lv-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.lv-sheet { background: #fff; color: #1d1433; border-radius: 20px; padding: 18px; }
.lv-sheet h3 { margin: 0 0 10px; }
.lv-hard { display: flex; flex-direction: column; gap: 8px; }
.lv-hard .h { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; background: #fff1ef; border-left: 6px solid var(--lv-bad); border-radius: 10px; padding: 8px 12px; }
.lv-hard .h b { color: var(--lv-bad); font-size: 1.3rem; }
.lv-tablewrap { overflow: auto; max-height: 60vh; }
table.lv-table { border-collapse: collapse; width: 100%; font-size: .98rem; }
.lv-table th, .lv-table td { border: 1px solid #e3dcef; padding: 6px 8px; text-align: center; }
.lv-table th { background: #f3eefb; position: sticky; top: 0; }
.lv-table td.nm { text-align: left; font-weight: 700; white-space: nowrap; }
.lv-table td.y { color: #13803f; font-weight: 900; } .lv-table td.n { color: #c62828; font-weight: 900; } .lv-table td.e { color: #aaa; }
.lv-table th.hard { background: #ffd9d4; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 900px) {
  .lv-lobby, .lv-reveal { grid-template-columns: 1fr; }
  .lv-opts { grid-template-columns: 1fr; }
  .lv-main { padding: 12px; }
}
@media (min-width: 1600px) { .lv-main { padding: 26px 48px; } }

/* ================= Ученик ================= */
body.lv-play { margin: 0; min-height: 100vh; min-height: 100dvh; background: linear-gradient(160deg, var(--lv-bg1), var(--lv-bg2)); color: #fff; font-family: var(--font); display: flex; flex-direction: column; }
.pl-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(0, 0, 0, .2); }
.pl-top .brand { font-weight: 900; display: flex; gap: 8px; align-items: center; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-top .brand img { width: 28px; height: 28px; }
.pl-score { font-weight: 900; background: #fff; color: #2a1752; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.pl-main { flex: 1; display: flex; flex-direction: column; padding: 16px; gap: 14px; min-height: 0; }
.pl-card { background: #fff; color: #1d1433; border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 480px; margin: auto; }
.pl-card h1 { font-size: 1.6rem; margin: 0; text-align: center; color: #2a1752; }
.pl-card label { font-weight: 800; display: flex; flex-direction: column; gap: 6px; }
.pl-input { font: inherit; font-size: 1.3rem; padding: 12px 14px; border-radius: 12px; border: 2px solid #d9d1ea; width: 100%; box-sizing: border-box; color: #1d1433; background: #fff; }
.pl-input:focus { outline: none; border-color: #6c3fd1; box-shadow: 0 0 0 4px rgba(108, 63, 209, .2); }
.pl-hint { font-weight: 700; font-size: .9rem; color: #6b5f86; line-height: 1.3; }
.pl-input.code { font-size: 2.2rem; text-align: center; letter-spacing: .3em; font-weight: 900; }
.pl-btn { font: inherit; font-size: 1.25rem; font-weight: 900; border: 0; border-radius: 14px; padding: 14px; background: #2a1752; color: #fff; cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.pl-btn:disabled { opacity: .5; }
.pl-btn.light { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; font-size: 1rem; padding: 10px 14px; }
.pl-err { color: #c62828; font-weight: 800; min-height: 1.2em; text-align: center; }
.pl-roster { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 46vh; overflow: auto; }
.pl-roster button { font: inherit; font-weight: 800; padding: 12px 8px; border-radius: 12px; border: 2px solid #d9d1ea; background: #f7f4fd; color: #1d1433; cursor: pointer; overflow-wrap: anywhere; }
.pl-roster button[aria-pressed="true"] { border-color: #6c3fd1; background: #6c3fd1; color: #fff; }
.pl-roster button:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pl-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.pl-center .big { font-size: clamp(2rem, 9vw, 3rem); font-weight: 900; margin: 0; }
.pl-center .mid { font-size: 1.25rem; font-weight: 700; opacity: .92; margin: 0; }
.pl-center .nm { background: #fff; color: #2a1752; border-radius: 999px; padding: 8px 20px; font-weight: 900; font-size: 1.3rem; max-width: 100%; overflow-wrap: anywhere; }
.pl-dots span { display: inline-block; width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; background: #fff; animation: plDot 1.2s infinite ease-in-out; }
.pl-dots span:nth-child(2) { animation-delay: .15s; } .pl-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes plDot { 0%, 80%, 100% { transform: scale(.5); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.pl-qhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; }
.pl-tbar { height: 10px; background: rgba(255, 255, 255, .2); border-radius: 999px; overflow: hidden; }
.pl-tbar i { display: block; height: 100%; background: #ffd54a; width: 100%; }
.pl-qtext { background: #fff; color: #1d1433; border-radius: 16px; padding: 12px 14px; font-weight: 800; font-size: 1.15rem; white-space: pre-line; overflow-wrap: anywhere; }
.pl-opts { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 260px; }
.pl-opts.n2 { grid-template-columns: 1fr; }
.pl-opt { border: 0; border-radius: 18px; color: #fff; font: inherit; font-weight: 900; font-size: 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; cursor: pointer; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); overflow-wrap: anywhere; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pl-opt .lv-shape { width: 56px; height: 56px; }
.pl-opt.txt .lv-shape { width: 32px; height: 32px; }
.pl-opt:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.pl-opt:disabled { cursor: default; }
.pl-opt.chosen { outline: 5px solid #fff; }
.pl-opts.locked .pl-opt:not(.chosen) { opacity: .3; }
.pl-verdict { width: 100%; max-width: 480px; border-radius: 24px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: lvPop .4s ease-out; }
.pl-verdict.ok { background: var(--lv-good); } .pl-verdict.bad { background: var(--lv-bad); } .pl-verdict.none { background: rgba(255, 255, 255, .16); }
.pl-verdict .ic { font-size: 3.6rem; line-height: 1; }
.pl-verdict .pts { font-size: 2.4rem; font-weight: 900; }
.pl-corr { display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .2); padding: 8px 14px; border-radius: 14px; font-weight: 800; }
.pl-corr .sw { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.pl-corr .sw .lv-shape { width: 24px; height: 24px; color: #fff; }
.pl-bottom { display: flex; justify-content: space-between; gap: 8px; padding: 0 16px 14px; flex-wrap: wrap; }
.pl-toggle { display: flex; align-items: center; gap: 8px; font-weight: 800; cursor: pointer; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 14px; }
.pl-toggle input { width: 18px; height: 18px; }
.pl-net { background: #e5484d; color: #fff; text-align: center; padding: 6px; font-weight: 800; }
.pl-lang { background: rgba(255, 255, 255, .16); color: #fff; border: 0; border-radius: 10px; padding: 6px 12px; font-weight: 900; cursor: pointer; font: inherit; }

@media (prefers-reduced-motion: reduce) {
  .lv-stage *, .lv-play * { animation: none !important; transition: none !important; }
  .lv-lead, .lv-pod .who { opacity: 1; transform: none; }
}

/* ================= Печать итогов ================= */
@media print {
  body.lv-on > *:not(.lv-stage) { display: none !important; }
  body.lv-on { overflow: visible; }
  .lv-stage { position: static; background: #fff !important; color: #000; display: block; overflow: visible; }
  .lv-top, .lv-ctrl, .lv-podium, .lv-actions, .lv-confetti, .lv-net, .no-print { display: none !important; }
  .lv-main { overflow: visible; padding: 0; }
  .lv-sheet { box-shadow: none; padding: 0; margin-bottom: 14px; }
  .lv-tablewrap { max-height: none; overflow: visible; }
  .lv-table th { position: static; }
  .lv-print-title { display: block !important; color: #000; }
}
.lv-print-title { display: none; }
