/* Danflix "Browse" theme: one stylesheet for every page in the theme (home,
   /watch, guide, admin). Tokens first, then components, then page layouts.
   See theme_browse.py for how the theme is switched on. */

:root {
  --bg: #121212; --s1: #1c1c1c; --s2: #262626; --border: #333333;
  --text: #f5f5f5; --muted: #b3b3b3; --dim: #8a8a8a;
  --red: #e50914; --red-tint: #241515; --gold: #f5c518; --ok: #2f9e5b; --warn: #c98a17;
  --radius: 6px; --gutter: 40px; --header-h: 64px;
  --font: 'Red Hat Display', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.4; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
[hidden] { display: none !important; }

/* ── header: see browse-header.css; these parts are reused elsewhere ─────────────────────────────────────────────────────────────── */
.bx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 26px; color: var(--red); letter-spacing: 1px; white-space: nowrap; }
.bx-logo .bx-pill { font-size: 11px; letter-spacing: 1.5px; padding: 3px 7px; border-radius: 3px; background: var(--s2); color: var(--muted); }
.bx-dd { position: relative; display: flex; }
.bx-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--s1); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); padding: 6px; display: none; z-index: 60; }
.bx-menu.right { left: auto; right: 0; }
.bx-dd.open > .bx-menu { display: block; }
.bx-menu a, .bx-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 6px; border: none; background: none; color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; }
.bx-menu a:hover, .bx-menu button:hover, .bx-menu a.active { background: var(--s2); }
.bx-menu small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.bx-menu hr { border: none; border-top: 1px solid var(--s2); margin: 6px 0; }
.bx-link { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.bx-link:hover { color: #ffffff; }

/* ── buttons, badges, inputs ────────────────────────────────────────────── */
.bx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 4px; border: none; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bx-btn.sm { padding: 8px 14px; font-size: 14px; }
.bx-btn.primary { background: #ffffff; color: var(--bg); }
.bx-btn.primary:hover { background: #dcdcdc; }
.bx-btn.secondary { background: rgba(255, 255, 255, .16); color: #ffffff; }
.bx-btn.secondary:hover { background: rgba(255, 255, 255, .26); }
.bx-btn.outline { background: transparent; color: var(--text); border: 1px solid #555555; }
.bx-btn.outline:hover { border-color: #ffffff; }
.bx-btn.danger { background: var(--red); color: #ffffff; }
.bx-btn[disabled] { opacity: .5; cursor: default; }
.bx-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; border: none; background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.bx-icon:hover, .bx-icon.on { background: rgba(255, 255, 255, .12); }
.bx-icon.solid { background: var(--s2); }
.bx-icon.sm { width: 36px; height: 36px; }
.bx-icon .dot { position: absolute; right: 9px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.bx-icon svg, .bx-btn svg { width: 20px; height: 20px; flex: none; }
.bx-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 3px 7px; border-radius: 3px; background: var(--s2); color: #d0d0d0; text-transform: uppercase; }
.bx-badge.live { background: var(--red); color: #ffffff; }
.bx-badge.gold { background: var(--gold); color: var(--bg); }
.bx-badge.ok { background: var(--ok); color: #ffffff; }
.bx-badge.warn { background: var(--warn); color: #ffffff; }
.bx-input, .bx-select { height: 44px; padding: 0 12px; background: var(--s1); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); }
.bx-input:focus, .bx-select:focus { border-color: #8a8a8a; outline: none; }
.bx-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.bx-tab { height: 40px; padding: 0 18px; border-radius: 20px; border: none; background: var(--s2); color: var(--text); font-weight: 800; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.bx-tab[aria-selected="true"], .bx-tab.active { background: #ffffff; color: var(--bg); }

/* ── cards and rows ─────────────────────────────────────────────────────── */
.bx-page { padding: 28px var(--gutter) 60px; display: flex; flex-direction: column; gap: 28px; max-width: 1600px; margin: 0 auto; }
.bx-h1 { margin: 0; font-weight: 900; font-size: 30px; }
.bx-row { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bx-row-head { display: flex; align-items: baseline; gap: 12px; }
.bx-row-head h2 { margin: 0; font-weight: 800; font-size: 20px; }
.bx-row-head .sub { font-size: 13px; color: var(--muted); }
.bx-row-head .bx-link { margin-left: auto; }
.bx-scroller { position: relative; }
.bx-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.bx-track::-webkit-scrollbar { display: none; }
.bx-track > * { scroll-snap-align: start; }
.bx-arrow { position: absolute; top: 0; bottom: 40px; width: 44px; border: none; background: rgba(18, 18, 18, .82); color: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; z-index: 2; }
.bx-arrow.prev { left: calc(-1 * var(--gutter)); width: var(--gutter); }
.bx-arrow.next { right: calc(-1 * var(--gutter)); width: var(--gutter); }
.bx-scroller:hover .bx-arrow:not([disabled]) { opacity: 1; }
.bx-card { flex: none; width: 222px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.bx-card.sm { width: 180px; }
.bx-card.poster { width: 150px; }
.bx-card .t { font-weight: 700; font-size: 15px; }
.bx-card .s { font-size: 13px; color: var(--muted); }
.bx-card .m { font-size: 12px; color: var(--gold); font-weight: 700; }
.bx-tile { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--tile, #2a2a2a); display: flex; align-items: flex-end; padding: 10px 12px; overflow: hidden; transition: transform .15s; }
.poster .bx-tile { aspect-ratio: 2 / 2.9; align-items: flex-start; }
.bx-tile .name { font-weight: 900; font-size: 18px; line-height: 1.1; color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bx-tile .bx-badge { position: absolute; left: 8px; top: 8px; }
.bx-card:hover .bx-tile { transform: scale(1.03); }
.bx-panel { background: var(--s1); border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.bx-panel > header { display: flex; align-items: center; gap: 10px; }
.bx-panel > header h3 { margin: 0; font-weight: 800; font-size: 16px; }
.bx-panel > header > :last-child:not(h3) { margin-left: auto; }
.bx-muted { color: var(--muted); }
.bx-progress { height: 4px; background: #3a3a3a; border-radius: 2px; overflow: hidden; }
.bx-progress > span { display: block; height: 100%; background: var(--red); border-radius: 2px; }

/* ── home hero ──────────────────────────────────────────────────────────── */
.bx-hero { display: flex; gap: 28px; align-items: center; }
.bx-hero .bx-tile { width: min(560px, 46vw); flex: none; align-items: center; justify-content: center; border-radius: 8px; background: #000000; }
.bx-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx-hero-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.bx-hero-media .bx-badge { z-index: 2; pointer-events: none; }
.bx-hero-sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.bx-hero h1 { margin: 0; font-weight: 900; font-size: 52px; line-height: 1; }
.bx-hero .ep { font-size: 17px; color: #d8d8d8; }
.bx-hero .when { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bx-hero .when .bx-progress { width: 220px; }
.bx-hero .actions { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }

/* ── guide ──────────────────────────────────────────────────────────────── */
.bx-guide-row { display: flex; gap: 18px; align-items: center; padding: 10px 0; border-top: 1px solid var(--s2); }
.bx-guide-row .label { width: 200px; flex: none; }
.bx-guide-row .label b { display: block; font-size: 16px; }
.bx-guide-row .label span { font-size: 12px; color: var(--muted); }
.bx-ep { flex: none; width: 196px; padding: 10px 12px; border-radius: 8px; background: var(--s1); text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 2px; }
.bx-ep .tm { font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.bx-ep .nm { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-ep .ep { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-ep.live { background: var(--red-tint); box-shadow: inset 0 0 0 2px var(--red); }
.bx-ep.past { opacity: .45; }
.bx-ep .bx-progress { margin-top: 4px; height: 3px; }

/* ── /watch theatre ─────────────────────────────────────────────────────── */
/* The chat, guide, embed and status parts come from the shared watch core
   (static/watch-core.css, classic-page styles driven by these variables). */
body.bx-theatre {
  overflow: hidden; background: #000000;
  --accent: #e50914; --accent2: #2f9e5b; --tb-accent: #e50914; --tb-warn: #f5c518; --danger: #e50914;
  --panel: #1c1c1c; --panel2: #262626; --border-dim: #262626;
  --text-bright: #ffffff; --text-dim: #b3b3b3; --text-2: #b3b3b3; --text-3: #8a8a8a;
  --overlay: rgba(18, 18, 18, .97); --guide-head-bg: #1c1c1c; --guide-ruler-bg: #121212;
  --now-bg: #241515; --now-border: #e50914; --now-time: #ff8a8a; --now-title: #ffffff;
  --font-body: var(--font); --font-mono: var(--font); --font-display: var(--font); --col-w: 200px;
  --chat-w: min(360px, 45vw);
}
.bx-watch { position: fixed; inset: 0; }
.bx-stage { position: absolute; inset: 0; background: #000000; overflow: hidden; }
.bx-theatre .bx-stage > video, .bx-theatre .bx-stage > iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; background: #000000; border: 0; transition: width .3s; }
.bx-theatre .video-wrap.chat-open > video, .bx-theatre .video-wrap.chat-open > iframe { width: calc(100% - var(--chat-w)); }
.bx-theatre .video-wrap.chat-open .bx-topbar, .bx-theatre .video-wrap.chat-open .bx-strip, .bx-theatre .video-wrap.chat-open .bx-pullzone { right: var(--chat-w); }
.bx-theatre .video-wrap.pip-mode .bx-strip, .bx-theatre .video-wrap.pip-mode .bx-nowinfo, .bx-theatre .video-wrap.pip-mode .bx-pullzone, .bx-theatre .video-wrap.pip-mode .bx-unmute { display: none !important; }
.bx-theatre .slide-panel { z-index: 8; border-color: var(--s2); }
.bx-theatre #guide-panel { height: min(420px, calc(100% - var(--header-h) - 12px)); }
.bx-theatre .stream-reconnect { top: calc(var(--header-h) + 14px); border-radius: 20px; }
.bx-theatre .player-overlay { z-index: 6; }
@media (min-width: 681px) { .bx-theatre #chat-panel { width: var(--chat-w); border-left: 1px solid var(--s2); } }
.bx-theatre .video-wrap.pip-mode > video, .bx-theatre .video-wrap.pip-mode > iframe { left: auto; right: 20px; top: calc(var(--header-h) + 12px); width: 320px; height: 180px; border: 0; border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, .7); z-index: 7; }
.bx-theatre .guide-search-input { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--s2); background: var(--s1); color: var(--text); font: 500 14px var(--font); }
.bx-theatre .guide-search-input:focus { outline: 2px solid #ffffff; outline-offset: 1px; }
.bx-theatre .guide-time-now { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 680px) { .bx-theatre .video-wrap.pip-mode > video, .bx-theatre .video-wrap.pip-mode > iframe { width: 160px; height: 90px; right: 10px; } }
/* Sound button: bottom right of the picture, as on the classic page. It sits
   above the schedule row, drops to the corner when the row tucks away, and
   moves left of the chat column. */
.bx-theatre .bx-vol { position: absolute; right: calc(var(--pic-right, 0px) + 28px); bottom: max(calc(var(--strip-h, 200px) + 16px), calc(var(--pic-bottom, 0px) + 20px)); z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(12, 12, 12, .72); color: #ffffff; transition: bottom .38s cubic-bezier(.2, .8, .2, 1), right .3s, opacity .3s; }
.bx-theatre .bx-vol:hover { background: rgba(40, 40, 40, .9); }
.bx-theatre .bx-watch.collapsed .bx-vol { bottom: calc(var(--pic-bottom, 0px) + 20px); }
.bx-theatre .video-wrap.chat-open .bx-vol { right: calc(var(--pic-right, 0px) + 28px); bottom: max(calc(var(--strip-h, 200px) + 16px), calc(var(--pic-bottom, 0px) + 20px)); }
.bx-theatre .bx-watch.collapsed .video-wrap.chat-open .bx-vol { bottom: calc(var(--pic-bottom, 0px) + 20px); }
.bx-theatre .bx-watch.idle .bx-vol { opacity: .55; }
.bx-theatre .bx-watch.idle .bx-vol:hover { opacity: 1; }
.bx-theatre .video-wrap.pip-mode .bx-vol { display: none; }
.bx-icon.active { background: rgba(255, 255, 255, .16); color: #ffffff; }
.bx-icon.cc-unavailable { color: #ff8a8a; }
.bx-slot { position: relative; }
.bx-slot-star { position: absolute; right: 6px; top: 6px; }
.bx-slot-star:empty { display: none; }
/* Chat panel: the core's parts in Browse type sizes. */
.bx-theatre #chat-panel { background: #121212; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bx-theatre .chat-header { min-height: var(--header-h); padding: 0 12px 0 14px; border-bottom: 1px solid var(--s2); gap: 8px; }
.bx-theatre .bx-chat-count { display: inline-flex; align-items: center; gap: 6px; flex: none; margin: 0 0 0 4px; padding: 0; font-size: 13px; font-weight: 800; color: #b3b3b3; white-space: nowrap; }
.bx-theatre .bx-chat-count .cb-viewer-dot { width: 7px; height: 7px; border-radius: 50%; background: #2f9e5b; }
.bx-theatre .chat-header-btn { font-weight: 800; font-size: 13px; letter-spacing: 0; text-transform: none; border-radius: 16px; padding: 6px 12px; min-height: 32px; display: inline-flex; align-items: center; gap: 4px; }
.bx-theatre .bx-chat-close { margin-left: auto; padding: 6px; }
.bx-theatre .bx-chat-close svg { width: 18px; height: 18px; }
.bx-theatre .chat-msg { font-size: 15px; line-height: 1.45; }
.bx-theatre .chat-msg-time { font-size: 11px; }
.bx-theatre .chat-msg-user { color: var(--gold); font-weight: 800; }
.bx-theatre .chat-compose { padding: 12px; gap: 8px; border-top: 1px solid var(--s2); }
.bx-theatre .chat-compose input { height: 44px; font-size: 15px; border-radius: var(--radius); background: var(--s1); }
.bx-theatre .chat-compose button { min-height: 44px; border-radius: 4px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.bx-theatre #chat-send-btn { background: #ffffff; color: #121212; border-color: #ffffff; padding: 0 16px; }
.bx-theatre .chat-embed-row { padding: 10px 14px; gap: 8px; }
.bx-theatre .chat-embed-pill, .bx-theatre .chat-embed-pill-label { font-weight: 800; font-size: 13px; letter-spacing: 0; text-transform: none; border-radius: 16px; }
.bx-theatre .chat-embed-pill.active { background: #ffffff; color: #121212; border-color: #ffffff; }
.bx-theatre .chat-announce { border-radius: 8px; margin: 10px 14px 0; font-size: 14px; }
.bx-theatre .chat-signin-cta { padding: 14px 20px; font-size: 14px; }
.bx-theatre .chat-signin-cta a { font-weight: 800; color: #ffffff; }
.bx-theatre .guide-header-title { font-weight: 900; font-size: 20px; letter-spacing: 0; text-transform: none; color: #ffffff; }
.bx-theatre .guide-header { gap: 14px; }
.bx-theatre .guide-full-week-link { font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--muted); }
.embed-modal { border-radius: 10px; }
.embed-modal-title { font-weight: 900; font-size: 20px; letter-spacing: 0; text-transform: none; }
.embed-platform-btn, .embed-modal-btn { font-weight: 800; letter-spacing: 0; text-transform: none; border-radius: 4px; min-height: 40px; }
.embed-platform-btn.active, .embed-modal-btn.primary { background: #ffffff; color: #121212; border-color: #ffffff; }
.chat-user-card, .chat-mod-menu { border-radius: 10px; font-family: var(--font); }
.chat-user-card-title, .chat-mod-menu-title { font-weight: 900; letter-spacing: 0; text-transform: none; }
.bx-topbar { position: absolute; left: 0; right: 0; top: 0; height: var(--header-h); padding: 0 28px; display: flex; align-items: center; gap: 16px; background: rgba(12, 12, 12, .72); transition: background .3s; z-index: 5; }
.bx-topbar .bx-logo { font-size: 22px; color: var(--red); }
.bx-topbar .back { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; transition: opacity .3s, transform .38s cubic-bezier(.2, .8, .2, 1); }
.bx-topbar .ctx { margin-left: 18px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #d8d8d8; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-topbar .tools { margin-left: auto; display: flex; gap: 6px; }
.bx-nowinfo { position: absolute; left: calc(var(--pic-left, 0px) + 28px); bottom: calc(var(--strip-h, 200px) + 30px); max-width: 620px; display: flex; flex-direction: column; gap: 8px; transition: bottom .38s cubic-bezier(.2, .8, .2, 1), opacity .3s; z-index: 4; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.bx-nowinfo h1 { margin: 0; font-weight: 900; font-size: 46px; line-height: 1; color: #ffffff; }
.bx-nowinfo .ep { font-size: 17px; color: #e0e0e0; }
.bx-nowinfo .when { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #d0d0d0; font-variant-numeric: tabular-nums; }
.bx-nowinfo .when .bx-progress { width: 260px; background: rgba(255, 255, 255, .25); }
.bx-strip { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(12, 12, 12, .94); border-top: 1px solid var(--s2); padding: 14px 28px 18px; display: flex; flex-direction: column; gap: 12px; transition: transform .38s cubic-bezier(.2, .8, .2, 1); z-index: 5; }
.bx-strip header { display: flex; align-items: center; gap: 12px; }
.bx-strip header h2 { margin: 0; font-weight: 800; font-size: 18px; }
.bx-strip header .tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bx-strip .bx-track { gap: 10px; scroll-behavior: smooth; }
.bx-slot { flex: none; width: 228px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.bx-slot .top { height: 17px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--gold); text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.bx-slot .tm { font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.bx-slot .nm { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-slot .ep { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-slot.now { background: var(--red-tint); box-shadow: inset 0 0 0 2px var(--red); }
.bx-slot .bx-progress { margin-top: 2px; height: 3px; }
.bx-corner { position: absolute; right: calc(var(--pic-right, 0px) + 28px); top: calc(var(--pic-top, 0px) + 24px); display: none; align-items: center; gap: 8px; opacity: .7; z-index: 4; font-weight: 900; color: var(--red); letter-spacing: 1px; }
/* Idle: the header clears away except the DANFLIX logo, which stays as a dim
   watermark, nudged just inside the picture when it's letterboxed. */
.bx-topbar > :not(.back) { transition: opacity .3s; }
.bx-watch.idle .bx-topbar { background: transparent; pointer-events: none; }
.bx-watch.idle .bx-topbar > :not(.back) { opacity: 0; }
.bx-watch.idle .bx-topbar .back { pointer-events: auto; opacity: .4; transform: translate(var(--pic-left, 0px), var(--pic-top, 0px)); }
.bx-watch.idle .bx-topbar .back:hover { opacity: .9; }
.bx-topbar .back svg { transition: opacity .3s; }
.bx-watch.idle .bx-topbar .back svg { opacity: 0; }
.bx-watch.idle .bx-nowinfo { opacity: 0; }
.bx-watch.idle .bx-stage { cursor: none; }
/* The pointer only hides over the picture: the chat panel sits inside the stage but keeps its cursor. */
.bx-watch.idle #chat-panel, .bx-watch.idle #chat-user-card, .bx-watch.idle #chat-mod-menu { cursor: auto; }
/* Collapsed strip: the whole strip slides below the bottom edge and its handle,
   which sits on the strip's top edge, is all that stays on screen. */
.bx-strip-handle { position: absolute; left: calc(var(--pic-left, 0px) + 28px); bottom: 100%; margin-bottom: calc(var(--pic-bottom, 0px) + 14px); height: 44px; max-width: calc(100% - 56px); padding: 0 18px 0 14px; border-radius: 22px; border: none; background: rgba(12, 12, 12, .78); color: var(--text); display: flex; align-items: center; gap: 10px; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .25s, transform .38s cubic-bezier(.2, .8, .2, 1); }
.bx-strip-handle svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.bx-strip-handle:hover svg { transform: translateY(-2px); }
.bx-strip-handle .lbl { font-size: 13px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.bx-strip-handle .nm { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-watch.collapsed .bx-strip { transform: translateY(100%); }
.bx-watch.collapsed .bx-strip-handle { opacity: 1; pointer-events: auto; transform: translateY(0); }
.bx-watch.collapsed.idle .bx-strip-handle { opacity: .45; }
/* Schedule tucked away: the title sits directly above the Up next bubble
   (bubble: 14px off the picture's bottom, 44px tall; then a 14px gap). */
.bx-watch.collapsed .bx-nowinfo { bottom: calc(var(--pic-bottom, 0px) + 72px); }
.bx-pullzone { position: absolute; left: 0; right: 0; bottom: 0; height: 72px; z-index: 4; display: none; }
.bx-watch.collapsed .bx-pullzone { display: block; }
/* .bx-corner retired: the header's own logo stays on screen instead. */
.bx-unmute { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 6; }


/* ── admin ──────────────────────────────────────────────────────────────── */
.bx-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; }
.bx-theme-card { background: var(--s1); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.bx-theme-card .shot { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-bottom: 1px solid var(--s2); }
.bx-theme-card .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bx-theme-card h2 { margin: 0; font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.bx-theme-card .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.bx-theme-card.active { box-shadow: inset 0 0 0 2px var(--ok); }
.bx-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #ffffff; color: var(--bg); font-weight: 800; padding: 12px 20px; border-radius: 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); z-index: 100; }

/* ── small screens ──────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .bx-hero { flex-direction: column; align-items: stretch; }
  .bx-hero .bx-tile { width: 100%; }
  .bx-hero h1 { font-size: 34px; }
  .bx-guide-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .bx-guide-row .label { width: auto; }
  .bx-guide-row .bx-track { overflow-x: auto; }
  .bx-arrow { display: none; }
  .bx-topbar { padding: 0 6px 0 10px; gap: 8px; }
  .bx-topbar .ctx { margin-left: 4px; }
  .bx-topbar .ctx #bx-ctx { display: none; }
  .bx-topbar .tools .hide-sm { display: none; }
  .bx-topbar .bx-icon { width: 40px; height: 40px; }
  .bx-nowinfo { left: calc(var(--pic-left, 0px) + 16px); right: 16px; bottom: calc(var(--strip-h, 170px) + 16px); }
  .bx-nowinfo h1 { font-size: 28px; }
  .bx-nowinfo .when .bx-progress { flex: 1; width: auto; }
  .bx-strip { padding: 10px 0 12px 16px; }
  .bx-strip header .bx-link, #bx-strip-prev, #bx-strip-next { display: none; }
  .bx-slot { width: 160px; padding: 10px 12px; }
  .bx-strip-handle { left: calc(var(--pic-left, 0px) + 16px); }
  .bx-theatre .bx-vol { right: calc(var(--pic-right, 0px) + 16px); width: 40px; height: 40px; }
  .bx-theatre .bx-watch.collapsed .bx-vol { bottom: calc(var(--pic-bottom, 0px) + 16px); }
  .bx-watch.collapsed .bx-nowinfo { bottom: calc(var(--pic-bottom, 0px) + 72px); left: calc(var(--pic-left, 0px) + 16px); }
}
@media (max-width: 680px) {
  .bx-theatre .video-wrap.chat-open .bx-strip, .bx-theatre .video-wrap.chat-open .bx-nowinfo, .bx-theatre .video-wrap.chat-open .bx-pullzone, .bx-theatre .video-wrap.chat-open .bx-strip-handle { display: none !important; }
  .bx-theatre .video-wrap.chat-open > video, .bx-theatre .video-wrap.chat-open > iframe { width: 100%; height: 50%; }
  .bx-theatre .video-wrap.chat-open .bx-topbar { right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── viewerchrome.js dialogs (reminders, requests) and banners, Browse look ── */
.chrome-drawer-overlay, .chrome-drawer { display: none !important; }
.chrome-banner-slot { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: none; }
.chrome-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); font-size: 14px; font-weight: 600; }
.chrome-banner-body { flex: 1; }
.chrome-banner-info { background: #13263d; color: #d6e8fa; }
.chrome-banner-warn { background: #3a2a06; color: #ffd98a; }
.chrome-banner-danger { background: #3a0f0f; color: #ffb4b4; }
.chrome-banner-dismiss { background: none; border: none; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .75; width: 44px; height: 44px; }
.chrome-modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); z-index: 600; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .15s; padding: 16px; }
.chrome-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.chrome-modal { background: var(--s1); border: 1px solid var(--border); border-radius: 10px; padding: 22px; width: 440px; max-width: 100%; max-height: 82vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.chrome-modal-title { font-size: 20px; font-weight: 900; margin-bottom: 14px; }
.chrome-modal-body { margin-bottom: 16px; }
.chrome-modal-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 14px 0; }
.chrome-modal textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: 15px; padding: 10px 12px; border-radius: var(--radius); outline: none; resize: vertical; }
.chrome-modal textarea:focus { border-color: #8a8a8a; }
.chrome-calendar-row { margin-bottom: 14px; padding-top: 12px; border-top: 1px solid var(--s2); }
.chrome-calendar-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.chrome-calendar-linkrow { display: flex; gap: 6px; }
.chrome-calendar-linkrow input { flex: 1; min-width: 0; font-size: 13px; padding: 9px 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.chrome-suggest-msg { font-size: 13px; color: #ff8a8a; margin-top: 6px; min-height: 1em; }
.chrome-suggest-msg.ok { color: #6fd39a; }
.chrome-suggest-existing { margin-bottom: 14px; max-height: 220px; overflow-y: auto; }
.chrome-suggest-existing-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.chrome-suggest-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--s2); }
.chrome-suggest-row:last-child { border-bottom: none; }
.chrome-suggest-desc { font-size: 14px; flex: 1; min-width: 0; }
.chrome-upvote-btn { flex-shrink: 0; background: var(--s2); border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 16px; cursor: pointer; white-space: nowrap; }
.chrome-upvote-btn.voted { background: #ffffff; color: var(--bg); border-color: #ffffff; }
.chrome-modal-submit, .chrome-modal-close { padding: 10px 18px; font-size: 14px; font-weight: 800; border-radius: 4px; cursor: pointer; margin-right: 8px; margin-top: 4px; }
.chrome-modal-submit { background: #ffffff; border: none; color: var(--bg); }
.chrome-modal-close { background: rgba(255, 255, 255, .12); border: none; color: var(--text); }
.chrome-reminder-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--s2); }
.chrome-reminder-row:last-child { border-bottom: none; }
.chrome-reminder-title { font-size: 15px; font-weight: 700; }
.chrome-reminder-series-tag { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--bg); background: var(--gold); border-radius: 3px; padding: 2px 5px; margin-left: 6px; vertical-align: middle; }
.chrome-reminder-when { font-size: 13px; color: var(--muted); margin-top: 2px; }
.chrome-reminder-remove { background: none; border: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; width: 44px; height: 44px; flex-shrink: 0; }
.chrome-reminder-remove:hover { color: #ff8a8a; }
.bx-link { white-space: nowrap; }
.bx-link svg { width: 16px; height: 16px; flex: none; }
.bx-topbar .back svg { width: 22px; height: 22px; flex: none; }
.bx-panel > svg, .bx-peek svg { width: 20px; height: 20px; flex: none; }

/* ── viewer settings (static/viewer-settings.js puts these classes on <html>) ── */
html.vs-no-chat-time .chat-msg-time { display: none; }
html.vs-chat-small .bx-theatre .chat-msg { font-size: 13px; }
html.vs-chat-large .bx-theatre .chat-msg { font-size: 18px; }
html.vs-reduce-motion *, html.vs-reduce-motion *::before, html.vs-reduce-motion *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

/* ── settings page (/settings) ─────────────────────────────────────────── */
.vs-page { max-width: 1100px; }
.vs-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.vs-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.vs-nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.vs-nav a { white-space: nowrap; padding: 9px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.vs-nav a:hover { color: #ffffff; background: var(--s1); }
.vs-nav a.active { color: #ffffff; background: var(--s2); box-shadow: inset 2px 0 0 var(--red); }
.vs-sections { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.vs-card { background: var(--s1); border-radius: 10px; padding: 22px 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.vs-card h2 { margin: 0 0 6px; font-weight: 900; font-size: 20px; }
.vs-signin { max-width: 560px; }
.vs-signin p { margin: 6px 0 16px; }
.vs-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--s2); }
.vs-card h2 + .vs-row { border-top: none; }
.vs-row-wrap { flex-wrap: wrap; }
.vs-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 280px; }
.vs-label b { font-weight: 800; font-size: 15px; }
.vs-label span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vs-note { font-size: 13.5px; line-height: 1.5; margin: 12px 0 14px; }
.vs-profile { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.vs-avatar { width: 52px; height: 52px; border-radius: 8px; background: #3b6fb6; color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; flex: none; }
.vs-name { font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 8px; }
/* segmented choice */
.vs-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 20px; background: var(--s2); flex: none; }
.vs-seg button { border: none; background: transparent; color: var(--muted); font-weight: 800; font-size: 13px; padding: 7px 14px; border-radius: 16px; cursor: pointer; white-space: nowrap; }
.vs-seg button:hover { color: #ffffff; }
.vs-seg button[aria-checked="true"] { background: #ffffff; color: var(--bg); }
/* on/off switch */
.vs-switch { flex: none; width: 48px; height: 28px; border-radius: 14px; border: none; background: #444444; position: relative; cursor: pointer; padding: 0; transition: background .2s; }
.vs-switch span { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; transition: transform .2s; }
.vs-switch[aria-checked="true"] { background: var(--red); }
.vs-switch[aria-checked="true"] span { transform: translateX(20px); }
/* volume */
.vs-volume { display: flex; align-items: center; gap: 10px; flex: none; }
.vs-volume input[type="range"] { width: 180px; accent-color: var(--red); }
.vs-volume output { min-width: 52px; font-weight: 800; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* calendar */
.vs-calendar { flex: 1 1 100%; }
.vs-cal-box { display: flex; gap: 8px; flex-wrap: wrap; }
.vs-cal-box input { flex: 1 1 280px; min-width: 0; height: 36px; border-radius: 4px; border: 1px solid var(--border); background: var(--bg); color: var(--text); padding: 0 12px; font: 500 13px var(--font); }
/* delete */
.vs-danger { color: #ff8a8a; border-color: rgba(229, 9, 20, .6); }
.vs-confirm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vs-confirm span { font-weight: 800; color: #ff8a8a; font-size: 14px; }
@media (max-width: 860px) {
  .vs-layout { grid-template-columns: 1fr; gap: 16px; }
  .vs-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .vs-card { padding: 18px 16px; }
  .vs-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .vs-label { flex: none; }
  .vs-volume input[type="range"] { width: 150px; }
}

/* ── off air on /watch: this theme's Up next card (browse-watch.js). The
   core's own off-air screen stays hidden; it only signals that nothing's on. ── */
.bx-theatre .bx-stage .next-overlay { display: none !important; }
.bx-offair-stage { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 20px) 24px calc(var(--strip-h, 200px) + 24px); background: radial-gradient(ellipse at 50% 40%, #1d1d1d 0%, #0b0b0b 70%); }
.bx-offair-stage[hidden] { display: none; }
.bx-watch.collapsed .bx-offair-stage { padding-bottom: 84px; }
.bx-theatre .video-wrap.chat-open .bx-offair-stage { right: var(--chat-w); }
.bx-offair-stage .bx-offair { width: min(520px, 100%); display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 10px; background: linear-gradient(160deg, #222222 0%, #161616 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.bx-offair-hold { border-left: 3px solid var(--gold); background: var(--s2); border-radius: 0 8px 8px 0; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.bx-offair-hold small { display: block; margin-top: 6px; color: var(--gold); font-size: 13px; }
@media (max-width: 680px) { .bx-theatre .video-wrap.chat-open .bx-offair-stage { right: 0; bottom: 50%; } }
.bx-theatre .bx-watch.offair .bx-nowinfo, .bx-theatre .bx-watch.offair .bx-unmute, .bx-theatre .bx-watch.offair .bx-vol, .bx-theatre .bx-watch.offair .stream-reconnect, .bx-theatre .bx-watch.offair .player-overlay { display: none !important; }

/* ── home: off-air card (what's coming up) ─────────────────────────────── */
.bx-hero .bx-offair { aspect-ratio: auto; min-height: 315px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; padding: 18px; background: linear-gradient(160deg, #222222 0%, #161616 100%); }
.bx-offair-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.bx-offair-cd { font-size: 13px; font-weight: 800; color: #ff8a8a; font-variant-numeric: tabular-nums; }
.bx-offair-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.bx-offair-row.first { background: var(--red-tint); box-shadow: inset 0 0 0 2px var(--red); }
.bx-offair-row .tm { font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.bx-offair-row .nm { font-weight: 800; font-size: 15px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-offair-row.first .nm { font-size: 18px; font-weight: 900; }
.bx-offair-row .ep { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-offair-empty { color: var(--muted); font-size: 14px; margin: auto; text-align: center; }
.bx-hero .bx-offair .bx-badge { position: static; }
.bx-theatre .bx-watch.offair .bx-corner { display: none !important; }
.bx-theatre .bx-watch.offair #bx-ctx-badge { background: var(--s2); color: #d0d0d0; }

/* ── favourites (static/favorites.js) ──────────────────────────────────── */
.bx-heart { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(12, 12, 12, .7); color: #ffffff; cursor: pointer; padding: 0; flex: none; }
.bx-heart[hidden] { display: none; }
.bx-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.bx-heart:hover { background: rgba(40, 40, 40, .9); }
.bx-heart[aria-pressed="true"] { color: var(--red); }
.bx-heart[aria-pressed="true"] svg { fill: currentColor; }
.bx-heart.lg { width: 44px; height: 44px; }
.bx-heart.lg svg { width: 22px; height: 22px; }
.bx-favable { position: relative; }
.bx-favable .bx-heart { position: absolute; top: 8px; right: 8px; z-index: 2; opacity: 0; transition: opacity .15s; }
.bx-favable:hover .bx-heart, .bx-favable .bx-heart:focus-visible, .bx-favable .bx-heart[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .bx-favable .bx-heart { opacity: 1; } }
.bx-card-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.bx-card-link:hover .bx-tile { transform: scale(1.03); }
.bx-now-title { display: flex; align-items: center; gap: 14px; }
.bx-now-title .bx-heart { pointer-events: auto; }
/* favourites stand out in the guide and the player's Up next row */
.bx-ep.is-fav, .bx-slot.is-fav { box-shadow: inset 0 0 0 2px var(--gold); }
.bx-slot.now.is-fav { box-shadow: inset 0 0 0 2px var(--red); }
.bx-ep.is-fav .nm::after, .bx-slot.is-fav .nm::after { content: " ♥"; color: var(--red); }

/* settings: favourites list, name colour swatches */
.vs-favs { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; }
.vs-fav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--s2); }
.vs-fav .sw { width: 36px; height: 24px; border-radius: 4px; flex: none; }
.vs-fav-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.vs-fav-t b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-fav-t span { font-size: 13px; color: var(--muted); }
.vs-fav .bx-heart { background: transparent; }
.vs-swatches { gap: 6px; padding: 6px; }
.vs-swatches button { width: 34px; height: 34px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vs-swatches button i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.vs-swatches button[aria-checked="true"] { background: transparent; box-shadow: inset 0 0 0 2px #ffffff; }
.vs-preview { flex: 1 1 100%; font-size: 14px; color: var(--muted); }
.vs-preview b { color: var(--gold); font-weight: 800; }

/* chat: a message that mentions you */
.bx-theatre .chat-msg.chat-mention { background: rgba(245, 197, 24, .12); box-shadow: inset 3px 0 0 var(--gold); border-radius: 4px; }
.bx-theatre .chat-msg.chat-mention { padding-left: 6px; }
.bx-theatre .bx-watch.offair.idle .bx-topbar .back { transform: none; }

/* ── home ⇄ theatre in one page (live-nav.js) ──────────────────────────── */
body.bx-theatre > .bx-header { display: none; }
/* The live video keeps one identity across the switch, so supporting browsers
   animate the preview tile growing into the theatre (and back). */
#stream-video { view-transition-name: danflix-live; }
::view-transition-group(danflix-live) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* ── home: the guide panel under the live picture ──────────────────────── */
.bx-home-guide { background: var(--s1); border-radius: 10px; padding: 18px 20px 10px; display: flex; flex-direction: column; }
.bx-home-guide[hidden] { display: none; }
.bx-home-guide-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.bx-home-guide-head h2 { margin: 0; font-weight: 900; font-size: 20px; }
.bx-home-guide-days { display: flex; gap: 6px; flex-wrap: wrap; }
.bx-day { height: 32px; padding: 0 14px; border-radius: 16px; border: none; background: var(--s2); color: var(--muted); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.bx-day:hover { color: #ffffff; }
.bx-day[aria-pressed="true"] { background: #ffffff; color: var(--bg); }
.bx-home-guide-head .bx-link { margin-left: auto; }
.bx-home-guide .bx-guide-row:first-child { border-top: none; }
.bx-home-guide .bx-guide-row .label { width: 170px; }
.bx-home-guide .bx-ep { background: var(--s2); }
.bx-home-guide .bx-ep.live { background: var(--red-tint); }
.bx-home-guide-rows > p { margin: 12px 0 16px; }
.bx-home-guide-earlier { background: none; border: none; padding: 4px 0 10px; cursor: pointer; font: inherit; font-weight: 800; font-size: 13px; }
/* Phones: the day tabs sit on their own line under "Guide · Full week" and
   scroll sideways instead of wrapping. */
@media (max-width: 600px) {
  .bx-home-guide-days { position: relative; order: 3; flex: 0 0 calc(100% + 40px); flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; scrollbar-width: none; scroll-padding: 0 20px; }
  .bx-home-guide-days::-webkit-scrollbar { display: none; }
  .bx-home-guide-days .bx-day { flex: none; }
}
@media (max-width: 860px) {
  .bx-hero .when { flex-wrap: wrap; row-gap: 4px; }
  .bx-hero .when .bx-progress { flex: 1 1 120px; width: auto; }
}
