/* Thank You for Your Time — early-MTV homage × pink/black retro-cyber */
:root {
  --bg: #1a1024;
  --bg-elev: #261833;
  --bg-card: #2e1c3c;
  --pink: #ff4da0;
  --pink-hot: #ff6bb5;
  --magenta: #e83a8a;
  --cyan: #5ce1ff;
  --cyan-soft: #9aefe8;
  --peach: #ffb087;
  --sunset: #ff8a5c;
  --purple: #c07bff;
  --yellow: #ffd666;
  --red: #ff5c6c;
  --silver: #ebe4f2;
  --text: #fff8fc;
  --muted: #c4b0d0;
  --line: rgba(255, 107, 181, 0.32);
  --glow-pink: 0 0 18px rgba(255, 77, 160, 0.4), 0 0 36px rgba(232, 58, 138, 0.18);
  --glow-cyan: 0 0 14px rgba(92, 225, 255, 0.35);
  --shadow-soft: 0 10px 28px rgba(20, 6, 30, 0.35), 0 2px 6px rgba(20, 6, 30, 0.2);
  --font-display: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --max: 1080px;
  --pad: clamp(1rem, 3vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 85% -8%, rgba(255, 138, 92, 0.22), transparent 58%),
    radial-gradient(900px 520px at 8% 5%, rgba(255, 107, 181, 0.22), transparent 55%),
    radial-gradient(700px 420px at 50% 100%, rgba(92, 225, 255, 0.1), transparent 60%),
    linear-gradient(175deg, #2a1638 0%, #1e1230 38%, #16102a 100%);
  background-attachment: fixed;
}
body.theme-warm .site-header {
  background: rgba(28, 16, 40, 0.78);
  border-bottom-color: rgba(255, 138, 92, 0.18);
}

/* Subtle CRT scanlines — decorative only (lighter on warm theme) */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.025;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 3px
  );
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { opacity: 0.02; }
  .hero-logo, .neon-title, .card:hover, .era-chip { transition: none !important; }
  .grid-horizon { animation: none !important; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-hot); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pink);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 5, 12, 0.82);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.brand--named {
  flex-wrap: wrap;
  max-width: min(70vw, 22rem);
}
.brand-fullname {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.25;
}
.brand:hover .tyfyt-mark--header {
  filter: drop-shadow(0 0 10px rgba(92, 225, 255, 0.45));
}
.brand:hover .brand-fullname {
  color: var(--peach);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 650;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--pink-hot);
  border-bottom-color: var(--pink);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
}
.hero--mark {
  padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(0.35rem, 1.5vw, 0.85rem);
  text-align: center;
}
.hero-mark-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.grid-horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background:
    linear-gradient(to top, rgba(255, 45, 149, 0.22), transparent 70%),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 38px,
      rgba(255, 45, 149, 0.12) 38px,
      rgba(255, 45, 149, 0.12) 39px
    ),
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 28px,
      rgba(0, 229, 255, 0.08) 28px,
      rgba(0, 229, 255, 0.08) 29px
    );
  mask-image: linear-gradient(to top, black 10%, transparent 95%);
  -webkit-mask-image: linear-gradient(to top, black 10%, transparent 95%);
  pointer-events: none;
  transform: perspective(400px) rotateX(48deg);
  transform-origin: bottom center;
  opacity: 0.85;
}
.hero-logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 6.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--glow-pink);
  margin: 0.35rem 0 0.5rem;
  max-width: 18ch;
}
.hero-logo span {
  display: block;
  color: var(--pink-hot);
}
.hero-lead {
  max-width: 38rem;
  color: var(--silver);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  margin: 0 0 1.25rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 45, 149, 0.08);
  color: var(--pink-hot);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill.cyan { color: var(--cyan); border-color: rgba(0, 229, 255, 0.35); background: rgba(0, 229, 255, 0.08); }

.neon-title {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--glow-pink);
  margin: 0 0 1rem;
}
.neon-title .accent { color: var(--pink-hot); }
.section {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Cards / archive */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(255, 45, 149, 0.08), transparent 45%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 149, 0.55);
  box-shadow: var(--glow-pink);
}
.card-thumb {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body { padding: 0.9rem 1rem 1.1rem; }
.card-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
.card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.era-chip {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.35);
}

