/* tv-home.css · «Dralingo TV», the kid's home on /homework (his yes 2026-10-31 to the clickable design
   .claude/handoff/tv-design): the band, the episode card with its ONE button and two pills, the season (js/fly.js flying
   cards on a phone, a column on a laptop), the dock, an episode's page, the word deck (js/tv-words.js), the practice hub.
   YCT 1 warm (paper, Rojo Imperial, Baloo 2); New HSK 1 and HSK 1 teen (`lv-teen`: dark jade-black luxe, Noto Sans 800
   titles; Bricolage Grotesque is a follow-up: no new font file here). Every rule starts at #screen-list.md (nothing reaches
   another screen); tap targets 44 px or more; reduced motion: nothing hops, nothing blinks. Pairs with css/fly.css. */
/* the pinyin of the word cards: Noto Sans, its tone marks from the platform's own subset (the same file as
   css/pinyin-tones-hw.css), so «ǎ ī ǔ» are drawn by one face, never a fallback */
@font-face { font-family: 'TV Pinyin'; font-weight: 800; font-display: swap; src: url('/assets/fonts/pinyin/noto-tones-800.woff2') format('woff2');
  unicode-range: U+0100-0101, U+0112-0113, U+011A-011B, U+012A-012B, U+014C-014D, U+016A-016B, U+01CD-01DC; }

#screen-list.md {
  --tv-bg: #f7f1e4; --tv-surf: #fffdf8; --tv-surf2: #f3e8cf; --tv-ink: #1c1a17; --tv-mut: #6b5d4f; --tv-line: #e2d4b4;
  --tv-band: #5a1010; --tv-band-fg: #fffdf8; --tv-band-line: #c79c3e;
  --tv-gold-ink: #85631d; --tv-shadow: rgba(90, 16, 16, .34);
  --tv-dock: #fffdf8; --tv-dock-fg: #6b5d4f; --tv-dock-on: #5a1010;
  --tv-chip: #fffdf8; --tv-chip-fg: #5a1010;
  --tv-head: 'Baloo 2', 'Noto Sans', system-ui, sans-serif; --tv-track: -.01em;
  --tv-ui: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tv-ease: cubic-bezier(.23, 1, .32, 1);
}
#screen-list.md.lv-teen {
  --tv-bg: #0b1312; --tv-surf: #13201e; --tv-surf2: #1b2c29; --tv-ink: #f2ecdf; --tv-mut: #a3b3ab; --tv-line: #26372f;
  --tv-band: rgba(11, 19, 18, .92); --tv-band-fg: #f2ecdf; --tv-band-line: rgba(232, 200, 120, .5);
  --tv-gold-ink: #e8c878; --tv-shadow: rgba(0, 0, 0, .62);
  --tv-dock: #0f1a18; --tv-dock-fg: #a3b3ab; --tv-dock-on: #e8c878; --tv-chip: rgba(10, 18, 17, .78); --tv-chip-fg: #e8c878;
  --tv-head: 'Noto Sans', system-ui, sans-serif; --tv-track: -.03em;
  background: var(--tv-bg); color: var(--tv-ink);
}
body:has(#screen-list.md.lv-teen:not(.hidden)) { background: #0b1312 !important; }
#screen-list.md .md-app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
/* (tv2-front review 2026-11-01: in this flex column a view's `margin: 0 auto` shrank it to its content, a Souk page to
   460 px on a laptop: every old view takes the full width again, up to its own max-width) */
#screen-list.md .md-app > .md-main { width: 100%; box-sizing: border-box; }

/* ── the band ── */
#screen-list.md .tv-bd {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; min-height: 62px; padding: 8px 10px; flex: none;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  background: var(--tv-band); color: var(--tv-band-fg); box-shadow: inset 0 -3px 0 var(--tv-band-line);
}
#screen-list.md.lv-teen .tv-bd { box-shadow: inset 0 -1px 0 var(--tv-band-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#screen-list.md .tv-bd-back {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 248, .12); color: inherit; text-decoration: none;
  transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tv-bd-back:active { transform: scale(.94); }
#screen-list.md .tv-bd-back svg { width: 24px; height: 24px; }
#screen-list.md .tv-bd-t { flex: 1; min-width: 0; margin: 0; font: 800 23px/1.05 var(--tv-head); letter-spacing: var(--tv-track); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 2px; color: inherit; }
#screen-list.md .tv-lockup { white-space: nowrap; }
#screen-list.md .tv-bug {
  display: inline-block; margin-left: .14em; padding: .07em .2em .01em; border-radius: .2em; font-size: .66em; line-height: 1;
  background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; transform: rotate(-6deg) translateY(-.08em);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6); letter-spacing: 0;
}
#screen-list.md .tv-streak {
  flex: none; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 11px 0 8px; border-radius: 999px;
  background: rgba(255, 253, 248, .12); color: #ffd27a; font: 800 16px var(--tv-ui); font-variant-numeric: tabular-nums;
}
#screen-list.md .tv-streak svg { width: 20px; height: 20px; }
#screen-list.md .tv-streak small { font: 700 12px var(--tv-ui); color: rgba(255, 236, 190, .85); }
#screen-list.md .tv-streak.is-zero { color: rgba(255, 253, 248, .6); }
#screen-list.md .tv-bd-av { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #f3e2b3; box-shadow: 0 0 0 2px #e8c878; }
#screen-list.md .tv-bd-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
#screen-list.md .tv-bd-links { display: none; }
#screen-list.md .tv-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #c62828; color: #fff; font: 800 12px/20px var(--tv-ui); text-align: center; }

/* ── the home ── */
#screen-list.md .tv-hm { flex: 1; display: grid; gap: 16px; align-content: start; padding: 12px 12px 18px; width: 100%; max-width: 680px; margin: 0 auto; }
#screen-list.md .tv-hm-main { display: grid; gap: 14px; min-width: 0; }
#screen-list.md .tv-hm-more { display: grid; gap: 12px; min-width: 0; }
#screen-list.md .tv-hm-more:empty { display: none; }

