/* The site's video layer, in-place edition (js/film-play.js, markup from cfb_rankings/video/card.py). Loaded instead of film-dock.css
 * once "film-v2" is in data/video_clips.json hosts_on. A play is a card in the page's own words; tap it and the card becomes the
 * official player right where it sits. Play all opens a focused view. Everything here stays outside the player rectangle.
 * DESIGN.md: Archivo, condensed 800 headlines, sentence case, flat, radius 3px or less, labels are words (boxes are for things you
 * press), blue = measured, gold = what people say, green/red only with W/L or an arrow. Hover is opacity. A page may set --ink,
 * --blue, --gold, --gray, --panel and --font-head; every one has a fallback. */
.film, .filmlink, .playall, .fo, .ft, .vf-sec, .filmstrip {
  --fd-ink: var(--ink, #222222); --fd-ink2: var(--ink-2, #45453f); --fd-blue: var(--blue, #1d68a3); --fd-gold: var(--gold, #8a6200);
  --fd-gray: var(--gray, #686862); --fd-panel: var(--panel, #f1f1ec); --fd-line: var(--rule, #e7e7e2); --fd-green: #3a7a4b; --fd-red: #bf3b31;
  --fd-head: var(--font-head, 'Archivo Head', 'Archivo', 'Helvetica Neue', Arial, sans-serif); --fd-ui: var(--font, 'Archivo', system-ui, sans-serif);
}
.vf-lg { width: 34px; height: 34px; object-fit: contain; flex: none; display: block; }
.vf-lg--s { width: 22px; height: 22px; }
.vf-res { font-weight: 800; }
.vf-res.w { color: var(--fd-green); }
.vf-res.l { color: var(--fd-red); }

/* ---- the card: closed, a plain link to the video; the page's own words and number stand in for it ---- */
.film { display: grid; position: relative; color: var(--fd-ink); text-decoration: none; font-family: var(--fd-ui); -webkit-tap-highlight-color: transparent; border-top: 1px solid var(--fd-line); }
.film:hover { opacity: .8; }
.film:active { opacity: .65; }          /* a press answers at once, with opacity only (DESIGN.md: no scale, no shadow) */
.film[hidden] { display: none; }
.film > * { min-width: 0; }
.film__lg { grid-area: lg; display: flex; align-items: center; gap: 8px; }
.film__vs { font-size: 13px; font-weight: 700; color: var(--fd-gray); }
.film__k { grid-area: k; font-size: 12.5px; font-weight: 700; color: var(--fd-gray); line-height: 1.25; }
.film__h { grid-area: h; font-family: Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; font-weight: 800; font-size: 20px; line-height: 1.05; margin-top: 2px; }
.film__s { grid-area: s; font-size: 13.5px; color: var(--fd-ink2); line-height: 1.3; margin-top: 2px; }
.film__ln, .film__row, .film__x { display: none; }
.film__sr { grid-area: sr; text-align: right; white-space: nowrap; }
.film__rx { grid-area: rx; }
.film__w { grid-area: w; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 44px; font-weight: 800; font-size: 14px; }
.film__w i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--fd-ink); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 2px; font-style: normal; font-size: 11px; }
.film__w small { margin-left: auto; font-weight: 600; color: var(--fd-gray); font-size: 12.5px; text-align: right; }
/* row: a play in a list */
.film--row { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "lg k sr" "lg h sr" "lg s sr" "lg rx rx" "w w w"; column-gap: 12px; padding: 12px 0 0; }
.film--row .film__vs { display: none; }
.film--row .film__lg { align-self: start; margin-top: 2px; }
.film--row .film__w { grid-column: 2 / -1; }
.film--row.is-seen .film__h, .film--row.is-seen .film__s, .film--row.is-seen .film__sr { opacity: .5; }
/* feature: one play given the room */
.film--feature { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lg k" "h h" "s s" "row row" "x x" "w w"; border-top: 2px solid var(--fd-ink); padding-top: 10px; }
.film--feature .film__sr, .film--feature .film__rx { display: none; }
.film--feature .film__k { text-align: right; }
.film--feature .film__h { font-size: 26px; margin-top: 8px; }
.film--feature .film__s { font-size: 14px; }
.film--feature .film__row { display: grid; grid-area: row; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 10px; }
.film--feature .film__x { display: block; grid-area: x; }
/* bar: the page already says everything (the big men rows); the card is only the way to watch */
.film--bar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "w"; border-top: 0; margin-top: .4rem; }
.film--bar .film__lg, .film--bar .film__k, .film--bar .film__h, .film--bar .film__s, .film--bar .film__sr, .film--bar .film__rx { display: none; }
.film.is-on .film__w i { background: var(--fd-blue); }

