/* My Personal Radio — base styles (Phase 0). Dark theme tokens reused by later phases. */
:root {
  --bg: #0e0f13;
  --surface: #171920;
  --line: #262a33;
  --text: #e9eaee;
  --muted: #8b90a0;
  --accent: #ff4d5e;      /* ON AIR red */
  --good: #3ecf8e;
  --mid: #f5b942;
  --bad: #ff5c5c;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }

/* Placeholder splash */
.splash { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 24px; }
.splash h1 { font-size: 1.6rem; margin: 18px 0 6px; letter-spacing: .02em; }
.splash p { color: var(--muted); margin: 0; }
.splash .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin: 0 auto;
  box-shadow: 0 0 0 0 rgba(255,77,94,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(255,77,94,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,94,0); } }

/* Health check */
.hc main { max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }
.hc h1 { font-size: 1.3rem; } .hc h1 small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.hc .sum { padding: 10px 14px; border-radius: var(--radius); background: var(--surface); border-left: 4px solid; }
.hc .sum.good { border-color: var(--good); } .hc .sum.mid { border-color: var(--mid); } .hc .sum.bad { border-color: var(--bad); }
.hc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .9rem; }
.hc th, .hc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hc th { color: var(--muted); font-weight: 500; }
.hc td:last-child { word-break: break-word; }
.badge { display: inline-block; min-width: 46px; text-align: center; padding: 2px 6px; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.badge.pass { background: rgba(62,207,142,.15); color: var(--good); }
.badge.warn { background: rgba(245,185,66,.15); color: var(--mid); }
.badge.fail { background: rgba(255,92,92,.15); color: var(--bad); }
.hc .foot { color: var(--muted); font-size: .8rem; margin-top: 18px; }
@media (max-width: 600px) { .hc th:nth-child(2), .hc td:nth-child(2) { display: none; } }
