:root {
  --surface: rgba(33, 13, 56, 0.58);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --text: #fdefff;
  --muted: #dfc9f2;
  --line: rgba(253, 239, 255, 0.2);
  --accent: #ff4fd8;
  --accent-2: #b445ff;
  --accent-3: #732dff;
  --shadow: 0 26px 68px rgba(78, 20, 129, 0.42);
  --page-bg:
    radial-gradient(circle at 10% 12%, rgba(255, 79, 216, 0.48) 0%, rgba(255, 79, 216, 0) 45%),
    radial-gradient(circle at 88% 78%, rgba(116, 50, 255, 0.55) 0%, rgba(116, 50, 255, 0) 45%),
    radial-gradient(circle at 45% 40%, rgba(179, 70, 255, 0.3) 0%, rgba(179, 70, 255, 0) 55%),
    linear-gradient(140deg, #100320 0%, #1d0836 45%, #300d4c 100%);
}

body[data-theme="light"] {
  --surface: rgba(255, 255, 255, 0.8);
  --surface-soft: rgba(101, 53, 167, 0.08);
  --text: #2d123e;
  --muted: #6f5184;
  --line: rgba(87, 38, 144, 0.2);
  --accent: #f149cf;
  --accent-2: #a941ff;
  --accent-3: #5f43ff;
  --shadow: 0 20px 52px rgba(132, 72, 189, 0.23);
  --page-bg:
    radial-gradient(circle at 12% 16%, rgba(255, 116, 230, 0.35) 0%, rgba(255, 116, 230, 0) 46%),
    radial-gradient(circle at 82% 82%, rgba(126, 104, 255, 0.28) 0%, rgba(126, 104, 255, 0) 44%),
    linear-gradient(150deg, #fff8ff 0%, #f6ecff 58%, #ece7ff 100%);
}

body[data-theme="light"] .host-names {
  color: #5c1f8b;
  text-shadow: 0 8px 20px rgba(181, 88, 255, 0.2);
}

body[data-theme="light"] .bg-shape-1 {
  background: #ff74e6;
  opacity: 0.34;
}

body[data-theme="light"] .bg-shape-2 {
  background: #7e68ff;
  opacity: 0.28;
}

body[data-theme="light"] .bg-shape-3 {
  background: #b558ff;
  opacity: 0.24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--page-bg);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 260ms ease, color 200ms ease;
}

body.theme-fade {
  animation: themeFade 220ms ease;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(70px);
  opacity: 0.45;
  border-radius: 999px;
  animation: drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

.bg-shape-1 {
  width: 420px;
  height: 420px;
  background: #ff4fd8;
  top: -110px;
  left: -90px;
}

.bg-shape-2 {
  width: 470px;
  height: 470px;
  background: #7f3dff;
  right: -130px;
  bottom: -150px;
  animation-delay: 1.6s;
}

.bg-shape-3 {
  width: 360px;
  height: 360px;
  background: #b445ff;
  top: 35%;
  right: 22%;
  animation-delay: 0.7s;
}

.top-left-cutout {
  display: block;
  position: relative;
  width: clamp(170px, 16vw, 250px);
  margin: 0.5rem auto 0;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 16px 34px rgba(55, 13, 100, 0.35));
  opacity: 0.95;
}

.topbar {
  position: sticky;
  top: 0.7rem;
  z-index: 20;
  width: min(1560px, calc(100% - 0.8rem));
  margin: 0.7rem auto 0;
  padding: 0.58rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap;
}

body[data-theme="light"] .topbar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 238, 255, 0.78) 100%),
    repeating-linear-gradient(45deg, rgba(169, 65, 255, 0.03) 0 2px, rgba(255, 255, 255, 0) 2px 8px);
  border-color: rgba(87, 38, 144, 0.18);
  box-shadow: 0 20px 46px rgba(132, 72, 189, 0.2);
}

.topbar::-webkit-scrollbar {
  display: none;
}

.topbar-brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar-links::-webkit-scrollbar {
  display: none;
}

.now-playing-pill {
  margin: 0 0 0 0.35rem;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.topbar-links a,
.theme-toggle {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.9rem;
  transition: transform 160ms ease, border-color 160ms ease;
}

.theme-toggle {
  cursor: pointer;
  font-family: inherit;
}

.topbar-switches {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--text);
  user-select: none;
  cursor: pointer;
}

