/* ==========================================================================
   FUN FACTS DAILY — MEMPHIS DESIGN & WARM YELLOW/ORANGE PODCAST THEME
   ========================================================================== */

:root {
  --ink: #181824;
  --ink-muted: #4b4b63;
  --surface: #ffffff;
  --surface-soft: #fff9e8;
  --bg-canvas: #fff6dc;
  --bg-glow: #ffe49c;

  --brand-yellow: #ffd23f;
  --brand-yellow-deep: #ffbe0b;
  --brand-orange: #ff7a00;
  --brand-orange-deep: #ff5800;
  --accent-pop: #00bfa6;
  --accent-secondary: #ff4d6d;
  --accent-sky: #3a86ff;
  --accent-violet: #9b5de5;

  --success-bg: #d8f8e8;
  --success-accent: #00a870;
  --wrong-bg: #ffe3e8;
  --wrong-accent: #e63956;

  --border-thick: 3px solid var(--ink);
  --border-med: 2.5px solid var(--ink);
  --shadow-lg: 7px 7px 0px var(--ink);
  --shadow-md: 4px 4px 0px var(--ink);
  --shadow-sm: 2.5px 2.5px 0px var(--ink);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --font-display: 'Fredoka', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

/* Shifted Memphis Party Palette when entering Play with Friends Mode */
body[data-mode='group'] {
  --bg-canvas: #ffefe8;
  --bg-glow: #ffd6cc;
  --surface-soft: #fff3f8;
  --brand-yellow: #ffd166;
  --brand-orange: #ff5938;
  --brand-orange-deep: #e83f6f;
  --accent-pop: #8338ec;
  --accent-secondary: #00bbf9;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #f8f9fa;
  background-image: url('../icons/wallpaper-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Fixed 100%-Stretched Non-Tiled Wallpaper Layer (Guarantees fixed stretch on iOS Safari & mobile too) */
.wallpaper-fixed-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../icons/wallpaper-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

/* Translucent Drifting Shapes Layer (Floats Over Wallpaper, Under Site Windows) */
.memphis-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.drift-shape {
  position: absolute;
  display: block;
  pointer-events: none;
  will-change: transform;
  backdrop-filter: blur(1px);
}

/* 1: Large translucent warm yellow circle */
.drift-shape--1 {
  width: 180px;
  height: 180px;
  top: 8%;
  left: 6%;
  border-radius: 50%;
  background: rgba(255, 210, 63, 0.30);
  border: 3px solid rgba(255, 190, 11, 0.42);
  animation: driftPathA 28s ease-in-out infinite alternate;
}

/* 2: Medium translucent cyan rounded diamond */
.drift-shape--2 {
  width: 115px;
  height: 115px;
  top: 16%;
  right: 11%;
  border-radius: 26px;
  background: rgba(0, 187, 249, 0.25);
  border: 3px solid rgba(0, 150, 214, 0.36);
  transform: rotate(28deg);
  animation: driftPathB 34s ease-in-out infinite alternate;
}

/* 3: Small translucent hot-pink ring / donut */
.drift-shape--3 {
  width: 72px;
  height: 72px;
  top: 38%;
  left: 3.5%;
  border-radius: 50%;
  background: rgba(255, 77, 141, 0.14);
  border: 14px solid rgba(255, 77, 141, 0.30);
  animation: driftPathC 24s ease-in-out infinite alternate;
}

/* 4: Extra-large translucent orange-coral soft capsule */
.drift-shape--4 {
  width: 210px;
  height: 96px;
  top: 52%;
  right: 4%;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.22);
  border: 3px solid rgba(255, 122, 0, 0.34);
  transform: rotate(-18deg);
  animation: driftPathD 38s ease-in-out infinite alternate;
}

/* 5: Medium translucent mint-teal circle */
.drift-shape--5 {
  width: 130px;
  height: 130px;
  bottom: 14%;
  left: 14%;
  border-radius: 50%;
  background: rgba(0, 191, 166, 0.24);
  border: 3px solid rgba(0, 191, 166, 0.36);
  animation: driftPathB 31s ease-in-out infinite alternate-reverse;
}

/* 6: Small translucent violet rounded square */
.drift-shape--6 {
  width: 64px;
  height: 64px;
  top: 24%;
  left: 44%;
  border-radius: 18px;
  background: rgba(155, 93, 229, 0.22);
  border: 2.5px solid rgba(155, 93, 229, 0.35);
  animation: driftPathA 26s ease-in-out infinite alternate-reverse;
}

/* 7: Large translucent magenta ring */
.drift-shape--7 {
  width: 155px;
  height: 155px;
  bottom: 8%;
  right: 18%;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.12);
  border: 18px solid rgba(255, 77, 109, 0.24);
  animation: driftPathC 36s ease-in-out infinite alternate;
}

/* 8: Tiny translucent sunny gold pill */
.drift-shape--8 {
  width: 92px;
  height: 44px;
  top: 68%;
  left: 36%;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.32);
  border: 2.5px solid rgba(255, 175, 0, 0.42);
  animation: driftPathD 22s ease-in-out infinite alternate;
}

