:root {
  --bg: #0b0c10;
  --surface: #14161c;
  --surface-2: #1c1f27;
  --border: #272b35;
  --text: #f1f2f4;
  --muted: #9aa1ad;
  --brand: #e5173a;
  --brand-hover: #f23553;
  --gold: #f5c046;

  --op: #3fb96a;
  --b-deg: #f0b400;
  --b-par: #c85a0c;
  --b-maj: #c42b3a;
  --b-mnt: #2563eb;

  --gutter: clamp(16px, 4vw, 48px);
  --card-w: clamp(118px, 15vw, 172px);
  --radius: 10px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ------------------------------------------------ incident alert */

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  background: var(--b-maj);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.alert.a-degraded, .alert.a-backup_internet { background: var(--b-deg); color: #231a00; }
.alert.a-partial_outage, .alert.a-on_battery { background: var(--b-par); }
.alert.a-maintenance { background: var(--b-mnt); }

.alert-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.alert-body { flex: 1; min-width: 0; }
.alert-more { flex: none; font-weight: 600; white-space: nowrap; text-decoration: underline; }

@keyframes pulse { 50% { opacity: .35; } }

/* ------------------------------------------------ watching now */

.live, .live-bar {
  align-items: center;
  gap: 8px;
  color: #c9f2d6;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.live {
  display: inline-flex;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(63, 185, 106, .35);
  border-radius: 999px;
  background: rgba(63, 185, 106, .1);
}

.live-bar {
  display: none;
  justify-content: center;
  padding: 6px var(--gutter);
  border-bottom: 1px solid rgba(63, 185, 106, .25);
  background: rgba(63, 185, 106, .1);
}

.live-short { display: none; }

.live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--op);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 185, 106, .6); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(63, 185, 106, 0); }
}

/* ------------------------------------------------ header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 16, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 8px 28px;
  padding: 12px var(--gutter);
}

.wordmark {
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* The way out to the requests app: a button among the links. */
.nav .nav-request {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 4px;
  color: #ffb4c0;
  background: rgba(229, 23, 58, .14);
  box-shadow: inset 0 0 0 1px rgba(229, 23, 58, .45);
}

.nav .nav-request:hover { color: #fff; background: rgba(229, 23, 58, .28); }
.nav-request svg { flex: none; width: 12px; height: 12px; fill: currentColor; }

.top-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: clamp(140px, 22vw, 280px);
  min-width: 110px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.search:focus-within { border-color: var(--muted); }

.search svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.lang button {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 4px 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ------------------------------------------------ layout */

.view { flex: 1; padding-bottom: 48px; }

.loading, .empty {
  padding: 80px var(--gutter);
  color: var(--muted);
  text-align: center;
}

.section { padding: 28px 0 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--gutter);
  margin-bottom: 12px;
}

.section-head h2 { font-size: 20px; }
.section-head a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-head a:hover { color: var(--text); }

/* ------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  object-fit: cover;
  filter: blur(48px) saturate(1.3);
  opacity: .42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 12, 16, .55) 55%, rgba(11, 12, 16, .25) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 640px);
  grid-template-areas: "poster copy" "poster actions";
  justify-content: start;
  column-gap: clamp(16px, 4vw, 48px);
  padding: clamp(24px, 5vw, 56px) var(--gutter);
}

.hero-poster {
  grid-area: poster;
  align-self: center;
  width: clamp(120px, 18vw, 220px);
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}

.hero-copy { grid-area: copy; align-self: end; min-width: 0; }

.eyebrow {
  color: var(--brand-hover);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.hero-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  color: #d5d8de;
}

.hero-actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 14px;
}

.star { color: var(--gold); white-space: nowrap; }
.star svg { width: .85em; height: .85em; margin-right: 3px; fill: currentColor; vertical-align: -.06em; }
.meta .star { font-weight: 700; }

.badge {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}

/* ------------------------------------------------ rows and cards */

.row-wrap { position: relative; }

.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  gap: 14px;
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}

