/* GOOCHI 24/7 – Fun modern hybrid: bubbles + HUD + neon */
:root {
  --bg: #07051a;
  --panel: rgba(18, 12, 40, 0.72);
  --glass: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.16);
  --text: #f8f4ff;
  --muted: #a89cc8;
  --pink: #ff6bcb;
  --cyan: #48e0ff;
  --lime: #b8ff5a;
  --yellow: #ffe66d;
  --purple: #9b5cff;
  --rainbow: linear-gradient(125deg, #ff6bcb, #ffe66d, #48e0ff, #b8ff5a, #9b5cff, #ff6bcb);
  --side-w: 156px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Orbitron", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%; background: var(--bg); color: var(--text);
  font-family: var(--font); overflow-x: hidden; cursor: none;
}
body.home { display: flex; min-height: 100vh; }
body.popup { cursor: auto; min-height: 100vh; }

/* HUD grid */
.hud-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(72,224,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,224,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* Sky glow */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 15% 15%, rgba(255,107,203,0.28), transparent),
    radial-gradient(ellipse 55% 40% at 85% 25%, rgba(72,224,255,0.22), transparent),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(155,92,255,0.2), transparent),
    var(--bg);
}

/* Floating orbs */
.orb {
  position: fixed; border-radius: 50%; filter: blur(40px); opacity: 0.45;
  pointer-events: none; z-index: 0; animation: orbFloat 18s ease-in-out infinite;
}
.orb.o1 { width: 280px; height: 280px; background: #ff6bcb; top: 8%; left: 12%; }
.orb.o2 { width: 220px; height: 220px; background: #48e0ff; top: 55%; right: 8%; animation-delay: -6s; }
.orb.o3 { width: 180px; height: 180px; background: #9b5cff; bottom: 10%; left: 40%; animation-delay: -11s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Soft clouds */
.cloud {
  position: absolute; background: rgba(255,255,255,0.1); border-radius: 50%;
  filter: blur(10px); animation: drift 50s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.c1 { width: 160px; height: 55px; top: 14%; left: -12%; }
.c1::before { width: 80px; height: 80px; top: -36px; left: 18px; }
.c1::after { width: 60px; height: 60px; top: -22px; left: 80px; }
.c2 { width: 200px; height: 65px; top: 32%; right: -18%; animation-duration: 65s; animation-direction: reverse; }
.c2::before { width: 95px; height: 95px; top: -42px; left: 35px; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(115vw); } }

/* Bubbles */
.bubbles span {
  position: absolute; bottom: -50px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), rgba(255,107,203,0.12));
  border: 1px solid rgba(255,255,255,0.28);
  animation: rise linear infinite; pointer-events: none;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.55; }
  100% { transform: translateY(-115vh) scale(1.25); opacity: 0; }
}

/* Cursor glow */
#cursorGlow {
  position: fixed; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(72,224,255,0.2) 50%, transparent 70%);
  pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
  mix-blend-mode: screen; transition: width 0.15s, height 0.15s;
}
#cursorGlow.big { width: 48px; height: 48px; }

/* Confetti canvas */
#fxCanvas {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
}

/* Side tabs – chunky bubble style */
.side-tabs {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--side-w); z-index: 50;
  background: linear-gradient(180deg, rgba(16,10,36,0.95), rgba(8,5,22,0.98));
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 40px rgba(155,92,255,0.12);
  display: flex; flex-direction: column; gap: 8px; padding: 20px 12px;
  backdrop-filter: blur(18px);
}
.side-logo {
  font-family: var(--display); font-weight: 900; font-size: 1.05rem; text-align: center;
  line-height: 1.15; margin-bottom: 16px; letter-spacing: 0.02em;
  background: var(--rainbow); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hueShift 8s linear infinite;
}
.side-logo span { font-size: 0.78rem; letter-spacing: 0.14em; display: block; margin-top: 2px; }
@keyframes hueShift { to { background-position: 200% center; } }