/* Timeline eras */
.era-timeline {
  display: grid;
  gap: 0.85rem;
}
.era-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.era-row:hover {
  border-color: color-mix(in srgb, var(--era-accent, var(--pink)) 70%, white);
  box-shadow: 0 0 20px color-mix(in srgb, var(--era-accent, var(--pink)) 25%, transparent);
}
.era-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.era-name {
  margin: 0;
  font-weight: 850;
  font-size: 1.1rem;
  color: var(--era-accent, var(--pink-hot));
  text-shadow: 0 0 12px color-mix(in srgb, var(--era-accent, var(--pink)) 40%, transparent);
}
.era-years {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.era-blurb { margin: 0; color: var(--silver); font-size: 0.95rem; }

/* Today's drop */
.drop-empty {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 45, 149, 0.04);
}

/* Article page */
.article-hero {
  padding: 1.5rem 0 0.5rem;
}
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.article-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: var(--glow-pink);
}
.article-byline {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}
.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.15), var(--glow-pink);
  margin-bottom: 1.5rem;
}
.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade__hit {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.yt-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-facade__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 4, 18, 0.15), rgba(10, 4, 18, 0.55));
  pointer-events: none;
}
.yt-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
  z-index: 1;
}
.yt-facade__play-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: rgba(255, 77, 160, 0.92);
  box-shadow: var(--glow-pink), 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}
.yt-facade__play-icon::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #12010a;
}
.yt-facade__play-label {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff8fc;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  background: rgba(18, 1, 10, 0.45);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 181, 0.45);
}
.yt-facade.is-playing .yt-facade__hit { display: none; }
.yt-facade__hit:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}
@media (hover: hover) {
  .yt-facade__hit:hover .yt-facade__play-icon {
    transform: scale(1.04);
    background: var(--pink-hot);
  }
  .yt-facade__play-icon { transition: transform 0.15s ease, background 0.15s ease; }
}


/* Side guides: always stacked under the player, same width, squared edges.
   Two equal columns (seeing | hearing) from 700px up; one column below. */
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.watch-layout__main .video-shell {
  margin-bottom: 0.75rem;
}
.watch-layout__note {
  margin: 0 !important;
}
.side-guides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  align-items: stretch;
}
.side-guides[hidden] {
  display: none !important;
}
.side-guides .side-guides__panel {
  margin: 0;
  min-width: 0;
  max-height: min(60vh, 30rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.side-guides__panel h2 {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, var(--bg-elev) 70%, transparent);
  padding-bottom: 0.35rem;
  z-index: 1;
}
.side-guides__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.side-guides__list li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.55rem 0.7rem;
  align-items: start;
  padding-left: 0.75rem;
  border-left: 3px solid var(--cyan);
}
.side-guides__time {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}
.side-guides__beat {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}
@media (min-width: 700px) {
  .side-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* only one track present: let it span the full player width */
  .side-guides .side-guides__panel:only-child {
    grid-column: 1 / -1;
  }
}

.embed-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(255, 45, 149, 0.2), rgba(0, 0, 0, 0.85)),
    #000;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #12010a;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.btn:hover { background: var(--pink-hot); color: #000; }
.btn.ghost {
  background: transparent;
  color: var(--pink-hot);
}

.prose-block {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 45, 149, 0.06), transparent), var(--bg-elev);
}
.prose-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-hot);
  text-shadow: 0 0 10px rgba(255, 45, 149, 0.35);
}
.prose-block p:last-child { margin-bottom: 0; }

.note-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.note-list li {
  padding-left: 0.9rem;
  border-left: 3px solid var(--pink);
}
.note-cue {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.signs-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .signs-grid { grid-template-columns: 1fr 1fr; }
}
.sign-item {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 45, 149, 0.18);
}
.sign-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.25rem;
}
.sign-item span { color: var(--silver); font-size: 0.95rem; }

