/* TV tonight: country picker and poster grids (lib/desks/tv.php). Adds to assets/desks/tv.css. */
.tvp { container-type: inline-size; }
.tvp-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 22px; }
.tvp-pick > span { font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.tvp-pick a, .tvp-pick select { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font: inherit; font-size: 16px; font-weight: 600; }
.tvp-pick a.is-on { background: var(--accent); border-color: transparent; color: #fff; }
:root[data-theme="dark"] .tvp-pick a.is-on { color: #0f191d; }
.tvp-more { display: inline-flex; gap: 6px; }
.tvp-sec { margin: 0 0 30px; }
.tvp-sec h2 { margin: 0 0 4px; font-size: clamp(22px, 3vw, 28px); }
.tvp-sub { margin: 0 0 14px; color: var(--ink-2); font-size: 16.5px; }
.tvp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
@container (max-width: 520px) { .tvp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tvp-card { display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; min-width: 0; }
.tvp-card img, .tvp-noposter { width: 100%; aspect-ratio: 210 / 295; height: auto; object-fit: cover; border-radius: 14px; background: var(--bg-2); box-shadow: var(--shadow); }
.tvp-noposter { display: grid; place-items: center; font-family: var(--serif, Georgia, serif); font-size: 54px; color: var(--accent); background: var(--accent-soft); }
.tvp-card:hover img { transform: translateY(-2px); transition: transform .2s; }
.tvp-name { margin-top: 6px; font-weight: 700; font-size: 17px; line-height: 1.25; }
.tvp-line { font-size: 15px; color: var(--accent-2); font-weight: 600; }
.tvp-ep { font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }
.tvp-earlier summary { cursor: pointer; font-weight: 700; font-size: 18px; min-height: 44px; display: flex; align-items: center; margin-bottom: 12px; }