.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }

.row-btn {
  position: absolute;
  top: 4px;
  z-index: 2;
  width: 44px;
  aspect-ratio: 44 / 258;
  height: calc(var(--card-w) * 1.5);
  border: 0;
  background: linear-gradient(90deg, rgba(11, 12, 16, .9), transparent);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}

.row-btn.next { right: 0; background: linear-gradient(270deg, rgba(11, 12, 16, .9), transparent); }
.row-btn.prev { left: 0; }
.row-wrap:hover .row-btn:not([disabled]) { opacity: 1; }
@media (hover: none) { .row-btn { display: none; } }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 1fr));
  gap: 22px 14px;
  padding: 0 var(--gutter);
}

.card {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

@media (hover: hover) {
  .card:hover .poster { transform: translateY(-4px) scale(1.03); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
}

.tags {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  gap: 4px;
}

.tag {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}

.tag.new { background: var(--brand); }

.card-title {
  margin-top: 8px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-sub {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ------------------------------------------------ stats */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 0 var(--gutter);
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat b { display: block; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------ browse filters */

.browse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--gutter) 18px;
}

.browse-head h1 { font-size: 28px; }
.browse-head .count { color: var(--muted); font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filters select, .chip {
  appearance: none;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.filters select {
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%239aa1ad' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.filters select.on, .chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.filters select.on { background-image: none; padding-right: 12px; }
.filters select option { background: var(--surface); color: var(--text); }

.sentinel { height: 1px; }

/* Under the search results. It rides the bottom edge of the screen while the
   results run past it, so the way to ask for a title is always in view. */
.ask {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 28px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(11, 12, 16, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  text-align: center;
}

/* Nothing matched: the same line stands where the results would be. */
.ask.alone {
  position: static;
  margin-top: 0;
  padding: 72px var(--gutter) 8px;
  border-top: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--muted);
}

/* ------------------------------------------------ calendar */

.cal { padding: 0 var(--gutter); }

.cal-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cal-bar h2 { font-size: 18px; min-width: 9em; }

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.icon-btn[disabled] { opacity: .35; cursor: default; }

.month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}

.dow {
  padding: 8px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.day {
  min-height: 104px;
  padding: 6px;
  background: var(--bg);
}

.day.out { background: #090a0d; }
.day.out .day-n { opacity: .35; }

.day-n {
  display: inline-block;
  min-width: 24px;
  margin-bottom: 4px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.day.today .day-n { background: var(--brand); color: #fff; }

.ev {
  display: block;
  width: 100%;
  margin-top: 3px;
  padding: 3px 6px;
  border: 0;
  border-left: 3px solid #5b9bff;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.ev.premiere { border-left-color: var(--gold); }
.ev.movie { border-left-color: var(--brand); }
.ev:hover { background: #262a35; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
  background: #5b9bff;
}

.legend .premiere i { background: var(--gold); }
.legend .movie i { background: var(--brand); }

.agenda {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 32px;
  margin-top: 28px;
}

.agenda-day { padding: 14px 0; border-top: 1px solid var(--border); }
.agenda-day h3 { margin-bottom: 8px; font-size: 15px; }

.agenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.agenda-item:hover { background: var(--surface); }

.agenda-item img, .agenda-item .ph {
  flex: none;
  width: 44px;
  height: 66px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
}

.agenda-item b { display: block; }
.agenda-item small { color: var(--muted); font-size: 13px; }
.agenda-item .tag { margin-left: 8px; vertical-align: 1px; }
.tag.gold { background: var(--gold); color: #231a00; }

/* ------------------------------------------------ detail dialog */

.detail {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  overflow: hidden auto;
}

.detail::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }

.detail-bg {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: 300px;
  object-fit: cover;
  filter: blur(40px) saturate(1.3);
  opacity: .4;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}

.detail-body {
  position: relative;
  display: flex;
  gap: 28px;
  padding: 32px;
}

.detail-poster {
  flex: none;
  width: 220px;
  height: auto;
  aspect-ratio: 2 / 3;
  align-self: flex-start;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}

.detail-copy { min-width: 0; flex: 1; }
.detail h2 { font-size: 28px; line-height: 1.15; padding-right: 36px; }
.detail .orig { color: var(--muted); font-size: 14px; }
.detail .meta { margin-top: 10px; }
.detail-summary { margin-top: 16px; color: #d5d8de; }

.genres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.genres a {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.genres a:hover { color: var(--text); border-color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  margin: 18px 0 0;
  font-size: 14px;
}

.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
}

.close svg { width: 16px; height: 16px; fill: currentColor; }

/* ------------------------------------------------ footer */

.foot {
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.foot p { margin-top: 6px; }

.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.foot-status:hover { border-color: var(--muted); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.operational { background: var(--op); }
.dot.degraded { background: var(--b-deg); }
.dot.partial_outage { background: var(--b-par); }
.dot.major_outage { background: var(--b-maj); }
.dot.maintenance { background: var(--b-mnt); }

/* ------------------------------------------------ small screens */

/* Where the bar gets tight, the "watching now" label shortens first. */
@media (min-width: 1181px) and (max-width: 1399px), (min-width: 641px) and (max-width: 820px) {
  .live .live-long { display: none; }
  .live .live-short { display: inline; }
}

/* Two rows: brand and tools on top, navigation below with "watching now" at its right. */
@media (max-width: 1180px) {
  .top-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand tools tools" "nav nav live";
    gap: 8px 16px;
  }
  .wordmark { grid-area: brand; }
  .top-tools { grid-area: tools; min-width: 0; margin-left: 0; }
  .nav { grid-area: nav; min-width: 0; margin-left: -12px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .live { grid-area: live; }
  .search { width: auto; flex: 1; min-width: 0; }
}

/* Phones: "watching now" moves above the bar, and five links have to share one row. */
@media (max-width: 640px) {
  .live { display: none; }
  .live-bar { display: flex; }
  /* Sized from the screen width, with room to spare: phone fonts differ in how wide they run. */
  .nav { gap: 0; margin-left: calc(-1 * clamp(4px, 1.6vw, 8px)); }
  .nav a { padding: 6px clamp(4px, 1.6vw, 8px); font-size: clamp(12px, 3.3vw, 14px); }
  .nav .nav-request { margin: 0 clamp(2px, .8vw, 4px); }
  .nav-request svg { display: none; }
}

@media (max-width: 389px) {
  .ask { font-size: 13px; gap: 8px 10px; }
  .ask .btn { font-size: 13px; padding: 6px 10px; }
}

@media (max-width: 720px) {
  .month, .cal-bar, .legend { display: none; }
  .agenda { margin-top: 0; }
  .agenda-day:first-child { border-top: 0; padding-top: 0; }
}

@media (max-width: 560px) {
  .ask { font-size: 14px; }
  .ask .btn { padding: 6px 12px; }
  .wordmark { font-size: 21px; }
  #open-plex { display: none; }
  .hero-inner { grid-template-areas: "poster copy" "actions actions"; }
  .hero-copy { align-self: center; }
  .hero-summary { -webkit-line-clamp: 4; font-size: 14px; }
  .hero-actions .btn { flex: 1; padding: 10px 14px; }
  .hero-actions .btn-primary { flex-basis: 100%; }
  .browse-head { padding-top: 20px; }
  .filters { flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: none; }
  .grid { gap: 16px 10px; }
  .row { gap: 10px; }
  .detail-body { flex-direction: column; gap: 18px; padding: 20px; }
  .detail-poster { width: 132px; }
  .detail h2 { font-size: 22px; }
  .detail-actions .btn { flex: 1; }
  .alert-more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