.booth {
  border-color: rgba(0, 229, 255, 0.28);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.07), transparent), var(--bg-elev);
}
.booth h2 { color: var(--cyan); text-shadow: var(--glow-cyan); }
.booth-lines { margin: 0; padding-left: 1.1rem; }
.booth-lines li { margin: 0.4rem 0; color: var(--silver); }

.further-list { margin: 0; padding-left: 1.1rem; }
.further-list li { margin: 0.35rem 0; color: var(--silver); }

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"], .filter-btn:hover {
  border-color: var(--pink);
  color: var(--pink-hot);
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.25);
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}
.disclaimer {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 52rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
}
.chrome-rule {
  height: 3px;
  border: 0;
  margin: 0 0 1.25rem;
  background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), var(--purple), transparent);
  opacity: 0.75;
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.loading {
  color: var(--muted);
  padding: 1rem 0;
}

/* ——— Wishing Well (sticky top bar) ——— */
.well-bar {
  position: sticky;
  top: 0; /* overridden with header offset on wide screens via --site-header-h if set; see media */
  z-index: 99;
  border-top: 1px solid rgba(255, 77, 184, 0.18);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 6, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Reserve space so count/status load without shifting the row */
  min-height: 3.25rem;
}

/* Desktop/tablet: header stays sticky; well sticks just under it */
@media (min-width: 561px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .well-bar {
    /* sit under sticky header — approximate; JS can refine, CSS fallback uses 3.6rem */
    top: 3.55rem;
    top: var(--site-header-h, 3.55rem);
  }
}
.well-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  padding: 0.4rem 0;
  min-height: 3.25rem;
  box-sizing: border-box;
}
.well-bar__icon-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 77, 184, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.well-bar__icon-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.well-bar__meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
  flex: 1 1 auto;
}
.well-bar__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-hot);
  line-height: 1.2;
}
.well-bar__hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28rem;
}
.well-bar__status {
  flex: 1 1 10rem;
  margin: 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 22rem;
}
.well-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.well-bar__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5ch;
  min-height: 44px;
  padding: 0 0.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--peach);
  letter-spacing: 0.02em;
}
.well-bar__count::after {
  content: " wishes";
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.3rem;
}
.well-bar__toss {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}
.well-bar__panel {
  border-top: 1px solid rgba(92, 225, 255, 0.15);
  background: rgba(8, 5, 14, 0.92);
  padding: 0.75rem 0 0.9rem;
}
.well-bar__panel[hidden] { display: none !important; }
.well-bar__panel-inner {
  display: grid;
  gap: 0.85rem 1.25rem;
  align-items: center;
}
@media (min-width: 720px) {
  .well-bar__panel-inner {
    grid-template-columns: 104px 1fr;
  }
}
.well-bar__panel-copy p {
  margin: 0 0 0.55rem;
  color: var(--silver);
  font-size: 0.9rem;
}
.well-stage {
  position: relative;
  display: block;
  line-height: 0;
}
.well-stage--sm {
  width: 40px;
  height: 40px;
}
.well-stage--lg {
  width: 96px;
  height: 96px;
  margin: 0 auto;
}
.well-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.well-coin {
  position: absolute;
  left: 50%;
  top: 2%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, #e0a800 45%, #a86b00 80%);
  border: 1px solid #fff3c4;
  box-shadow: 0 0 6px rgba(255, 230, 100, 0.55);
  opacity: 0;
  transform: translateY(0) scale(1);
  pointer-events: none;
  z-index: 2;
}
.well-stage--lg .well-coin {
  width: 16px;
  height: 16px;
  margin-left: -8px;
}
.well-coin.is-tossing {
  opacity: 1;
  animation: coin-toss-water 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}