/* the episode card */
#screen-list.md .tv-hero {
  position: relative; height: clamp(380px, calc(100vh - 356px), 520px); height: clamp(380px, calc(100dvh - 356px), 520px);
  border-radius: 24px; overflow: hidden; isolation: isolate; color: #fffdf8; background: #1a1012; box-shadow: 0 24px 40px -26px var(--tv-shadow);
}
#screen-list.md .tv-pg .tv-hero { height: clamp(360px, calc(100vh - 300px), 500px); height: clamp(360px, calc(100dvh - 300px), 500px); }
#screen-list.md .tv-hero-sc { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
#screen-list.md .tv-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 5, 10, .28) 0%, rgba(8, 5, 10, 0) 22%, rgba(8, 5, 10, 0) 36%, rgba(8, 5, 10, .62) 60%, rgba(8, 5, 10, .92) 100%); }
#screen-list.md.lv-teen .tv-hero::before { background: linear-gradient(180deg, rgba(4, 10, 9, .35) 0%, rgba(4, 10, 9, 0) 24%, rgba(4, 10, 9, .1) 38%, rgba(4, 10, 9, .72) 62%, rgba(4, 10, 9, .96) 100%); }
#screen-list.md .tv-hero::after { content: ""; position: absolute; inset: 7px; z-index: 6; pointer-events: none; border: 1.5px solid rgba(232, 200, 120, .55); border-radius: 18px; }
#screen-list.md .tv-chip {
  position: absolute; z-index: 5; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px;
  border-radius: 999px; background: var(--tv-chip); color: var(--tv-chip-fg); font: 800 15px var(--tv-ui); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6);
}
#screen-list.md.lv-teen .tv-chip { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(232, 200, 120, .4); }
#screen-list.md .tv-chip svg { width: 18px; height: 18px; }
#screen-list.md .tv-chip.is-ok { background: #1f6b45; color: #fff; box-shadow: none; }
#screen-list.md .tv-chip.is-later { background: rgba(10, 8, 12, .6); color: #fffdf8; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#screen-list.md .tv-hero-body { position: absolute; z-index: 5; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 12px; }
#screen-list.md .tv-epb {
  justify-self: start; display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px 3px; border-radius: 999px;
  background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; font: 800 14px/1.3 var(--tv-ui);
}
#screen-list.md .tv-epb b { font-size: 18px; font-variant-numeric: tabular-nums; }
#screen-list.md .tv-hero-t { margin: 0; max-width: 12.5ch; font: 800 33px/.98 var(--tv-head); letter-spacing: var(--tv-track); text-wrap: balance; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); color: #fffdf8; }
#screen-list.md.lv-teen .tv-hero-t { font-size: 34px; line-height: .98; }
#screen-list.md .tv-hero-t:focus { outline: none; }
#screen-list.md .tv-hero-ch { position: absolute; z-index: 3; right: -2px; bottom: 154px; height: 46%; width: auto; max-width: 52%; object-fit: contain; object-position: right bottom; pointer-events: none; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
#screen-list.md .tv-hero-ch.is-small { height: 25%; right: 16px; bottom: 160px; }
#screen-list.md .tv-hero.is-done .tv-hero-ch { bottom: 150px; height: 42%; }
#screen-list.md .tv-hero-ch.is-hop { animation: tv-hop 1.1s var(--tv-ease) 0.15s 2; }
@keyframes tv-hop { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-22px) rotate(-3deg); } 55% { transform: translateY(0) scaleY(.96); } 75% { transform: translateY(-8px); } }
/* the REC frame of the teens' card: the viewfinder's four corners and a blinking REC */
#screen-list.md .tv-vf {
  --c: rgba(255, 255, 255, .6); position: absolute; inset: 18px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / 34px 3px no-repeat, linear-gradient(var(--c), var(--c)) top left / 3px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 34px 3px no-repeat, linear-gradient(var(--c), var(--c)) top right / 3px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 34px 3px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 3px 34px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 34px 3px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 3px 34px no-repeat;
}
#screen-list.md .tv-rec { position: absolute; z-index: 5; right: 22px; top: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 800 13px var(--tv-ui); letter-spacing: .08em; }
#screen-list.md .tv-rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; animation: tv-blink 1.2s ease-in-out infinite; }
@keyframes tv-blink { 50% { opacity: .35; } }
/* the two pills: where the kid is, and a shortcut each */
#screen-list.md .tv-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#screen-list.md .tv-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 7px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 253, 248, .16); color: #fffdf8; font: 700 15.5px var(--tv-ui); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, .22); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tv-pill:active { transform: scale(.97); }
#screen-list.md .tv-pill i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
#screen-list.md .tv-pill i svg { width: 18px; height: 18px; }
#screen-list.md .tv-pill em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: #f3dc9a; }
#screen-list.md .tv-pill.is-done i { background: #1f6b45; }
#screen-list.md .tv-pill.is-now { background: #fffdf8; color: #1c1a17; box-shadow: 0 0 0 3px rgba(232, 200, 120, .75); }
#screen-list.md .tv-pill.is-now em { color: #85631d; }
#screen-list.md .tv-pill.is-now.k-words i { background: #24804f; color: #fff; }
#screen-list.md .tv-pill.is-now.k-video i { background: #c62828; color: #fff; }
/* the one button (pills; every button of Dralingo TV) */
#screen-list.md .tv-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 22px;
  border: 0; border-radius: 999px; color: #fff; font: 800 19px/1.1 var(--tv-ui); white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 22px -12px rgba(0, 0, 0, .65); transition: transform 140ms var(--tv-ease), filter 160ms ease;
}
#screen-list.md .tv-cta:active { transform: scale(.97); }
#screen-list.md .tv-cta svg { width: 24px; height: 24px; }
#screen-list.md .tv-cta.is-words { background: linear-gradient(180deg, #2b9a5d 0%, #1f7748 100%); }
#screen-list.md .tv-cta.is-rec { background: linear-gradient(180deg, #dc3d35 0%, #b52121 100%); }
#screen-list.md .tv-cta.is-gold { background: linear-gradient(180deg, #f3db93 0%, #d6ad55 100%); color: #3d0707; }
#screen-list.md .tv-cta.is-glass { background: rgba(255, 253, 248, .16); color: #fffdf8; box-shadow: inset 0 0 0 1.5px rgba(255, 253, 248, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#screen-list.md .tv-cta.is-quiet { background: transparent; color: var(--tv-ink); box-shadow: inset 0 0 0 2px var(--tv-line); min-height: 52px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) { #screen-list.md .tv-cta:hover { filter: brightness(1.06); } }
#screen-list.md .tv-recdot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); animation: tv-blink 1.4s ease-in-out infinite; }
#screen-list.md .tv-quiet {
  justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: rgba(10, 8, 12, .5); color: #fffdf8; font: 700 15px var(--tv-ui); cursor: pointer;
}
#screen-list.md .tv-quiet svg { width: 18px; height: 18px; }

/* the season */
#screen-list.md .tv-season { display: grid; gap: 8px; align-content: start; min-width: 0; }
#screen-list.md .tv-season-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px; }
#screen-list.md .tv-season-t { margin: 0; font: 800 21px/1.1 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tv-lvl, #screen-list.md .tv-class { font: 700 14px var(--tv-ui); color: var(--tv-mut); text-align: right; }
#screen-list.md .tv-class { color: var(--tv-gold-ink); }
#screen-list.md .tv-se-stage { --cw: min(60vw, 250px); height: calc(var(--cw) * .5625 + 86px); }
#screen-list.md .tv-se-stage .fly-slide { height: calc(var(--cw) * .5625 + 60px); }
#screen-list.md .tv-epc {
  position: absolute; inset: 0; display: flex; flex-direction: column; width: 100%; padding: 0; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--tv-surf); color: var(--tv-ink); text-align: left; text-decoration: none; box-shadow: 0 16px 26px -18px var(--tv-shadow), 0 0 0 1px var(--tv-line);
}
#screen-list.md .tv-epc-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
#screen-list.md .tv-epc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
#screen-list.md .tv-epc-n { position: absolute; left: 8px; top: 8px; min-width: 32px; height: 32px; padding: 0 10px; border-radius: 999px; background: rgba(10, 8, 10, .62); color: #fff; font: 800 16px/32px var(--tv-ui); text-align: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
#screen-list.md .tv-ep-ok, #screen-list.md .tv-ep-now { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .5); }
#screen-list.md .tv-ep-ok { background: #1f6b45; color: #fff; }
#screen-list.md .tv-ep-now { background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; }
#screen-list.md .tv-ep-ok svg, #screen-list.md .tv-ep-now svg { width: 18px; height: 18px; }
#screen-list.md .tv-epc-t { padding: 9px 12px 0; font: 700 15.5px/1.2 var(--tv-ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#screen-list.md .tv-epc.is-now { box-shadow: 0 0 0 3px #e8c878, 0 0 26px -4px rgba(232, 200, 120, .85), 0 16px 26px -18px var(--tv-shadow); }
#screen-list.md .tv-epc .g-shine { z-index: 4; }
#screen-list.md .tv-epc .g-shade { background: var(--tv-bg); }
/* only the card in the middle shows its title: the half-visible ones are pictures (fewer words to read) */
#screen-list.md .tv-se-stage .fly-slide .tv-epc-t { transition: opacity 200ms ease; }
#screen-list.md .tv-se-stage .fly-slide:not(.is-active) .tv-epc-t { opacity: 0; }
#screen-list.md .tv-se-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#screen-list.md .tv-se-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 5px 10px 5px 5px;
  border-radius: 16px; background: var(--tv-surf); color: var(--tv-ink); text-decoration: none; box-shadow: 0 0 0 1px var(--tv-line); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tv-se-row:active { transform: scale(.98); }
