/* One design system (experience programme Track C, 8 Nov 2026; work/experience-programme-20261108/DESIGN-C.md §5–§6).
   Linked only when LIVEPASS_EXPERIENCE lists "ui" with the Live TV guide on (src/lib/experience-switch.js); every other page,
   and production with the guide off, never loads it, so their bytes stay as they were. Values come from ui-tokens.json
   `experience` (the block below is generated); rules below it use only those values and the brand's --red/--red-soft. */
/* tokens:start (generated by scripts/sync-ui-tokens.mjs from ui-tokens.json experience; do not edit) */
:root{--xp-background:#1d1d1d;--xp-deep:#0b1116;--xp-panel:#111420;--xp-card:#11161d;--xp-sheet:#15171b;--xp-dialog:#0d1016;--xp-raised:rgba(28,31,46,0.92);--xp-link:#9fcfea;--xp-live-text:#ff4d4d;--xp-success:#1fbf75;--xp-warning:#ffd54a;--xp-media-border:rgba(255,255,255,0.09);--xp-peer-track:#11161d;--xp-focus-strong:#4dc7ff;--xp-radius-media:14px;--xp-radius-event-group:18px;--xp-radius-dialog:20px;--xp-radius-badge:5px;--xp-radius-peer-outer:12px;--xp-radius-peer-inner:9px;--xp-radius-progress:2px;--xp-space-xxs:2px;--xp-space-xxl:32px;--xp-space-xxxl:48px;--xp-size-touch-android:48px;--xp-size-icon:20px;--xp-size-button-icon:18px;--xp-size-button-compact:40px;--xp-size-border:1px;--xp-size-focus-ring:2px;--xp-size-focus-ring-offset:2px;--xp-size-focus-strong:3px;--xp-size-focus-strong-offset:3px;--xp-type-page-title:700 28px/32px "Rajdhani",sans-serif;--xp-type-rail-title:700 24px/28px "Rajdhani",sans-serif;--xp-type-sheet-title:700 17px/22px "Work Sans",sans-serif;--xp-type-dialog-title:700 18px/24px "Work Sans",sans-serif;--xp-type-section-title:600 15px/20px "Work Sans",sans-serif;--xp-type-body:500 15px/22px "Work Sans",sans-serif;--xp-type-control:600 14px/18px "Work Sans",sans-serif;--xp-type-button:600 15px/20px "Work Sans",sans-serif;--xp-type-caption:400 13px/18px "Work Sans",sans-serif;--xp-type-media-title:600 15px/20px "Work Sans",sans-serif;--xp-type-media-meta:400 13px/18px "Work Sans",sans-serif;--xp-type-content-tab:600 16px/20px "Rajdhani",sans-serif;--xp-motion-control:160ms;--xp-peer-selector-inset:3px;--xp-peer-selector-gap:2px;--xp-peer-selector-item-min-height:38px;--xp-peer-selector-item-padding-y:8px;--xp-peer-selector-item-padding-x:18px;--xp-peer-selector-item-padding-x-narrow:16px;--xp-peer-selector-narrow-max-width:700px;--xp-peer-selector-row-min-height:44px;--xp-peer-selector-row-gap:12px;--xp-filter-chip-height:36px;--xp-filter-chip-padding-x:12px;--xp-filter-chip-gap:6px;--xp-filter-chip-hit-ios:44px;--xp-filter-chip-hit-android:48px;--xp-filter-chip-hit-web-coarse:44px;--xp-action-button-height:48px;--xp-action-button-compact-height:40px;--xp-action-button-padding-x:16px;--xp-action-button-icon-size:18px;--xp-action-button-icon-gap:8px;--xp-state-block-padding-x:24px;--xp-state-block-padding-y:32px;--xp-state-block-gap:8px;--xp-state-block-action-margin-top:16px;--xp-content-tab-underline:3px;--xp-content-tab-underline-radius:3px;--xp-safe-area-tail-clearance:16px;--xp-accent:var(--red,#ff2a2a);--xp-accent-strong:var(--red-soft,var(--red,#ff2a2a))}
/* tokens:end */

/* ---- Primitives (DESIGN-C §6 component inventory). New screens use these classes; existing screens are moved onto
   the same values family by family, further down, each with paired screenshots. ---- */

/* Peer selector: the Live Events view switch (r12 outer / r9 inner, 3 px inset, 2 px gap, 38 px items, 14/600). */
.xp-peer-row { display: flex; align-items: center; gap: var(--xp-peer-selector-row-gap); min-height: var(--xp-peer-selector-row-min-height); }
.xp-peer-selector {
  display: inline-flex;
  gap: var(--xp-peer-selector-gap);
  padding: var(--xp-peer-selector-inset);
  border-radius: var(--xp-radius-peer-outer);
  background: var(--xp-peer-track);
}
.xp-peer-selector > button {
  appearance: none;
  min-height: var(--xp-peer-selector-item-min-height);
  padding: var(--xp-peer-selector-item-padding-y) var(--xp-peer-selector-item-padding-x);
  border: 0;
  border-radius: var(--xp-radius-peer-inner);
  background: transparent;
  color: rgba(241, 243, 246, 0.72);
  font: var(--xp-type-control);
  white-space: nowrap;
  cursor: pointer;
}
.xp-peer-selector > button:hover { color: var(--lp-text); }
/* Small white text sits on the brand's strong colour (5.0:1 on the default red, where the brand colour itself is 3.7:1). */
.xp-peer-selector > button:is([aria-pressed="true"], [aria-selected="true"], .is-active) { background: var(--xp-accent-strong); color: #fff; }
.xp-peer-selector > button:focus-visible { outline: var(--xp-size-focus-ring) solid #f1f3f6; outline-offset: var(--xp-size-focus-ring-offset); }
@media (max-width: 700px) { .xp-peer-selector > button { padding-inline: var(--xp-peer-selector-item-padding-x-narrow); } }

/* Async state block: initial loading, empty, error (with or without content). */
.xp-state { display: grid; justify-items: center; gap: var(--xp-state-block-gap); padding: var(--xp-state-block-padding-y) var(--xp-state-block-padding-x); text-align: center; }
.xp-state__title { margin: 0; font: var(--xp-type-dialog-title); color: #f1f1f1; }
.xp-state__body { margin: 0; font: var(--xp-type-body); font-weight: 400; color: var(--lp-text-muted); }
.xp-state__action { margin-top: calc(var(--xp-state-block-action-margin-top) - var(--xp-state-block-gap)); }

/* Action button: primary / secondary, 48 tall (compact 40), 15/600, icon 18 + gap 8. */
.xp-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--xp-action-button-icon-gap);
  min-height: var(--xp-action-button-height);
  padding: 0 var(--xp-action-button-padding-x);
  border: 1px solid transparent;
  border-radius: var(--xp-radius-media);
  background: var(--xp-accent-strong);
  color: #fff;
  font: var(--xp-type-button);
  cursor: pointer;
}
.xp-button svg { width: var(--xp-action-button-icon-size); height: var(--xp-action-button-icon-size); flex: none; }
.xp-button--secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.10); }
.xp-button--compact { min-height: var(--xp-action-button-compact-height); }
.xp-button:disabled { opacity: 0.45; cursor: default; }
.xp-button:focus-visible { outline: var(--xp-size-focus-ring) solid #f1f3f6; outline-offset: var(--xp-size-focus-ring-offset); }

/* ==== Consistency migration (DESIGN-C §5, C5), one family at a time, each with paired screenshots. ==== */

/* ---- Family 1: peer selectors: the Live Events view switch (r12/r9, 3 px inset, 2 px gap, 38 px items, 14/600, the
   Events surface). The selected state uses the brand's strong colour, as small white text needs (DESIGN-C §6). ---- */
/* (The polish build, at the end of this file, makes Live TV's row Events' own toolbar component, so the selector rules
   below now draw both screens.) */
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .events-views button[aria-pressed=true] { background: var(--xp-accent-strong); }
/* Web r4 W4-5: one deliberate label metric for both (control 14/18/600; Events' labels were 14/21 by line-height normal). */
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .events-views button { font: var(--xp-type-control); }

/* ---- Family 2: filter chips and header actions (DESIGN-C §5 "Chips/date/filter controls", "Header/actions").
   One FilterChip: 36 visual, x12, gap 6, pill, control type 14/600; Live TV's chips (country, pager) and Events' day
   chips were 38 / 40 with 13.5–14 px labels. Selected chips use the brand's strong colour (small white text). Header
   actions stay 40 visual with a 20 icon (both already). Every chip and round action gets a 44 hit area on a coarse
   pointer, whatever the width (today only under 720 px on Live TV, never on Events). ---- */
html[data-experience-ui="2"] .lt-chip {
  height: var(--xp-filter-chip-height);
  gap: var(--xp-filter-chip-gap);
  padding: 0 var(--xp-filter-chip-padding-x);
  font: var(--xp-type-control);
}
html[data-experience-ui="2"] .lt-chip--country { padding: 0 var(--xp-filter-chip-padding-x) 0 10px; }
html[data-experience-ui="2"] .lt-pager { height: var(--xp-filter-chip-height); }
html[data-experience-ui="2"] .lt-pager button { font: var(--xp-type-control); }
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .day-row { gap: var(--xp-filter-chip-gap); }
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .day-row > button {
  min-height: var(--xp-filter-chip-height);
  gap: var(--xp-filter-chip-gap);
  padding: 0 var(--xp-filter-chip-padding-x);
  font: var(--xp-type-control);
}
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .day-row > button[aria-pressed=true] { background: var(--xp-accent-strong); }
@media (pointer: coarse) {
  html[data-experience-ui="2"] :where(.lt-chip, .lt-round, .lt-pager button, .lt-seg__tab) { position: relative; }
  html[data-experience-ui="2"] :is(.lt-chip, .lt-round, .lt-pager button, .lt-seg__tab)::after,
  html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) :is(.day-row > button, .events-toolbar-actions > button, .events-views button)::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: max(100%, var(--xp-filter-chip-hit-web-coarse)); height: max(100%, var(--xp-filter-chip-hit-web-coarse));
    transform: translate(-50%, -50%);
  }
  html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) :is(.day-row > button, .events-toolbar-actions > button, .events-views button) { position: relative; }
}