.well-coin.is-dropped {
  opacity: 0;
  transform: translateY(18px) scale(0.45);
}
@keyframes coin-toss-water {
  0%   { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
  30%  { opacity: 1; transform: translateY(-10px) scale(1.08) rotate(100deg); }
  70%  { opacity: 1; transform: translateY(14px) scale(0.7) rotate(240deg); }
  100% { opacity: 0; transform: translateY(20px) scale(0.35) rotate(320deg); }
}
.well-ripple {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
}
.well-bar.is-splashing .well-ripple--1 {
  animation: well-ripple 1.15s ease-out forwards;
}
.well-bar.is-splashing .well-ripple--2 {
  animation: well-ripple 1.3s ease-out 0.08s forwards;
}
.well-bar.is-splashing .well-ripple--3 {
  animation: well-ripple 1.45s ease-out 0.16s forwards;
}
.well-bar.is-splashing-static .well-ripple--1 {
  opacity: 0.7;
  transform: scale(1.6);
}
@keyframes well-ripple {
  0%   { opacity: 1; transform: scale(0.3); stroke-width: 1.6px; }
  55%  { opacity: 0.7; }
  100% { opacity: 0; transform: scale(2.85); stroke-width: 0.6px; }
}
@media (prefers-reduced-motion: reduce) {
  .well-coin.is-tossing { animation: none; opacity: 0; }
  .well-bar.is-splashing .well-ripple--1,
  .well-bar.is-splashing .well-ripple--2,
  .well-bar.is-splashing .well-ripple--3 {
    animation: none;
  }
  .well-bar.is-splashing .well-ripple--1,
  .well-bar.is-splashing-static .well-ripple--1 {
    opacity: 0.65;
    transform: scale(1.5);
  }
}
.well-chart-label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.well-chart {
  max-width: 320px;
  border-radius: 8px;
  border: 1px solid rgba(255, 45, 149, 0.18);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.35rem 0.45rem 0.2rem;
  min-height: 56px;
  box-sizing: border-box;
}

.well-bar__visitors {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.well-bar__visitors--compact {
  display: none;
  margin-right: 0.35rem;
}
@media (min-width: 900px) {
  .well-bar__visitors--compact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
.well-visitors {
  margin: 0.55rem 0 0.15rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  min-height: 1.2em;
}
.well-visitors-def {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .well-bar__visitors--compact { display: none !important; }
}

.well-privacy {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 40rem;
}
.well-privacy-footer { margin: 0.65rem 0 0.85rem; }
.well-social {
  margin: 0.15rem 0 0.45rem;
  font-weight: 700;
  color: var(--peach);
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* iPad / mid widths keep hint but tighten status */
@media (min-width: 561px) and (max-width: 1024px) {
  .well-bar__status { max-width: 14rem; }
  .well-bar__hint { max-width: 16rem; }
}

/* Narrow phones: brand/nav scroll away; ONLY the well row sticks (~56–64px) */
@media (max-width: 560px) {
  .site-header {
    position: static;
    padding-top: 0; /* safe-area moves to sticky well */
  }
  .well-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
    min-height: 0;
  }
  .well-bar__row {
    flex-wrap: nowrap;
    gap: 0.4rem 0.5rem;
    padding: 0.3rem 0;
    min-height: 56px;
    height: 56px;
    max-height: 64px;
    align-items: center;
  }
  .well-bar__hint,
  .well-bar__status {
    display: none !important; /* show status in expanded panel instead */
  }
  .well-bar__meta {
    flex: 0 1 auto;
    min-width: 0;
  }
  .well-bar__title {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .well-bar__count::after { content: ""; }
  .well-bar__count {
    min-width: 2.5ch;
    min-height: 44px;
    font-size: 0.9rem;
    padding: 0 0.15rem;
  }
  .well-bar__actions {
    margin-left: auto;
    gap: 0.35rem;
  }
  .well-bar__toss {
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .well-bar__icon-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .well-bar.is-expanded .well-bar__panel-status {
    display: block !important;
  }
  .well-bar__panel-status[hidden] {
    display: none !important;
  }
  .well-bar.is-expanded .well-bar__panel-status:not([hidden]) {
    display: block !important;
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
  }
}


/* —— Hidden clear-text easter entrance —— */
.secret-link {
  color: transparent !important;
  text-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: none !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: default;
  /* Keep it selectable so highlight reveals the text */
  -webkit-user-select: text;
  user-select: text;
}
.secret-link:hover,
.secret-link:focus,
.secret-link:active {
  color: transparent !important;
  outline: none;
}

/* —— Bass easter page —— */
.bass-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}
.bass-hero .hero-logo span { color: var(--pink-hot); }
.booth-aside {
  margin: 1rem 0 0;
  padding: 0.65rem 0.85rem;
  border-left: 3px solid var(--cyan);
  color: var(--silver);
  font-size: 0.95rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 0 8px 8px 0;
}
.bass-embed-block { margin: 0 0 1.75rem; }
.bass-embed-label {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bass-back { margin: 2rem 0 0; }

.bass-play {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 45, 149, 0.1), transparent 55%),
    var(--bg-elev);
  box-shadow: var(--glow-pink);
}
@media (min-width: 720px) {
  .bass-play {
    grid-template-columns: 160px 1fr;
    align-items: center;
  }
}
.bass-warn {
  margin: 0 0 0.85rem;
  color: var(--silver);
  font-size: 0.92rem;
}
.bass-play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}
.bass-play-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sub-rig {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.sub-basket {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #1a1224 0 28%, #0a0610 29% 46%, #2a1838 47% 62%, #120a18 63% 100%);
  border: 3px solid rgba(255, 45, 149, 0.65);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.85),
    0 0 22px rgba(255, 45, 149, 0.35);
}
.sub-cone {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, #3a2448, #160c20 55%, #08050c 100%);
  border: 2px solid rgba(255, 77, 184, 0.45);
  transform: scale(1);
  transform-origin: center;
}
.sub-dust {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff4db8, #7a1048 70%, #1a0510);
  box-shadow: 0 0 10px rgba(255, 45, 149, 0.55);
  z-index: 2;
}
.sub-cone.is-idle-pulse {
  animation: subIdle 1.15s ease-in-out infinite;
}
.sub-cone.is-thumping {
  animation: subThump 0.5s ease-in-out infinite;
}
@keyframes subIdle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes subThump {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .sub-cone.is-idle-pulse,
  .sub-cone.is-thumping { animation: none !important; }
}


/* TYFYT monogram — letter structure, color, breathing room */
.tyfyt-mark {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 0.9;
  color: var(--pink-hot);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.55);
  text-shadow:
    0 0 0.04em #000,
    0 0 18px rgba(255, 45, 149, 0.75),
    0 0 42px rgba(255, 45, 149, 0.35),
    0 2px 0 rgba(0, 229, 255, 0.35);
  display: inline-block;
  user-select: none;
}
.tyfyt-mark--header {
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  letter-spacing: 0.16em;
  padding: 0.1rem 0.05rem;
  text-shadow:
    0 0 12px rgba(255, 107, 181, 0.55),
    0 1px 0 rgba(92, 225, 255, 0.25);
}
.tyfyt-hit {
  appearance: none;
  border: 0;
  background: transparent;
  padding: clamp(0.6rem, 2vw, 1.25rem) clamp(0.4rem, 3vw, 1.5rem);
  margin: 0;
  cursor: pointer;
  border-radius: 0.35rem;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.tyfyt-hit:hover,
.tyfyt-hit:focus-visible {
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.55)) drop-shadow(0 0 28px rgba(255, 45, 149, 0.45));
  outline: none;
}
.tyfyt-hit:focus-visible {
  box-shadow: 0 0 0 2px var(--cyan);
}
.tyfyt-mark--hero {
  font-size: clamp(3.8rem, 19vw, 9.75rem);
  letter-spacing: 0.06em;
  padding: 0.18em 0.08em 0.1em;
  color: var(--pink-hot);
  -webkit-text-stroke: 2px #050008;
  paint-order: stroke fill;
  text-shadow:
    0 0 18px rgba(255, 45, 149, 0.9),
    0 0 40px rgba(255, 45, 149, 0.45),
    0 3px 0 rgba(0, 229, 255, 0.45),
    0 6px 0 rgba(0, 0, 0, 0.55),
    0 0 2px #000;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.22));
}

