:root {
  --ink: #111214;
  --muted: #6b6c73;
  --line: #e7e7eb;
  --soft: #f2f2f4;
  --bg: #ffffff;
  --blue: #2f6fed;
  --red: #c92a2a;
  --pad: clamp(16px, 4vw, 64px);
  --radius: 12px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.icon { flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.grow { flex: 1; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ---- Buttons and inputs ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .15s, opacity .15s; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2b30; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: #e8e8ec; }
.btn-ghost { background: transparent; padding: 0 10px; color: var(--muted); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger-soft { background: #fff1f1; color: var(--red); }
.btn-light { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }

input[type=text], input[type=password], input[type=url], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d5d5db; border-radius: 10px; background: #fff;
}
textarea { resize: vertical; }
input[type=file] { width: 100%; padding: 10px; border: 1px dashed #c9c9d1; border-radius: 10px; background: #fafafb; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form { display: grid; gap: 14px; }
.form-narrow { max-width: 420px; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 600; font-size: 14px; }
.field-hint { color: var(--muted); font-size: 13px; }
.form-error { color: var(--red); font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }

/* ---- Shell: top bar, phone tab bar ---- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: clamp(20px, 4vw, 64px); height: 72px; padding: 0 var(--pad); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); }
.brand { font-size: 24px; letter-spacing: -.01em; white-space: nowrap; }
.brand b { font-weight: 800; }
.topnav { display: flex; gap: clamp(18px, 3vw, 44px); flex: 1; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { position: relative; padding: 24px 2px; color: #2b2c31; white-space: nowrap; }
.topnav a.on { font-weight: 700; color: var(--ink); }
.topnav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 6px; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; flex: none; }
.avatar-xl { width: 96px; height: 96px; font-size: 38px; border-radius: 22px; }
.avatar-add { background: var(--soft); color: var(--ink); }
.tabbar { display: none; }
.view { min-height: calc(100vh - 72px); padding-bottom: 48px; }

/* ---- Hero ---- */
.hero { position: relative; height: clamp(380px, 44vw, 660px); overflow: hidden; background: #fff; }
.hero-img { position: absolute; top: 0; right: 0; width: 74%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 27%, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, 0) 66%), linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 24%); }
.hero-noimg .hero-fade { background: linear-gradient(120deg, #fff 30%, #eef0f4 100%); }
.hero-text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; height: 100%; max-width: min(560px, 52vw); padding: 0 0 24px var(--pad); }
.eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #2b2c31; }
.eyebrow b { font-weight: 800; letter-spacing: .04em; margin-right: .5em; }
.spaced-title { font-weight: 300; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.12; letter-spacing: .3em; text-transform: uppercase; overflow-wrap: anywhere; }
.spaced-sub { font-size: 13px; letter-spacing: .55em; text-transform: uppercase; color: #2b2c31; }
.hero-desc { font-size: clamp(15px, 1.25vw, 18px); max-width: 30em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; gap: 10px; margin-top: 8px; }
.age-badge { position: absolute; right: var(--pad); bottom: 40px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .8); font-weight: 700; font-size: 15px; }
.dots { position: absolute; left: 50%; bottom: 18px; display: flex; gap: 8px; transform: translateX(-50%); }
.dots button { width: 26px; height: 16px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dots button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: #cfcfd6; }
.dots button.on::before { background: var(--ink); }

/* ---- Rows of cards ---- */
.rows { display: grid; gap: 30px; padding-top: 10px; }
.row-head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-bottom: 8px; padding-right: calc(var(--pad) - 8px); }
.row-arrows { display: flex; gap: 2px; }
.row-arrows .icon-btn { width: 36px; height: 36px; }
@media (pointer: coarse) { .row-arrows { display: none; } }
.row-title { padding: 0 var(--pad); font-size: 19px; font-weight: 700; }
.row-title a { display: inline-flex; align-items: center; gap: 6px; }
.row-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; padding: 2px var(--pad) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.row-track::-webkit-scrollbar { display: none; }
.card, .gcard-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #1b1c21; scroll-snap-align: start; }
.card { aspect-ratio: 16 / 10; }
.poster { position: absolute; inset: 0; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.poster-empty { background: linear-gradient(135deg, #34363f, #17181c); }
.card::after, .gcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .68) 0, rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.card:hover .poster img, .gcard:hover .poster img { transform: scale(1.04); }
.card-name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { position: absolute; z-index: 1; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 20px); padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ccard { display: grid; gap: 3px; scroll-snap-align: start; }
.ccard-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #1b1c21; margin-bottom: 6px; }
.play-ring { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; color: #fff; background: rgba(0, 0, 0, .28); padding-left: 2px; }
.bar { display: block; height: 3px; border-radius: 2px; background: #e3e3e8; overflow: hidden; margin-top: 4px; }
.bar > span { display: block; height: 100%; background: var(--ink); border-radius: 2px; }
.bar-lg { height: 6px; border-radius: 3px; }

/* ---- Pages, chips, grids ---- */
.page { padding: 20px var(--pad) 0; }
.page.narrow { max-width: 860px; margin: 0 auto; }
.page-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--soft); font-weight: 500; white-space: nowrap; cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px 18px; }
.gcard { display: grid; gap: 8px; }
.gcard-img { aspect-ratio: 16 / 10; }
.gcard .card-name { font-size: 15px; }
.gcard > .small { padding-left: 4px; }
.search-box { display: flex; align-items: center; gap: 10px; max-width: 620px; margin-bottom: 22px; padding: 0 14px; border-radius: 12px; background: var(--soft); }
.search-input { border: 0 !important; background: transparent !important; min-height: 50px; outline: none !important; }
.empty { display: grid; gap: 14px; justify-items: start; padding: 8vh var(--pad); max-width: 720px; }
.page .empty { padding: 4vh 0; }
.empty h1 { font-size: clamp(26px, 3vw, 38px); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.center-page { display: grid; gap: 14px; place-content: center; justify-items: center; min-height: 60vh; padding: 24px; text-align: center; }
.loading { display: flex; align-items: center; gap: 10px; padding: 12vh var(--pad); color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid #d9d9df; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Title page ---- */
.title-hero { position: relative; height: clamp(230px, 40vw, 520px); overflow: hidden; background: #eef0f4; }
.title-hero .hero-img { width: 100%; }
.title-hero .hero-fade { background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 46%); }
.back-btn { position: absolute; top: 14px; left: calc(var(--pad) - 6px); background: rgba(255, 255, 255, .9); }
.title-body { position: relative; display: grid; gap: 14px; max-width: 900px; margin: -56px auto 0; padding: 0 20px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #2b2c31; }
.meta-box { padding: 1px 9px; border: 1.5px solid #c8c8cf; border-radius: 7px; font-weight: 600; font-size: 14px; }
.meta-dot::before { content: "·"; margin-right: 10px; }
.title-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.title-desc { font-size: 17px; max-width: 46em; white-space: pre-line; }
.source-note { display: flex; align-items: center; gap: 6px; }
.form > .btn:not(.btn-block) { justify-self: start; }
.tabs { display: flex; gap: 28px; margin-top: 8px; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: 12px 2px; border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: var(--ink); }
.tab-body { padding: 8px 0 24px; }
.season-pick { width: auto; min-width: 150px; font-weight: 700; border: 0; padding-left: 0; background: transparent; }
.season-one { font-weight: 700; padding: 10px 0; }
.eps { display: grid; gap: 6px; }
.ep { display: flex; gap: 16px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 12px; }
.ep:hover { background: var(--soft); }
.ep-img { position: relative; flex: none; width: 150px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #1b1c21; }
.ep-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-img .play-ring { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 34px; height: 34px; }
.ep-img .bar { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 0; background: rgba(255, 255, 255, .35); }
.ep-img .bar > span { background: #fff; }
.ep-text { display: grid; gap: 2px; min-width: 0; }
.ep-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 6px 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }

/* ---- Player ---- */
.player { position: fixed; inset: 0; z-index: 50; background: #000; color: #fff; }
.player-video { width: 100%; height: 100%; background: #000; }
.player-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px 36px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); transition: opacity .25s; pointer-events: none; }
.player-top > * { pointer-events: auto; }
.player-idle .player-top { opacity: 0; }
.player-idle { cursor: none; }
.player-back { color: #fff; }
.player-back:hover { background: rgba(255, 255, 255, .16); }
.player-title { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.player-title span { font-size: 14px; opacity: .8; }
.player-title strong, .player-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-quality { width: auto; min-height: 38px; padding: 6px 10px; border-color: rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .5); color: #fff; }
.player-quality option { color: #111; }
.player-message { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; padding: 12px 18px; border-radius: 12px; background: rgba(0, 0, 0, .72); text-align: center; pointer-events: none; }
.player-next { position: absolute; right: 20px; bottom: 90px; display: grid; gap: 4px; max-width: min(340px, calc(100% - 40px)); padding: 16px; border-radius: 14px; background: rgba(20, 20, 24, .92); }
.player-next .muted { color: #b9b9c2; }
.player-next-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ---- Sign-in, setup, profiles ---- */
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: #f6f6f8; }
.auth-card { display: grid; gap: 16px; width: 100%; max-width: 400px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 10px 40px rgba(17, 18, 20, .08); }
.auth-card h1 { font-size: 26px; }
.auth-brand { font-size: 26px; }
.profiles-page { display: grid; gap: 26px; justify-items: center; text-align: center; }
.profiles-page h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 600; }
.profile-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.profile-tile { display: grid; gap: 10px; justify-items: center; padding: 10px; border: 0; border-radius: 16px; background: none; cursor: pointer; }
.profile-tile:hover .avatar { transform: scale(1.05); }
.profile-tile .avatar { transition: transform .15s; }
.profile-name { font-weight: 600; }

/* ---- Manage and Me ---- */
.panel { display: grid; gap: 14px; align-content: start; min-width: 0; margin-bottom: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.panel h2 { font-size: 19px; }
.panel > .btn { justify-self: start; }
.panel-actions { display: flex; gap: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.manage-cta { margin: 16px 0 22px; }
.narrow > .muted { margin-bottom: 4px; }
.list { display: grid; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.list-main strong { overflow-wrap: anywhere; }
.list-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.list-actions select { width: auto; }
.pill { padding: 3px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill-done, .pill-added { background: #e6f6ea; color: #1d6b32; }
.pill-failed, .pill-declined { background: #fdecec; color: var(--red); }
.pill-running { background: #e7efff; color: #1f4fbf; }
.drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 90px; padding: 16px; border: 2px dashed #c9c9d1; border-radius: 12px; color: var(--muted); text-align: center; }
.drop-on { border-color: var(--ink); background: var(--soft); color: var(--ink); }
.upload-list .list-row { padding: 8px 0; }
@media (pointer: coarse) { .drop { display: none; } }
.browse-list {display: grid; max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.browse-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; }
.browse-item:hover { background: var(--soft); }
.browse-list p { padding: 10px; }

/* ---- Modal and toast ---- */
.modal { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 20px 70px rgba(0, 0, 0, .3); color: var(--ink); }
.modal-wide { width: min(640px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(17, 18, 20, .5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 4px 22px; }
.modal-head h2 { font-size: 20px; }
.modal-body { padding: 10px 22px 22px; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast-show { opacity: 1; transform: translate(-50%, 0); }
.toast-bad { background: var(--red); }

/* ---- Big screens (TV browser) ---- */
@media (min-width: 1700px) {
  body { font-size: 18px; }
  .topbar { height: 88px; }
  .brand { font-size: 30px; }
  .topnav a { padding: 30px 2px; }
  .topnav a.on::after { bottom: 18px; }
  .row-title { font-size: 23px; }
  .card-name { font-size: 17px; }
  .view { min-height: calc(100vh - 88px); }
}

/* ---- Tablet ---- */
@media (max-width: 1100px) {
  .row-track { grid-auto-columns: calc((100% - 2 * 14px) / 3.3); }
}

/* ---- Phone ---- */
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 0; height: auto; padding: 8px 16px 0; }
  .brand { flex: 1; font-size: 25px; padding: 6px 0; }
  .topnav { order: 3; flex: 0 0 100%; gap: 30px; }
  .topnav a { padding: 12px 2px 14px; color: var(--muted); }
  .topnav a.on::after { bottom: 4px; }
  .manage-link { display: none; }
  .view { min-height: 0; padding-bottom: 96px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: #9a9ba3; font-size: 11px; font-weight: 600; }
  .tabbar a.on { color: var(--ink); }

  .hero { height: auto; aspect-ratio: 4 / 4.6; margin: 10px 16px 0; border-radius: 20px; background: #17181c; color: #fff; }
  .hero-img { width: 100%; }
  .hero-fade, .hero-noimg .hero-fade { background: linear-gradient(0deg, rgba(10, 10, 14, .92) 0, rgba(10, 10, 14, .5) 38%, rgba(10, 10, 14, 0) 64%); }
  .hero-text { justify-content: flex-end; gap: 8px; max-width: none; padding: 0 20px 40px; }
  .hero .eyebrow, .hero .spaced-sub { color: rgba(255, 255, 255, .85); }
  .hero .spaced-title { font-size: clamp(24px, 7.4vw, 34px); letter-spacing: .26em; }
  .hero-desc { display: none; }
  .hero .btn-dark { background: #fff; color: var(--ink); }
  .hero .btn-soft { background: rgba(255, 255, 255, .2); color: #fff; }
  .hero .btn-lg { height: 44px; padding: 0 22px; }
  .hero .dots button::before { background: rgba(255, 255, 255, .35); }
  .hero .dots button.on::before { background: #fff; }
  .age-badge { top: 14px; right: 14px; bottom: auto; }

  .rows { gap: 24px; padding-top: 22px; }
  .row-title { font-size: 20px; }
  .row-track { grid-auto-columns: 46%; gap: 12px; }
  .card { aspect-ratio: 16 / 11; }
  .card-name { font-size: 12.5px; left: 10px; right: 10px; bottom: 9px; }
  .page-title { font-size: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .gcard-img { aspect-ratio: 4 / 4.3; }
  .gcard .card-name { font-size: 15px; left: 14px; bottom: 14px; }

  .title-hero { height: auto; aspect-ratio: 16 / 11; }
  .title-body { margin-top: -30px; }
  .title-body .spaced-title { font-size: clamp(24px, 7.4vw, 34px); letter-spacing: .26em; }
  .title-actions .btn-lg { flex: 1 0 100%; }
  .title-actions .btn-grow { flex: 1; }
  .ep-img { width: 128px; }
  .two-col, .form-row { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .list-row { flex-wrap: wrap; }
  .list-actions { flex-wrap: wrap; }
  .inline-form { flex-wrap: wrap; }
  .inline-form input { flex: 1 0 100%; }
  .toast { bottom: 96px; }
  .auth-card { padding: 24px; }
  .player-next { right: 12px; bottom: 80px; }
}