/* ---- Family 3: cards and rails (DESIGN-C §5 "Card/poster radii", "Card content", "Rails/gutters"). The media frame
   stays as approved (16:9, r14, hairline, progress h4 inset 10 / bottom 9 / r2: already the tokens) and no density
   changes. Only desktop programme text drifted from the one media type: title 16/21 -> mediaTitle 15/20/600, meta
   13.5 -> mediaMeta 13/18/400 (phones already use these), rail titles 24/26 -> railTitle 24/28. ---- */
html[data-experience-ui="2"] .pc-art { border-radius: var(--xp-radius-media); border-color: var(--xp-media-border); }
html[data-experience-ui="2"] .pc-title { font: var(--xp-type-media-title); }
html[data-experience-ui="2"] .pc-meta { font: var(--xp-type-media-meta); }
html[data-experience-ui="2"] .lt-rail__title { font: var(--xp-type-rail-title); }
@media (max-width: 720px) {
  /* The phone rail title keeps its approved compact size (20), with the token's line rhythm. */
  html[data-experience-ui="2"] .lt-rail__title { font-size: 20px; line-height: 24px; }
}

/* ---- Family 4: sheets and buttons (DESIGN-C §5 "Sheets/dialogs", "Primary/secondary/icon buttons"). Sheets already
   share one anatomy (lp-sheet: desktop r20, phone top r28, scrim, header/body/footer), the programme sheet included.
   Buttons: Live TV's primary (Watch live, Remind me) 50 tall, x20, 16 px -> ActionButton 48, x16, 15/600, icon 18,
   gap 8 (its approved r14 shape kept); the note's action 38 -> the compact 40. ---- */
