/* StreamShack — bright, friendly, Duolingo-style.
   Palette + type from Style-Guide.txt; rounded "shape language" (soft cards,
   pressable buttons) from shapes-style-guide.png. */

/* Self-hosted Roboto (latin, variable weight 400–700) — used for section titles */
@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Inter (latin, variable weight 400–800) — the wordmark.
   Inter is the workhorse UI face behind most modern SaaS brands: neutral,
   tight, and legible down to nav-bar sizes where a display face gets mushy. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cholie Bineri — the Style-Guide headline face. Not currently referenced by
   any rule (headings moved to Inter), so the file is never fetched; kept
   declared so a theme can pick it back up with one font-family. */
@font-face {
  font-family: "Cholie Bineri";
  src: url("/fonts/cholie-bineri.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- default theme: "Light" in the footer switcher ----------
   Cobalt blue field with a golden accent, squared shape language and a heavy
   condensed display face (sampled from REF/Blockbuster-Emblem-500x281.png).
   This is the site default; the switcher's "Dark" option overrides it below. */
:root {
  --brand: #ffc425;          /* core accent */
  --brand-dark: #d09400;     /* pressable-button shadow / hover (darker for 3D edge) */
  --brand-soft: #1c327a;     /* tinted fill for accent surfaces */
  --secondary: #ffd873;
  --secondary-dark: #ffc425;

  --text: #ffffff;
  --text-dim: #a8bbe8;
  --text-faint: #7189c4;
  --line: #2b47a0;
  --line-strong: #3d5cc4;
  --surface: #16296e;
  --surface-soft: #1b3184;
  --bg: #0b1946;

  --gold: #ffc425;
  --danger: #ff5f5f;

  --radius: 4px;       /* cards / sections */
  --radius-sm: 3px;    /* inputs, chips-as-buttons */
  --radius-pill: 3px;
  --shadow-press: 0 4px 0;   /* the "3D" bottom edge on shapes/buttons */

  /* typography — the switcher swaps these rather than restating every rule.
     Haettenschweiler (Windows) / Impact (everywhere) approximates a heavy
     chamfered condensed wordmark without a licensed webfont. */
  --font-head: "Haettenschweiler", "Impact", "Arial Narrow", sans-serif;
  --head-weight: 400;
  --head-tracking: 0.02em;
  --head-transform: uppercase;
  --btn-text: #0b1946;    /* label colour on a --brand-filled button */
}

/* ---------- theme: "Dark" (TEMPORARY, see the footer switcher) ----------
   The original near-black scheme: purple accent, soft rounded cards, Inter
   wordmark. Opt in via the switcher. */
:root[data-theme="dark"] {
  --brand: #7c5cff;
  --brand-dark: #5f43d6;
  --brand-soft: #241d3d;
  --secondary: #9179ff;
  --secondary-dark: #7c5cff;

  --text: #eceef2;
  --text-dim: #9aa0ad;
  --text-faint: #6b7280;
  --line: #2a2d38;
  --line-strong: #3a3d4a;
  --surface: #191b22;
  --surface-soft: #20232d;
  --bg: #0e0f13;

  --gold: #f5c518;
  --danger: #e5484d;

  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --font-head: "Inter", "Segoe UI", -apple-system, sans-serif;
  --head-weight: 800;
  --head-tracking: -0.03em;
  --head-transform: none;
  --btn-text: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Headings share the wordmark's face: heavy Inter, tightly tracked. A display
   face at heading sizes fought the nav logo for attention; matching it instead
   makes the whole page read as one voice. */
h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-transform);
  color: var(--text);
  line-height: 1.15;
}

a { color: var(--secondary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

main { max-width: 760px; margin: 0 auto; padding: 1rem 1rem 4rem; }

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

#site-footer { border-top: 2px solid var(--line); background: var(--surface-soft); }
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.footer-note {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 0.35rem;
}

/* ---------- navbar ---------- */

.nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);  /* tight tracking reads as a wordmark, not body text */
  text-transform: var(--head-transform);
  color: var(--brand);
}
.nav-logo:hover { text-decoration: none; color: var(--brand-dark); }
.nav-links { display: flex; gap: 1.2rem; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }

/* ---------- cards / sections (shape language) ---------- */

.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;   /* uppercase needs air back that the h1 tracking removes */
}

