:root {
    --bg: #0e0e0e;
    --panel: #161616;
    --border: #2a2a2a;
    --text: #e6e6e6;
    --muted: #9a9a9a;
    --onair: #c40000;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1.5rem;
}

header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    max-width: 180px;
}

.station-id strong {
    font-size: 1.4rem;
    font-weight: 700;
}

.station-id span {
    font-size: 0.9rem;
    color: var(--muted);
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.freq {
    font-size: 2.8rem;
    font-weight: 700;
}

/* ON AIR / STANDBY */
.onair-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4b0000;
    box-shadow: 0 0 6px rgba(180,40,40,0.6), inset 0 0 4px rgba(0,0,0,0.8);
    border: 1px solid #7a1f1f;
}

.onair-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

body.onair .onair-dot {
    background: var(--onair);
    box-shadow: 0 0 12px rgba(196,0,0,0.9);
}

.onair-dot.live {
    background: var(--onair);
    box-shadow: 0 0 10px rgba(196,0,0,0.8);
}


/* PLAYER */
.radio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.radio-player button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

.radio-player button:hover {
    background: #222;
}

.status-text {
    font-size: 0.85rem;
    color: var(--muted);
}

.player.inactive {
    color: var(--muted);
    font-size: 0.85rem;
}

/* TEXT BLOCKS */
.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.aside {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.85rem;
    color: var(--muted);
}

.schedule,
.practices {
    font-size: 0.95rem;
    line-height: 1.5;
}

.muted {
    color: var(--muted);
}

/* FOOTER */
footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seal {
    width: 36px;
}

.footer-text span {
    display: block;
    font-size: 0.7rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

body.live .onair-dot { background: var(--onair); box-shadow: 0 0 12px rgba(196,0,0,.9); }
body.live .onair-label { color: #fff; }

body.standby .onair-dot { background: #666; box-shadow: none; }
body.standby .onair-label { color: var(--muted); }

body.offline .onair-dot { background: #222; box-shadow: none; }
body.offline .onair-label { color: #555; }