.switch-label {
  font-size: 0.78rem;
  line-height: 1;
}

.switch-label-muted {
  opacity: 0.65;
}

.switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.switch-slider {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(130, 76, 189, 0.25);
  transition: background 180ms ease, border-color 180ms ease;
}

.switch-slider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 6px 14px rgba(169, 65, 255, 0.3);
  transition: transform 180ms ease;
}

.switch-input:checked + .switch-slider {
  background: rgba(255, 255, 255, 0.16);
}

.switch-input:checked + .switch-slider::after {
  transform: translateX(18px);
}

.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4.8rem 1.2rem 1.6rem;
  text-align: center;
  animation: rise 700ms ease-out;
}

.hero-logo {
  width: min(340px, 72vw);
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.36);
  animation: floatLogo 8s ease-in-out infinite;
}

.eyebrow {
  margin: 1.4rem 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.9rem, 8vw, 5.4rem);
}

.host-names {
  margin: 0.5rem auto 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 5.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #ffe0fb;
  text-shadow: 0 10px 26px rgba(255, 79, 216, 0.34);
}

.host-subline {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy {
  max-width: 700px;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.8vw, 1.18rem);
  line-height: 1.6;
}

.cta-row {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.78rem 1.26rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-position 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(165, 62, 255, 0.34);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 46%, var(--accent-3) 100%);
  background-size: 150% 150%;
}

.btn-primary:hover {
  background-position: 100% 50%;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary.active-tag {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 46%, var(--accent-3) 100%);
  color: #fff;
  border-color: transparent;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.2rem 3.2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.latest-panel .episode-card {
  margin-top: 0.75rem;
}

.latest-slot {
  margin-top: 0.5rem;
}

.content-auto {
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.proof-card {
  margin-top: 0;
}

.proof-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.platform-badges span,
.trust-row span {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.trust-panel h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

blockquote {
  margin: 0.8rem 0 0;
  font-size: 1.04rem;
  line-height: 1.6;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section-copy {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.episodes-toolbar {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 0.3rem 0.6rem;
}

.episodes-toolbar label {
  font-size: 0.85rem;
  color: var(--muted);
}

.episodes-toolbar select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.25rem 0.55rem;
  font: inherit;
}

.embed-panel {
  border-color: rgba(255, 120, 226, 0.44);
  box-shadow: 0 26px 70px rgba(179, 75, 255, 0.36);
}

.custom-player {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 0.85rem;
}

.player-head h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.player-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.player-controls {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.player-btn {
  border: 1px solid var(--line);
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 46%, var(--accent-3) 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.44rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

#progress {
  width: 100%;
}

.time-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.chapter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.chapter-list button {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.embed-frame-wrap {
  margin-top: 0.9rem;
  padding: 0.5rem;
  border-radius: 16px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(130deg, rgba(255, 98, 223, 0.9), rgba(122, 86, 255, 0.86)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 46px rgba(182, 78, 255, 0.34);
  overflow: hidden;
}

.embed-panel iframe,
.spotify-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
}

.apple-wrap iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  display: block;
}

.platform-embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 0.9rem;
}

.platform-tabs {
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 0.8rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
}

.platform-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.platform-tab.active {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 46%, var(--accent-3) 100%);
  color: #fff;
}

.platform-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 12px 32px rgba(130, 50, 190, 0.2);
  padding: 0.8rem;
}

.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}

.platform-head h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.platform-head a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: var(--surface-soft);
}

.episodes-search {
  width: 100%;
  margin-top: 0.8rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  padding: 0.68rem 0.84rem;
}

.episode-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.episode-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.episode-card:hover {
  transform: translateY(-1px);
}

body[data-theme="light"] .episode-card:hover {
  border-color: rgba(121, 76, 204, 0.35);
  box-shadow: 0 12px 28px rgba(132, 72, 189, 0.17);
}