/* ---------- title page ---------- */

.meta { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.6rem; flex-wrap: wrap; }
.meta .year { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.4rem; color: var(--text-faint); }
.meta-item { color: var(--text-dim); font-size: 0.9rem; font-weight: 700; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  border: 2px solid var(--line-strong);
  color: var(--text-dim);
}
.badge.rating { color: var(--gold); border-color: var(--gold); background: rgba(245,197,24,0.12); }
.badge.expiring { color: var(--danger); border-color: var(--danger); background: rgba(229,72,77,0.14); }
.badge.type { color: var(--text-dim); }

/* Poster + title/meta sit side by side; plot, director and cast run full
   width underneath so long text isn't squeezed into a narrow column. */
.title-top { display: block; }
.title-head { display: flex; gap: 1.25rem; margin-bottom: 1.25rem; }
.poster {
  width: 110px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  flex-shrink: 0;
  border: 2px solid var(--line);
  cursor: zoom-in;
}
.poster:hover, .poster:focus-visible { border-color: var(--brand); }

/* full-screen poster, opened by tapping the thumbnail */
.poster-zoom {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}
.poster-zoom img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line-strong);
}
.poster-zoom-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 2px solid var(--line-strong);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.poster-zoom-close:hover { border-color: var(--brand); color: var(--brand); }
.title-headline { flex: 1; min-width: 0; }
.title-headline h1 { font-size: 2rem; }
.title-headline .actions { margin-top: 0.9rem; }
.title-info { min-width: 0; }
.title-info p { margin-bottom: 0.6rem; font-size: 0.95rem; }
.title-info p strong { color: var(--text); font-weight: 800; }
.overview { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.9rem; }
/* breathing room between the year/rating meta row and the genre chips */
.title-headline .chips { margin-top: 1.1rem; }
.chip {
  padding: 0.15rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  border: 2px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
}
.chip-btn { cursor: pointer; }
.chip-btn:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }

.actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- ad slots ---------- */
/* Bare ad-sized blocks — no card, label or padding around them, so the space
   a unit occupies is exactly its own dimensions. Each position renders a
   desktop and a mobile unit; the 560px breakpoint shows exactly one.
     top    (under the info card): 728×90 leaderboard / 300×50 mobile banner
     bottom (under the options):   336×280 large rect / 300×250 rectangle
   The bottom desktop unit is a rectangle rather than a 160×600 skyscraper:
   this is a single 760px column with no sidebar, so a tower would render as a
   stranded 160px sliver. Revisit if the page ever grows a right rail. */

.ad-placeholder,
.ad-unit { display: block; margin: 1.25rem auto; max-width: 100%; }
.ad-placeholder { background: var(--surface-soft); }

.ad-top.ad-desktop    { width: 728px; height: 90px; }
.ad-top.ad-mobile     { width: 300px; height: 50px; }
.ad-bottom.ad-desktop { width: 336px; height: 280px; }
.ad-bottom.ad-mobile  { width: 300px; height: 250px; }

/* one device's pair at a time — the other is removed from layout entirely */
.ad-mobile { display: none; }
@media (max-width: 560px) {
  .ad-desktop { display: none; }
  .ad-mobile  { display: block; }
}

/* ---------- buttons (pressable shapes) ---------- */

.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--btn-text);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.3rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-press) var(--brand-dark);
  transition: transform 0.05s ease, box-shadow 0.05s ease, background 0.15s ease;
}
.btn:hover { background: var(--brand); text-decoration: none; filter: brightness(1.03); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-dark); }

.btn-secondary {
  background: var(--surface);
  color: var(--text-dim);
  border: 2px solid var(--line-strong);
  box-shadow: var(--shadow-press) var(--line-strong);
}
.btn-secondary:hover { background: var(--surface-soft); filter: none; color: var(--text); }
.btn-secondary:active { box-shadow: 0 2px 0 var(--line-strong); }

.btn-active {
  background: var(--secondary);
  color: var(--btn-text);
  box-shadow: var(--shadow-press) var(--secondary-dark);
}
.btn-active:active { box-shadow: 0 2px 0 var(--secondary-dark); }