/* poster: our own picture of the play (video/play_poster.py), ink, the one dark element. The chance-to-win line stands in for the video until a tap; the play square is the only button-looking thing. */
.film__po { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #1b1b1b; overflow: hidden; }
.po__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.po__cr { position: absolute; left: 8px; bottom: 6px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.po__pb { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; background: #fff; border-radius: 2px; display: grid; place-items: center; }
.po__pb i { width: 0; height: 0; margin-left: 2px; border-left: 10px solid #1b1b1b; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.film--po.film--row { grid-template-columns: 148px minmax(0, 1fr); grid-template-areas: "po k" "po h" "po s" "po sr"; grid-template-rows: auto auto auto 1fr; column-gap: 12px; padding: 10px 0; align-items: start; }
.film--po .film__po { grid-area: po; grid-row: 1 / -1; }
.film--po .film__lg, .film--po .film__rx, .film--po .film__w, .film--po .film__vs { display: none; }
.film--po.film--row .film__h { font-size: 18px; line-height: 1.08; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.film--po .film__sr { text-align: left; margin-top: 4px; white-space: normal; }
.film--po.film--row.is-seen .film__po { opacity: .5; }
/* a play mentioned in a table row or a sentence: underlined text with a small triangle */
.filmlink { display: inline-flex; align-items: center; gap: .4em; font-family: var(--fd-ui); font-weight: 800; font-size: 14px; min-height: 44px; color: var(--fd-ink); text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.filmlink::before { content: ""; width: .55em; height: .62em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.filmlink[hidden] { display: none; }
.playall { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 .5rem; padding: 0; font: 800 15px/1 var(--fd-ui); background: none; border: 0; cursor: pointer; color: var(--fd-ink); text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.playall:hover { opacity: .7; }

/* a section that holds a card or a list of them (team Tape tab, homepage) */
.vf-sec { margin: 1.6rem 0 0; font-family: var(--fd-ui); color: var(--fd-ink); }
.vf-h { margin: 0 0 .2rem; font-family: var(--fd-head); font-stretch: 78%; font-weight: 800; font-size: 24px; line-height: 1.05; }
.filmstrip__h { margin: 0 0 .2rem; font-family: var(--fd-head); font-stretch: 78%; font-weight: 800; font-size: 24px; line-height: 1.05; color: var(--fd-ink); }
.filmstrip__key { margin: 0 0 .6rem; font-size: 14px; color: #686862; }
.vf-sub { margin: 0 0 .6rem; color: var(--fd-gray); font-size: 14px; line-height: 1.35; max-width: 44em; }
.vf-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.vf-sec .film--feature { max-width: 720px; }
/* in a table row (a player's game log): the player opens under the row */
tr.fo-row > td { padding: 0; border: 0; }
tr.fo-row .fo { position: sticky; left: 0; width: min(640px, calc(100vw - 2rem)); background: #fff; }

/* ---- the win-chance line and the stake ---- */
.vf-line { position: relative; display: block; }
.vf-line svg { display: block; width: 100%; }
.vf-line .vf-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--fd-ink); }
.is-on .vf-dot, .fo .vf-dot { outline: 2px solid var(--fd-ink); outline-offset: 2px; }
.vf-st { display: inline-block; font-family: var(--fd-head); font-stretch: 78%; font-weight: 900; line-height: .9; text-align: right; }
.vf-st .n { display: block; font-size: 44px; }
.vf-st .l { display: block; font-family: var(--fd-ui); font-stretch: 100%; font-weight: 600; font-size: 12px; color: var(--fd-gray); margin: 3px 0 0 auto; max-width: 10em; line-height: 1.2; }
.vf-st.dn .n { color: var(--fd-red); }
.vf-st.up .n { color: var(--fd-green); }
.vf-st--r .n { font-size: 24px; }
.vf-sw { display: block; position: relative; width: 120px; height: 6px; margin: 5px 0 0 auto; border-top: 1px solid var(--fd-line, #d9d9d3); }
.vf-sw::before { content: ""; position: absolute; left: 50%; top: -4px; width: 1px; height: 9px; background: var(--fd-gray); }
.vf-sw i { position: absolute; top: -3px; height: 6px; }
.vf-sw.up i { left: 50%; background: var(--fd-green); }
.vf-sw.dn i { right: 50%; background: var(--fd-red); }
.vf-st--r .l { display: none; }
/* the lead in a row: a measured number in blue (no arrow, no green or red) with its line beside it */
.vf-st.ld .n { color: var(--fd-blue); }
.vf-st.ld.vf-st--r { display: inline-flex; align-items: baseline; gap: 8px; text-align: left; white-space: normal; line-height: 1.1; }
.vf-st.ld.vf-st--r .l { display: inline; margin: 0; max-width: none; font-size: 14px; font-weight: 700; color: var(--fd-ink); }
.film--row:not(.film--po) .vf-st.ld.vf-st--r .l { display: none; }
.vf-mini { margin: 2px 0 4px 12px; line-height: 0; flex: none; order: 2; }
.film--po .film__sr:has(.vf-mini) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.film--po .film__sr:has(.vf-mini) .vf-st { flex: 1 1 150px; min-width: 0; }
.vf-mini svg { display: block; width: 72px; height: 44px; }
.pf-list .vf-mini svg { width: 52px; height: 32px; }
.pf-list .vf-mini { margin-left: auto; }
@media (max-width: 400px) { .vf-mini svg { width: 52px; height: 32px; } .vf-mini { margin-left: 6px; } }
.vf-lead { display: block; font-weight: 700; color: var(--fd-ink); margin: 0 0 2px; }
.vf-score { display: inline-block; font-family: var(--fd-head); font-stretch: 78%; font-weight: 900; line-height: .9; text-align: right; }
.vf-score .n { display: block; font-size: 40px; }
.vf-score small { font-family: var(--fd-ui); font-stretch: 100%; font-weight: 600; font-size: 12px; color: var(--fd-gray); }
.vf-score--r .n { font-size: 26px; }
.vf-score--r small { display: none; }
.vf-field { position: relative; height: 8px; background: var(--fd-panel); margin-top: 10px; }
.vf-field i { position: absolute; top: 0; bottom: 0; background: var(--fd-blue); }
.vf-field u { position: absolute; top: -2px; bottom: -2px; width: 3px; background: var(--fd-blue); }
.vf-fieldcap { display: flex; justify-content: space-between; font-size: 12px; color: var(--fd-gray); margin-top: 3px; }
.vf-meters { margin-top: 10px; display: grid; gap: 6px; }
.vf-m { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.vf-m > span:first-child { font-weight: 700; color: var(--fd-gray); }
.vf-bar { display: block; height: 8px; background: var(--fd-panel); }
.vf-bar i { display: block; height: 100%; background: var(--fd-blue); }
.vf-m.lev .vf-bar i { background: var(--fd-gold); }
.vf-m em { font-style: normal; font-weight: 700; color: var(--fd-ink); text-align: right; min-width: 5.5em; }
.vf-note { font-size: 13px; color: var(--fd-ink2); margin: 8px 0 0; line-height: 1.35; }
.vf-note b { color: var(--fd-ink); }

/* ---- open: the card itself becomes the player (no overlay, the page keeps scrolling) ---- */
.fo { display: block; color: var(--fd-ink); font-family: var(--fd-ui); grid-column: 1 / -1; border-top: 2px solid var(--fd-ink); }
.fo__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.fo__now { font-size: 13px; font-weight: 700; color: var(--fd-gray); }
.fb { background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 2px; font: 800 14px/1 var(--fd-ui); color: var(--fd-ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fb:hover { opacity: .7; }
.fb:disabled { color: #bdbdb7; text-decoration: none; cursor: default; opacity: 1; }
.fb--x { text-decoration: none; border: 1px solid var(--fd-ink); border-radius: 3px; padding: 0 12px; margin: 2px 0; font-size: 15px; }
.fo__frame, .ft__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.fo__slot, .fo__slot > *, .ft__slot, .ft__slot > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fo__err { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem; background: #111; color: #fff; font-size: 14px; text-align: center; padding: 1rem; }
.fo__err[hidden] { display: none; }
.fo__err a { color: #fff; font-weight: 800; padding: .5rem; text-underline-offset: 4px; text-decoration-color: var(--fd-gold); }
.fo__body { padding: 10px 0 2px; }
.fo--bar .fo__body { display: none; }
.fo__body .film__h { display: block; font-size: 22px; margin: 0; }
.fo__body .film__ln { display: block; font-size: 13.5px; color: var(--fd-ink2); line-height: 1.3; margin-top: 3px; }
.fo__body .film__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 10px; }
.fo__body .film__x { display: block; }
.fo__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 6px; border-top: 1px solid var(--fd-line); }
.fo__after { margin-top: 6px; padding: 8px 0 2px; border-top: 1px solid var(--fd-line); font-size: 14px; }
.fo__after[hidden] { display: none; }
.fo__cred { font-size: 12px; color: var(--fd-gray); margin-top: 4px; padding-bottom: 6px; }
.filmstrip .filmstrip__list { display: block; max-width: 720px; }   /* the game page's strip: one column, so an opened player gets the width */

/* ---- Play all: a focused view you choose to enter, with a labelled way out ---- */
html.ft-lock, html.ft-lock body { overflow: hidden; }
.ft { position: fixed; inset: 0; z-index: 1300; display: flex; justify-content: center; background: #fff; font-family: var(--fd-ui); color: var(--fd-ink); }
.ft[hidden] { display: none; }
.ft__in { display: flex; flex-direction: column; width: 100%; height: 100%; height: 100dvh; min-height: 0; background: #fff; }
.ft__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: env(safe-area-inset-top) 14px 0; min-height: 52px; border-bottom: 1px solid var(--fd-line); }
.ft__now { font-size: 13px; font-weight: 700; color: var(--fd-gray); }
.ft__segs { flex: none; display: flex; gap: 3px; padding: 8px 14px; }
.ft__segs i { flex: 1; height: 3px; background: var(--fd-line); }
.ft__segs i.done, .ft__segs i.now { background: var(--fd-ink); }
.ft__frame { flex: none; max-height: 40vh; }
.ft__body { flex: 1; min-height: 0; overflow: auto; padding: 12px 14px 8px; }
.ft__body .film__h { display: block; font-size: 24px; }
.ft__body .film__ln { display: block; font-size: 14px; color: var(--fd-ink2); line-height: 1.3; margin-top: 3px; }
.ft__body .film__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 12px; }
.ft__body .film__x { display: block; }
.ft__hint { font-size: 12px; color: var(--fd-gray); margin-top: 10px; }
.ft__foot { flex: none; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--fd-line); background: #fff; }
.fb--tb { min-height: 52px; padding: 0 10px; font-size: 15px; }
.fb--main { background: var(--fd-ink); color: #fff; text-decoration: none; border-radius: 3px; font-size: 16px; }
.fb--main:disabled { background: #bdbdb7; color: #fff; }
.ft__end b { display: block; font-family: var(--fd-head); font-stretch: 78%; font-weight: 800; font-size: 24px; margin-bottom: 4px; }
.ft__end button { display: flex; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--fd-line); min-height: 52px; font: 700 15px/1.2 var(--fd-ui); color: var(--fd-ink); cursor: pointer; }
.ft__end button:hover { opacity: .7; }
/* Play all, three shapes. Phones: one column, the list is the progress bar. Tablets: the list is a strip under the player.
   Wide screens (900 px and up): the player on the left and the whole list beside it. */
.ft__main { display: contents; }
.ft__bar { order: 0; } .ft__segs { order: 1; } .ft__frame { order: 2; } .ft__body { order: 3; } .ft__q { order: 4; } .ft__foot { order: 5; }
.ft__q { display: none; position: relative; }
.ft__qh { font: 800 18px/1.1 Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; padding: 10px 14px 6px; color: var(--fd-ink); }
.ft__qi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 14px; background: none; border: 0; border-top: 1px solid var(--fd-line); text-align: left; cursor: pointer; font-family: var(--fd-ui); color: var(--fd-ink); }
.ft__qi:hover { opacity: .7; }
.ft__qi > * { grid-area: auto !important; }
.ft__qi .film__lg { display: block; width: 28px; }
.ft__qi .film__lg img { display: block; width: 28px; height: 28px; object-fit: contain; }
.ft__qt { display: block; min-width: 0; }
.ft__qt b { display: block; font: 800 15px/1.15 Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ft__qt small { display: block; font-size: 12px; color: var(--fd-gray); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft__qi .vf-st { font-size: 16px; white-space: nowrap; }
.ft__qi .vf-st .l { display: none; }
.ft__qi.done { opacity: .55; }
.ft__qi.now { box-shadow: inset 3px 0 0 var(--fd-ink); background: var(--fd-panel); opacity: 1; }
@media (min-width: 600px) and (min-height: 700px) and (max-width: 899px) {
  .ft__q { display: flex; overflow-x: auto; border-top: 1px solid var(--fd-line); flex: none; }
  .ft__body { flex: 0 1 auto; }
  .ft__frame { max-height: none; }
  .ft__foot { margin-top: auto; }
  .ft__qh { display: none; }
  .ft__qi { flex: none; width: 240px; border-top: 0; border-right: 1px solid var(--fd-line); }
  .ft__qi.now { box-shadow: inset 0 -3px 0 var(--fd-ink); }
}
@media (min-width: 900px) {
  .ft { align-items: center; background: rgba(34, 34, 34, .55); }
  .ft__in { --ft-h: min(820px, 94vh); display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto minmax(0, 1fr); width: min(1120px, 94vw); height: var(--ft-h); border: 1px solid var(--fd-ink); }
  .ft__bar { grid-column: 1 / -1; }
  .ft__main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .ft__frame { max-height: none; width: min(100%, calc((var(--ft-h) - 320px) * 16 / 9)); margin: 0 auto; }
  .ft__q { display: block; overflow-y: auto; min-height: 0; border-left: 1px solid var(--fd-line); }
}
.film:focus-visible, .filmlink:focus-visible, .playall:focus-visible, .fb:focus-visible { outline: 2px solid var(--fd-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
/* where next: other plays, after the last one */
.fo__more { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--fd-line); }
.fo__more b, .ft__end .fo__more b { display: block; font-family: Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; font-weight: 800; font-size: 18px; line-height: 1.1; margin: 0 0 2px; color: var(--fd-ink); }
.fo__more a { display: block; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--fd-line); color: var(--fd-ink); text-decoration: none; font-family: var(--fd-ui); }
.fo__more b + a { border-top: 0; }
.fo__more a span { display: block; font-weight: 800; font-size: 15px; line-height: 1.25; text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fo__more a small { display: block; font-size: 13px; color: var(--fd-gray); margin-top: 1px; }
.fo__more a:hover { opacity: .7; }
/* the odds line as a map of the game: the other plays are buttons (44 px wide to hit, 2 px to see) */
.vf-line.has-ticks { margin-bottom: 2px; }
.vf-tick { position: absolute; top: 0; bottom: 0; width: 44px; margin-left: -22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--fd-ink); -webkit-tap-highlight-color: transparent; }
.vf-tick::before { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--fd-gray); opacity: .55; }
.vf-tick:hover::before, .vf-tick:focus-visible::before { background: var(--fd-ink); opacity: 1; }
.vf-tick:focus-visible { outline: 2px solid var(--fd-ink); outline-offset: -2px; }
.vf-tick::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: max-content; max-width: 190px; padding: 4px 7px; background: #fff; border: 1px solid var(--fd-line); border-radius: 2px; font: 600 12px/1.25 var(--fd-ui); color: var(--fd-ink); text-align: left; opacity: 0; pointer-events: none; z-index: 2; }
.vf-tick.l::after { left: 0; transform: none; } .vf-tick.r::after { left: auto; right: 0; transform: none; }
.vf-tick:hover::after, .vf-tick:focus-visible::after { opacity: 1; }
/* Up next: the card after a play. A row (picture, title, reason), a thin bar while it counts down, three plain actions. */
.un { display: block; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--fd-line); font-family: var(--fd-ui); color: var(--fd-ink); }
.un__h { display: block; font: 800 18px/1.1 Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; margin: 0 0 8px; }
.un__row { display: flex; gap: 12px; align-items: center; }
.un__img { display: block; flex: none; width: 132px; aspect-ratio: 1200 / 630; background: var(--fd-panel); overflow: hidden; }
.un__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.un__t { display: block; flex: 1; min-width: 0; }
.un__t b { display: block; font: 800 18px/1.1 Archivo,Helvetica Neue,Arial,sans-serif; font-stretch: 78%; }
.un__t small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: var(--fd-ink2); }
.un__bar { display: block; height: 3px; margin-top: 10px; background: var(--fd-line); }
.un__bar i { display: block; width: 0; height: 100%; background: var(--fd-ink); transition: width 5s linear; }
.un__count { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--fd-ink2); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.un__act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; }
.un__act .fb { min-height: 44px; }
.un__act .fb--main { padding: 0 18px; display: inline-flex; align-items: center; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .un__bar { display: none; } }
@media (min-width: 900px) { .un__img { width: 176px; } }
/* watched progress */
.film__seen { color: var(--fd-gray); font-weight: 600; }
.vf-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0 0 4px; font: 600 14px/1.3 var(--fd-ui); color: var(--fd-ink2); }
.vf-prog button { min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font: 800 14px/1 var(--fd-ui); color: var(--fd-ink); text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.vf-prog button:hover { opacity: .7; }
/* where to go from a play: its whole game, and the lists it belongs to (plain underlined text; nothing here is a box) */
.fo__go { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 8px; font: 600 14px/1.3 var(--fd-ui); color: var(--fd-ink2); }
.fo__go a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fd-ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fo__go a:hover { opacity: .7; }
.fo__links { display: contents; }
.fo__go .fo__story { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 800 14px/1.3 var(--fd-ui); color: var(--fd-ink); text-decoration: underline; text-decoration-color: var(--fd-blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fo__go .fo__story:hover { opacity: .7; }
.fo__likes { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; width: 100%; }
.fo__lbl { flex-basis: 100%; margin-top: 4px; font: 600 12.5px/1.3 var(--fd-ui); color: var(--fd-gray); }
.fo__likes a { min-height: 40px; }
.fo__why { display: block; width: 100%; margin: 2px 0 6px; color: #5b5b5b; }
.fo__room { display: block; width: 100%; margin: 2px 0 6px; }
.fo__room .fo__lbl { display: block; margin: 0 0 2px; color: #8a6200; }
.fo__go .fo__room a { display: inline; min-height: 0; font-weight: 600; line-height: 1.4; text-decoration-color: #b7851a; text-decoration-thickness: 1px; }
.ft__qm { padding: 8px 14px; font: 600 12px/1.2 var(--fd-ui); color: var(--fd-gray); border-top: 1px solid var(--fd-line); }
@media (min-width: 600px) and (min-height: 700px) and (max-width: 899px) { .ft__qm { display: none; } }
.vf-raw { display: block; margin-top: 8px; font: 500 12.5px/1.4 var(--fd-ui); color: var(--fd-gray); }
.film__w small .nmk { display: inline-block; vertical-align: -3px; margin-right: 2px; object-fit: contain; }
