/* Reggie & Dro Live Feed v2 — crisis-page aesthetic */
:root {
  --bg: #0a0e0a;
  --bg-2: #101510;
  --panel: #151b15;
  --ink: #eaf3ea;
  --ink-dim: #9fb29f;
  --gold: #d9b64e;
  --green: #2e7d32;
  --green-hi: #3fa545;
  --red: #c23b2a;
  --border: #263026;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.3);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

/* TRO banner — crisis-page inspired */
.tro-banner {
  background: linear-gradient(90deg, #1a2a1a 0%, #2e7d32 50%, #1a2a1a 100%);
  color: #fff;
  border-bottom: 1px solid var(--gold);
  position: sticky; top: 0; z-index: 40;
}
.tro-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
}
.tro-flag { font-size: 20px; }
.tro-text { flex: 1; min-width: 0; }
.tro-text strong { display: block; font-weight: 800; letter-spacing: .5px; font-size: 14px; color: var(--gold); text-transform: uppercase; }
.tro-text span { display: block; font-size: 13px; color: #eaf3ea; line-height: 1.3; }
.tro-cta {
  background: var(--gold); color: #111;
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px;
  white-space: nowrap;
}
.tro-cta:hover { background: #f0cc5f; color: #111; }
.tro-close {
  background: transparent; color: #fff; border: 0; font-size: 20px;
  cursor: pointer; padding: 2px 6px; line-height: 1;
}

/* Brand bar */
.brand-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 16px;
  max-width: 1280px; width: 100%; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.brand-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand-link { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.brand-logo { font-size: 22px; }
.brand-name { font-size: 18px; letter-spacing: .3px; }
.brand-tagline { font-size: 12px; color: var(--ink-dim); }

.socials { display: flex; gap: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.social-btn.ig:hover { color: #e1306c; border-color: #e1306c; }
.social-btn.yt:hover { color: #ff3b30; border-color: #ff3b30; }
.social-btn.x:hover { color: #fff; border-color: #fff; }
.social-btn.tt:hover { color: #25f4ee; border-color: #25f4ee; }

/* Stage */
.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 16px;
}
@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; }
}

.player {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.player-frame {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.player-frame.vertical { aspect-ratio: 9 / 16; max-height: 720px; margin: 0 auto; }
.player-frame iframe, .player-frame video {
  width: 100%; height: 100%; border: 0; display: block;
  background: #000;
}
.loading { color: var(--ink-dim); font-size: 14px; }

.controls {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--border); background: var(--bg-2);
}
.ctrl {
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font-weight: 700; font-size: 13px;
  cursor: pointer;
}
.ctrl:hover { background: var(--green); border-color: var(--green-hi); }
.now-playing { display: flex; align-items: center; gap: 10px; min-width: 0; }
.now-playing .slot {
  background: var(--gold); color: #111; font-weight: 800;
  padding: 3px 8px; border-radius: 6px; font-size: 12px;
}
.now-playing .title {
  font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.progress { height: 3px; background: #1a211a; }
#progress-bar { height: 100%; width: 0%; background: var(--gold); transition: width .25s linear; }

.actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg-2);
}
.share {
  background: var(--green); color: #fff; border: 0;
  padding: 8px 14px; border-radius: 8px; font-weight: 700; cursor: pointer;
}
.share:hover { background: var(--green-hi); }
.src { font-size: 13px; color: var(--ink-dim); }
.src:hover { color: var(--gold); }
.autoplay-toggle { margin-left: auto; font-size: 12px; color: var(--ink-dim); }
.autoplay-toggle input { accent-color: var(--gold); }

/* Up Next */
.up-next {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
  max-height: 680px; overflow-y: auto;
}
.up-next h2 { margin: 0 0 10px; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; color: var(--gold); }
.up-next h2 small { color: var(--ink-dim); font-weight: 500; letter-spacing: 0; }

.playlist-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.playlist-item {
  display: grid; grid-template-columns: 32px 1fr auto;
  gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
}
.playlist-item:hover { background: var(--bg-2); border-color: var(--border); }
.playlist-item.active { background: var(--bg-2); border-color: var(--gold); }
.playlist-item .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
}
.playlist-item.active .num { background: var(--gold); color: #111; }
.playlist-item .t { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playlist-item .k { font-size: 10px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-dim); }
.playlist-item.pending .t { color: var(--ink-dim); font-style: italic; }
.playlist-item.pending .num::after { content: "…"; }

.hashtags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.hashtags a {
  font-size: 11px; color: var(--gold); background: #0f1a0f;
  border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--border); padding: 14px 16px;
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-dim);
}
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-dim); }
.foot-links a:hover { color: var(--gold); }
.sep { margin: 0 6px; color: #3a4a3a; }