input, select {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
}
input::placeholder { color: var(--text-faint); font-weight: 600; }
input:focus, select:focus { outline: none; border-color: var(--brand); }

.settings-form label, .auth-form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
}
.settings-form small { display: block; font-size: 0.78rem; }
.status { margin-left: 0.75rem; color: var(--brand-dark); font-size: 0.9rem; font-weight: 700; }

/* ---------- country row ---------- */

.country-row { display: flex; align-items: center; gap: 0.75rem; }
.country-row label { color: var(--text-dim); white-space: nowrap; font-weight: 700; }
.country-row select { max-width: 260px; }
.country-picker[hidden] { display: none; }

/* ---------- streaming option rows ---------- */

.option-list { display: flex; flex-direction: column; gap: 0.6rem; }
.option-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
}
/* the row is not clickable — only .btn-cta inside it is — so no hover state */
.service-logo { height: 26px; max-width: 100px; object-fit: contain; }
.service-name { flex: 1; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.option-cta { color: var(--brand-dark); font-weight: 800; white-space: nowrap; display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* The only clickable thing in an option row. Sized down from the standard
   .btn; carries the price too, so it needs room to grow ("Rent $4.99"). */
.btn-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  min-width: 120px;
}
.btn-cta:hover { filter: brightness(1.08); text-decoration: none; }
.price { color: var(--secondary-dark); }

/* ---------- misc states ---------- */

.loading { text-align: center; color: var(--text-dim); padding: 3rem 0; font-weight: 700; }
.empty-state { text-align: center; }
.empty-state p { color: var(--text-dim); margin: 0.5rem 0; }

/* ---------- skeleton loading ---------- */

@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton, .skel {
  position: relative;
  background: linear-gradient(90deg, var(--surface-soft) 25%, var(--line) 37%, var(--surface-soft) 63%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  .skeleton, .skel { animation: none; }
}
.skel-line { height: 0.85rem; border-radius: var(--radius-pill); margin-bottom: 0.6rem; }
.skel-line.w-40 { width: 40%; }
.skel-line.w-60 { width: 60%; }
.skel-line.w-80 { width: 80%; }
.skel-line.short { width: 30%; }
.skel-poster { width: 110px; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); flex-shrink: 0; }
.skel-chip { display: inline-block; width: 64px; height: 1.5rem; border-radius: var(--radius-pill); margin-right: 0.45rem; }
.skel-card { aspect-ratio: 2 / 3; border-radius: var(--radius-sm); }
.skel-row { height: 3.4rem; border-radius: var(--radius-sm); margin-bottom: 0.6rem; }
.skel-btn { display: inline-block; width: 160px; height: 2.6rem; }

/* ---------- home ---------- */

.hero { text-align: center; padding: 2.5rem 0 1.75rem; }
.hero h1 { font-size: 2.6rem; margin-bottom: 0.6rem; color: var(--brand); }
.hero p { color: var(--text-dim); max-width: 480px; margin: 0 auto 1.5rem; font-weight: 600; }
.hero-form { display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto; }
.hero-form input { flex: 1; }
.hero-form .btn { flex-shrink: 0; }
.how-to code {
  background: var(--surface-soft);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 0.1rem 0.45rem;
  font-size: 0.85em;
  color: var(--text);
}

/* ---------- watchlist ---------- */

.wl-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0;
  border-bottom: 2px solid var(--line);
}
.wl-row:last-child { border-bottom: none; }
.wl-poster { width: 44px; border-radius: 8px; flex-shrink: 0; border: 2px solid var(--line); }
.wl-title { flex: 1; font-weight: 800; min-width: 0; }
.wl-title small { display: block; color: var(--text-dim); font-weight: 600; }
.wl-actions { display: flex; gap: 0.4rem; }
.icon-btn {
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-dim);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.icon-btn.active { border-color: var(--secondary); }

.notif-row { padding: 0.7rem 0; border-bottom: 2px solid var(--line); }
.notif-row:last-child { border-bottom: none; }
.notif-row.unread { font-weight: 800; }
.notif-row small { color: var(--text-dim); font-weight: 600; }

