:root {
    --bg: #0d1117;
    --surface: #161b22;
    --border: #262c36;
    --text: #e6edf3;
    --muted: #8b949e;
    --accent: #00b4a6;   /* Caribbean teal */
    --live: #ff2d2d;
    --upcoming: #f5a623;
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: .3px; }
.badge {
    font-size: .72rem; font-weight: 700; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 999px; background: var(--border); color: var(--muted);
}
.badge-live { background: var(--live); color: #fff; animation: pulse 1.6s infinite; }
.badge-upcoming { background: var(--upcoming); color: #111; }
@keyframes pulse { 50% { opacity: .55; } }


/* Notice */
.notice {
    margin: 20px 0 0; padding: 14px 18px;
    background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
    border-radius: var(--radius); color: var(--muted);
}
.notice strong { color: var(--text); margin-right: 6px; }

/* Player + chat */
.stage { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.stage.with-chat { grid-template-columns: 1fr 380px; }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.chat { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); min-height: 400px; }
.chat iframe { width: 100%; height: 100%; border: 0; display: block; }

.now-title { font-size: 1.35rem; margin: 16px 0 8px; }

.footer { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
    .stage.with-chat { grid-template-columns: 1fr; }
    .chat { height: 480px; }
}
@media (max-width: 480px) {
    .brand { font-size: 1.05rem; }
}