.episode-layout {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.episode-cover {
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  display: block;
}

.episode-main {
  min-width: 0;
}

.episode-card.loading {
  overflow: hidden;
}

.skeleton-line {
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}

.skeleton-line + .skeleton-line {
  margin-top: 0.5rem;
}

.skeleton-line.short {
  width: 48%;
}

.episode-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.episode-card h4 {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
}

.episode-meta {
  margin: 0.36rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.episode-progress-wrap {
  margin-top: 0.45rem;
}

.episode-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.episode-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
}

.episode-progress-label {
  margin: 0.28rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.shownotes {
  margin-top: 0.55rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.shownotes summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
}

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

.episode-actions button,
.episode-actions a {
  text-decoration: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.36rem 0.68rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.follow-cta {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.episode-more {
  margin-top: 0.48rem;
}

.episode-more summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}

.episode-more .episode-actions {
  margin-top: 0.45rem;
}

.topic-chips {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.topic-chips span {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
  font-weight: 700;
  font-size: 0.9rem;
}

body[data-theme="light"] .topic-chips span,
body[data-theme="light"] .link-row a,
body[data-theme="light"] .episode-actions button,
body[data-theme="light"] .episode-actions a,
body[data-theme="light"] .chapter-list button,
body[data-theme="light"] .player-btn,
body[data-theme="light"] .platform-head a {
  color: #5c1f8b;
  border-color: rgba(121, 76, 204, 0.28);
}

.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.8rem;
  align-items: start;
}

.about-stats {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem;
}

.about-stats h3 {
  margin: 0;
  font-size: 1.2rem;
}

.about-stats dl {
  margin: 0.55rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.about-stats dt {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-stats dd {
  margin: 0.14rem 0 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.host-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.8rem;
  align-items: start;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.host-card:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 128, 255, 0.42);
  box-shadow: 0 14px 34px rgba(112, 42, 180, 0.26);
}

body[data-theme="light"] .host-card:hover {
  border-color: rgba(121, 76, 204, 0.42);
  box-shadow: 0 14px 34px rgba(132, 72, 189, 0.24);
}

.host-card img {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.host-card h3 {
  margin: 0.06rem 0 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1;
}

.host-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.x-badge {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.24rem 0.52rem;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease;
}

.host-card p {
  margin: 0.4rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
  max-width: 58ch;
}

.host-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 800;
  width: auto;
  min-width: 0;
  box-shadow: none;
}

.host-card .btn:hover {
  box-shadow: 0 8px 20px rgba(165, 62, 255, 0.22);
}

.host-link {
  gap: 0.38rem;
}

.host-link .link-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 160ms ease;
}

.host-link:hover .link-arrow {
  transform: translateX(4px);
}

.qr-grid {
  margin-top: 0;
}

.gallery-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.brand-video-details {
  margin-top: 0.8rem;
}

.brand-video-details summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.84rem;
  font-weight: 700;
}

.brand-video-details summary::-webkit-details-marker {
  display: none;
}

.brand-video-details[open] summary {
  margin-bottom: 0.75rem;
}

.brand-video-details video {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}

.qr-panel img {
  width: 100%;
  max-width: 230px;
  border-radius: 12px;
  display: block;
  margin: 0.7rem auto 0;
}

.qr-details {
  margin-top: 0.8rem;
}

.qr-details summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.84rem;
  font-weight: 700;
}

.qr-details summary::-webkit-details-marker {
  display: none;
}

.qr-details[open] summary {
  margin-bottom: 0.8rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.link-row a {
  text-decoration: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
}

.mini-player {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 2rem);
}

.mini-player.show {
  display: flex;
}

.mini-player p {
  margin: 0;
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.mini-player button {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-player a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-weight: 700;
  cursor: pointer;
}

.profile-wrap {
  display: grid;
  gap: 1rem;
}

.profile-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}

.profile-hero img {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-hero p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.profile-facts div {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem;
}

.profile-facts dt {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-facts dd {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.profile-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.link-row a:hover,
.topbar-links a:hover,
.menu-toggle:hover,
.theme-toggle:hover,
.switch-control:hover,
.x-badge:hover,
.episode-actions button:hover,
.episode-actions a:hover,
.chapter-list button:hover,
.mini-player button:hover,
.mini-player a:hover,
.platform-head a:hover {
  border-color: rgba(255, 187, 248, 0.65);
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 0 1rem 2.4rem;
}

.legal-links {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.legal-links a {
  text-decoration: none;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.about-stagger .stagger-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.about-stagger.show .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.about-stagger.show .topic-chips .stagger-item:nth-child(1) { transition-delay: 70ms; }
.about-stagger.show .topic-chips .stagger-item:nth-child(2) { transition-delay: 120ms; }
.about-stagger.show .topic-chips .stagger-item:nth-child(3) { transition-delay: 170ms; }
.about-stagger.show .topic-chips .stagger-item:nth-child(4) { transition-delay: 220ms; }
.about-stagger.show .topic-chips .stagger-item:nth-child(5) { transition-delay: 270ms; }
.about-stagger.show .topic-chips .stagger-item:nth-child(6) { transition-delay: 320ms; }
.about-stagger.show .hosts-grid .stagger-item:nth-child(1) { transition-delay: 360ms; }
.about-stagger.show .hosts-grid .stagger-item:nth-child(2) { transition-delay: 430ms; }

.mobile-x-cta {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(18px, -16px, 0) scale(1.08);
  }
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes shimmer {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 220% 0;
  }
}

@keyframes themeFade {
  from {
    opacity: 0.94;
    filter: saturate(0.9);
  }

  to {
    opacity: 1;
    filter: saturate(1);
  }
}

@media (max-width: 840px) {
  .topbar {
    top: 0.25rem;
    width: calc(100% - 0.2rem);
    margin: 0.1rem auto 0;
    padding: 0.36rem 0.36rem;
    gap: 0.3rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0.27rem 0.52rem;
    font-size: 0.7rem;
  }

  .topbar-links {
    display: none;
    margin: 0.22rem 0 0;
    width: 100%;
    flex-direction: column;
    gap: 0.28rem;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    flex: 1 0 100%;
  }

  .topbar.menu-open .topbar-links {
    display: flex;
  }

  .topbar-links::-webkit-scrollbar {
    display: none;
  }

  .now-playing-pill {
    display: none;
  }

  .topbar-links a,
  .theme-toggle,
  .switch-control,
  .menu-toggle {
    padding: 0.27rem 0.44rem;
    font-size: 0.68rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .topbar-links a {
    width: 100%;
    text-align: center;
  }

  .topbar-switches {
    gap: 0.18rem;
    margin-left: auto;
  }

  .switch-slider {
    width: 34px;
    height: 18px;
  }

  .switch-slider::after {
    width: 14px;
    height: 14px;
  }

  .switch-input:checked + .switch-slider::after {
    transform: translateX(16px);
  }

  .hero {
    padding: 2.9rem 0.75rem 1rem;
  }

  .top-left-cutout {
    width: 130px;
    margin: 0.3rem auto 0;
  }

  .grid,
  .about-layout,
  .hosts-grid,
  .platform-embed-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.55rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }

  .gallery-grid::-webkit-scrollbar {
    height: 6px;
  }

  .gallery-item {
    min-width: 78vw;
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .embed-panel iframe,
  .spotify-wrap iframe {
    height: 410px;
  }

  .apple-wrap iframe {
    height: 430px;
  }

  .player-controls {
    grid-template-columns: 1fr;
  }

  .episode-layout {
    grid-template-columns: 64px 1fr;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-hero img {
    width: 110px;
    height: 110px;
    margin: 0 auto;
  }

  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .host-card {
    grid-template-columns: 70px 1fr;
    gap: 0.6rem;
    padding: 0.65rem;
  }

  .host-card img {
    width: 70px;
    height: 70px;
    border-radius: 999px;
  }

  .host-card h3 {
    font-size: 1.45rem;
  }

  .host-card p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
  }

  .about-stats {
    padding: 0.6rem;
  }

  .episode-cover {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
  }

  .mini-player {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 4.3rem;
    border-radius: 14px;
    padding: 0.52rem 0.65rem;
    backdrop-filter: blur(14px);
  }

  .mobile-x-cta {
    position: fixed;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.65rem;
    z-index: 28;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 46%, var(--accent-3) 100%);
    box-shadow: 0 10px 24px rgba(112, 42, 180, 0.3);
    padding: 0.62rem 0.8rem;
  }
}

@media (max-width: 560px) {
  .top-left-cutout {
    width: 108px;
    margin: 0.2rem auto 0;
  }
}

@media (max-width: 1320px) {
  .now-playing-pill {
    display: none;
  }
}