/* ---------- show cards (search results & trending) ---------- */

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}
.show-card {
  display: block;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--text);
}
.show-card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); transition: transform 0.1s ease; }
.show-card img, .show-card .no-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--surface-soft);
}
.show-card-info { padding: 0.55rem 0.65rem; }
.show-card-title { display: block; font-size: 0.85rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.3rem; }
.show-card-title .year { color: var(--text-faint); font-weight: 600; }
.dim { color: var(--text-dim); font-weight: 600; }

.chip-active { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }

/* ---------- service picker tiles ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
}
.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}
.service-tile img { height: 28px; max-width: 110px; object-fit: contain; }
.service-tile:hover { border-color: var(--brand); }
.service-tile.selected { border-color: var(--brand); background: var(--brand-soft); }
.service-tile.selected::after { content: "✓ subscribed"; color: var(--brand-dark); font-size: 0.75rem; font-weight: 800; }

/* ---------- section head with country tag + cog ---------- */

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.section-head h2 { margin-bottom: 0.9rem; }
.country-tag { color: var(--secondary-dark); letter-spacing: 0.05em; }
.icon-btn.cog {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.icon-btn.cog:hover { color: var(--brand-dark); }
.country-picker { margin-bottom: 0.9rem; }
.country-picker label { font-size: 0.85rem; }

/* ---------- trending rows ---------- */

.trend-grid { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
/* trending section titles use the plain body font, not the decorative headline */
.trend-row .section-head h2 { font-family: inherit; text-transform: none; letter-spacing: normal; }
.link-btn {
  background: none;
  border: none;
  color: var(--secondary-dark);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.7rem 0 0;
}
.link-btn:hover { text-decoration: underline; }

/* ---------- subscribed-first option rows ---------- */

.option-row-wrap { display: flex; gap: 0.5rem; align-items: stretch; }
.option-row-wrap .option-row { flex: 1; min-width: 0; }
.badge.yours { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }
.btn-signup {
  align-self: center;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  color: var(--text-dim);
  box-shadow: var(--shadow-press) var(--line-strong);
  flex-shrink: 0;
}
.btn-signup:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.btn-signup:active { box-shadow: 0 2px 0 var(--line-strong); }

/* ---------- tables ---------- */

.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 0.9rem; }
.table th { text-align: left; color: var(--text-dim); font-weight: 800; }
.table th, .table td { padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 2px solid var(--line); }

/* ---------- usage bar ---------- */

.usage-bar { height: 12px; background: var(--surface-soft); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 0.5rem; border: 2px solid var(--line); }
.usage-fill { height: 100%; background: var(--brand); border-radius: var(--radius-pill); }
.usage-fill.danger { background: var(--danger); }

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  /* poster stays alongside the title — just tighter, with a smaller heading */
  .title-head { gap: 1rem; }
  .poster, .skel-poster { width: 96px; }
  .title-headline h1 { font-size: 1.6rem; }
  .meta .year { font-size: 1.2rem; }
  .service-logo { max-width: 70px; }
  .btn-cta { min-width: 0; padding: 0.5rem 0.85rem; }
  .hero-form { flex-direction: column; }
  .hero h1 { font-size: 2.1rem; }
}

/* persistent accent-text spots kept readable on the dark surfaces */
.status,
.option-cta,
.badge.yours,
.chip-active,
.service-tile.selected::after { color: var(--secondary); }

/* ---------- first-visit country chooser ---------- */

.country-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.country-modal {
  max-width: 420px;
  width: 100%;
  margin: 0;
}
.country-modal h2 { margin-bottom: 0.4rem; }
.country-modal label {
  display: block;
  margin: 0.9rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dim);
}
.country-modal .detected {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

/* ===== TEMPORARY: theme switcher =========================================
   Scaffolding for trying out looks. Delete this block, the
   :root[data-theme="blockbuster"] block near the top, and the marked section
   in js/theme.js + js/supabase-client.js once a theme is settled on. */

.theme-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--line);
}
.theme-switch-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.theme-switch button {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 2px solid var(--line-strong);
  color: var(--text-dim);
  cursor: pointer;
}
.theme-switch button:hover { border-color: var(--brand); color: var(--brand); }
.theme-switch button[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--btn-text);
}
/* ===== END TEMPORARY ===================================================== */
