:root {
  --page: #0b0c18;
  --page-soft: #101221;
  --line: #24273a;
  --text: #f2f3f7;
  --muted: #aeb2c1;
  --accent: #ef7099;
  --accent-light: #ffa2bf;
  --shell: min(1248px, calc(100% - 64px));
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: var(--page); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; color: #141520; background: #fff; font-size: 12px; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; background: rgb(11 12 24 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-row { display: flex; align-items: center; min-height: 67px; gap: 41px; }
.brand { display: inline-flex; align-items: baseline; flex: 0 0 auto; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 700; letter-spacing: -.1em; line-height: 1; }
.brand b { color: var(--accent); font-weight: inherit; }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin-right: auto; color: #d5d7e0; font-size: 12px; font-weight: 600; }
.desktop-nav > a, .nav-button { color: inherit; background: transparent; font: inherit; }
.desktop-nav > a:hover, .nav-button:hover { color: #fff; }
.nav-cluster, .language-wrap { position: relative; }
.nav-button span, .language-control span { display: inline-block; margin-left: 4px; color: #9599a8; font-size: 13px; transform: translateY(-1px); }
.menu-popover { position: absolute; z-index: 25; top: calc(100% + 14px); left: -12px; display: grid; min-width: 154px; padding: 7px; background: #181a2a; border: 1px solid #34374a; border-radius: 5px; box-shadow: 0 14px 30px rgb(0 0 0 / 25%); }
.menu-popover[hidden] { display: none; }
.menu-popover a, .menu-popover button { padding: 9px 10px; color: #e5e6ec; background: transparent; border-radius: 3px; font-size: 11px; font-weight: 600; text-align: left; }
.menu-popover a:hover, .menu-popover button:hover { color: #171822; background: #f2f3f7; }
.language-menu { right: 0; left: auto; min-width: 110px; }
.header-controls { display: flex; align-items: center; gap: 17px; }
.icon-control, .language-control, .menu-toggle { padding: 0; color: #e6e7ed; background: transparent; }
.icon-control { display: grid; width: 24px; height: 24px; place-items: center; }
.icon-control svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-control { font-size: 11px; font-weight: 700; }
.menu-toggle { display: none; width: 21px; gap: 4px; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: transform var(--ease), opacity var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { display: flex; flex-direction: column; align-items: center; padding: 65px 0 75px; text-align: center; }
.hero-kicker { margin: 0 0 12px; color: #9ca1b2; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin: 0; color: #f7f7f8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 3vw, 42px); font-weight: 500; letter-spacing: -.065em; line-height: 1.05; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 510px; margin: 15px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-search { display: flex; align-items: center; width: min(544px, 100%); min-height: 47px; padding-left: 15px; background: #f6f6f8; border-radius: 5px; }
.hero-search > svg { width: 17px; flex: 0 0 auto; fill: none; stroke: #555968; stroke-width: 1.8; }
.hero-search input { width: 100%; min-width: 0; padding: 12px 10px; color: #222431; background: transparent; border: 0; font-size: 12px; font-weight: 600; }
.hero-search input::placeholder { color: #858998; }
.clear-search { width: 25px; height: 25px; flex: 0 0 auto; padding: 0; color: #646876; background: transparent; font-size: 20px; line-height: 1; }
.search-submit { display: grid; width: 46px; align-self: stretch; flex: 0 0 auto; place-items: center; color: #fff; background: var(--accent); border-radius: 0 5px 5px 0; transition: background var(--ease); }
.search-submit:hover { background: var(--accent-light); }
.search-submit svg, .watch-button svg { width: 18px; fill: currentColor; }
.hero-notes { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: #777c90; font-size: 10px; font-weight: 600; }
.hero-notes i { width: 3px; height: 3px; background: #777c90; border-radius: 50%; }

#content-stream { padding-bottom: 92px; }
.content-section, .search-results { padding-top: 53px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; color: #f4f4f6; font-size: clamp(27px, 2.5vw, 34px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.section-heading span { color: #979cad; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px 20px; }
.video-card { min-width: 0; }
.video-card[hidden] { display: none; }
.still { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; color: #fff; border-radius: 5px; isolation: isolate; text-align: left; }
.still::after { position: absolute; z-index: 2; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 42%), transparent 43%); content: ""; opacity: .55; transition: opacity var(--ease); }
.still:hover::after { opacity: .88; }
.still-cover { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still-shape { position: absolute; z-index: 1; display: block; }
.still-shape-one { width: 48%; height: 120%; background: rgb(255 255 255 / 25%); filter: blur(2px); transform: rotate(35deg) translate(80%, -25%); }
.still-shape-two { right: 12%; bottom: 11%; width: 24%; aspect-ratio: 1; background: rgb(255 246 229 / 79%); border-radius: 50%; box-shadow: 0 0 0 18px rgb(255 255 255 / 8%); }
.still-code { position: absolute; z-index: 3; top: 10px; left: 10px; color: rgb(255 255 255 / 78%); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.still-duration { position: absolute; z-index: 3; right: 9px; bottom: 8px; padding: 3px 5px; color: #fff; background: rgb(0 0 0 / 65%); border-radius: 2px; font-size: 8px; font-weight: 700; }
.still-play { position: absolute; z-index: 4; top: 50%; left: 50%; display: grid; width: 38px; height: 38px; place-items: center; color: #11131f; background: rgb(255 255 255 / 90%); border-radius: 50%; opacity: 0; transform: translate(-50%, -45%) scale(.84); transition: opacity var(--ease), transform var(--ease); }
.still-play svg { width: 17px; fill: currentColor; }
.still:hover .still-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.still--carmine { background: linear-gradient(136deg, #2d1a34 0 34%, #ee745e 34% 55%, #832e53 55%); }
.still--carmine .still-shape-one { background: #ffd96c; }
.still--carmine .still-shape-two { background: #1f1635; }
.still--cobalt { background: linear-gradient(133deg, #121b49 0 35%, #5072e7 35% 67%, #d7b3f7 67%); }
.still--cobalt .still-shape-one { background: #ffddcc; }
.still--cobalt .still-shape-two { background: #dcff64; }
.still--amber { background: linear-gradient(155deg, #eeab56 0 30%, #8d3430 30% 61%, #301a2f 61%); }
.still--amber .still-shape-one { background: #ffedb3; }
.still--amber .still-shape-two { background: #35265e; }
.still--moss { background: linear-gradient(138deg, #17352c 0 36%, #5b8a65 36% 58%, #cad870 58%); }
.still--moss .still-shape-one { background: #13271f; }
.still--moss .still-shape-two { background: #ffe6a9; }
.still--lilac { background: linear-gradient(144deg, #3f2d72 0 26%, #bf9ae4 26% 60%, #59439b 60%); }
.still--lilac .still-shape-one { background: #f1d5a7; }
.still--lilac .still-shape-two { background: #f8fc93; }
.still--marine { background: linear-gradient(151deg, #123c57 0 34%, #3ca3aa 34% 62%, #c9e6da 62%); }
.still--marine .still-shape-one { background: #e6ff8f; }
.still--marine .still-shape-two { background: #342162; }
.still--rose { background: linear-gradient(143deg, #4e204f 0 37%, #d75d8e 37% 65%, #efaecc 65%); }
.still--rose .still-shape-one { background: #f8e7a0; }
.still--rose .still-shape-two { background: #ff725e; }
.still--slate { background: linear-gradient(137deg, #111522 0 30%, #485874 30% 59%, #9ca3b1 59%); }
.still--slate .still-shape-one { background: #e3dfc6; }
.still--slate .still-shape-two { background: #f36f6f; }
.still--citron { background: linear-gradient(148deg, #557044 0 35%, #b7d755 35% 60%, #d9e5a7 60%); }
.still--citron .still-shape-one { background: #315448; }
.still--citron .still-shape-two { background: #ee745f; }
.still--wine { background: linear-gradient(148deg, #35152c 0 38%, #9c264c 38% 64%, #e3746d 64%); }
.still--wine .still-shape-one { background: #f3cca9; }
.still--wine .still-shape-two { background: #392263; }
.still--sky { background: linear-gradient(141deg, #799eab 0 27%, #bcd7de 27% 60%, #e7d7ad 60%); }
.still--sky .still-shape-one { background: #e6575a; }
.still--sky .still-shape-two { background: #f7f2d9; }
.still--pearl { background: linear-gradient(140deg, #9b8c8c 0 33%, #d8cfc1 33% 63%, #7f7272 63%); }
.still--pearl .still-shape-one { background: #f5e6bc; }
.still--pearl .still-shape-two { background: #51647c; }
.card-info { position: relative; padding-top: 10px; }
.card-title { display: block; overflow: hidden; max-width: calc(100% - 31px); color: #edeef2; font-size: 13px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { display: block; padding-top: 5px; overflow: hidden; color: #9398a9; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.card-queue { position: absolute; right: 0; bottom: 0; display: grid; width: 24px; height: 24px; place-items: center; padding: 0; color: #c5c8d2; background: transparent; border: 1px solid #55596b; border-radius: 50%; font-size: 15px; line-height: 1; transition: color var(--ease), border var(--ease), background var(--ease); }
.card-queue:hover, .card-queue.is-queued { color: #251a22; background: var(--accent-light); border-color: var(--accent-light); }
.section-more { display: flex; justify-content: center; padding-top: 28px; }
.load-more { padding: 6px; color: #bbc0ce; background: transparent; font-size: 11px; font-weight: 600; }
.load-more:hover { color: var(--accent-light); }
.load-more span { display: inline-block; margin-left: 4px; font-size: 15px; transform: translateY(1px); }
.load-more[hidden] { display: none; }
.empty-state { padding: 36px 0; margin: 0; color: var(--muted); font-size: 13px; text-align: center; }

/* ---- browse, facets, toolbars, pager, badges (shared catalog UI) ---- */
.browse-page { padding: 30px 0 60px; }
.page-kicker { margin: 0 0 6px; color: var(--accent-light); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-title { margin: 0 0 8px; color: #f2f3f7; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.page-summary { margin: 0 0 22px; color: #9398a9; font-size: 12px; font-weight: 600; }
.hero-summary { margin: 14px 0 0; color: #9398a9; font-size: 11px; font-weight: 600; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 14px; }
.header-search { display: flex; gap: 6px; align-items: center; }
.header-search input { width: 220px; padding: 8px 11px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 6px; font-size: 12px; }
.header-search input:focus { border-color: var(--accent-light); outline: none; }
.header-search button { padding: 8px 12px; color: #b9bdca; background: transparent; border: 1px solid #2c3040; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; }
.header-search button:hover { color: var(--accent-light); border-color: var(--accent-light); }
.section-link { color: #9398a9; font-size: 11px; font-weight: 600; }
.section-link:hover { color: var(--accent-light); }
.section-heading { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; }
.section-sub { color: var(--muted); font-size: 11px; font-weight: 600; }

.facet-block { margin-bottom: 34px; }
.facet-title { margin: 0 0 12px; color: #edeef2; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.facet-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.facet-tile { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding: 9px 12px; background: #14161f; border: 1px solid #232634; border-radius: 6px; }
.facet-tile:hover { border-color: var(--accent-light); }
.facet-name { overflow: hidden; color: #d8dae3; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.facet-count { color: #7d8296; font-size: 10px; font-weight: 700; }
.facet-more { display: inline-block; margin-top: 10px; color: var(--accent-light); font-size: 11px; font-weight: 600; }
.value-search { display: flex; gap: 8px; margin-bottom: 16px; }
.value-search input { flex: 1; max-width: 420px; padding: 9px 12px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 6px; font-size: 12px; }
.value-search button { padding: 9px 14px; color: #0d0f18; background: var(--accent-light); border: 0; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
.value-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.value-row { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #1b1e29; }
.value-name { overflow: hidden; color: #cfd2dd; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.value-row:hover .value-name { color: var(--accent-light); }
.value-count { color: #6f7486; font-size: 10px; font-weight: 700; }

.toolbar { margin: 0 0 18px; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; }
.toolbar-count { margin: 10px 0 0; color: var(--muted); font-size: 11px; font-weight: 600; }
.control { display: flex; flex-direction: column; gap: 6px; }
.control-label { color: #7d8296; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.control-input { padding: 8px 10px; min-width: 180px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 6px; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 11px; color: #b9bdca; background: #14161f; border: 1px solid #2c3040; border-radius: 999px; font-size: 11px; font-weight: 600; cursor: pointer; }
.chip:hover { color: var(--accent-light); border-color: var(--accent-light); }
.chip.is-active { color: #0d0f18; background: var(--accent-light); border-color: var(--accent-light); }
.chip-link { display: inline-flex; gap: 6px; align-items: baseline; text-decoration: none; }
.chip-count { color: #6f7486; font-size: 9px; font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }

.pager { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 26px 0 8px; }
.pager-page { min-width: 30px; padding: 6px 8px; color: #b9bdca; background: #14161f; border: 1px solid #2c3040; border-radius: 5px; font-size: 11px; font-weight: 700; cursor: pointer; }
.pager-page:hover:not(:disabled) { color: var(--accent-light); border-color: var(--accent-light); }
.pager-page.is-current { color: #0d0f18; background: var(--accent-light); border-color: var(--accent-light); }
.pager-page:disabled { opacity: .45; cursor: default; }
.pager-gap { align-self: center; color: #6f7486; font-size: 11px; }
.status-line { margin: 26px 0; color: var(--muted); font-size: 12px; text-align: center; }
.status-line-sub { margin: 6px 0 0; font-size: 11px; }

.card-badges { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 6px; }
.badge { padding: 3px 6px; color: #c3c7d4; background: #1c1f2b; border: 1px solid #2a2e3d; border-radius: 3px; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-views { color: #9aa0b4; background: transparent; border-color: transparent; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 22px; }
.watch-crumbs { margin-bottom: 16px; color: #7d8296; font-size: 11px; font-weight: 600; }
.watch-crumbs a { color: #b9bdca; }
.watch-crumbs a:hover { color: var(--accent-light); }
.watch-related { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.menu-count { color: #6f7486; font-size: 10px; font-weight: 700; }
.menu-popover ul { margin: 0; padding: 0; list-style: none; }
.menu-popover li { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.menu-group { padding: 8px 4px; }
.menu-group h3 { margin: 0 0 6px; color: #7d8296; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.selection-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #1b1e29; }
.chip-removable { gap: 6px; }
.chip-x { color: #6f7486; font-weight: 700; }
.chip-clear { padding: 6px 10px; color: #8e93a6; background: transparent; border: 0; font-size: 11px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.chip-clear:hover { color: var(--accent-light); }
.chip-danger { color: #e08a9a; border-color: #4a2a33; }
.chip-danger:hover { color: #ffb3c1; border-color: #8a4a58; }
.facet-picker { position: relative; display: flex; flex-direction: column; gap: 6px; }
.facet-input { min-width: 200px; padding: 8px 11px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 6px; font-size: 12px; }
.facet-input:focus { border-color: var(--accent-light); outline: none; }
.facet-results { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 260px; max-height: 280px; overflow-y: auto; margin-top: 4px; background: #10121b; border: 1px solid #2c3040; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.facet-option { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; width: 100%; padding: 8px 11px; color: #cfd2dd; background: transparent; border: 0; border-bottom: 1px solid #1b1e29; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
.facet-option:hover { color: var(--accent-light); background: #161926; }

.summary-panel { margin-bottom: 22px; padding: 16px 18px; background: #10121b; border: 1px solid #232634; border-radius: 8px; }
.summary-facts { display: flex; flex-wrap: wrap; gap: 26px; }
.summary-fact { display: flex; flex-direction: column; gap: 3px; }
.summary-fact strong { color: #e7e8ee; font-size: 15px; font-weight: 700; }
.summary-label { color: #7d8296; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.summary-related { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #1b1e29; }
.summary-group { display: flex; flex-direction: column; gap: 7px; }

.card-actions { display: flex; gap: 6px; align-items: center; }
.card-remove { width: 26px; height: 26px; color: #7d8296; background: transparent; border: 1px solid #2c3040; border-radius: 5px; font-size: 13px; font-weight: 700; cursor: pointer; }
.card-remove:hover { color: #ffb3c1; border-color: #8a4a58; }

.playlist-create { display: flex; gap: 8px; margin-bottom: 22px; }
.playlist-create input { flex: 1; max-width: 360px; padding: 10px 12px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 6px; font-size: 12px; }
.playlist-create .primary-action { padding: 10px 16px; }
.playlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.playlist-card { padding: 15px 16px; background: #10121b; border: 1px solid #232634; border-radius: 8px; }
.playlist-link { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.playlist-link strong { color: #edeef2; font-size: 14px; font-weight: 700; }
.playlist-count { color: #7d8296; font-size: 10px; font-weight: 700; }
.playlist-actions { display: flex; gap: 6px; margin-top: 12px; }
.playlist-head { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }

.save-panel { margin-top: 12px; padding: 13px 14px; background: #10121b; border: 1px solid #232634; border-radius: 7px; }
.save-list { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 10px; }
.save-row { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; padding: 7px 10px; color: #cfd2dd; background: #14161f; border: 1px solid #232634; border-radius: 5px; font-size: 12px; font-weight: 600; cursor: pointer; }
.save-row:hover { border-color: var(--accent-light); }
.save-row.is-saved { color: var(--accent-light); border-color: var(--accent-light); }
.save-new { display: flex; gap: 6px; }
.save-new input { flex: 1; padding: 8px 10px; color: #e7e8ee; background: #14161f; border: 1px solid #2c3040; border-radius: 5px; font-size: 12px; }
.save-new button { padding: 8px 12px; color: #0d0f18; background: var(--accent-light); border: 0; border-radius: 5px; font-size: 11px; font-weight: 700; cursor: pointer; }

/* Official embed player: the provider's own iframe fills the player slot. */
.watch-embed { position: absolute; inset: 0; z-index: 3; background: #05060c; }
.watch-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.site-footer { padding: 39px 0 31px; background: #090a14; border-top: 1px solid var(--line); }

/* ---- first-party playback page (/watch/<id>) ---- */
.watch-nav { margin-left: auto; }
.watch-nav a { color: #c5c8d2; font-size: 12px; font-weight: 600; }
.watch-nav a:hover { color: var(--accent-light); }
.watch-page { padding: 34px 0 60px; }
.watch-status { margin: 40px 0; color: var(--muted); font-size: 13px; text-align: center; }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
.watch-player { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; background: #05060c; border: 1px solid var(--line); border-radius: 8px; }
.watch-player video { width: 100%; height: 100%; background: #05060c; }
.watch-placeholder { position: relative; display: grid; overflow: hidden; width: 100%; height: 100%; place-items: center; background: linear-gradient(136deg, #1a1d2c 0 38%, #2b3049 38% 66%, #171a28 66%); background-size: cover; background-position: center; }
.watch-poster { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.watch-placeholder.has-cover::before { position: absolute; z-index: 2; inset: 0; background: rgb(6 7 14 / 74%); content: ""; }
.watch-placeholder p { position: relative; z-index: 3; max-width: 30ch; margin: 0; padding: 0 18px; color: #d6d9e4; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; }
.watch-detail { display: flex; flex-direction: column; gap: 10px; }
.watch-category { margin: 0; color: var(--accent-light); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.watch-title { margin: 0; color: #f2f3f7; font-family: var(--display, inherit); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.14; }
.watch-credit { margin: 0; color: #9398a9; font-size: 12px; font-weight: 600; }
.watch-description { margin: 4px 0 0; color: #b9bdca; font-size: 12px; line-height: 1.65; }
.watch-facts { display: grid; gap: 8px; margin: 10px 0 4px; }
.watch-facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.watch-facts dt { color: #7d8296; font-size: 11px; font-weight: 600; }
.watch-facts dd { margin: 0; color: #cfd2dd; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.watch-facts a { color: var(--accent-light); }
.watch-note { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
@media (max-width: 900px) {
  .watch-layout { grid-template-columns: 1fr; gap: 20px; }
  .watch-title { font-size: 21px; }
}
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: start; gap: 27px; }
.footer-inner .brand { font-size: 19px; }
.footer-inner p { max-width: 330px; margin: 0; color: #8c91a2; font-size: 10px; line-height: 1.55; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; color: #b8bbc7; font-size: 10px; font-weight: 600; }
.footer-links button { padding: 0; color: inherit; background: transparent; font: inherit; }
.footer-links a:hover, .footer-links button:hover { color: var(--accent-light); }
.footer-inner small { grid-column: 1 / -1; padding-top: 18px; color: #626777; border-top: 1px solid #202231; font-size: 9px; }

.work-dialog { width: min(826px, calc(100% - 32px)); padding: 0; color: #f0f0f3; background: #151724; border: 1px solid #34374a; box-shadow: 0 25px 90px rgb(0 0 0 / 45%); }
.work-dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(4px); }
.dialog-layout { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 397px; }
.dialog-art .still { height: 100%; aspect-ratio: auto; border-radius: 0; }
.dialog-content { position: relative; display: flex; flex-direction: column; justify-content: end; padding: 39px; }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 31px; height: 31px; padding: 0; color: #d7d9e0; background: transparent; border: 1px solid #55596a; border-radius: 50%; font-size: 22px; line-height: 1; }
.dialog-close:hover { color: #151724; background: #fff; }
.dialog-content > p:first-of-type { margin: 0 0 12px; color: var(--accent-light); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dialog-content h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 47px); font-weight: 500; letter-spacing: -.07em; line-height: .96; }
.dialog-content > span { display: block; padding-top: 12px; color: #a7acbb; font-size: 11px; }
.dialog-content #dialog-description { margin: 23px 0 27px; color: #c6c9d3; font-size: 12px; line-height: 1.6; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.watch-button, .queue-button, .report-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; font-size: 10px; font-weight: 700; }
.watch-button { color: #fff; background: var(--accent); }
.watch-button:hover { background: var(--accent-light); }
.queue-button { color: #e0e1e7; background: transparent; border: 1px solid #595d6f; }
.queue-button:hover, .queue-button.is-queued { color: #1b1721; background: #fff; border-color: #fff; }
.report-toggle { color: #b9bdca; background: transparent; text-decoration: underline; text-decoration-color: #6d7180; text-underline-offset: 3px; }
.report-toggle:hover { color: #fff; }
.preview-message { margin: 14px 0 0 !important; color: #ffb4c8 !important; font-size: 11px !important; }
.report-form { display: grid; gap: 7px; padding: 16px; margin-top: 17px; background: #1e2030; border: 1px solid #383b4d; }
.report-form[hidden] { display: none; }
.report-form label { color: #bfc2ce; font-size: 10px; font-weight: 700; }
.report-form select, .report-form textarea { width: 100%; color: #eceef4; background: #121420; border: 1px solid #494d60; border-radius: 2px; font: inherit; font-size: 11px; }
.report-form select { min-height: 32px; padding: 0 8px; }
.report-form textarea { padding: 8px; resize: vertical; }
.report-form > div { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }

.toast { position: fixed; z-index: 100; right: 21px; bottom: 21px; max-width: min(380px, calc(100vw - 42px)); padding: 12px 15px; color: #f4f4f6; background: #24263a; border-left: 3px solid var(--accent); box-shadow: 0 12px 28px rgb(0 0 0 / 28%); font-size: 12px; font-weight: 600; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--ease), transform var(--ease); }
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .header-row { min-height: 57px; gap: 20px; }
  .brand { font-size: 21px; }
  .desktop-nav { display: none; }
  .header-controls { gap: 15px; margin-left: auto; }
  .menu-toggle { display: grid; }
  .mobile-menu { position: absolute; top: 100%; right: 0; left: 0; display: block; background: #121422; border-bottom: 1px solid #2e3143; box-shadow: 0 15px 25px rgb(0 0 0 / 28%); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-inner { display: grid; padding: 8px 0 15px; }
  .mobile-menu a { padding: 11px 0; color: #d8dbe3; border-bottom: 1px solid rgb(255 255 255 / 6%); font-size: 12px; font-weight: 600; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .language-menu { top: calc(100% + 17px); }
  .hero { padding: 43px 0 47px; }
  .hero-kicker { margin-bottom: 10px; font-size: 9px; }
  .hero h1 { font-size: 29px; }
  .hero-copy { max-width: 325px; margin: 13px 0 22px; font-size: 12px; }
  .hero-search { min-height: 50px; padding-left: 14px; }
  .hero-notes { margin-top: 13px; font-size: 9px; }
  #content-stream { padding-bottom: 64px; }
  .content-section, .search-results { padding-top: 42px; }
  .section-heading { margin-bottom: 21px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading span { font-size: 9px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 20px; }
  .still-play { width: 34px; height: 34px; opacity: 1; transform: translate(-50%, -50%); }
  .card-title { font-size: 12px; }
  .card-meta { font-size: 9px; }
  .section-more { padding-top: 24px; }
  .site-footer { padding: 31px 0 23px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { justify-content: flex-start; }
  .footer-inner small { padding-top: 14px; }
  .work-dialog { width: min(100% - 20px, 550px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-art { min-height: 230px; }
  .dialog-content { padding: 28px 24px 27px; }
  .dialog-content #dialog-description { margin: 17px 0 21px; }
}

@media (max-width: 370px) {
  .header-controls { gap: 11px; }
  .language-control { font-size: 10px; }
  .video-grid { column-gap: 14px; }
  .hero-notes i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