#screen-list.md .tv-se-pic { position: relative; display: block; width: 96px; height: 54px; }
#screen-list.md .tv-se-pic img { width: 96px; height: 54px; border-radius: 10px; object-fit: cover; display: block; }
#screen-list.md .tv-se-pic .tv-epc-n { left: 4px; top: 4px; min-width: 24px; height: 24px; padding: 0 7px; font-size: 13px; line-height: 24px; }
#screen-list.md .tv-se-txt { min-width: 0; }
#screen-list.md .tv-se-txt b { display: block; font: 800 13px var(--tv-ui); color: var(--tv-gold-ink); }
#screen-list.md .tv-se-txt span { display: block; font: 700 15px/1.2 var(--tv-ui); }
#screen-list.md .tv-se-row .tv-ep-ok, #screen-list.md .tv-se-row .tv-ep-now { position: static; }
#screen-list.md .tv-se-row.is-now { box-shadow: 0 0 0 2.5px #e8c878, 0 0 22px -6px rgba(232, 200, 120, .9); }
@media (hover: hover) and (pointer: fine) { #screen-list.md .tv-se-row:hover { box-shadow: 0 0 0 2px var(--tv-gold-ink); } #screen-list.md .tv-se-row.is-now:hover { box-shadow: 0 0 0 2.5px #e8c878, 0 0 22px -6px rgba(232, 200, 120, .9); } }

/* the dock (a phone): the rest, one tap away */
/* (fixed like the old tabs: #screen-list.has-tabs keeps room under the page for it and lifts «Tu guía» above it) */
#screen-list.md .tv-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--tv-dock); box-shadow: 0 -1px 0 var(--tv-line), 0 -12px 24px -20px var(--tv-shadow);
}
#screen-list.md .tv-dock-i {
  position: relative; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 14px;
  background: none; color: var(--tv-dock-fg); font: 800 12.5px var(--tv-ui); text-decoration: none; cursor: pointer;
}
#screen-list.md .tv-dock-i svg { width: 26px; height: 26px; }
/* «Todas las palabras» (2026-11-04): the longest label wraps on two centred lines inside its cell */
#screen-list.md .tv-dock-all span { max-width: 10ch; text-align: center; line-height: 1.05; }
#screen-list.md .tv-dock-i.is-on { color: var(--tv-dock-on); }
#screen-list.md .tv-dock-i:active { transform: scale(.95); }

/* the views with a band: an episode, Practicar, Mensajes… */
#screen-list.md .tv-pg { flex: 1; display: grid; gap: 14px; align-content: start; padding: 14px 14px 24px; width: 100%; max-width: 680px; margin: 0 auto; }
#screen-list.md .tv-book { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 18px; background: var(--tv-surf); box-shadow: 0 0 0 1px var(--tv-line); color: var(--tv-ink); }
#screen-list.md .tv-book img { width: 92px; height: 62px; border-radius: 12px; object-fit: cover; flex: none; }
#screen-list.md .tv-book b { display: block; font: 800 16px var(--tv-ui); }
#screen-list.md .tv-book span { font: 600 14px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-sec { display: grid; gap: 8px; }
#screen-list.md .tv-sec-h { margin: 0; padding: 0 4px; font: 800 19px/1.15 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tv-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#screen-list.md .tv-tile {
  position: relative; display: grid; align-content: end; min-height: 168px; padding: 12px; border-radius: 20px; overflow: hidden; text-align: left; text-decoration: none;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line), 0 14px 24px -20px var(--tv-shadow);
}
#screen-list.md .tv-tile img { position: absolute; right: -6px; top: 6px; height: 64%; width: auto; pointer-events: none; }
#screen-list.md .tv-tile b { position: relative; font: 800 18px/1.1 var(--tv-head); letter-spacing: var(--tv-track); }
#screen-list.md .tv-tile small { position: relative; font: 700 13px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-tile.is-soon img { opacity: .55; }
#screen-list.md .tv-soon { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--tv-surf2); color: var(--tv-gold-ink); font: 800 12px var(--tv-ui); }
#screen-list.md .tv-lulu-say { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 8px; border-radius: 20px; background: var(--tv-surf); box-shadow: 0 0 0 1px var(--tv-line); color: var(--tv-ink); }
#screen-list.md .tv-lulu-say img { width: 84px; height: 84px; object-fit: contain; flex: none; }
#screen-list.md .tv-lulu-say p { margin: 0; font: 600 16px/1.4 var(--tv-ui); }
/* the views kept from before (Mensajes, Mis oraciones, Desafío, El Simulacro Dorado, Practicar más) under the TV band */
#screen-list.md .md-view { width: 100%; max-width: 680px; margin: 0 auto; flex: 1; }
#screen-list.md.lv-teen .md-view, #screen-list.md.lv-teen .md-main { color: var(--tv-ink); }
#screen-list.md.lv-teen .md-view-body, #screen-list.md.lv-teen .md-main .md-exp-body { background: transparent; }
#screen-list.md.lv-teen .md-msg, #screen-list.md.lv-teen .md-who, #screen-list.md.lv-teen .md-say,
#screen-list.md.lv-teen .md-step, #screen-list.md.lv-teen .md-pr-sec, #screen-list.md.lv-teen .md-tp, #screen-list.md.lv-teen .md-more,
#screen-list.md.lv-teen .md-dor-state, #screen-list.md.lv-teen .md-folder, #screen-list.md.lv-teen .md-books li, #screen-list.md.lv-teen .md-wait,
#screen-list.md.lv-teen .md-strip, #screen-list.md.lv-teen .md-zoco, #screen-list.md.lv-teen .md-afford, #screen-list.md.lv-teen .rp-hw {
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line);
}
#screen-list.md.lv-teen :is(.md-step-l, .md-tp-t small, .md-more-t small, .md-msg-h span, .md-who-s, .md-quiet, .md-folder-t small, .md-strip-t span, .md-zoco-t small) { color: var(--tv-mut); }
#screen-list.md.lv-teen :is(.md-step-t, .md-pr-h, .md-h3, .md-tp-t b, .md-more-t b, .md-who-t, .md-msg-t, .md-strip-t b, .md-zoco-t b, .md-folder-t b) { color: var(--tv-ink); }