html[data-experience-ui="2"] .lt-primary {
  height: var(--xp-action-button-height);
  gap: var(--xp-action-button-icon-gap);
  padding: 0 var(--xp-action-button-padding-x);
  font: var(--xp-type-button);
}
html[data-experience-ui="2"] .lt-primary :is(svg, .live-browse__icon) { width: var(--xp-action-button-icon-size); height: var(--xp-action-button-icon-size); }
html[data-experience-ui="2"] .lt-note__action { height: var(--xp-action-button-compact-height); padding: 0 var(--xp-action-button-padding-x); font: var(--xp-type-control); }

/* ---- Family 5: async states (DESIGN-C §5 "Loading/empty/error"). One state block where a whole view has nothing to
   show (What's On empty, no guide, error without content): centred, x24 / y32, body 15/22, gap 8, its action 16 below
   (the compact action from family 4). Inline status in the Guide (loading, updating, error with content kept) stays a
   line beside the grid, with the same body type. Skeletons are unchanged. The words already say which state it is
   (no guide / nothing in this filter / can't load); no state merges another. ---- */
html[data-experience-ui="2"] .lt-wo__content > .lt-note {
  flex-direction: column;
  justify-content: center;
  gap: var(--xp-state-block-gap);
  padding: var(--xp-state-block-padding-y) var(--xp-state-block-padding-x);
  color: var(--lp-text);
  font: var(--xp-type-body);
  font-weight: 400;
  text-align: center;
}
html[data-experience-ui="2"] .lt-wo__content > .lt-note .lt-note__action { margin-top: calc(var(--xp-state-block-action-margin-top) - var(--xp-state-block-gap)); }
html[data-experience-ui="2"] .lt-guide__status .lt-note { gap: var(--xp-state-block-gap) 12px; font: var(--xp-type-body); font-weight: 400; }

