/* ============================================================
   THE HIDEOUT — status.html skin (v2)
   Live service-status page on the aqua-on-near-black system.
   Loaded after css/styles.css — reuses its tokens + chrome.
   Status state colours come from js/status.js via --dot / --b.
   ============================================================ */

.status-col { max-width: 940px; margin-inline: auto; }

/* header band, clears the fixed nav */
.status-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 54px) 0 6px;
}
.status-hero .eyebrow { margin-bottom: 20px; }
.status-hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.status-hero p {
  color: var(--fg-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 620px;
}

.status-body {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  padding-bottom: clamp(64px, 10vw, 120px);
}

/* ---- overall banner (the one line most visitors read) ---- */
.st-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--dot, var(--fg-dim));
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.st-banner .st-pip {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: var(--dot, var(--fg-dim));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, var(--fg-dim)) 20%, transparent);
}
.st-banner h2 {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.st-banner p { margin: 4px 0 0; color: var(--fg-muted); font-size: 14.5px; }
.st-banner .st-when {
  margin-left: auto; text-align: right; flex: none;
  color: var(--aqua);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.st-banner.st-skeleton { opacity: 0.5; }

/* ---- section labels ---- */
.st-section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  margin: 38px 0 14px;
}

/* ---- card shell for each group ---- */
.st-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---- a service row with its 90-day bars ---- */
.st-row { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.st-row:last-child { border-bottom: 0; }
.st-head { display: flex; align-items: baseline; gap: 12px; }
.st-name { font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--fg); }
.st-blurb { color: var(--fg-muted); font-size: 13.5px; }
.st-state {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--dot, var(--fg-muted));
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.st-state .st-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--fg-muted)); }

/* 90-day uptime bars — older days drop first on narrow screens */
.st-bars { display: flex; gap: 2px; margin-top: 14px; height: 32px; align-items: stretch; }
.st-bars i {
  flex: 1 1 0;
  border-radius: 2px;
  background: var(--b, var(--surface-3));
  min-width: 2px;
  transition: transform 0.08s ease;
  cursor: default;
}
.st-bars i:hover { transform: scaleY(1.14); }
.st-scale {
  display: flex; justify-content: space-between; margin-top: 7px;
  color: var(--fg-dim); font-size: 11px; font-family: var(--mono); letter-spacing: 0.04em;
}

/* ---- external dependency links ---- */
.st-ext {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 22px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background 0.18s var(--ease);
}
.st-ext:last-child { border-bottom: 0; }
.st-ext:hover { background: rgba(255, 255, 255, 0.02); }
.st-ext .st-pip { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--fg-muted)); flex: none; }
.st-ext .st-name { font-size: 14.5px; }
.st-ext .st-blurb { color: var(--fg-muted); font-size: 13px; }
.st-ext .st-state {
  margin-left: auto; font-size: 12.5px; color: var(--fg-muted);
  white-space: nowrap; font-family: var(--mono);
}
.st-ext .st-arrow { color: var(--fg-dim); font-size: 14px; flex: none; }
.st-ext:hover .st-arrow { color: var(--aqua); }

/* ---- incidents ---- */
.st-inc {
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  display: flex; gap: 13px; align-items: baseline;
}
.st-inc:last-child { border-bottom: 0; }
.st-inc .st-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--fg-muted)); flex: none; }
.st-inc .st-t { font-size: 14.5px; color: var(--fg); }
.st-inc time { margin-left: auto; color: var(--fg-dim); font-size: 12px; font-family: var(--mono); white-space: nowrap; }

/* ---- empty / loading states ---- */
.st-empty { padding: 28px 22px; color: var(--fg-muted); font-size: 14.5px; text-align: center; }

.st-note {
  margin-top: 28px;
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.7;
  font-family: var(--mono);
}

@media (max-width: 640px) {
  .status-hero { padding-top: calc(var(--nav-h) + 34px); }
  .st-bars i:nth-child(-n + 45) { display: none; } /* show ~45 days on phones */
  .st-row .st-blurb, .st-banner .st-when { display: none; }
}
