/* Tenner's home page: a streaming dashboard. A featured title on a big artwork card (scores in a frosted box,
   genres as glass pills), the services as a rail of app icons, rows of posters, the top rated lists, and a side column of
   frosted panels. Built on the tokens in styles.css: --r for every corner, --fr-* for every box, the navy buttons. */
body.home { overflow-x: clip; }
.bx { position: relative; isolation: isolate; max-width: var(--max); margin: 0 auto 0 var(--page-left); padding: 4px var(--gutter-r) 0 var(--gutter); }
@media (min-width: 1000px) { .bx { padding-top: 22px; padding-left: 32px; padding-right: 32px; } }

/* the artwork's colours, blurred far out behind the top of the page */
.bx-amb { --bx-gap: max(0px, (100vw - var(--side, 0px) - var(--max)) / 2); position: absolute; z-index: -1; top: -40px; height: 900px;
  left: calc(-1 * (var(--side, 0px) + var(--bx-gap) + 40px)); right: calc(-1 * (var(--bx-gap) + 40px));   /* the full width of the window, under the sidebar too, so it never stops in a line */ pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent); mask-image: linear-gradient(to bottom, #000 20%, transparent); }
.bx-amb img { width: 100%; height: 100%; object-fit: cover; filter: blur(90px) saturate(1.6); opacity: .42; transform: scale(1.2); }
:root[data-theme="light"] .bx-amb img { opacity: .26; }

.bx-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
/* the page's name is there for screen readers only: the services lead the page */
.bx-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bx-tag { padding: 4px 9px; border-radius: var(--r); font: 600 13px/1 var(--font); letter-spacing: 0; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.bx-dds { display: flex; flex: none; gap: 8px; min-width: 0; align-self: flex-start; margin-top: 4px; }
.bx-hd .dd { flex: none; min-width: 0; max-width: 220px; }
/* a picked genre gets Tenner's rainbow underline, like Browse's collections */
#bxGenDD.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, #ff375f, #ff9f0a, #ffd60a, #30d158, #40c8e0, #5e5ce6, #bf5af2); }
/* Shows and films and All genres: two equal halves, together as wide as the right-hand column, so they sit flush with
   its boxes below (Discover, the Top 10); the full width on phones */
.bx-hd .bx-dds { width: 330px; max-width: 100%; }
.bx-hd .bx-dds .dd, .bx-hd .bx-dds #bxGenDD { flex: 1 1 0; min-width: 0; max-width: none; justify-content: space-between; }
.bx-hd .bx-dds .dd-kind { padding: 0 11px 0 14px; gap: 6px; font-size: 15px; }
.bx-hd .bx-dds .dd-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 719px) { .bx-hd .bx-dds { width: 100%; margin: 0; } }
@media (max-width: 360px) { .bx-dds { gap: 6px; } .bx-hd .dd-kind { padding: 0 10px 0 12px; gap: 6px; font-size: 15px; } }

.bx-grid { display: grid; gap: 30px; }
.bx-main { min-width: 0; }
.bx-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 1300px) { .bx-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } }
@media (min-width: 720px) and (max-width: 1299px) { .bx-side { grid-template-columns: 1fr 1fr; align-items: start; } .bx-side > :first-child:last-child { grid-column: 1 / -1; } }
/* one column (phones, tablets): the boxes come straight after the rows, before the long Top rated lists */
@media (max-width: 1299px) {
  .bx-grid { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .bx-main, #bxRows { display: contents; }
  .bx-side { order: 1; margin-top: 30px; }
  .bx-clist { order: 2; }
  #bxRows > * { scroll-margin-top: 70px; }
}
/* phones: just the Top 10 and Top rated, as rows of poster cards to swipe (home.js's phoneRows); the featured title, the
   services, For you and the side boxes are for bigger screens */
@media (max-width: 719px) {
  .bx-hd .bx-rail, .bx-amb, .bd-ext { display: none; }
  .bx-side > :not(#discover) { display: none; }   /* phones keep just Discover from the side column */
  #discover { scroll-margin-top: 70px; }
  .bx-hero { margin-top: 10px; }
  .bx-h-acts { flex-wrap: wrap; }
  .bx-pc-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bx-hd { margin: 0; }
  .bx { padding-bottom: 24px; }
  #bxRows > .bx-sec:first-child { margin-top: 8px; }
}

/* ---------- the featured title ---------- */
.bx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(440px, 58vh, 600px); border-radius: var(--r); color: #fff; background: #16161a;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .1), 0 34px 70px -34px rgba(0, 0, 0, .7); touch-action: pan-y; }
.bx-hero.sk { background: var(--fill); box-shadow: none; }
.bx-h-art, .bx-h-l { position: absolute; inset: 0; }
.bx-h-l { opacity: 0; }
.bx-h-l.in { opacity: 1; }
:root:not(.still) .bx-h-l { transition: opacity .9s var(--ease-out); }
:root:not(.still) .bx-h-l.in img { animation: bxDrift 12s ease-out both; }
@keyframes bxDrift { from { transform: scale(1.06); } to { transform: scale(1); } }
.bx-h-l img, .bx-h-l .bx-ph { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* the words sit on a soft dark wash from the left and the foot, so the artwork melts into it */
.bx-h-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .74), rgba(0, 0, 0, .34) 46%, transparent 72%), linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .2) 45%, transparent 70%); }
.bx-h-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 26px 28px 28px; max-width: 640px; }

