/* NOT WOKE SHOWS — homepage framework (local only).
   Brand tokens follow the live site, with one accent red: #d51920.
   TODO: later pages can share this file. PHP/MySQL will not change these tokens
   without a design pass. */

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/InterLatin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("../assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("../assets/fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d51920;
  --red-hover: #b9151b;
  --ink: #111;
  --muted: #555;
  --quiet: #595959;
  --line: #e6e6e6;
  --well: #f7f7f7;
  --white: #fff;
  --max: 72rem;
  --header-h: 109px;
  --page-px: 20px;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: Poppins, "Segoe UI", sans-serif;
  --tile: 168px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

p, .hero-dek, .foot-blurb, .daily-plot, .news-title, .poster-name {
  text-wrap: pretty;
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
}
.skip:focus {
  left: 8px;
  top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

/* ---------- header ---------- */
header.site {
  background: #fff;
  color: #111;
  width: 100%;
}

header.site > .hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #111;
  color: #fff;
  box-sizing: border-box;
  padding: 10px max(12px, calc((100% - var(--max)) / 2 + 12px)) 10px max(20px, calc((100% - var(--max)) / 2 + 20px));
}

@media (width >= 1200px) {
  header.site > .hdr {
    padding-left: max(32px, calc((100% - var(--max)) / 2 + 32px));
    padding-right: max(32px, calc((100% - var(--max)) / 2 + 32px));
  }
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  height: 36px;
  width: auto;
}

.hdr-search {
  position: relative;
  display: none;
  flex: 0 1 276px;
  width: 276px;
  max-width: 276px;
  min-width: 0;
  margin-left: 8px;
}
.hdr-search input {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 48px 0 16px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111;
  font-family: var(--font-body);
  font-size: 14px;
}
.hdr-search input::placeholder { color: #777; }
.hdr-search input:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.hdr-search button[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hdr-search button[type="submit"]:hover { background: var(--red-hover); }

.hdr-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.hdr-pill,
.coffee-btn,
.hdr-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.hdr-pill,
.coffee-btn {
  background: var(--red);
  color: #fff;
}
.hdr-pill:hover,
.coffee-btn:hover { background: var(--red-hover); }

/* Coffee pill: readable “Tip us a coffee” (the live pill was easy to misread as “US”). */
.coffee-btn {
  padding: 0 14px;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.coffee-btn .coffee-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.coffee-btn .coffee-label { white-space: nowrap; }

.hdr-signin {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}
.hdr-signin:hover { background: #f3f3f3; }

.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.burger:hover { background: #222; }
.burger svg { display: block; }

@media (min-width: 768px) {
  .hdr-search { display: block; }
  .burger { display: none; }
}

/* Category strip: black bleeds to the left edge and stops after Stand-up. */
header.site .hdr-nav {
  background: #fff;
  width: 100%;
  display: none;
}
@media (min-width: 768px) {
  header.site .hdr-nav { display: block; }
}

.hdr-nav-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(20px, calc((100% - var(--max)) / 2 + 20px));
  padding-right: max(12px, calc((100% - var(--max)) / 2 + 12px));
  background: #fff;
}
@media (width >= 1200px) {
  .hdr-nav-inner {
    padding-left: max(32px, calc((100% - var(--max)) / 2 + 32px));
    padding-right: max(32px, calc((100% - var(--max)) / 2 + 32px));
  }
}

.nav-types {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  gap: 0;
  background: #111;
  color: #fff;
  border-radius: 0 0 18px 0;
  padding: 8px 6px 10px;
  z-index: 1;
}
.nav-types::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 100vw;
  background: #111;
  pointer-events: none;
}
.nav-types a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 2px 18px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.nav-types a img { width: 22px; height: 22px; display: block; }
.nav-types a:hover,
.nav-types a[aria-current="page"] { color: #d51920; }

.nav-pages {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  margin-left: auto;
  min-width: 0;
  flex: 1 1 auto;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.nav-pages > a,
.access-btn {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.nav-pages > a.send,
.nav-pages > a.send:hover {
  font-weight: 600;
  color: var(--red);
}
.nav-pages > a:hover { color: var(--red); }

.access { position: relative; display: flex; align-items: flex-end; }
.access-btn[aria-expanded="true"] { color: #111; }
.access-btn .chev {
  width: 10px;
  height: 10px;
  margin-left: 2px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.access-menu {
  display: none;
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  z-index: 50;
  min-width: 11.5rem;
  padding: 6px;
  background: #111;
  color: #fff;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  box-shadow: 0 12px 28px -8px #00000059;
}
.access-menu.open,
.access-menu:not([hidden]) { display: block; }
.access-menu[hidden] { display: none !important; }
.access-menu a {
  display: block;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 8px;
}
.access-menu a:hover { background: #ffffff1a; }

/* ---------- mobile full menu ---------- */
.menu-full {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #111;
  color: #fff;
  overflow: auto;
  padding: 16px 20px 48px;
}
.menu-full.open { display: block; }
.menu-full .menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.menu-full .menu-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-full .hdr-search {
  display: block;
  width: 100%;
  max-width: none;
  flex: none;
  margin: 0 0 18px;
}
.menu-full nav a,
.menu-full .join-login a {
  display: block;
  padding: 12px 4px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  min-height: 44px;
}
.menu-full nav a.send { color: #ff8a8e; }
.menu-full .join-login {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ffffff1a;
}
.menu-full .join-login p {
  color: #ccc;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
}

/* ---------- main column ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--page-px) 0;
}
@media (width >= 1200px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
}

/* ---------- hero ---------- */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title links"
    "dek stats";
  column-gap: 28px;
  row-gap: 6px;
  align-items: end;
}
h1.hero {
  grid-area: title;
  margin: 0;
  align-self: end;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: none;
  text-wrap: balance;
}
.hero-dek {
  grid-area: dek;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  max-width: 40rem;
  text-wrap: pretty;
}
.hero-links {
  grid-area: links;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0;
  margin: 0;
  padding: 0;
  text-align: right;
  list-style: none;
}
.hero-links li { display: inline; }
.hero-links a {
  display: inline;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1;
}
.hero-links li + li::before {
  content: " | ";
  color: #bbb;
  font-size: 12px;
  letter-spacing: 0;
}
.hero-links a.criteria,
.hero-links a.criteria:hover { color: var(--red); }
.hero-links a:hover { text-decoration: underline; }

.hero-stats {
  grid-area: stats;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px 22px;
  margin: 0;
}
.hero-stats a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: inherit;
  white-space: nowrap;
  padding: 4px 0;
  min-height: 44px;
}
.hero-stats .stat-label {
  margin: 0;
  color: var(--quiet);
  font-size: 14px;
  font-weight: 400;
}
.hero-stats .stat-num {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.hero-stats a:hover .stat-label { color: #111; text-decoration: underline; }
.hero-stats a:hover .stat-num { color: var(--red); }

@media (min-width: 768px) and (max-width: 1180px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "dek" "links" "stats";
  }
  .hero-links, .hero-stats { justify-content: flex-start; text-align: left; }
}

@media (max-width: 767px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "dek" "links" "stats";
    row-gap: 10px;
  }
  h1.hero { font-size: clamp(20px, 6vw, 26px); }
  .hero-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    text-align: left;
    gap: 16px 22px;
    margin-top: 8px;
  }
  .hero-links li { display: block; }
  .hero-links li + li::before { content: none; }
  .hero-links a { display: block; line-height: 1.3; min-height: 44px; }
  .hero-stats { justify-content: flex-start; }
}

/* ---------- rails ---------- */
.rail-block {
  position: relative;
  margin: 28px 0 8px;
  background: #f4f4f4;
  border: 1px solid #c8c8c8;
  border-radius: 16px;
  padding: 16px 8px 18px 16px;
}
.rail-block.explore-block {
  margin-top: 64px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.rail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.rail-head h2,
.section-head h2,
.home-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23.7px;
  line-height: 1.05;
  color: var(--red);
}
.rail-head .spacer { flex: 1; }

.filters {
  position: relative;
}
.filters-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 3px 10px 3px 8px;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}
.filters-btn .filters-ico,
.filters-btn img.filters-ico { width: 16px; height: 13px; display: block; }
.filters-btn .filt-n {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  margin-left: 2px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.filters-btn .filt-n[hidden] { display: none !important; }

/* Live-matching filters panel (theaters + Explore). */
.filter-pop {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 8;
  width: max-content;
  min-width: 248px;
  max-width: min(320px, calc(100vw - 32px));
  background: #111;
  color: #fff;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  padding: 18px 16px 14px;
  overflow: visible;
  font-family: var(--font);
  font-weight: 400;
  font-size: 13px;
}
.filter-pop[hidden] { display: none !important; }
.filter-pop .float-x {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  transform: translate(50%, -50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #111;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: pointer;
}
.filter-pop-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 12px;
}
.filter-pop-head img { width: 22px; height: 18px; display: block; }
.prot-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.prot-picks[hidden] { display: none !important; }
.prot-picks button,
.filter-pop select {
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #555;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 400;
  font-size: 13px;
}
.prot-picks button.on { background: #fff; color: #111; }
.filter-selects { display: grid; grid-template-columns: 1fr; gap: 8px; }
.filter-field { display: block; }
.filter-type-field { display: block; margin-bottom: 12px; }
.filter-pop select { width: 100%; border-radius: 10px; }
.filter-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 0;
}
.filter-clear, .filter-go {
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 400;
  font-size: 13px;
}

.rail-scroller { position: relative; }
.rail-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 72px 4px 6px;
}
.explore-block .rail-row { padding-left: 0; gap: 18px; }
.rail-row::-webkit-scrollbar { display: none; }
.rail-scroller::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 140px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(90deg, rgba(244,244,244,0) 0%, #f4f4f4 70%);
}
.explore-block .rail-scroller::after {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 70%);
}

.rail-arrow {
  position: absolute;
  top: 40%;
  right: 8px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.rail-arrow-prev { left: 2px; right: auto; }
.rail-arrow svg { width: 16px; height: 16px; }
.rail-arrow:hover { background: var(--red); }
.rail-arrow[hidden] { display: none !important; }

@media (max-width: 767px) {
  .rail-arrow { display: none; }
  .rail-scroller::after { width: 70px; }
  .rail-row { padding-right: 20px; }
}

/* ---------- poster tiles ---------- */
.poster-tile {
  position: relative;
  flex: 0 0 var(--tile);
  width: var(--tile);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.poster-frame {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}
.poster-tile.shelf-tall .poster-frame { aspect-ratio: 2 / 3; }
.poster-tile.shelf-wide .poster-frame { aspect-ratio: 16 / 9; }
.poster-tile.shelf-sq .poster-frame { aspect-ratio: 1; }

.poster-art {
  display: block;
  position: relative;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  line-height: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c8c8c8;
  text-decoration: none;
  color: inherit;
}
.poster-art img,
.poster-art .poster-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eee;
}
.poster-placeholder {
  display: grid;
  place-items: center;
  background: #e8e8e8;
  color: #888;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  line-height: 1.3;
}
.poster-art .is-woke-overlay,
.poster-art .is-woke-center {
  /* Live homepage rail badge: 70% of poster-art, centered. Image is is-woke-mark.png (330×332). No responsive override. */
  position: absolute;
  inset: 0;
  width: 70% !important;
  height: auto !important;
  margin: auto;
  object-fit: contain;
  pointer-events: none;
  background: transparent !important;
}

.poster-name {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  min-height: 2.4em;
  max-height: 3.6em;
  overflow: hidden;
  color: #111;
  text-decoration: none;
}
.poster-rate {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  height: 1.2em;
}
.poster-rate .star { margin-right: 2px; }
.poster-rate .is-woke-line { color: var(--red); letter-spacing: .02em; }

.tile-more {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 10px 0 0 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  overflow: hidden;
}
.tile-more img { width: 20px; height: 20px; display: block; }
/* Hover: the ellipsis icon itself turns solid red (no square/background block). */
.tile-more:hover,
.tile-more:focus-visible {
  background: url("../assets/icons/ui_ellipsis-circle-red.svg") center / 20px 20px no-repeat;
  border-radius: 50%;
}
.tile-more:hover img,
.tile-more:focus-visible img { opacity: 0; }

.tile-menu {
  position: absolute;
  top: 28px;
  left: 8px;
  z-index: 6;
  width: 220px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 6px;
  display: grid;
  gap: 0;
  font-size: 13px;
  border: 1px solid #c8c8c8;
}
.tile-menu[hidden] { display: none !important; }
.tile-menu a,
.tile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.tile-menu a:hover,
.tile-menu button:hover { background: #ffffff1a; }

/* ---------- daily recommendation ---------- */
/* Same box as the live / rebuild theater .rail-block: #f4f4f4, 1px #c8c8c8, 16px radius. Even padding like live .daily-block. */
.daily-block {
  background: #f4f4f4;
  border: 1px solid #c8c8c8;
  border-radius: 16px;
  padding: 16px 16px 18px;
  /* 56px top + theater's 8px bottom = 64px, the homepage section gap. */
  margin: 56px 0 0;
}
.daily-block .rail-head { margin: 0 0 14px; }
.daily-block .rail-head h2 { margin: 0; }
.daily-pick {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px 22px;
  align-items: start;
}
.daily-banner {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
  line-height: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c8c8c8;
  aspect-ratio: 2 / 3;
}
.daily-banner > a { display: block; height: 100%; }
.daily-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.daily-copy { min-width: 0; }
.daily-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  color: #111;
  text-wrap: balance;
}
.daily-title a { color: inherit; }
.daily-title a:hover { color: var(--red); }
.daily-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.daily-plot {
  margin: 12px 0 0;
  color: #111;
  font-size: 16px;
  line-height: 1.5;
  max-width: 42rem;
  text-wrap: pretty;
}
.daily-rate { margin-top: 10px; font-weight: 600; font-size: 14px; }

@media (max-width: 767px) {
  .daily-block .rail-head { justify-content: center; }
  .daily-block .rail-head h2 { text-align: center; }
  .daily-pick { grid-template-columns: 1fr; justify-items: center; }
  .daily-banner { max-width: 168px; margin-inline: auto; }
}

/* ---------- discord ---------- */
.discord-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 20px 32px;
  color: #fff;
  background: #111;
  border-radius: 12px;
}
.discord-banner p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.375;
}
.discord-banner svg { flex-shrink: 0; width: 32px; height: 32px; }
.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
}
.btn-discord:hover { background: var(--red-hover); }

/* ---------- news + memes band (matches live .home-band) ---------- */
.home-band {
  background: #111;
  color: #fff;
  margin-top: 64px;
  padding: 18px 16px 20px;
  border: 1px solid #cfcfcf;
  border-radius: 16px;
  position: relative;
}
.home-band .home-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin: 0;
  gap: 48px;
  align-items: start;
}
.home-band .home-news,
.home-band .home-memes { margin-top: 0; min-width: 0; }
.home-band h2,
.home-band a,
.home-band p { color: #fff; }
.home-band .news-head,
.home-band .home-memes .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  margin: 0 0 16px;
  gap: 12px;
  overflow: hidden;
}
.home-band .news-head h2,
.home-band .home-memes .section-head h2 {
  margin: 0;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
}
.home-band .news-head a,
.home-band .home-memes .section-head > a {
  min-height: 0;
  align-self: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}
.home-band .news-head a:hover { color: #d51920; }

.home-band .news-feature {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.home-band .news-feature-art {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c8c8c8;
  aspect-ratio: 16 / 9;
  background: #222;
}
.home-band .news-feature-art img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.home-band .news-feature h3,
.home-band .news-title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #fff;
  text-wrap: pretty;
}
.home-band .news-feature:hover .news-title { color: #d51920; }
.home-band .news-feature p,
.home-band .news-dek,
.home-band .news-date {
  margin: 0 0 6px;
  color: #ddd;
  font-size: 16px;
  line-height: 1.45;
  text-wrap: pretty;
}
.home-band .news-date {
  font-size: 14px;
  font-weight: 500;
}

.home-band .meme-updated {
  margin: 0 0 0 auto;
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.home-band .section-head .meme-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 10px;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.home-band #meme-idx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
}

.home-band .meme-home-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.home-band .meme-rotator {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.home-band .meme-art {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c8c8c8;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.home-band .meme-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  background: #fff;
}
.home-band .meme-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #d51920;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 4;
}
.home-band .meme-nav.prev { left: 8px; }
.home-band .meme-nav.next { right: 8px; }
.home-band .meme-nav:hover { background: #b9151b; }
.home-band .meme-by { display: none; }

.home-band .meme-under {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}
.home-band .meme-upload-plain {
  margin: 0;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-band .meme-drop-plain {
  background: #3a3a3a;
  border: 2px dashed #9a9a9a;
  border-radius: 12px;
  box-sizing: border-box;
  height: 106.8px;
  min-height: 106.8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.home-band .meme-drop-plain label {
  width: 100%;
  margin: 0;
  min-height: 0;
  padding: 0 10px;
  gap: 4px;
  pointer-events: auto;
  background: transparent;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.home-band .meme-drop-plain .meme-drop-ico {
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.home-band .meme-drop-plain .meme-drop-ico svg { width: 22px; height: 22px; display: block; }
.home-band .meme-drop-plain .meme-drop-lead {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  flex: 0 0 auto;
}
.home-band .meme-choose {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.home-band #meme-drop-status { color: #fff; margin: 0; font-size: 13px; line-height: 1.3; }
.home-band #meme-drop-status.is-bad { color: #d51920; }

.home-band .meme-share-slot {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0;
}
.home-band .meme-share-label {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.2;
}
.home-band .meme-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  gap: 0;
}
.home-band .share-icons {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  grid-template-rows: repeat(2, 34px);
  height: auto;
  gap: 14px;
  margin: 0;
  align-content: start;
  justify-content: center;
}
.home-band .share-ico {
  width: 34px;
  height: 34px;
  min-height: 0;
  background: #3a3a3a;
  border-radius: 10px;
  color: #fff;
  display: grid;
  place-items: center;
}
.home-band .share-ico img,
.home-band .share-ico svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
  display: block;
}
/* Wide wordmarks: do not squash Gab or MeWe into a square. */
.home-band .share-ico.gab img,
.home-band .share-ico.mewe img {
  width: 26px;
  height: 14px;
  max-width: 26px;
  max-height: 14px;
  object-fit: contain;
}


@media (max-width: 767px) {
  .home-band .home-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-band .meme-under {
    grid-template-columns: 1fr;
    margin-top: 0;
    height: auto;
  }
  .home-band .meme-drop-plain { min-height: 72px; height: auto; }
  /* On the live mobile homepage the date is clipped away; hide it so it cannot collide with "of 35". */
  .home-band .home-memes .section-head > .meme-updated { display: none; }
}

/* ---------- footer (matches live nws.css footer, preview paths) ---------- */
footer,
footer.site {
  color: #fff;
  background: #111;
  border-top: 1px solid #ffffff1a;
  margin-top: 32px;
  padding-bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  footer,
  footer.site {
    padding-bottom: 48px;
  }
}
.foot {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--page-px) 0;
  min-width: 0;
}
@media (min-width: 768px) {
  .foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 32px;
    padding-right: 32px;
  }
}
.foot-brand,
.foot-end,
.foot-social,
.foot-nav {
  min-width: 0;
  max-width: 100%;
}
.foot-brand img,
.foot .brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
}
.foot-blurb {
  color: #fff9;
  max-width: 24rem;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}
.foot-blurb .foot-lead { font-weight: 700; color: #fff; }
.foot-blurb a.foot-join {
  color: #d51920;
  font-weight: 700;
  text-decoration: none;
}
.foot-blurb a.foot-join:hover { text-decoration: underline; }

.foot-end {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
@media (min-width: 768px) {
  .foot-end { align-items: flex-end; }
}
.foot-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .foot-social { justify-content: flex-end; }
}
.foot-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #ffffff1a;
  border-radius: 3px;
  flex: 0 0 auto;
}
.foot-ico:hover { background: #fff3; }
.foot-ico svg { width: 16px; height: 16px; display: block; }
.foot-ico img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

.foot-legal {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff80;
}
@media (min-width: 768px) {
  .foot-legal { text-align: right; }
}

.foot a.foot-bother {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .025em;
  color: var(--red);
  text-transform: uppercase;
  text-underline-offset: 4px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.foot a.foot-bother:hover {
  color: var(--red);
  text-decoration: underline;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .foot-nav { justify-content: flex-end; }
}
.foot-nav a {
  color: #fff9;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 4px;
  font-weight: 400;
}
.foot-nav a:hover { color: #fff; }


/* ---------- helpers ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@media (max-width: 767px) {
  header.site > .hdr {
    padding-left: 16px;
    padding-right: 10px;
    flex-wrap: nowrap;
  }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand img { height: 28px; width: auto; max-width: 150px; object-fit: contain; object-position: left; }
  .hdr-cta { gap: 4px; flex: 0 0 auto; }
  .hdr-pill,
  .hdr-signin { display: none; }
  .coffee-btn { padding: 0 10px; flex: 0 1 auto; min-width: 0; }
  .burger { display: grid; flex: 0 0 44px; }
}


/* Body-copy paragraph rhythm, shared with the show page. Only line-height / inter-paragraph gap. */
.daily-plot,
.rec-dek,
.news-home-dek {
  line-height: 1.6;
}
.daily-plot + .daily-plot,
.rec-dek + .rec-dek {
  margin-top: 1.05em;
}

/* Footer "Tip us a [coffee icon]" link: icon after the text, inline with it. */
.foot-coffee { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.foot-coffee .foot-coffee-ico { width: 14px; height: 14px; flex: none; }

/* Ellipsis menu: circle-X close (top right) + thin separators between items. */
.tile-menu { padding-top: 34px; }
.tile-menu .float-x {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 400 16px/1 system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
}
.tile-menu .float-x:hover,
.tile-menu .float-x:focus-visible { background: var(--red); border-color: var(--red); }
.tile-menu > a,
.tile-menu > button:not(.float-x),
.tile-menu > label { border-radius: 0; }
.tile-menu > :not(.float-x) ~ :not(.float-x) { border-top: 1px solid #ffffff40; }
.tile-menu a,
.tile-menu .rate-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.tile-menu .menu-ext {
  width: 13px;
  height: 13px;
  display: block;
  margin-left: auto;
  flex: 0 0 auto;
}
.tile-menu .rate-line { padding: 10px 12px; margin: 0; color: #fff; font: inherit; }
.tile-menu .rate-line input[type="range"] {
  flex: 1 1 auto;
  width: 88px;
  min-width: 0;
  height: 16px;
  accent-color: var(--red);
}
.tile-menu .rate-line .rate-num {
  flex: none;
  min-width: 2.4em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Signed-in nav (js/nav.js): ADMIN / ACCOUNT, avatar, SIGN OUT; placeholder JOIN for non-members. */
.hdr-signout {
  display: inline-flex; align-items: center; padding: 0 4px; height: 40px; background: none; border: 0;
  font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap; color: #fff; text-decoration: none; cursor: pointer;
}
.hdr-signout:hover, .hdr-signout:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.hdr-join-ph { cursor: default; }
.hdr-join-ph:hover { background: var(--red); }
.hdr-avatar { display: inline-flex; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; }
.nav-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; background: #fff; border: 2px solid #fff; box-sizing: border-box; }
.nav-initial {
  display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 16px; line-height: 1; text-transform: uppercase;
}
.menu-full .join-login .nav-panel-who { display: flex; align-items: center; gap: 12px; padding: 4px 4px 10px; color: #fff; }
.menu-full .join-login .nav-panel-name { font-weight: 600; overflow-wrap: anywhere; }
.menu-full .join-login .nav-panel-join,
.menu-full .join-login .nav-panel-signout {
  display: block; width: 100%; text-align: left; padding: 12px 4px; min-height: 44px; background: none; border: 0; color: #fff;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: inherit; cursor: pointer;
}
.menu-full .join-login .nav-panel-join { cursor: default; }
@media (max-width: 767px) {
  .hdr-signout { display: none; }
  .hdr-avatar, .nav-av { width: 32px; height: 32px; }
}

/* Signed-in nav (js/nav.js): ADMIN / ACCOUNT, avatar, SIGN OUT; placeholder JOIN for non-members. */
.hdr-signout {
  display: inline-flex; align-items: center; padding: 0 4px; height: 40px; background: none; border: 0;
  font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap; color: #fff; text-decoration: none; cursor: pointer;
}
.hdr-signout:hover, .hdr-signout:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.hdr-join-ph { cursor: default; }
.hdr-join-ph:hover { background: var(--red); }
.hdr-avatar { display: inline-flex; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; }
.nav-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: block; background: #fff; border: 2px solid #fff; box-sizing: border-box; }
.nav-initial {
  display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 16px; line-height: 1; text-transform: uppercase;
}
.menu-full .join-login .nav-panel-who { display: flex; align-items: center; gap: 12px; padding: 4px 4px 10px; color: #fff; }
.menu-full .join-login .nav-panel-name { font-weight: 600; overflow-wrap: anywhere; }
.menu-full .join-login .nav-panel-join,
.menu-full .join-login .nav-panel-signout {
  display: block; width: 100%; text-align: left; padding: 12px 4px; min-height: 44px; background: none; border: 0; color: #fff;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: inherit; cursor: pointer;
}
.menu-full .join-login .nav-panel-join { cursor: default; }
@media (max-width: 767px) {
  .hdr-signout { display: none; }
  .hdr-avatar, .nav-av { width: 32px; height: 32px; }
}

/* ---------- home memes: date menu, meme wall, viewer, toast (js/memes-extra.js) ---------- */
.home-band .meme-home-stack { position: relative; }
.home-band .meme-more-wrap { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 7; }
.home-band .meme-more-wrap .tile-more { top: 6px; left: 6px; border-radius: 50%; filter: drop-shadow(0 0 1.5px rgba(0,0,0,.65)); }
.home-band .meme-more-wrap .tile-menu { top: 32px; left: 6px; width: 300px; max-width: calc(100vw - 48px); }
.meme-menu .meme-date-form { display: grid; gap: 8px; padding: 2px 6px 6px; }
.meme-menu .meme-date-title { margin: 0; font-weight: 600; color: #fff; font-size: 14px; }
.meme-menu .meme-date-row { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 6px; }
.meme-menu select { min-width: 0; width: 100%; height: 34px; border-radius: 8px; border: 1px solid #c8c8c8; background: #fff; color: #111; font: inherit; font-size: 13px; padding: 0 4px; }
.meme-menu .meme-date-note { margin: 0; color: #ddd; font-size: 12px; line-height: 1.35; }
.meme-menu .meme-date-note.is-empty { color: #ff8a8f; font-weight: 600; }
.tile-menu.meme-menu > :not(.float-x) ~ :not(.float-x) { border-top: 0; }
.meme-menu button.meme-date-go,
.meme-menu button.meme-date-latest { display: block; width: 100%; text-align: center; border-radius: 999px; padding: 9px 12px; font-weight: 600; }
.meme-menu button.meme-date-go { background: var(--red); color: #fff; }
.meme-menu button.meme-date-go:hover { background: var(--red-hover); }
.meme-menu button.meme-date-latest { border: 1px solid #ffffff80; }
.meme-menu select:focus-visible, .meme-menu button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.home-band .meme-wall { outline: none; }
.home-band .meme-wall-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 34px; min-height: 32px; margin: 0 0 12px; }
.home-band .meme-wall-head h3 { margin: 0; font-size: 17px; line-height: 1.25; color: #fff; }
.home-band .meme-wall-back { flex: none; border: 1px solid #fff; background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.home-band .meme-wall-back:hover, .home-band .meme-wall-back:focus-visible { background: var(--red); border-color: var(--red); }
.home-band .meme-wall-empty { margin: 0 0 8px; color: #fff; font-size: 15px; }
.home-band .meme-wall-empty a { color: #fff; text-decoration: underline; }
.home-band .meme-wall-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-band .meme-wall-tile { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #222; cursor: zoom-in; aspect-ratio: 1 / 1; box-shadow: 0 0 0 2px #fff; }
.home-band .meme-wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-band .meme-wall-tile:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 767px) { .home-band .meme-wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .home-band .meme-wall-head { flex-wrap: wrap; } .home-band .meme-wall-head h3 { flex: 1 1 100%; } }
.meme-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 94vh; overflow: visible; }
.meme-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.meme-lb-inner { position: relative; background: #111; color: #fff; border-radius: 14px; padding: 40px 14px 12px; border: 1px solid #c8c8c8; display: grid; gap: 10px; justify-items: center; }
.meme-lb-title { margin: 0; font-size: 15px; color: #fff; justify-self: start; }
.meme-lb-img { display: block; max-width: 100%; max-height: calc(94vh - 150px); width: auto; height: auto; border-radius: 8px; }
.meme-lb-close.float-x { position: absolute; top: 9px; right: 9px; width: 26px; height: 26px; border: 1.5px solid #fff; border-radius: 50%; background: transparent; color: #fff; font: 400 18px/1 system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.meme-lb-close.float-x:hover, .meme-lb-close.float-x:focus-visible { background: var(--red); border-color: var(--red); }
.meme-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.meme-lb-step { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.meme-lb-step:hover, .meme-lb-step:focus-visible { background: var(--red); border-color: var(--red); }
.meme-lb-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.meme-send { margin: 8px 0 0; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 600; padding: 9px 18px; cursor: pointer; }
.meme-send:hover { background: var(--red-hover); }
.meme-upload [data-captcha-mount] { margin-top: 8px; }
.home-band #meme-drop-status.is-error { color: #ff8a8f; }
.home-band #meme-drop-status.is-ok { color: #fff; font-weight: 600; }
.home-band #meme-drop-status a { color: #fff; text-decoration: underline; }
.nws-toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 1000; background: #111; color: #fff; border: 1px solid #c8c8c8; border-radius: 12px; padding: 12px 16px; font-size: 14px; max-width: min(92vw, 460px); box-shadow: 0 8px 28px rgba(0,0,0,.35); transition: transform .2s ease; }
.nws-toast.is-on { transform: translate(-50%, 0); }
.nws-toast a { color: #fff; text-decoration: underline; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .nws-toast { transition: none; } }