/* ---- Family 6: account, sign-in, pricing and downloads (DESIGN-C §5 "Settings/account/profile/auth/pricing/
   downloads"). Visual only: copy, flows, fields, validation, URLs, amounts, plan text and every button's target are
   untouched. These pages link this stylesheet only when LIVEPASS_EXPERIENCE lists "ui" (src/lib/experience-switch.js
   injectExperiencePage); they may not load lp-ui.css, so legacy tokens are read with their values as fallbacks.
   - Sign-in / check-email: fields and actions 46 tall r6 -> 48, r12; actions 16/700 -> ActionButton 15/600.
     Field text stays 16 px (smaller text makes iOS Safari zoom the page).
   - Account: fields 40 tall, 14 px system font -> 48, r12, Work Sans body 15 (touch screens keep 16).
   - Pricing: panels r18 -> r14 (the media/profile card); One-time / Subscription and 1 month … 1 year are peers, so
     they take the peer selector (r12/r9, 3 inset, 2 gap, 38 items, 14/600, the strong selected fill; on a panel,
     its panel track); amounts and plan
     text untouched.
   - Downloads: its buttons 46 -> 48, 15/600; the approved pill shape and its strong cyan focus (3/3) stay. ---- */
html[data-experience-ui="2"] .login-input { height: var(--xp-action-button-height); min-height: var(--xp-action-button-height); border-radius: var(--lp-radius-md, 12px); }
html[data-experience-ui="2"] .login-button {
  height: var(--xp-action-button-height);
  min-height: var(--xp-action-button-height);
  border-radius: var(--lp-radius-md, 12px);
  font: var(--xp-type-button);
}
html[data-experience-ui="2"] :is(.account-input, .account-form .account-input) {
  min-height: var(--xp-action-button-height);
  border-radius: var(--lp-radius-md, 12px);
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
}
/* Body 15 with a mouse; touch screens keep 16 (smaller field text makes iOS Safari zoom the page). */
@media (pointer: fine) { html[data-experience-ui="2"] :is(.account-input, .account-form .account-input) { font-size: 15px; line-height: 22px; } }
html[data-experience-ui="2"] :is(.pricing-heading, .pricing-trial, .pricing-controls, .pricing-card, .pricing-alternatives, .pricing-features, .pricing-on-demand) {
  border-radius: var(--xp-radius-media);
}
/* On a panel (these sit inside the pricing controls panel, the same tone as the page track) the peer track is the
   panel variant: a light fill with a hairline, so the container stays visible. */
html[data-experience-ui="2"] :is(.pricing-mode-switch, .pricing-prepaid-switch) {
  gap: var(--xp-peer-selector-gap);
  padding: var(--xp-peer-selector-inset);
  border: 1px solid var(--lp-hairline, rgba(255, 255, 255, 0.10));
  border-radius: var(--xp-radius-peer-outer);
  background: var(--lp-fill, rgba(255, 255, 255, 0.08));
  box-shadow: none;
}
html[data-experience-ui="2"] :is(.pricing-mode-button, .pricing-prepaid-option) {
  height: auto;
  min-height: var(--xp-peer-selector-item-min-height);
  padding: var(--xp-peer-selector-item-padding-y) var(--xp-peer-selector-item-padding-x-narrow);
  border: 0;
  border-radius: var(--xp-radius-peer-inner);
  background: transparent;
  box-shadow: none;
  color: rgba(241, 243, 246, 0.72);
  font: var(--xp-type-control);
}
html[data-experience-ui="2"] :is(.pricing-mode-button, .pricing-prepaid-option).is-selected {
  border-color: transparent;
  background: var(--xp-accent-strong);
  box-shadow: none;
  color: #fff;
  filter: none;
}
html[data-experience-ui="2"] .dl-btn { min-height: var(--xp-action-button-height); font: var(--xp-type-button); }

/* ==== Polish build (owner-approved mockups, 8 Nov 2026; work/experience-programme-20261108/POLISH-SPEC.md, polish-mockups/).
   Live TV takes Events' own components: the toolbar (title slot, content-width selector, bare 40 px actions) is drawn by
   events-explorer.css (the row carries Events' classes inside its .lp-events-cards scope); below, only the page frame,
   What's On's image rails, See all, the Guide's controls and layout values, the Channels directory and the states. ==== */

/* Page frame: Events' — 10 px phone gutter, 1280 px content at 1440 (left edge 80). The Live TV row sits in the shell's
   8 px phone inset, so it adds 2. */