/* the scores: a see-through frosted box with three cells (the second reference); it sits on the artwork, so the frost is
   thinner than a box on the page and the picture's colours show through, blurred */
.bx-score { position: absolute; top: 22px; left: 22px; display: flex; margin: 0; padding: 12px 4px; border-radius: var(--r); color: var(--label);
  background: color-mix(in srgb, var(--bg) 42%, transparent); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim); }
.bx-score div { display: grid; justify-items: center; gap: 3px; min-width: 84px; padding: 0 14px; }
.bx-score div + div { border-left: .5px solid var(--fr-rim); }
.bx-score dt { display: flex; align-items: center; gap: 4px; font: 700 19px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bx-score dt svg { width: 15px; height: 15px; color: #ffb340; }
.bx-score dd { margin: 0; font-size: 11.5px; color: var(--label2); white-space: nowrap; }

/* "Number one in the UK right now" and the genres: glass pills on the artwork (the second and third references) */
.bx-eye, .bx-pills span, .bx-chip { -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; }
.bx-eye { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px 6px 9px; border-radius: var(--r); font-size: 13px; font-weight: 500; }
.bx-eye svg { width: 16px; height: 16px; color: #ff9f0a; }
.bx-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.bx-pills span { padding: 5px 11px; border-radius: var(--r); font-size: 12.5px; font-weight: 500; }
.bx-h-t { margin: 2px 0 0; font: 800 clamp(32px, 4vw, 50px)/1.02 var(--font-display); letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.bx-h-logo { display: block; max-width: min(380px, 70vw); max-height: 120px; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .45)); }
.bx-h-meta { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); }
.bx-h-meta .bx-svc { width: 22px; height: 22px; }
.bx-cert { padding: 2px 5px; border-radius: 4px; font: 600 11px/1.2 var(--font); box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .6); }
.bx-h-ov { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.42; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bx-h-acts { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.bx-cta { height: 44px; padding: 0 22px 0 18px; font-size: 16px; }
.bx-cta svg { width: 18px; height: 18px; }

/* the next featured titles: small posters along the top right (computers), dots along the foot (phones) */
/* five posters show at a time (four on smaller computers); the little arrows beside them scroll to the rest */
.bx-h-next { --n: 5; position: absolute; z-index: 2; right: 18px; top: 18px; display: flex; align-items: flex-start; gap: 6px; }
.bx-h-strip { --mfl: 18px; --mfr: 18px; display: flex; gap: 10px; max-width: calc(var(--n) * 62px + (var(--n) - 1) * 10px + 8px); padding: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--mfl), #000 calc(100% - var(--mfr)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--mfl), #000 calc(100% - var(--mfr)), transparent); }
.bx-h-strip::-webkit-scrollbar { display: none; }
.bx-h-strip.at-start { --mfl: 0px; } .bx-h-strip.at-end { --mfr: 0px; }
.bx-h-strip button { scroll-snap-align: start; flex: none; }
.bx-h-arr { margin-top: 33px; }
@media (max-width: 1299px) { .bx-h-next { --n: 4; } }
.bx-h-strip button { position: relative; display: grid; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
.bx-h-thumb { display: block; width: 62px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); opacity: .62; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 10px 24px -10px rgba(0, 0, 0, .7); }
.bx-h-thumb img, .bx-h-thumb .bx-ph { width: 100%; height: 100%; object-fit: cover; }
.bx-h-bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.bx-h-strip [aria-selected="true"] .bx-h-thumb { opacity: 1; box-shadow: 0 0 0 1.5px #fff, 0 12px 26px -10px rgba(0, 0, 0, .8); }
.bx-h-strip [aria-selected="true"] .bx-h-bar { background: linear-gradient(90deg, #ff375f, #ff9f0a, #ffd60a, #30d158, #40c8e0, #5e5ce6, #bf5af2); }
:root:not(.still) .bx-h-thumb { transition: opacity .3s ease, transform .45s var(--ease-spring), box-shadow .3s ease; }
@media (hover: hover) { .bx-h-strip button:hover .bx-h-thumb { opacity: 1; transform: translateY(-3px); } }
.bx-h-strip button:focus-visible { outline: none; } .bx-h-strip button:focus-visible .bx-h-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 899px) {
  .bx-hero { min-height: 0; aspect-ratio: auto; height: clamp(500px, 128vw, 620px); }
  .bx-h-art::after { background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 42%, transparent 72%); }
  .bx-h-copy { padding: 20px 18px 40px; gap: 9px; max-width: none; }
  .bx-score { top: 16px; left: 16px; padding: 10px 2px; }
  .bx-score div { min-width: 0; padding: 0 12px; }
  .bx-score dt { font-size: 17px; }
  .bx-h-ov { font-size: 14.5px; -webkit-line-clamp: 2; }
  .bx-h-next { top: auto; right: auto; left: 50%; bottom: 6px; translate: -50% 0; gap: 0; }
  .bx-h-strip { max-width: none; padding: 0; gap: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bx-h-arr { display: none !important; }
  .bx-h-strip button { padding: 10px 4px; }
  .bx-h-thumb { display: none; }
  .bx-h-bar { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
  .bx-h-strip [aria-selected="true"] .bx-h-bar { width: 20px; border-radius: 4px; }
  :root:not(.still) .bx-h-bar { transition: width .4s var(--ease-spring); }
}
@media (max-width: 380px) { .bx-score dd { font-size: 10.5px; } .bx-score div { padding: 0 9px; } .bx-cta { padding: 0 16px 0 14px; } }

/* phones: the menu on its own line at the right, the services scrolling full width beneath it */
@media (max-width: 719px) { .bx-hd { flex-wrap: wrap; gap: 8px; } .bx-dds { order: -1; margin: 0 0 0 auto; max-width: 100%; } .bx-hd .dd-kind { flex: none; } .bx-hd #bxGenDD { flex: 0 1 auto; } .bx-rail { flex-basis: 100%; } }

/* ---------- rows ---------- */
.bx-sec { margin-top: 26px; }
.bx-sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bx-sec-hd h2 { margin: 0; font: 700 22px/1.2 var(--font); letter-spacing: -.02em; }
.bx-sec-hd p { margin: 2px 0 0; font-size: 13.5px; color: var(--label2); }
.bx-sec-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.bx-more { padding: 6px 4px; border: 0; background: none; color: var(--accent); font: 500 15px/1 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .bx-more:hover { text-decoration: none; opacity: .8; } }
@media (hover: none), (max-width: 719px) { .bx-sec-acts .bx-r { display: none; } }

/* icon-only buttons: circles, dark grey, white icons */
.bx-r { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: var(--bt-round); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); -webkit-tap-highlight-color: transparent; transition: background-color .2s ease, transform .45s var(--ease-spring); }
.bx-r::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }   /* a 44pt target */
.bx-r svg { width: 18px; height: 18px; }
.bx-r-l { width: 46px; height: 46px; } .bx-r-l svg { width: 21px; height: 21px; }
.bx-r[aria-pressed="true"] { color: var(--bt-on); }
.bx-r:active { transform: scale(.96); }
@media (hover: hover) { .bx-r:hover { background: var(--bt-round-hover); } }
.bx-r:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bx-row { --mfl: 28px; --mfr: 56px; display: grid; grid-auto-flow: column; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--mfl), #000 calc(100% - var(--mfr)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--mfl), #000 calc(100% - var(--mfr)), transparent); }
.bx-row::-webkit-scrollbar { display: none; }
.bx-row.at-start { --mfl: 0px; } .bx-row.at-end { --mfr: 0px; }
.bx-row > li { scroll-snap-align: start; min-width: 0; }
@media (min-width: 1000px) { .bx-row { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.bx-row a { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.bx-row a:focus-visible { outline: none; }
.bx-row a:focus-visible :is(.bx-pc-art, .bx-lp-art) { outline: 2px solid var(--accent); outline-offset: 3px; }

/* trending: wide artwork cards (the first reference) */
.bx-svc { width: 26px; height: 26px; border-radius: var(--r-app); object-fit: cover; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .25); }
.bx-star { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.bx-star svg { width: 13px; height: 13px; color: #ffb340; }

/* top rated: posters with the score in a chip and a Watchlist button (the first and third references) */
.bx-row-p { grid-auto-columns: clamp(128px, 36vw, 158px); }
@media (min-width: 1000px) { .bx-row-p { grid-auto-columns: clamp(140px, calc((100% - 84px) / 6.4), 190px); } }
.bx-pc { position: relative; }
.bx-pc-art, .bx-lp-art { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--fill); box-shadow: var(--cover-shadow); }
.bx-pc-art img, .bx-pc-art .bx-ph, .bx-lp-art img, .bx-lp-art .bx-ph { width: 100%; height: 100%; object-fit: cover; }
.bx-pc-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .82), transparent 50%); }
:root:not(.still) :is(.bx-pc-art, .bx-lp-art) img { transition: transform .6s var(--ease-out); }
@media (hover: hover) { .bx-row a:hover :is(.bx-pc-art, .bx-lp-art) img { transform: scale(1.05); } }
.bx-chip { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: var(--r); font: 600 12.5px/1 var(--font); background: rgba(0, 0, 0, .42); }
.bx-pc-copy { position: absolute; left: 10px; right: 50px; bottom: 11px; display: grid; gap: 2px; color: #fff; }
.bx-pc-copy b { font: 650 14.5px/1.2 var(--font); letter-spacing: -.01em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bx-pc-copy small { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.bx-pc-add { position: absolute; right: 8px; bottom: 9px; }

/* latest: posters with the title and score beneath (the second reference) */
.bx-lp-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 9px; }
.bx-lp-copy b { min-width: 0; font: 600 14.5px/1.25 var(--font); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-lp-copy .bx-star { flex: none; font-size: 13.5px; font-weight: 500; }
.bx-lp small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--label2); }

/* New this week: a frosted column a day (the shared frost and corner), each with the side column's list */
.nwk { position: relative; grid-auto-columns: min(300px, 80vw); gap: 12px; align-items: start; }
@media (min-width: 1000px) { .nwk { grid-auto-columns: clamp(250px, calc((100% - 36px) / 3.4), 300px); align-items: stretch; } }
.nwk-day { display: flex; flex-direction: column; padding: 14px 14px 8px; border-radius: var(--r); background: var(--fr-bg);
  -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim); }
.nwk-eye { margin: 0; font: 600 11.5px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--label2); }
.nwk-day.today .nwk-eye { color: var(--accent); }
.nwk-h { margin: 2px 0 6px; font: 700 19px/1.2 var(--font); letter-spacing: -.02em; }
.nwk .bx-ups { margin: 0 -6px; }
.nwk .bx-ups a, .nwk-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; }
.nwk .bx-ups a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nwk .bx-up-copy b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nwk .bx-up-copy small { display: flex; align-items: center; gap: 6px; }
.nwk-svc { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 2px 7px 2px 3px; border-radius: var(--r); background: var(--fr-in);
  color: var(--label); font: 500 12px/16px var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nwk-svc img { flex: none; width: 16px; height: 16px; border-radius: var(--r-app); object-fit: cover; }
.nwk-day:not(.open) .nwk-x { display: none; }
.nwk-more { align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0 2px; }

/* top rated at a glance: the home page's list (.cl in styles.css), with its heading matched to the rows above */
.bx-clist .row-hd { margin: 30px 0 8px; }
.bx-clist .row-h { font: 700 22px/1.2 var(--font); letter-spacing: -.02em; }
@media (min-width: 1300px) { .bx-clist .cl { column-gap: 28px; } }

/* ---------- the side column: frosted panels ---------- */
.bx-panel { padding: 16px 16px 14px; border-radius: var(--r); }
/* the side boxes: lighter frost, so the page's colours glow through them */
.bx-panel.panel { --bx-fr: color-mix(in srgb, var(--bg) 38%, transparent); background: var(--bx-fr); -webkit-backdrop-filter: blur(40px) saturate(1.8); backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: inset 0 0 0 1px var(--fr-rim), inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent); }
@media (hover: hover) { .bx-panel .bx-ups a:hover { background: color-mix(in srgb, var(--label) 8%, transparent); } }
.bx-panel h2 { margin: 0; font: 700 19px/1.2 var(--font); letter-spacing: -.02em; }
.bx-panel-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.bx-panel > h2 { margin-bottom: 8px; }
.bx-panel-say { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--label2); }
.bx-wide { width: 100%; height: 44px; }
.bx-wide svg { width: 18px; height: 18px; }
.bx-ups { display: grid; margin: 0 -8px; padding: 0; list-style: none; }
.bx-ups li + li { border-top: .5px solid var(--fr-rim); }
.bx-ups a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: var(--r); color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .bx-ups a:hover { background: var(--fr-in); } }
@media (hover: hover) { .bx-ups li:has(a:hover) + li { border-top-color: transparent; } }
.bx-ups a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.bx-up-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.bx-up-copy b { font: 600 15px/1.25 var(--font); letter-spacing: -.012em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-up-copy small { font-size: 13px; color: var(--label2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.bx-up-art { flex: none; width: 44px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--fill); }
.bx-up-art img, .bx-up-art .bx-ph { width: 100%; height: 100%; object-fit: cover; }

/* Discover in a box: one poster card to swipe, with skip, details and save beneath (the Discover page's deck) */
.bx-dc { overflow: hidden; }
.bx-dc-say { margin: -4px 0 12px; font-size: 13px; }
.bx-dc-card { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); color: #fff; text-decoration: none; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: var(--fill); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 22px 44px -22px rgba(0, 0, 0, .7); cursor: grab; transition: transform .45s var(--ease-spring); -webkit-tap-highlight-color: transparent; }
.bx-dc-card.held { cursor: grabbing; transition: none; }
@media (hover: hover) { .bx-dc-card:hover { text-decoration: none; } }
.bx-dc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bx-dc-art img, .bx-dc-art .bx-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; pointer-events: none; }
.bx-dc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .3) 40%, transparent 62%); }
.bx-dc-copy { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 13px; display: grid; gap: 4px; }
.bx-dc-copy b { font: 700 20px/1.15 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.bx-dc-copy small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
/* the stamps that fade in as you swipe */
.bx-dc-stamp { position: absolute; z-index: 2; top: 16px; padding: 6px 12px; border-radius: var(--r); font: 700 16px/1 var(--font); letter-spacing: .02em; text-transform: uppercase; opacity: 0;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bx-dc-stamp.yes { left: 14px; color: #30d158; box-shadow: inset 0 0 0 2px #30d158; background: rgba(0, 0, 0, .35); opacity: var(--yes, 0); rotate: -10deg; }
.bx-dc-stamp.no { right: 14px; color: #ff375f; box-shadow: inset 0 0 0 2px #ff375f; background: rgba(0, 0, 0, .35); opacity: var(--no, 0); rotate: 10deg; }
.bx-dc-acts { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.bx-dc-acts .bx-r-l { width: 52px; height: 52px; } .bx-dc-acts .bx-r-l svg { width: 22px; height: 22px; }
.bx-dc-no { color: #ff375f; } .bx-dc-yes { color: #30d158; }

/* Tenner TV: an invitation to try it */
.bx-tv-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bx-tv-hd > div { display: flex; align-items: center; gap: 8px; }
.bx-tv-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r); color: #fff;
  background: linear-gradient(150deg, #0a84ff, #5e5ce6 55%, #bf5af2); box-shadow: 0 8px 18px -10px rgba(10, 132, 255, .7); }
.bx-tv-ic svg { width: 26px; height: 26px; }

/* the Top 10, numbered */
.bx-tt a { gap: 10px; padding: 4px 8px; }
.bx-tt .bx-up-art { width: 26px; }
.bx-tt .bx-up-copy { gap: 1px; }
.bx-tt .bx-up-copy b { font-size: 14px; }
.bx-tt .bx-up-copy small { font-size: 12px; }
.bx-tt-n { flex: none; width: 22px; text-align: center; font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--label2); }
/* Shows and Films: small grey labels with room above, lined up with the numbers */
.bx-tt-sub { margin: 18px 0 4px; font: 600 12.5px/1.2 var(--font); letter-spacing: .01em; color: var(--label2); }
.bx-tt-sub:first-of-type { margin-top: 2px; }
/* the heading and the service picker sit on one line, centred on each other, with a clear gap before the list */
.bx-tt-box .bx-panel-hd { align-items: center; margin-bottom: 12px; }
.bx-tt-box:not(.open) .bx-tt-x { display: none; }
.bx-tt-box.open .bx-tt-x { animation: bxTtIn .35s var(--ease-out) both; }
@keyframes bxTtIn { from { opacity: 0; translate: 0 -6px; } }
/* a film scene in grey behind the heading, fading down into the box; the words stay above it */
.bx-tt-box.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.bx-tt-bg { position: absolute; inset: 0 0 auto; height: 200px; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
.bx-tt-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: grayscale(1) contrast(1.1) brightness(.85); opacity: 0; transition: opacity 1.6s ease; }
.bx-tt-bg img.on { opacity: .5; }
.bx-tt-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, color-mix(in srgb, var(--bg) 55%, transparent)),
  linear-gradient(90deg, color-mix(in srgb, var(--bg) 35%, transparent), transparent 70%); }
.bx-tt-box.has-bg .bx-panel-hd { padding-top: 60px; text-shadow: 0 1px 12px color-mix(in srgb, var(--bg) 70%, transparent); }
:root[data-theme="light"] .bx-tt-bg img.on { opacity: .32; }
html.still .bx-tt-bg img { transition: none; }
@media (prefers-reduced-motion: reduce) { .bx-tt-bg img { transition: none; } }
.bx-tt-more { display: block; margin: 6px auto 0; min-height: 44px; padding: 0 12px; }

/* What should I watch tonight?: the popcorn beside the question, then the sheet's first question asked right here */
.bx-tn-hd { display: flex; align-items: flex-start; gap: 12px; }
.bx-tn-hd .tn-ic { width: 46px; }
.bx-tn h2 { margin-bottom: 4px; text-wrap: balance; }
.bx-tn .bx-panel-say { margin-bottom: 0; }
.bx-tn-q { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 8px; font: 600 14px/1.3 var(--font); letter-spacing: -.01em; }
.bx-tn-q span { font-weight: 500; font-size: 12.5px; color: var(--label2); font-variant-numeric: tabular-nums; }
.bx-tn-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bx-tn-opt { display: grid; justify-items: center; gap: 8px; min-height: 92px; padding: 14px 6px 12px; border: 0; border-radius: var(--r); cursor: pointer;
  color: var(--label); background: var(--fr-in); font: 500 13.5px/1.2 var(--font); letter-spacing: -.01em; -webkit-tap-highlight-color: transparent;
  transition: background-color .18s, transform .45s var(--ease-spring); }
.bx-tn-opt .tn-ic { width: 40px; transition: transform .45s var(--ease-spring); }
.bx-tn-opt:active { transform: scale(.96); }
@media (hover: hover) { .bx-tn-opt:hover { background: var(--fill); } .bx-tn-opt:hover .tn-ic { transform: translateY(-2px) scale(1.05); } }
.bx-tn-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- placeholders, loading and the rest ---------- */
.bx-ph { display: grid; place-items: end start; padding: 10px; color: rgba(255, 255, 255, .9); font: 650 13px/1.2 var(--font); text-align: left; }
.bx-ph.wide { place-items: end start; padding: 14px; font-size: 15px; }
.bx-ph span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bx-pc-art .bx-ph span, .bx-h-l .bx-ph span { visibility: hidden; }   /* the title's already written over it */
.bx-blurfill { filter: blur(24px) saturate(1.4); transform: scale(1.3); }
.bx-sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.bx-sk-row i { aspect-ratio: 16 / 9; border-radius: var(--r); background: var(--fill); }
:root:not(.still) .bx-hero.sk, :root:not(.still) .bx-sk-row i { animation: bxPulse 1.4s ease-in-out infinite alternate; }
@keyframes bxPulse { from { opacity: .55; } to { opacity: 1; } }
.bx-empty { margin: 30px 0; color: var(--label2); font-size: 15px; }
@media (prefers-reduced-transparency: reduce) { .bx-panel.panel, .bx-score { background: var(--bg2); } .bx-eye, .bx-pills span, .bx-chip { background: rgba(28, 28, 30, .92); } .bx-amb { display: none; } }

/* For you (signed in): its skeletons while the picks load, and the nudge towards Discover before there's anything to go on */
.bx-fy-sk { overflow: hidden; }
.bx-fy-sk .bx-pc-art { box-shadow: none; }
:root:not(.still) .bx-fy-sk .bx-pc-art { animation: bxPulse 1.4s ease-in-out infinite alternate; }
.bx-fy-none .bx-sec-hd { align-items: center; flex-wrap: wrap; }
.bx-fy-none .bx-sec-hd > div { flex: 1 1 260px; min-width: 0; }
.bx-fy-go { height: 44px; flex: none; }
.bx-fy-go svg { width: 16px; height: 16px; }
/* a placeholder poster this small (the Top 10 box, Climbing) shows its colours only: its name was cut to a few letters */
.bx-up-art .bx-ph span { display: none; }

/* ---------- Christmas (home.js): a festive slide, a winter night behind the page and falling snow ---------- */
/* the night sky fades in behind everything while the Christmas slide is showing */
:root.xmas body::after { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, .8), transparent), radial-gradient(1px 1px at 33% 9%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.4px 1.4px at 58% 22%, rgba(255, 255, 255, .75), transparent), radial-gradient(1px 1px at 76% 6%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.2px 1.2px at 91% 27%, rgba(255, 255, 255, .7), transparent), radial-gradient(1px 1px at 47% 35%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(90% 60% at 72% 0%, rgba(64, 200, 224, .16), transparent 70%), radial-gradient(70% 55% at 85% 100%, rgba(255, 159, 10, .12), transparent 70%),
    linear-gradient(#060a22, #0b1236 45%, #141436);
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 400px 400px, 300px 300px, auto, auto, auto; }
:root.xmas-in body::after { opacity: 1; }
:root:not(.still).xmas body::after { transition: opacity 1.2s var(--ease-out); }
/* by day: a pale winter morning instead, so the words stay dark and easy to read */
:root[data-theme="light"].xmas body::after { background: radial-gradient(90% 60% at 72% 0%, rgba(100, 210, 255, .22), transparent 70%), radial-gradient(70% 55% at 85% 100%, rgba(255, 159, 10, .1), transparent 70%), linear-gradient(#c9d6ee, #e3eaf6 45%, #f2f5fb); background-size: auto; }
.bx-snow { position: fixed; z-index: 55; inset: 0; width: 100vw; height: 100vh; pointer-events: none; }
.bx-eye-x svg { color: #ffd60a; }
.bx-h-how { margin: -2px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.bx-h-ov-x { -webkit-line-clamp: 4; }
@media (max-width: 899px) { .bx-h-l .bx-h-ximg { object-position: 70% center; } }

/* ---------- Tenner's own cut in the featured title's card (tn.cut in shell.js): the homepage's top slide ---------- */
/* each still fills the artwork like the picture beneath it, drifting under the soft dark wash, and dissolves into the next */
.cut { position: absolute; inset: 0; overflow: hidden; }
.cut-f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; will-change: opacity, transform; }
/* the moving slide's three buttons stay on one line, down to the smallest phones */
.bx-h-acts:has(.bx-trl) { flex-wrap: nowrap; }
@media (max-width: 380px) {
  .bx-h-copy:has(.bx-trl) { padding-left: 14px; padding-right: 14px; }
  .bx-h-acts:has(.bx-trl) { gap: 8px; }
  .bx-h-acts:has(.bx-trl) .bx-r-l { width: 44px; height: 44px; }
  .bx-h-acts:has(.bx-trl) .bx-cta { font-size: 15px; }
}

/* ---------- signed in: your pill (styles.css) floats over a slot top right, above the dropdowns ---------- */
.bx-me-slot { display: none; }
@media (min-width: 720px) {
  .bx-hd.me-on { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 10px; align-items: start; }
  .bx-hd.me-on .bx-rail { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  /* beside the pill there's room for one line of services: they scroll, fading at the edge, rather than leave one alone on a second line */
  .bx-hd.me-on .bx-rail { flex-wrap: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .bx-hd.me-on .bx-rail > :last-child { margin-right: 22px; }
  .bx-hd.me-on .bx-dds { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; }
  .bx-hd.me-on .bx-me-slot { display: block; grid-column: 2; grid-row: 1; height: 56px; }
}
/* the side boxes' header buttons (Discover's Open, the Top 10's By service): the site's button, a size smaller */
/* the Top 10's service picker: a pop-up button with the chart icon, as wide as its words (up to about two thirds of the box) */
.bx-tt-dd { flex: 0 1 auto; max-width: 62%; padding: 0 11px 0 12px; gap: 7px; text-shadow: none; }
.bx-tt-dd > svg { flex: none; width: 15px; height: 15px; color: #fff; }
.bx-tt-none { margin: 6px 0 4px; }

/* phones: no margin down the sides (the owner's pick). The featured artwork runs from edge to edge as in the Apple TV app,
   and the rows of posters start and end right at the screen's edges; the headings keep their inset. */
@media (max-width: 719px) {
  .bx-hero { margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 44px), transparent); }
  .bx-row { padding-inline: 0; scroll-padding-inline: 0; }
}

/* ---------- the spotlight: a second splash halfway down (home.js's drawSpot), drawn like the featured title ---------- */
.bx-spot { margin-top: 34px; min-height: clamp(400px, 50vh, 540px); }
.bx-spot .bx-h-copy { max-width: 600px; }
@media (min-width: 720px) and (max-width: 1299px) { .bx-spot { order: 2; } }   /* with the lists, below the side column */
@media (max-width: 719px) {
  .bx-spot { margin-top: 26px; height: clamp(460px, 118vw, 580px); }
  .bx-spot .bx-h-copy { padding-bottom: 26px; }
}

/* Top Christmas films and shows: the reindeer in the snow beside the heading (flakes fall and the nose glows only with
   Settings → Animations on and no Reduce Motion) */
.xm-deer { display: inline-block; width: 1.75em; height: 1.75em; margin: -.25em 0 -.2em .35em; vertical-align: middle;
  border-radius: var(--r); box-shadow: 0 2px 10px rgba(10, 30, 80, .3); }
.xm-deer .xm-snow, .xm-deer .xm-flakes { fill: #fff; }
.xm-deer .xm-flakes circle { opacity: .85; }
.xm-deer .xm-flakes circle:nth-child(1) { transform: translateY(24px); } .xm-deer .xm-flakes circle:nth-child(2) { transform: translateY(9px); }
.xm-deer .xm-flakes circle:nth-child(3) { transform: translateY(6px); } .xm-deer .xm-flakes circle:nth-child(4) { transform: translateY(16px); }
.xm-deer .xm-flakes circle:nth-child(5) { transform: translateY(30px); } .xm-deer .xm-flakes circle:nth-child(6) { transform: translateY(40px); }
.xm-deer .xm-flakes circle:nth-child(7) { transform: translateY(44px); }
@media (prefers-reduced-motion: no-preference) {
  :root:not(.still) .xm-deer .xm-flakes circle { animation: xmFall 3.6s linear infinite; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(2) { animation-delay: -1.1s; animation-duration: 4.2s; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(3) { animation-delay: -2.3s; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(4) { animation-delay: -.5s; animation-duration: 4.6s; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(5) { animation-delay: -3s; animation-duration: 3.9s; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(6) { animation-delay: -1.8s; animation-duration: 5s; }
  :root:not(.still) .xm-deer .xm-flakes circle:nth-child(7) { animation-delay: -2.9s; animation-duration: 4.4s; }
  :root:not(.still) .xm-deer .xm-glow { animation: xmGlow 2.4s ease-in-out infinite alternate; transform-origin: 32px 39.5px; }
}
@keyframes xmFall { 0% { opacity: 0; transform: translate(0, -4px); } 15% { opacity: 1; } 50% { transform: translate(2.5px, 30px); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-1px, 60px); } }
@keyframes xmGlow { from { opacity: .15; transform: scale(.8); } to { opacity: .5; transform: scale(1.25); } }
.bx-sec-hd h2:has(.xm-deer) { margin-bottom: 6px; }   /* the reindeer clear of the line beneath on phones */

/* ---------- phones: the top as on Tenner TV. The featured title's artwork runs edge to edge and up under the bar (which
   floats over it, see-through), melting into the page below; over its foot, the service's badge, a big title, one quiet
   line, one More info button and the dots. The cut, the Christmas slide and swiping all work as before. ---------- */
.bx-h-badge, .bx-h-sub, .bx-h-more { display: none; }
@media (max-width: 719px) {
  body.home { --hart: min(128vw, 600px); }
  #bxHero { margin: calc(-60px - env(safe-area-inset-top, 0px)) calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter)); height: auto; min-height: 0; aspect-ratio: auto;
    border-radius: 0; background: none; box-shadow: none !important; color: var(--label); overflow: visible; -webkit-mask-image: none; mask-image: none; }
  #bxHero.sk { height: var(--hart); background: none; }
  #bxHero .bx-h-art { inset: 0 0 auto; height: var(--hart); overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 52%, rgba(0, 0, 0, .55) 74%, transparent); mask-image: linear-gradient(#000 52%, rgba(0, 0, 0, .55) 74%, transparent); }
  /* a soft shade at the very top for the clock and the bar's buttons, and a little at the foot under the words (night only) */
  #bxHero .bx-h-art::after { background: linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, .12) 110px, transparent 170px); }
  :root:not([data-theme="light"]) #bxHero .bx-h-art::after { background: linear-gradient(rgba(0, 0, 0, .42), rgba(0, 0, 0, .12) 110px, transparent 170px, transparent 50%, rgba(0, 0, 0, .35)); }
  #bxHero .bx-h-copy { position: relative; inset: auto; z-index: 1; justify-content: flex-start; gap: 8px; max-width: none;
    padding: calc(var(--hart) - 168px) var(--gutter-r) 14px var(--gutter); }
  #bxHero .bx-score, #bxHero .bx-eye:not(.bx-eye-x), #bxHero .bx-pills, #bxHero .bx-h-meta, #bxHero .bx-h-ov, #bxHero .bx-h-how,
  #bxHero .bx-h-acts > :not(.bx-h-more, .bx-h-next, [data-adv], [data-xmas]) { display: none !important; }
  /* the service: its icon and name on a small frosted tile (Tenner TV shows the channel there) */
  #bxHero .bx-h-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 4px 10px 4px 4px; border-radius: var(--r); font: 600 13px/1 var(--font);
    color: var(--label); background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim); }
  #bxHero .bx-h-badge-i { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
  #bxHero .bx-eye-x { background: var(--fr-bg); color: var(--label); box-shadow: inset 0 0 0 1px var(--fr-rim); }
  #bxHero .bx-h-t { margin: 0; font-size: clamp(32px, 10.4vw, 42px); line-height: 1.02; text-shadow: none;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding-bottom: .04em; }
  #bxHero .bx-h-logo { max-width: min(300px, 76vw); max-height: 96px; filter: none; }
  :root:not([data-theme="light"]) #bxHero .bx-h-logo { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .4)); }
  #bxHero .bx-h-sub { display: block; margin: 0; font: 600 15px/1.3 var(--font); color: var(--label); opacity: .86; }
  /* one button and the dots beside it */
  #bxHero .bx-h-acts { flex-wrap: wrap; gap: 10px 18px; margin-top: 8px; }
  #bxHero .bx-h-more { display: inline-flex; }
  /* Christmas: Share as a round icon beside Open calendar, so the dots still fit on the line */
  #bxHero [data-adv] ~ [data-xmas="share"] { width: 44px; padding: 0; justify-content: center; font-size: 0; border-radius: 50%; }
  #bxHero [data-adv] ~ [data-xmas="share"] svg { margin: 0; }
  :root[data-theme="light"] #bxHero [data-adv] ~ [data-xmas="share"] { background: var(--fr-bg); box-shadow: inset 0 0 0 1px var(--fr-rim); }
  #bxHero .bx-h-acts .bx-h-next { position: static; translate: none; display: flex; align-items: center; }
  #bxHero .bx-h-strip button { padding: 12px 3px; }
  #bxHero .bx-h-bar { width: 7px; height: 7px; background: color-mix(in srgb, var(--label) 30%, transparent); }
  #bxHero .bx-h-strip [aria-selected="true"] .bx-h-bar { width: 22px; background: var(--label); }
  #bxHero .bx-h-strip button:focus-visible .bx-h-bar { outline: 2px solid var(--accent); outline-offset: 3px; }
  /* the picture moves a little less here: the top edge never leaves the screen */
  :root:not(.still) #bxHero .bx-h-l.in img { animation-name: bxDriftPh; }
  @keyframes bxDriftPh { from { transform: scale(1.06); transform-origin: center top; } to { transform: scale(1); transform-origin: center top; } }
  /* the bar sits over the Top 10s: Tenner's name beside the logo on the left */
  body.home .top-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  body.home .top-brand { grid-area: 1 / 2; justify-self: start; display: flex; align-items: center; gap: 9px; }
  body.home .top-brand .brand-name { display: block; font: 700 21px/1 var(--font); letter-spacing: -.02em; color: var(--label); }
  :root.title-in body.home .top-brand .brand-name { opacity: 0; }
}
@media (max-width: 719px) and (prefers-reduced-transparency: reduce) {
  #bxHero .bx-h-badge, #bxHero .bx-eye-x { background: var(--bg); }
}
@media (max-width: 359px) { body.home .top-brand .brand-name { display: none; } }

/* ---------- the spotlight on phones: it melts into the page above and below, and as you scroll past, the picture drifts
   more slowly than the page (parallax) while the words rise into place. Scroll-driven, so it runs off the main thread;
   only with Settings → Animations on and never with Reduce Motion. ---------- */
@media (max-width: 719px) {
  .bx-spot { margin-top: 10px; -webkit-mask-image: linear-gradient(transparent, #000 24%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 24%, #000 84%, transparent); }
  .bx-spot .bx-h-art::after { background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .45) 40%, transparent 66%); }
}
@supports (animation-timeline: view()) {
  @media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
    :root:not(.still) .bx-spot .bx-h-l img { scale: 1.2; animation: spotDrift linear both; animation-timeline: view(); animation-range: cover; will-change: transform; }
    @keyframes spotDrift { from { transform: translate3d(0, -9%, 0); } to { transform: translate3d(0, 9%, 0); } }
    :root:not(.still) .bx-spot .bx-h-copy { animation: spotRise linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
    @keyframes spotRise { from { opacity: 0; transform: translate3d(0, 36px, 0); } to { opacity: 1; transform: none; } }
  }
}