/* 9: Medium translucent sky-blue triangle (clip-path) */
.drift-shape--9 {
  width: 105px;
  height: 95px;
  top: 11%;
  left: 68%;
  background: rgba(58, 134, 255, 0.24);
  clip-path: polygon(50% 6%, 95% 92%, 5% 92%);
  animation: driftPathA 33s ease-in-out infinite alternate;
}

/* 10: Small translucent coral-orange circle */
.drift-shape--10 {
  width: 54px;
  height: 54px;
  top: 46%;
  left: 78%;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.28);
  border: 2.5px solid rgba(255, 88, 0, 0.36);
  animation: driftPathC 21s ease-in-out infinite alternate-reverse;
}

/* 11: Large translucent turquoise rounded diamond */
.drift-shape--11 {
  width: 140px;
  height: 140px;
  top: 74%;
  left: 62%;
  border-radius: 34px;
  background: rgba(46, 196, 182, 0.20);
  border: 3px solid rgba(46, 196, 182, 0.32);
  animation: driftPathB 40s ease-in-out infinite alternate;
}

/* 12: Medium translucent yellow-orange triangle */
.drift-shape--12 {
  width: 88px;
  height: 80px;
  bottom: 28%;
  left: 22%;
  background: rgba(255, 159, 28, 0.26);
  clip-path: polygon(50% 8%, 94% 90%, 6% 90%);
  animation: driftPathD 29s ease-in-out infinite alternate-reverse;
}

@keyframes driftPathA {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(65px, 42px, 0) rotate(22deg) scale(1.06);
  }
  100% {
    transform: translate3d(-45px, 85px, 0) rotate(-18deg) scale(0.95);
  }
}

@keyframes driftPathB {
  0% {
    transform: translate3d(0, 0, 0) rotate(18deg) scale(1);
  }
  50% {
    transform: translate3d(-75px, 55px, 0) rotate(-16deg) scale(1.08);
  }
  100% {
    transform: translate3d(48px, -60px, 0) rotate(36deg) scale(0.94);
  }
}

@keyframes driftPathC {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(52px, -64px, 0) rotate(40deg) scale(1.1);
  }
  100% {
    transform: translate3d(-58px, -28px, 0) rotate(-25deg) scale(0.92);
  }
}

@keyframes driftPathD {
  0% {
    transform: translate3d(0, 0, 0) rotate(-12deg) scale(1);
  }
  50% {
    transform: translate3d(-60px, -48px, 0) rotate(14deg) scale(1.05);
  }
  100% {
    transform: translate3d(70px, 38px, 0) rotate(-28deg) scale(0.96);
  }
}

/* Confetti Overlay */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1200;
}

/* Toast Notifications */
.toast-stack {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.memphis-toast {
  background: var(--brand-yellow);
  color: var(--ink);
  border: var(--border-med);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: popIn 0.26s cubic-bezier(0.2, 1.3, 0.4, 1);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   SITE HEADER, PATREON CTA & FLOATING COMPACT MENU BAR
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 90;
  background: rgba(255, 251, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thick);
}

body[data-mode='group'] .site-header {
  background: rgba(255, 242, 238, 0.96);
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header-top-row,
.header-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-frame {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--brand-yellow);
  flex-shrink: 0;
  transform: rotate(-3deg);
  transition: transform 0.16s ease;
}

.brand-logo:hover .brand-logo-frame {
  transform: rotate(0deg) scale(1.04);
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-eyebrow {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-orange-deep);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 1.05;
}

.brand-highlight {
  background: var(--brand-yellow);
  padding: 0 7px;
  border-radius: 7px;
  border: 2px solid var(--ink);
  display: inline-block;
  transform: rotate(1.5deg);
}

.header-cta-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.patreon-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #ff6b4a 0%, #f94f28 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: var(--border-med);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.patreon-cta-btn:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4px 4px 0 var(--ink);
  filter: brightness(1.05);
}