.hero-pull {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.15rem;
  opacity: 0.85;
}
.hero-pull-glow {
  width: min(12rem, 55vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink-hot), transparent);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55), 0 0 18px rgba(255, 45, 149, 0.35);
}
.hero-pull-arrow {
  font-size: 1.35rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  line-height: 1;
  margin-top: 0.35rem;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-pull-arrow {
    animation: pullBob 1.6s ease-in-out infinite;
  }
  .hero-pull-glow {
    animation: scanPulse 2.4s ease-in-out infinite;
  }
}
@keyframes pullBob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes scanPulse {
  0%, 100% { opacity: 0.45; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

.section--drop {
  padding-top: 0.35rem;
}
.section-head--minimal {
  margin-bottom: 0.65rem;
  min-height: 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Intro overlay (TYFYT easter egg) */
body.intro-open { overflow: hidden; }
.intro-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.intro-dialog[hidden] { display: none !important; }
.intro-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 0, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.intro-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(86vh, 40rem);
  overflow: auto;
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1.2rem, 4vw, 2rem) 1.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 45, 149, 0.45);
  background:
    linear-gradient(165deg, rgba(40, 0, 28, 0.96), rgba(8, 0, 16, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.18),
    0 0 48px rgba(255, 45, 149, 0.28),
    0 24px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.intro-dialog.is-open .intro-dialog__backdrop { opacity: 1; }
.intro-dialog.is-open .intro-dialog__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.intro-dialog__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--silver);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.intro-dialog__close:hover,
.intro-dialog__close:focus-visible {
  color: var(--pink-hot);
  border-color: var(--pink);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.45);
}
.intro-dialog__body {
  display: grid;
  gap: 0.95rem;
  padding-right: 1.5rem;
}
.intro-dialog__body p {
  margin: 0;
  color: var(--silver);
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.55;
}
.intro-dialog__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pink-hot);
  text-shadow: var(--glow-pink);
  margin-top: 0.35rem !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero-pull-arrow, .hero-pull-glow { animation: none !important; }
  .intro-dialog__backdrop,
  .intro-dialog__panel,
  .tyfyt-hit { transition: none !important; }
  .intro-dialog.is-open .intro-dialog__panel {
    transform: none;
  }
}