.tab {
  appearance: none; border: 2px solid transparent; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 14px 10px; border-radius: 999px; text-align: center; color: var(--muted);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.tab:hover {
  color: #fff; transform: scale(1.08);
  border-color: rgba(72,224,255,0.5);
  box-shadow: 0 0 24px rgba(72,224,255,0.25), inset 0 0 12px rgba(255,255,255,0.06);
}
.tab.active {
  color: #0a0618;
  background: var(--rainbow); background-size: 200% auto;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(255,107,203,0.35);
  animation: hueShift 6s linear infinite;
}

.side-tokens {
  margin-top: auto; text-align: center; font-family: var(--display); font-size: 0.85rem;
  color: var(--yellow); padding: 12px; border-radius: 16px;
  background: rgba(255,230,109,0.1); border: 2px solid rgba(255,230,109,0.3);
}

/* Main */
.main-stage {
  position: relative; z-index: 1; margin-left: var(--side-w); flex: 1; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; padding: 36px 24px;
}
.hero-home { text-align: center; max-width: 560px; position: relative; }

.on-air-strip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 8px; margin-bottom: 18px;
  background: rgba(255,60,100,0.18); border: 1px solid rgba(255,80,120,0.45);
  font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.18em;
  box-shadow: 0 0 20px rgba(255,60,100,0.2);
}
.on-air-strip .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #ff3c64;
  box-shadow: 0 0 12px #ff3c64; animation: pulse 1.2s ease infinite;
}
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 4rem); letter-spacing: 0.06em; margin-bottom: 10px;
  text-shadow: 0 0 40px rgba(255,107,203,0.35);
}
.hero-title span {
  background: var(--rainbow); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hueShift 7s linear infinite;
}
.hero-sub { color: var(--muted); margin-bottom: 26px; font-size: 1.08rem; font-weight: 500; }

/* Radio card */
.radio-mini {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--border); border-radius: 28px;
  padding: 32px 28px 24px; backdrop-filter: blur(16px);
  box-shadow:
    0 24px 80px rgba(95,39,205,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.radio-mini::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 40%);
}

#waveCanvas {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  opacity: 0.55; pointer-events: none;
}