.patreon-cta-btn--full {
  width: 100%;
}

/* Floating Compact Mini Menu Bar on Scroll */
.floating-mini-wrap {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.floating-mini-wrap.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.floating-mini-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 253, 245, 0.97);
  backdrop-filter: blur(10px);
  border: var(--border-thick);
  border-radius: var(--radius-pill);
  padding: 5px 8px 5px 6px;
  box-shadow: var(--shadow-md);
}

.floating-logo-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--brand-yellow);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.floating-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff9c4;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
}

.floating-score-lbl {
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.floating-hamburger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--brand-yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.floating-hamburger-btn:hover,
.floating-hamburger-btn[aria-expanded='true'] {
  background: var(--brand-orange);
  color: #ffffff;
}

.floating-menu-drawer {
  width: min(92vw, 430px);
  padding: 18px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: popIn 0.2s ease;
}

.drawer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-nav-grid .mode-btn {
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  text-align: center;
}

.drawer-nav-grid .mode-btn.is-active {
  background: var(--brand-yellow);
}

.drawer-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.drawer-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-utility-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Mode Switcher */
.mode-switcher {
  display: inline-flex;
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  gap: 4px;
  flex-wrap: wrap;
}

.mode-btn {
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.mode-btn:hover {
  background: var(--surface-soft);
}

.mode-btn.is-active {
  background: var(--brand-yellow);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

body[data-mode='group'] .mode-btn.is-active {
  background: var(--brand-orange);
  color: #fff;
}

/* Stats Toolbar */
.stats-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
}

.stat-pill--streak {
  background: #fff2d6;
}

.stat-pill--score {
  background: #fff9c4;
}

.stat-pill--badges {
  cursor: pointer;
}

.stat-pill--badges:hover {
  transform: translate(-1px, -1px);
  background: var(--brand-yellow);
}

.stat-icon {
  font-size: 1.05rem;
}

.stat-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.stat-lbl {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.icon-action-btn {
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.icon-action-btn:hover {
  background: var(--brand-yellow);
  transform: translate(-1px, -1px);
}

.stat-bump {
  animation: scoreBump 0.45s ease;
}

@keyframes scoreBump {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.18) rotate(-2deg); background: var(--brand-yellow); }
}

/* ==========================================================================
   MAIN CONTAINER & MEMPHIS CARDS
   ========================================================================== */

.page-container {
  position: relative;
  z-index: 10;
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.view-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.memphis-card {
  background: var(--surface);
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
}

/* ==========================================================================
   TOP HERO SPLIT: DAILY DOUBLE (LEFT) + LATEST EPISODE PLAYER (RIGHT)
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.hero-daily-card {
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 42%);
}

.hero-daily-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 24px;
  right: 24px;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-yellow) 0 22px,
    var(--brand-orange) 22px 44px,
    var(--accent-pop) 44px 66px
  );
  border-bottom: 2.5px solid var(--ink);
  border-radius: 0 0 8px 8px;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.daily-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.daily-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  border: var(--border-med);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.daily-tab.is-active {
  background: var(--brand-yellow);
}

.pts-pill {
  background: var(--brand-orange);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  letter-spacing: 0.03em;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-pop);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
}

.streak-banner {
  margin-top: 14px;
  background: #fff4cc;
  border: 2px dashed var(--brand-orange-deep);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #5c3300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ep-source-line {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ep-source-line strong {
  color: var(--ink);
}

.trivia-question {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.1vw, 1.72rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0 12px;
  color: var(--ink);
}

.trivia-question--archive {
  font-size: clamp(1.22rem, 1.8vw, 1.52rem);
}

.hint-row {
  margin-bottom: 14px;
}

.chip-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.chip-link-btn:hover {
  background: var(--brand-yellow);
  transform: translate(-1px, -1px);
}

.chip-link-btn--danger:hover {
  background: var(--wrong-bg);
  color: var(--wrong-accent);
}

/* Multiple Choice Options */
.options-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.options-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.option-choice-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.option-choice-btn:hover:not(:disabled) {
  background: #fff7d6;
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4.5px 4.5px 0 var(--ink);
}

.option-choice-btn.is-selected {
  background: var(--brand-yellow);
  transform: translate(-1px, -1px);
}

.option-letter {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 2px solid var(--ink);
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.option-choice-btn.is-selected .option-letter {
  background: var(--brand-orange);
  color: #fff;
}

.option-choice-btn.is-correct {
  background: var(--success-bg);
  border-color: var(--ink);
}

.option-choice-btn.is-correct .option-letter {
  background: var(--success-accent);
  color: #fff;
}

.option-choice-btn.is-wrong {
  background: var(--wrong-bg);
}

.option-choice-btn.is-wrong .option-letter {
  background: var(--wrong-accent);
  color: #fff;
}

.option-choice-btn:disabled {
  cursor: default;
}

/* Primary & Secondary Memphis Buttons */
.submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-cta-btn {
  background: linear-gradient(180deg, var(--brand-orange) 0%, var(--brand-orange-deep) 100%);
  color: #ffffff;
  border: var(--border-med);
  border-radius: var(--radius-md);
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

.primary-cta-btn:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5.5px 5.5px 0 var(--ink);
}

.primary-cta-btn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.primary-cta-btn:disabled {
  background: #d8d8e2;
  color: #6b6b80;
  cursor: not-allowed;
  box-shadow: 2px 2px 0 var(--ink);
}

.primary-cta-btn--full {
  width: 100%;
  justify-content: center;
}

.secondary-cta-btn {
  background: var(--brand-yellow);
  color: var(--ink);
  border: var(--border-med);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.secondary-cta-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* Post-Answer Explanation Reveal Box */
.answer-reveal-box {
  margin-top: 18px;
  background: var(--surface-soft);
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  animation: popIn 0.28s ease;
}

.reveal-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  margin-bottom: 10px;
}

.reveal-banner--correct {
  background: var(--success-bg);
  color: #065f42;
}

.reveal-banner--wrong {
  background: var(--wrong-bg);
  color: #9e1b32;
}

.reveal-correct-line {
  margin: 4px 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.reveal-explanation {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #2c2c3e;
}

.reveal-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reveal-actions--next {
  margin-top: 18px;
  justify-content: flex-end;
}

/* ==========================================================================
   CUSTOM MEMPHIS PODCAST AUDIO PLAYER (HERO RIGHT PANE + ARCHIVE EMBED)
   ========================================================================== */

.hero-player-card {
  background: linear-gradient(180deg, #ffe999 0%, #ffd23f 100%);
}

.player-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pane-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  background: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.apple-mini-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: #8338ec;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.apple-mini-badge:hover {
  filter: brightness(1.08);
}

.memphis-player--hero .mp-main-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.memphis-player--hero .mp-artwork-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

/* Compact horizontal layout for embedded "More to Explore" player while preserving large square cover */
.memphis-player--archive {
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.memphis-player--archive .mp-main-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.memphis-player--archive .mp-artwork-wrap {
  width: 185px;
  height: 185px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  border: var(--border-med);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--surface-soft);
  position: relative;
}

.mp-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-on-air-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-orange-deep);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 0 var(--ink);
}

.mp-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.mp-eq-bars i {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 1px;
  animation: eqBounce 0.65s infinite ease-in-out alternate;
}
.mp-eq-bars i:nth-child(1) { height: 5px; animation-delay: 0s; }
.mp-eq-bars i:nth-child(2) { height: 11px; animation-delay: 0.2s; }
.mp-eq-bars i:nth-child(3) { height: 7px; animation-delay: 0.35s; }

@keyframes eqBounce {
  from { height: 3px; }
  to { height: 11px; }
}

.mp-body {
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}

.memphis-player--archive .mp-body {
  border: none;
  padding: 0;
  box-shadow: none;
}

.mp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mp-ep-date {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mp-cue-badge {
  background: var(--accent-pop);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.mp-title {
  margin: 6px 0 10px;
  font-family: var(--font-body);
  font-weight: 800; /* Bold episode title right under cover art */
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
}

.mp-cue-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mp-chip-btn {
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}

.mp-chip-btn--primary {
  background: var(--brand-yellow);
}

.mp-chip-btn:hover {
  filter: brightness(0.97);
}

/* Audio Range Sliders */
.mp-scrubber-wrap {
  margin: 6px 0 10px;
}

.mp-seek-slider,
.mp-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #ececf3;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
}

.mp-seek-slider::-webkit-slider-thumb,
.mp-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: 2.5px solid var(--ink);
  box-shadow: 1.5px 1.5px 0 var(--ink);
  cursor: pointer;
}

.mp-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.mp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mp-transport {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mp-btn {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transition: transform 0.1s ease, background-color 0.12s ease;
}

.mp-btn:hover {
  background: var(--brand-yellow);
  transform: translate(-1px, -1px);
}

.mp-btn:active {
  transform: translate(1.5px, 1.5px);
  box-shadow: 1px 1px 0 var(--ink);
}

.mp-btn--skip {
  padding: 8px 10px;
  font-size: 0.84rem;
}

.mp-btn--play {
  background: var(--brand-orange);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-btn--play:hover {
  background: var(--brand-orange-deep);
}

.mp-volume-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-btn--mute {
  padding: 6px 9px;
  font-size: 0.92rem;
}

.mp-volume-slider {
  width: 78px;
}

.mp-status-msg {
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff3cd;
  border: 1.5px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.mp-apple-bar {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 2px dashed #e2e2ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mp-apple-btn {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #181824;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.mp-apple-btn:hover {
  background: #8338ec;
  transform: translate(-1px, -1px);
}

.mp-review-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-orange-deep);
  text-decoration: none;
  padding: 6px 8px;
}

.mp-review-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MORE TO EXPLORE (ARCHIVE SECTION)
   ========================================================================== */

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-orange-deep);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin: 0 0 6px;
}

.section-subtitle {
  margin: 0;
  max-width: 700px;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.explore-progress-box {
  background: var(--brand-yellow);
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 150px;
}

.explore-count-big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.explore-count-lbl {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 2.5px dashed #e3e0d3;
}

.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.cat-filter-btn:hover {
  transform: translate(-1px, -1px);
  background: #fff1b8;
}

.cat-filter-btn.is-active {
  background: var(--brand-yellow);
  box-shadow: 3.5px 3.5px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.cat-count-chip {
  background: rgba(24, 24, 36, 0.1);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  font-size: 0.74rem;
}

.archive-stage {
  background: #fffdf7;
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-ep-origin {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.text-shuffle-btn {
  margin-left: auto;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
}

.text-shuffle-btn:hover {
  background: var(--brand-yellow);
}

.archive-listen-callout {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed #dfd9c3;
}

.listen-callout-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.listen-spark {
  font-size: 1.5rem;
}

.listen-callout-header p {
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.archive-complete-box {
  text-align: center;
  padding: 36px 20px;
  background: var(--surface-soft);
  border: var(--border-med);
  border-radius: var(--radius-lg);
}

.complete-emoji {
  font-size: 3rem;
}

/* ==========================================================================
   ACHIEVEMENT BADGE BOARD
   ========================================================================== */

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.badge-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f7fb;
  border: 2.5px dashed #b9b9cc;
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: transform 0.16s ease;
}

.badge-card.is-unlocked {
  background: linear-gradient(155deg, #fffdf2 0%, #fff4c4 100%);
  border: var(--border-med);
  box-shadow: var(--shadow-md);
}

.badge-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-medallion {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 2.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  background: #e5e5ef;
  filter: grayscale(1);
  opacity: 0.55;
}

.badge-card.is-unlocked .badge-medallion {
  filter: none;
  opacity: 1;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  transform: rotate(-4deg);
}

.badge-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.badge-status-chip {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.badge-card.is-unlocked .badge-status-chip {
  color: var(--success-accent);
}

.badge-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.badge-meter {
  margin-top: auto;
  height: 9px;
  background: #e3e3ee;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  overflow: hidden;
}

.badge-meter-fill {
  height: 100%;
  background: var(--brand-orange);
  transition: width 0.35s ease;
}

.badge-card.is-unlocked .badge-meter-fill {
  background: var(--success-accent);
}

/* ==========================================================================
   PLAY WITH FRIENDS MODE (CUSTOM MULTIPLAYER QUIZZES)
   ========================================================================== */

.group-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.group-entry-card--host {
  background: linear-gradient(165deg, #fff5eb 0%, #ffe0d4 100%);
}

.host-perks-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-weight: 700;
  font-size: 0.95rem;
}

.group-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.field-label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.memphis-input {
  width: 100%;
  padding: 12px 14px;
  border: var(--border-med);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
}

.memphis-input:focus {
  outline: 3px solid var(--brand-yellow);
}

.memphis-input--code {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

/* Avatar Picker */
.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.avatar-choice-btn {
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-size: 1.45rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.12s ease;
}

.avatar-choice-btn.is-selected {
  outline: 3.5px solid var(--ink);
  transform: scale(1.08) rotate(-4deg);
}

.form-error-msg {
  background: var(--wrong-bg);
  color: #9e1b32;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 13px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Host Setup */
.setup-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.host-setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.setup-step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.setup-step-hint,
.setup-micro-note {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.host-topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.seg-pill {
  flex: 1;
  min-width: 82px;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}

.seg-pill.is-active {
  background: var(--brand-yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

.pacing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.pacing-option {
  text-align: left;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pacing-option strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.pacing-option span {
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.pacing-option.is-active {
  background: var(--brand-yellow);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.code-builder-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.code-validation-status {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--surface-soft);
  border: 1.5px solid var(--ink);
}

.code-validation-status.is-ok {
  background: var(--success-bg);
  color: #065f42;
}

.code-validation-status.is-taken {
  background: var(--wrong-bg);
  color: #9e1b32;
}

/* Host & Player Live Room */
.room-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 2.5px dashed #dfd6ce;
}

.room-code-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.room-lbl {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.room-code-badge {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--brand-yellow);
  padding: 5px 15px;
  border-radius: var(--radius-md);
  border: var(--border-med);
  box-shadow: 3px 3px 0 var(--ink);
}

.room-code-badge--sm {
  font-size: 1rem;
  padding: 4px 10px;
}

.room-expiry-pill {
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 800;
}

.room-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lobby-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.qr-box {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.qr-svg-holder svg {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.qr-caption {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.players-lobby-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.players-roster-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 76px;
  padding: 14px;
  background: var(--surface-soft);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-lg);
  align-items: center;
}

.player-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  font-weight: 800;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  animation: popIn 0.22s ease;
}

.player-chip-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

/* Multiplayer Geometric Answer Tiles */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.quiz-tile {
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.quiz-tile:hover:not(:disabled) {
  transform: translate(-2px, -2px);
}

.quiz-tile:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.quiz-tile--0 { background: #ffd166; }
.quiz-tile--1 { background: #4cc9f0; }
.quiz-tile--2 { background: #ff8fab; }
.quiz-tile--3 { background: #72efdd; }

.quiz-tile.is-dimmed {
  opacity: 0.38;
}

.quiz-tile.is-winner {
  outline: 5px solid var(--success-accent);
  transform: scale(1.02);
  opacity: 1;
}

.quiz-shape {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* Group Leaderboard & Podium */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.leaderboard-row:nth-child(1) {
  background: var(--brand-yellow);
}

.player-identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   MODALS & FOOTER
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 36, 0.58);
  backdrop-filter: blur(4px);
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-dialog {
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-dialog--wide {
  max-width: 740px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background: var(--surface-soft);
  font-weight: 800;
  cursor: pointer;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 10px 0 18px;
}

.memphis-divider {
  border: none;
  border-top: 2px dashed #ded9c8;
  margin: 20px 0;
}

.studio-results-list {
  margin-top: 12px;
  max-height: 190px;
  overflow-y: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.studio-ep-item {
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-bottom: 1px solid #e3decb;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.studio-ep-item:hover {
  background: var(--brand-yellow);
}

.studio-edit-pane {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px dashed #dad4c2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.studio-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.site-footer {
  position: relative;
  z-index: 10;
  border-top: var(--border-thick);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 32px 20px 22px;
}

.footer-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.footer-save-phone-btn {
  padding: 10px 18px;
  font-size: 0.92rem;
}

.footer-platform-section {
  max-width: 1260px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #e2dece;
  text-align: center;
}

.footer-platform-heading {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  margin: 0 0 16px;
  color: var(--ink);
}

.platform-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-icon-link {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: var(--border-med);
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.platform-icon-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4.5px 4.5px 0 var(--ink);
  background: var(--brand-yellow);
}

.platform-icon--apple:hover { background: #a855f7; color: #ffffff; }
.platform-icon--spotify:hover { background: #1ed760; color: #181824; }
.platform-icon--amazon:hover { background: #00a8e1; color: #ffffff; }
.platform-icon--youtube:hover { background: #ff0033; color: #ffffff; }
.platform-icon--pocketcasts:hover { background: #f43e37; color: #ffffff; }
.platform-icon--overcast:hover { background: #fc7e0f; color: #ffffff; }
.platform-icon--castbox:hover { background: #f55b23; color: #ffffff; }
.platform-icon--castro:hover { background: #00b265; color: #ffffff; }
.platform-icon--addict:hover { background: #f4842d; color: #ffffff; }
.platform-icon--podlink:hover { background: var(--brand-yellow); color: var(--ink); }
.platform-icon--rss:hover { background: #ff7a00; color: #ffffff; }

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-orange-deep);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .lobby-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .memphis-card {
    padding: 20px 16px;
  }

  .memphis-player--archive .mp-main-layout {
    grid-template-columns: 1fr;
  }

  .memphis-player--archive .mp-artwork-wrap {
    width: 100%;
    height: auto;
  }

  .quiz-options-grid,
  .studio-two-col {
    grid-template-columns: 1fr;
  }

  .avatar-picker-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hide-sm {
    display: none;
  }
}


/* ==========================================================================
   COMPANION APP UPGRADES: EPISODE HUB, PLAYLISTS, SCORE CARDS & PWA
   ========================================================================== */

.embed-popout-bar {
  background: var(--brand-yellow);
  border-bottom: 2.5px solid var(--ink);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 800;
}

.embed-popout-btn {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
}

.nav-mini-count {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0 6px;
  font-size: 0.72rem;
  margin-left: 3px;
}

.icon-action-btn--install {
  background: #d8f8e8;
}

.mp-meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-queue-badge {
  background: var(--brand-yellow);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  font-size: 0.74rem;
  font-weight: 800;
}

.mp-fav-btn {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: transform 0.14s ease;
}

.mp-fav-btn:hover {
  transform: scale(1.2);
}

.mp-btn--speed {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.badge-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Episodes Search & Catalog Grid */
.library-player-banner {
  background: linear-gradient(135deg, #fff5cc 0%, #ffe08a 100%);
}

.episodes-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  margin-bottom: 14px;
}

.episodes-status-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.episodes-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.ep-catalog-card {
  background: #fffdf7;
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 15px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.14s ease;
}

.ep-catalog-card:hover {
  transform: translate(-1.5px, -1.5px);
}

.ep-card-top {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.ep-card-thumb {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  object-fit: cover;
  background: var(--surface-soft);
}

.ep-card-title {
  margin: 4px 0 3px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
}

.ep-card-sub {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.ep-card-teaser {
  margin: 0;
  font-size: 0.85rem;
  color: #36364c;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ep-mini-btn {
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  padding: 5px 11px;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}

.ep-mini-btn:hover {
  background: var(--brand-yellow);
}

.ep-mini-btn--play {
  background: var(--brand-orange);
  color: #fff;
}

.ep-mini-btn--play:hover {
  background: var(--brand-orange-deep);
}

.ep-listened-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--success-accent);
  background: var(--success-bg);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
}

/* Playlists & Queue Builder */
.playlists-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.playlist-selector-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pl-select-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--ink);
}

.pl-select-btn.is-active {
  background: var(--brand-yellow);
  box-shadow: 3.5px 3.5px 0 var(--ink);
}

.playlist-icon-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.pl-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  background: var(--surface-soft);
}

.pl-icon-btn.is-selected {
  background: var(--brand-yellow);
  outline: 3px solid var(--ink);
}

.starter-packs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.playlist-player-box {
  margin-bottom: 20px;
}

.playlist-tracks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pl-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fffdf7;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 2.5px 2.5px 0 var(--ink);
  flex-wrap: wrap;
}

.pl-track-row.is-playing-track {
  background: #fff3bd;
}

.pl-track-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.pl-track-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  width: 24px;
  flex-shrink: 0;
}

.pl-track-thumb {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex-shrink: 0;
}

.pl-track-info {
  min-width: 0;
}

.pl-track-title {
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pl-track-meta {
  font-size: 0.77rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.pl-track-controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Social Media Score Card Preview */
.scorecard-preview-wrap {
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff6dc;
  max-width: 390px;
  margin: 0 auto;
}

.scorecard-preview-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

.playlist-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.install-steps-box {
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9rem;
}

.install-steps-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 6px 0 6px;
}

.install-steps-box ol {
  margin: 0 0 12px;
  padding-left: 20px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .playlists-layout,
  .quiz-builder-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .episodes-search-controls,
  .quick-pick-controls,
  .episode-picker-filters {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DRAGGABLE PLAYLISTS, CUSTOM QUIZ BUILDER & LIVE TIMER / TOP-3 LEADERBOARD
   ========================================================================== */

.playlist-drag-hint {
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--ink-muted);
  background: var(--surface-soft);
  border: 1.5px dashed #cfc9b5;
  border-radius: var(--radius-md);
  padding: 7px 12px;
  margin-bottom: 10px;
}

.pl-drag-handle {
  cursor: grab;
  touch-action: none;
  user-select: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink-muted);
  padding: 6px 4px;
  border-radius: 6px;
  flex-shrink: 0;
}

.pl-drag-handle:hover {
  color: var(--ink);
  background: var(--brand-yellow);
}

.pl-drag-handle:active {
  cursor: grabbing;
}

.pl-track-row {
  transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}

.pl-track-row.is-dragging {
  opacity: 0.42;
  background: var(--brand-yellow);
}

.pl-track-row.is-drop-before {
  box-shadow: 0 -4px 0 var(--brand-orange-deep), 2.5px 2.5px 0 var(--ink);
}

.pl-track-row.is-drop-after {
  box-shadow: 0 4px 0 var(--brand-orange-deep), 2.5px 2.5px 0 var(--ink);
}

/* Custom Quiz Builder */
.quiz-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: 28px;
  align-items: start;
}

.quick-pick-box,
.episode-picker-box,
.selected-roster-box {
  background: var(--surface-soft);
  border: var(--border-med);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.episode-picker-box {
  margin-top: 14px;
  background: #fffdf8;
}

.quick-pick-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.quick-pick-header strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
}

.quick-pick-header span {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.quick-pick-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.episode-picker-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
  margin-bottom: 10px;
}

.host-episode-picker-list {
  max-height: 290px;
  overflow-y: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.ep-pick-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #ece7d8;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.ep-pick-row:hover {
  background: #fff7d6;
}

.ep-pick-row.is-checked {
  background: #fff1b8;
}

.ep-pick-row input[type='checkbox'] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand-orange-deep);
  flex-shrink: 0;
  cursor: pointer;
}

.ep-pick-body {
  min-width: 0;
  flex: 1;
}

.ep-pick-title {
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.25;
}

.ep-pick-question {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.selected-roster-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.host-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 185px;
  overflow-y: auto;
}

.selected-ep-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1.8px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

.selected-ep-chip button {
  border: none;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 0 2px;
}

.selected-ep-chip button:hover {
  color: var(--wrong-accent);
}

.scoring-rules-callout {
  margin-top: 14px;
  background: #fff5cc;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.85rem;
}

.scoring-rules-callout ul {
  margin: 6px 0 0;
  padding-left: 18px;
  line-height: 1.55;
  font-weight: 700;
}

/* Live Countdown Timer & Pause Banner */
.live-timer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 14px;
}

.live-timer-pill {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  background: var(--brand-yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
}

.live-timer-pill.is-urgent {
  background: var(--wrong-bg);
  color: var(--wrong-accent);
}

.live-timer-track {
  flex: 1;
  height: 14px;
  background: #ececf4;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.live-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-pop) 0%, var(--brand-yellow) 60%, var(--brand-orange) 100%);
  transition: width 0.16s linear;
}

.paused-banner {
  margin: 12px 0;
  background: #ffe8b3;
  border: 2.5px dashed var(--ink);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  text-align: center;
}

.speed-bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff3b0;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

.leaderboard-row--silver {
  background: #f0f4ff;
}

.leaderboard-row--bronze {
  background: #fff2e5;
}

.install-icon-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 16px;
  background: var(--surface-soft);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 12px;
}

.install-icon-preview img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--ink);
  flex-shrink: 0;
}

.install-icon-preview div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.install-icon-preview strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