/* ── the word deck (js/tv-words.js) and the video step's page ── */
#screen-list.md .tv-full { flex: 1; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--tv-bg); color: var(--tv-ink); }
#screen-list.md .tvw { width: 100%; max-width: 560px; margin: 0 auto; }
#screen-list.md .tvw-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 2px; padding-top: max(10px, env(safe-area-inset-top, 0px)); }
#screen-list.md .tvw-x {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tvw-x:active { transform: scale(.94); }
#screen-list.md .tvw-x svg { width: 22px; height: 22px; }
#screen-list.md .tvw-count { flex: 1; margin: 0; text-align: center; font: 800 19px var(--tv-ui); font-variant-numeric: tabular-nums; }
#screen-list.md .tvw-count b { color: #24804f; }
#screen-list.md.lv-teen .tvw-count b { color: #4cc27f; }
#screen-list.md .tvw-pad { width: 48px; flex: none; }
#screen-list.md .tvw-bar { display: flex; gap: 4px; padding: 6px 18px 0; }
#screen-list.md .tvw-bar i { flex: 1; height: 8px; border-radius: 4px; background: var(--tv-line); transition: background-color 300ms ease; }
#screen-list.md .tvw-bar i.on { background: #24804f; }
#screen-list.md .tvw-meter { margin: 6px 18px 0; height: 8px; border-radius: 4px; background: var(--tv-line); overflow: hidden; }
#screen-list.md .tvw-meter i { display: block; height: 100%; border-radius: 4px; background: #24804f; transition: width 300ms var(--tv-ease); }
#screen-list.md.lv-teen .tvw-bar i.on, #screen-list.md.lv-teen .tvw-meter i { background: #3aa86b; }
#screen-list.md .tvw-rec {
  display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 6px 6px 6px 4px; border-radius: 20px; background: #1c1a17; color: #fffdf8;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .6); animation: tv-dropin 320ms var(--tv-ease);
}
#screen-list.md.lv-teen .tvw-rec { background: #1d2e2a; box-shadow: inset 0 0 0 1px rgba(232, 200, 120, .35); }
@keyframes tv-dropin { from { opacity: 0; transform: translateY(-10px); } }
#screen-list.md .tvw-rec img { width: 54px; height: 54px; object-fit: contain; margin: -14px 0 -6px; flex: none; }
#screen-list.md .tvw-rec > span { flex: 1; font: 800 16px/1.15 var(--tv-ui); }
#screen-list.md .tvw-rec-go { min-height: 46px; padding: 0 16px; border-radius: 999px; background: linear-gradient(180deg, #dc3d35, #b52121); color: #fff; font: 800 16px var(--tv-ui); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
#screen-list.md .tvw-deck { position: relative; flex: 1; min-height: 380px; margin: 16px 18px 0; }
#screen-list.md .tvw-card {
  position: absolute; left: 0; right: 0; top: max(0px, calc((100% - 488px) / 2)); height: min(calc(100% - 18px), 470px); max-width: 380px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 14px 18px; border-radius: 26px; background: var(--tv-surf); box-shadow: 0 24px 40px -24px var(--tv-shadow), 0 0 0 1px var(--tv-line);
  touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; transform-origin: 50% 90%;
}
#screen-list.md.lv-teen .tvw-card { box-shadow: 0 24px 40px -24px var(--tv-shadow), 0 0 0 1px rgba(232, 200, 120, .32); }
#screen-list.md .tvw-card.b1 { transform: translateY(12px) scale(.94); opacity: .9; }
#screen-list.md .tvw-card.b2 { transform: translateY(24px) scale(.88); opacity: .6; }
#screen-list.md .tvw-card.b1 *, #screen-list.md .tvw-card.b2 * { visibility: hidden; }
#screen-list.md .tvw-pic { position: relative; width: 100%; flex: 1 1 auto; min-height: 0; max-height: 330px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--tv-surf2); }
#screen-list.md .tvw-pic > img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
#screen-list.md .tvw-pic.is-none { display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #fbf0d0, #ead7a6); }
#screen-list.md.lv-teen .tvw-pic.is-none { background: radial-gradient(60% 60% at 50% 45%, #22413a, #142622); }
#screen-list.md .tvw-pic.is-none > img { width: auto; height: 74%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .25)); }
#screen-list.md .tvw-play {
  position: absolute; right: 12px; bottom: 12px; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #3d0707; cursor: pointer;
  background: linear-gradient(180deg, #f3db93, #d6ad55); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tvw-play:active { transform: scale(.93); }
#screen-list.md .tvw-play svg { width: 28px; height: 28px; }
#screen-list.md .tvw-py { margin: 6px 0 0; font: 800 42px/1.1 'TV Pinyin', 'Noto Sans', system-ui, sans-serif; letter-spacing: -.01em; text-align: center; color: var(--tv-ink); overflow-wrap: anywhere; }
#screen-list.md .tvw-es { margin: 0; font: 600 18px/1.25 var(--tv-ui); color: var(--tv-mut); text-align: center; }
#screen-list.md .tvw-had { display: inline-flex; align-items: center; gap: 4px; font: 700 13px var(--tv-ui); color: #1f6b45; }
#screen-list.md.lv-teen .tvw-had { color: #4cc27f; }
#screen-list.md .tvw-had svg { width: 16px; height: 16px; }
#screen-list.md .tvw-seal { position: absolute; left: 50%; top: 38%; z-index: 5; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; display: grid; place-items: center; background: #1f7748; color: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, .7), 0 18px 30px -12px rgba(0, 0, 0, .5); }
#screen-list.md .tvw-seal svg { width: 70px; height: 70px; }
#screen-list.md .tvw-acts { display: grid; grid-template-columns: 1fr 1.45fr; gap: 10px; padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
#screen-list.md .tvw-acts .tv-cta { min-height: 62px; }
#screen-list.md .tvw-fin { flex: 1; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 10px 20px 24px; text-align: center; }
#screen-list.md .tvw-fin img { height: 200px; width: auto; }
#screen-list.md .tvw-fin p { margin: 0; font: 700 18px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvw-fin-t { margin: 0; font: 800 36px/1 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tvw-fin-t:focus { outline: none; }
#screen-list.md .tvw-fin .tv-cta { max-width: 360px; margin-top: 8px; }
/* (360 × 640 phones: the deck keeps its buttons on screen) */
@media (max-height: 700px) {
  #screen-list.md .tvw-deck { min-height: 300px; margin-top: 10px; }
  #screen-list.md .tvw-py { font-size: 34px; }
  #screen-list.md .tvw-rec { margin-top: 6px; }
}

/* ── a laptop (1000 px or more): the card and the season side by side; the band carries the links ── */
@media (min-width: 1000px) {
  #screen-list.md .tv-bd { min-height: 66px; padding: 8px 24px; gap: 12px; }
  #screen-list.md .tv-bd-t { flex: 0 1 auto; font-size: 27px; margin-right: auto; }
  #screen-list.md .tv-bd-links { display: flex; gap: 6px; }
  #screen-list.md .tv-bd-links a, #screen-list.md .tv-bd-links button {
    position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px;
    background: rgba(255, 253, 248, .1); color: inherit; font: 700 15px var(--tv-ui); text-decoration: none; cursor: pointer;
  }
  #screen-list.md .tv-bd-links svg { width: 22px; height: 22px; }
  #screen-list.md .tv-bd-links [aria-current="page"] { background: rgba(255, 253, 248, .22); }
  #screen-list.md .tv-bd-links .tv-badge { position: static; margin-left: 2px; }
  @media (hover: hover) and (pointer: fine) { #screen-list.md .tv-bd-links a:hover, #screen-list.md .tv-bd-links button:hover { background: rgba(255, 253, 248, .2); } }
  #screen-list.md .tv-hm { max-width: 1400px; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; padding: 18px 24px 22px; align-items: start; }
  #screen-list.md .tv-hero { height: max(440px, calc(100vh - 106px)); height: max(440px, calc(100dvh - 106px)); max-height: 720px; }
  #screen-list.md .tv-pg .tv-hero { height: clamp(420px, calc(100dvh - 160px), 600px); }
  #screen-list.md .tv-hero-body { left: 32px; right: 32px; bottom: 30px; max-width: 560px; gap: 16px; }
  #screen-list.md .tv-hero-t { font-size: 54px; max-width: 14ch; }
  #screen-list.md.lv-teen .tv-hero-t { font-size: 58px; }
  #screen-list.md .tv-hero-ch { right: 34px; bottom: 30px; height: 74%; max-width: 40%; }
  #screen-list.md .tv-hero-ch.is-small { height: 30%; right: 44px; bottom: 40px; }
  #screen-list.md .tv-hero.is-done .tv-hero-ch { bottom: 30px; height: 70%; }
  #screen-list.md .tv-pg { max-width: 980px; padding: 22px 24px; }
  #screen-list.md .tv-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #screen-list.md .tv-season { position: sticky; top: 84px; }
}
@media (min-width: 1000px) and (max-height: 700px) {
  #screen-list.md .tv-se-row { min-height: 52px; }
  #screen-list.md .tv-se-pic, #screen-list.md .tv-se-pic img { width: 80px; height: 45px; }
  #screen-list.md .tv-se-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
  #screen-list.md .tv-se-list { gap: 5px; }
}

/* ── 📝 2026-11-01 his review of the live version: the word test, the list, two seasons, «Salir del modo maestro» ── */
/* the test's button colour: a deep ocean blue (words green, video red, the test blue: three steps, three colours) */
#screen-list.md .tv-cta.is-test { background: linear-gradient(180deg, #2f6fd6 0%, #1e4fa8 100%); }
#screen-list.md .tv-pill.is-now.k-test i { background: #1e4fa8; color: #fff; }
/* the season: «Temporada 1 / 2» on each card, «Muy pronto» for a Round 2 episode whose homework has not come yet */
#screen-list.md .tv-epc-k { padding: 8px 12px 0; font: 800 12px/1 var(--tv-ui); letter-spacing: .02em; color: var(--tv-gold-ink); text-transform: uppercase; }
#screen-list.md .tv-epc-k + .tv-epc-t { padding-top: 3px; }
#screen-list.md .tv-se-stage .fly-slide:not(.is-active) .tv-epc-k { opacity: 0; }
#screen-list.md .tv-ep-soon { position: absolute; right: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 8, 12, .7); color: #f3dc9a; font: 800 12px var(--tv-ui); }
#screen-list.md .tv-epc.is-soon .tv-epc-pic img, #screen-list.md .tv-se-row.is-soon img { filter: grayscale(.85) brightness(.85); }
#screen-list.md .tv-epc.is-soon { cursor: default; }
#screen-list.md .tv-se-row.is-soon { opacity: .7; }
#screen-list.md .tv-se-row .tv-ep-soon { position: static; }
#screen-list.md .tv-se-round { margin: 6px 4px 2px; font: 800 14px var(--tv-ui); letter-spacing: .03em; text-transform: uppercase; color: var(--tv-gold-ink); }
/* the dock holds 3 or 4 doors (Practicar once the season's videos are sent) */
#screen-list.md .tv-dock { grid-template-columns: repeat(var(--n, 4), 1fr); }
/* an episode's «Todas las palabras» row */
#screen-list.md .tv-row {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 14px 8px 8px; border-radius: 18px; text-decoration: none;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tv-row:active { transform: scale(.98); }
#screen-list.md .tv-row > svg { width: 22px; height: 22px; flex: none; color: var(--tv-mut); }
#screen-list.md .tv-row-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #24804f; color: #fff; }
#screen-list.md .tv-row-ic svg { width: 26px; height: 26px; }
#screen-list.md .tv-row-t { flex: 1; min-width: 0; }
#screen-list.md .tv-row-t b { display: block; font: 800 17px/1.2 var(--tv-ui); }
#screen-list.md .tv-row-t small { display: block; font: 600 14px/1.3 var(--tv-ui); color: var(--tv-mut); }
/* «Salir del modo maestro» (a teacher's phone only; a kid never sees it) */
#screen-list.md .tv-teach {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 8px 10px 8px 14px; border-radius: 16px;
  background: #fff4d6; color: #5a3d06; font: 700 14px/1.3 var(--tv-ui); box-shadow: inset 0 0 0 1px #e8c878;
}
#screen-list.md.lv-teen .tv-teach { background: #2a2414; color: #f3dc9a; }
#screen-list.md .tv-teach span { flex: 1 1 180px; }
#screen-list.md .tv-teach button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #5a1010; color: #fff; font: 800 14px var(--tv-ui); cursor: pointer; }
/* the video's door before the words are proven */
#screen-list.md .tv-gate { display: grid; justify-items: center; gap: 12px; padding: 18px 16px 24px; border-radius: 24px; background: var(--tv-surf); box-shadow: 0 0 0 1px var(--tv-line); text-align: center; }
#screen-list.md .tv-gate img { width: 140px; height: 140px; object-fit: contain; }
#screen-list.md .tv-gate-t { margin: 0; font: 800 28px/1.05 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tv-gate-t:focus { outline: none; }
#screen-list.md .tv-gate p { margin: 0; max-width: 34ch; font: 600 16px/1.4 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-gate .tv-cta { max-width: 380px; }
/* the deck: a swipe browses; the arrows say so; the list ⇄ cards switch */
#screen-list.md .tvw-swap {
  flex: none; min-width: 48px; height: 48px; padding: 0 14px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line); font: 800 14px var(--tv-ui);
}
#screen-list.md .tvw-swap svg { width: 20px; height: 20px; }
#screen-list.md .tvw-nav {
  position: absolute; top: 42%; z-index: 4; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 6px 14px -8px var(--tv-shadow), 0 0 0 1px var(--tv-line);
}
#screen-list.md .tvw-nav svg { width: 22px; height: 22px; }
#screen-list.md .tvw-nav.is-prev { left: -10px; }
#screen-list.md .tvw-nav.is-next { right: -10px; }
#screen-list.md .tvw-hint { margin: 2px 0 0; text-align: center; font: 700 13px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvw-fin-s { font-size: 16px !important; }
#screen-list.md .tvw-rec.is-test .tvw-rec-go { background: linear-gradient(180deg, #2f6fd6, #1e4fa8); }
#screen-list.md .tvw-rec-go svg { width: 18px; height: 18px; }
/* the list: every word of the episode */
#screen-list.md .tvl { width: 100%; padding: 8px 14px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; }
#screen-list.md .tvl-t { margin: 4px 0 0; font: 800 28px/1.05 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tvl-t:focus { outline: none; }
#screen-list.md .tvl-sub { margin: 0; font: 700 15px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvl-tip { margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--tv-surf2); color: var(--tv-ink); font: 600 14.5px/1.4 var(--tv-ui); }
#screen-list.md .tvl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#screen-list.md .tvl-row { display: flex; align-items: center; gap: 8px; }
#screen-list.md .tvl-play {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 6px 12px 6px 6px; border: 0; border-radius: 18px; cursor: pointer; text-align: left;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line); transition: transform 140ms var(--tv-ease);
}
#screen-list.md .tvl-play:active { transform: scale(.98); }
#screen-list.md .tvl-play.is-playing { box-shadow: 0 0 0 2.5px #e8c878; }
#screen-list.md .tvl-play img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--tv-surf2); }
#screen-list.md .tvl-dot { width: 64px; height: 64px; border-radius: 12px; flex: none; background: var(--tv-surf2); }
#screen-list.md .tvl-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
#screen-list.md .tvl-py { font: 800 24px/1.1 'TV Pinyin', 'Noto Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
#screen-list.md .tvl-es { font: 600 15px/1.25 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvl-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; }
#screen-list.md .tvl-ic svg { width: 20px; height: 20px; }
#screen-list.md .tvl-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #1f6b45; color: #fff; }
#screen-list.md .tvl-ok.is-no { background: transparent; box-shadow: inset 0 0 0 2px var(--tv-line); }
#screen-list.md .tvl-ok svg { width: 18px; height: 18px; }
#screen-list.md .tvl-go { position: sticky; bottom: 0; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, var(--tv-bg) 30%); }
/* the word test */
#screen-list.md .tvp { width: 100%; max-width: 560px; margin: 0 auto; }
#screen-list.md .tvp-q { display: grid; justify-items: center; gap: 4px; padding: 10px 18px 0; text-align: center; }
#screen-list.md .tvp-pic { width: min(56vw, 240px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--tv-surf2); box-shadow: 0 0 0 1px var(--tv-line); }
#screen-list.md .tvp-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#screen-list.md .tvp-pic.is-none { display: grid; place-items: center; }
#screen-list.md .tvp-pic.is-none img { width: auto; height: 74%; object-fit: contain; }
#screen-list.md .tvp-k { margin: 6px 0 0; font: 800 14px var(--tv-ui); letter-spacing: .03em; text-transform: uppercase; color: var(--tv-gold-ink); }
#screen-list.md .tvp-es { margin: 0; font: 800 30px/1.1 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); text-wrap: balance; }
#screen-list.md .tvp-es:focus { outline: none; }
#screen-list.md .tvp-opts { display: grid; gap: 10px; padding: 14px 16px 6px; }
#screen-list.md .tvp-opt { display: flex; align-items: stretch; gap: 8px; border-radius: 18px; }
#screen-list.md .tvp-ans {
  flex: 1; min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 8px; border: 0; border-radius: 18px; cursor: pointer; text-align: left;
  background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 2px var(--tv-line), 0 10px 18px -16px var(--tv-shadow); transition: transform 140ms var(--tv-ease), background-color 160ms ease;
}
#screen-list.md .tvp-ans:active { transform: scale(.97); }
#screen-list.md .tvp-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--tv-surf2); font: 800 15px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvp-py { font: 800 26px/1.1 'TV Pinyin', 'Noto Sans', system-ui, sans-serif; overflow-wrap: anywhere; }
#screen-list.md .tvp-say { flex: none; width: 56px; border: 0; border-radius: 18px; display: grid; place-items: center; cursor: pointer; background: var(--tv-surf2); color: var(--tv-ink); box-shadow: 0 0 0 2px var(--tv-line); }
#screen-list.md .tvp-say svg { width: 24px; height: 24px; }
#screen-list.md .tvp-opt.is-ok .tvp-ans { background: #1f7748; color: #fff; box-shadow: 0 0 0 2px #1f7748; }
#screen-list.md .tvp-opt.is-ok .tvp-n { background: rgba(255, 255, 255, .25); color: #fff; }
#screen-list.md .tvp-opt.is-bad .tvp-ans { background: #fde8e6; color: #8f1d17; box-shadow: 0 0 0 2px #d94b3f; }
#screen-list.md.lv-teen .tvp-opt.is-bad .tvp-ans { background: #3a1714; color: #ffb4ab; }
#screen-list.md .tvp-fb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 64px; padding: 4px 16px calc(14px + env(safe-area-inset-bottom, 0px)); font: 700 17px/1.3 var(--tv-ui); color: var(--tv-ink); text-align: center; }
#screen-list.md .tvp-fb img { width: 56px; height: 56px; object-fit: contain; }
#screen-list.md .tvp-fb .tvp-next { width: auto; min-height: 46px; flex-basis: 100%; max-width: 260px; }
#screen-list.md .tvp-intro p, #screen-list.md .tvp-done p { max-width: 34ch; }
#screen-list.md .tvp-intro img { height: 150px; }
#screen-list.md .tvp-miss { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#screen-list.md .tvp-miss li { display: grid; padding: 8px 14px; border-radius: 14px; background: var(--tv-surf); box-shadow: 0 0 0 1px var(--tv-line); }
#screen-list.md .tvp-miss b { font: 800 20px 'TV Pinyin', 'Noto Sans', system-ui, sans-serif; color: var(--tv-ink); }
#screen-list.md .tvp-miss span { font: 600 13px var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tvp-hop { animation: tv-hop 1.1s var(--tv-ease) .1s 1; }
@media (max-height: 700px) {
  #screen-list.md .tvp-pic { width: min(40vw, 150px); }
  #screen-list.md .tvp-es { font-size: 25px; }
  #screen-list.md .tvp-ans { min-height: 54px; }
  #screen-list.md .tvp-py { font-size: 22px; }
}
/* (fresh-eyes review 2026-11-01) the one button never runs off the card on a 360 px phone; the teens' old back links
   read on the dark page; «Tus episodios» and the class line stack; the cards' count says what it counts */