/* —— Warm top-coat: inviting homepage + engagement aids —— */
.hero--warm {
  padding: clamp(1.4rem, 4vw, 2.4rem) 0 0.5rem;
  text-align: center;
}
.hero-warm-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.hero-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.tyfyt-hit--warm {
  padding: 0.35rem 0.6rem;
}
.tyfyt-mark--hero-warm {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  letter-spacing: 0.1em;
  color: var(--pink-hot);
  -webkit-text-stroke: 1.5px rgba(20, 6, 30, 0.65);
  paint-order: stroke fill;
  text-shadow:
    0 0 16px rgba(255, 107, 181, 0.55),
    0 2px 0 rgba(255, 176, 135, 0.35);
  filter: none;
}
.hero-fullname {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--peach);
}
.hero-hook {
  margin: 0.35rem 0 0.5rem;
  max-width: 34rem;
  font-size: clamp(1.12rem, 3.2vw, 1.4rem);
  font-weight: 650;
  line-height: 1.35;
  color: var(--silver);
}

.trip-progress {
  width: min(22rem, 92%);
  margin: 0.35rem auto 0.5rem;
  text-align: left;
}
.trip-progress__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.trip-progress__bar {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 176, 135, 0.25);
  overflow: hidden;
}
.trip-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--sunset), var(--peach));
  box-shadow: 0 0 10px rgba(255, 138, 92, 0.45);
  transition: width 0.45s ease;
}

.section--start { padding-top: 0.75rem; padding-bottom: 0.5rem; }

.start-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 138, 92, 0.35);
  background: linear-gradient(145deg, rgba(56, 28, 72, 0.95), rgba(36, 18, 48, 0.98));
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 107, 181, 0.08);
}
@media (max-width: 720px) {
  .start-card { grid-template-columns: 1fr; }
}
.start-card__media {
  position: relative;
  min-height: 12rem;
  background: #120818;
}
.start-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}
.start-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 138, 92, 0.95);
  color: #2a1020;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.start-card__body {
  padding: clamp(1.15rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}
