:root {
  --bg: #ffffff; --warm: #fff7f0; --s1: #f5f4f1; --s2: #ebe9e4; --line: #e6e3dd;
  --ink: #16181d; --mut: #5d6470; --org: #ec690c; --org-d: #c9570a; --org-l: #fde8d6;
  --r: 18px; --pad: clamp(16px, 4vw, 56px); --nav-h: 72px;
  --head: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; } button { font: inherit; color: inherit; } img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); }
:focus-visible { outline: 3px solid var(--org); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid transparent; border-radius: 999px; padding: 13px 24px; font: 700 1rem var(--head); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-o { background: var(--org); color: #fff; box-shadow: 0 10px 26px -12px rgba(236,105,12,.8); }
.btn-o:hover { background: var(--org-d); transform: translateY(-1px); }
.btn-l { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-l:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 18px; font: 700 .92rem var(--head); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--org); color: var(--org-d); }
.chip[aria-pressed="true"] { background: var(--org); border-color: var(--org); color: #fff; }
.chip small { opacity: .75; font-weight: 600; margin-left: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(20,20,20,.7); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s; }
.icon-btn:hover { background: rgba(236,105,12,.95); }
.icon-btn svg { width: 20px; height: 20px; fill: #fff; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn.arrow { background: var(--s1); width: 38px; height: 38px; } .icon-btn.arrow svg { fill: var(--ink); }
.icon-btn.arrow:hover { background: var(--org); } .icon-btn.arrow:hover svg { fill: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand .tv { background: var(--org); color: #fff; font: 800 .78rem var(--head); letter-spacing: .08em; padding: 5px 9px; border-radius: 7px; }
.links { display: flex; gap: 4px; margin-left: 6px; }
.links a { text-decoration: none; color: var(--mut); font: 700 .98rem var(--head); padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.links a:hover, .links a:focus-visible { color: var(--ink); background: var(--s1); }
.links a.site { color: var(--org-d); }
.search { margin-left: auto; position: relative; }
.search input { width: min(260px, 38vw); background: var(--s1); border: 1.5px solid transparent; color: var(--ink); border-radius: 999px; padding: 10px 18px 10px 42px; font: inherit; font-weight: 500; transition: background .2s, border-color .2s; }
.search input:focus { outline: none; background: #fff; border-color: var(--org); }
.search input::placeholder { color: var(--mut); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mut); }

/* hero */
.hero { background: linear-gradient(180deg, var(--warm) 0%, #fff 100%); padding: clamp(22px, 4vw, 54px) var(--pad) clamp(24px, 4vw, 48px); }
.hero-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.badge-live { display: inline-flex; align-items: center; gap: 9px; background: var(--org); color: #fff; font: 800 .78rem var(--head); letter-spacing: .1em; padding: 6px 13px; border-radius: 999px; }
.badge-live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.8); } }
.hero h1 { margin: 16px 0 14px; font-weight: 900; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 span { color: var(--org); }
.hero p { margin: 0 0 26px; color: var(--mut); font-size: clamp(1.02rem, 1.3vw, 1.2rem); max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.now { margin-top: 22px; color: var(--mut); font-size: .95rem; }
.now b { color: var(--ink); }
.hero-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #111 url("/og-image.png") center / cover no-repeat; box-shadow: 0 30px 60px -28px rgba(80,40,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
.hero-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; transition: opacity .5s; }
.hero-stage.started video { opacity: 1; }
.stage-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0,0,0,.28), rgba(0,0,0,0)); border: 0; cursor: pointer; transition: opacity .3s; }
.stage-play span { width: 88px; height: 88px; border-radius: 50%; background: var(--org); display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(236,105,12,.9); transition: transform .2s; }
.stage-play:hover span { transform: scale(1.07); }
.stage-play svg { width: 36px; height: 36px; fill: #fff; margin-left: 5px; }
.hero-stage.started .stage-play { opacity: 0; pointer-events: none; }
.hero-ctrl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 10px; opacity: 0; transition: opacity .25s; }
.hero-stage.started:hover .hero-ctrl, .hero-ctrl:focus-within { opacity: 1; }
@media (hover: none) { .hero-stage.started .hero-ctrl { opacity: 1; } }
.live-status { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(20,20,20,.88); color: #fff; padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.live-status[hidden] { display: none; }
.live-status button { margin-left: 12px; background: var(--org); color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; font-weight: 800; cursor: pointer; }

/* on demand */
#ondemand { scroll-margin-top: var(--nav-h); padding-top: clamp(26px, 4vw, 48px); }
.od-head { padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 22px; }
.od-head h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 900; letter-spacing: -.03em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.row { margin: 0 0 clamp(28px, 4vw, 46px); }
.row-head { display: flex; align-items: center; gap: 12px; padding: 0 var(--pad); margin-bottom: 14px; }
.row-head h3 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.row-head .count { color: var(--mut); font-weight: 600; font-size: .9rem; }
.row-head .nav-btns { margin-left: auto; display: flex; gap: 8px; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); padding: 6px var(--pad) 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { display: block; flex: 0 0 clamp(250px, 24vw, 340px); scroll-snap-align: start; text-decoration: none; transition: transform .22s ease; }
.tile:hover, .tile:focus-visible { transform: translateY(-4px); }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: var(--s2); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover .thumb img, .tile:focus-visible .thumb img { transform: scale(1.05); }
.tile .play { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--org); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s; }
.tile .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.tile:hover .play, .tile:focus-visible .play { opacity: 1; transform: none; }
.dur { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.78); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.meta { display: block; padding: 11px 2px 0; }
.meta strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 1.02rem/1.25 var(--head); letter-spacing: -.01em; }
.tile:hover .meta strong { color: var(--org-d); }
.meta small { display: block; margin-top: 4px; color: var(--mut); font-weight: 500; font-size: .84rem; }
.results { padding: 0 var(--pad); } .results[hidden] { display: none; }
.results h3 { font-size: 1.5rem; font-weight: 800; margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px 18px; margin: 0; padding: 0; list-style: none; }
.grid .tile { width: 100%; }

footer { margin-top: 24px; padding: 34px var(--pad) 46px; background: var(--s1); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; color: var(--mut); font-weight: 500; }
footer img { height: 44px; width: auto; }
footer a { color: var(--org-d); font-weight: 700; }

/* watch page */
.watch { padding: 26px var(--pad) 10px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; max-width: 1560px; margin: 0 auto; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(80,40,0,.5); }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.player .big { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.25); border: 0; cursor: pointer; }
.player .big[hidden] { display: none; }
.player .big span { width: 84px; height: 84px; border-radius: 50%; background: var(--org); display: grid; place-items: center; }
.player .big svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); text-decoration: none; font: 700 .95rem var(--head); margin: 0 0 14px; }
.back:hover { color: var(--org-d); } .back svg { width: 18px; height: 18px; fill: currentColor; }
.info h1 { margin: 20px 0 10px; font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--mut); font-weight: 600; }
.pillbox { background: var(--org-l); color: var(--org-d); padding: 5px 12px; border-radius: 999px; font: 700 .84rem var(--head); text-decoration: none; }
.desc { margin: 18px 0 0; color: #3a3f48; font-size: 1.05rem; max-width: 70ch; white-space: pre-line; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tools .copied { background: var(--org); color: #fff; border-color: var(--org); }
.side h2 { margin: 6px 0 14px; font-size: 1.15rem; font-weight: 800; }
.up { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.up a { display: grid; grid-template-columns: 150px 1fr; gap: 12px; text-decoration: none; border-radius: 12px; padding: 6px; margin: -6px; transition: background .2s; }
.up a:hover, .up a:focus-visible { background: var(--warm); }
.up .th { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--s2); }
.up .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up .th span { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.78); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.up strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 .95rem/1.28 var(--head); }
.up small { color: var(--mut); font-weight: 500; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { order: -1; } .watch { grid-template-columns: 1fr; } .up a { grid-template-columns: 168px 1fr; } }
@media (max-width: 800px) {
  :root { --nav-h: 62px; }
  .links { display: none; }
  .brand img { height: 34px; }
  .search input { width: 42vw; }
  .row-head .nav-btns { display: none; }
  .tile { flex-basis: 76vw; }
  .player, .hero-stage { border-radius: 14px; }
  .stage-play span { width: 72px; height: 72px; }
  .btn { padding: 12px 22px; }
}