@media (max-width: 380px) {
  #screen-list.md .tv-cta { font-size: 17px; padding: 0 14px; gap: 8px; }
  #screen-list.md .tv-cta svg { width: 21px; height: 21px; }
}
#screen-list.md .tv-cta.is-test { white-space: normal; text-align: center; line-height: 1.12; }
#screen-list.md.lv-teen .md-back:not(.md-back-glass):not(.md-back-light) { color: #e8c878; background: rgba(232, 200, 120, .12); }
#screen-list.md .tv-season-h { flex-wrap: wrap; row-gap: 2px; }
#screen-list.md .tvw-count small { font-size: 14px; font-weight: 700; color: var(--tv-mut); }
/* the Super Master pill (js/super-admin-badge.js) never sits on the phone's dock */
@media (max-width: 999px) { body.md-in:has(#screen-list.has-tabs:not(.hidden)) #sa-badge { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }

/* ── 📺 2026-11-01 midday · his second review: a season = an experience, its two episodes = its two videos, THE THREE
   STEPS impossible to miss (Paso 1 · Marca tus palabras → Paso 2 · Pasa la prueba → Paso 3 · Graba y manda tus 2 videos;
   done = green ✓, the next one = the big button with «Empieza aquí», a locked one = a lock and its one line), «Tarea
   hecha ✓», little locks on the seasons not open yet ── */
/* the card carries the ladder: a taller card, the character up top, the steps at the bottom */
#screen-list.md .tv-hero.has-steps { height: clamp(470px, calc(100vh - 250px), 640px); height: clamp(470px, calc(100dvh - 250px), 640px); }
#screen-list.md .tv-pg .tv-hero.has-steps { height: clamp(470px, calc(100vh - 170px), 640px); height: clamp(470px, calc(100dvh - 170px), 640px); }
#screen-list.md .tv-hero.has-steps .tv-hero-ch { bottom: auto; top: 4%; height: 40%; max-width: 46%; }
#screen-list.md .tv-hero.has-steps .tv-hero-ch.is-small { top: 7%; height: 22%; right: 16px; }
#screen-list.md .tv-hero.has-steps .tv-hero-body { gap: 10px; }
#screen-list.md .tv-hero.has-steps .tv-hero-t { font-size: 30px; max-width: 16ch; }
#screen-list.md.lv-teen .tv-hero.has-steps .tv-hero-t { font-size: 31px; }
#screen-list.md .tv-hero.has-steps::before { background: linear-gradient(180deg, rgba(8, 5, 10, .2) 0%, rgba(8, 5, 10, 0) 18%, rgba(8, 5, 10, 0) 26%, rgba(8, 5, 10, .7) 46%, rgba(8, 5, 10, .94) 64%, rgba(8, 5, 10, .97) 100%); }
#screen-list.md.lv-teen .tv-hero.has-steps::before { background: linear-gradient(180deg, rgba(4, 10, 9, .3) 0%, rgba(4, 10, 9, 0) 20%, rgba(4, 10, 9, .1) 28%, rgba(4, 10, 9, .78) 46%, rgba(4, 10, 9, .97) 64%, rgba(4, 10, 9, .98) 100%); }
/* the ladder */
#screen-list.md .tv-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
#screen-list.md .tv-st { position: relative; }
#screen-list.md .tv-st-row {
  display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 6px 12px 6px 7px; border-radius: 16px; text-decoration: none; color: #fffdf8;
  background: rgba(255, 253, 248, .1); box-shadow: inset 0 0 0 1px rgba(255, 253, 248, .18); transition: transform 140ms var(--tv-ease);
}
#screen-list.md a.tv-st-row:active { transform: scale(.98); }
#screen-list.md .tv-st-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 17px/1 var(--tv-ui); font-style: normal;
  background: rgba(255, 253, 248, .22); color: #fffdf8; font-variant-numeric: tabular-nums;
}
#screen-list.md .tv-st-n svg { width: 18px; height: 18px; }
#screen-list.md .tv-st-n.is-ok { background: #24804f; color: #fff; }
#screen-list.md .tv-st-n.is-lock { background: rgba(255, 253, 248, .12); color: rgba(255, 253, 248, .75); }
#screen-list.md .tv-st-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
#screen-list.md .tv-st-t b { font: 800 15.5px/1.2 var(--tv-ui); }
#screen-list.md .tv-st-t small { font: 600 13px/1.25 var(--tv-ui); color: rgba(255, 253, 248, .78); }
#screen-list.md .tv-st.is-done .tv-st-t b { color: #b9ecc9; }
#screen-list.md .tv-st.is-lock .tv-st-row { background: rgba(255, 253, 248, .05); box-shadow: inset 0 0 0 1px rgba(255, 253, 248, .1); }
#screen-list.md .tv-st.is-lock .tv-st-t b { color: rgba(255, 253, 248, .7); }
/* the next step: THE button, its colour by kind (words green, the test blue, the video red) */
#screen-list.md .tv-st.is-now .tv-st-row { min-height: 66px; padding: 8px 10px 8px 8px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 22px -12px rgba(0, 0, 0, .7); }
#screen-list.md .tv-st.is-now.k-words .tv-st-row { background: linear-gradient(180deg, #2b9a5d 0%, #1f7748 100%); }
#screen-list.md .tv-st.is-now.k-test .tv-st-row { background: linear-gradient(180deg, #2f6fd6 0%, #1e4fa8 100%); }
#screen-list.md .tv-st.is-now.k-video .tv-st-row { background: linear-gradient(180deg, #dc3d35 0%, #b52121 100%); }
#screen-list.md .tv-st.is-now .tv-st-n { background: #fffdf8; color: #1c1a17; }
#screen-list.md .tv-st.is-now .tv-st-t b { font-size: 17px; }
#screen-list.md .tv-st.is-now .tv-st-t small { color: rgba(255, 255, 255, .9); }
#screen-list.md .tv-st-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
#screen-list.md .tv-st-go svg { width: 22px; height: 22px; }
/* «Empieza aquí»: a gold tag with its arrow, on the button it points at */
#screen-list.md .tv-st-here {
  position: absolute; z-index: 2; right: 14px; top: -13px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px 3px 7px; border-radius: 999px;
  background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; font: 800 13px/1.2 var(--tv-ui); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); pointer-events: none;
}
#screen-list.md .tv-st-here svg { width: 15px; height: 15px; animation: tv-nudge 1.4s var(--tv-ease) infinite; }
@keyframes tv-nudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
#screen-list.md .tv-st.is-first { margin-top: 8px; }
/* «Tarea hecha ✓»: the stamp of a video sent, and what it opened */
#screen-list.md .tv-done-stamp {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: #1f7748; color: #fff; font: 800 24px/1 var(--tv-head); letter-spacing: var(--tv-track); box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .25);
}
#screen-list.md .tv-done-stamp i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1f7748; }
#screen-list.md .tv-done-stamp svg { width: 24px; height: 24px; }
#screen-list.md .tv-hero.is-sent .tv-hero-ch { bottom: auto; top: 6%; height: 38%; }
#screen-list.md .tv-unlock { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px; border-radius: 14px; background: linear-gradient(180deg, #f3db93, #d6ad55); color: #3d0707; font: 800 16px/1.2 var(--tv-ui); }
#screen-list.md .tv-unlock svg { width: 20px; height: 20px; flex: none; }
#screen-list.md .tv-next-line { margin: 0; font: 700 16px/1.35 var(--tv-ui); color: rgba(255, 253, 248, .92); text-wrap: balance; }
/* the seasons: the two episodes as marks, a lock and its one line */
#screen-list.md .tv-se-stage { height: calc(var(--cw) * .5625 + 128px); }
#screen-list.md .tv-se-stage .fly-slide { height: calc(var(--cw) * .5625 + 104px); }
#screen-list.md .tv-eps { display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 12px 0; }
#screen-list.md .tv-se-txt .tv-eps { padding: 4px 0 0; }
#screen-list.md .tv-ep {
  display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 9px; border-radius: 999px; font: 800 12px/1 var(--tv-ui);
  background: var(--tv-surf2); color: var(--tv-mut); box-shadow: inset 0 0 0 1px var(--tv-line);
}
#screen-list.md .tv-ep svg { width: 13px; height: 13px; }
#screen-list.md .tv-ep.is-ok { background: #1f6b45; color: #fff; box-shadow: none; }
#screen-list.md .tv-ep.is-now { background: #fff4d6; color: #5a3d06; box-shadow: inset 0 0 0 1.5px #e8c878; }
#screen-list.md.lv-teen .tv-ep.is-now { background: #2a2414; color: #f3dc9a; }
#screen-list.md .tv-ep.is-soon { opacity: .75; }
#screen-list.md .tv-ep-lock { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 8, 12, .72); color: #f3dc9a; }
#screen-list.md .tv-ep-lock svg { width: 17px; height: 17px; }
#screen-list.md .tv-se-row .tv-ep-lock { position: static; }
#screen-list.md .tv-epc.is-lock .tv-epc-pic img, #screen-list.md .tv-se-row.is-lock img { filter: grayscale(.9) brightness(.8); }
#screen-list.md .tv-epc-why { display: flex; align-items: flex-start; gap: 5px; padding: 6px 12px 0; font: 700 12.5px/1.25 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-epc-why svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
#screen-list.md .tv-se-stage .fly-slide:not(.is-active) :is(.tv-eps, .tv-epc-why) { opacity: 0; }
#screen-list.md .tv-se-why { display: block; margin-top: 2px; font: 700 12.5px/1.25 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-se-row.is-lock { opacity: .85; }
/* a season's page: its card, the three steps as big cards, what the videos open */
#screen-list.md .tv-sp-card { position: relative; display: grid; align-items: end; min-height: 168px; border-radius: 22px; overflow: hidden; isolation: isolate; color: #fffdf8; background: #1a1012; }
#screen-list.md .tv-sp-card > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
#screen-list.md .tv-sp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 5, 10, 0) 20%, rgba(8, 5, 10, .85) 100%); }
#screen-list.md .tv-sp-card > div { display: grid; gap: 6px; padding: 14px 16px 14px; }
#screen-list.md .tv-sp-t { margin: 0; font: 800 30px/1 var(--tv-head); letter-spacing: var(--tv-track); color: #fffdf8; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
#screen-list.md .tv-sp-t:focus { outline: none; }
#screen-list.md .tv-sp-of { margin: 0; font: 700 14px var(--tv-ui); color: rgba(255, 253, 248, .86); }
#screen-list.md .tv-sp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
#screen-list.md .tv-sp-st { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: var(--tv-surf); color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-line), 0 14px 24px -22px var(--tv-shadow); }
#screen-list.md .tv-sp-st.is-now.k-words { box-shadow: 0 0 0 3px #2b9a5d, 0 14px 24px -18px var(--tv-shadow); }
#screen-list.md .tv-sp-st.is-now.k-test { box-shadow: 0 0 0 3px #2f6fd6, 0 14px 24px -18px var(--tv-shadow); }
#screen-list.md .tv-sp-st.is-now.k-video { box-shadow: 0 0 0 3px #dc3d35, 0 14px 24px -18px var(--tv-shadow); }
#screen-list.md .tv-sp-st.is-lock { opacity: .78; }
#screen-list.md .tv-sp-st.is-first { margin-top: 10px; }
#screen-list.md .tv-sp-h { display: flex; align-items: center; gap: 10px; }
#screen-list.md .tv-sp-h h2 { margin: 0; font: 800 20px/1.15 var(--tv-head); letter-spacing: var(--tv-track); color: var(--tv-ink); }
#screen-list.md .tv-sp-st .tv-st-n { width: 38px; height: 38px; font-size: 19px; background: var(--tv-surf2); color: var(--tv-ink); }
#screen-list.md .tv-sp-st.is-now.k-words .tv-st-n { background: #24804f; color: #fff; }
#screen-list.md .tv-sp-st.is-now.k-test .tv-st-n { background: #1e4fa8; color: #fff; }
#screen-list.md .tv-sp-st.is-now.k-video .tv-st-n { background: #c62828; color: #fff; }
#screen-list.md .tv-sp-st .tv-st-n.is-ok { background: #24804f; color: #fff; }
#screen-list.md .tv-sp-st .tv-st-n.is-lock { background: var(--tv-surf2); color: var(--tv-mut); }
#screen-list.md .tv-sp-p { margin: 0; font: 600 15.5px/1.4 var(--tv-ui); color: var(--tv-ink); }
#screen-list.md .tv-sp-bar { height: 10px; border-radius: 5px; background: var(--tv-line); overflow: hidden; }
#screen-list.md .tv-sp-bar i { display: block; height: 100%; border-radius: 5px; background: #24804f; }
#screen-list.md .tv-sp-k { margin: -4px 0 0; font: 800 14px var(--tv-ui); color: var(--tv-mut); font-variant-numeric: tabular-nums; }
#screen-list.md .tv-sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#screen-list.md .tv-sp-two .tv-cta { min-height: 54px; font-size: 17px; }
#screen-list.md .tv-sp-why, #screen-list.md .tv-sp-ok, #screen-list.md .tv-sp-done { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 15px/1.3 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-sp-why svg, #screen-list.md .tv-sp-ok svg, #screen-list.md .tv-sp-done svg { width: 20px; height: 20px; flex: none; }
#screen-list.md .tv-sp-ok, #screen-list.md .tv-sp-done { color: #1f6b45; font-weight: 800; font-size: 17px; }
#screen-list.md.lv-teen .tv-sp-ok, #screen-list.md.lv-teen .tv-sp-done { color: #4cc27f; }
#screen-list.md .tv-sp-again { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font: 700 14px var(--tv-ui); color: var(--tv-mut); text-decoration: underline; text-underline-offset: 3px; }
#screen-list.md .tv-sp-eps { display: grid; gap: 10px; }
#screen-list.md .tv-sp-ep { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--tv-bg); box-shadow: inset 0 0 0 1px var(--tv-line); }
#screen-list.md .tv-sp-ep.is-ok { background: rgba(36, 128, 79, .1); box-shadow: inset 0 0 0 1.5px rgba(36, 128, 79, .45); }
#screen-list.md .tv-sp-ep.is-now { box-shadow: inset 0 0 0 2px #e8c878; }
#screen-list.md .tv-sp-ep-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#screen-list.md .tv-sp-ep-h b { font: 800 17px var(--tv-ui); color: var(--tv-ink); }
#screen-list.md .tv-sp-ep-now { padding: 3px 10px; border-radius: 999px; background: #c62828; color: #fff; font: 800 12px var(--tv-ui); }
#screen-list.md .tv-sp-ep-lk { color: var(--tv-mut); }
#screen-list.md .tv-sp-ep-lk svg { width: 18px; height: 18px; display: block; }
#screen-list.md .tv-sp-ep .tv-ep-soon { position: static; }
#screen-list.md .tv-sp-done { font: 800 22px/1 var(--tv-head); }
#screen-list.md .tv-sp-done svg { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #24804f; color: #fff; box-sizing: border-box; }
#screen-list.md .tv-warm-h { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font: 800 15px/1.2 var(--tv-ui); color: var(--tv-gold-ink); }
#screen-list.md .tv-warm-h svg { width: 20px; height: 20px; flex: none; }
#screen-list.md .tv-sp-ep .md-hw .rp-hw-list { margin: 0; }
#screen-list.md .tv-sp-next { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 18px; background: var(--tv-surf2); color: var(--tv-ink); font: 700 15px/1.35 var(--tv-ui); text-decoration: none; }
#screen-list.md .tv-sp-next svg { width: 22px; height: 22px; flex: none; color: var(--tv-gold-ink); }
#screen-list.md .tv-sp-next span { flex: 1; }
#screen-list.md .tv-sp-next.is-open { background: rgba(36, 128, 79, .12); box-shadow: inset 0 0 0 1.5px rgba(36, 128, 79, .45); font-weight: 800; }
/* (fresh-eyes review) «Tarea hecha» never runs off a short phone's card; a locked step reads clearly (no fading) */
#screen-list.md .tv-hero.is-sent { height: clamp(450px, calc(100vh - 250px), 620px); height: clamp(450px, calc(100dvh - 250px), 620px); }
#screen-list.md .tv-hero.is-sent .tv-hero-ch.is-small { top: 7%; height: 24%; right: 18px; }
@media (max-height: 700px) and (max-width: 999px) {
  #screen-list.md .tv-hero.is-sent .tv-hero-body { gap: 8px; }
  #screen-list.md .tv-hero.is-sent .tv-hero-t { font-size: 26px; }
  #screen-list.md .tv-done-stamp { font-size: 20px; padding: 6px 14px 6px 6px; }
  #screen-list.md .tv-done-stamp i { width: 32px; height: 32px; }
  #screen-list.md .tv-next-line { font-size: 14.5px; }
}
@media (min-width: 1000px) { #screen-list.md .tv-hero.is-sent { height: max(450px, calc(100dvh - 106px)); max-height: 720px; } #screen-list.md .tv-hero.is-sent .tv-hero-ch.is-small { top: auto; bottom: 40px; height: 30%; right: 44px; } }
#screen-list.md .tv-sp-st.is-lock { opacity: 1; background: var(--tv-bg); }
#screen-list.md .tv-sp-st.is-lock .tv-sp-h h2 { color: var(--tv-mut); }
#screen-list.md .tv-sp-why { color: var(--tv-ink); }
/* a step that is done: one slim line (its way back in), so the step that is next stays on the first screen */
#screen-list.md .tv-sp-st.is-done { gap: 6px; padding: 10px 12px 10px 14px; }
#screen-list.md .tv-sp-st.is-done .tv-sp-h h2 { font-size: 17px; }
#screen-list.md .tv-sp-st.is-done .tv-st-n { width: 32px; height: 32px; }
#screen-list.md .tv-sp-slim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-left: 42px; }
#screen-list.md .tv-sp-slim > span { flex: 1 1 auto; display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1.3 var(--tv-ui); color: var(--tv-mut); }
#screen-list.md .tv-sp-slim > span.is-ok { color: #1f6b45; font-weight: 800; }
#screen-list.md.lv-teen .tv-sp-slim > span.is-ok { color: #4cc27f; }
#screen-list.md .tv-sp-slim > span svg { width: 18px; height: 18px; }
#screen-list.md .tv-sp-slim a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 11px; border-radius: 999px; text-decoration: none;
  background: var(--tv-surf2); color: var(--tv-ink); font: 800 14px var(--tv-ui); box-shadow: inset 0 0 0 1px var(--tv-line);
}
#screen-list.md .tv-sp-slim a svg { width: 18px; height: 18px; }
/* the seasons' column on a laptop: its episodes as small marks in a row; the season card's own marks */
#screen-list.md .tv-se-txt .tv-eps { display: flex; }
#screen-list.md .tv-se-txt .tv-ep { display: inline-flex; font: 800 12px/1 var(--tv-ui); }
#screen-list.md .tv-se-txt .tv-ep span { display: inline; font: inherit; }
#screen-list.md .tv-eps.is-head { padding: 0; }
#screen-list.md .tv-eps.is-head .tv-ep { background: rgba(10, 8, 12, .55); color: #fffdf8; box-shadow: inset 0 0 0 1px rgba(255, 253, 248, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#screen-list.md .tv-eps.is-head .tv-ep.is-ok { background: #1f6b45; box-shadow: none; }
/* a season that is not open yet */
#screen-list.md .tv-locked-pic { position: relative; display: block; width: min(100%, 320px); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
#screen-list.md .tv-locked-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.7); }
#screen-list.md .tv-locked-pic i { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 8, 12, .72); color: #f3dc9a; }
#screen-list.md .tv-locked-pic i svg { width: 32px; height: 32px; }
/* the list's «Marcar» (one tap marks a word) and the step's kicker on the list and the test */
#screen-list.md button.tvl-ok.is-no {
  width: auto; height: 44px; min-width: 44px; padding: 0 12px 0 9px; gap: 4px; border: 0; border-radius: 999px; display: inline-flex; cursor: pointer;
  background: #24804f; color: #fff; box-shadow: none; font: 800 13.5px var(--tv-ui);
}
#screen-list.md button.tvl-ok.is-no svg { width: 16px; height: 16px; }
#screen-list.md button.tvl-ok.is-no[aria-disabled="true"] { opacity: .5; }
#screen-list.md .tvl-tip.is-mark { background: #e3f3e8; color: #164d31; font-weight: 700; }
#screen-list.md.lv-teen .tvl-tip.is-mark { background: #16301f; color: #b9ecc9; }
#screen-list.md .tvl-k, #screen-list.md .tvp-kick { margin: 0; font: 800 13px var(--tv-ui); letter-spacing: .03em; text-transform: uppercase; color: var(--tv-gold-ink); }
#screen-list.md .tvp-kick { margin-top: -4px; }
/* a laptop: the card's ladder a little roomier */
@media (min-width: 1000px) {
  #screen-list.md .tv-hero.has-steps { height: max(470px, calc(100vh - 106px)); height: max(470px, calc(100dvh - 106px)); max-height: 720px; }
  #screen-list.md .tv-pg .tv-hero.has-steps { height: clamp(470px, calc(100dvh - 160px), 620px); }
  #screen-list.md .tv-hero.has-steps .tv-hero-ch { top: auto; bottom: 30px; height: 64%; max-width: 36%; }
  #screen-list.md .tv-hero.has-steps .tv-hero-ch.is-small { bottom: auto; top: 40px; height: 26%; right: 44px; }
  #screen-list.md .tv-hero.has-steps .tv-hero-body { max-width: 540px; }
  #screen-list.md .tv-hero.has-steps .tv-hero-t { font-size: 42px; }
  #screen-list.md.lv-teen .tv-hero.has-steps .tv-hero-t { font-size: 44px; }
  #screen-list.md .tv-hero.is-sent .tv-hero-ch { top: auto; bottom: 30px; height: 62%; }
  #screen-list.md .tv-hero.has-steps::before { background: linear-gradient(90deg, rgba(8, 5, 10, .9) 0%, rgba(8, 5, 10, .74) 38%, rgba(8, 5, 10, .1) 64%, rgba(8, 5, 10, 0) 100%); }
  #screen-list.md.lv-teen .tv-hero.has-steps::before { background: linear-gradient(90deg, rgba(4, 10, 9, .93) 0%, rgba(4, 10, 9, .78) 38%, rgba(4, 10, 9, .12) 64%, rgba(4, 10, 9, 0) 100%); }
  #screen-list.md .tv-sp { max-width: 760px; }
}
/* small phones (360 × 640): the ladder stays on the card */
@media (max-height: 700px) and (max-width: 999px) {
  #screen-list.md .tv-hero.has-steps .tv-hero-t { font-size: 26px; }
  #screen-list.md .tv-st-row { min-height: 46px; padding: 4px 10px 4px 6px; }
  #screen-list.md .tv-st.is-now .tv-st-row { min-height: 58px; }
  #screen-list.md .tv-st-t small { font-size: 12px; }
  #screen-list.md .tv-hero.has-steps .tv-hero-ch { height: 34%; }
}
@media (max-width: 380px) {
  #screen-list.md .tv-st-t b { font-size: 14.5px; }
  #screen-list.md .tv-st.is-now .tv-st-t b { font-size: 15.5px; }
  #screen-list.md .tv-sp-h h2 { font-size: 18px; }
}

/* reduced motion: nothing hops or blinks; the cards change in place (js/fly.js cross-fades) */
@media (prefers-reduced-motion: reduce) {
  #screen-list.md .tv-hero-ch.is-hop, #screen-list.md .tv-recdot, #screen-list.md .tv-rec i, #screen-list.md .tvw-rec, #screen-list.md .tvp-hop, #screen-list.md .tv-st-here svg { animation: none; }
  #screen-list.md .tv-cta, #screen-list.md .tv-pill, #screen-list.md .tv-se-row, #screen-list.md .tvw-play { transition: none; }
}
/* 📺 2026-11-02 (his third review): a lock page names the episode under «Temporada R · Episodio N» */
#screen-list.md .tv-gate .tv-gate-n { font: 800 18px/1.25 var(--tv-ui); color: var(--tv-ink); }