/* Events' page: the flat brand background (#1d1d1d) under the header's own fade; Live TV draws no glow behind it. */
html[data-experience-ui="2"] body.is-unified-live-tv .page-bg { display: none; }
html[data-experience-ui="2"] .lt-xp-head { display: block; max-width: 1280px; min-height: 0; margin: 0 auto; }
html[data-experience-ui="2"] .lt-xp-head[hidden] { display: none; }
html[data-experience-ui="2"] body.is-live-browse .layout-grid,
html[data-experience-ui="2"] .live-browse { max-width: 1280px; }
/* Events' desktop title slot (72 px + its 20 px gap), so the selector starts where Events' does. */
html[data-experience-ui="2"] .lt-xp-head .events-toolbar h1 { flex: 0 0 72px; width: 72px; white-space: nowrap; }
/* The selector and its actions wrap as two aligned rows before any label is cut (large text, narrow screens); the same
   rule for Events. */
html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .events-toolbar { flex-wrap: wrap; row-gap: 8px; }
/* Narrow screens: the space between the selector and the actions (they sit at the end by margin-left: auto) may go to
   0 before the row wraps, so What's On · Guide · Channels and two actions fit whole at 390 (Events' row is unchanged:
   its actions already sit at the end). */
@media (max-width: 700px) {
  html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .events-toolbar { column-gap: 0; }
}
html[data-experience-ui="2"] .lt-xp-head .events-toolbar-actions:empty { display: none; }
/* Touch: 44 px targets on the 40 px actions, as Events' (family 2's coarse-pointer rule); the last one grows inwards so
   nothing reaches past the row's edge. */