.start-card__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.start-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.15;
  color: var(--text);
}
.start-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.start-card__teaser {
  margin: 0.15rem 0 0.55rem;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.45;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.btn--play {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.7rem 1.35rem;
  font-size: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-hot), var(--sunset));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(255, 107, 181, 0.35);
}
.btn--play:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn--small {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

.card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 6, 30, 0.42), 0 0 0 1px rgba(255, 176, 135, 0.28);
}
.card.is-watched {
  outline: 1px solid rgba(92, 225, 255, 0.28);
}
.card-teaser {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--silver);
}
.card-body {
  padding: 0.9rem 1rem 1.05rem;
}
.card-title {
  font-size: 1.08rem;
}

.drop-empty {
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 176, 135, 0.35);
  background: rgba(46, 28, 60, 0.55);
  color: var(--silver);
  padding: 1.25rem 1.35rem;
}

.up-next {
  margin: 2rem 0 0.5rem;
  padding-top: 0.5rem;
}
.up-next__label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}
.up-next__card {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 181, 0.28);
  background: rgba(46, 28, 60, 0.75);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.up-next__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 6, 30, 0.4);
}
.up-next__thumb img {
  display: block;
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.up-next__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-soft);
}
.up-next__title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}
.up-next__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
.up-next__teaser {
  margin: 0.4rem 0 0.35rem;
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.4;
}
@media (max-width: 560px) {
  .up-next__card { grid-template-columns: 1fr; }
}


.era-row {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}
.era-row:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .card, .up-next__card, .era-row, .btn--play, .trip-progress__fill {
    transition: none !important;
  }
  .card:hover, .up-next__card:hover, .era-row:hover, .btn--play:hover {
    transform: none !important;
  }
}

/* ===== UX research pass (Nov 2026) ===== */

/* Wishing well: the title is a real button that opens "what is this?" */
.well-bar__meta {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0.25rem 0.15rem;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  min-height: 44px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.well-bar__meta:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.well-bar__meta:hover .well-bar__title { text-decoration: underline dotted; text-underline-offset: 3px; }
.well-bar__what {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.62rem;
  line-height: 1;
  vertical-align: 0.08em;
  opacity: 0.85;
}
.well-bar.is-offline .well-bar__toss {
  opacity: 0.6;
  cursor: not-allowed;
}
.well-bar.is-offline .well-bar__status { color: var(--muted); text-shadow: none; }
.well-bar__toss:disabled { cursor: default; }
@media (max-width: 560px) {
  .well-bar__count::after {
    content: " wishes";
    font-size: 0.6rem;
    margin-left: 0.2rem;
  }
  .well-bar__meta { padding: 0.25rem 0; }
}
@media (max-width: 360px) {
  .well-bar__count::after { content: ""; }
}
/* Expanded panel never takes over a small screen */
.well-bar__panel {
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Narrow phones: keep the nav on one line so the header doesn't double in height */
@media (max-width: 430px) {
  .header-inner { gap: 0.5rem; padding: 0.6rem 0; }
  .nav { flex-wrap: nowrap; gap: 0.8rem; font-size: 0.85rem; }
  .brand--named { max-width: 52vw; }
}

/* Honest progress badge on cards */
.card.is-played { outline: 1px solid rgba(92, 225, 255, 0.28); }
.card-played {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Homepage start card: the video lives in the card and Press play really plays it */
.start-card__media { display: flex; align-items: center; }
.start-card__media .video-shell {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.start-card__media .yt-facade__thumb,
.start-card__media img.yt-facade__thumb { min-height: 0; }
.start-card__badge { z-index: 3; pointer-events: none; }
.start-card.is-started .start-card__badge { display: none; }
.start-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 0.35rem;
}
.start-card__actions .btn--play { cursor: pointer; border: 0; font: inherit; font-weight: 800; }
.start-card__actions .btn--play:disabled { opacity: 0.75; cursor: default; }
.start-card__notes {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.95rem;
  text-underline-offset: 3px;
}

/* YouTube fallback card: no black boxes */
.embed-fallback--card {
  color: var(--text);
}
.embed-fallback__lead {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.embed-fallback__back {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.embed-fallback-strip { margin: 0 0 0.75rem; }
.embed-fallback-strip .embed-fallback {
  position: static;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

/* Play first, deep cut on request */
.deep-cut {
  margin: 1.75rem 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius, 12px) + 2px);
  background: rgba(0, 0, 0, 0.18);
}
.deep-cut__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  padding: 1rem 1.15rem;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.deep-cut__summary::-webkit-details-marker { display: none; }
.deep-cut__summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--pink-hot);
  color: var(--pink-hot);
  font-weight: 800;
  flex: 0 0 auto;
  align-self: center;
}
.deep-cut[open] > .deep-cut__summary::before { content: "−"; }
.deep-cut__summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.deep-cut__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink-hot);
}
.deep-cut__hint { color: var(--muted); font-size: 0.9rem; }
.deep-cut__body { padding: 0 1.15rem 0.5rem; }
.deep-cut__body > .prose-block:first-child { margin-top: 0; }

