/* REELED IN web client — "Midnight Gold" shared theme.
   Matches the visual direction deck: cinematic noir, serif display,
   candle-gold accent. Vanilla CSS, no build step. */

:root {
  --ink: #0A090C; --ink2: #0F0D12; --panel: #16131A;
  --line: rgba(212,163,84,0.16); --line-soft: rgba(243,236,222,0.08);
  --gold: #D4A354; --gold-bright: #EBC77E; --gold-deep: #A87C3A;
  --cream: #F3ECDE; --text: #ECE5D6; --mute: #9A8E7C; --mute-dim: #6E6556;
  --good: #7FB08A; --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(120% 80% at 50% 0%, #17110E 0%, #08070A 55%, #050406 100%);
  color: var(--text); font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.shell { max-width: 430px; margin: 0 auto; min-height: 100vh; display: flex;
  flex-direction: column; background: var(--ink);
  border-left: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.serif { font-family: var(--serif); }
.brand { font-family: var(--serif); font-weight: 700; letter-spacing: 4px; color: var(--cream); }
.kicker { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; }
.mute { color: var(--mute); } .dim { color: var(--mute-dim); }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 15px 20px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 30px -10px rgba(212,163,84,0.65);
}
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-ghost {
  background: rgba(243,236,222,0.04); color: var(--text); box-shadow: none;
  border: 1px solid var(--line-soft);
}
.card { background: rgba(243,236,222,0.035); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 16px; }
.chip { font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; color: var(--ink);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
.chip-ghost { color: var(--cream); background: rgba(243,236,222,0.08);
  border: 1px solid var(--line-soft); box-shadow: none; }
.input {
  width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 15px;
  background: rgba(243,236,222,0.05); border: 1px solid var(--line-soft);
  color: var(--cream); outline: none; font-family: var(--sans);
}
.input:focus { border-color: var(--gold); }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px;
  scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.poster {
  position: relative; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line); cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7);
}
.poster .shade { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,4,6,0.92) 4%, rgba(6,4,6,0.15) 42%, transparent 70%); }
.poster .meta { position: absolute; left: 11px; right: 11px; bottom: 10px; }
.poster .t { font-family: var(--serif); font-weight: 600; color: var(--cream);
  font-size: 14px; line-height: 1.12; }
.poster .s { font-size: 10px; color: var(--mute); margin-top: 3px; }
.progress { height: 4px; border-radius: 3px; background: rgba(243,236,222,0.2); overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.row { display: flex; align-items: center; }
.grow { flex: 1; }
.modal-back { position: fixed; inset: 0; background: rgba(6,4,6,0.82);
  backdrop-filter: blur(6px); display: flex; align-items: flex-end;
  justify-content: center; z-index: 50; }
.modal { width: 100%; max-width: 430px; background: var(--ink2);
  border-radius: 22px 22px 0 0; border: 1px solid var(--line);
  border-bottom: none; padding: 22px 20px 26px; animation: up .3s ease both; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.fade { animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }
.nav { display: flex; justify-content: space-around; border-top: 1px solid var(--line-soft);
  background: var(--ink2); padding: 10px 4px calc(10px + env(safe-area-inset-bottom)); }
.nav button { background: none; border: none; color: var(--mute-dim); font-size: 10px;
  font-weight: 600; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 4px; font-family: var(--sans); }
.nav button.on { color: var(--gold); }
.nav .ic { font-size: 17px; line-height: 1; }
.plan { display: flex; align-items: center; justify-content: space-between; width: 100%;
  text-align: left; padding: 15px 16px; border-radius: 15px; cursor: pointer;
  background: rgba(243,236,222,0.03); border: 1.5px solid var(--line-soft);
  color: var(--text); font-family: var(--sans); }
.plan.on { background: rgba(212,163,84,0.08); border-color: var(--gold); }
.check { color: var(--good); }
.locknote { display: inline-flex; align-items: center; gap: 5px; color: var(--mute-dim);
  font-size: 11px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.epthumb { position: relative; width: 96px; aspect-ratio: 16/10; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; border: 1px solid var(--line-soft); }
.epthumb .lockveil { position: absolute; inset: 0; background: rgba(6,4,6,0.55);
  display: grid; place-items: center; font-size: 15px; }
.epthumb.dimmed img { filter: grayscale(0.5) brightness(0.6); }

/* album-style featured carousel: swipe, snap, dots */
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 84%; scroll-snap-align: center; }
.dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 2px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line);
  transition: all .25s; }
.dots span.on { background: var(--gold); width: 18px; border-radius: 4px; }
.bell { position: relative; }
.bell .badge { position: absolute; top: -4px; right: -4px; min-width: 15px; height: 15px;
  border-radius: 8px; background: var(--gold); color: #0A090C; font-size: 9px;
  font-weight: 700; display: grid; place-items: center; padding: 0 3px; }

/* timed emoji reactions: float up over the player */
@keyframes emoji-fly {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  12%  { transform: translateY(-16px) scale(1.15); opacity: 1; }
  100% { transform: translateY(-150px) scale(1); opacity: 0; }
}
.fly-emoji { position: absolute; bottom: 34%; font-size: 26px; z-index: 5;
  pointer-events: none; animation: emoji-fly 2.4s ease-out forwards; }
.emoji-tray { display: flex; gap: 6px; }
.emoji-tray button { background: rgba(10,9,12,0.55); border: 1px solid var(--line-soft);
  border-radius: 999px; font-size: 16px; padding: 6px 9px; cursor: pointer;
  transition: transform .12s; }
.emoji-tray button:active { transform: scale(1.35); }