@media (pointer: coarse) {
  html[data-experience-ui="2"] :is(#eventsExplorer, .lp-events-cards) .events-toolbar-actions > button:last-child::after { left: auto; right: 0; transform: translateY(-50%); }
}
html[data-experience-ui="2"] .lt-xp-head .xp-reminders__label { display: none; }
html[data-experience-ui="2"] .lt-xp-head .xp-reminders__count { position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; line-height: 16px; }
@media (max-width: 720px) {
  html[data-experience-ui="2"] :is(.lt-xp-head, .live-browse) { padding-inline: 2px; }
}

/* What's On: rails 28 apart (24 above the first), title → cards 12, phone 236 px cards that peek, desktop four equal
   columns with a 16 gap. The card: 16:9 art r14, LIVE label and channel logo on it, one 3 px progress track at its
   foot, then title 15/20 and the channel with its time in the muted meta. */
html[data-experience-ui="2"] .lt-wo__content { gap: 28px; padding-top: 10px; }
html[data-experience-ui="2"] .lt-rail__head { min-height: 24px; margin-bottom: 12px; }
html[data-experience-ui="2"] .lt-rail__all { padding: 0; color: #a7cce2; font: 400 14px/20px var(--lt-body); }
html[data-experience-ui="2"] .lt-rail__track { grid-auto-columns: calc((100% - 48px) / 4); }
html[data-experience-ui="2"] .pc { gap: 0; }
html[data-experience-ui="2"] .pc-art { border: 0; }
html[data-experience-ui="2"] .pc-art::after { content: none; }
html[data-experience-ui="2"] .pc-live { top: 10px; left: 10px; padding: 3px 7px; border-radius: var(--xp-radius-badge); font: 700 11px/15px var(--lt-body); letter-spacing: 0.5px; }
html[data-experience-ui="2"] .pc-bug.channel-logo { top: 10px; right: 10px; width: 44px; height: 30px; padding: 3px; border-radius: 6px; box-shadow: none; }
html[data-experience-ui="2"] .pc-bar { left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.27); }
html[data-experience-ui="2"] .pc-title { margin: 9px 0 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html[data-experience-ui="2"] .pc-meta { display: flex; flex-wrap: wrap; column-gap: 6px; margin: 0; color: var(--lp-text-muted, #98a4ad); white-space: normal; }
html[data-experience-ui="2"] .pc-channel { min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html[data-experience-ui="2"] .pc-when { white-space: nowrap; }
html[data-experience-ui="2"] .pc--skeleton .pc-art { background: var(--xp-card); }
@media (max-width: 720px) {
  html[data-experience-ui="2"] .lt-wo__content { gap: 28px; }
  html[data-experience-ui="2"] .lt-rail__head { padding-inline: 4px; }
  html[data-experience-ui="2"] .lt-rail__track { grid-auto-columns: 236px; gap: 12px; margin-inline: -10px; padding-inline: 10px; scroll-padding-inline: 10px; }
  html[data-experience-ui="2"] .pc-live { top: 8px; left: 8px; }
  html[data-experience-ui="2"] .pc-bug.channel-logo { top: 8px; right: 8px; width: 40px; height: 28px; }
  html[data-experience-ui="2"] .pc-meta { display: block; }
  html[data-experience-ui="2"] .pc-meta > span { display: block; }
}

/* See all: ‹ and the title, then the same cards in a 2-column phone / 4-column desktop grid (12 / 16 gaps); the Live TV
   row steps aside while it is open. */
html[data-experience-ui="2"] body.is-live-seeall .lt-views { display: none; }
html[data-experience-ui="2"] .lt-all__head { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
html[data-experience-ui="2"] .lt-all__back { width: 44px; height: 44px; border: 0; background: transparent; }
html[data-experience-ui="2"] .lt-all__back .lt-all__back-icon { display: inline-flex; }
html[data-experience-ui="2"] .lt-all__back .lt-all__close-icon { display: none; }
html[data-experience-ui="2"] .lt-all__titles { display: block; text-align: left; }
html[data-experience-ui="2"] .lt-all__title { font: var(--xp-type-rail-title); }
html[data-experience-ui="2"] .lt-all__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
@media (max-width: 720px) {
  html[data-experience-ui="2"] .lt-all__head { display: flex; margin-bottom: 14px; }
  html[data-experience-ui="2"] .lt-all__title { font-size: 20px; line-height: 24px; }
  html[data-experience-ui="2"] .lt-all__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  html[data-experience-ui="2"] .lt-all__grid .pc-title { white-space: normal; font-size: 15px; line-height: 20px; }
  html[data-experience-ui="2"] .lt-all__grid .pc-meta { font-size: 13px; }
}

/* Controls rows (Guide and Channels): 44 px controls, 8 px gaps, one wrapping row — nothing clips at 390. */
html[data-experience-ui="2"] .lt-xp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 16px; }
html[data-experience-ui="2"] .lt-xp-tool {
  appearance: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 9px; background: #202329; color: rgba(241, 243, 246, 0.72);
  font: 400 14px/20px var(--lt-body); white-space: nowrap; cursor: pointer;
}
html[data-experience-ui="2"] .lt-xp-tool:hover { color: var(--lp-text, #f1f1f1); }
html[data-experience-ui="2"] .lt-xp-tool--text { padding: 0 4px; border-color: transparent; background: transparent; }
html[data-experience-ui="2"] .lt-xp-tool[hidden] { display: none; }
html[data-experience-ui="2"] .lt-xp-tool .live-browse__icon { width: 12px; height: 12px; }
html[data-experience-ui="2"] .lt-xp-tool .live-browse__icon svg { stroke-width: 2.6; }
html[data-experience-ui="2"] .lt-xp-tool:focus-visible, html[data-experience-ui="2"] .lt-xp-pair > button:focus-visible { outline: 2px solid #f1f3f6; outline-offset: 2px; }
html[data-experience-ui="2"] .lt-xp-tools__context { color: var(--lp-text-muted, #98a4ad); font: 400 14px/20px var(--lt-body); white-space: nowrap; }
html[data-experience-ui="2"] .lt-xp-pair { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--xp-peer-track); }
html[data-experience-ui="2"] .lt-xp-pair > button {
  appearance: none; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent;
  color: rgba(241, 243, 246, 0.72); font: 400 14px/20px var(--lt-body); cursor: pointer;
}
html[data-experience-ui="2"] .lt-xp-pair > button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.075); color: #fff; }
@media (max-width: 720px) {
  html[data-experience-ui="2"] .lt-xp-tools { padding: 20px 0 16px; }
  /* Phone: the country leads and pushes the pair to the end; the category takes the next line. */
  html[data-experience-ui="2"] .lt-ch__tools .lt-xp-tool--country { margin-right: auto; }
  /* The country is context on the Guide; on a phone it is in Channels only (it would run off the row). */
  html[data-experience-ui="2"] .lt-xp-tools__context { display: none; }
}

/* Guide: no poster above the grid (a tap opens the details); logo column 80 / 112 with a 40 px contained logo on the
   panel; cells 12 px in, title 14/20, times 12/16; wide holes say "Programme information unavailable". */
html[data-experience-ui="2"] .lt-guide .lt-stage { display: none; }
html[data-experience-ui="2"] .lt-guide .lt-xp-tools { justify-content: flex-start; }
html[data-experience-ui="2"] .lt-logo { display: grid; place-items: center; border-radius: 0; background: var(--xp-card); }
html[data-experience-ui="2"] .lt-logo__tile.channel-logo { width: 40px; height: 40px; padding: 4px; border-radius: 6px; }
/* Cells (guide mockup): the lighter #25282e, on now #303239 with a 2 px brand rule at its start; 2 px apart. */
html[data-experience-ui="2"] .lt-cell { gap: 2px; border-radius: 0; padding-block: 12px; background: #25282e; }
html[data-experience-ui="2"] .lt-cell.is-now { background: #303239; box-shadow: inset 2px 0 0 var(--red); }
html[data-experience-ui="2"] .lt-cell--off { background: #25282e; }
html[data-experience-ui="2"] .lt-cell b { font: 600 14px/20px var(--lt-body); }
html[data-experience-ui="2"] .lt-cell small { color: var(--lp-text-muted, #98a4ad); font: 400 12px/16px var(--lt-body); }
html[data-experience-ui="2"] .lt-cell.is-selected { box-shadow: none; }
html[data-experience-ui="2"] .lt-cell--unknown { display: flex; white-space: normal; align-items: center; color: var(--lp-text-muted, #98a4ad); font: 400 14px/20px var(--lt-body); cursor: default; }
html[data-experience-ui="2"] .lt-noguide--xp { display: flex; align-items: center; height: 100%; padding: 0 12px; background: #25282e; color: var(--lp-text-muted, #98a4ad); font: 400 14px/20px var(--lt-body); }
html[data-experience-ui="2"] .lt-now { width: 1px; margin-left: 0; box-shadow: none; }

/* Channels: the directory list (900 px at most), Track B's rows, and its states. */
html[data-experience-ui="2"] .lt-ch[hidden] { display: none; }
html[data-experience-ui="2"] .lt-ch__list { display: grid; max-width: 900px; }
html[data-experience-ui="2"] .lt-ch__state:empty { display: none; }
html[data-experience-ui="2"] .lt-ch__state .lt-note {
  flex-direction: column; justify-content: center; gap: var(--xp-state-block-gap); max-width: 900px;
  padding: var(--xp-state-block-padding-y) var(--xp-state-block-padding-x); background: none; border: 0;
  color: var(--lp-text); font: var(--xp-type-body); font-weight: 400; text-align: center;
}

/* ---- Consistency with the accepted screens (audit WEB.md, 9 Nov). What's On and its parts reuse the accepted
   components; these rules only size them for programme cards. ---- */
/* Row 05: What's On's rails are On Demand's (.vod-rail: its head 22-30 Rajdhani, See all, 6 px track, 18 px between
   rails), with 16:9 programme cards in the slots at the landscape size. */
html[data-experience-ui="2"] .lt-wo__content { gap: 0; }
html[data-experience-ui="2"] .lt-wo__content > .lt-state + .lt-wo__stale { margin-top: 12px; }
html[data-experience-ui="2"] .vod-rail--landscape .vod-rail__scroll { grid-auto-columns: clamp(220px, 19vw, 300px); }
html[data-experience-ui="2"] .vod-rail--landscape .vod-rail__scroll > .pc { min-width: 0; scroll-snap-align: start; }
@media (max-width: 720px) {
  html[data-experience-ui="2"] .vod-rail--landscape .vod-rail__scroll { grid-auto-columns: min(68vw, 264px); }
}
/* Row 12: a failed picture leaves On Demand's fallback frame (the title on the card's ground), never a gap. */
html[data-experience-ui="2"] .pc-art > .vod-card__fallback { z-index: 0; font-size: 16px; line-height: 1.15; }
/* Row 02: See all is On Demand's collection page (its sticky header, then the grid) with landscape cards. */
html[data-experience-ui="2"] .lt-all--vod { display: grid; gap: 14px; }
/* As On Demand's collection page (Home hides the destination menu on On Demand's section, detail and search views). */
html[data-experience-ui="2"] body.is-live-seeall:not(.is-live-watch) #unifiedNav { display: none; }
html[data-experience-ui="2"] .vod-section-grid--landscape { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 7px; }
@media (max-width: 720px) {
  html[data-experience-ui="2"] .vod-section-grid--landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 7px; }
  html[data-experience-ui="2"] .vod-section-grid--landscape .pc-title { white-space: normal; }
}
/* Rows 04, 11, 15: states and loading are Events' blocks (.empty, .skeleton) inside Events' scope. */
html[data-experience-ui="2"] .lt-state.lp-events-cards { display: block; min-width: 0; }
html[data-experience-ui="2"] .lt-wo__skeleton .pc-art { background: #ffffff0b; }
html[data-experience-ui="2"] .lt-wo__skeleton .pc--skeleton .lt-skel--line { margin-top: 9px; }
html[data-experience-ui="2"] .lt-wo__skeleton .pc--skeleton .lt-skel--short { margin-top: 6px; }
/* Rows 06, 07: the programme sheet is the shared sheet (lp-sheet: #0d1016, header, body padding, 12 px rhythm). */
html[data-experience-ui="2"] .lt-sheet.lp-sheet { background: #0d1016; }
html[data-experience-ui="2"] .lt-sheet__body--xp.lp-sheet__body { display: block; margin-top: 0; padding: var(--lp-space-md) var(--lp-space-lg) var(--lp-space-xl); }
html[data-experience-ui="2"] .lt-sheet__body--xp.lp-sheet__body > * { margin: 0; }
html[data-experience-ui="2"] .lt-sheet__body--xp.lp-sheet__body > * + * { margin-top: var(--lp-space-md); }
html[data-experience-ui="2"] .lt-sheet__body--xp > [hidden] { display: none; }
html[data-experience-ui="2"] .lt-sheet__art { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--lp-radius-md); background: var(--lp-group); }
html[data-experience-ui="2"] .lt-sheet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lp-space-sm); }
html[data-experience-ui="2"] .lt-sheet__actions > .lp-button--primary { flex: 1 1 100%; }
html[data-experience-ui="2"] .lt-sheet__actions > .lp-sheet__status { flex: 1 1 100%; }
html[data-experience-ui="2"] .lt-sheet__actions .live-browse__icon { width: 18px; height: 18px; }
html[data-experience-ui="2"] .lt-watch .live-browse__icon svg { fill: currentColor; stroke: none; }
html[data-experience-ui="2"] .lt-sheet__rowtext { display: grid; gap: 2px; min-width: 0; }
html[data-experience-ui="2"] .lt-sheet__rowtext small { color: var(--lp-text-muted); font: 400 13px/18px "Work Sans", sans-serif; }
html[data-experience-ui="2"] .lt-sheet__rowtext--logo { display: flex; align-items: center; gap: var(--lp-space-md); }
html[data-experience-ui="2"] .lt-sheet__group > .lp-section__title { margin-bottom: var(--lp-space-sm); }
@media (min-width: 900px) {
  html[data-experience-ui="2"] .lt-sheet__actions > .lp-button--primary { flex: none; min-width: 168px; }
}
/* Row 16: the watch header and bar are Events' (#owned-watch-top / #owned-watch-bar in events-explorer.css); the
   channel's star and logo take Events' places. */
html[data-experience-ui="2"] #owned-watch-top :is(.star, .detail-share) svg { width: 20px; height: 20px; }
html[data-experience-ui="2"] #owned-watch-top .star.followed svg { fill: currentColor; }
html[data-experience-ui="2"] #owned-watch-top .watch-league .badge.channel-logo { padding: 3px; border-radius: 7px; }

/* Events search as a screen of its own (owner item 6, 12 Nov 2026; coordinator D1): at every width On Demand's search
   page header and field (vod-20260807b.css .vod-search-page__header / .vod-search--page) over Events' own landing and
   results; Events' toolbar and the destination nav step aside, as they do for On Demand's search (the rest of Events
   already does: events-explorer.css #eventsExplorer.search-open). events-explorer.js sets the class. */
html.events-search-screen #unifiedNav, html.events-search-screen #eventsExplorer > .events-toolbar,
html.events-search-screen #eventsExplorer :is(.favorite-shortcuts, .sports-row, .playback-tools, .events-sidebar, .events-schedule) { display: none !important; }
html.events-search-screen #eventsExplorer #search-page { margin: 0; padding: 0; }
html.events-search-screen #eventsExplorer .events-search-screen { width: min(100%, 1220px); margin: 0 auto; padding: 0 0 32px; display: grid; gap: 18px;
  border: 0; background: none; box-shadow: none; }
html.events-search-screen #eventsExplorer .events-search-screen .search-filters { margin: 0; }
/* Events' own input and button rules (events-explorer.css) give way to On Demand's field and ‹ inside the header. */
html.events-search-screen #eventsExplorer .vod-search--page input { height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0;
  background: transparent; box-shadow: none; color: #fff; font: inherit; font-size: 17px; }
html.events-search-screen #eventsExplorer .vod-search--page > svg { display: block; width: 20px; height: 20px; fill: none; stroke: var(--muted, #98a4ad);
  stroke-width: 1.8; stroke-linecap: round; }
html.events-search-screen #eventsExplorer .vod-search-page__back { width: 44px; height: 44px; min-height: 0; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: #f5f7f9; box-shadow: none; }
html.events-search-screen #eventsExplorer .vod-search-page__back svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 721px) {
  html.events-search-screen #eventsExplorer .vod-search-page__back { width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 19, 27, 0.84); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
  html.events-search-screen #eventsExplorer .vod-search--page input { font-size: 18px; }
}
@media (max-width: 460px) {
  html.events-search-screen #eventsExplorer .events-search-screen .vod-search-page__header { width: 100%; margin-left: 0; }
}