/* Side rooms: findable doors, still a little secret */
.side-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.side-door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 14px 14px 4px 4px;
  border: 1px dashed rgba(255, 176, 135, 0.55);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 8px, transparent 8px 16px), rgba(20, 10, 28, 0.7);
  color: var(--text);
  text-decoration: none;
  transform: rotate(-0.4deg);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.side-door:nth-child(2) { transform: rotate(0.5deg); }
.side-door:nth-child(3) { transform: rotate(-0.2deg); }
.side-door::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--peach, #ffb087);
  box-shadow: 0 0 8px rgba(255, 176, 135, 0.7);
}
.side-door:hover, .side-door:focus-visible { transform: rotate(0deg) translateY(-2px); border-style: solid; }
.side-door__sign {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--pink-hot);
}
.side-door--bass .side-door__sign { color: var(--cyan); }
.side-door--myspace .side-door__sign { font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; color: #ff8ad4; }
.side-door--dark .side-door__sign { text-transform: lowercase; color: #c77dff; }
.side-door__blurb { color: var(--silver); font-size: 0.93rem; line-height: 1.45; padding-right: 1.25rem; }
.side-door__knock { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .side-door, .side-door:nth-child(2), .side-door:nth-child(3) { transform: none; transition: none; }
}
.side-rooms-line {
  margin: 0.4rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: baseline;
  font-size: 0.88rem;
}
.side-rooms-line__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-rooms-line a { color: var(--peach, #ffb087); font-weight: 700; }

.start-card__media { min-height: 0; }
@media (min-width: 721px) { .start-card__media { min-height: 12rem; } }

/* Anchor jumps (#side-rooms, #deep-cut, #signs-and-codes…) land below the sticky header + well */
section[id], details[id], .prose-block[id] { scroll-margin-top: 8.5rem; }
@media (max-width: 560px) { section[id], details[id], .prose-block[id] { scroll-margin-top: 4.5rem; } }

.version-label { margin: 0.75rem 0 0; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); opacity: 0.8; }

/* Mini-player: the same .video-shell floats once playing and its slot scrolls away */
.player-slot { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 0.75rem; }
.player-slot > .video-shell { margin-bottom: 0 !important; }
.video-shell.is-floating {
  position: fixed;
  z-index: 98; /* under the sticky header (100) and well bar (99); placed clear of them */
  width: min(320px, 40vw);
  height: auto;
  aspect-ratio: 16 / 9;
  right: 16px;
  left: auto;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 107, 181, 0.45);
}
.video-shell.is-floating.mini--bottom { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); top: auto; }
.video-shell.is-floating.mini--top { top: var(--mini-top, 76px); bottom: auto; }
@media (max-width: 560px) {
  .video-shell.is-floating { width: 45vw; right: 10px; }
  .video-shell.is-floating.mini--bottom { top: var(--mini-top, 68px); bottom: auto; }
}
.video-shell.mini-enter { animation: mini-in 0.28s ease-out; }
@keyframes mini-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.mini-player__controls { display: none; }
.video-shell.is-floating .mini-player__controls {
  display: flex;
  gap: 4px;
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
}
.mini-player__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.mini-player__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  .video-shell.mini-enter { animation: none; }
}
