/* 📺 박스 TV 모드 (tv.js · 방장 2026-11-17 '내일 시연') — 박스 벽 TV · 모니터 전체 화면
   - 1920×1080 판(.tvstage) 하나를 --tvs 배율로 늘리고 줄여요 → 1280×720 · 4K 도 같은 모양 · 넘침 X
   - 늘 어두운 화면(밝은 모드여도 TV 는 어둡게 · 토큰을 여기서 다시 정해요) · 금색 = 주 강조 · 숫자 = Barlow Condensed
   - 원판 메달(.v2rkp) · Lv 링(.v2rklv)은 v2rank.js 그림 그대로 · 크기만 여기서 키워요
   - 이름 앞 글자 tv… (겹침 확인 2026-11-17) · 동작 줄이기면 연출 · 빛 · 깜빡임 끄기 */
.tvx {
  --bg: #0B0C0F; --panel: #17191E; --raise: #22252C; --line: #30333C; --line2: #3C404A;
  --fg: #F4F2EC; --muted: #AEB1B9; --gold: #F2C14E; --gold-bg: #F2C14E; --on-gold: #15161A; --coral: #F28B66; --good: #7FD1AE; --blue: #8AB4F8;
  --m1: #F6C64A; --m2: #D3DCE8; --m3: #F2A26C; --g1: 0 0 18px rgba(255,203,61,.5); --g2: 0 0 16px rgba(211,220,232,.42); --g3: 0 0 16px rgba(244,162,103,.42);
  --tE: #F7A6C9; --tA: #8FE3BE; --tB: #9DBBFF;
  position: fixed; inset: 0; z-index: 10000; background: #000; color: var(--fg); overflow: hidden; color-scheme: dark; cursor: none;
  font-family: var(--body, "Noto Sans KR", system-ui, sans-serif); word-break: keep-all
}
.tvx.tvui { cursor: auto }
body.tvopen { overflow: hidden }
.tvstage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--tvs, 1)); transform-origin: center; overflow: hidden; background: var(--bg) }
.tvbg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 700px at 12% -10%, rgba(242,193,78,.13), transparent 60%), radial-gradient(900px 700px at 105% 110%, rgba(242,139,102,.08), transparent 60%), linear-gradient(180deg, #0E0F13, #0A0B0D) }
.tvbg::after { content: ''; position: absolute; inset: -20%; background: radial-gradient(600px 400px at 50% 50%, rgba(242,193,78,.06), transparent 70%); animation: tvdrift 24s ease-in-out infinite alternate }
@keyframes tvdrift { from { transform: translate(-18%, -10%) } to { transform: translate(18%, 12%) } }

/* 장면 */
.tvscw { position: absolute; left: 0; right: 0; top: 0; bottom: 104px }
.tvscene { position: absolute; inset: 0; padding: 60px 96px 34px; display: flex; flex-direction: column }
.tvscene.tvin { animation: tvin .7s cubic-bezier(.2,.8,.2,1) both }
.tvscene.tvout { animation: tvout .6s ease both }
@keyframes tvin { from { opacity: 0; transform: translateX(60px) } to { opacity: 1; transform: none } }
@keyframes tvout { to { opacity: 0; transform: translateX(-60px) } }
.tvscene.tvin :is(.tvrow, .tvln, .tvpr, .tvat, .tvcls, .tvdot, .tvtc) { animation: tvup .55s calc(.12s + var(--i, 0) * 60ms) cubic-bezier(.2,.8,.2,1) both }
@keyframes tvup { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }

.tvhd { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; flex: none }
.tvkick { margin: 0 0 10px; font-size: 30px; font-weight: 700; color: var(--gold); letter-spacing: .02em }
.tvttl { margin: 0; font-size: 70px; line-height: 1.08; font-weight: 900; letter-spacing: -.01em; max-width: 1300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tvsub { font: 700 40px/1 var(--num); color: var(--muted); letter-spacing: .04em; margin-left: 14px; vertical-align: middle }
.tvhr { display: flex; align-items: baseline; gap: 10px; flex: none; color: var(--muted); font-size: 28px }
.tvcnt { font: 800 84px/1 var(--num); color: var(--fg) }
.tvfoot { margin: auto 0 0; padding-top: 14px; font-size: 24px; color: var(--muted); text-align: center }
.tvempty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px }
.tvei { font-size: 150px; line-height: 1; filter: drop-shadow(0 0 40px rgba(242,193,78,.35)); animation: tvbob 3s ease-in-out infinite }
@keyframes tvbob { 50% { transform: translateY(-14px) } }
.tvet { margin: 18px 0 0; font-size: 68px; font-weight: 900; color: var(--gold) }
.tves { margin: 0; font-size: 30px; color: var(--muted) }

/* ① 오늘의 와드 */
.tvwod { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; min-height: 0 }
.tvwl { min-width: 0 }
.tvwn { margin: 0; font: italic 900 190px/0.92 var(--num); letter-spacing: -.01em; color: var(--fg); text-shadow: 0 0 60px rgba(242,193,78,.25); overflow-wrap: anywhere; max-height: 360px; overflow: hidden }
.tvwt { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px }
.tvwt b { font: 800 46px/1 var(--num); letter-spacing: .06em; background: var(--gold-bg); color: var(--on-gold); padding: 12px 24px; border-radius: 14px }
.tvwt span { font: 700 42px/1 var(--num); color: var(--fg); letter-spacing: .03em }
.tvdvs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px }
.tvdvs small { font-size: 26px; color: var(--muted); margin-right: 6px }
.tvdv { font: 700 30px/1 var(--num); font-style: normal; letter-spacing: .04em; padding: 8px 16px; border-radius: 10px; border: 2px solid var(--line2); color: var(--muted) }
.tvdv.dRx { color: var(--gold); border-color: rgba(242,193,78,.55) } .tvdv.dA { color: var(--tA); border-color: rgba(143,227,190,.45) } .tvdv.dB { color: var(--tB); border-color: rgba(157,187,255,.45) }
.tvwc { margin: 34px 0 0; font-size: 34px; color: var(--muted) } .tvwc b { font: 800 50px/1 var(--num); color: var(--gold) }
.tvwr { display: flex; flex-direction: column; gap: 18px; padding: 44px 48px; border-radius: 30px; background: linear-gradient(160deg, rgba(242,193,78,.12), var(--panel) 55%); border: 2px solid rgba(242,193,78,.35); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); max-height: 100%; overflow: hidden; min-width: 0 }
.tvln { display: flex; align-items: baseline; gap: 22px; font-size: 52px; line-height: 1.15; min-width: 0 }
.tvln b { flex: none; min-width: 170px; font: 800 58px/1 var(--num); color: var(--gold); letter-spacing: .01em }
.tvln span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.tvln small { flex: none; font: 600 36px/1 var(--num); color: var(--muted); margin-left: auto }
.tvwr.s2 .tvln { font-size: 42px } .tvwr.s2 .tvln b { font-size: 48px; min-width: 140px } .tvwr.s2 .tvln small { font-size: 30px }
.tvwr.s3 { gap: 12px } .tvwr.s3 .tvln { font-size: 34px } .tvwr.s3 .tvln b { font-size: 40px; min-width: 120px } .tvwr.s3 .tvln small { font-size: 26px }
.tvraw { margin: 0; font: 600 38px/1.35 var(--body); white-space: pre-wrap; color: var(--fg); overflow: hidden }

