:root { --void: #050506; --cream: #f3ead8; --gold: #c9a227; --muted: #e4d3b4; --ink: #1a1404; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100dvh; background: var(--void); color: var(--cream); font-family: Manrope, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
main { width: min(720px, calc(100% - 1.5rem)); margin: 0 auto; padding: 1.4rem 0 3rem; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.home { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-family: Oswald, sans-serif; font-size: .85rem; }
.banner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.2rem; align-items: end;
  padding: 1.15rem 1.1rem 1.05rem; background: #100e0c; border: 1px solid rgba(201,162,39,.7);
  border-radius: 16px 16px 0 0; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
h1 {
  font-family: Oswald, sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 3.2rem); line-height: .95; letter-spacing: .03em; margin: 0 0 .45rem;
}
.banner p { color: var(--muted); line-height: 1.45; max-width: 36ch; }
.add {
  display: inline-block; border: 1px solid var(--gold); background: var(--gold); color: var(--ink);
  border-radius: 999px; padding: .7rem 1.15rem; letter-spacing: .12em; text-transform: uppercase;
  font-family: Oswald, sans-serif; white-space: nowrap;
}
.add:hover, .add:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.list, .empty {
  background: #100e0c; border: 1px solid rgba(201,162,39,.45); border-top: 0; border-radius: 0 0 16px 16px;
}
.list { list-style: none; }
.empty { padding: 1rem 1.1rem 1.15rem; color: var(--muted); }
.row {
  display: grid; grid-template-columns: 1.5rem 48px minmax(0, 1fr) auto; gap: .7rem;
  align-items: center; padding: .6rem .85rem;
}
.row + .row { border-top: 1px solid rgba(243,234,216,.1); }
.num { color: var(--gold); font-family: Oswald, sans-serif; }
.row img, .ph { width: 48px; height: 48px; object-fit: cover; background: #2a2418; display: block; }
.meta { min-width: 0; }
.meta b, .meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta b { font-weight: 600; }
.meta small { color: var(--muted); font-size: .82rem; margin-top: .12rem; }
.row.on .meta b { color: var(--gold); }
.play {
  width: 2rem; height: 2rem; flex: 0 0 2rem; border: 0; border-radius: 50%; padding: 0;
  background: #1ed760; color: #000; font-size: .72rem; display: grid; place-items: center; cursor: pointer;
}
.play.on { background: var(--cream); }
.votes { display: flex; align-items: center; }
#spot-dock {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(720px, 100%); z-index: 20; background: #121212;
  box-shadow: 0 -10px 28px rgba(0,0,0,.5);
}
#spot-dock[hidden] { display: none; }
#spot-dock p { color: #b3b3b3; font-size: .75rem; padding: .45rem .8rem .2rem; }
#spot-dock iframe { display: block; width: 100%; height: 80px; border: 0; }
body.has-player main { padding-bottom: 8rem; }
.votes button {
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--cream); padding: 0; cursor: pointer;
}
.votes button:hover, .votes button:focus-visible { color: var(--gold); outline: 2px solid var(--gold); outline-offset: 1px; }
.votes button.up.on { color: #1ed760; }
.votes button.down.on { color: #fff; }
.votes svg { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.votes button.up.on svg { fill: #1ed760; }
.votes svg.down { transform: scaleY(-1); transform-origin: center; }
.score { min-width: 1.4rem; text-align: center; color: var(--gold); font-family: Oswald, sans-serif; font-variant-numeric: tabular-nums; }
.more, .note { display: block; text-align: center; }
.more { padding: .85rem .8rem 1rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-family: Oswald, sans-serif; }
.note, .warn { margin-top: .9rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.warn { color: #f0c14a; }
@media (max-width: 640px) {
  .banner { grid-template-columns: 1fr; align-items: start; }
  .add { justify-self: start; }
}