.btn-play, .btn-stop {
  position: relative; z-index: 2;
  appearance: none; border: none; cursor: pointer;
  font-family: var(--display); font-weight: 900; font-size: 0.92rem; letter-spacing: 0.05em;
  padding: 18px 32px; border-radius: 999px;
  width: 100%; max-width: 340px; margin: 0 auto; display: block;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.btn-play {
  color: #0a0618;
  background: var(--rainbow); background-size: 200% auto;
  animation: hueShift 5s linear infinite;
  box-shadow: 0 10px 36px rgba(255,107,203,0.4), 0 0 0 0 rgba(72,224,255,0.4);
}
.btn-play:hover { transform: scale(1.07); box-shadow: 0 14px 44px rgba(255,107,203,0.5); }
.btn-play:active { transform: scale(0.97); }
.btn-stop {
  background: linear-gradient(135deg, #ff4d6d, #c9184a); color: #fff; margin-top: 12px;
  box-shadow: 0 8px 28px rgba(255,77,109,0.35);
}
.btn-stop:hover { transform: scale(1.05); }

/* EQ bars under play */
.eq {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center; gap: 5px;
  height: 36px; margin-top: 18px; opacity: 0.25; transition: opacity 0.3s;
}
.eq.live { opacity: 1; }
.eq span {
  width: 6px; border-radius: 4px 4px 0 0;
  background: var(--rainbow); background-size: 200% auto;
  animation: eqIdle 1.2s ease-in-out infinite; transform-origin: bottom;
}
.eq.live span { animation-name: eqBeat; }
.eq span:nth-child(1) { height: 30%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.eq span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.eq span:nth-child(4) { height: 45%; animation-delay: 0.05s; }
.eq span:nth-child(5) { height: 70%; animation-delay: 0.15s; }
.eq span:nth-child(6) { height: 40%; animation-delay: 0.25s; }
.eq span:nth-child(7) { height: 90%; animation-delay: 0.08s; }
.eq span:nth-child(8) { height: 50%; animation-delay: 0.18s; }
.eq span:nth-child(9) { height: 65%; animation-delay: 0.12s; }
.eq span:nth-child(10) { height: 35%; animation-delay: 0.22s; }
@keyframes eqIdle {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(0.7); }
}
@keyframes eqBeat {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.radio-hint { position: relative; z-index: 2; margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.listeners-mini { position: relative; z-index: 2; margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
.nav-hint { margin-top: 28px; font-size: 0.8rem; color: var(--muted); opacity: 0.85; }

/* Popup chrome */
.popup-bar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: rgba(8,5,22,0.92); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.btn-back {
  appearance: none; border: 2px solid var(--border); background: var(--glass); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s;
}
.btn-back:hover { transform: scale(1.06); border-color: var(--cyan); }
.popup-title {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: var(--rainbow); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hueShift 8s linear infinite;
}
.popup-body { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 28px 20px 56px; }
.section-title { font-family: var(--display); font-size: 1.55rem; margin-bottom: 6px; letter-spacing: 0.03em; }
.section-sub { color: var(--muted); margin-bottom: 22px; }

/* Game cards – 3D tilt */
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; perspective: 900px; }
.game-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 22px;
  backdrop-filter: blur(12px); transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.2s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.game-card:hover { box-shadow: 0 20px 50px rgba(155,92,255,0.25); }
.game-card h3 { font-family: var(--display); margin: 8px 0; font-size: 1.1rem; }
.game-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.game-icon { font-size: 2rem; filter: drop-shadow(0 0 8px rgba(255,107,203,0.5)); }
.token-cost {
  display: inline-block; font-size: 0.72rem; font-family: var(--display); color: var(--yellow);
  background: rgba(255,230,109,0.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  border: 1px solid rgba(255,230,109,0.25);
}

.btn, .btn-primary, .btn-outline, .game-btn {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 12px 20px; border-radius: 999px; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary, .game-btn {
  background: var(--rainbow); background-size: 200% auto; color: #0a0618;
  animation: hueShift 6s linear infinite;
}
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--border); }
.btn-primary:hover, .game-btn:hover, .btn-outline:hover { transform: scale(1.06); }

.game-area, .reaction-area {
  min-height: 120px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4); margin-bottom: 10px; font-weight: 600; user-select: none;
  border: 1px solid var(--border);
}
.reaction-area.ready { background: rgba(255,230,109,0.35); }
.reaction-area.go { background: rgba(72,224,255,0.4); cursor: pointer; }
.reaction-area.too-soon { background: rgba(255,77,109,0.4); }

.memory-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.memory-card {
  aspect-ratio: 1; border-radius: 14px; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.memory-card:hover { transform: scale(1.05); }
.memory-card.flipped, .memory-card.matched {
  background: linear-gradient(135deg, rgba(255,107,203,0.35), rgba(72,224,255,0.3));
}
.memory-card.matched { opacity: 0.65; pointer-events: none; }

.guess-area { display: flex; gap: 8px; margin-bottom: 8px; }
.guess-area input, .shout-card input {
  flex: 1; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(0,0,0,0.4); color: #fff; font-size: 1rem;
}
#snakeCanvas {
  display: block; margin: 0 auto 10px; border-radius: 14px;
  background: #0c0820; border: 1px solid var(--border); max-width: 100%;
}
.highscore-bar {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 18px;
}

.bank-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 24px; max-width: 440px;
}
.bank-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bank-row:last-of-type { border-bottom: none; }
.bank-label { color: var(--muted); font-size: 0.8rem; display: block; }
.bank-value { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.btn-copy {
  appearance: none; border: 2px solid var(--border); background: rgba(255,255,255,0.06);
  color: #fff; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.04em;
}
.btn-copy:hover { border-color: var(--cyan); }
.btn-copy-all {
  width: 100%; margin-top: 16px; padding: 16px; border: none; border-radius: 999px;
  font-family: var(--display); font-weight: 900; cursor: pointer; color: #0a0618;
  background: var(--rainbow); background-size: 200% auto; animation: hueShift 5s linear infinite;
}
.donate-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.token-panel {
  margin-top: 28px; padding: 20px; border-radius: 18px; max-width: 440px;
  border: 2px dashed rgba(255,230,109,0.35); background: rgba(255,230,109,0.06);
}
.token-panel h3 { color: var(--yellow); margin-bottom: 8px; font-family: var(--display); font-size: 1rem; }

.quiz-card { background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.quiz-options { display: grid; gap: 10px; margin: 16px 0; }
.quiz-options button {
  text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: rgba(0,0,0,0.35); color: #fff; cursor: pointer; font-family: var(--font);
  transition: border-color 0.15s, transform 0.15s;
}
.quiz-options button:hover { border-color: var(--pink); transform: scale(1.02); }
.shout-card {
  display: grid; gap: 10px; max-width: 480px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 22px; padding: 22px;
}

@media (max-width: 700px) {
  :root { --side-w: 78px; }
  .side-logo { font-size: 0.68rem; }
  .tab { font-size: 0.62rem; padding: 12px 4px; }
  body.home { cursor: auto; }
  #cursorGlow { display: none; }
}


/* ===== BIG CLEAR RADIO PLAYER BOX (centre) ===== */
.radio-box {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
  min-height: 280px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(12, 8, 32, 0.88);
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow:
    0 0 0 1px rgba(72,224,255,0.15),
    0 28px 80px rgba(95,39,205,0.4),
    inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
}
.radio-box::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,107,203,0.12), transparent 45%, rgba(72,224,255,0.1));
  pointer-events: none;
}
.radio-box-inner {
  position: relative; z-index: 2;
  padding: 36px 28px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.radio-box-label {
  font-family: var(--display); font-weight: 900; font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--cyan);
  text-shadow: 0 0 16px rgba(72,224,255,0.5);
}
.radio-box .radio-hint {
  margin: 0; text-align: center; font-size: 1rem; color: #e8e0ff; min-height: 1.4em;
}
.radio-box .btn-play,
.radio-box .btn-stop {
  width: 100%; max-width: 360px; margin: 4px 0 0;
  font-size: 1rem; padding: 20px 28px;
}
.radio-box .eq { margin-top: 8px; width: 100%; max-width: 280px; }
.radio-box .listeners-mini { margin-top: 4px; }
.radio-box #waveCanvas {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  opacity: 0.65; pointer-events: none; z-index: 1;
}
.radio-box.playing {
  border-color: rgba(255,107,203,0.55);
  box-shadow:
    0 0 40px rgba(255,107,203,0.25),
    0 28px 80px rgba(95,39,205,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  position: fixed; top: 14px; left: 14px; z-index: 60;
  width: 48px; height: 48px; border-radius: 14px;
  border: 2px solid var(--border); background: rgba(12,8,32,0.92);
  color: #fff; font-size: 1.4rem; cursor: pointer;
  backdrop-filter: blur(12px);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  :root { --side-w: 0px; }
  body.home { cursor: auto; flex-direction: column; }
  #cursorGlow { display: none !important; }

  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

  .side-tabs {
    position: fixed; left: 0; top: 0; bottom: 0; width: 200px;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    z-index: 70;
    box-shadow: 8px 0 40px rgba(0,0,0,0.5);
  }
  .side-tabs.open { transform: translateX(0); }

  .main-stage {
    margin-left: 0; padding: 72px 16px 40px;
    align-items: flex-start;
  }
  .hero-home { max-width: 100%; width: 100%; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .radio-box {
    width: 100%;
    min-height: 260px;
    border-radius: 24px;
  }
  .radio-box-inner { padding: 28px 18px 22px; }
  .radio-box .btn-play,
  .radio-box .btn-stop {
    font-size: 0.85rem; padding: 16px 18px; max-width: 100%;
  }
  .nav-hint { font-size: 0.75rem; padding: 0 8px; }
  .orb { opacity: 0.3; }
}

@media (max-width: 400px) {
  .radio-box .btn-play { font-size: 0.78rem; letter-spacing: 0.02em; }
}

/* Weather */
.weather-line {
  color: var(--cyan); font-size: 0.9rem; margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(72,224,255,0.35);
  animation: weatherPulse 4s ease-in-out infinite;
}
@keyframes weatherPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Donate nudge */
.donate-nudge {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  padding: 10px 16px; text-align: center; font-size: 0.8rem;
  background: linear-gradient(90deg, rgba(255,107,203,0.2), rgba(72,224,255,0.2));
  border-top: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px); color: var(--muted);
}
.donate-nudge a { color: var(--yellow); font-weight: 600; }
body.home .donate-nudge { margin-left: var(--side-w); }
@media (max-width: 768px) {
  body.home .donate-nudge { margin-left: 0; }
  .main-stage { padding-bottom: 56px; }
  .popup-body { padding-bottom: 64px; }
}

/* Clips TikTok-style */
.clips-page { overflow: hidden; height: 100vh; }
.clips-feed {
  height: calc(100vh - 52px);
  overflow-y: scroll; scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}
.clip-slide {
  height: calc(100vh - 52px); scroll-snap-align: start;
  position: relative; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(255,107,203,0.25), transparent),
              radial-gradient(circle at 70% 80%, rgba(72,224,255,0.2), transparent),
              #0a0618;
}
.clip-slide video {
  max-width: 100%; max-height: 75%; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}
.clip-meta {
  position: absolute; bottom: 80px; left: 16px; right: 16px;
  font-size: 0.95rem; text-shadow: 0 2px 8px #000;
  background: rgba(0,0,0,0.35); padding: 12px 14px; border-radius: 14px;
}
.clip-text .clip-meta {
  position: static; font-size: 1.3rem; text-align: center;
  background: var(--panel); border: 1px solid var(--border); max-width: 320px;
}

/* Podcasts */
.podcast-player {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 22px; padding: 20px; margin-bottom: 20px; max-width: 520px;
}
.podcast-list { padding: 0; max-width: 520px; }
.pod-item:hover { border-color: var(--pink); transform: scale(1.02); }
