/*
 * File: app.css
 * Description: Streaming Platform cinematic interface and responsive layout system.
 * Author: MexTech Limited
 * Copyright: © 2026 MexTech Limited. All rights reserved.
 * Link: https://mextechltd.name.ng
 * Version: 1.1.0
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --shell: #000;
  --ink: #f5f5f7;
  --panel: #1c1c1e;
  --panel-raised: #2c2c2e;
  --glass: rgba(28,28,30,.64);
  --line: rgba(255,255,255,.14);
  --line-soft: rgba(255,255,255,.08);
  --muted: rgba(245,245,247,.56);
  --muted-strong: rgba(245,245,247,.78);
  --brand: #14b8a6;
  --gold: #c7a86b;
  --on-solid: #000;
  --solid: #f5f5f7;
  --gutter: 4.2vw;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
}

:root.light {
  color-scheme: light;
  --shell: #fff;
  --ink: #1d1d1f;
  --panel: #f5f5f7;
  --panel-raised: #e8e8ed;
  --glass: rgba(255,255,255,.72);
  --line: rgba(0,0,0,.14);
  --line-soft: rgba(0,0,0,.08);
  --muted: rgba(29,29,31,.58);
  --muted-strong: rgba(29,29,31,.8);
  --on-solid: #fff;
  --solid: #1d1d1f;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #000; }

.tv-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 1rem var(--gutter) 0;
  pointer-events: none;
  transition: padding .4s var(--ease);
}
.tv-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 1760px;
  margin: 0 auto;
}
.tv-header__inner > * { pointer-events: auto; }
.tv-brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; font-size: 1.05rem; font-weight: 700; letter-spacing: -.03em; }
.tv-brand__mark { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 50%; background: var(--solid); color: var(--on-solid); }
.tv-brand__mark svg { width: .9rem; height: .9rem; fill: currentColor; stroke-width: 2.4; margin-left: 2px; }
.tv-tabs {
  display: inline-flex;
  gap: .15rem;
  padding: .28rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.tv-tabs a { padding: .55rem 1.15rem; border-radius: 999px; color: var(--muted-strong); font-size: .82rem; font-weight: 600; letter-spacing: -.01em; transition: background .25s ease, color .25s ease; }
.tv-tabs a:hover { color: var(--ink); }
.tv-tabs a[aria-current="page"] { background: var(--solid); color: var(--on-solid); }
.tv-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.tv-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: width .45s var(--ease);
}
.tv-search:focus-within, .tv-search:hover { width: 14rem; }
.tv-search svg { flex: 0 0 auto; width: 1rem; height: 1rem; color: var(--muted-strong); }
.tv-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .85rem; }
.tv-search input::placeholder { color: var(--muted); }
.tv-icon, .tv-avatar {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  color: var(--muted-strong);
  transition: color .2s ease, transform .3s var(--ease);
}
.tv-icon:hover { color: var(--ink); transform: scale(1.06); }
.tv-icon svg { width: 1rem; height: 1rem; }
.tv-avatar { background: var(--solid); color: var(--on-solid); font-size: .82rem; font-weight: 700; }
.tv-link { padding: 0 .7rem; color: var(--muted-strong); font-size: .85rem; font-weight: 600; }
.tv-link:hover { color: var(--ink); }
.tv-pill { padding: .68rem 1.15rem; border-radius: 999px; background: var(--solid); color: var(--on-solid); font-size: .82rem; font-weight: 700; transition: transform .3s var(--ease); }
.tv-pill:hover { transform: scale(1.05); }
.tv-header.is-solid { padding-top: .65rem; }

.tv-dock { display: none; }
.tv-main { overflow-x: clip; min-height: 100vh; transition: opacity .14s ease, transform .14s ease; }
.tv-main.is-leaving { opacity: 0; transform: translateY(6px); }
.tv-main.is-entering { animation: tv-page-in .3s var(--ease); }
.tv-loader { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 3px; background: linear-gradient(90deg, var(--brand), var(--gold)); box-shadow: 0 0 12px var(--brand); transform: scaleX(0); transform-origin: left center; opacity: 0; pointer-events: none; transition: transform .2s ease-out, opacity .25s ease; }
.tv-loader.is-active { opacity: 1; }
@keyframes tv-page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tv-footer__inner a { color: var(--muted-strong); }
.tv-footer__inner a:hover { color: var(--ink); }

.tv-kicker { color: var(--muted-strong); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.tv-muted { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.tv-inline { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.tv-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.1rem;
  padding: 0 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--solid);
  color: var(--on-solid);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.tv-play:hover { transform: scale(1.04); }
.tv-play:active { transform: scale(.98); }
.tv-play svg { width: 1rem; height: 1rem; fill: currentColor; }
.tv-play--small { min-height: 2.7rem; padding: 0 1.4rem; font-size: .85rem; }
.tv-play--block { width: 100%; }
.tv-ghost { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .82rem; font-weight: 600; transition: background .2s ease, color .2s ease; }
.tv-ghost:hover { background: var(--panel); color: var(--ink); }
.tv-ghost svg { width: .9rem; height: .9rem; }

.tv-empty { display: grid; min-height: 100vh; place-content: center; justify-items: center; gap: 1rem; padding: 8rem var(--gutter); text-align: center; }
.tv-empty svg { width: 2.6rem; height: 2.6rem; color: var(--muted); }
.tv-empty h1, .tv-empty h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.04em; }
.tv-empty p { max-width: 28rem; color: var(--muted); line-height: 1.6; }

.tv-shelf { margin-top: 3.6rem; }
.tv-shelf__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter); margin-bottom: 1.1rem; }
.tv-shelf__head h2 { font-size: clamp(1.3rem, 1.9vw, 1.9rem); font-weight: 700; letter-spacing: -.035em; }
.tv-shelf__head a { display: inline-flex; align-items: center; gap: .15rem; color: var(--muted); font-size: .85rem; font-weight: 600; transition: color .2s ease; }
.tv-shelf__head a:hover { color: var(--ink); }
.tv-shelf__head svg { width: 1rem; height: 1rem; }

.tv-tile { display: grid; flex: 0 0 clamp(17rem, 24vw, 30rem); align-content: start; gap: .8rem; min-width: 0; }
.tv-tile__progress { position: absolute; inset: auto 0 0 0; display: block; height: 3px; background: var(--brand); }
.tv-chip { flex: 0 0 auto; padding: .55rem 1rem; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--panel); color: var(--muted-strong); font-size: .82rem; font-weight: 600; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.tv-chip:hover { color: var(--ink); background: var(--panel-raised); }
.tv-chip[aria-current="true"] { border-color: transparent; background: var(--solid); color: var(--on-solid); }

.tv-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 100px -40px rgba(0,0,0,.95); color: #fff; }
.tv-player:fullscreen { width: 100vw; height: 100vh; height: 100dvh; min-height: 100dvh; max-height: none; border-radius: 0; aspect-ratio: auto; }
.tv-player__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tv-player.is-immersive { position: fixed; z-index: 10000; inset: 0; width: 100vw; height: 100vh; height: 100dvh; min-height: 100dvh; max-height: none; border-radius: 0; aspect-ratio: auto; }
.tv-player.is-immersive[data-orientation="portrait"] .tv-player__video { object-fit: contain; }
.tv-player.is-immersive[data-orientation="landscape"] .tv-player__video { object-fit: contain; }
.tv-player__ad { position: absolute; z-index: 3; inset: 0; display: block; overflow: hidden; background: #000; }
.tv-player__ad[hidden] { display: none; }
.tv-player__ad-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tv-player__ad-link { position: absolute; z-index: 1; inset: 0; }
.tv-player__ad-shade { position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 38%); }
.tv-player__ad-bar { position: absolute; z-index: 3; right: 1.4rem; bottom: 1.1rem; left: 1.4rem; display: flex; align-items: center; gap: .8rem; min-height: 2.5rem; }
.tv-player__ad-label, .tv-player__ad-countdown { color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 700; }
.tv-player__ad-label { margin-right: auto; }
.tv-player__ad-skip { min-width: 6rem; padding: .65rem .9rem; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(10,10,12,.78); color: #fff; font-size: .78rem; font-weight: 700; }
.tv-player__ad-skip:not(:disabled) { cursor: pointer; }
.tv-player__ad-skip:disabled { opacity: .58; }
.tv-player__ad-progress { position: absolute; z-index: 3; right: 1.4rem; bottom: .55rem; left: 1.4rem; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.25); pointer-events: none; }
.tv-player__ad-progress span { display: block; width: 0; height: 100%; background: var(--brand); transition: width .15s linear; }
.tv-player.is-ad-playing .tv-player__center, .tv-player.is-ad-playing .tv-player__bar { opacity: 0; pointer-events: none; }
.tv-ad-slot { width: min(100% - 2 * var(--gutter), 728px); min-height: 90px; margin: 1.4rem auto 0; text-align: center; }
.tv-ad-slot p { margin: 0 0 .45rem; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.tv-ad-slot .adsbygoogle { min-height: 90px; }
.player-immersive-open { overflow: hidden; }
.tv-player__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 42%), linear-gradient(180deg, rgba(0,0,0,.5), transparent 28%); transition: opacity .3s ease; }
.tv-player__top { position: absolute; top: 0; right: 0; left: 0; display: grid; gap: .25rem; padding: 1.3rem 1.6rem; pointer-events: none; transition: opacity .3s ease; }
.tv-player__eyebrow { color: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tv-player__title { overflow: hidden; font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 700; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.tv-player__spinner { position: absolute; top: 50%; left: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--brand); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s ease; animation: tv-spin .8s linear infinite; }
.tv-player.is-buffering .tv-player__spinner { opacity: 1; }
.tv-player.is-buffering .tv-player__big { opacity: 0; }
.tv-player__center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .3s ease; }
.tv-player__big { display: grid; width: 5.6rem; height: 5.6rem; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: color-mix(in srgb, var(--brand) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #04110f; pointer-events: auto; box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent), 0 24px 60px -18px rgba(0,0,0,.8); animation: tv-player-pulse 2.4s ease-out infinite; transition: transform .3s var(--ease), opacity .2s ease; }
.tv-player__big:hover { transform: scale(1.08); }
.tv-player__big svg { width: 1.8rem; height: 1.8rem; fill: currentColor; margin-left: 3px; }
@keyframes tv-player-pulse { to { box-shadow: 0 0 0 1.6rem transparent, 0 24px 60px -18px rgba(0,0,0,.8); } }
.tv-player.is-playing .tv-player__center { opacity: 0; }
.tv-player.is-playing .tv-player__center .tv-player__big { pointer-events: none; animation: none; }
.tv-player.is-ad-playing .tv-player__top, .tv-player.is-ad-playing .tv-player__spinner { opacity: 0; }
.tv-player__bar { position: absolute; right: 1.1rem; bottom: 1.1rem; left: 1.1rem; padding: .85rem 1.1rem .55rem; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(12,14,14,.55); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); transition: opacity .3s ease, transform .3s var(--ease); }
.tv-player.is-immersive .tv-player__bar { right: max(.8rem, env(safe-area-inset-right)); bottom: max(.8rem, env(safe-area-inset-bottom)); left: max(.8rem, env(safe-area-inset-left)); z-index: 4; opacity: 1; }
.tv-player.is-immersive .tv-player__top { padding-top: max(1rem, env(safe-area-inset-top)); padding-right: max(1.4rem, env(safe-area-inset-right)); padding-left: max(1.4rem, env(safe-area-inset-left)); }
.tv-player__scrub input { display: block; width: 100%; height: 5px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 5px; background: linear-gradient(90deg, var(--brand) var(--played, 0%), rgba(255,255,255,.26) var(--played, 0%)); cursor: pointer; transition: height .15s ease; }
.tv-player__scrub input:hover { height: 7px; }
.tv-player__scrub input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.tv-player__scrub input::-moz-range-track { height: 100%; background: transparent; }
.tv-player__scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent); }
.tv-player__scrub input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent); }
.tv-player__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .55rem; }
.tv-player__group { display: flex; align-items: center; gap: .15rem; }
.tv-player__btn { display: inline-grid; min-width: 2.5rem; height: 2.5rem; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: .8rem; font-weight: 700; transition: background .2s ease, transform .2s var(--ease); }
.tv-player__btn:hover { background: rgba(255,255,255,.16); }
.tv-player__btn:active { transform: scale(.92); }
.tv-player__btn svg { width: 1.15rem; height: 1.15rem; }
.tv-player__btn--main { margin-right: .3rem; background: #fff; color: #000; }
.tv-player__btn--main:hover { background: color-mix(in srgb, var(--brand) 70%, #fff); }
.tv-player__btn--main svg { fill: currentColor; }
.tv-player__btn--text { padding: 0 .7rem; border-radius: 999px; }
.tv-player__time { margin-left: .6rem; color: rgba(255,255,255,.78); font-size: .78rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.tv-player__side-control { position: absolute; z-index: 4; top: 50%; display: flex; width: 2.8rem; align-items: center; flex-direction: column; gap: .35rem; padding: .65rem .45rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(12,14,14,.58); color: #fff; backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); transform: translateY(-50%); transition: opacity .25s ease; }
.tv-player__side-control--volume { left: clamp(.6rem, 2vw, 1.3rem); }
.tv-player__side-control--brightness { right: clamp(.6rem, 2vw, 1.3rem); }
.tv-player__side-control > i { display: grid; width: 1rem; height: 1rem; place-items: center; }
.tv-player__side-control > i svg { width: .95rem; height: .95rem; }
.tv-player__side-label { color: rgba(255,255,255,.66); font-size: .48rem; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.tv-player__side-value { color: rgba(255,255,255,.88); font-size: .55rem; font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1; }
.tv-player__side-rail { position: relative; display: block; flex: 0 0 70px; width: 16px; height: 70px; }
.tv-player__side-slider { position: absolute; top: 50%; left: 50%; display: block; width: 70px; height: 5px; margin: 0; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; outline: none; background: transparent; cursor: pointer; touch-action: none; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; }
.tv-player__side-slider::-webkit-slider-runnable-track { width: 100%; height: 5px; border-radius: 999px; background: linear-gradient(to right, var(--brand) var(--fill, 100%), rgba(255,255,255,.22) var(--fill, 100%)); }
.tv-player__side-slider::-moz-range-track { height: 5px; border-radius: 999px; background: rgba(255,255,255,.22); }
.tv-player__side-slider::-moz-range-progress { border-radius: 999px; background: var(--brand); }
.tv-player__side-slider::-webkit-slider-thumb { width: 13px; height: 13px; margin-top: -4px; appearance: none; -webkit-appearance: none; border: 2px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tv-player__side-slider::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 1px 8px rgba(0,0,0,.4); }
.tv-player__seek { position: absolute; z-index: 5; inset: 0; opacity: 1; pointer-events: none; transition: opacity .25s ease; }
.tv-player__seek-btn { position: absolute; top: 50%; display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; gap: .12rem; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(12,14,14,.58); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: auto; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s var(--ease); }
.tv-player__seek-btn:before { position: absolute; inset: -.3rem; content: ''; }
.tv-player__seek-btn--back { left: clamp(4.15rem, 8vw, 5.35rem); }
.tv-player__seek-btn--forward { right: clamp(4.15rem, 8vw, 5.35rem); }
.tv-player__seek-btn:hover { background: color-mix(in srgb, var(--brand) 45%, rgba(12,14,14,.8)); transform: translateY(-50%) scale(1.06); }
.tv-player__seek-btn svg { width: .9rem; height: .9rem; }
.tv-player__seek-btn span { font-size: .52rem; font-weight: 800; }
.tv-player.is-ad-playing .tv-player__side-control, .tv-player.is-ad-playing .tv-player__seek, .tv-player.is-ad-playing .tv-player__seek-btn { opacity: 0; pointer-events: none; }
.tv-player.is-playing.has-controls-hidden .tv-player__bar, .tv-player.is-playing.has-controls-hidden .tv-player__top, .tv-player.is-playing.has-controls-hidden .tv-player__side-control, .tv-player.is-playing.has-controls-hidden .tv-player__seek, .tv-player.is-playing.has-controls-hidden .tv-player__seek-btn { opacity: 0; pointer-events: none; }
.tv-player.is-playing.has-controls-hidden .tv-player__bar { transform: translateY(10px); }

.tv-cinema { position: relative; padding-top: 5.6rem; overflow-x: clip; }
.tv-cinema__backdrop { position: absolute; top: 0; right: 0; left: 0; height: 82vh; background: var(--cinema-art) center / cover no-repeat; filter: blur(90px) saturate(1.7); opacity: .5; transform: scale(1.35); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
:root.light .tv-cinema__backdrop { opacity: .3; }
.tv-cinema__stage, .tv-cinema__body { position: relative; max-width: 1760px; margin-inline: auto; }
.tv-cinema__stage { padding: 0 var(--gutter); }
.tv-cinema__frame { position: relative; max-width: min(100%, calc(78vh * 16 / 9)); margin: 0 auto; }
.tv-cinema__glow { position: absolute; inset: 7% 3% -5%; border-radius: 40px; background: var(--cinema-art) center / cover no-repeat; filter: blur(52px) saturate(1.9); opacity: .6; pointer-events: none; }
.tv-cinema__body { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 3.2rem; padding: 2.6rem var(--gutter) 3rem; }
.tv-cinema__main { min-width: 0; }
.tv-cinema__head { display: grid; justify-items: start; gap: 1.1rem; }
.tv-cinema__genre { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .2s ease; }
.tv-cinema__genre:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.tv-cinema__genre svg { width: .9rem; height: .9rem; }
.tv-cinema__title { font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.tv-cinema__facts { display: flex; flex-wrap: nowrap; gap: .55rem; width: 100%; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.tv-cinema__facts::-webkit-scrollbar { display: none; }
.tv-cinema__facts li { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .5rem; white-space: nowrap; padding: .5rem .9rem; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--muted-strong); font-size: .82rem; font-weight: 600; }
.tv-cinema__facts svg { width: .95rem; height: .95rem; color: var(--brand); }
.tv-cinema__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.7rem; }
.tv-react, .tv-act { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--glass); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); }
.tv-react__btn, .tv-act { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; padding: 0 1.25rem; border: 0; background: transparent; color: var(--ink); font-size: .86rem; font-weight: 700; transition: background .2s ease, color .2s ease, transform .3s var(--ease); }
.tv-act { border: 1px solid var(--line-soft); background: var(--glass); }
.tv-react__btn + .tv-react__btn { border-left: 1px solid var(--line-soft); }
.tv-react__btn:hover, .tv-act:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.tv-act:hover { transform: translateY(-2px); }
.tv-react__btn svg, .tv-act svg { width: 1.1rem; height: 1.1rem; }
.tv-react__btn.is-active, .tv-act.is-active { background: var(--brand); color: #04110f; }
.tv-react__btn.is-active svg, .tv-act.is-active svg { fill: currentColor; }
.tv-share { position: fixed; z-index: 11000; inset: 0; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; pointer-events: none; }
.tv-share.is-open { visibility: visible; pointer-events: auto; }
.tv-share__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,8,12,.72); opacity: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .28s ease; }
.tv-share.is-open .tv-share__backdrop { opacity: 1; }
.tv-share__panel { position: relative; width: min(100%, 620px); max-height: min(88vh, 680px); overflow-y: auto; padding: 1rem clamp(1.25rem, 4vw, 2rem) calc(1.4rem + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0; background: linear-gradient(155deg, color-mix(in srgb, var(--brand) 10%, var(--panel)), var(--panel) 42%); box-shadow: 0 -24px 80px rgba(0,0,0,.35); color: var(--ink); opacity: 0; transform: translateY(100%); transition: opacity .3s ease, transform .42s var(--ease); }
.tv-share.is-open .tv-share__panel { opacity: 1; transform: translateY(0); }
.tv-share__handle { width: 2.8rem; height: 4px; margin: 0 auto 1.25rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.tv-share__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tv-share__eyebrow { color: var(--brand); font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.tv-share__head h2 { margin-top: .35rem; font-size: clamp(1.35rem, 4vw, 1.75rem); font-weight: 800; letter-spacing: -.04em; }
.tv-share__head p { margin-top: .4rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tv-share__close { display: grid; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line-soft); border-radius: 50%; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); transition: background .2s ease, transform .2s ease; }
.tv-share__close:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); transform: rotate(90deg); }
.tv-share__close svg { width: 1rem; height: 1rem; }
.tv-share__platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; margin-top: 1.5rem; }
.tv-share__platform { display: flex; min-width: 0; align-items: center; flex-direction: column; gap: .55rem; padding: .8rem .35rem .7rem; border: 1px solid var(--line-soft); border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--muted-strong); font-size: .68rem; font-weight: 700; text-align: center; transition: border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease; }
.tv-share__platform:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 9%, transparent); color: var(--ink); transform: translateY(-3px); }
.tv-share__platform-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.tv-share__platform-icon svg { width: 1.1rem; height: 1.1rem; }
.tv-share__platform--whatsapp .tv-share__platform-icon { background: rgba(37,211,102,.15); color: #25d366; }
.tv-share__platform--facebook .tv-share__platform-icon { background: rgba(8,102,255,.16); color: #0866ff; }
.tv-share__platform--x .tv-share__platform-icon { background: rgba(255,255,255,.11); color: var(--ink); }
.tv-share__platform--telegram .tv-share__platform-icon { background: rgba(38,165,228,.16); color: #26a5e4; }
.tv-share__platform--email .tv-share__platform-icon { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); }
.tv-share__link { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding: .75rem; border: 1px solid var(--line-soft); border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.tv-share__link-icon { display: grid; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.tv-share__link-icon svg { width: 1.1rem; height: 1.1rem; }
.tv-share__link-copy { display: grid; min-width: 0; gap: .25rem; }
.tv-share__link-copy strong { font-size: .78rem; }
.tv-share__link-copy small { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.tv-share__copy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; min-height: 2.5rem; margin-left: auto; padding: 0 .85rem; border: 0; border-radius: 999px; background: var(--brand); color: #04110f; font-size: .72rem; font-weight: 800; transition: filter .2s ease, transform .2s ease; }
.tv-share__copy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.tv-share__copy svg { width: .9rem; height: .9rem; }
.tv-share__status { margin-top: .7rem; color: var(--brand); font-size: .75rem; font-weight: 700; }
.tv-share__status:empty { display: none; }
body.tv-share-open { overflow: hidden; }
.tv-story { margin-top: 2rem; padding: 1.6rem 1.8rem; border: 1px solid var(--line-soft); border-radius: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%), var(--panel); }
.tv-story__label { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tv-story__text { max-width: 46rem; margin-top: .9rem; color: var(--muted-strong); font-size: 1.04rem; line-height: 1.75; white-space: pre-line; }
.tv-story.is-ready .tv-story__text:not(.is-open) { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.tv-story__more { margin-top: .8rem; padding: 0; border: 0; background: transparent; color: var(--brand); font-size: .86rem; font-weight: 700; }
.tv-story__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.tv-talk { margin-top: 3rem; }
.tv-talk__head { display: flex; align-items: center; gap: .8rem; }
.tv-talk__head h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.035em; }
.tv-talk__count { display: inline-grid; min-width: 1.9rem; height: 1.9rem; padding: 0 .55rem; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); font-size: .78rem; font-weight: 700; }
.tv-talk__form { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; padding: .5rem .5rem .5rem .7rem; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--panel); transition: border-color .2s ease; }
.tv-talk__form:focus-within { border-color: var(--brand); }
.tv-talk__form .tv-input { flex: 1; min-width: 0; height: 2.8rem; padding: 0 .4rem; border: 0; background: transparent; }
.tv-talk__form .tv-input:focus { background: transparent; }
.tv-talk__guest { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; padding: 1.05rem 1.3rem; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted-strong); font-size: .92rem; }
.tv-talk__guest svg { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; color: var(--brand); }
.tv-talk__list { display: grid; gap: .9rem; margin-top: 1.6rem; }
.tv-talk__empty { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; }
.tv-comment { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-soft); border-radius: 22px; background: var(--panel); }
.tv-comment.is-new { animation: tv-page-in .4s var(--ease); }
.tv-comment__avatar { display: grid; flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: var(--panel-raised); font-size: .8rem; font-weight: 700; }
.tv-comment__body { flex: 1; min-width: 0; }
.tv-comment__meta { display: flex; align-items: baseline; gap: .6rem; font-size: .9rem; }
.tv-comment__meta small { color: var(--muted); font-size: .72rem; }
.tv-comment__text { margin-top: .35rem; color: var(--muted-strong); font-size: .94rem; line-height: 1.6; overflow-wrap: anywhere; }
.tv-comment__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin: .55rem 0 0 -.6rem; }
.tv-comment__react, .tv-comment__reply, .tv-comment__toggle, .tv-comment__more, .tv-talk__cancel { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.1rem; padding: 0 .75rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted-strong); font-size: .78rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.tv-comment__react:hover, .tv-comment__reply:hover, .tv-comment__toggle:hover, .tv-comment__more:hover, .tv-talk__cancel:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.tv-comment__react svg { width: 1rem; height: 1rem; }
.tv-comment__react span:empty { display: none; }
.tv-comment__react.is-active { color: var(--brand); }
.tv-comment__react.is-active svg { fill: currentColor; }
.tv-comment__react:disabled, .tv-comment__toggle:disabled, .tv-comment__more:disabled { opacity: .6; }
.tv-comment__toggle, .tv-comment__more { margin: .35rem 0 0 -.6rem; color: var(--brand); }
.tv-comment__toggle svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.tv-comment__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tv-comment__toggle[hidden], .tv-comment__more[hidden], .tv-comment__replies[hidden] { display: none; }
.tv-comment__replies { display: grid; gap: 1rem; margin-top: .9rem; }
.tv-comment--reply { gap: .7rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
.tv-comment--reply .tv-comment__avatar { flex-basis: 2rem; width: 2rem; height: 2rem; font-size: .7rem; }
.tv-talk__form--reply { margin-top: .8rem; padding: .35rem .35rem .35rem .5rem; }
.tv-talk__form--reply .tv-comment__avatar { flex-basis: 2rem; width: 2rem; height: 2rem; font-size: .7rem; }
.tv-talk__form--reply .tv-input { height: 2.4rem; }
.tv-cinema__rail { position: sticky; top: 5.6rem; align-self: start; max-height: calc(100vh - 7rem); overflow-y: auto; scrollbar-width: none; }
.tv-cinema__rail::-webkit-scrollbar { display: none; }
.tv-rail__title { margin-bottom: 1rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tv-rail__list { display: grid; gap: .8rem; }
.tv-up { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); align-items: center; gap: .9rem; padding: .55rem; border: 1px solid transparent; border-radius: 20px; transition: background .25s ease, border-color .25s ease, transform .3s var(--ease); }
.tv-up:hover { border-color: var(--line-soft); background: var(--panel); transform: translateX(3px); }
.tv-up__art { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--panel-raised); }
.tv-up__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tv-up:hover .tv-up__art img { transform: scale(1.07); }
.tv-up__art em { position: absolute; right: .45rem; bottom: .45rem; padding: .15rem .5rem; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: .68rem; font-style: normal; font-weight: 700; }
.tv-up__art i { position: absolute; top: 50%; left: 50%; display: grid; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--brand) 85%, transparent); color: #04110f; opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .3s var(--ease); }
.tv-up:hover .tv-up__art i { opacity: 1; transform: none; }
.tv-up__art i svg { width: 1rem; height: 1rem; fill: currentColor; }
.tv-up__meta { display: grid; gap: .28rem; min-width: 0; }
.tv-up__meta small { color: var(--brand); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tv-up__meta strong { display: -webkit-box; overflow: hidden; font-size: .94rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tv-up__meta span { color: var(--muted); font-size: .76rem; }
.tv-up--lead { grid-template-columns: minmax(0, 1fr); gap: .8rem; padding: .7rem; border-color: var(--line-soft); background: var(--panel); }
.tv-up--lead .tv-up__art { aspect-ratio: 16 / 9; border-radius: 16px; }
.tv-up--lead .tv-up__meta { padding: 0 .3rem .3rem; }
.tv-up--lead .tv-up__meta strong { font-size: 1.1rem; }
@media (max-width: 1180px) {
  .tv-cinema__body { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.2rem; }
  .tv-up { grid-template-columns: 8rem minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .tv-cinema__body { display: flex; flex-direction: column; gap: 0; }
  .tv-cinema__main { display: contents; }
  .tv-cinema__head { order: 1; }
  .tv-cinema__actions { order: 2; }
  .tv-story { order: 3; }
  .tv-cinema__rail { position: static; order: 4; max-height: none; margin-top: 2.4rem; overflow: visible; }
  .tv-talk { order: 5; }
  .tv-rail__list { grid-auto-flow: column; grid-auto-columns: min(78%, 18rem); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tv-rail__list::-webkit-scrollbar { display: none; }
  .tv-rail__list > * { scroll-snap-align: start; }
  .tv-up, .tv-up--lead { grid-template-columns: minmax(0, 1fr); align-items: start; gap: .7rem; padding: .6rem; border-color: var(--line-soft); background: var(--panel); }
  .tv-up__art, .tv-up--lead .tv-up__art { aspect-ratio: 16 / 10; }
  .tv-up:hover { transform: none; }
}
@media (max-width: 767px) {
  .tv-cinema { padding-top: 4.3rem; }
  .tv-cinema__stage { padding: 0; }
  .tv-cinema__frame { max-width: none; }
  .tv-cinema__glow { display: none; }
  .tv-player { border-radius: 0; box-shadow: none; }
  .tv-player__side-control { top: calc(50% - .9rem); width: 2rem; gap: .18rem; padding: .35rem .18rem; }
  .tv-player__side-rail { height: 34px; flex-basis: 34px; }
  .tv-player__side-slider { width: 34px; }
  .tv-player__top { padding: .8rem 1rem; }
  .tv-player__big { width: 4.2rem; height: 4.2rem; }
  .tv-player__bar { right: .5rem; bottom: .5rem; left: .5rem; padding: .45rem .65rem .2rem; border-radius: 14px; background: rgba(12,14,14,.5); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); }
  .tv-player__row { gap: .5rem; margin-top: .3rem; }
  .tv-player__btn { min-width: 2rem; height: 2rem; }
  .tv-player__btn svg { width: 1.05rem; height: 1.05rem; }
  .tv-player__time { margin-left: .3rem; font-size: .7rem; }
  .tv-cinema__body { padding-top: 1.8rem; }
  .tv-cinema__title { font-size: 2.1rem; }
  .tv-cinema__facts { gap: .2rem; }
  .tv-cinema__facts li { gap: .2rem; padding: .36rem .4rem; font-size: .66rem; letter-spacing: -.01em; }
  .tv-cinema__facts svg { width: .72rem; height: .72rem; }
  .tv-cinema__actions > * { flex: 1 1 auto; justify-content: center; }
  .tv-react { flex: 1 1 100%; }
  .tv-react__btn { flex: 1; justify-content: center; }
  .tv-story { padding: 1.3rem; border-radius: 22px; }
  .tv-story__text { font-size: .97rem; }
  .tv-talk { margin-top: 2.4rem; }
}
@media (max-width: 479px) {
  .tv-player__side-control { top: calc(50% - .75rem); width: 1.9rem; gap: .16rem; padding: .32rem .16rem; }
  .tv-player__side-control--volume { left: .45rem; }
  .tv-player__side-control--brightness { right: .45rem; }
  .tv-player__side-rail { height: 28px; flex-basis: 28px; }
  .tv-player__side-slider { width: 28px; }
  .tv-player__side-value { font-size: .5rem; }
  .tv-player__seek-btn { width: 2.3rem; height: 2.3rem; }
  .tv-player__seek-btn--back { left: 3.5rem; }
  .tv-player__seek-btn--forward { right: 3.5rem; }
  .tv-player__seek-btn svg { width: .82rem; height: .82rem; }
  .tv-player__seek-btn span { font-size: .49rem; }
  .tv-player__group { gap: 0; }
  .tv-player__btn { min-width: 1.8rem; height: 1.8rem; }
  .tv-player__time { display: none; }
  .tv-share__platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tv-share__platform { padding-inline: .25rem; }
  .tv-share__link { gap: .55rem; }
  .tv-share__copy { gap: .35rem; padding-inline: .7rem; }
  .tv-talk__form--reply .tv-comment__avatar { display: none; }
  .tv-talk__form--reply .tv-play--small { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-player__big { animation: none; }
  .tv-player__spinner { animation-duration: 1.6s; }
  .tv-share__backdrop, .tv-share__panel { transition: none; }
}


.tv-input, .field-input {
  width: 100%;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: 0;
  background: var(--panel);
  color: var(--ink);
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
select.field-input, select.tv-input { appearance: none; -webkit-appearance: none; }
.tv-input:focus, .field-input:focus { border-color: var(--brand); background: var(--panel-raised); }
.tv-input::placeholder { color: var(--muted); }
.tv-input:disabled { opacity: .5; }

.tv-auth { position: relative; display: grid; min-height: 100vh; place-items: center; padding: 6rem var(--gutter); overflow: hidden; }
.tv-auth__glow { position: absolute; top: -20%; left: 50%; width: min(70rem, 140vw); height: 44rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20,184,166,.28), transparent); pointer-events: none; }
.tv-auth__card { position: relative; display: grid; width: min(100%, 25rem); justify-items: center; text-align: center; }
.tv-auth__mark { width: 3.4rem; height: 3.4rem; margin-bottom: 1.6rem; }
.tv-auth__mark svg { width: 1.3rem; height: 1.3rem; }
.tv-auth__card h1 { margin-top: .5rem; font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tv-auth__sub { margin-top: .9rem; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.tv-form { display: grid; width: 100%; gap: .9rem; margin-top: 2rem; text-align: left; }
.tv-field { display: grid; gap: .45rem; }
.tv-field span { color: var(--muted-strong); font-size: .78rem; font-weight: 600; }
.tv-check { display: flex; align-items: center; gap: .6rem; color: var(--muted-strong); font-size: .85rem; }
.tv-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--brand); }
.tv-form .tv-play { margin-top: .5rem; }
.tv-auth__links { display: flex; align-items: center; justify-content: center; gap: 1.3rem; margin-top: 1.6rem; color: var(--muted); font-size: .85rem; }
.tv-auth__links a { color: var(--muted-strong); font-weight: 600; }
.tv-auth__links a:hover { color: var(--ink); }
.tv-alert, .tv-notice { width: 100%; margin-top: 1.4rem; padding: .85rem 1rem; border-radius: 12px; font-size: .88rem; line-height: 1.5; text-align: left; }
.tv-alert { background: rgba(255,69,58,.14); color: #ff8a80; }
.tv-notice { background: rgba(20,184,166,.14); color: var(--brand); }
.tv-notice + .tv-play { margin-top: 1rem; }

.tv-account { max-width: 1400px; margin: 0 auto; padding: 8rem 0 2rem; }
.tv-account > .tv-muted { padding: 3rem var(--gutter) 0; }
.tv-panel { margin: 3.5rem var(--gutter) 0; padding: 2rem; border-radius: 24px; background: var(--panel); }
.tv-panel h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }
.tv-panel .tv-input { background: var(--panel-raised); }

.brand-mark { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; font-weight: 700; letter-spacing: -.03em; }
.brand-symbol { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 50%; background: var(--solid); color: var(--on-solid); }
.brand-symbol svg { width: .9rem; height: .9rem; fill: currentColor; stroke-width: 2.4; margin-left: 2px; }
.eyebrow { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.eyebrow.text-teal, .text-teal { color: var(--brand); }
.section-title { font-weight: 700; letter-spacing: -.035em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.button-primary, .button-quiet { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.6rem; border: 0; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .3s var(--ease); }
.button-primary { background: var(--solid); color: var(--on-solid); }
.button-quiet { border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.button-primary:hover, .button-quiet:hover { transform: scale(1.03); }
.button-primary svg, .button-quiet svg { width: .95rem; height: .95rem; }
.tag { display: inline-flex; padding: .38rem .7rem; border-radius: 999px; background: var(--panel-raised); color: var(--muted-strong); font-size: .72rem; font-weight: 600; }
.field-label { display: block; color: var(--muted-strong); font-size: .78rem; font-weight: 600; }
.field-label .field-input { margin-top: .45rem; }
.alert-error { margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; background: rgba(255,69,58,.14); color: #ff8a80; font-size: .88rem; }
.auth-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.auth-links a:hover { color: var(--ink); }
.auth-shell { position: relative; display: grid; min-height: 100vh; place-items: center; padding: 5rem var(--gutter); overflow: hidden; }
.auth-shell:before { content: ''; position: absolute; top: -20%; left: 50%; width: min(70rem, 140vw); height: 44rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20,184,166,.26), transparent); pointer-events: none; }
.auth-art { display: none; }
.auth-panel { position: relative; width: min(100%, 30rem); }
.auth-card h2 { margin-top: .6rem; font-size: 2.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1.05; }
.auth-card > p { margin-top: .8rem; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.auth-form { display: grid; gap: 1rem; margin-top: 1.8rem; }
.auth-form button { width: 100%; }
.admin-shell { min-height: 100vh; background: var(--shell); }
.admin-shell > .min-h-screen > main { transition: opacity .14s ease, transform .14s ease; }
.admin-shell > .min-h-screen > main.is-leaving { opacity: 0; transform: translateY(6px); }
.admin-shell > .min-h-screen > main.is-entering { animation: tv-page-in .3s var(--ease); }
.admin-sidebar { border-right: 1px solid var(--line-soft); background: var(--panel); }
.admin-nav-link { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; color: var(--muted-strong); font-size: .88rem; font-weight: 600; transition: background .2s ease, color .2s ease; }
.admin-nav-link:hover { background: var(--panel-raised); color: var(--ink); }
.admin-nav-link.active { background: var(--solid); color: var(--on-solid); }
.admin-nav-link svg { width: 1rem; height: 1rem; }
.stat-card { padding: 1.3rem; border: 0; border-radius: 22px; background: var(--panel); }
.admin-shell .button-primary { min-height: 2.6rem; }
:root.light .text-white { color: var(--ink) !important; }
:root.light .text-white\/35, :root.light .text-white\/40, :root.light .text-white\/45, :root.light .text-white\/50, :root.light .text-white\/55 { color: var(--muted) !important; }

@media (min-width: 1800px) {
  :root { --gutter: 5vw; }
  .tv-tile { flex-basis: 30rem; }
  .tv-header__inner, .tv-footer__inner { max-width: 2000px; }
}

@media (min-width: 2400px) {
  html { font-size: 20px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 5vw; }
  .tv-header__inner { grid-template-columns: auto 1fr auto; }
  .tv-tabs { justify-self: center; }
  .tv-tabs a { padding: .5rem .85rem; font-size: .78rem; }
  .tv-search:focus-within, .tv-search:hover { width: 2.5rem; }
  .tv-link { display: none; }
  .tv-tile { flex-basis: 45vw; }
}

@media (max-width: 767px) {
  :root { --gutter: 1.2rem; }
  body { padding-bottom: 5.4rem; }
  .tv-header { padding: .7rem var(--gutter) 0; }
  .tv-header__inner { grid-template-columns: 1fr auto; }
  .tv-tabs, .tv-search, .tv-pill { display: none; }
  .tv-brand__name { font-size: 1rem; }
  .tv-dock {
    position: fixed;
    right: .8rem;
    bottom: calc(.8rem + env(safe-area-inset-bottom));
    left: .8rem;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: .4rem;
    border: 1px solid var(--line-soft);
    border-radius: 26px;
    background: var(--glass);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  }
  .tv-dock a { display: grid; justify-items: center; gap: .2rem; padding: .55rem 0; border-radius: 20px; color: var(--muted); font-size: .64rem; font-weight: 600; }
  .tv-dock a svg { width: 1.2rem; height: 1.2rem; }
  .tv-dock a[aria-current="page"] { background: var(--panel-raised); color: var(--ink); }
  .tv-shelf { margin-top: 2.4rem; }
  .tv-shelf__head h2 { font-size: 1.25rem; }
  .tv-tile { flex-basis: 78vw; }
  .tv-auth { align-items: start; padding-top: 7rem; }
  .tv-account { padding-top: 5.4rem; }
  .tv-panel { padding: 1.3rem; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 379px) {
  .tv-tile { flex-basis: 84vw; }
  .tv-dock a span { font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

:root.light {
  --shell: #f4f7f5;
  --ink: #14201d;
  --panel: #ffffff;
  --panel-raised: #edf3f0;
  --glass: rgba(255,255,255,.9);
  --glass-strong: rgba(255,255,255,.94);
  --panel-soft: rgba(20,32,29,.045);
  --line: rgba(20,32,29,.16);
  --line-soft: rgba(20,32,29,.09);
  --muted: rgba(20,32,29,.58);
  --muted-strong: rgba(20,32,29,.78);
  --brand: #0f8f82;
  --gold: #9a6f28;
  --on-solid: #ffffff;
  --solid: #14201d;
  --shadow-soft: 0 24px 70px -42px rgba(20,32,29,.28);
  --shadow-card: 0 18px 50px -30px rgba(20,32,29,.22);
}

:root.light body {
  background:
    radial-gradient(circle at 16% -10%, rgba(15,143,130,.09), transparent 34rem),
    radial-gradient(circle at 90% 4%, rgba(154,111,40,.08), transparent 28rem),
    var(--shell);
}

:root.light body.is-shell {
  background: #eef3f1;
}

:root.light .tv-header.is-solid .tv-header__inner {
  border-color: var(--line-soft);
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
}

:root.light .tv-tabs,
:root.light .tv-search,
:root.light .tv-icon,
:root.light .tv-avatar {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px -18px rgba(20,32,29,.34);
}

:root.light .tv-auth,
:root.light .auth-shell {
  background:
    radial-gradient(circle at 50% 8%, rgba(15,143,130,.1), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(154,111,40,.08), transparent 26rem);
}

:root.light .tv-auth__card,
:root.light .auth-panel {
  border-color: var(--line-soft);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

:root.light .auth-art {
  border-color: var(--line);
  background:
    linear-gradient(140deg, rgba(15,143,130,.22), transparent 38%),
    linear-gradient(25deg, rgba(154,111,40,.14), transparent 48%),
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.9), transparent 5rem),
    #dcebe6;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

:root.light .auth-art:before {
  border-color: rgba(20,32,29,.13);
  box-shadow: 0 0 0 2rem rgba(20,32,29,.035), 0 0 0 5rem rgba(20,32,29,.025);
}

:root.light .auth-art:after {
  background: rgba(20,32,29,.05);
}

:root.light .tv-panel,
:root.light .tv-chip,
:root.light .admin-sidebar,
:root.light .admin-shell .admin-sidebar,
:root.light .stat-card,
:root.light .admin-shell .stat-card {
  border-color: var(--line-soft);
  background: var(--panel);
  box-shadow: 0 14px 34px -28px rgba(20,32,29,.32);
}

:root.light .tv-input,
:root.light .field-input,
:root.light .admin-shell .field-input {
  border-color: var(--line-soft);
  background: #f8fbf9;
  color: var(--ink);
}

:root.light .tv-input:focus,
:root.light .field-input:focus,
:root.light .admin-shell .field-input:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15,143,130,.13);
}

:root.light .admin-shell table thead {
  background: rgba(20,32,29,.035);
}

:root {
  --panel-soft: rgba(255,255,255,.045);
  --glass-strong: rgba(18,18,20,.94);
  --shadow-soft: 0 24px 70px -42px rgba(0,0,0,.85);
  --shadow-card: 0 18px 50px -30px rgba(0,0,0,.72);
}

body {
  background:
    radial-gradient(circle at 16% -10%, rgba(20,184,166,.07), transparent 34rem),
    radial-gradient(circle at 90% 4%, rgba(199,168,107,.05), transparent 28rem),
    var(--shell);
}

body.is-shell {
  background: #0b0b0c;
}

.tv-header__inner {
  padding: .42rem .42rem .42rem .65rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.tv-header.is-solid .tv-header__inner {
  border-color: var(--line-soft);
  background: var(--glass-strong);
  box-shadow: var(--shadow-soft);
}

.tv-brand__mark,
.brand-symbol {
  box-shadow: 0 8px 24px -12px rgba(255,255,255,.7);
}

.tv-tabs,
.tv-search,
.tv-icon,
.tv-avatar {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.tv-auth__card h1,
.auth-card h2 {
  text-wrap: balance;
}

.tv-shelf__head {
  max-width: 1760px;
  margin-inline: auto;
}

.tv-auth {
  background:
    radial-gradient(circle at 50% 8%, rgba(20,184,166,.12), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(199,168,107,.05), transparent 26rem);
}

.tv-auth__card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28,28,30,.7), rgba(16,16,18,.38));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.tv-auth__mark {
  box-shadow: 0 18px 40px -16px rgba(20,184,166,.5);
}

.auth-shell {
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 34rem);
  gap: clamp(3rem, 8vw, 10rem);
  padding: clamp(2rem, 6vw, 6rem) clamp(1.2rem, 7vw, 8rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(20,184,166,.12), transparent 30rem),
    radial-gradient(circle at 92% 90%, rgba(199,168,107,.08), transparent 24rem);
}

.auth-art {
  position: relative;
  display: flex;
  min-height: min(70vh, 42rem);
  align-items: flex-end;
  padding: clamp(1.8rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 36px;
  background:
    linear-gradient(140deg, rgba(20,184,166,.42), transparent 38%),
    linear-gradient(25deg, rgba(199,168,107,.18), transparent 48%),
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.2), transparent 5rem),
    #111819;
  box-shadow: var(--shadow-card);
}

.auth-art:before,
.auth-art:after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.auth-art:before {
  top: 12%;
  right: 12%;
  width: 16rem;
  height: 16rem;
  box-shadow: 0 0 0 2rem rgba(255,255,255,.035), 0 0 0 5rem rgba(255,255,255,.025);
}

.auth-art:after {
  right: -10rem;
  bottom: -13rem;
  width: 34rem;
  height: 34rem;
  background: rgba(0,0,0,.16);
}

.auth-art__copy {
  position: relative;
  z-index: 1;
  max-width: 32rem;
}

.auth-art__copy h1 {
  margin-top: .8rem;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .92;
}

.auth-art__copy p:last-child {
  max-width: 24rem;
  margin-top: 1.2rem;
  color: rgba(245,245,247,.72);
  font-size: 1rem;
  line-height: 1.65;
}

.auth-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28,28,30,.82), rgba(16,16,18,.58));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.auth-card .brand-mark {
  margin-bottom: 1rem;
}

.auth-card .eyebrow {
  margin-top: 2rem;
}

.auth-card h2 {
  margin-top: .65rem;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.auth-form {
  gap: 1.1rem;
}

.auth-form .button-primary {
  width: 100%;
  margin-top: .35rem;
}

.install-shell {
  align-items: center;
}

.install-card {
  max-height: min(88vh, 62rem);
  overflow: auto;
  scrollbar-width: thin;
}

.install-card > p:not(.eyebrow),
.install-card > .auth-form {
  max-width: 32rem;
}

.install-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.install-section .eyebrow {
  margin-top: 0;
}

.install-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.5rem;
}

[data-mysql-fields][hidden] {
  display: none;
}

.admin-shell {
  background:
    radial-gradient(circle at 8% 0%, rgba(20,184,166,.08), transparent 28rem),
    radial-gradient(circle at 96% 0%, rgba(199,168,107,.06), transparent 24rem),
    var(--shell);
}

.admin-shell > .min-h-screen {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: rgba(0,0,0,.08);
}

.admin-shell .admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 100vh;
  padding: 1.4rem !important;
  background: rgba(17,17,19,.82);
  box-shadow: 16px 0 50px -45px rgba(0,0,0,.9);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.admin-shell .admin-sidebar .eyebrow {
  margin-top: 3.5rem;
}

.admin-shell > .min-h-screen > main {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 3rem) !important;
}

.admin-shell > .min-h-screen > main > .mx-auto {
  max-width: 1400px;
}

.admin-shell h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -.065em;
  line-height: .98;
}

.admin-shell h2 {
  letter-spacing: -.04em;
}

.admin-shell .stat-card,
.admin-shell main section,
.admin-shell main form.rounded-2xl,
.admin-shell main > .mx-auto > .overflow-hidden.rounded-2xl {
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.admin-shell .stat-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 60%),
    var(--panel);
}

.admin-shell .stat-card:after {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(20,184,166,.18);
  border-radius: 50%;
  content: '';
}

.admin-shell .field-input {
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.admin-shell .field-input:hover {
  border-color: var(--line);
}

.admin-shell .field-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(20,184,166,.12);
}

.admin-shell table thead {
  background: rgba(255,255,255,.025);
}

.admin-shell table tbody tr {
  transition: background .2s ease;
}

.admin-shell table tbody tr:hover {
  background: rgba(255,255,255,.035);
}

.admin-shell .button-primary,
.admin-shell .button-quiet {
  box-shadow: 0 12px 24px -16px rgba(255,255,255,.8);
}

.admin-shell .admin-nav-link {
  min-height: 2.8rem;
}

.appearance-colors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.appearance-color-field {
  display: grid;
  gap: .55rem;
}

.appearance-color-control {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
}

.appearance-swatch {
  display: block;
  width: 3.25rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--color-preview, #14B8A6);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.08), 0 10px 24px -16px rgba(0,0,0,.8);
}

.appearance-hex {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.appearance-hex:invalid {
  border-color: #ff6b61;
}

@media (max-width: 900px) {
  .appearance-colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 32rem);
    gap: 2rem;
    padding-inline: 5vw;
  }

  .auth-art {
    min-height: 32rem;
    padding: 2rem;
  }

  .admin-shell .admin-sidebar {
    position: relative;
    min-height: auto;
  }

  .admin-shell > .min-h-screen {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .tv-header__inner {
    padding: .32rem .32rem .32rem .5rem;
  }

  .tv-auth__card {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .auth-shell {
    display: block;
    min-height: 100svh;
    padding: 1.2rem;
  }

  .auth-art {
    display: none;
  }

  .auth-panel {
    width: min(100%, 34rem);
    margin: 0 auto;
    padding: 1.35rem;
    border-radius: 22px;
  }

  .install-card {
    max-height: none;
  }

  .install-actions {
    display: grid;
  }

  .admin-shell .admin-sidebar {
    padding: 1rem !important;
  }

  .admin-shell .admin-sidebar .eyebrow {
    margin-top: 2rem;
  }

  .appearance-colors {
    grid-template-columns: 1fr;
  }
}

.password-control {
  display: block;
  position: relative;
}

.password-control > input {
  padding-right: 5.25rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: .7rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: var(--brand, #14B8A6);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .5rem;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(20,184,166,.12);
  outline: none;
}

.password-control {
  display: block;
  position: relative;
  width: 100%;
}

.password-control > input {
  width: 100%;
  padding-right: 3.6rem;
}

.password-control > .password-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--muted-strong);
  cursor: pointer;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem !important;
  z-index: 2;
}

.password-control > .password-toggle:hover,
.password-control > .password-toggle:focus-visible {
  background: rgba(20,184,166,.14);
  color: var(--brand);
  outline: none;
}

.password-toggle__icon {
  height: 1.3rem;
  pointer-events: none;
  width: 1.3rem;
}

.password-toggle__text {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tv-footer { margin-top: 3rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line-soft); }

.tv-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1760px;
  min-height: 2rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: .75rem;
}

.tv-footer__copyright {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0;
}

.tv-footer__legal {
  align-items: center;
  display: inline-flex;
  gap: .9rem;
}

.tv-footer__legal a {
  color: var(--muted-strong);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.tv-footer__legal a:hover,
.tv-footer__legal a:focus-visible {
  color: var(--brand);
}

.tv-footer__legal span {
  background: var(--line);
  display: block;
  height: 1rem;
  width: 1px;
}

.tv-footer__cookie-settings {
  border: 0;
  background: none;
  color: var(--muted-strong);
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: 0;
  text-decoration: none;
  transition: color .2s ease;
}

.tv-footer__cookie-settings:hover,
.tv-footer__cookie-settings:focus-visible {
  color: var(--brand);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.5rem;
  pointer-events: none;
  z-index: 1200;
}

.cookie-consent__panel {
  animation: cookie-consent-slide-up .42s cubic-bezier(.22, 1, .36, 1);
  width: min(100%, 29rem);
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 1.35rem 1.5rem;
  position: relative;
  pointer-events: auto;
}

.cookie-consent__panel::before {
  background: var(--brand);
  border-radius: 999px;
  content: '';
  height: 2.35rem;
  left: 0;
  position: absolute;
  top: 1.35rem;
  width: 3px;
}

.cookie-consent__panel h2 {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 0;
}

.cookie-consent__panel .tv-kicker {
  color: var(--brand);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .11em;
  margin: 0;
  text-transform: uppercase;
}

.cookie-consent__panel > p:not(.tv-kicker) {
  color: var(--muted-strong);
  font-size: .83rem;
  grid-column: auto;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

.cookie-consent__panel > p a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.cookie-consent__actions {
  align-items: center;
  display: flex;
  gap: .6rem;
  grid-column: auto;
  grid-row: auto;
  justify-content: stretch;
  margin-top: .15rem;
}

.cookie-consent__actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  min-height: 2.5rem;
  padding: .55rem .9rem;
  transition: filter .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}

.cookie-consent__actions button { flex: 1 1 0; }

.cookie-consent__essential {
  background: transparent;
  color: var(--ink);
}

.cookie-consent__accept {
  background: var(--brand);
  border-color: var(--brand) !important;
  color: var(--on-solid);
}

.cookie-consent__actions button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cookie-consent__actions button:focus-visible,
.tv-footer__cookie-settings:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@keyframes cookie-consent-slide-up {
  from {
    opacity: 0;
    transform: translateY(calc(100% + 1.25rem));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .cookie-consent { justify-content: center; padding: .8rem; }
  .cookie-consent__panel { width: min(100%, 31rem); gap: .68rem; padding: 1.05rem 1.15rem; }
  .cookie-consent__panel::before { top: 1.15rem; height: 2.2rem; }
  .cookie-consent__panel h2 { font-size: 1.02rem; }
  .cookie-consent__panel > p:not(.tv-kicker) { font-size: .79rem; line-height: 1.44; }
  .cookie-consent__actions { gap: .5rem; }
  .cookie-consent__actions button { min-height: 2.35rem; padding: .48rem .7rem; font-size: .75rem; }
}

@media (max-width: 767px) {
  .tv-footer {
    margin-top: 2rem;
    padding: 2.25rem 1.25rem calc(2.25rem + env(safe-area-inset-bottom));
  }

  .tv-footer__inner {
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    text-align: center;
  }

  .tv-footer__copyright {
    font-size: .84rem;
  }

  .tv-footer__legal {
    flex-wrap: wrap;
    gap: .8rem;
    justify-content: center;
    max-width: 100%;
  }
  .cookie-consent { justify-content: center; padding: max(.55rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.55rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left)); }
  .cookie-consent__panel {
    width: min(100%, 31rem);
    max-height: calc(100vh - 1.1rem);
    max-height: calc(100dvh - 1.1rem);
    gap: .58rem;
    padding: .95rem 1rem;
    border-radius: 18px;
  }
  .cookie-consent__panel::before { top: .95rem; height: 1.9rem; }
  .cookie-consent__panel h2 { font-size: .96rem; }
  .cookie-consent__panel .tv-kicker { font-size: .59rem; }
  .cookie-consent__panel > p:not(.tv-kicker) { font-size: .75rem; line-height: 1.4; }
  .cookie-consent__actions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .45rem; margin-top: .1rem; }
  .cookie-consent__actions button { min-width: 0; min-height: 2.25rem; padding: .42rem .35rem; font-size: .68rem; }
}

.tv-avatar, .tv-comment__avatar { overflow: hidden; }
.tv-avatar img, .tv-comment__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.tv-avatars { min-width: 0; margin: 0; padding: 0; border: 0; }
.tv-avatars legend { padding: 0; margin-bottom: .7rem; color: var(--muted-strong); font-size: .78rem; font-weight: 600; }
.tv-avatars__grid { display: grid; grid-template-columns: repeat(4, 4.6rem); gap: .9rem; }
.tv-avatars__option { position: relative; display: block; width: 4.6rem; height: 4.6rem; cursor: pointer; }
.tv-avatars__option input { position: absolute; inset: 0; z-index: 2; margin: 0; opacity: 0; cursor: pointer; }
.tv-avatars__option img { display: block; width: 100%; height: 100%; border: 2px solid var(--line-soft); border-radius: 50%; box-shadow: 0 0 0 3px transparent; transition: transform .3s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.tv-avatars__option:hover img { transform: scale(1.06); }
.tv-avatars__option input:checked + img { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); transform: scale(1.06); }
.tv-avatars__option input:focus-visible + img { border-color: var(--ink); }

@media (max-width: 767px) {
  .tv-avatars__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tv-avatars__option { width: 100%; height: auto; aspect-ratio: 1; }
}

.admin-shell .admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100vh;
  min-height: 0;
  padding: 1.5rem 1rem 1rem !important;
  overflow-y: auto;
  border-right: 1px solid var(--line-soft);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, transparent), color-mix(in srgb, var(--shell) 96%, transparent));
}
.admin-shell .admin-brand { padding: 0 .55rem; }
.admin-shell .admin-brand em { margin-left: auto; padding: .18rem .5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-shell .admin-nav-label { margin: 2.4rem 0 .6rem; padding: 0 .75rem; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-shell .admin-nav { display: grid; gap: .2rem; }
.admin-shell .admin-nav-link { position: relative; gap: .8rem; min-height: 2.75rem; padding: .35rem .6rem; border-radius: 14px; background: transparent; color: var(--muted-strong); font-size: .86rem; font-weight: 600; transition: background .25s ease, color .25s ease, transform .3s var(--ease); }
.admin-shell .admin-nav-link:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); transform: translateX(2px); }
.admin-shell .admin-nav-icon { display: grid; flex: 0 0 auto; width: 2rem; height: 2rem; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted-strong); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.admin-shell .admin-nav-icon svg { width: 1rem; height: 1rem; }
.admin-shell .admin-nav-link.active { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand) 4%, transparent)); color: var(--ink); }
.admin-shell .admin-nav-link.active::before { position: absolute; top: 22%; bottom: 22%; left: -1rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); box-shadow: 0 0 14px var(--brand); content: ''; }
.admin-shell .admin-nav-link.active .admin-nav-icon { background: var(--brand); color: #04110f; box-shadow: 0 8px 20px -8px var(--brand); }
.admin-shell .admin-sidebar__foot { display: grid; gap: .6rem; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.admin-shell .admin-user { display: flex; align-items: center; gap: .7rem; padding: .6rem; border: 1px solid var(--line-soft); border-radius: 16px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.admin-shell .admin-user__avatar { display: grid; flex: 0 0 auto; width: 2.3rem; height: 2.3rem; place-items: center; overflow: hidden; border-radius: 50%; background: var(--solid); color: var(--on-solid); font-size: .8rem; font-weight: 700; }
.admin-shell .admin-user__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-shell .admin-user__meta { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.admin-shell .admin-user__meta strong { overflow: hidden; color: var(--ink); font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-shell .admin-user__meta small { color: var(--muted); font-size: .68rem; }
.admin-shell .admin-user__out { display: grid; flex: 0 0 auto; width: 2rem; height: 2rem; place-items: center; border-radius: 10px; color: var(--muted-strong); transition: background .25s ease, color .25s ease; }
.admin-shell .admin-user__out:hover { background: color-mix(in srgb, #ef4444 16%, transparent); color: #f87171; }
.admin-shell .admin-user__out svg { width: 1rem; height: 1rem; }

@media (min-width: 1024px) {
  .admin-shell > .min-h-screen { grid-template-columns: 272px minmax(0, 1fr); }
  .admin-shell .admin-sidebar { position: sticky; top: 0; }
}

@media (max-width: 1023px) {
  .admin-shell > .min-h-screen { grid-template-rows: auto minmax(0, 1fr); align-content: start; }
  .admin-shell .admin-sidebar { position: sticky; top: 0; z-index: 40; flex-direction: row; align-items: center; gap: .75rem; width: 100%; height: auto; padding: .7rem .8rem !important; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
  .admin-shell .admin-brand { flex: 0 0 auto; padding: 0; }
  .admin-shell .admin-brand span:not(.brand-symbol), .admin-shell .admin-brand em, .admin-shell .admin-nav-label, .admin-shell .admin-user__meta, .admin-shell .admin-sidebar__foot > .admin-nav-link { display: none; }
  .admin-shell .admin-nav { display: flex; flex: 1; gap: .3rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .admin-shell .admin-nav::-webkit-scrollbar { display: none; }
  .admin-shell .admin-nav-link { flex: 0 0 auto; min-height: 2.5rem; padding: .3rem .75rem .3rem .4rem; }
  .admin-shell .admin-nav-link:hover { transform: none; }
  .admin-shell .admin-nav-link.active::before { display: none; }
  .admin-shell .admin-sidebar__foot { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
  .admin-shell .admin-user { padding: 0; border: 0; background: transparent; }
}

.tv-legal { max-width: 1240px; margin: 0 auto; padding: 8rem var(--gutter) 2rem; }
.tv-legal__head { display: grid; gap: .9rem; }
.tv-legal__head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tv-legal__switch { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.tv-legal__switch a { padding: .55rem 1rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted-strong); font-size: .82rem; font-weight: 600; transition: background .2s ease, color .2s ease; }
.tv-legal__switch a:hover { background: var(--panel); color: var(--ink); }
.tv-legal__switch a[aria-current="page"] { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.tv-legal__layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; margin-top: 3rem; align-items: start; }
.tv-legal__toc { position: sticky; top: 6rem; display: grid; gap: .1rem; max-height: calc(100vh - 8rem); overflow-y: auto; padding-right: .5rem; }
.tv-legal__toc p { margin-bottom: .6rem; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tv-legal__toc a { padding: .42rem .7rem; border-left: 2px solid var(--line-soft); color: var(--muted); font-size: .8rem; line-height: 1.4; transition: color .2s ease, border-color .2s ease; }
.tv-legal__toc a:hover { border-color: var(--brand); color: var(--ink); }
.tv-legal__body { max-width: 46rem; padding: 2.4rem; border: 1px solid var(--line-soft); border-radius: 24px; background: var(--panel); }
.tv-legal__body h2 { scroll-margin-top: 6rem; margin: 2.6rem 0 .9rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.tv-legal__body h2:first-of-type { margin-top: 2rem; }
.tv-legal__body p { margin-top: .9rem; color: var(--muted-strong); font-size: .95rem; line-height: 1.8; }
.tv-legal__body > p:first-child { margin-top: 0; color: var(--muted); font-size: .82rem; font-weight: 600; }
.tv-legal__body ul { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tv-legal__body li { position: relative; padding-left: 1.4rem; color: var(--muted-strong); font-size: .95rem; line-height: 1.7; }
.tv-legal__body li::before { position: absolute; top: .72em; left: .2rem; width: .38rem; height: .38rem; border-radius: 50%; background: var(--brand); content: ''; }

.tv-support { max-width: 1240px; margin: 0 auto; padding: 8rem var(--gutter) 2rem; }
.tv-support__head { display: grid; gap: .9rem; }
.tv-support__head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; word-break: break-word; }
.tv-support__lead { max-width: 40rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.tv-support__hours { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2rem; padding: 1.1rem 1.3rem; border: 1px solid color-mix(in srgb, var(--brand) 32%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--brand) 9%, transparent); }
.tv-support__hours-icon { display: grid; flex: 0 0 auto; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 12px; background: var(--brand); color: #04110f; }
.tv-support__hours-icon svg { width: 1.1rem; height: 1.1rem; }
.tv-support__hours strong { font-size: .92rem; }
.tv-support__hours p { margin-top: .25rem; color: var(--muted-strong); font-size: .88rem; line-height: 1.6; }
.tv-support__flash { margin-top: 1rem; }
.tv-support__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 2rem; }
.tv-support__grid .tv-panel { margin: 0; }
.tv-support .tv-form { margin-top: 1.4rem; }
.tv-textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.tv-support__gate { display: grid; justify-items: center; gap: .8rem; margin-top: 2rem; padding: 3.5rem 1.5rem; border: 1px solid var(--line-soft); border-radius: 24px; background: var(--panel); text-align: center; }
.tv-support__gate-icon { display: grid; width: 3.6rem; height: 3.6rem; place-items: center; border-radius: 50%; background: var(--panel-raised); color: var(--brand); }
.tv-support__gate-icon svg { width: 1.4rem; height: 1.4rem; }
.tv-support__gate h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.tv-support__gate p { max-width: 30rem; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.tv-support__gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .8rem; }

.tv-tickets { display: grid; gap: .6rem; margin-top: 1.2rem; }
.tv-tickets__item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--panel-raised); transition: transform .3s var(--ease), border-color .2s ease; }
.tv-tickets__item:hover { border-color: var(--line); transform: translateY(-2px); }
.tv-tickets__main { display: grid; min-width: 0; gap: .2rem; }
.tv-tickets__main strong { overflow: hidden; font-size: .92rem; text-overflow: ellipsis; white-space: nowrap; }
.tv-tickets__main small { color: var(--muted); font-size: .74rem; }

.tv-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.tv-status::before { width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; content: ''; }
.tv-status--open { background: rgba(245,158,11,.16); color: #f59e0b; }
.tv-status--answered { background: rgba(20,184,166,.16); color: var(--brand); }
.tv-status--resolved { background: rgba(59,130,246,.16); color: #60a5fa; }
.tv-status--closed { background: var(--panel-raised); color: var(--muted); }

.tv-ticket { margin-top: 2rem; }
.tv-ticket__back { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-strong); font-size: .85rem; font-weight: 600; }
.tv-ticket__back:hover { color: var(--ink); }
.tv-ticket__back svg { width: .95rem; height: .95rem; }
.tv-ticket__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: 1.2rem; color: var(--muted); font-size: .8rem; }
.tv-ticket__due { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--muted-strong); font-size: .85rem; }
.tv-ticket__due svg { width: .95rem; height: .95rem; color: var(--brand); }
.tv-thread { display: grid; gap: 1rem; margin-top: 2rem; }
.tv-message { display: flex; gap: .9rem; }
.tv-message__avatar { display: grid; flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem; place-items: center; overflow: hidden; border-radius: 50%; background: var(--panel-raised); font-size: .82rem; font-weight: 700; }
.tv-message__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv-message__avatar svg { width: 1.1rem; height: 1.1rem; }
.tv-message--staff .tv-message__avatar { background: var(--brand); color: #04110f; }
.tv-message__bubble { min-width: 0; flex: 1; padding: 1.1rem 1.3rem; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--panel); }
.tv-message--staff .tv-message__bubble { border-color: color-mix(in srgb, var(--brand) 34%, transparent); background: color-mix(in srgb, var(--brand) 8%, var(--panel)); }
.tv-message__who { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; }
.tv-message__who strong { font-size: .9rem; }
.tv-message__who small { color: var(--muted); font-size: .74rem; }
.tv-message__body { margin-top: .7rem; color: var(--muted-strong); font-size: .93rem; line-height: 1.75; overflow-wrap: anywhere; }
.tv-ticket__reply { margin-top: 2rem; padding: 1.4rem; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); }
.tv-ticket__reply .tv-input { background: var(--panel-raised); }
.tv-ticket__actions { display: flex; justify-content: flex-end; }
.tv-ticket__close { margin-top: 1rem; }
.tv-ticket__closed { margin-top: 2rem; }
.tv-ticket__closed a { color: var(--brand); }

.ticket-tag--open { background: rgba(245,158,11,.16); color: #f59e0b; }
.ticket-tag--answered { background: rgba(20,184,166,.16); color: var(--brand); }
.ticket-tag--resolved { background: rgba(59,130,246,.16); color: #60a5fa; }
.ticket-tag--closed { background: var(--panel-raised); color: var(--muted); }
.ticket-tag--overdue { background: rgba(239,68,68,.16); color: #f87171; }
.ticket-message { padding: 1.1rem 1.3rem; border: 1px solid var(--line-soft); border-radius: 16px; background: color-mix(in srgb, var(--ink) 3%, transparent); }
.ticket-message--staff { border-color: color-mix(in srgb, var(--brand) 34%, transparent); background: color-mix(in srgb, var(--brand) 8%, transparent); }
.admin-shell .admin-nav-badge { display: inline-grid; min-width: 1.35rem; height: 1.35rem; margin-left: auto; padding: 0 .4rem; place-items: center; border-radius: 999px; background: #f59e0b; color: #1c1100; font-size: .68rem; font-weight: 800; }

@media (max-width: 1023px) {
  .tv-legal__layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tv-legal__toc { display: none; }
  .tv-support__grid { grid-template-columns: minmax(0, 1fr); }
  .admin-shell .admin-nav-badge { margin-left: .4rem; }
}

@media (max-width: 767px) {
  .tv-legal, .tv-support { padding-top: 6.5rem; }
  .tv-legal__body { padding: 1.4rem; border-radius: 20px; }
  .tv-support__hours { padding: 1rem; }
  .tv-message__avatar { flex-basis: 2.2rem; width: 2.2rem; height: 2.2rem; }
  .tv-ticket__actions .tv-play { width: 100%; }
}

.admin-shell .button-primary,
.admin-shell button.button-primary,
.admin-shell a.button-primary {
  border: 0;
  background: var(--brand);
  color: #04110f;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px var(--brand);
}
.admin-shell .button-primary:hover { filter: brightness(1.08); }
.admin-shell .button-primary:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.admin-shell .button-quiet,
.admin-shell button.button-quiet,
.admin-shell a.button-quiet {
  border: 1px solid var(--line);
  background: var(--panel-raised);
  color: var(--ink);
  cursor: pointer;
  box-shadow: none;
}
.admin-shell .button-quiet:hover { border-color: var(--brand); }


.select-native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.select-trigger { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.06); color: inherit; padding: 0 14px; text-align: left; font: inherit; cursor: pointer; }
.select-trigger::after { content: '⌄'; color: var(--primary, #14b8a6); font-size: 18px; }
.select-trigger:hover, .select-trigger:focus-visible { border-color: var(--primary, #14b8a6); outline: none; }
.selection-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; }
.selection-modal__backdrop { position: absolute; inset: 0; background: rgba(2,8,12,.72); backdrop-filter: blur(12px); }
.selection-modal__panel { position: relative; width: min(100%, 460px); max-height: min(650px, calc(100vh - 40px)); overflow: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #10191d; box-shadow: 0 30px 90px rgba(0,0,0,.45); padding: 24px; animation: selection-in .2s ease-out; }
.selection-modal__panel header { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.selection-modal__panel p { margin: 0 0 4px; color: #67e8d7; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.selection-modal__panel h2 { margin: 0; color: #fff; font-size: 24px; }
.selection-modal__panel header button { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #d7e0e3; padding: 9px 12px; cursor: pointer; }
.selection-modal__options { display: grid; gap: 8px; }
.selection-modal__option { width: 100%; border: 1px solid transparent; border-radius: 14px; background: rgba(255,255,255,.04); color: #eaf2f3; padding: 15px 16px; text-align: left; font: inherit; cursor: pointer; }
.selection-modal__option:hover, .selection-modal__option:focus-visible, .selection-modal__option[data-selected="true"] { border-color: rgba(45,212,191,.55); background: rgba(20,184,166,.12); outline: none; }
.upload-modal { position: fixed; z-index: 1100; inset: 0; display: none; place-items: center; padding: 20px; }
.upload-modal.is-visible { display: grid; }
.upload-modal__backdrop { position: absolute; inset: 0; background: rgba(2,8,12,.8); backdrop-filter: blur(14px); }
.upload-modal__card { position: relative; width: min(100%, 520px); overflow: hidden; border: 1px solid rgba(45,212,191,.25); border-radius: 28px; background: linear-gradient(145deg,#132328,#0c1216); box-shadow: 0 32px 100px rgba(0,0,0,.52); padding: 30px; }
.upload-modal__glow { position: absolute; top: -90px; right: -50px; width: 240px; height: 240px; border-radius: 50%; background: rgba(20,184,166,.18); filter: blur(28px); }
.upload-modal__card h2 { position: relative; margin: 0 0 8px; color: #fff; font-size: 28px; }
.upload-modal__card p { position: relative; margin: 0; color: rgba(230,245,245,.65); }
.upload-modal__meter { position: relative; height: 10px; margin: 26px 0 14px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.upload-modal__meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#14b8a6,#6ee7d7); transition: width .35s ease; box-shadow: 0 0 22px rgba(45,212,191,.9); }
.upload-modal__meta { position: relative; display: flex; justify-content: space-between; color: #9db1b5; font-size: 13px; }
@keyframes selection-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.admin-menu-toggle { display: none; }
.admin-mobile-drawer { display: none; }
@media (max-width: 1023px) {
  .admin-shell .admin-menu-toggle { display: grid; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; place-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), background .25s ease; }
  .admin-shell .admin-menu-toggle:hover, .admin-shell .admin-menu-toggle:focus-visible { background: var(--brand); color: #04110f; outline: none; transform: translateY(-1px); }
  .admin-mobile-drawer { position: fixed; z-index: 100; inset: 0; display: block; pointer-events: none; }
  .admin-mobile-drawer__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,8,12,.7); opacity: 0; backdrop-filter: blur(5px); transition: opacity .32s ease; }
  .admin-mobile-drawer__panel { position: relative; display: flex; flex-direction: column; width: min(84vw, 340px); height: 100%; padding: 1.15rem; overflow-y: auto; border-right: 1px solid var(--line); background: linear-gradient(165deg, color-mix(in srgb, var(--panel) 96%, #07100f), var(--shell)); box-shadow: 28px 0 70px rgba(0,0,0,.28); transform: translateX(-104%); transition: transform .38s var(--ease); }
  .admin-mobile-drawer.is-open { pointer-events: auto; }
  .admin-mobile-drawer.is-open .admin-mobile-drawer__scrim { opacity: 1; }
  .admin-mobile-drawer.is-open .admin-mobile-drawer__panel { transform: translateX(0); }
  .admin-mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .admin-mobile-drawer .admin-brand { padding: 0; }
  .admin-mobile-drawer .admin-brand em { display: none; }
  .admin-mobile-drawer__close { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); cursor: pointer; }
  .admin-mobile-drawer .admin-nav-label { display: block; margin: 2rem 0 .7rem; padding: 0 .6rem; }
  .admin-mobile-drawer .admin-nav { display: grid; flex: 0 0 auto; overflow: visible; }
  .admin-mobile-drawer .admin-nav-link { display: flex; min-height: 3rem; padding: .45rem .6rem; }
  .admin-mobile-drawer .admin-nav-link.active::before { left: -1.15rem; }
  .admin-mobile-drawer__foot { display: grid; gap: .8rem; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
  .admin-mobile-drawer .admin-user { display: flex; }
  .admin-mobile-drawer .admin-user__meta { display: grid; }
  body.admin-menu-open { overflow: hidden; }
}

@media (max-width: 1023px) {
  .admin-mobile-theme { display: flex; align-items: center; gap: .75rem; width: 100%; margin-bottom: .15rem; padding: .7rem; border: 1px solid var(--line-soft); border-radius: 16px; background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s var(--ease); }
  .admin-mobile-theme:hover, .admin-mobile-theme:focus-visible { border-color: color-mix(in srgb, var(--brand) 52%, var(--line)); background: color-mix(in srgb, var(--brand) 10%, transparent); outline: none; transform: translateY(-1px); }
  .admin-mobile-theme__icon { display: grid; flex: 0 0 auto; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); }
  .admin-mobile-theme__icon svg { width: 1rem; height: 1rem; }
  .admin-mobile-theme > span:nth-child(2) { display: grid; gap: .12rem; min-width: 0; flex: 1; }
  .admin-mobile-theme strong { font-size: .8rem; font-weight: 700; }
  .admin-mobile-theme small { color: var(--muted); font-size: .66rem; }
  .admin-mobile-theme__switch { display: flex; align-items: center; width: 2.25rem; height: 1.3rem; padding: .16rem; border-radius: 999px; background: var(--brand); transition: background .25s ease; }
  .admin-mobile-theme__switch i { width: .98rem; height: .98rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.24); transition: transform .25s var(--ease); }
  :root.light .admin-mobile-theme__switch i { transform: translateX(.95rem); }
}

.vm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 2rem; }
.vm-stat { display: grid; gap: .35rem; padding: 1.1rem 1.25rem; border-radius: 20px; background: var(--panel); }
.vm-stat span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vm-stat strong { color: var(--ink); font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.vm-toolbar { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: 1.4rem; }
.vm-toolbar .field-input { height: 2.8rem; padding-top: 0; padding-bottom: 0; }
.vm-toolbar .button-quiet { min-height: 2.8rem; }
.vm-search { display: flex; align-items: center; gap: .6rem; height: 2.8rem; padding: 0 1rem; border-radius: 12px; background: var(--panel); color: var(--muted); }
.vm-search svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.vm-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; outline: none; }
.vm-bulk { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; padding: .7rem 1rem; border-radius: 16px; background: var(--panel); }
.vm-bulk__count { flex: 1 1 10rem; color: var(--muted-strong); font-size: .82rem; font-weight: 600; }
.vm-bulk__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.vm-bulk .button-quiet { min-height: 2.3rem; padding: 0 1.1rem; background: var(--panel-raised); font-size: .8rem; }
.vm-bulk .button-quiet:disabled { opacity: .4; pointer-events: none; }
.vm-danger { color: #ff8a80; }
.vm-check { position: relative; display: inline-grid; flex: 0 0 auto; width: 1.3rem; height: 1.3rem; cursor: pointer; }
.vm-check input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vm-check span { display: block; width: 100%; height: 100%; border: 1.5px solid var(--line); border-radius: 7px; background: var(--panel-raised); transition: background .2s ease, border-color .2s ease; }
.vm-check input:checked + span { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304110f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 76% no-repeat; }
.vm-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.vm-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.4rem; }
.vm-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--panel); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vm-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.vm-card.is-draft .vm-card__art img { filter: grayscale(.7) brightness(.8); }
.vm-card__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-raised); }
.vm-card__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vm-card__empty { display: grid; width: 100%; height: 100%; place-items: center; color: var(--muted); }
.vm-card__empty svg { width: 2rem; height: 2rem; }
.vm-card__select { position: absolute; top: .75rem; left: .75rem; }
.vm-card__select span { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.vm-badge { position: absolute; top: .75rem; right: .75rem; padding: .32rem .7rem; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); }
.vm-badge.is-live { background: var(--brand); color: #04110f; }
.vm-card__time { position: absolute; right: .75rem; bottom: .75rem; padding: .22rem .55rem; border-radius: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: .7rem; font-style: normal; font-weight: 700; }
.vm-card__body { flex: 1; min-width: 0; padding: 1rem 1.15rem .7rem; }
.vm-card__body h3 { overflow: hidden; color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.vm-card__meta { margin-top: .4rem; color: var(--muted-strong); font-size: .78rem; }
.vm-card__date { margin-top: .2rem; color: var(--muted); font-size: .72rem; }
.vm-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; padding: .7rem 1.15rem 1.05rem; }
.vm-card__actions form { display: contents; }
.vm-action { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.2rem; padding: 0 .85rem; border: 0; border-radius: 999px; background: var(--panel-raised); color: var(--ink); font-size: .76rem; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s var(--ease); }
.vm-action:hover { background: var(--brand); color: #04110f; transform: translateY(-1px); }
.vm-action.vm-danger { margin-left: auto; width: 2.2rem; padding: 0; color: #ff8a80; }
.vm-action.vm-danger:hover { background: #ff453a; color: #fff; }
.vm-action svg { width: .9rem; height: .9rem; }
.vm-empty { display: grid; justify-items: center; gap: .8rem; margin-top: 1.4rem; padding: 4rem 1.5rem; border-radius: 24px; background: var(--panel); text-align: center; }
.vm-empty > span { display: grid; width: 3.6rem; height: 3.6rem; place-items: center; border-radius: 50%; background: var(--panel-raised); color: var(--brand); }
.vm-empty svg { width: 1.5rem; height: 1.5rem; }
.vm-empty h2 { color: var(--ink); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.vm-empty p { max-width: 26rem; margin-bottom: .6rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.vm-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 1rem; visibility: hidden; pointer-events: none; }
.vm-modal.is-open { visibility: visible; pointer-events: auto; }
.vm-modal__scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,8,12,.72); opacity: 0; backdrop-filter: blur(8px); transition: opacity .3s ease; }
.vm-modal.is-open .vm-modal__scrim { opacity: 1; }
.vm-modal__panel { position: relative; width: min(100%, 44rem); max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.6rem; border: 1px solid var(--line-soft); border-radius: 26px; background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.45); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s ease, transform .3s var(--ease); }
.vm-modal.is-open .vm-modal__panel { opacity: 1; transform: none; }
.vm-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.vm-modal__head h2 { margin-top: .4rem; color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.vm-modal__close { display: grid; flex: 0 0 auto; width: 2.4rem; height: 2.4rem; place-items: center; border: 0; border-radius: 50%; background: var(--panel-raised); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.vm-modal__close:hover { background: var(--brand); color: #04110f; }
.vm-modal__close svg { width: 1rem; height: 1rem; }
.vm-form { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1.4rem; }
.vm-form__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; padding-top: .4rem; }
.vm-thumb { display: flex; align-items: center; gap: 1rem; margin-top: .45rem; }
.vm-thumb__preview { display: grid; flex: 0 0 auto; width: 8.5rem; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; border-radius: 12px; background: var(--panel-raised); color: var(--muted); }
.vm-thumb__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vm-thumb__preview svg { width: 1.4rem; height: 1.4rem; }
.vm-thumb__controls { display: grid; flex: 1; min-width: 0; gap: .6rem; }
.vm-thumb__controls .field-input { margin-top: 0; }
.vm-remove { display: flex; align-items: center; gap: .5rem; color: var(--muted-strong); font-size: .78rem; font-weight: 600; cursor: pointer; }
.vm-remove input { accent-color: var(--brand); }
body.vm-modal-open { overflow: hidden; }

@media (min-width: 640px) {
  .vm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vm-toolbar { grid-template-columns: 1fr 1fr; }
  .vm-search { grid-column: 1 / -1; }
  .vm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vm-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .vm-toolbar { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto auto; }
  .vm-search { grid-column: auto; }
  .vm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1500px) {
  .vm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .vm-thumb { flex-direction: column; align-items: stretch; }
  .vm-thumb__preview { width: 100%; }
  .vm-modal__panel { padding: 1.2rem; }
}


@media (max-width: 767px) {
  .tv-header {
    padding: .65rem var(--gutter) 0;
  }

  .tv-header__inner {
    min-height: 3.75rem;
    padding: .45rem .55rem .45rem .7rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(13,14,16,.78);
    box-shadow: 0 12px 30px -22px rgba(0,0,0,.9);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
  }

  .tv-brand {
    gap: .55rem;
  }

  .tv-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .tv-brand__name {
    font-size: .98rem;
  }

  .tv-header__actions {
    gap: .1rem;
  }

  .tv-header__actions .tv-icon,
  .tv-header__actions .tv-avatar {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tv-header__actions .tv-icon {
    color: var(--muted-strong);
  }

  .tv-header__actions .tv-avatar {
    margin-left: .15rem;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--solid);
  }
}

.tv-account--profile {
  position: relative;
  max-width: 1440px;
  padding: clamp(7.5rem, 11vw, 10rem) var(--gutter) 4rem;
  overflow: hidden;
}

@media (max-width: 767px) {
  .tv-account--profile {
    padding-top: 5.8rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .tv-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: 4.3rem;
    padding: 0;
    overflow: hidden;
    background: var(--shell);
    box-shadow: 0 1px 0 var(--line-soft);
    isolation: isolate;
    pointer-events: auto;
  }

  .tv-header__inner,
  .tv-header.is-solid .tv-header__inner {
    display: flex;
    min-height: 4.3rem;
    width: 100%;
    max-width: none;
    height: 4.3rem;
    padding: .8rem var(--gutter);
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    background: var(--shell) !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .tv-brand {
    gap: .6rem;
  }

  .tv-brand__mark {
    width: 2rem;
    height: 2rem;
    border-radius: 11px;
    box-shadow: none;
  }

  .tv-brand__name {
    font-size: .98rem;
  }

  .tv-tabs,
  .tv-search,
  .tv-pill {
    display: none;
  }

  .tv-header__actions {
    gap: .35rem;
    margin-left: auto;
  }

  .tv-header__actions .tv-icon {
    display: inline-grid;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: none;
  }

  .tv-header__actions .tv-avatar {
    display: inline-grid;
    width: 2.35rem;
    height: 2.35rem;
    margin-left: .1rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--solid);
    box-shadow: none;
  }

  .tv-header__actions .tv-link {
    display: inline-flex;
    padding: 0 .35rem;
    color: var(--muted-strong);
    font-size: .78rem;
  }

  .tv-main {
    min-height: 0;
  }

  .tv-cinema {
    padding-top: 4.3rem;
  }

  .tv-auth {
    padding-top: 7rem;
  }

  .tv-account:not(.tv-account--profile) {
    padding-top: 5.4rem;
  }

  .tv-account--profile {
    padding-top: 5.8rem;
  }
}


.tv-home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 1.5rem;
  max-width: 1760px;
  margin: 0 auto;
  padding: 8.4rem var(--gutter) 2.4rem;
  overflow-x: clip;
  isolation: isolate;
}
.tv-home:before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 46%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 24rem),
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 20rem);
  content: '';
  pointer-events: none;
}
.tv-home__copy { display: grid; align-content: center; gap: 1.1rem; min-width: 0; }
.tv-home__greeting { color: var(--muted-strong); font-size: .72rem; font-weight: 600; letter-spacing: .34em; line-height: 1.6; overflow-wrap: anywhere; text-transform: uppercase; }
.tv-home__title { font-size: clamp(2.3rem, 8.6vw, 6.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; text-wrap: balance; }
.tv-home__title em { background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #fff)); -webkit-background-clip: text; background-clip: text; color: var(--brand); font-style: normal; -webkit-text-fill-color: transparent; }
.tv-home__stage { position: relative; display: grid; justify-items: center; width: 100%; max-width: 34rem; margin-inline: auto; padding-bottom: 3.2rem; }
.tv-home__labels { position: absolute; top: .4rem; right: 0; z-index: 3; display: grid; gap: .55rem; margin: 0; padding: .55rem .6rem; border-radius: 12px; background: color-mix(in srgb, var(--shell) 55%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--muted-strong); font-size: .5rem; font-weight: 600; letter-spacing: .14em; list-style: none; text-align: right; text-transform: uppercase; }
.tv-showcase {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(8.6rem, 40vw, 19rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 62%, transparent);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 0 34px -6px color-mix(in srgb, var(--brand) 55%, transparent), 0 30px 50px -24px rgba(0,0,0,.8);
  color: #f5f5f7;
  transform: perspective(900px) rotateY(-13deg) rotateX(4deg) rotate(3deg);
  transition: transform .6s var(--ease);
  animation: tv-float 7s ease-in-out infinite;
}
.tv-showcase:hover { transform: perspective(900px) rotateY(-5deg) rotateX(2deg) rotate(1deg) scale(1.03); }
.tv-showcase--plain { background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 38%, var(--panel)), var(--panel) 70%); }
.tv-showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-showcase__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.2) 100%); }
.tv-showcase__body { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: .9rem; }
.tv-showcase__body strong { max-width: 7.5rem; font-size: clamp(.78rem, 2.2vw, 1.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.tv-showcase__play { display: grid; flex: 0 0 auto; width: clamp(1.9rem, 6vw, 2.8rem); height: clamp(1.9rem, 6vw, 2.8rem); place-items: center; border: 1.5px solid var(--brand); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; }
.tv-showcase__play svg { width: 42%; height: 42%; margin-left: 2px; fill: currentColor; }
.tv-home__ring { position: absolute; left: 50%; border: 2px solid var(--brand); border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.tv-home__ring--outer { bottom: 1.1rem; width: 118%; height: 4.4rem; box-shadow: 0 0 22px color-mix(in srgb, var(--brand) 60%, transparent), inset 0 0 18px color-mix(in srgb, var(--brand) 40%, transparent); opacity: .85; }
.tv-home__ring--inner { bottom: 1.5rem; width: 94%; height: 3.4rem; border-color: var(--gold); opacity: .7; }
@keyframes tv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.55rem; } }

.tv-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 1760px; margin: 1rem auto 0; padding: 0 var(--gutter); }
.tv-quick__item { display: grid; justify-items: center; align-content: center; gap: .45rem; min-height: 4.5rem; padding: .7rem .3rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, var(--panel-soft), transparent), var(--panel); color: var(--ink); font-size: .72rem; font-weight: 600; line-height: 1.2; text-align: center; transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s var(--ease); }
.tv-quick__item svg { width: 1.35rem; height: 1.35rem; color: var(--brand); }
.tv-quick__item[data-tone="top"] svg, .tv-quick__item[data-tone="list"] svg { color: var(--gold); }
.tv-quick__item:hover { border-color: var(--brand); box-shadow: 0 16px 34px -20px var(--brand); transform: translateY(-3px); }

.tv-resume { margin-top: 2.6rem; }
.tv-resume__row { display: flex; gap: .8rem; padding: .4rem var(--gutter) 1rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.tv-resume__row::-webkit-scrollbar { display: none; }
.tv-resume__card { position: relative; flex: 0 0 clamp(9.4rem, 36vw, 17rem); aspect-ratio: 1 / 1.04; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: #f5f5f7; scroll-snap-align: start; transition: transform .5s var(--ease), border-color .3s ease; }
.tv-resume__card:hover { border-color: var(--brand); transform: translateY(-4px); }
.tv-resume__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-resume__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 48%, rgba(0,0,0,0) 72%); }
.tv-resume__body { position: absolute; inset: auto 0 0; display: grid; gap: .4rem; padding: .8rem .85rem; }
.tv-resume__body strong { overflow: hidden; font-size: .9rem; font-weight: 650; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.tv-resume__bar { display: block; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.22); }
.tv-resume__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.tv-resume__body small { color: rgba(245,245,247,.72); font-size: .68rem; font-weight: 600; }
.tv-resume__empty { display: flex; align-items: center; gap: 1rem; max-width: calc(1760px - var(--gutter) * 2); margin: 0 auto; padding: 1.1rem 1.2rem; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.tv-resume__empty p { flex: 1; min-width: 0; }
.tv-resume__empty > span { display: grid; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: var(--panel); color: var(--brand); }
.tv-resume__empty > span svg { width: 1rem; height: 1rem; }
.tv-resume > .tv-resume__empty { width: calc(100% - var(--gutter) * 2); }

.tv-surprise { position: relative; display: flex; align-items: center; gap: .55rem; width: calc(100% - var(--gutter) * 2); max-width: 1700px; margin: 1.4rem auto 0; padding: .65rem .7rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--line-soft)); border-radius: 22px; background: linear-gradient(115deg, color-mix(in srgb, var(--brand) 16%, var(--panel)), var(--panel) 62%, color-mix(in srgb, var(--gold) 12%, var(--panel))); }
.tv-surprise__orb { position: relative; flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line-soft)); border-radius: 50%; background: color-mix(in srgb, var(--brand) 8%, transparent); box-shadow: 0 0 20px -6px var(--brand); }
.tv-surprise__orb:before { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: conic-gradient(from 0deg, var(--brand), var(--gold), var(--brand)); -webkit-mask: radial-gradient(circle, transparent 56%, #000 58%); mask: radial-gradient(circle, transparent 56%, #000 58%); animation: tv-spin 6s linear infinite; }
.tv-surprise__text { flex: 1; min-width: 0; }
.tv-surprise__text h2 { font-size: .74rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.tv-surprise__text p { margin-top: .15rem; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.tv-surprise__button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .45rem; padding: .7rem .9rem; border: 1px solid color-mix(in srgb, var(--brand) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--ink); font-size: .8rem; font-weight: 700; white-space: nowrap; transition: transform .3s var(--ease), background .3s ease; }
.tv-surprise .tv-surprise__button { gap: .3rem; padding: .45rem .6rem; font-size: .68rem; }
.tv-surprise__button:hover { background: color-mix(in srgb, var(--brand) 32%, transparent); transform: scale(1.04); }
.tv-surprise__button svg { width: .95rem; height: .95rem; color: var(--brand); }
.tv-surprise .tv-surprise__button svg { width: .8rem; height: .8rem; }
@keyframes tv-spin { to { transform: rotate(360deg); } }

.tv-feed { margin-top: 2.8rem; }
.tv-feed__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; max-width: 1760px; margin: 0 auto; padding: .4rem var(--gutter) 1rem; }
.tv-feed__card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-card); transition: transform .5s var(--ease), border-color .3s ease; }
.tv-feed__link { display: block; }
.tv-feed__art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-raised); }
.tv-feed__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tv-feed__art em { position: absolute; right: .55rem; bottom: .55rem; padding: .22rem .5rem; border-radius: 999px; background: rgba(0,0,0,.58); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font-size: .64rem; font-style: normal; font-weight: 600; }
.tv-feed__meta { display: grid; gap: .3rem; padding: .7rem .8rem .85rem; }
.tv-feed__meta strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .86rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.tv-feed__meta small { display: flex; align-items: center; gap: .4rem; overflow: hidden; color: var(--muted); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.tv-feed__meta small span { flex: 0 0 auto; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
@media (hover: hover) {
  .tv-feed__card:hover { border-color: var(--brand); transform: translateY(-4px); }
  .tv-feed__card:hover .tv-feed__art img { transform: scale(1.05); }
}

.tv-save { position: absolute; top: .55rem; right: .55rem; z-index: 3; display: grid; width: 2.1rem; height: 2.1rem; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; transition: transform .3s var(--ease), color .2s ease; }
.tv-save:hover { transform: scale(1.1); }
.tv-save svg { width: 1rem; height: 1rem; }
.tv-save.is-active { color: var(--brand); }
.tv-save.is-active svg { fill: currentColor; }

@media (min-width: 640px) {
  .tv-feed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 768px) {
  .tv-home { padding-top: 9rem; }
  .tv-home__stage { padding-right: 5.5rem; }
  .tv-home__labels { top: 1rem; padding: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: .64rem; }
    .tv-quick { gap: 1rem; }
  .tv-quick__item { min-height: 5.6rem; font-size: .88rem; }
  .tv-quick__item svg { width: 1.6rem; height: 1.6rem; }
  .tv-resume__row { gap: 1rem; }
  .tv-surprise { gap: 1.1rem; padding: 1rem 1.5rem; }
  .tv-surprise__orb { width: 3.4rem; height: 3.4rem; }
  .tv-surprise__text h2 { font-size: 1.1rem; }
  .tv-surprise__text p { font-size: .84rem; }
  .tv-surprise .tv-surprise__button { gap: .45rem; padding: .7rem 1.2rem; font-size: .88rem; }
  .tv-surprise .tv-surprise__button svg { width: .95rem; height: .95rem; }
}
@media (min-width: 1024px) {
  .tv-home { min-height: 38rem; gap: 3rem; }
  .tv-home__stage { max-width: 40rem; padding-bottom: 3.6rem; }
  .tv-showcase { width: 20rem; }
  .tv-feed__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
}
@media (min-width: 1500px) {
  .tv-feed__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .tv-home__greeting { font-size: .66rem; letter-spacing: .16em; }
  .tv-resume .tv-shelf__head h2, .tv-feed .tv-shelf__head h2 { font-size: 1.02rem; }
  .tv-home { gap: .6rem; padding-top: 5.8rem; }
  .tv-home__copy { gap: .8rem; }
  .tv-home__stage { padding-bottom: 2.6rem; }
  .tv-home__ring--outer { bottom: .7rem; height: 3.4rem; }
  .tv-home__ring--inner { bottom: 1rem; height: 2.6rem; }
    .tv-quick { margin-top: .6rem; }
}
@media (max-width: 379px) {
  .tv-surprise { gap: .45rem; padding: .6rem .6rem; }
  .tv-surprise__orb { width: 1.9rem; height: 1.9rem; }
  .tv-surprise__text h2 { font-size: .68rem; }
  .tv-surprise__text p { font-size: .58rem; }
  .tv-surprise .tv-surprise__button { gap: .25rem; padding: .42rem .5rem; font-size: .64rem; }
  .tv-quick__item { font-size: .7rem; }
}
:root.light .tv-showcase { box-shadow: 0 0 30px -10px color-mix(in srgb, var(--brand) 55%, transparent), 0 24px 40px -22px rgba(0,0,0,.4); }
:root.light .tv-home__labels { background: color-mix(in srgb, var(--shell) 70%, transparent); }
:root.light .tv-resume__card, :root.light .tv-feed__card { box-shadow: 0 14px 34px -24px rgba(0,0,0,.35); }

.pwa-splash[hidden], .pwa-install[hidden] { display: none !important; }
.pwa-splash {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 43%, color-mix(in srgb, var(--brand) 17%, transparent), transparent 38rem), #071319;
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s ease;
}
.pwa-splash:before, .pwa-splash:after { position: absolute; width: min(84vw, 38rem); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--brand) 17%, transparent); border-radius: 50%; content: ''; animation: pwa-splash-orbit 12s linear infinite; }
.pwa-splash:after { width: min(62vw, 27rem); border-color: color-mix(in srgb, var(--brand) 11%, transparent); animation-direction: reverse; animation-duration: 18s; }
.pwa-splash.is-visible { opacity: 1; pointer-events: auto; }
.pwa-splash__content { position: relative; z-index: 1; display: grid; justify-items: center; gap: .6rem; width: min(82vw, 26rem); text-align: center; transform: translateY(12px) scale(.96); opacity: 0; transition: transform .62s cubic-bezier(.2,.8,.2,1), opacity .48s ease; }
.pwa-splash.is-visible .pwa-splash__content { transform: none; opacity: 1; }
.pwa-splash__mark { width: 5.35rem; aspect-ratio: 1; margin-bottom: .6rem; border-radius: 1.55rem; box-shadow: 0 24px 70px -22px color-mix(in srgb, var(--brand) 55%, transparent); animation: pwa-splash-breathe 2.1s ease-in-out infinite; }
.pwa-splash__name { max-width: 100%; color: #f4fbfa; font-size: clamp(1.2rem, 5vw, 1.65rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.2; overflow-wrap: anywhere; }
.pwa-splash__caption { color: rgba(244,251,250,.62); font-size: .77rem; letter-spacing: .04em; }
.pwa-splash__progress { width: 5.2rem; height: 3px; margin-top: 1.05rem; overflow: hidden; border-radius: 99px; background: rgba(244,251,250,.12); }
.pwa-splash__progress i { display: block; width: 44%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #8df4e3); animation: pwa-splash-progress 1.3s ease-in-out infinite; }
@keyframes pwa-splash-orbit { to { transform: rotate(360deg); } }
@keyframes pwa-splash-breathe { 50% { transform: translateY(-5px) scale(1.035); } }
@keyframes pwa-splash-progress { from { transform: translateX(-120%); } to { transform: translateX(240%); } }
.pwa-install {
  position: fixed;
  z-index: 1000;
  top: calc(env(safe-area-inset-top) + 5rem);
  left: 50%;
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) auto 2rem;
  align-items: center;
  gap: .85rem;
  width: min(calc(100% - var(--gutter) * 2), 46rem);
  min-height: 5.15rem;
  padding: .72rem .82rem .72rem .95rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 1.2rem;
  background: linear-gradient(118deg, rgba(19,36,42,.98), rgba(9,20,26,.97) 66%, rgba(14,33,37,.98));
  box-shadow: 0 18px 58px -24px rgba(0,0,0,.84), inset 0 1px rgba(255,255,255,.08);
  color: #f4fbfa;
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  transform: translate(-50%, calc(-100% - 1.5rem));
  opacity: 0;
  transition: transform .55s cubic-bezier(.18,.8,.24,1), opacity .4s ease;
}
.pwa-install:before { position: absolute; top: .7rem; bottom: .7rem; left: 0; width: 2px; border-radius: 99px; background: linear-gradient(180deg, #7af3df, var(--brand), #7d9de6); content: ''; }
.pwa-install.is-visible { transform: translate(-50%, 0); opacity: 1; }
.pwa-install__mark { display: grid; width: 2.65rem; aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: .8rem; background: #071319; }
.pwa-install__mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pwa-install__copy { display: grid; min-width: 0; gap: .12rem; }
.pwa-install__eyebrow { color: #82e6d6; font-size: .59rem; font-weight: 750; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.pwa-install__copy strong { overflow: hidden; font-size: .91rem; font-weight: 750; letter-spacing: -.025em; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.pwa-install__copy p { overflow: hidden; color: rgba(244,251,250,.63); font-size: .67rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pwa-install__action { min-height: 2.4rem; padding: 0 .92rem; border: 1px solid color-mix(in srgb, var(--brand) 62%, transparent); border-radius: .75rem; background: color-mix(in srgb, var(--brand) 19%, transparent); color: #f4fbfa; font: inherit; font-size: .75rem; font-weight: 750; white-space: nowrap; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.pwa-install__action:hover { background: color-mix(in srgb, var(--brand) 35%, transparent); transform: translateY(-1px); }
.pwa-install__dismiss { display: grid; width: 2rem; height: 2rem; place-items: center; border: 0; border-radius: 50%; background: transparent; color: rgba(244,251,250,.55); cursor: pointer; }
.pwa-install__dismiss:hover { background: rgba(255,255,255,.08); color: #fff; }
.pwa-install__dismiss svg { width: 1rem; height: 1rem; }
.pwa-install__guide { grid-column: 2 / -1; margin: -.12rem 0 .12rem; color: rgba(244,251,250,.76); font-size: .75rem; line-height: 1.45; }
.pwa-install.is-expanded { row-gap: .6rem; }
@media (max-width: 520px) {
  .pwa-install { top: calc(env(safe-area-inset-top) + 4.65rem); grid-template-columns: 2.35rem minmax(0, 1fr) auto 1.7rem; gap: .55rem; min-height: 5.05rem; padding: .65rem .58rem .65rem .72rem; border-radius: 1.05rem; }
  .pwa-install__mark { width: 2.35rem; border-radius: .7rem; }
  .pwa-install__eyebrow { font-size: .53rem; }
  .pwa-install__copy strong { font-size: .78rem; }
  .pwa-install__copy p { font-size: .6rem; }
  .pwa-install__action { min-height: 2.2rem; padding: 0 .66rem; font-size: .68rem; }
  .pwa-install__dismiss { width: 1.7rem; height: 1.7rem; }
  .pwa-install__guide { grid-column: 1 / -1; padding: .3rem .15rem .15rem; font-size: .72rem; }
}
@media (max-width: 350px) {
  .pwa-install { grid-template-columns: 2rem minmax(0, 1fr) auto 1.5rem; gap: .42rem; padding-right: .48rem; }
  .pwa-install__mark { width: 2rem; }
  .pwa-install__copy strong { font-size: .72rem; }
  .pwa-install__action { padding: 0 .52rem; font-size: .64rem; }
  .pwa-install__dismiss { width: 1.5rem; height: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-splash, .pwa-splash__content, .pwa-install { transition-duration: .01ms; }
  .pwa-splash:before, .pwa-splash:after, .pwa-splash__mark, .pwa-splash__progress i { animation-duration: 1ms; animation-iteration-count: 1; }
}

.tv-find { max-width: 1540px; margin: 0 auto; padding: 7.5rem var(--gutter) 3rem; }
.tv-find__mast { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--line-soft); }
.tv-find__intro { min-width: 0; }
.tv-find__eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand); font-size: .63rem; font-weight: 800; letter-spacing: .2em; }
.tv-find__eyebrow svg { width: .9rem; height: .9rem; }
.tv-find__intro h1 { margin-top: .75rem; font-size: clamp(2.35rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -.075em; line-height: .98; text-wrap: balance; }
.tv-find__intro h1 span { color: var(--brand); }
.tv-find__intro > p:last-child { max-width: 35rem; margin-top: .75rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.tv-find__mast-note { display: flex; align-items: center; gap: .8rem; min-width: 16rem; margin-bottom: .15rem; padding: .85rem 0 .85rem 1rem; border-left: 1px solid var(--line); }
.tv-find__mast-note-icon { display: grid; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line-soft)); border-radius: 15px; background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--brand); }
.tv-find__mast-note-icon svg { width: 1.05rem; height: 1.05rem; }
.tv-find__mast-note > span:nth-child(2) { display: grid; gap: .25rem; }
.tv-find__mast-note small { color: var(--muted); font-size: .53rem; font-weight: 750; letter-spacing: .15em; }
.tv-find__mast-note strong { color: var(--ink); font-size: .78rem; font-weight: 700; }
.tv-find__mast-note-arrow { width: .95rem; height: .95rem; margin-left: auto; color: var(--muted); }
.tv-find__bar { position: relative; display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 4.4rem; margin-top: 1.3rem; padding: .45rem .5rem .45rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(110deg, color-mix(in srgb, var(--brand) 7%, var(--panel)), var(--panel) 36%); box-shadow: var(--shadow-card); transition: border-color .25s ease, box-shadow .3s ease; }
.tv-find__bar:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 17%, transparent); }
.tv-find__search-icon { display: grid; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--brand) 12%, var(--panel)); color: var(--brand); }
.tv-find__search-icon svg { width: 1.15rem; height: 1.15rem; }
.tv-find__search-field { display: grid; flex: 1; min-width: 0; gap: .15rem; }
.tv-find__search-field > span { color: var(--muted); font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tv-find__search-field input[type="search"] { width: 100%; min-width: 0; height: 1.45rem; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: .91rem; font-weight: 550; -webkit-appearance: none; appearance: none; }
.tv-find__search-field input[type="search"]::-webkit-search-cancel-button { display: none; }
.tv-find__search-field input[type="search"]::placeholder { color: var(--muted); opacity: .8; }
.tv-find__clear { display: grid; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--panel-raised); color: var(--muted-strong); }
.tv-find__clear svg { width: .85rem; height: .85rem; }
.tv-find__submit { display: inline-flex; min-height: 3rem; flex: 0 0 auto; align-items: center; justify-content: center; gap: .55rem; padding: 0 1.15rem; border: 0; border-radius: 13px; background: var(--brand); color: #04110f; font-size: .78rem; font-weight: 750; transition: filter .2s ease, transform .2s ease; }
.tv-find__submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.tv-find__submit svg { width: .95rem; height: .95rem; }
.tv-find__workspace { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); align-items: start; gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: 1.6rem; }
.tv-find__refine { position: sticky; top: 6.5rem; align-self: start; padding: 1.15rem; border: 1px solid var(--line-soft); border-radius: 20px; background: linear-gradient(155deg, color-mix(in srgb, var(--brand) 4%, var(--panel)), var(--panel) 48%); }
.tv-find__refine-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); }
.tv-find__section-kicker { color: var(--muted); font-size: .55rem; font-weight: 800; letter-spacing: .17em; }
.tv-find__refine-head h2 { margin-top: .25rem; color: var(--ink); font-size: 1rem; font-weight: 740; letter-spacing: -.035em; }
.tv-find__refine-head > a { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-soft); border-radius: 10px; color: var(--muted-strong); transition: color .2s ease, border-color .2s ease; }
.tv-find__refine-head > a:hover { border-color: var(--brand); color: var(--brand); }
.tv-find__refine-head > a svg { width: .9rem; height: .9rem; }
.tv-find__filter-group { margin-top: 1rem; }
.tv-find__filter-label { margin-bottom: .5rem; color: var(--muted-strong); font-size: .69rem; font-weight: 700; }
.tv-find__chips { display: grid; max-height: 19rem; gap: .22rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
.tv-find__chips a { display: flex; min-width: 0; align-items: center; gap: .55rem; padding: .56rem .62rem; border: 1px solid transparent; border-radius: 11px; color: var(--muted); font-size: .73rem; font-weight: 600; line-height: 1.25; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tv-find__chips a > svg { width: .78rem; height: .78rem; flex: 0 0 auto; opacity: .65; }
.tv-find__chips a > svg:last-child { width: .68rem; height: .68rem; margin-left: auto; opacity: 0; }
.tv-find__chips a:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink); }
.tv-find__chips a[aria-current="true"] { border-color: color-mix(in srgb, var(--brand) 20%, transparent); background: color-mix(in srgb, var(--brand) 10%, var(--panel)); color: var(--ink); }
.tv-find__chips a[aria-current="true"] > svg:first-child { color: var(--brand); opacity: 1; }
.tv-find__sort { margin-top: 1rem; padding-top: .95rem; border-top: 1px solid var(--line-soft); }
.tv-find__sort > p { margin-bottom: .42rem; }
.tv-find__sort > div { display: grid; gap: .24rem; }
.tv-find__sort a { display: flex; min-height: 2.25rem; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .62rem; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: .72rem; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tv-find__sort a > svg { width: .78rem; height: .78rem; opacity: .55; }
.tv-find__sort a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.tv-find__sort a[aria-current="true"] { border-color: var(--line-soft); background: color-mix(in srgb, var(--ink) 5%, var(--panel)); color: var(--ink); }
.tv-find__sort a[aria-current="true"] > svg { color: var(--brand); opacity: 1; }
.tv-find__results { min-width: 0; }
.tv-find__results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: .18rem 0 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line-soft); }
.tv-find__results-head h2 { max-width: 48rem; margin-top: .3rem; overflow: hidden; color: var(--ink); font-size: clamp(1.25rem, 2.1vw, 1.8rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.1; text-overflow: ellipsis; }
.tv-find__count { display: flex; flex: 0 0 auto; align-items: baseline; gap: .35rem; padding: .42rem .65rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-size: .65rem; font-weight: 600; white-space: nowrap; }
.tv-find__count strong { color: var(--ink); font-size: .82rem; font-weight: 800; }
.tv-find__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; padding-bottom: 2rem; }
.tv-find__card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 19px; background: linear-gradient(105deg, color-mix(in srgb, var(--ink) 3%, var(--panel)), var(--panel) 38%); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tv-find__link { display: grid; grid-template-columns: minmax(11rem, 30%) minmax(0, 1fr); align-items: stretch; min-height: 10.2rem; color: inherit; text-decoration: none; }
.tv-find__art { position: relative; display: block; min-height: 10.2rem; overflow: hidden; background: var(--panel-raised); }
.tv-find__art::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(0,0,0,.22)), linear-gradient(0deg, rgba(0,0,0,.22), transparent 48%); content: ""; pointer-events: none; }
.tv-find__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.tv-find__art-play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(8,15,15,.52); color: #fff; opacity: 0; transform: translate(-50%, -44%) scale(.92); transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(12px); }
.tv-find__art-play svg { width: .9rem; height: .9rem; fill: currentColor; }
.tv-find__art em { position: absolute; z-index: 1; right: .55rem; bottom: .55rem; padding: .24rem .48rem; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: rgba(0,0,0,.62); color: #fff; font-size: .62rem; font-style: normal; font-weight: 650; }
.tv-find__info { display: grid; align-content: center; justify-items: start; gap: .45rem; min-width: 0; padding: 1rem 4rem 1rem 1.1rem; }
.tv-find__info-top { display: flex; min-width: 0; align-items: center; gap: .45rem; }
.tv-find__info-top small { overflow: hidden; color: var(--brand); font-size: .59rem; font-weight: 800; letter-spacing: .11em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.tv-find__info-top > svg { width: .72rem; height: .72rem; flex: 0 0 auto; color: var(--gold); }
.tv-find__info strong { display: -webkit-box; max-width: 100%; overflow: hidden; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.16; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tv-find__description { display: -webkit-box; max-width: 44rem; overflow: hidden; color: var(--muted); font-size: .76rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tv-find__stats { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: var(--muted); font-size: .64rem; font-weight: 600; }
.tv-find__stats svg { width: .75rem; height: .75rem; }
.tv-find__stats span { width: 3px; height: 3px; margin: 0 .15rem; border-radius: 50%; background: currentColor; opacity: .65; }
.tv-find__watch { display: inline-flex; align-items: center; gap: .35rem; margin-top: .08rem; color: var(--muted-strong); font-size: .66rem; font-weight: 750; }
.tv-find__watch svg { width: .78rem; height: .78rem; color: var(--brand); transition: transform .2s ease; }
.tv-find__card .tv-save { top: .8rem; right: .8rem; background: color-mix(in srgb, var(--panel) 88%, transparent); border-color: var(--line-soft); color: var(--muted-strong); }
.tv-find__card .tv-save.is-active { color: var(--brand); }
.tv-find__empty { display: grid; justify-items: center; gap: .68rem; min-height: 18rem; margin-bottom: 2rem; padding: 2.5rem 1.3rem; border: 1px dashed var(--line); border-radius: 20px; background: color-mix(in srgb, var(--panel) 52%, transparent); text-align: center; }
.tv-find__empty > span { display: grid; width: 3.4rem; height: 3.4rem; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line-soft)); border-radius: 16px; background: color-mix(in srgb, var(--brand) 9%, var(--panel)); color: var(--brand); }
.tv-find__empty > span svg { width: 1.3rem; height: 1.3rem; }
.tv-find__empty h2 { color: var(--ink); font-size: 1.28rem; font-weight: 760; letter-spacing: -.04em; }
.tv-find__empty > p:not(.tv-find__section-kicker) { max-width: 28rem; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.tv-find__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .4rem; }
.tv-find__tools { display: flex; flex: 0 0 auto; align-items: center; gap: .5rem; }
.tv-find__view { display: grid; flex: 0 0 auto; width: 2.1rem; height: 2.1rem; place-items: center; padding: 0; border: 1px solid var(--line-soft); border-radius: 50%; background: color-mix(in srgb, var(--panel) 78%, transparent); color: var(--muted-strong); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tv-find__view:hover { border-color: var(--line); background: color-mix(in srgb, var(--ink) 5%, var(--panel)); color: var(--ink); }
.tv-find__view svg { width: .95rem; height: .95rem; }
.tv-find__results[data-view="grid"] .tv-find__view-grid, .tv-find__results[data-view="list"] .tv-find__view-list { display: none; }
.tv-find__results[data-view="grid"] .tv-find__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tv-find__results[data-view="grid"] .tv-find__card { border-radius: 16px; background: var(--panel); }
.tv-find__results[data-view="grid"] .tv-find__link { display: block; min-height: 0; }
.tv-find__results[data-view="grid"] .tv-find__art { aspect-ratio: 4 / 3; min-height: 0; }
.tv-find__results[data-view="grid"] .tv-find__art::after { background: linear-gradient(0deg, rgba(0,0,0,.26), transparent 45%); }
.tv-find__results[data-view="grid"] .tv-find__art-play, .tv-find__results[data-view="grid"] .tv-find__description, .tv-find__results[data-view="grid"] .tv-find__watch { display: none; }
.tv-find__results[data-view="grid"] .tv-find__info { align-content: start; gap: .3rem; padding: .65rem .7rem .8rem; }
.tv-find__results[data-view="grid"] .tv-find__info strong { font-size: clamp(.86rem, 1.1vw, .98rem); letter-spacing: -.02em; line-height: 1.25; }
.tv-find__results[data-view="grid"] .tv-find__card .tv-save { top: .5rem; right: .5rem; width: 1.8rem; height: 1.8rem; }
.tv-find__results[data-view="grid"] .tv-find__card .tv-save svg { width: .8rem; height: .8rem; }
@media (min-width: 640px) {
  .tv-find__results[data-view="grid"] .tv-find__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
}
@media (min-width: 1600px) {
  .tv-find__results[data-view="grid"] .tv-find__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 599px) {
  .tv-find__tools { gap: .4rem; }
  .tv-find__view { width: 1.9rem; height: 1.9rem; }
  .tv-find__view svg { width: .85rem; height: .85rem; }
}
@media (hover: hover) and (pointer: fine) {
  .tv-find__card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 14px 36px -24px color-mix(in srgb, var(--brand) 45%, transparent); transform: translateY(-2px); }
  .tv-find__card:hover .tv-find__art img { transform: scale(1.045); }
  .tv-find__card:hover .tv-find__art-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .tv-find__card:hover .tv-find__watch svg { transform: translate(2px, -2px); }
}
@media (max-width: 899px) {
  .tv-find__workspace { grid-template-columns: minmax(0, 1fr); }
  .tv-find__refine { position: static; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(12rem, .8fr); gap: 1rem 1.2rem; }
  .tv-find__refine-head { grid-column: 1 / -1; }
  .tv-find__filter-group { min-width: 0; margin-top: 0; }
  .tv-find__chips { display: flex; max-height: none; gap: .4rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: none; }
  .tv-find__chips::-webkit-scrollbar { display: none; }
  .tv-find__chips a { flex: 0 0 auto; padding: .48rem .68rem; border-color: var(--line-soft); background: color-mix(in srgb, var(--panel) 78%, transparent); white-space: nowrap; }
  .tv-find__chips a > svg:last-child { display: none; }
  .tv-find__sort { align-self: start; margin-top: 0; padding-top: 0; border-top: 0; }
  .tv-find__sort > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-find__sort a { min-width: 0; border: 1px solid var(--line-soft); background: color-mix(in srgb, var(--panel) 78%, transparent); }
}
@media (max-width: 599px) {
  .tv-find { padding-top: 5.4rem; padding-bottom: 2rem; }
  .tv-find__mast { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 1rem; }
  .tv-find__intro h1 { margin-top: .58rem; font-size: clamp(2.1rem, 9vw, 3.1rem); }
  .tv-find__intro > p:last-child { max-width: 27rem; margin-top: .55rem; font-size: .79rem; }
  .tv-find__mast-note { display: none; }
  .tv-find__bar { min-height: 3.7rem; gap: .55rem; margin-top: .9rem; padding: .35rem; border-radius: 15px; }
  .tv-find__search-icon { width: 2.3rem; height: 2.3rem; border-radius: 11px; }
  .tv-find__search-field { gap: .05rem; }
  .tv-find__search-field > span { font-size: .5rem; }
  .tv-find__search-field input[type="search"] { font-size: .75rem; }
  .tv-find__clear { width: 1.8rem; height: 1.8rem; }
  .tv-find__submit { width: 2.45rem; min-height: 2.45rem; padding: 0; border-radius: 11px; }
  .tv-find__submit span { display: none; }
  .tv-find__workspace { gap: 1rem; margin-top: 1rem; }
  .tv-find__refine { grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: .85rem; border-radius: 17px; }
  .tv-find__refine-head { padding-bottom: .7rem; }
  .tv-find__refine-head h2 { font-size: .9rem; }
  .tv-find__filter-label { margin-bottom: .4rem; font-size: .64rem; }
  .tv-find__chips { margin-inline: -.85rem; padding: 0 .85rem .1rem; }
  .tv-find__chips a { padding: .43rem .6rem; font-size: .67rem; }
  .tv-find__sort { padding-top: .75rem; border-top: 1px solid var(--line-soft); }
  .tv-find__sort > div { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
  .tv-find__sort a { justify-content: center; min-height: 2.1rem; padding: .35rem .25rem; font-size: .61rem; text-align: center; }
  .tv-find__sort a > svg { display: none; }
  .tv-find__results-head { align-items: center; gap: .5rem; margin-bottom: .7rem; padding-bottom: .65rem; }
  .tv-find__results-head h2 { max-width: 16rem; font-size: 1.17rem; }
  .tv-find__count { gap: .25rem; padding: .35rem .5rem; font-size: .56rem; }
  .tv-find__count strong { font-size: .73rem; }
  .tv-find__grid { gap: .55rem; }
  .tv-find__card { border-radius: 15px; }
  .tv-find__link { grid-template-columns: 36% minmax(0, 1fr); min-height: 8.7rem; }
  .tv-find__art { min-height: 8.7rem; }
  .tv-find__art-play { width: 2rem; height: 2rem; opacity: 1; transform: translate(-50%, -50%) scale(.88); }
  .tv-find__art-play svg { width: .7rem; height: .7rem; }
  .tv-find__art em { right: .35rem; bottom: .35rem; padding: .18rem .35rem; font-size: .54rem; }
  .tv-find__info { gap: .3rem; padding: .7rem 2.85rem .7rem .65rem; }
  .tv-find__info-top small { font-size: .49rem; letter-spacing: .08em; }
  .tv-find__info-top > svg { width: .62rem; height: .62rem; }
  .tv-find__info strong { font-size: .83rem; line-height: 1.22; }
  .tv-find__description { font-size: .62rem; -webkit-line-clamp: 1; }
  .tv-find__stats { gap: .25rem; font-size: .55rem; }
  .tv-find__stats svg { width: .65rem; height: .65rem; }
  .tv-find__watch { gap: .25rem; font-size: .58rem; }
  .tv-find__watch svg { width: .68rem; height: .68rem; }
  .tv-find__card .tv-save { top: .45rem; right: .45rem; width: 1.7rem; height: 1.7rem; }
  .tv-find__card .tv-save svg { width: .78rem; height: .78rem; }
  .tv-find__empty { min-height: 15rem; margin-bottom: 1rem; padding: 1.7rem .9rem; }
  .tv-find__empty h2 { font-size: 1.1rem; }
  .tv-find__empty > p:not(.tv-find__section-kicker) { font-size: .72rem; }
}
@media (max-width: 379px) {
  .tv-find__intro h1 { font-size: 2rem; }
  .tv-find__search-field > span { display: none; }
  .tv-find__search-field input[type="search"] { height: 2rem; }
  .tv-find__link { grid-template-columns: 34% minmax(0, 1fr); min-height: 8rem; }
  .tv-find__art { min-height: 8rem; }
  .tv-find__info { padding-right: 2.55rem; }
  .tv-find__description { display: none; }
  .tv-find__watch { display: none; }
  .tv-find__results-head h2 { max-width: 12rem; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-find__bar,
  .tv-find__submit,
  .tv-find__view,
  .tv-find__card,
  .tv-find__art img,
  .tv-find__art-play,
  .tv-find__watch svg { transition: none; }
}
:root.light .tv-find__submit { color: #fff; }
:root.light .tv-find__card { box-shadow: 0 12px 30px -24px rgba(0,0,0,.35); }

.tv-auth__form-error { margin-top: -.1rem; padding: .72rem .85rem; border: 1px solid color-mix(in srgb, #ef4444 48%, var(--line-soft)); border-radius: 12px; background: color-mix(in srgb, #ef4444 10%, var(--surface)); color: #fca5a5; font-size: .88rem; line-height: 1.4; }
.tv-play { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.tv-play.is-loading { cursor: wait; }
.tv-button-spinner { display: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tv-button-spin .7s linear infinite; }
.tv-play.is-loading .tv-button-spinner { display: inline-block; }
@keyframes tv-button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tv-button-spinner { animation-duration: 1.4s; } }

.branding-field { display: grid; gap: .75rem; margin-top: .45rem; }
.branding-field__preview { display: grid; place-items: center; width: 6rem; height: 6rem; overflow: hidden; border-radius: .75rem; border: 1px dashed rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.branding-field__preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.branding-field__empty { padding: .5rem; color: var(--muted); font-size: .75rem; text-align: center; }
.branding-field__actions { display: flex; align-items: center; gap: .5rem; }
.brand-logo, .tv-brand__logo { width: 2.1rem; height: 2.1rem; flex: none; object-fit: contain; }

.settings-tabs { display: flex; gap: .25rem; padding: .3rem; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.settings-tabs::-webkit-scrollbar { display: none; }
.settings-tab { position: relative; flex: none; padding: .6rem 1.05rem; border: 0; border-radius: 12px; background: transparent; color: var(--muted-strong); font-size: .8rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.settings-tab:hover { color: var(--ink); background: var(--panel); }
.settings-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.settings-tab.is-active { color: var(--ink); background: var(--panel-raised); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .7); }
.settings-tab.is-active::after { content: ''; position: absolute; left: 50%; bottom: .3rem; width: 1.1rem; height: 2px; transform: translateX(-50%); border-radius: 2px; background: var(--brand); }
.settings-panel[hidden] { display: none; }

.admin-shell .branding-field__preview { width: 4.5rem; height: 4.5rem; border-radius: .6rem; }
.admin-shell .branding-field__empty { font-size: .65rem; padding: .3rem; }
.admin-shell .branding-field__actions .field-input { min-height: 2.5rem; padding: .3rem .6rem; font-size: .78rem; border-radius: 999px; }
.admin-shell .branding-field__actions .field-input::file-selector-button { margin-right: .6rem; padding: .35rem .75rem; border: 0; border-radius: 999px; background: var(--panel-raised); color: var(--ink); font-size: .72rem; font-weight: 600; cursor: pointer; }
.admin-shell .branding-field__actions .button-quiet { width: 2.5rem; height: 2.5rem; min-height: 0; padding: 0; flex: none; border-radius: 50%; }
.admin-shell .branding-field__actions .button-quiet svg { width: .85rem; height: .85rem; }
.admin-shell .settings-panel:not([hidden]) { display: flex; flex-direction: column; }
.admin-shell button.admin-save,
.admin-shell button.admin-action { min-height: 2.3rem; padding: 0 1.1rem; gap: .4rem; font-size: .76rem; letter-spacing: .01em; border-radius: 999px; }
.admin-shell button.admin-save { align-self: flex-end; }
.admin-shell button.admin-save svg,
.admin-shell button.admin-action svg { width: .8rem; height: .8rem; }

.tv-account--profile {
  max-width: 1510px;
  padding-top: clamp(6rem, 9vw, 8rem);
  padding-bottom: 5rem;
  overflow: visible;
}

.profile-hero {
  position: relative;
  isolation: isolate;
  min-height: 21rem;
  padding: clamp(1.5rem, 3.5vw, 3.2rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 82% 15%, rgba(20,184,166,.2), transparent 31%),
    linear-gradient(112deg, #101b1c 0%, #111719 49%, #18191b 100%);
  box-shadow: 0 30px 80px -56px rgba(0,0,0,.9);
}

.profile-hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.profile-hero__art span {
  position: absolute;
  top: -13rem;
  right: -5rem;
  width: 37rem;
  aspect-ratio: 1;
  border: 1px solid rgba(128,230,216,.09);
  border-radius: 50%;
}

.profile-hero__art span:nth-child(2) {
  top: -9rem;
  right: -1rem;
  width: 29rem;
  border-color: rgba(128,230,216,.12);
}

.profile-hero__art span:nth-child(3) {
  top: -5rem;
  right: 3rem;
  width: 21rem;
  border-color: rgba(128,230,216,.16);
}

.profile-hero__topline,
.profile-hero__main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.profile-hero__topline {
  justify-content: space-between;
  gap: 1rem;
}

.profile-back,
.profile-membership {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 650;
}

.profile-back { transition: color .2s ease, transform .25s var(--ease); }
.profile-back:hover { color: #fff; transform: translateX(-3px); }
.profile-back svg { width: .9rem; height: .9rem; }

.profile-membership {
  padding: .5rem .75rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.82);
  letter-spacing: .015em;
}

.profile-membership svg { width: .9rem; height: .9rem; color: #6fe0d0; }

.profile-hero__main {
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
}

.profile-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
  padding: .4rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 42px -25px rgba(0,0,0,.8);
}

.profile-avatar {
  display: grid;
  width: clamp(5.5rem, 10vw, 8rem);
  height: clamp(5.5rem, 10vw, 8rem);
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, #15b9a8, #086a6b);
  color: #fff;
  font-size: 2.6rem;
  font-weight: 750;
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-avatar-status {
  position: absolute;
  right: .15rem;
  bottom: .15rem;
  width: 1rem;
  height: 1rem;
  border: 3px solid #172020;
  border-radius: 50%;
  background: #55d5a1;
  box-shadow: 0 0 0 2px rgba(85,213,161,.18);
}

.profile-hero__identity { min-width: 0; }

.profile-kicker {
  color: var(--brand);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.5;
}

.profile-hero .profile-kicker { color: #71d8cb; }

.profile-hero__identity h1 {
  margin-top: .28rem;
  overflow: hidden;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: 1.08;
  text-overflow: ellipsis;
}

.profile-email {
  margin-top: .45rem;
  overflow-wrap: anywhere;
  color: rgba(255,255,255,.64);
  font-size: .9rem;
}

.profile-edit-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.15rem;
  padding: .58rem .85rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .25s var(--ease);
}

.profile-edit-link:hover { transform: translateY(-2px); border-color: rgba(113,216,203,.5); background: rgba(255,255,255,.12); }
.profile-edit-link svg { width: .8rem; height: .8rem; }

.profile-hero__count {
  display: grid;
  flex: 0 0 auto;
  gap: .35rem;
  min-width: 8.5rem;
  margin-left: auto;
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.15);
  color: #fff;
}

.profile-hero__count span {
  color: rgba(255,255,255,.57);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.profile-hero__count strong { font-size: 2.55rem; font-weight: 750; letter-spacing: -.07em; line-height: 1; }
.profile-hero__count small { color: rgba(255,255,255,.66); font-size: .7rem; }

.profile-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .28fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3.2vw, 3.25rem);
  margin-top: 2.4rem;
}

.profile-rail {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: .32rem;
  padding: 1.15rem .8rem;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
}

.profile-rail__label {
  padding: .2rem .65rem .7rem;
  color: var(--muted);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.profile-rail__link {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) .9rem;
  align-items: center;
  gap: .7rem;
  min-height: 2.8rem;
  padding: .55rem .7rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted-strong);
  font-size: .75rem;
  font-weight: 650;
  text-align: left;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.profile-tab-list { display: grid; gap: .32rem; }
.profile-rail__link[role="tab"] { width: 100%; background: transparent; cursor: pointer; }

.profile-rail__link:hover,
.profile-rail__link.is-active {
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
  background: color-mix(in srgb, var(--brand) 9%, var(--panel));
  color: var(--ink);
}

.profile-rail__link.is-active { color: var(--brand); }
.profile-rail__link > svg { width: .95rem; height: .95rem; }
.profile-rail__link > svg:last-child { justify-self: end; width: .75rem; height: .75rem; color: var(--muted); }
.profile-rail__divider { height: 1px; margin: .5rem .55rem; background: var(--line-soft); }
.profile-rail__link--signout:hover { color: #ff8c82; border-color: rgba(255,140,130,.16); background: rgba(255,140,130,.07); }

.profile-rail__note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 1rem .25rem .1rem;
  padding: .8rem .6rem 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.5;
}

.profile-rail__note svg { flex: 0 0 auto; width: .9rem; height: .9rem; color: var(--brand); }
.profile-main { display: grid; gap: 2.8rem; min-width: 0; }
.profile-history, .profile-settings { min-width: 0; scroll-margin-top: 6rem; }
.profile-panel[hidden] { display: none; }
.profile-panel:not([hidden]) { animation: profile-panel-in .22s var(--ease); }
@keyframes profile-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.profile-overview { display: grid; gap: 1.2rem; }

.profile-overview-head {
  position: relative;
  align-items: center;
  min-height: 7.2rem;
  margin-bottom: 0;
  padding: 1rem 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 88% 0%, color-mix(in srgb, var(--brand) 17%, transparent), transparent 40%),
    color-mix(in srgb, var(--panel) 50%, transparent);
}

.profile-overview-head::after {
  position: absolute;
  top: -4.2rem;
  right: 4.5rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 1rem color-mix(in srgb, var(--brand) 3%, transparent), 0 0 0 2rem color-mix(in srgb, var(--brand) 2%, transparent);
  content: "";
  pointer-events: none;
}

.profile-overview-head__copy { position: relative; z-index: 1; min-width: 0; }
.profile-overview-head .profile-kicker { display: flex; align-items: center; gap: .4rem; }
.profile-overview-head .profile-kicker svg { width: .8rem; height: .8rem; color: var(--brand); }
.profile-overview-head h2 { margin-top: .4rem; }
.profile-overview-head__summary { margin-top: .3rem; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.profile-overview-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 8rem;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 90% 5%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 45%),
    color-mix(in srgb, var(--panel) 72%, transparent);
}

.profile-overview-card::before { position: absolute; z-index: 0; top: -5.5rem; right: 1.5rem; width: 12rem; height: 12rem; border: 1px solid color-mix(in srgb, var(--brand) 11%, transparent); border-radius: 50%; box-shadow: 0 0 0 1rem color-mix(in srgb, var(--brand) 2.5%, transparent), 0 0 0 2rem color-mix(in srgb, var(--brand) 1.5%, transparent); content: ""; pointer-events: none; }
.profile-overview-card > * { position: relative; z-index: 1; }
.profile-overview-card__avatar { flex: 0 0 auto; width: 4rem; height: 4rem; border-radius: 17px; font-size: 1.4rem; }
.profile-overview-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-overview-card__identity { min-width: 0; }
.profile-overview-card__label { display: block; color: var(--muted); font-size: .57rem; font-weight: 800; letter-spacing: .12em; }
.profile-overview-card__identity h3 { margin-top: .25rem; overflow: hidden; font-size: 1.05rem; font-weight: 750; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.profile-overview-card__identity p { margin-top: .28rem; overflow-wrap: anywhere; color: var(--muted); font-size: .71rem; }
.profile-overview-card__activity { display: grid; gap: .2rem; margin-left: auto; padding-left: 1.5rem; border-left: 1px solid var(--line-soft); }
.profile-overview-card__activity strong { font-size: 1.5rem; font-weight: 750; letter-spacing: -.05em; }
.profile-overview-card__activity small { color: var(--muted); font-size: .65rem; }

.profile-overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.profile-overview-actions .tv-play { min-height: 2.75rem; padding-inline: 1.1rem; font-size: .75rem; }
.profile-overview-actions .tv-play svg { width: .9rem; height: .9rem; }
.profile-overview-actions__edit { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line-soft); border-radius: 999px; background: transparent; color: var(--muted-strong); font-size: .73rem; font-weight: 700; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.profile-overview-actions__edit:hover { border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, transparent); color: var(--ink); }
.profile-overview-actions__edit svg { width: .82rem; height: .82rem; }

.profile-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.profile-section-head h2 {
  margin-top: .38rem;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 760;
  letter-spacing: -.055em;
}

.profile-section-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex: 0 0 auto;
  padding-bottom: .2rem;
  color: var(--muted-strong);
  font-size: .72rem;
  font-weight: 700;
}

.profile-section-link:hover { color: var(--brand); }
.profile-section-link svg { width: .82rem; height: .82rem; }

.profile-watch-row {
  display: flex;
  gap: 1rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: .55rem var(--gutter) 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.profile-watch-row::-webkit-scrollbar { display: none; }

.profile-watch-card {
  display: grid;
  flex: 0 0 clamp(14rem, 22vw, 19rem);
  gap: .7rem;
  min-width: 0;
  scroll-snap-align: start;
}

.profile-watch-card__art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--panel);
}

.profile-watch-card__art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.profile-watch-card:hover .profile-watch-card__art > img { transform: scale(1.05); }
.profile-watch-card__art:after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); content: ''; pointer-events: none; }

.profile-watch-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  background: rgba(12,16,17,.45);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -42%) scale(.9);
  transition: opacity .2s ease, transform .25s var(--ease);
  backdrop-filter: blur(8px);
}

.profile-watch-card:hover .profile-watch-card__play,
.profile-watch-card:focus-visible .profile-watch-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.profile-watch-card__play svg { width: .9rem; height: .9rem; fill: currentColor; }

.profile-watch-card__art em {
  position: absolute;
  right: .55rem;
  bottom: .65rem;
  z-index: 2;
  padding: .24rem .45rem;
  border-radius: 999px;
  background: rgba(0,0,0,.56);
  color: #fff;
  font-size: .61rem;
  font-style: normal;
  font-weight: 650;
}

.profile-watch-card__art .tv-tile__progress { z-index: 3; height: 3px; }
.profile-watch-card__label { display: grid; gap: .22rem; padding-inline: .1rem; }
.profile-watch-card__label small { color: var(--muted); font-size: .57rem; font-weight: 800; letter-spacing: .1em; }
.profile-watch-card__label strong { overflow: hidden; font-size: .84rem; font-weight: 700; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }

.profile-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 9rem;
  padding: 1.3rem;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 52%, transparent);
}

.profile-empty__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--brand) 13%, var(--panel));
  color: var(--brand);
}

.profile-empty__icon svg { width: 1.25rem; height: 1.25rem; }
.profile-empty h3 { font-size: .9rem; font-weight: 750; letter-spacing: -.025em; }
.profile-empty p { max-width: 27rem; margin-top: .32rem; color: var(--muted); font-size: .73rem; line-height: 1.55; }
.profile-empty .tv-play { min-height: 2.5rem; padding-inline: .9rem; font-size: .68rem; white-space: nowrap; }
.profile-empty .tv-play svg { width: .8rem; height: .8rem; }

.profile-settings {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--panel) 86%, transparent), color-mix(in srgb, var(--panel) 56%, transparent));
  box-shadow: var(--shadow-card);
}

.profile-section-head--settings { align-items: center; margin-bottom: 0; }
.profile-settings-icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--panel-raised); color: var(--brand); }
.profile-settings-icon svg { width: 1rem; height: 1rem; }
.profile-settings-intro { max-width: 43rem; margin-top: .55rem; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.profile-settings .tv-notice, .profile-settings .tv-alert { margin-top: 1rem; }
.profile-form { gap: 1.3rem; margin-top: 1.5rem; }
.profile-avatar-field { display: block; }
.profile-avatar-field legend { margin-bottom: .7rem; color: var(--muted-strong); font-size: .73rem; font-weight: 700; }

.profile-avatar-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: .9rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel-raised) 58%, transparent);
}

.profile-avatar--small { width: 3.4rem; height: 3.4rem; border: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 16px; font-size: 1.15rem; }
.profile-avatar-picker .tv-avatars__grid { grid-template-columns: repeat(8, minmax(2.1rem, 2.65rem)); justify-content: end; gap: .45rem; }
.profile-avatar-picker .tv-avatars__option { width: 100%; height: auto; aspect-ratio: 1; }
.profile-avatar-picker .tv-avatars__option img { border-radius: 13px; }
.profile-avatar-picker .tv-avatars__option input:checked + img { transform: scale(1.04); }
.profile-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-form__fields .tv-field { gap: .4rem; min-width: 0; }
.profile-form__fields .tv-field > span:first-child { color: var(--muted-strong); font-size: .7rem; font-weight: 700; }
.profile-form__fields .tv-input { min-height: 3rem; border-color: var(--line-soft); background: var(--panel-raised); font-size: .82rem; }
.profile-form__fields .tv-input:disabled { color: var(--muted); opacity: 1; }
.profile-form__fields .password-control { margin-top: 0; }
.profile-form__fields .password-control .tv-input { border-color: transparent; }
.profile-form__password { grid-column: 1 / -1; }

.profile-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}

.profile-form__footer p { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .66rem; }
.profile-form__footer p svg { width: .85rem; height: .85rem; color: var(--brand); }
.profile-save { min-height: 2.75rem; padding-inline: 1.2rem; font-size: .76rem; }
.profile-save svg { width: .9rem; height: .9rem; }

:root.light .profile-hero {
  border-color: rgba(17,68,67,.12);
  background:
    radial-gradient(ellipse at 82% 15%, rgba(20,184,166,.16), transparent 31%),
    linear-gradient(112deg, #e9f5f2 0%, #eef3f1 49%, #f1f0eb 100%);
}

:root.light .profile-hero__identity h1,
:root.light .profile-back,
:root.light .profile-membership,
:root.light .profile-edit-link { color: #142322; }
:root.light .profile-email,
:root.light .profile-hero__count small { color: rgba(20,35,34,.65); }
:root.light .profile-membership,
:root.light .profile-edit-link { border-color: rgba(20,35,34,.14); background: rgba(255,255,255,.48); }
:root.light .profile-avatar-status { border-color: #e9f5f2; }
:root.light .profile-hero__count { color: #142322; border-color: rgba(20,35,34,.16); }
:root.light .profile-hero__count span { color: rgba(20,35,34,.56); }

@media (max-width: 950px) {
  .profile-layout { grid-template-columns: minmax(0, 1fr); }
  .profile-rail { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: .35rem; padding: .55rem; overflow: visible; }
  .profile-rail__label, .profile-rail__divider, .profile-rail__note { display: none; }
  .profile-tab-list { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; width: 100%; }
  .profile-tab-list .profile-rail__link[role="tab"] { display: flex; flex: 1 1 0; flex-direction: column; justify-content: center; gap: .3rem; width: auto; min-width: 0; min-height: 3.5rem; padding: .5rem .25rem; font-size: .66rem; line-height: 1.2; text-align: center; white-space: normal; }
  .profile-tab-list .profile-rail__link[role="tab"] > svg:first-child { width: .95rem; height: .95rem; }
  .profile-tab-list .profile-rail__link[role="tab"] > svg:last-child { display: none; }
  .profile-rail > a.profile-rail__link { display: flex; justify-content: center; width: auto; min-height: 2.4rem; padding: .5rem; font-size: .67rem; white-space: nowrap; }
  .profile-rail > a.profile-rail__link > svg:last-child { display: none; }
}

@media (max-width: 767px) {
  .tv-account--profile { padding: 5.5rem var(--gutter) 2.5rem; }
  .profile-hero { min-height: 0; padding: .95rem 1rem; border-radius: 21px; }
  .profile-hero__topline { align-items: flex-start; }
  .profile-membership { gap: .35rem; padding: .4rem .55rem; font-size: .62rem; }
  .profile-membership svg { width: .78rem; height: .78rem; }
  .profile-back { gap: .35rem; font-size: .66rem; }
  .profile-hero__main { display: grid; grid-template-columns: 4.3rem minmax(0, 1fr); align-items: center; gap: .75rem .85rem; margin-top: 1.15rem; }
  .profile-avatar-wrap { display: grid; grid-column: 1; grid-row: 1; place-items: center; box-sizing: border-box; width: 4.3rem; height: 4.3rem; padding: .18rem; border-radius: 16px; }
  .profile-avatar { box-sizing: border-box; width: 3.65rem; height: 3.65rem; border-radius: 12px; font-size: 1.35rem; }
  .profile-avatar-status { right: .02rem; bottom: .02rem; width: .72rem; height: .72rem; border-width: 2px; }
  .profile-hero__identity { grid-column: 2; grid-row: 1; min-width: 0; }
  .profile-hero__identity h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .profile-hero__identity .profile-kicker { font-size: .48rem; letter-spacing: .13em; }
  .profile-email { margin-top: .2rem; overflow: hidden; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
  .profile-edit-link { margin-top: .5rem; padding: .38rem .58rem; font-size: .61rem; }
  .profile-hero__count { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .5rem; min-width: 0; margin: 0; padding: .6rem 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .profile-hero__count strong { font-size: 1.2rem; }
  .profile-hero__count span { margin-right: auto; font-size: .55rem; }
  .profile-hero__count small { font-size: .6rem; }
  :root.light .profile-hero__count { border-color: rgba(20,35,34,.16); }
  .profile-layout { gap: 1.5rem; margin-top: 1.2rem; }
  .profile-rail { margin-inline: calc(var(--gutter) * -.35); }
  .profile-tab-list .profile-rail__link[role="tab"] { min-height: 3.35rem; font-size: .61rem; }
  .profile-rail > a.profile-rail__link { gap: .45rem; font-size: .63rem; }
  .profile-rail > a.profile-rail__link > svg { width: .8rem; height: .8rem; }
  .profile-main { gap: 2.1rem; }
  .profile-overview { gap: .85rem; }
  .profile-overview-head { min-height: 0; gap: .5rem; padding: .85rem; border-radius: 17px; }
  .profile-overview-head::after { top: -5rem; right: 2.3rem; width: 8rem; height: 8rem; }
  .profile-overview-head h2 { font-size: 1.35rem; }
  .profile-overview-head__summary { max-width: 27rem; font-size: .66rem; }
  .profile-overview-card { flex-wrap: wrap; gap: .8rem; border-radius: 18px; }
  .profile-overview-card__avatar { width: 3.35rem; height: 3.35rem; border-radius: 14px; }
  .profile-overview-card__identity { flex: 1 1 calc(100% - 4.5rem); }
  .profile-overview-card__activity { flex: 1 1 100%; grid-template-columns: auto auto 1fr; align-items: baseline; gap: .5rem; margin: .25rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--line-soft); border-left: 0; }
  .profile-overview-card__activity .profile-overview-card__label { margin-right: auto; }
  .profile-overview-card__activity strong { font-size: 1.15rem; }
  .profile-overview-card__activity small { justify-self: end; }
  .profile-overview-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .profile-overview-actions .tv-play,
  .profile-overview-actions__edit { justify-content: center; width: 100%; min-width: 0; min-height: 2.65rem; gap: .35rem; padding: .45rem .3rem; font-size: .62rem; line-height: 1.2; text-align: center; }
  .profile-overview-actions .tv-play svg,
  .profile-overview-actions__edit svg { flex: 0 0 auto; width: .78rem; height: .78rem; }
  .profile-section-head { align-items: flex-start; gap: .6rem; }
  .profile-section-head h2 { font-size: 1.4rem; }
  .profile-section-head .profile-kicker { font-size: .54rem; }
  .profile-section-link { padding-top: .15rem; font-size: .63rem; }
  .profile-watch-row { gap: .75rem; }
  .profile-watch-card { flex-basis: 76vw; }
  .profile-watch-card__art { border-radius: 13px; }
  .profile-watch-card__label strong { font-size: .78rem; }
  .profile-watch-card__play { opacity: 1; transform: translate(-50%, -50%) scale(.9); }
  .profile-empty { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; padding: 1rem; }
  .profile-empty__icon { width: 2.5rem; height: 2.5rem; border-radius: 12px; }
  .profile-empty h3 { font-size: .8rem; }
  .profile-empty p { font-size: .67rem; }
  .profile-empty .tv-play { grid-column: 1 / -1; justify-self: start; }
  .profile-settings { padding: 1.1rem; border-radius: 19px; }
  .profile-settings-intro { font-size: .7rem; }
  .profile-avatar-picker { grid-template-columns: 1fr; justify-items: start; gap: .9rem; }
  .profile-avatar-picker .tv-avatars__grid { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: stretch; gap: .55rem; }
  .profile-avatar-picker .tv-avatars__option { min-width: 0; }
  .profile-form__fields { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .profile-form__password { grid-column: auto; }
  .profile-form__footer { align-items: stretch; flex-direction: column; }
  .profile-save { justify-content: center; }
}

.genre-page {
  max-width: 1760px;
  margin: 0 auto;
  padding: 8.1rem var(--gutter) 3rem;
}

.genre-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr);
  grid-template-rows: 1fr auto;
  gap: .75rem 1.25rem;
  min-height: 23rem;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(113,216,203,.18);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(20,184,166,.22), transparent 34%),
    radial-gradient(ellipse at 0% 100%, rgba(49,100,112,.2), transparent 42%),
    linear-gradient(128deg, #122121, #111819 58%, #142020);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 46px rgba(0,0,0,.12);
}

.genre-hero--empty {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 0;
}

.genre-hero--empty .genre-hero__copy { max-width: 46rem; }
.genre-hero--empty .genre-hero__stats { grid-column: 1; }

.genre-hero::before {
  position: absolute;
  z-index: -1;
  top: -17rem;
  right: -8rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(113,216,203,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(113,216,203,.025), 0 0 0 4rem rgba(113,216,203,.018);
  content: "";
}

.genre-hero__copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: 44rem;
}

.genre-eyebrow {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #71d8cb;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.4;
}

.genre-eyebrow svg { width: .85rem; height: .85rem; flex: 0 0 auto; }

.genre-hero__copy h1 {
  max-width: 13ch;
  margin-top: .72rem;
  color: #f5f7f6;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .98;
}

.genre-hero__copy h1 span {
  color: #7de0d1;
  text-shadow: 0 8px 38px rgba(20,184,166,.17);
}

.genre-hero__intro {
  max-width: 27rem;
  margin-top: .72rem;
  color: rgba(239,245,244,.68);
  font-size: .82rem;
  line-height: 1.5;
}

.genre-search {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: min(100%, 28rem);
  height: 2.9rem;
  margin-top: 1rem;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: rgba(7,14,15,.76);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.genre-search:focus-within {
  border-color: rgba(113,216,203,.68);
  background: rgba(7,14,15,.92);
  box-shadow: 0 0 0 4px rgba(20,184,166,.13);
}

.genre-search > svg { width: 1rem; height: 1rem; flex: 0 0 auto; color: #71d8cb; }
.genre-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f5f7f6; font: inherit; font-size: .82rem; }
.genre-search input::placeholder { color: rgba(239,245,244,.48); }
.genre-search input::-webkit-search-cancel-button { display: none; }

.genre-hero__visual {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 18rem;
}

.genre-hero__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(113,216,203,.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.genre-hero__orbit--two { width: 21rem; height: 21rem; border-color: rgba(113,216,203,.07); }

.genre-hero__poster {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 19px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--genre-tone) 76%, #102020), #101415);
  box-shadow: 0 16px 36px rgba(0,0,0,.3);
}

.genre-hero__poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.76), rgba(0,0,0,.05) 65%);
  content: "";
}

.genre-hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.genre-hero__poster > span { position: absolute; z-index: 1; right: .8rem; bottom: .9rem; left: .9rem; overflow: hidden; color: #fff; font-size: .82rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.genre-hero__poster[data-tone="0"] { --genre-tone: #ff765f; top: 8%; left: 23%; width: 48%; height: 68%; transform: rotate(-9deg); }
.genre-hero__poster[data-tone="1"] { --genre-tone: #368bd0; top: 14%; right: 3%; width: 46%; height: 73%; transform: rotate(7deg); }
.genre-hero__poster[data-tone="2"] { --genre-tone: #25b9a3; bottom: 0; left: 18%; width: 50%; height: 59%; transform: rotate(2deg); }
.genre-hero__visual-mark { position: absolute; z-index: 4; right: 8%; bottom: 7%; display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: #73ddce; color: #09201e; box-shadow: 0 10px 30px rgba(20,184,166,.3); }
.genre-hero__visual-mark svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.genre-hero__stats {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  align-self: end;
  width: fit-content;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.genre-hero__stats > div { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: .55rem; }
.genre-hero__stats strong { color: #f5f7f6; font-size: 1.35rem; font-weight: 780; letter-spacing: -.05em; line-height: 1; }
.genre-hero__stats span:not(.genre-hero__stats-divider) { color: rgba(239,245,244,.57); font-size: .68rem; }
.genre-hero__stats-divider { width: 1px; height: 1.7rem; background: rgba(255,255,255,.15); }

.genre-directory { margin-top: 2.5rem; }
.genre-directory__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.genre-directory__head > .genre-eyebrow { flex: 0 0 auto; }
.genre-directory__title { display: flex; align-items: center; justify-content: flex-end; gap: .8rem; min-width: 0; }
.genre-directory__head h2 { color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 780; letter-spacing: -.06em; line-height: 1.05; text-align: right; }
.genre-directory__total { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .7rem; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--muted); font-size: .66rem; font-weight: 650; white-space: nowrap; }
.genre-directory__total svg { width: .83rem; height: .83rem; color: var(--brand); }

.genre-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.genre-card {
  --genre-tone: #168e86;
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 12.8rem;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 21px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--genre-tone) 68%, #111819), #141819 88%);
  color: #f5f7f6;
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .25s ease, box-shadow .3s ease;
}

.genre-card[data-tone="0"] { --genre-tone: #ff765f; }
.genre-card[data-tone="1"] { --genre-tone: #458de1; }
.genre-card[data-tone="2"] { --genre-tone: #23bda4; }
.genre-card[data-tone="3"] { --genre-tone: #e4a843; }
.genre-card[data-tone="4"] { --genre-tone: #a47ae5; }
.genre-card[data-tone="5"] { --genre-tone: #788d9c; }
.genre-card[hidden] { display: none; }
.genre-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.genre-card__tint { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(8,13,14,.28), rgba(8,13,14,.08) 34%, rgba(8,13,14,.9) 100%), linear-gradient(140deg, color-mix(in srgb, var(--genre-tone) 32%, transparent), transparent 65%); }
.genre-card__top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.genre-card__symbol { display: grid; width: 2.15rem; height: 2.15rem; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(7,14,15,.38); color: #fff; backdrop-filter: blur(10px); }
.genre-card__symbol svg { width: 1rem; height: 1rem; }
.genre-card__count { max-width: 60%; padding: .35rem .55rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(7,14,15,.43); color: rgba(255,255,255,.92); font-size: .58rem; font-weight: 700; text-align: center; backdrop-filter: blur(10px); }
.genre-card__body { position: relative; z-index: 1; display: grid; gap: .3rem; min-width: 0; padding-right: 2.25rem; }
.genre-card__body strong { overflow: hidden; font-size: clamp(.9rem, 2.1vw, 1.28rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.12; text-overflow: ellipsis; }
.genre-card__body small { display: -webkit-box; overflow: hidden; color: rgba(245,247,246,.72); font-size: .65rem; font-weight: 500; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.genre-card__body .genre-card__featured { color: #8be5d8; font-size: .52rem; font-weight: 800; letter-spacing: .14em; }
.genre-card__go { position: absolute; z-index: 2; right: .75rem; bottom: .75rem; display: grid; width: 1.9rem; height: 1.9rem; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(9,16,17,.5); color: #fff; transition: transform .3s ease, background .3s ease, color .3s ease; }
.genre-card__go svg { width: .88rem; height: .88rem; }
.genre-card--featured { grid-column: 1 / -1; min-height: 14rem; padding: 1rem; }
.genre-card--featured .genre-card__body strong { font-size: clamp(1.4rem, 5vw, 2.35rem); }
.genre-card--solo { grid-column: 1 / -1; min-height: 14rem; }
.genre-card--empty { border-style: dashed; }

@media (hover: hover) and (pointer: fine) {
  .genre-card:hover { border-color: color-mix(in srgb, var(--genre-tone) 65%, white); box-shadow: 0 18px 42px color-mix(in srgb, var(--genre-tone) 18%, transparent); transform: translateY(-4px); }
  .genre-card:hover img { transform: scale(1.06); }
  .genre-card:hover .genre-card__go { background: #f5f7f6; color: #101718; transform: rotate(45deg); }
}

.genre-grid.is-filtering .genre-card--featured { grid-column: auto; grid-row: auto; min-height: 12.8rem; }
.genre-grid.is-filtering .genre-card--featured .genre-card__body strong { font-size: clamp(.9rem, 2.1vw, 1.28rem); }
.genre-empty { display: grid; justify-items: center; gap: .6rem; margin: 1rem 0; padding: 2.2rem 1.2rem; border: 1px dashed var(--line); border-radius: 22px; background: color-mix(in srgb, var(--panel) 55%, transparent); text-align: center; }
.genre-empty[hidden] { display: none; }
.genre-empty__icon { display: grid; width: 3.3rem; height: 3.3rem; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line-soft)); border-radius: 17px; background: color-mix(in srgb, var(--brand) 9%, var(--panel)); color: var(--brand); }
.genre-empty__icon svg { width: 1.3rem; height: 1.3rem; }
.genre-empty h3 { color: var(--ink); font-size: 1.05rem; font-weight: 750; letter-spacing: -.025em; }
.genre-empty p { max-width: 28rem; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.genre-empty__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .25rem; color: var(--brand); font-size: .72rem; font-weight: 750; }
.genre-empty__link svg { width: .85rem; height: .85rem; }

.genre-discovery { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; margin-top: 1.4rem; padding: 1.1rem 1.25rem; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 22px; background: radial-gradient(ellipse at 0% 50%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 42%), color-mix(in srgb, var(--panel) 65%, transparent); }
.genre-discovery__icon { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line-soft)); border-radius: 15px; background: color-mix(in srgb, var(--brand) 11%, var(--panel)); color: var(--brand); }
.genre-discovery__icon svg { width: 1.1rem; height: 1.1rem; }
.genre-discovery .genre-eyebrow { font-size: .53rem; }
.genre-discovery h2 { margin-top: .28rem; color: var(--ink); font-size: .95rem; font-weight: 720; letter-spacing: -.025em; }
.genre-discovery > a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .55rem .85rem; border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--brand) 13%, var(--panel)); color: var(--ink); font-size: .7rem; font-weight: 750; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.genre-discovery > a:hover { background: color-mix(in srgb, var(--brand) 24%, var(--panel)); transform: translateY(-1px); }
.genre-discovery > a svg { width: .85rem; height: .85rem; }

@media (min-width: 768px) {
  .genre-page { padding-top: 7.4rem; }
  .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
  .genre-card { min-height: 15rem; padding: 1rem; }
  .genre-card--featured { grid-column: span 2; grid-row: span 2; min-height: 31rem; }
  .genre-card--solo { grid-column: 1 / -1; grid-row: auto; min-height: 18rem; }
  .genre-grid.is-filtering .genre-card--featured { grid-column: auto; grid-row: auto; min-height: 15rem; }
  .genre-grid.is-filtering .genre-card--featured .genre-card__body strong { font-size: clamp(.9rem, 2.1vw, 1.28rem); }
  .genre-card__body { padding-right: 2.8rem; }
  .genre-card__body strong { font-size: 1.2rem; }
  .genre-card__body small { font-size: .72rem; }
  .genre-card--featured .genre-card__body { max-width: 35rem; padding-right: 3.5rem; }
  .genre-card--featured .genre-card__body strong { font-size: clamp(1.8rem, 3.2vw, 3rem); }
  .genre-card--featured .genre-card__body small { font-size: .83rem; -webkit-line-clamp: 3; }
}

@media (min-width: 1280px) {
  .genre-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .genre-hero { min-height: 24rem; }
  .genre-hero__visual { min-height: 19rem; }
}

@media (max-width: 767px) {
  .genre-page { padding-top: 6.4rem; padding-bottom: 2rem; }
  .genre-hero { display: block; min-height: 0; padding: 1.15rem; border-radius: 21px; }
  .genre-hero__copy { max-width: none; }
  .genre-hero__copy h1 { max-width: 11ch; margin-top: .65rem; font-size: clamp(2.05rem, 8vw, 3rem); }
  .genre-hero__intro { max-width: 23rem; margin-top: .6rem; font-size: .75rem; }
  .genre-search { position: relative; z-index: 2; width: 100%; height: 2.75rem; margin-top: .85rem; padding-inline: .8rem; border-radius: 12px; }
  .genre-search input { font-size: .76rem; }
  .genre-hero__visual { position: absolute; z-index: -1; top: 0; right: -2rem; width: 62%; height: 54%; min-height: 0; opacity: .3; }
  .genre-hero__orbit { width: 11rem; height: 11rem; }
  .genre-hero__orbit--two { width: 15rem; height: 15rem; }
  .genre-hero__poster { border-radius: 15px; }
  .genre-hero__poster[data-tone="0"] { top: 7%; left: 23%; width: 43%; height: 68%; }
  .genre-hero__poster[data-tone="1"] { top: 15%; right: 4%; width: 42%; height: 72%; }
  .genre-hero__poster[data-tone="2"] { bottom: 0; left: 20%; width: 45%; height: 59%; }
  .genre-hero__poster > span { font-size: .62rem; }
  .genre-hero__visual-mark { right: 8%; bottom: 4%; width: 2.45rem; height: 2.45rem; }
  .genre-hero__stats { gap: .65rem; margin-top: .85rem; padding-top: .7rem; }
  .genre-hero__stats > div { gap: .35rem; }
  .genre-hero__stats strong { font-size: 1.1rem; }
  .genre-hero__stats span:not(.genre-hero__stats-divider) { font-size: .58rem; }
  .genre-hero__stats-divider { height: 1.35rem; }
  .genre-directory { margin-top: 1.8rem; }
  .genre-directory__head { align-items: center; gap: .45rem; margin-bottom: .8rem; }
  .genre-directory__head > .genre-eyebrow { font-size: .49rem; letter-spacing: .12em; }
  .genre-directory__title { gap: .4rem; }
  .genre-directory__head h2 { font-size: clamp(1.05rem, 4.5vw, 1.4rem); }
  .genre-directory__total { gap: .3rem; padding: .38rem .5rem; font-size: .56rem; }
  .genre-directory__total svg { width: .72rem; height: .72rem; }
  .genre-grid { gap: .6rem; }
  .genre-card { min-height: 12rem; gap: .55rem; padding: .65rem; border-radius: 17px; }
  .genre-card--featured { min-height: 13.2rem; }
  .genre-card--solo { min-height: 13.2rem; }
  .genre-card__symbol { width: 1.85rem; height: 1.85rem; border-radius: 10px; }
  .genre-card__symbol svg { width: .88rem; height: .88rem; }
  .genre-card__count { max-width: 67%; padding: .3rem .4rem; font-size: .51rem; }
  .genre-card__body { gap: .24rem; padding-right: 1.75rem; }
  .genre-card__body strong { font-size: clamp(.83rem, 3.5vw, 1.05rem); }
  .genre-card__body small { font-size: .57rem; }
  .genre-card__body .genre-card__featured { font-size: .45rem; }
  .genre-card__go { right: .55rem; bottom: .55rem; width: 1.5rem; height: 1.5rem; }
  .genre-card__go svg { width: .72rem; height: .72rem; }
  .genre-grid.is-filtering .genre-card--featured { min-height: 12rem; }
  .genre-grid.is-filtering .genre-card--featured .genre-card__body strong { font-size: clamp(.83rem, 3.5vw, 1.05rem); }
  .genre-empty { gap: .5rem; padding: 1.5rem .9rem; border-radius: 18px; }
  .genre-empty__icon { width: 2.7rem; height: 2.7rem; border-radius: 14px; }
  .genre-empty h3 { font-size: .92rem; }
  .genre-empty p { font-size: .68rem; }
  .genre-discovery { grid-template-columns: auto minmax(0, 1fr); gap: .7rem; margin-top: 1rem; padding: .85rem; border-radius: 18px; }
  .genre-discovery__icon { width: 2.25rem; height: 2.25rem; border-radius: 13px; }
  .genre-discovery__icon svg { width: .95rem; height: .95rem; }
  .genre-discovery .genre-eyebrow { font-size: .46rem; letter-spacing: .12em; }
  .genre-discovery h2 { font-size: .77rem; }
  .genre-discovery > a { grid-column: 1 / -1; width: 100%; min-height: 2.35rem; padding: .45rem .7rem; font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .genre-card,
  .genre-card img,
  .genre-card__go,
  .genre-discovery > a { transition: none; }
}

.tv-empty-state {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tv-empty-state::after {
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -38%;
  z-index: 0;
  width: 34%;
  background: linear-gradient(108deg, transparent 8%, color-mix(in srgb, var(--brand) 4%, transparent) 38%, color-mix(in srgb, var(--brand) 13%, transparent) 50%, color-mix(in srgb, var(--brand) 4%, transparent) 62%, transparent 92%);
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) skewX(-18deg);
  animation: tv-empty-state-shimmer 7.2s ease-in-out infinite;
}

.tv-empty-state > * {
  position: relative;
  z-index: 1;
}

.tv-empty-state--inline {
  display: inline-block;
  max-width: 100%;
  padding: .68rem .85rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 64%, transparent);
}

.tv-empty-state--inline::after { z-index: -1; }
.tv-talk__empty[hidden] { display: none; }

@keyframes tv-empty-state-shimmer {
  0%, 72% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  77% { opacity: .9; }
  96%, 100% { opacity: 0; transform: translateX(410%) skewX(-18deg); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body[data-page="index"] .tv-home {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(1.25rem, 3vw, 2.4rem);
    min-height: 32rem;
    padding-top: 8rem;
  }

  body[data-page="index"] .tv-home__title { font-size: clamp(3.2rem, 7vw, 5.2rem); }
  body[data-page="index"] .tv-home__stage { max-width: 29rem; }
  body[data-page="index"] .tv-showcase { width: clamp(13rem, 31vw, 18rem); }
  body[data-page="index"] .tv-quick { gap: .8rem; }

  body[data-page="browse"] .tv-find {
    max-width: 1120px;
    padding-top: 7rem;
  }

  body[data-page="browse"] .tv-find__workspace {
    grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
    gap: 1.25rem;
  }

  body[data-page="browse"] .tv-find__refine { position: sticky; top: 6rem; }

  body[data-page="genres"] .genre-page {
    max-width: 1180px;
    padding-inline: clamp(1.75rem, 5vw, 3.5rem);
  }

  body[data-page="watch"] .tv-cinema__body {
    padding-inline: clamp(1.75rem, 5vw, 3.5rem);
  }

  body[data-page="profile"] .tv-account--profile {
    padding-inline: clamp(1.25rem, 4vw, 3rem);
  }

  body[data-page="profile"] .profile-hero { min-height: 19rem; }

  body[data-page="login"] .tv-auth__card,
  body[data-page="register"] .tv-auth__card,
  body[data-page="forgot-password"] .tv-auth__card,
  body[data-page="reset-password"] .tv-auth__card { width: min(100%, 29rem); }

  body[data-page="support"] .tv-support {
    max-width: 1120px;
    padding-inline: clamp(1.75rem, 5vw, 3.5rem);
  }

  body[data-page="legal"] .tv-legal {
    max-width: 1120px;
    padding-inline: clamp(1.75rem, 5vw, 3.5rem);
  }

  body[data-page="legal"] .tv-legal__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  body[data-page="legal"] .tv-legal__toc {
    position: static;
    display: flex;
    gap: .35rem;
    max-height: none;
    overflow-x: auto;
    padding: .2rem 0 .65rem;
    scrollbar-width: thin;
  }

  body[data-page="legal"] .tv-legal__toc p {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 .35rem 0 0;
  }

  body[data-page="legal"] .tv-legal__toc a {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 2px solid var(--line-soft);
    white-space: nowrap;
  }

  body[data-page="legal"] .tv-legal__body { max-width: none; }
}

@media (min-width: 1024px) and (max-width: 1599px) {
  body[data-page="index"] .tv-home {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    min-height: 40rem;
  }

  body[data-page="index"] .tv-home__stage { max-width: 42rem; }
  body[data-page="index"] .tv-showcase { width: clamp(19rem, 25vw, 24rem); }
  body[data-page="index"] .tv-feed__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  body[data-page="browse"] .tv-find {
    max-width: 1500px;
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  body[data-page="browse"] .tv-find__workspace {
    grid-template-columns: minmax(15rem, 17rem) minmax(0, 1fr);
    gap: clamp(1.6rem, 2.5vw, 2.5rem);
  }

  body[data-page="genres"] .genre-page {
    max-width: 1420px;
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  body[data-page="genres"] .genre-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  body[data-page="watch"] .tv-cinema__body {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 25rem);
    gap: clamp(2rem, 3vw, 3.5rem);
  }

  body[data-page="profile"] .tv-account--profile { max-width: 1510px; }
  body[data-page="profile"] .profile-layout { grid-template-columns: minmax(14rem, 16rem) minmax(0, 1fr); }

  body[data-page="login"] .tv-auth__card,
  body[data-page="register"] .tv-auth__card,
  body[data-page="forgot-password"] .tv-auth__card,
  body[data-page="reset-password"] .tv-auth__card { width: min(100%, 27rem); }

  body[data-page="support"] .tv-support {
    max-width: 1340px;
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  body[data-page="support"] .tv-support__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr);
    gap: clamp(1.4rem, 2vw, 2rem);
  }

  body[data-page="legal"] .tv-legal {
    max-width: 1340px;
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  body[data-page="legal"] .tv-legal__layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 3rem);
  }

  body[data-page="legal"] .tv-legal__body { max-width: 56rem; }
}

@media (min-width: 1600px) {
  .tv-header__inner,
  .tv-footer__inner { max-width: 1920px; }

  body[data-page="index"] .tv-home,
  body[data-page="index"] .tv-quick,
  body[data-page="index"] .tv-feed__grid { max-width: 1920px; }

  body[data-page="index"] .tv-home {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(5rem, 8vw, 9rem);
    min-height: min(50rem, 78vh);
    padding-top: 9rem;
  }

  body[data-page="index"] .tv-home__copy { max-width: 58rem; }
  body[data-page="index"] .tv-home__title { max-width: 12ch; font-size: clamp(5.4rem, 6vw, 7.5rem); }
  body[data-page="index"] .tv-home__stage { max-width: 46rem; }
  body[data-page="index"] .tv-showcase { width: clamp(24rem, 23vw, 30rem); }
  body[data-page="index"] .tv-feed__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.3rem; }

  body[data-page="browse"] .tv-find {
    max-width: 1760px;
    padding-inline: clamp(3rem, 5vw, 6rem);
  }

  body[data-page="browse"] .tv-find__workspace {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 3.5rem);
  }

  body[data-page="browse"] .tv-find__results { max-width: 112rem; }

  body[data-page="genres"] .genre-page {
    max-width: 1760px;
    padding-inline: clamp(3rem, 5vw, 6rem);
  }

  body[data-page="genres"] .genre-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }

  body[data-page="genres"] .genre-card { min-height: 17rem; }
  body[data-page="genres"] .genre-card--featured { min-height: 35rem; }

  body[data-page="watch"] .tv-cinema__stage,
  body[data-page="watch"] .tv-cinema__body { max-width: 1920px; }

  body[data-page="watch"] .tv-cinema__body {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 28rem);
    gap: clamp(3rem, 4vw, 5rem);
    padding-top: 3rem;
  }

  body[data-page="profile"] .tv-account--profile { max-width: 1640px; }
  body[data-page="profile"] .profile-layout { grid-template-columns: minmax(15rem, 17rem) minmax(0, 1fr); }

  body[data-page="login"] .tv-auth__card,
  body[data-page="register"] .tv-auth__card,
  body[data-page="forgot-password"] .tv-auth__card,
  body[data-page="reset-password"] .tv-auth__card { width: min(100%, 29rem); }

  body[data-page="support"] .tv-support {
    max-width: 1500px;
    padding-inline: clamp(3rem, 5vw, 6rem);
  }

  body[data-page="support"] .tv-support__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(24rem, .8fr);
    gap: 2.2rem;
  }

  body[data-page="legal"] .tv-legal {
    max-width: 1500px;
    padding-inline: clamp(3rem, 5vw, 6rem);
  }

  body[data-page="legal"] .tv-legal__layout {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: clamp(3rem, 4vw, 4.5rem);
  }

  body[data-page="legal"] .tv-legal__body { max-width: 64rem; padding: 3rem; }
}

@media (min-width: 2000px) {
  body[data-page="index"] .tv-feed__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body[data-page="genres"] .genre-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .tv-empty-state::after { animation: none; }
}

.my-list-page {
  max-width: 1720px;
  margin: 0 auto;
  padding: 6.8rem var(--gutter) 3.5rem;
}

.my-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid var(--line-soft);
}

.my-list-kicker {
  display: flex;
  align-items: center;
  gap: .42rem;
  color: var(--brand);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
}

.my-list-kicker svg { width: .85rem; height: .85rem; }

.my-list-header__copy h1 {
  margin-top: .65rem;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .95;
}

.my-list-header__copy > p:last-child {
  max-width: 29rem;
  margin-top: .65rem;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.55;
}

.my-list-summary {
  display: grid;
  grid-template-columns: minmax(6rem, 1fr) 1px minmax(8rem, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 20rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
}

.my-list-summary__item { display: grid; gap: .18rem; }
.my-list-summary__item > span { color: var(--muted); font-size: .62rem; font-weight: 650; }
.my-list-summary__item strong { color: var(--ink); font-size: 1.18rem; font-weight: 780; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.my-list-summary__divider { width: 1px; height: 2rem; background: var(--line-soft); }

.my-list-collection { margin-top: 2rem; }

.my-list-collection__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.my-list-collection__head h2 {
  margin-top: .32rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.my-list-browse {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line-soft));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, var(--panel));
  color: var(--ink);
  font-size: .7rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.my-list-browse svg { width: .88rem; height: .88rem; color: var(--brand); }
.my-list-browse:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 17%, var(--panel)); transform: translateY(-1px); }

.my-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .7rem;
}

.my-list-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}

.my-list-card__link {
  display: grid;
  grid-template-columns: minmax(6rem, 38%) minmax(0, 1fr);
  min-width: 0;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}

.my-list-card__thumb {
  position: relative;
  display: block;
  min-height: 7.1rem;
  overflow: hidden;
  background: var(--panel-raised);
}

.my-list-card__thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, rgba(0,0,0,.22)), linear-gradient(0deg, rgba(0,0,0,.48), transparent 48%);
  content: "";
  pointer-events: none;
}

.my-list-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.my-list-card__thumb em { position: absolute; z-index: 1; bottom: .55rem; left: .55rem; padding: .24rem .42rem; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: rgba(0,0,0,.58); color: #fff; font-size: .57rem; font-style: normal; font-weight: 650; font-variant-numeric: tabular-nums; }
.my-list-card__play { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(5,14,14,.55); color: #fff; opacity: 0; transform: translate(-50%, -45%) scale(.9); transition: opacity .2s ease, transform .2s ease; }
.my-list-card__play svg { width: .9rem; height: .9rem; fill: currentColor; }

.my-list-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 2.85rem .75rem .85rem;
}

.my-list-card__meta { display: flex; min-width: 0; align-items: center; gap: .38rem; overflow: hidden; color: var(--muted); font-size: .57rem; font-weight: 620; white-space: nowrap; }
.my-list-card__meta > span { overflow: hidden; text-overflow: ellipsis; }
.my-list-card__meta > i { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: currentColor; opacity: .68; }
.my-list-card__content > strong { display: -webkit-box; width: 100%; overflow: hidden; color: var(--ink); font-size: .84rem; font-weight: 720; letter-spacing: -.025em; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.my-list-card__watch { display: inline-flex; align-items: center; gap: .25rem; margin-top: auto; color: var(--brand); font-size: .59rem; font-weight: 740; }
.my-list-card__watch svg { width: .72rem; height: .72rem; }
.my-list-card__remove { top: .45rem; right: .45rem; width: 1.8rem; height: 1.8rem; border-color: rgba(255,255,255,.18); background: rgba(8,13,14,.65); }
.my-list-card__remove svg { width: .83rem; height: .83rem; }

.my-list-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.15rem;
  min-height: 9rem;
  padding: 1.35rem;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
}

.my-list-empty__icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line-soft));
  border-radius: 15px;
  background: color-mix(in srgb, var(--brand) 10%, var(--panel));
  color: var(--brand);
}

.my-list-empty__icon svg { width: 1.25rem; height: 1.25rem; }
.my-list-empty__copy { min-width: 0; }
.my-list-empty__eyebrow { color: var(--muted); font-size: .53rem; font-weight: 800; letter-spacing: .15em; }
.my-list-empty__copy h3 { margin-top: .28rem; color: var(--ink); font-size: 1.05rem; font-weight: 740; letter-spacing: -.04em; }
.my-list-empty__copy p { margin-top: .3rem; color: var(--muted); font-size: .74rem; line-height: 1.5; }

@media (min-width: 768px) {
  .my-list-page { max-width: 1480px; padding: 7.5rem clamp(2rem, 4.5vw, 4.5rem) 4rem; }
  .my-list-header { gap: 2.5rem; padding-bottom: 1.9rem; }
  .my-list-summary { min-width: 22rem; padding: 1rem 1.25rem; }
  .my-list-collection { margin-top: 2.2rem; }
  .my-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .my-list-card__thumb { min-height: 7.8rem; }
  .my-list-card__content { padding: .95rem 2.9rem .9rem 1rem; }
  .my-list-card__content > strong { font-size: .9rem; }
}

@media (min-width: 1024px) {
  .my-list-page { max-width: 1580px; padding-top: 8rem; }
  .my-list-header__copy > p:last-child { font-size: .88rem; }
  .my-list-grid { gap: 1rem; }
  .my-list-card__link { grid-template-columns: minmax(7rem, 39%) minmax(0, 1fr); }
  .my-list-card__thumb { min-height: 8.2rem; }
  .my-list-card__content { gap: .55rem; }
}

@media (min-width: 1280px) {
  .my-list-page { max-width: 1720px; padding-inline: clamp(3rem, 5vw, 5.5rem); }
  .my-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .my-list-card__link { grid-template-columns: minmax(7rem, 37%) minmax(0, 1fr); }
  .my-list-card__content { padding-right: 2.8rem; }
}

@media (min-width: 1600px) {
  .my-list-page { max-width: 1820px; padding-top: 8.5rem; }
  .my-list-collection { margin-top: 2.5rem; }
  .my-list-grid { gap: 1.1rem; }
  .my-list-card { border-radius: 19px; }
  .my-list-card__link { grid-template-columns: minmax(8rem, 38%) minmax(0, 1fr); }
  .my-list-card__thumb { min-height: 9rem; }
  .my-list-card__content { padding: 1rem 3rem 1rem 1.1rem; }
  .my-list-card__content > strong { font-size: .96rem; }
}

@media (min-width: 2000px) {
  .my-list-page { max-width: 1940px; }
  .my-list-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
  .my-list-card__thumb { min-height: 8.7rem; }
}

@media (max-width: 767px) {
  .my-list-page { padding: 6.4rem 1.1rem 2.4rem; }
  .my-list-header { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-bottom: 1.2rem; }
  .my-list-header__copy h1 { margin-top: .55rem; font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .my-list-header__copy > p:last-child { max-width: 22rem; margin-top: .5rem; font-size: .75rem; }
  .my-list-summary { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: .8rem; min-width: 0; padding: .72rem .85rem; border-radius: 14px; }
  .my-list-summary__item > span { font-size: .58rem; }
  .my-list-summary__item strong { font-size: 1.03rem; }
  .my-list-summary__divider { height: 1.7rem; }
  .my-list-collection { margin-top: 1.45rem; }
  .my-list-collection__head { align-items: center; margin-bottom: .75rem; }
  .my-list-kicker { font-size: .52rem; }
  .my-list-collection__head h2 { margin-top: .24rem; font-size: 1.2rem; }
  .my-list-browse { min-height: 2.3rem; gap: .32rem; padding: .45rem .66rem; font-size: .62rem; }
  .my-list-browse svg { width: .75rem; height: .75rem; }
  .my-list-grid { gap: .58rem; }
  .my-list-card { border-radius: 14px; }
  .my-list-card__link { grid-template-columns: minmax(5.7rem, 36%) minmax(0, 1fr); }
  .my-list-card__thumb { min-height: 6.2rem; }
  .my-list-card__thumb em { bottom: .38rem; left: .38rem; padding: .19rem .32rem; font-size: .51rem; }
  .my-list-card__play { width: 1.9rem; height: 1.9rem; opacity: 1; transform: translate(-50%, -50%); }
  .my-list-card__play svg { width: .72rem; height: .72rem; }
  .my-list-card__content { gap: .32rem; padding: .62rem 2.3rem .58rem .62rem; }
  .my-list-card__meta { gap: .25rem; font-size: .49rem; }
  .my-list-card__content > strong { font-size: .72rem; line-height: 1.22; }
  .my-list-card__watch { font-size: .51rem; }
  .my-list-card__watch svg { width: .62rem; height: .62rem; }
  .my-list-card__remove { top: .32rem; right: .32rem; width: 1.5rem; height: 1.5rem; }
  .my-list-card__remove svg { width: .72rem; height: .72rem; }
  .my-list-empty { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; min-height: 0; padding: 1rem; border-radius: 17px; }
  .my-list-empty__icon { width: 2.55rem; height: 2.55rem; border-radius: 12px; }
  .my-list-empty__icon svg { width: 1rem; height: 1rem; }
  .my-list-empty__eyebrow { font-size: .47rem; }
  .my-list-empty__copy h3 { font-size: .88rem; }
  .my-list-empty__copy p { font-size: .65rem; }
  .my-list-browse--empty { grid-column: 1 / -1; justify-self: start; margin-top: .1rem; }
}

@media (hover: hover) and (pointer: fine) {
  .my-list-card:hover { border-color: color-mix(in srgb, var(--brand) 48%, var(--line-soft)); background: color-mix(in srgb, var(--panel) 96%, var(--brand)); transform: translateY(-2px); }
  .my-list-card:hover .my-list-card__thumb img { transform: scale(1.045); }
  .my-list-card:hover .my-list-card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .my-list-card,
  .my-list-card__thumb img,
  .my-list-card__play,
  .my-list-browse { transition: none; }
}


/* ---------- Articles ---------- */
.article-page { max-width: 1180px; margin: 0 auto; padding: 6.5rem var(--gutter) 6rem; }
.article-hero { display: grid; gap: 1.1rem; margin-bottom: 2.2rem; }
.article-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.article-eyebrow svg { width: .95rem; height: .95rem; }
.article-hero h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; }
.article-hero h1 span { color: var(--muted); }
.article-search { display: flex; align-items: center; gap: .6rem; max-width: 30rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.article-search svg { width: 1rem; height: 1rem; color: var(--muted); flex: none; }
.article-search input { flex: 1; min-width: 0; height: 3rem; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; }
.article-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.article-chips a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .8rem; font-weight: 600; }
.article-chips a[aria-current] { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.article-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 22px; background: var(--panel); color: var(--ink); transition: transform .35s var(--ease), border-color .25s ease; }
.article-card:hover { transform: translateY(-4px); border-color: var(--line); }
.article-card__media { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-raised); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__media--empty svg { width: 2.2rem; height: 2.2rem; color: var(--muted); }
.article-card__body { display: grid; align-content: start; gap: .55rem; padding: 1.15rem 1.25rem 1.3rem; }
.article-card__tag { justify-self: start; padding: .22rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-card__title { font-size: 1.12rem; line-height: 1.25; letter-spacing: -.02em; }
.article-card__excerpt { color: var(--muted-strong); font-size: .9rem; line-height: 1.55; }
.article-card__meta { color: var(--muted); font-size: .76rem; }
.article-empty { display: grid; justify-items: center; gap: .6rem; padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: 24px; text-align: center; }
.article-empty h2 { margin: 0; font-size: 1.5rem; }
.article-empty p { margin: 0; color: var(--muted); }
.article-more { margin-top: .6rem; padding: .7rem 1.3rem; border-radius: 999px; background: var(--solid); color: var(--on-solid); font-weight: 700; font-size: .85rem; }
.article-pager { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.4rem; color: var(--muted); font-size: .85rem; }
.article-pager a { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; }
.article-pager svg { width: .9rem; height: .9rem; }
.article-single { max-width: 820px; }
.article-single__head { display: grid; gap: 1rem; justify-items: start; margin-bottom: 1.8rem; }
.article-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted-strong); font-size: .82rem; font-weight: 600; }
.article-back svg { width: .9rem; height: .9rem; }
.article-single__head h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.06; letter-spacing: -.04em; }
.article-single__lead { margin: 0; color: var(--muted-strong); font-size: 1.15rem; line-height: 1.55; }
.article-single__meta { margin: 0; color: var(--muted); font-size: .82rem; }
.article-single__cover { margin: 0 0 2.2rem; overflow: hidden; border-radius: 24px; background: var(--panel-raised); }
.article-single__cover img { display: block; width: 100%; max-height: 28rem; object-fit: cover; }
.article-prose { color: var(--ink); font-size: 1.08rem; line-height: 1.8; overflow-wrap: anywhere; }
.article-prose > :first-child { margin-top: 0; }
.article-prose p { margin: 0 0 1.35rem; }
.article-prose h2 { margin: 2.6rem 0 1rem; font-size: 1.7rem; line-height: 1.2; letter-spacing: -.03em; }
.article-prose h3 { margin: 2rem 0 .8rem; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.article-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-prose ul, .article-prose ol { margin: 0 0 1.35rem; padding-left: 1.4rem; }
.article-prose li { margin-bottom: .45rem; }
.article-prose blockquote { margin: 0 0 1.5rem; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--brand); color: var(--muted-strong); font-style: italic; }
.article-prose blockquote p { margin: 0; }
.article-prose hr { margin: 2.4rem 0; border: 0; border-top: 1px solid var(--line); }
.article-prose img { display: block; max-width: 100%; height: auto; margin: 1.6rem auto; border-radius: 16px; }
.article-prose code { padding: .12rem .4rem; border-radius: 6px; background: var(--panel-raised); font-size: .92em; }
.article-single__foot { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.article-preview-note { margin: 0 0 1.4rem; padding: .8rem 1rem; border: 1px solid var(--gold); border-radius: 12px; color: var(--gold); font-size: .85rem; }
.article-related { margin-top: 4rem; }
.article-related h2 { margin: 0 0 1.2rem; font-size: 1.4rem; letter-spacing: -.02em; }
@media (min-width: 720px) {
  .article-page { padding-top: 7.5rem; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .article-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-card--featured { grid-column: span 2; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto; }
  .article-card--featured .article-card__media { aspect-ratio: auto; min-height: 100%; }
  .article-card--featured .article-card__body { align-content: center; padding: 2rem; }
  .article-card--featured .article-card__title { font-size: 1.7rem; }
}
@media (max-width: 719px) { .article-page { padding-bottom: 7.5rem; } }