/* ②③ 순위 두 줄 (1~5 | 6~10) */
.tvcols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; min-height: 0 }
.tvcol { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.tvrow { position: relative; isolation: isolate; display: flex; align-items: center; gap: 24px; height: 112px; padding: 0 30px; border-radius: 22px; background: var(--panel); border: 1.5px solid var(--line); min-width: 0 }
.tvrow.k1 { background: linear-gradient(90deg, rgba(242,193,78,.2), rgba(242,193,78,.04)); border-color: rgba(242,193,78,.55) }
.tvrow.k2 { background: linear-gradient(90deg, rgba(211,220,232,.12), var(--panel)); border-color: rgba(211,220,232,.3) }
.tvrow.k3 { background: linear-gradient(90deg, rgba(244,162,103,.13), var(--panel)); border-color: rgba(244,162,103,.32) }
.tvrow.tvcapl::before { content: '⏱ 타임캡'; position: absolute; left: 30px; top: -12px; font-size: 17px; font-weight: 700; color: var(--muted); background: var(--bg); padding: 0 8px }
.tvrow.tvcapl { border-style: dashed }
.tvx .v2rkp { flex: none; width: 66px; height: 66px; display: grid; place-items: center; font: 800 46px/1 var(--num); color: var(--muted) }
.tvx .v2rkp svg { width: 100%; height: 100%; display: block; overflow: visible }
.tvx .k1 .v2rkp { width: 78px; height: 78px; margin: -6px } .tvx .k1 .v2rkp svg { filter: drop-shadow(0 0 14px rgba(242,193,78,.6)) }
.tvnm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; font-size: 46px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tvrow.k1 .tvnm, .tvat.k1 .tvnm { color: var(--m1); text-shadow: var(--g1) } .tvrow.k2 .tvnm, .tvat.k2 .tvnm { color: var(--m2); text-shadow: var(--g2) } .tvrow.k3 .tvnm, .tvat.k3 .tvnm { color: var(--m3); text-shadow: var(--g3) }
.tvtag { flex: none; font: 700 28px/1.3 var(--num); font-style: normal; letter-spacing: .04em; padding: 2px 12px; border-radius: 10px; border: 2px solid var(--line2); color: var(--muted) }
.tvtag.gE { color: var(--tE); border-color: rgba(247,166,201,.45) } .tvtag.gRx { color: var(--gold); border-color: rgba(242,193,78,.55) } .tvtag.gA { color: var(--tA); border-color: rgba(143,227,190,.45) } .tvtag.gB { color: var(--tB); border-color: rgba(157,187,255,.45) }
.tvsc { flex: none; font: 800 58px/1 var(--num); font-variant-numeric: tabular-nums; white-space: nowrap }
.tvsc small { font: 600 26px var(--body); color: var(--muted); margin-left: 4px }
.tvrow.k1 .tvsc { color: #FFCB3D; text-shadow: var(--g1); font-size: 64px }
/* 박스 스코어: 점수만큼 찬 막대 · Lv 링 */
.tvbar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); z-index: -1; border-radius: 20px; background: linear-gradient(90deg, rgba(242,193,78,.18), rgba(242,193,78,.02)); transform-origin: left; animation: tvgrow .9s .2s cubic-bezier(.2,.8,.2,1) both }
.tvrow.k1 .tvbar { display: none }
@keyframes tvgrow { from { transform: scaleX(0) } }
.tvx .v2rklv { position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; align-content: center; line-height: 1; background: conic-gradient(var(--tc, #9DBBFF) calc(var(--p, 100) * 1%), var(--line2) 0); color: var(--fg) }
.tvx .v2rklv::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: color-mix(in srgb, var(--tc, #9DBBFF) 14%, var(--panel)) }
.tvx .v2rklv small, .tvx .v2rklv b { position: relative }
.tvx .v2rklv small { font: 700 15px/1 var(--num); color: var(--tc, #9DBBFF); letter-spacing: .1em }
.tvx .v2rklv b { font: 800 30px/1 var(--num); margin-top: 1px }
.tvlv0 { flex: none; width: 66px; height: 66px; border-radius: 50%; border: 3px dashed var(--line2) }
/* 새 기록 줄 = 금빛으로 잠깐 빛나요 */
.tvrow.tvnew { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(242,193,78,.6), 0 0 50px rgba(242,193,78,.35); animation: tvglow 1.6s ease-in-out 4 }
@keyframes tvglow { 50% { box-shadow: 0 0 0 3px rgba(242,193,78,.95), 0 0 80px rgba(242,193,78,.6) } }
.tvnewt { flex: none; font: 800 24px/1 var(--num); font-style: normal; letter-spacing: .08em; color: var(--on-gold); background: var(--gold-bg); padding: 6px 10px; border-radius: 8px; text-shadow: none }

/* ④ 수업 */
.tvclsw { flex: 1; display: grid; gap: 40px; min-height: 0 }
.tvclsw.n1 { grid-template-columns: minmax(0, 1100px); justify-content: center } .tvclsw.n2 { grid-template-columns: 1fr 1fr } .tvclsw.n3 { grid-template-columns: 1.25fr 1fr 1fr }
.tvcls { display: flex; flex-direction: column; gap: 22px; padding: 34px 38px; border-radius: 30px; background: var(--panel); border: 2px solid var(--line); min-width: 0; min-height: 0; overflow: hidden }
.tvcls.live { border-color: rgba(242,193,78,.6); background: linear-gradient(160deg, rgba(242,193,78,.14), var(--panel) 60%); box-shadow: 0 0 60px -10px rgba(242,193,78,.3) }
.tvclh { display: flex; flex-direction: column; gap: 6px }
.tvclb { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 800; color: var(--muted) }
.tvcls.live .tvclb { color: var(--coral) }
.tvlive { width: 16px; height: 16px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(242,139,102,.7); animation: tvpulse 1.6s infinite }
@keyframes tvpulse { 70% { box-shadow: 0 0 0 16px rgba(242,139,102,0) } 100% { box-shadow: 0 0 0 0 rgba(242,139,102,0) } }
.tvclt { font: 800 96px/1 var(--num); color: var(--fg) } .tvclt small { font-size: 48px; color: var(--muted); font-weight: 700 }
.tvcls.live .tvclt { color: var(--gold) }
.tvcln { font-size: 34px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tvclb2 { display: flex; gap: 30px; align-items: flex-start; min-height: 0 }
.tvclsw.n3 .tvclb2 { flex-direction: column; align-items: center }
.tvclsw.n3 .tvcls:first-child .tvclb2 { flex-direction: row; align-items: flex-start }
.tvrw { position: relative; flex: none; width: 220px; height: 220px }
.tvring { width: 100%; height: 100%; transform: rotate(-90deg) }
.tvrg0 { fill: none; stroke: var(--raise); stroke-width: 18 }
.tvrg1 { fill: none; stroke: var(--gold); stroke-width: 18; stroke-linecap: round; animation: tvring 1.2s .25s cubic-bezier(.2,.8,.2,1) both }
.tvrg1.full { stroke: var(--coral) }
@keyframes tvring { from { stroke-dashoffset: var(--c) } }
.tvrv { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1 }
.tvrv b { font: 800 84px/1 var(--num) } .tvrv small { font-size: 24px; color: var(--muted); margin-top: 4px }
.tvrv em { font-style: normal; font-size: 20px; font-weight: 700; color: var(--coral); margin-top: 8px } .tvrv em.ok { color: var(--good) }
.tvwho { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px; overflow: hidden; max-height: 100% }
.tvdot { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--raise); font-size: 25px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tvdot i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 20px; font-weight: 900; color: var(--on-gold); background: var(--gold-bg) }
.tvdot.more { padding: 6px 18px; color: var(--muted) }
.tvpips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px } .tvpips i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line2) } .tvpips i.on { background: var(--gold-bg); border-color: var(--gold-bg) }

/* 오늘 시간표 한 줄 */
.tvtt { flex: none; display: flex; gap: 12px; margin-top: 26px; overflow: hidden }
.tvtc { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--panel); border: 1.5px solid var(--line) }
.tvtc b { font: 800 34px/1 var(--num) } .tvtc small { font-size: 20px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .tvtc em { font: 700 26px/1 var(--num); font-style: normal; color: var(--good) }
.tvtc.past { opacity: .45 } .tvtc.full em { color: var(--coral) }
.tvtc.live { border-color: var(--gold); background: linear-gradient(160deg, rgba(242,193,78,.18), var(--panel)) } .tvtc.live b { color: var(--gold) }
.tvbox h3 small { font-size: 22px; font-weight: 600; color: var(--muted); margin-left: 10px }

/* ⑤ PR · 출석 */
.tvprw { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; min-height: 0 }
.tvbox { display: flex; flex-direction: column; gap: 14px; padding: 30px 34px; border-radius: 30px; background: var(--panel); border: 2px solid var(--line); min-width: 0; min-height: 0; overflow: hidden }
.tvbox h3 { margin: 0 0 6px; font-size: 38px; font-weight: 900 }
.tvbox .tvempty .tvei { font-size: 110px } .tvbox .tvet { font-size: 46px } .tvbox .tves { font-size: 26px }
.tvpr { display: flex; align-items: center; gap: 20px; padding: 14px 20px; border-radius: 18px; background: linear-gradient(90deg, rgba(242,193,78,.12), var(--raise)); min-width: 0 }
.tvpri { flex: none; font-size: 46px }
.tvprn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px }
.tvprn b { font-size: 38px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tvprn small { font-size: 24px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tvprv { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px }
.tvprv small { font: 600 24px/1 var(--num); color: var(--muted) } .tvprv b { font: 800 50px/1 var(--num); color: var(--gold); text-shadow: var(--g1) }
.tvat { display: flex; align-items: center; gap: 20px; height: 84px; padding: 0 20px; border-radius: 18px; background: var(--raise); min-width: 0 }
.tvat .tvnm { font-size: 36px; flex: 0 1 260px }
.tvat .v2rkp { width: 52px; height: 52px; font-size: 36px } .tvat.k1 .v2rkp { width: 60px; height: 60px; margin: -4px }
.tvatb { flex: 1; height: 16px; border-radius: 999px; background: var(--bg); overflow: hidden; min-width: 60px }
.tvatb i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--gold-bg)); transform-origin: left; animation: tvgrow .9s .3s cubic-bezier(.2,.8,.2,1) both }
.tvat .tvsc { font-size: 46px }

/* ⑥ 시계 */
.tvclk { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center }
.tvmk { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #15161A; color: #F4F2EC; font: 900 64px/1 var(--body); box-shadow: 0 0 0 4px rgba(242,193,78,.6), 0 0 80px rgba(242,193,78,.25) }
.tvmk img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; background: #15161A }
.tvbn { margin: 26px 0 0; font-size: 40px; font-weight: 800; color: var(--muted) }
.tvtime { margin-top: 6px; display: flex; align-items: baseline; justify-content: center; font: 800 300px/1 var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--fg); text-shadow: 0 0 80px rgba(242,193,78,.18) }
.tvtime small { font-size: 110px; color: var(--gold); margin-left: 24px }
.tvcolon { font-style: normal; margin: 0 6px; color: var(--gold); transition: opacity .3s } .tvcolon.dim { opacity: .25 }
.tvdate { margin: 4px 0 0; font-size: 46px; font-weight: 700 }
.tvslo { margin: 40px 0 0; font-size: 44px; font-weight: 900; color: var(--gold); letter-spacing: .04em }
.tvslo::before, .tvslo::after { content: '—'; color: var(--line2); margin: 0 24px }

/* 맨 아래 띠: 박스 마크 · 이름 · 점 · 시각 · BOX&REP */
.tvband { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; display: flex; align-items: center; gap: 22px; padding: 0 56px; background: rgba(23,25,30,.88); border-top: 1.5px solid var(--line) }
.tvbm { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #15161A; color: #F4F2EC; font: 900 26px/1 var(--body); box-shadow: 0 0 0 2.5px rgba(242,193,78,.6) }
.tvbm img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; background: #15161A }
.tvbname { flex: 0 1 560px; min-width: 0; font-size: 34px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tvdots { flex: 1; display: flex; justify-content: center; gap: 14px }
.tvd { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 999px; background: var(--line2); cursor: pointer; overflow: hidden; position: relative; transition: width .35s ease }
.tvd i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold-bg) }
.tvd.on { width: 90px; background: var(--raise) }
.tvnow { flex: none; font: 800 50px/1 var(--num); font-variant-numeric: tabular-nums }
.tvbr { flex: none; font: 900 italic 38px/1 var(--num); letter-spacing: .04em; color: var(--fg); padding-left: 22px; border-left: 1.5px solid var(--line2) } .tvbr i { color: var(--gold) }
.tvstage[data-k="clock"] .tvnow { visibility: hidden }   /* 시계 장면엔 큰 시계가 있어서 */

/* 마우스를 움직이면: ◀ ⏸ ▶ (아래 띠 · 점 옆) · ✕ (오른쪽 위 · 늘 조금 보여요) · 멈춘 동안엔 늘 보여요 */
.tvctl { flex: none; display: flex; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .3s }
.tvui .tvctl, .tvpaused .tvctl { opacity: 1; pointer-events: auto }
.tvctl button { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line2); background: var(--raise); color: var(--fg); font-size: 24px; cursor: pointer }
.tvctl button:hover, .tvctl button:focus-visible { border-color: var(--gold); color: var(--gold); outline: none }
.tvclose { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(23,25,30,.7); color: #F4F2EC; font-size: 20px; cursor: pointer; opacity: .35; transition: opacity .3s }
.tvui .tvclose, .tvclose:focus-visible { opacity: 1 } .tvclose:focus-visible { outline: 2px solid #F2C14E; outline-offset: 2px }
.tvpaused .tvd.on i { background: var(--muted) }
.tvtoast { position: absolute; top: 36px; left: 50%; transform: translate(-50%, -160%); padding: 18px 36px; border-radius: 999px; background: var(--gold-bg); color: var(--on-gold); font-size: 34px; font-weight: 900; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: transform .5s cubic-bezier(.2,.8,.2,1); white-space: nowrap; z-index: 3 }
.tvtoast:not(.on) { visibility: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), visibility 0s .5s }
.tvtoast.on { transform: translate(-50%, 0) }
.tvbtn { white-space: nowrap }

@media (prefers-reduced-motion: reduce) {
  .tvx *, .tvx *::before, .tvx *::after { animation: none !important; transition: none !important }
}
