/* RareWatch title, person, list and year-in-review pages. Tokens only; text on artwork uses --media-*. */
.tt-main { padding-block: var(--section-gap) var(--s-7); }
.tt-sec { min-width: 0; }
.tt-main > * + * { margin-top: var(--section-gap); }
.tt-sk-hero { height: 420px; border-radius: 0; }
.tt-sk-card { height: 160px; margin-top: var(--s-5); }
.tt-sk-offers { height: 96px; }
.tt-sk-line { height: 56px; }

/* ---------- section headings ---------- */
.tt-sechead { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.tt-h { margin: 0; font: 650 var(--t-lg)/var(--lh-snug) var(--font-display); color: var(--text-strong); }
.tt-n { margin-left: var(--s-2); color: var(--mute); font-weight: 500; font-size: var(--t-base); }
.tt-sub { margin: var(--s-5) 0 var(--s-3); font: 650 var(--t-md)/var(--lh-snug) var(--font-display); color: var(--text-strong); }
.tt-soft { color: var(--mute); font-size: var(--t-base); margin: 0; }
.tt-a { color: var(--accent-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tt-note-line { margin-bottom: var(--s-4); }
.tt-fine { margin: var(--s-2) 0 0; color: var(--mute); font-size: var(--t-xs); }
.tt-lab { font: 600 var(--t-sm)/1.2 var(--font-body); color: var(--mute); margin: 0 0 var(--s-2); }
.tt-text { background: none; border: 0; padding: var(--s-1) var(--s-2); margin: 0 calc(-1 * var(--s-2)); color: var(--accent-hi); font: 600 var(--t-sm) var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; border-radius: var(--r-xs); }
.tt-empty { padding: var(--s-6) var(--card-pad); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; }
.tt-empty b { display: block; font: 650 var(--t-md) var(--font-display); color: var(--text-strong); }
.tt-empty p { margin: var(--s-1) 0 var(--s-4); color: var(--mute); }
.tt-empty > :last-child { margin-bottom: 0; }
.tt-crumb { display: flex; align-items: center; gap: var(--s-1); flex-wrap: wrap; color: var(--mute); font-size: var(--t-sm); }

/* ---------- hero: the film, over its own backdrop. Always dark, so white type reads in every theme ---------- */
.tt-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--media-ink); background: var(--tt-dark); --tt-dark: color-mix(in srgb, var(--media-chip) 100%, black); }
.tt-bd { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 22%; }
.tt-bd.blur { filter: blur(30px); inset: -40px; opacity: .55; }
.tt-bd.none { background: radial-gradient(900px 420px at 20% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent), var(--tt-dark); }
.tt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--media-scrim), linear-gradient(90deg, color-mix(in srgb, var(--tt-dark) 92%, transparent), color-mix(in srgb, var(--tt-dark) 38%, transparent)); }
.tt-hbody { display: flex; gap: var(--s-6); align-items: flex-end; padding-block: var(--s-7) calc(var(--s-7) + var(--s-5)); }
.tt-poster { width: 250px; flex: none; }
.tt-poster.person { width: 210px; }
.tt-poster .poster, .tt-poster .pphoto { border-radius: var(--r-poster); box-shadow: var(--shadow-3); }
.tt-poster .pphoto { aspect-ratio: 2/3; }
.tt-info { flex: 1; min-width: 0; }
.tt-info h1, .tt-lt, .yr-title { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; letter-spacing: -0.02em; line-height: var(--lh-tight); }
.tt-info h1 { margin: 0; font-size: var(--t-3xl); color: var(--media-ink); text-wrap: balance; overflow-wrap: anywhere; }
.tt-aka { margin-top: var(--s-1); color: var(--media-mute); font-size: var(--t-sm); }
.tt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); margin: var(--s-3) 0 0; color: var(--media-mute); font-size: var(--t-base); }
.tt-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: var(--s-3); border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
.tt-meta .tt-cert { border: 1px solid color-mix(in srgb, var(--media-ink) 40%, transparent); border-radius: var(--r-xs); padding: 0 var(--s-2); font-size: var(--t-sm); line-height: 1.6; }
.tt-meta .tt-cert::before { display: none; }
.tt-genres { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.tt-g { display: inline-flex; align-items: center; gap: var(--s-1); padding: 3px var(--s-3); border-radius: var(--r-pill); font-size: var(--t-sm); background: var(--media-chip); color: var(--media-ink); border: 1px solid color-mix(in srgb, var(--media-ink) 18%, transparent); }
.tt-g.mine { border-color: var(--accent-line); color: var(--accent-hi); }
.tt-g.quiet { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.tt-tag { margin: var(--s-3) 0 0; font-style: italic; color: var(--media-mute); }
.tt-ov { margin: var(--s-4) 0 0; max-width: 68ch; color: var(--media-ink); font-size: var(--t-md); line-height: var(--lh-body); white-space: pre-line; overflow-wrap: anywhere; }
.tt-ov.clamp { display: -webkit-box; -webkit-line-clamp: var(--lines, 3); -webkit-box-orient: vertical; overflow: hidden; }
.tt-more { display: block; background: none; border: 0; padding: var(--s-1) 0; margin-top: var(--s-1); color: var(--media-ink); font: 600 var(--t-sm) var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tt-more[hidden] { display: none; }
.tt-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.tt-plinks { margin-top: var(--s-4); }
.tt-plinks .lchip { background: var(--media-chip); color: var(--media-ink); border-color: color-mix(in srgb, var(--media-ink) 18%, transparent); }
.tt-plinks .lchip .ic { color: var(--media-mute); }

/* scores: number, then the source named beside it */
.tt-scores { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); }
.tt-slot { display: contents; }
.tt-score { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--media-ink); }
a.tt-score:hover .tt-sl { text-decoration: underline; text-underline-offset: 3px; }
.tt-sv { font: 800 var(--t-xl)/1 var(--font-display); font-stretch: 85%; letter-spacing: -0.01em; }
.tt-sl { display: flex; flex-direction: column; font-size: var(--t-sm); line-height: 1.25; font-weight: 600; }
.tt-sl small { color: var(--media-mute); font-weight: 400; font-size: var(--t-xs); }

/* ---------- your status ---------- */
.tt-status { position: relative; z-index: 2; margin-top: calc(-1 * (var(--section-gap) + var(--s-7))); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-6);
  padding: var(--card-pad); background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.tt-st-main > * + .tt-lab { margin-top: var(--s-5); }
.tt-segrow { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.tt-seg { display: inline-flex; padding: var(--s-1); gap: var(--s-1); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); max-width: 100%; }
.tt-sb { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: calc(var(--ctl) + 4px); padding: 0 var(--s-4); border: 0; border-radius: var(--r-md); background: none; color: var(--text);
  font: 600 var(--t-base) var(--font-body); cursor: pointer; transition: background var(--fast), color var(--fast); }
.tt-sb:hover { background: var(--hover); }
.tt-sb.on { background: var(--accent); color: var(--on-accent); }
.tt-seg.sm .tt-sb { min-height: var(--ctl-sm); padding: 0 var(--s-3); font-size: var(--t-sm); }
.tt-when { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--mute); font-size: var(--t-sm); }
.tt-when:empty { display: none; }
.tt-ratrow { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.tt-rate { display: inline-flex; gap: var(--s-1); flex-wrap: wrap; }
.tt-rb { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: 650 var(--t-sm) var(--font-body); cursor: pointer; transition: background var(--fast), border-color var(--fast); }
.tt-rb:hover { background: var(--surface-3); }
.tt-rb.fill { background: var(--accent-soft); border-color: var(--accent-line); }
.tt-rb.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tt-rlab { color: var(--mute); font-size: var(--t-sm); }
.tt-progrow { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; }
.tt-step { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--mute); font-size: var(--t-sm); }
.tt-step b { min-width: 2ch; text-align: center; color: var(--text-strong); font-size: var(--t-md); }
.tt-note { width: 100%; resize: vertical; min-height: 84px; padding: var(--s-3); border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--field); color: var(--text); font: inherit; line-height: var(--lh-snug); }
.tt-noterow { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.tt-guest { grid-template-columns: 1fr auto; align-items: center; }
.tt-guest b { font: 650 var(--t-md) var(--font-display); color: var(--text-strong); }
.tt-guest p { margin: var(--s-1) 0 0; color: var(--mute); }
.tt-guest-btns { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: center; }

/* ---------- where to watch ---------- */
.tt-cty { width: auto; min-width: 180px; height: var(--ctl-sm); padding: 0 var(--s-3); border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--field); color: var(--text); font: inherit; font-size: var(--t-sm); max-width: 100%; }
.tt-yours { padding: var(--s-4) var(--card-pad); margin-bottom: var(--s-5); border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.tt-yl { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3); color: var(--text-strong); font-weight: 650; }
.tt-yb { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tt-orow { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.tt-orow:first-of-type { border-top: 0; }
.tt-ol { margin: 0; padding-top: var(--s-2); font: 600 var(--t-sm) var(--font-body); color: var(--mute); }
.tt-oc { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tt-prov { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--ctl); padding: 0 var(--s-3); border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--line); color: var(--text-strong); font-size: var(--t-sm); font-weight: 600; transition: border-color var(--fast), background var(--fast); }
a.tt-prov:hover { border-color: var(--line-strong); background: var(--surface-2); }
.tt-prov.mine { border-color: var(--accent-line); background: var(--accent-soft); }
.tt-prov.mine .ic { color: var(--accent-hi); }
.tt-prov small { color: var(--mute); font-weight: 500; }

/* ---------- cast and credits ---------- */
.tt-credits { margin-bottom: var(--s-5); max-width: 760px; }
.tt-credits .credrow:first-child { border-top: 1px solid var(--line); }
.tt-cast { display: flex; gap: var(--s-4); overflow-x: auto; padding-bottom: var(--s-3); scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.tt-cast > div { flex: none; width: 132px; scroll-snap-align: start; }
.tt-person { display: block; color: var(--text); }
.tt-ph { aspect-ratio: 2/3; border-radius: var(--r-poster); background-size: cover; background-position: center top; display: grid; place-items: center; font: 700 28px var(--font-display); color: var(--media-ink); border: 1px solid var(--line); }
.tt-person b { display: block; margin-top: var(--s-2); color: var(--text-strong); font-size: var(--t-sm); line-height: 1.25; }
.tt-person small { display: block; color: var(--mute); font-size: var(--t-xs); line-height: 1.3; margin-top: 2px; }
.tt-person:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- friends, community ---------- */
.tt-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); }
.tt-friend { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--line); transition: border-color var(--fast); }
.tt-friend:hover { border-color: var(--line-strong); }
.tt-friend > div { flex: 1; min-width: 0; }
.tt-friend b { display: block; color: var(--text-strong); font-size: var(--t-sm); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-friend small { color: var(--mute); font-size: var(--t-xs); }
.tt-friend .av, .tt-rwho .av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); color: var(--on-accent); background: var(--pc, var(--accent)); flex: none; }
.tt-fr { display: inline-flex; align-items: center; gap: 3px; color: var(--star); font-weight: 700; font-size: var(--t-sm); }
.tt-avgrow { display: flex; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; }
.tt-avg b { display: block; font: 800 var(--t-2xl)/1 var(--font-display); font-stretch: 85%; color: var(--text-strong); }
.tt-avg span { color: var(--mute); font-size: var(--t-sm); }
.tt-counts { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.tt-cnt b { display: block; font: 700 var(--t-xl)/1.1 var(--font-display); color: var(--text-strong); }
.tt-cnt span { color: var(--mute); font-size: var(--t-sm); }
.tt-dist { display: grid; grid-template-columns: repeat(10, 1fr); gap: var(--s-2); height: 120px; margin-top: var(--s-5); max-width: 560px; }
.tt-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: var(--s-1); }
.tt-bar i { display: block; width: 100%; border-radius: var(--r-xs) var(--r-xs) 0 0; background: var(--surface-3); }
.tt-bar.mine i { background: var(--accent); }
.tt-bar em { font-style: normal; font-size: var(--t-xs); color: var(--mute); min-height: 1em; }
.tt-bar span { font-size: var(--t-xs); color: var(--mute); }
.tt-bar.mine span { color: var(--text-strong); font-weight: 700; }
.tt-revs { display: grid; }
.tt-review { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.tt-review:last-child { border-bottom: 1px solid var(--line); }
.tt-review header { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.tt-rwho { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-strong); }
.tt-review time { margin-left: auto; color: var(--mute); font-size: var(--t-xs); }
.tt-review p { margin: var(--s-2) 0 0; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; max-width: 70ch; }

/* ---------- details and links ---------- */
.tt-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); align-items: start; margin-top: var(--section-gap); }
.tt-main > .tt-two { margin-top: var(--section-gap); }
.tt-dl { margin: 0; }
.tt-drow { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.tt-drow:first-child { border-top: 1px solid var(--line); }
.tt-drow dt { color: var(--mute); flex: none; }
.tt-drow dd { margin: 0; color: var(--text); text-align: right; overflow-wrap: anywhere; }
.tt-kw { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.tt-links { display: grid; }
.tt-link { display: flex; align-items: center; gap: var(--s-3); min-height: var(--ctl); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: var(--t-sm); font-weight: 600; }
.tt-link:first-child { border-top: 1px solid var(--line); }
.tt-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); flex: none; }
.tt-link .ic { margin-left: auto; color: var(--mute); }
.tt-link:hover { color: var(--text-strong); }
.tt-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- person ---------- */
.tt-fctl { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
.tt-fctl .tabs { margin: 0; }
.tt-frow { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.tt-q { flex: 1; min-width: 160px; max-width: 280px; height: var(--ctl-sm); padding: 0 var(--s-3); border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--field); color: var(--text); font: inherit; font-size: var(--t-sm); }
.tt-pg { margin: 0 0 var(--s-5); max-width: 420px; }
.tt-pt { display: flex; justify-content: space-between; font-size: var(--t-sm); color: var(--text-strong); margin-bottom: var(--s-2); }
.tt-pt span { color: var(--mute); }
.tt-pbar { height: 6px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.tt-pbar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.tt-dec h3 { margin: var(--s-6) 0 var(--s-2); font: 650 var(--t-md) var(--font-display); color: var(--mute); }
.tt-dec:first-child h3 { margin-top: 0; }
.tt-filmo { display: grid; }
.tt-fr-row { display: flex; align-items: center; gap: var(--s-4); width: 100%; min-height: 56px; padding: var(--s-2) var(--s-2); text-align: left; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; color: var(--text); cursor: pointer; transition: background var(--fast); }
.tt-fr-row:hover { background: var(--hover); }
.tt-fr-row .fy { width: 44px; flex: none; color: var(--mute); font: 600 var(--t-sm) var(--font-display); }
.tt-fr-row .mini { width: 32px; flex: none; }
.tt-fr-row .ft { flex: 1; min-width: 0; }
.tt-fr-row .ft b { color: var(--text-strong); font-weight: 600; margin-right: var(--s-2); }
.tt-fr-row .ft em { font-style: normal; color: var(--mute); font-size: var(--t-xs); }
.tt-fr-row .ft small { display: block; color: var(--mute); font-size: var(--t-sm); }
.tt-fr-row > .ic { color: var(--faint); flex: none; }
.tt-seenb { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--good); font-size: var(--t-xs); font-weight: 700; white-space: nowrap; }
.tt-more-row { margin-top: var(--s-4); }

/* ---------- lists ---------- */
.tt-hero.list { min-height: 220px; }
.tt-collage { position: absolute; inset: 0; display: flex; gap: var(--s-3); justify-content: flex-end; padding: var(--s-4) var(--s-5) 0 0; opacity: .5; }
.tt-collage .poster { width: 170px; flex: none; border-radius: var(--r-poster); }
.tt-lbody { padding-block: var(--s-7) var(--s-6); }
.tt-hero .tt-crumb { color: var(--media-mute); }
.tt-hero .tt-crumb .who { color: var(--media-ink); }
.tt-lt { margin: var(--s-2) 0 0; font-size: var(--t-3xl); color: var(--media-ink); text-wrap: balance; overflow-wrap: anywhere; }
.tt-hero .tt-pg { color: var(--media-ink); }
.tt-hero .tt-pt, .tt-hero .tt-pt span { color: var(--media-ink); }
.tt-hero .tt-pbar { background: color-mix(in srgb, var(--media-ink) 24%, transparent); }
.tt-hero .tt-pbar i { background: var(--media-ink); }
.tt-add { margin-bottom: var(--s-5); display: grid; gap: var(--s-2); }
.tt-lcard.drag { opacity: .4; }
.tt-lcard.over .poster { outline: 3px solid var(--accent); outline-offset: 2px; }
.tt-lcard[draggable="true"] .poster { cursor: grab; }
.tt-rank { position: absolute; left: var(--s-2); top: var(--s-2); z-index: 2; min-width: 28px; padding: 0 var(--s-2); border-radius: var(--r-xs); background: var(--media-chip); color: var(--media-ink); font: 800 var(--t-md)/28px var(--font-display); text-align: center; pointer-events: none; }
.tt-chk2 { margin-top: var(--s-2); }

/* ---------- year in review ---------- */
.yr { padding-top: var(--s-7); }
.yr-head { margin-bottom: 0; }
.yr-title { margin: var(--s-3) 0 var(--s-5); font-size: clamp(48px, 9vw, 120px); color: var(--text-strong); line-height: .95; }
.yr-title span { color: var(--accent-hi); }
.yr-bar-top { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.yr-years { display: flex; gap: var(--s-1); flex-wrap: wrap; }
.yr-years a { display: inline-flex; align-items: center; min-height: var(--ctl-sm); padding: 0 var(--s-3); border-radius: var(--r-md); color: var(--mute); font-size: var(--t-sm); font-weight: 600; border: 1px solid var(--line); }
.yr-years a:hover { color: var(--text-strong); background: var(--hover); }
.yr-years a.on { color: var(--text-strong); background: var(--surface-3); border-color: var(--line-strong); }
.yr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5) var(--s-6); padding-block: var(--s-6); border-block: 1px solid var(--line); }
.yr-stat b { display: block; font: 800 var(--t-2xl)/1 var(--font-display); font-stretch: 80%; letter-spacing: -0.02em; color: var(--text-strong); }
.yr-stat span { display: block; margin-top: var(--s-2); color: var(--mute); font-size: var(--t-sm); }
.yr-stat.lead { grid-column: 1 / -1; }
.yr-stat.lead b { font-size: clamp(64px, 14vw, 160px); line-height: .9; color: var(--accent-hi); }
.yr-stat.lead span { font-size: var(--t-md); }
.yr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.yr-hbars { display: grid; gap: var(--s-3); }
.yr-hbar { display: grid; grid-template-columns: 120px minmax(0, 1fr) 32px; gap: var(--s-3); align-items: center; font-size: var(--t-sm); }
.yr-hbar span { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yr-hbar b { text-align: right; color: var(--text-strong); }
.yr-track { height: 10px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.yr-track i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.yr-vbars { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-1); height: 160px; align-items: end; margin-bottom: var(--s-3); }
.yr-vbars > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: var(--s-1); min-width: 0; }
.yr-vbars i { display: block; width: 100%; background: var(--accent); border-radius: var(--r-xs) var(--r-xs) 0 0; }
.yr-vbars em { font-style: normal; font-size: var(--t-xs); color: var(--text); min-height: 1em; }
.yr-vbars span { font-size: 11px; color: var(--mute); }
.yr-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-4); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .tt-two, .yr-two { grid-template-columns: 1fr; gap: var(--section-gap); }
  .tt-status { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 760px) {
  .tt-hbody { flex-direction: column; align-items: flex-start; padding-block: var(--s-6) calc(var(--s-6) + var(--s-5)); gap: var(--s-5); }
  .tt-poster { width: 150px; } .tt-poster.person { width: 130px; }
  .tt-status { margin-top: calc(-1 * (var(--section-gap) + var(--s-6))); }
  .tt-orow { grid-template-columns: 1fr; gap: 0; }
  .tt-ol { padding-top: 0; margin-bottom: var(--s-2); }
  .tt-collage .poster { width: 110px; }
  .tt-guest { grid-template-columns: 1fr; }
  .tt-guest-btns { justify-content: flex-start; }
  .tt-sb { padding: 0 var(--s-3); }
  .tt-segrow .tt-seg { width: 100%; } .tt-segrow .tt-sb { flex: 1; }
  .tt-rb { width: 34px; height: 40px; }
  .yr-hbar { grid-template-columns: 90px minmax(0, 1fr) 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* trailer player (opens on click) */
.modal.tt-pmodal { width: min(900px, calc(100vw - 2 * var(--gutter))); max-width: none; }
.tt-phead { margin: 0 var(--s-6) var(--s-3) 0; font: 650 var(--t-lg)/var(--lh-snug) var(--font-display); color: var(--text-strong); }
.tt-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-3); }
.tt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tt-pnote { margin: var(--s-3) 0 0; font-size: var(--t-sm); color: var(--mute); } .tt-pnote a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }
