*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f0f0f;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

h1 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2em 0.6em;
    border-radius: 4px;
    background: #333;
    color: #888;
}

.badge.live {
    background: #1a3a1a;
    color: #4ade80;
}

.badge.off {
    background: #3a1a1a;
    color: #f87171;
}

.badge.starting {
    background: #3a3a1a;
    color: #facc15;
}

.badge.viewers {
    background: #252525;
    color: #888;
}

.player-wrap {
    flex: 1;
    position: relative;
    width: 100%;
    background: #000;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #888;
    font-size: 1rem;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #161616;
    border-top: 1px solid #222;
    font-size: 0.8rem;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
}

footer a:not(.active) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

footer a:hover {
    color: #e0e0e0;
}

footer a.active {
    color: #e0e0e0;
}

footer .sep {
    color: #333;
}
