:root {
  --bg: #0b0d12; --panel: #12151c; --panel-hi: #171b24; --line: #222836; --line-hi: #343c50;
  --text: #e6e9ef; --muted: #8b93a7;
  --up: #3ddc84; --slow: #f5b342; --down: #ff5c6c; --unknown: #5b6378;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(1200px 600px at 15% -10%, #1a2033 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.hub { max-width: 980px; margin: 0 auto; padding: 64px 24px 32px; }
header { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
h1 { margin: 0; font-size: 30px; font-weight: 650; letter-spacing: -0.02em; }
.sub { color: var(--muted); font-size: 15px; margin-top: 6px; }

.overall { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

a.tile { display: block; text-decoration: none; color: inherit; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease; }
a.tile:hover, a.tile:focus-visible { background: var(--panel-hi); border-color: var(--line-hi); transform: translateY(-2px); outline: none; }
.top { display: flex; align-items: center; gap: 14px; }
.icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 700; font-size: 20px; flex-shrink: 0; }
.name { font-weight: 600; font-size: 17px; }
.desc { color: var(--muted); font-size: 13px; margin-top: 3px; }

.bars { display: flex; gap: 2px; margin-top: 16px; height: 20px; }
.bars span { flex: 1; border-radius: 2px; background: #1c2130; }
.bars span.up { background: #1f6b45; }
.bars span.slow { background: #8a6420; }
.bars span.down { background: #8a2f3a; }

.meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
  font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.status { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--unknown); }
.up .dot { background: var(--up); box-shadow: 0 0 0 4px rgba(61,220,132,.12); }
.up .label { color: var(--up); }
.slow .dot { background: var(--slow); box-shadow: 0 0 0 4px rgba(245,179,66,.12); }
.slow .label { color: var(--slow); }
.down .dot { background: var(--down); box-shadow: 0 0 0 4px rgba(255,92,108,.12); }
.down .label { color: var(--down); }

footer { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  color: var(--muted); font-size: 12px; }

@media (max-width: 520px) {
  .hub { padding-top: 36px; }
  h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { a.tile { transition: none; } a.tile:hover { transform: none; } }
