/* status_service — clean public status page matching the yourbot.gg
   identity. Self-contained: tokens, fonts, nebula, nav/footer, and the
   status-page layout (banner, grouped components with inline 90-day
   uptime, incidents, collapsible live metrics). */

@font-face {
  font-family: 'Fredoka';
  src: url('/static/fonts/fredoka-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/static/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --void:       #07080d;
  --abyss:      #0c0e1a;
  --depth:      #111525;
  --surface:    #161b2e;
  --border:     rgba(96, 128, 210, 0.14);
  --border2:    rgba(96, 128, 210, 0.24);
  --gold:       #3b82f6;
  --gold-light: #74b3ff;
  --gold-dim:   rgba(59, 130, 246, 0.28);
  --gold-bg:    rgba(59, 130, 246, 0.07);
  --cyan:       #34c4f4;
  --cyan-dim:   rgba(52, 196, 244, 0.15);
  --violet:     #9b7fe8;
  --red:        #e05a5a;
  --red-dim:    rgba(224, 90, 90, 0.15);
  --green:      #6bcb8b;
  --green-dim:  rgba(107, 203, 139, 0.15);
  --amber:      #e0a33e;
  --amber-dim:  rgba(224, 163, 62, 0.15);
  --text:       #dde1f2;
  --muted:      rgba(150, 152, 176, 0.92);
  --muted2:     rgba(84, 86, 108, 0.9);

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-prose:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* ── Header / topbar ────────────────────────────────────────────── */
.status-topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 2rem; height: 56px;
  background: rgba(7, 8, 13, 0.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topbar-brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text); white-space: nowrap; transition: color 0.15s;
}
.topbar-brand:hover { color: var(--gold-light); }
.topbar-logo { border-radius: 6px; object-fit: contain; flex-shrink: 0; }
.topbar-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar-links a { font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.topbar-links a:hover { color: var(--gold-light); }

/* ── Page host & nebula ─────────────────────────────────────────── */
body { padding-top: 56px; }
.status-host { position: relative; flex: 1 1 auto; padding: 2.5rem 1.5rem 3rem; }
.status-nebula { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; filter: blur(70px); }
.status-nebula-blob { position: absolute; border-radius: 50%; will-change: transform; }
.status-nebula-blob-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, rgba(52, 196, 244, 0.06) 40%, transparent 75%);
  top: -30vw; left: -10vw; animation: statusNebulaDrift1 52s ease-in-out infinite;
}
.status-nebula-blob-2 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(52, 196, 244, 0.06) 0%, rgba(52, 196, 244, 0.02) 40%, transparent 75%);
  top: 25vw; right: -25vw; animation: statusNebulaDrift2 58s ease-in-out infinite;
}
.status-nebula-blob-3 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(106, 75, 240, 0.10) 0%, rgba(59, 130, 246, 0.04) 45%, transparent 78%);
  bottom: -24vw; left: 28vw; animation: statusNebulaDrift3 46s ease-in-out infinite;
}
@keyframes statusNebulaDrift1 { 0%,100%{transform:translate(0,0) scale(1)} 35%{transform:translate(15vw,12vh) scale(1.08)} 70%{transform:translate(-8vw,18vh) scale(0.92)} }
@keyframes statusNebulaDrift2 { 0%,100%{transform:translate(0,0) scale(1)} 45%{transform:translate(-22vw,-8vh) scale(1.15)} 75%{transform:translate(-12vw,14vh) scale(0.95)} }
@keyframes statusNebulaDrift3 { 0%,100%{transform:translate(0,0) scale(1)} 30%{transform:translate(-18vw,-16vh) scale(1.05)} 65%{transform:translate(8vw,-22vh) scale(0.9)} }
@media (prefers-reduced-motion: reduce) { .status-nebula-blob { animation: none; } }

/* ── Content shell ──────────────────────────────────────────────── */
.status-shell { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.status-eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.4rem);
  letter-spacing: 0.04em; text-transform: uppercase;
  text-align: center; margin-bottom: 1.4rem; line-height: 1.1;
  /* Animated brand gradient (cyan → blue → violet) swept across the text. */
  background: linear-gradient(90deg, var(--cyan) 0%, var(--gold-light) 25%, var(--violet) 50%, var(--gold-light) 75%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--cyan);
  filter: drop-shadow(0 0 18px rgba(52, 196, 244, 0.28));
  animation: eyebrowShimmer 5.5s linear infinite;
}
@keyframes eyebrowShimmer { 0% { background-position: 0% center; } 100% { background-position: -200% center; } }
@media (prefers-reduced-motion: reduce) { .status-eyebrow { animation: none; } }

/* ── Overall banner ─────────────────────────────────────────────── */
.overall {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.35rem 1.5rem; margin-bottom: 1.75rem;
  border-radius: 16px; border: 1px solid var(--border);
  background: rgba(10, 12, 22, 0.6); backdrop-filter: blur(16px);
}
.overall-operational { border-color: var(--green-dim); background: linear-gradient(135deg, rgba(107,203,139,0.10), rgba(10,12,22,0.6)); box-shadow: 0 0 30px rgba(107,203,139,0.06); }
.overall-degraded, .overall-partial_outage { border-color: var(--amber-dim); background: linear-gradient(135deg, rgba(224,163,62,0.10), rgba(10,12,22,0.6)); box-shadow: 0 0 30px rgba(224,163,62,0.06); }
.overall-outage { border-color: var(--red-dim); background: linear-gradient(135deg, rgba(224,90,90,0.12), rgba(10,12,22,0.6)); box-shadow: 0 0 30px rgba(224,90,90,0.08); }
.overall-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.overall-icon svg { width: 24px; height: 24px; }
.overall-operational .overall-icon { background: var(--green-dim); color: var(--green); }
.overall-degraded .overall-icon, .overall-partial_outage .overall-icon { background: var(--amber-dim); color: var(--amber); }
.overall-outage .overall-icon { background: var(--red-dim); color: var(--red); }
.overall-unknown .overall-icon { background: rgba(255,255,255,0.04); color: var(--muted); }
.overall-text { flex: 1; min-width: 0; }
.overall-headline { font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 700; line-height: 1.1; margin: 0; color: var(--text); }
.overall-sub { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }
.status-tag { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.status-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: statusPulse 2s ease-in-out infinite; }
.status-tag-dot.is-stale { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.status-tag-dot.is-down { background: var(--red); box-shadow: 0 0 8px var(--red); }
@keyframes statusPulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.5; transform:scale(0.85)} }
@media (prefers-reduced-motion: reduce) { .status-tag-dot { animation: none; } }
.overall-dot { color: var(--muted2); }
.overall-uptime { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.overall-subscribe {
  flex-shrink: 0; padding: 0.55rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--gold-dim); color: var(--gold-light);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.overall-subscribe:hover { background: var(--gold-bg); border-color: var(--gold); color: var(--gold-light); }
.overall-sub { position: relative; flex-shrink: 0; }
.overall-sub > summary { list-style: none; cursor: pointer; display: inline-block; }
.overall-sub > summary::-webkit-details-marker { display: none; }
.overall-sub-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 180px; padding: 6px; border-radius: 12px;
  background: var(--raised); border: 1px solid var(--stroke2);
  box-shadow: 0 14px 44px rgba(0,0,0,0.55);
}
.overall-sub-menu a { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem; border-radius: 8px; font-family: var(--font-body); font-size: 0.85rem; color: var(--text); }
.overall-sub-menu a:hover { background: var(--gold-bg); color: var(--gold-light); }

/* ── Status pills (shared: banner-era + components) ─────────────── */
.status-pill {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.status-pill-operational    { color: var(--green);  border-color: var(--green-dim);  background: var(--green-dim); }
.status-pill-degraded       { color: var(--amber);  border-color: var(--amber-dim);  background: var(--amber-dim); }
.status-pill-partial_outage { color: var(--amber);  border-color: var(--amber-dim);  background: var(--amber-dim); }
.status-pill-outage         { color: var(--red);    border-color: var(--red-dim);    background: var(--red-dim); }
.status-pill-down           { color: var(--red);    border-color: var(--red-dim);    background: var(--red-dim); }
.status-pill-unknown        { color: var(--muted2); border-color: var(--border);     background: rgba(7,8,13,0.5); }
.status-pill-stale          { color: var(--amber);  border-color: var(--amber-dim);  background: var(--amber-dim); }

/* ── Announcement banners ───────────────────────────────────────── */
.announcement-list { margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.announcement {
  border-radius: 12px; padding: 0; overflow: hidden;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.02)), rgba(7,8,13,0.6);
  box-shadow: 0 0 24px rgba(59,130,246,0.08);
}
.announcement-warning { border-color: var(--amber-dim); background: linear-gradient(135deg, rgba(224,163,62,0.08), rgba(224,163,62,0.02)), rgba(7,8,13,0.6); box-shadow: 0 0 24px rgba(224,163,62,0.1); }
.announcement-critical { border-color: var(--red-dim); background: linear-gradient(135deg, rgba(224,90,90,0.10), rgba(224,90,90,0.02)), rgba(7,8,13,0.65); box-shadow: 0 0 24px rgba(224,90,90,0.12); }
.announcement summary { list-style: none; cursor: pointer; padding: 0.95rem 1.2rem; display: flex; align-items: center; gap: 0.85rem; }
.announcement summary::-webkit-details-marker { display: none; }
.announcement-tag {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); background: var(--gold-bg); border: 1px solid var(--gold-dim);
  padding: 3px 8px; border-radius: 999px;
}
.announcement-warning .announcement-tag { color: var(--amber); border-color: var(--amber-dim); background: var(--amber-dim); }
.announcement-critical .announcement-tag { color: var(--red); border-color: var(--red-dim); background: var(--red-dim); }
.announcement-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); flex: 1; }
.announcement-chevron { color: var(--muted); transition: transform 0.2s; flex-shrink: 0; }
.announcement[open] .announcement-chevron { transform: rotate(180deg); }
.announcement-body { padding: 0 1.2rem 0.85rem; font-family: var(--font-prose); font-size: 0.92rem; color: var(--muted); line-height: 1.6; white-space: pre-wrap; }
.announcement-thread { list-style: none; margin: 0; padding: 0 1.2rem 1.05rem; border-top: 1px solid var(--border); }
.announcement-thread li { padding: 0.7rem 0; border-bottom: 1px dashed var(--border); }
.announcement-thread li:last-child { border-bottom: none; }
.announcement-thread-status { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-right: 0.6rem; }
.announcement-thread-resolved { color: var(--green); }
.announcement-thread time { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted2); }
.announcement-thread p { margin: 0.35rem 0 0; font-family: var(--font-prose); font-size: 0.9rem; color: var(--muted); white-space: pre-wrap; }

/* ── Components (grouped) with inline 90-day uptime ─────────────── */
.components { margin-bottom: 2rem; }
.component-group { margin-bottom: 1.5rem; }
.component-group .component-group-title {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 0.55rem 0.2rem; border: none; padding: 0;
}
.component-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: rgba(10, 12, 22, 0.5); backdrop-filter: blur(12px);
}
.component-row { padding: 1rem 1.3rem; border-bottom: 1px solid var(--border); }
.component-row:last-child { border-bottom: none; }
.component-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.component-name { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: var(--text); }
.component-uptime { margin-top: 0.75rem; }
.uptime-bar { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 30px; }
.uptime-day { border-radius: 2px; background: var(--green); min-width: 0; transition: opacity 0.1s; }
.uptime-day:hover { opacity: 0.65; }
.uptime-day.degraded { background: var(--amber); }
.uptime-day.down { background: var(--red); }
.uptime-day.empty { background: rgba(255, 255, 255, 0.05); }
.uptime-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted2); }
.uptime-meta .uptime-pct { color: var(--gold-light); font-weight: 700; }

/* ── Section headings (incidents) ───────────────────────────────── */
.status-incidents { margin-bottom: 1.5rem; }
.status-incidents > h2 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--text); margin: 0 0 1rem; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.chart-window { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted2); }

/* ── Incidents + root-cause ─────────────────────────────────────── */
.incidents-list { list-style: none; margin: 0; padding: 0; }
.incident-row { padding: 0.6rem 0.2rem; border-bottom: 1px dashed var(--border); }
.incident-row:last-child { border-bottom: none; }
.incident-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; }
.incident-service { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--text); }
.incident-row time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.incident-duration { font-family: var(--font-mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.04em; }
.incidents-empty { font-family: var(--font-prose); color: var(--green); font-size: 0.92rem; margin: 0.5rem 0; text-align: center; }
.incident-cause { width: 100%; }
.incident-cause > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.incident-cause > summary::-webkit-details-marker { display: none; }
.incident-cause > summary > .incident-grid { flex: 1; min-width: 60%; }
.incident-why {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-light); background: var(--gold-bg); border: 1px solid var(--gold-dim);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.incident-cause[open] .incident-why .announcement-chevron { transform: rotate(180deg); }
.incident-cause-body { margin: 0.7rem 0 0.2rem; padding: 0.75rem 0.9rem; border-left: 2px solid var(--gold-dim); background: var(--gold-bg); border-radius: 0 6px 6px 0; }
.incident-cause-body p { margin: 0; font-family: var(--font-prose); font-size: 0.9rem; line-height: 1.6; color: var(--text); white-space: pre-wrap; }
.incident-cause-at { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted2); letter-spacing: 0.04em; }

/* ── Live metrics (collapsible) ─────────────────────────────────── */
.live-metrics {
  margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(10, 12, 22, 0.5); overflow: visible;
}
.live-metrics > summary {
  list-style: none; cursor: pointer; padding: 1rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text);
}
.live-metrics > summary::-webkit-details-marker { display: none; }
.live-metrics[open] > summary .announcement-chevron { transform: rotate(180deg); }
.live-metrics-body { padding: 0 1.3rem 1.3rem; }
.live-metrics-body section { margin-top: 1.2rem; }
.live-metrics-body h3 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--gold-light); margin: 0 0 0.85rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

/* Bot cluster grid */
.shards-totals { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 0.85rem; }
.shards-totals strong { color: var(--gold-light); font-family: var(--font-display); font-size: 1rem; margin-right: 0.3rem; }
.shards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.4rem; overflow: visible; }
.shard-cluster { position: relative; border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem; background: rgba(7,8,13,0.4); cursor: default; transition: border-color 0.15s; }
.shard-cluster:hover { border-color: var(--border2); }
.shard-cluster-operational { border-bottom: 2px solid var(--green); }
.shard-cluster-degraded { border-bottom: 2px solid var(--amber); }
.shard-cluster-down { border-bottom: 2px solid var(--red); }
.shard-cluster-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted2); text-transform: uppercase; margin-bottom: 0.3rem; }
.shard-cluster-shards { display: flex; flex-wrap: wrap; gap: 2px; }
.shard-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.shard-dot.down { background: var(--red); }
.shard-dot.degraded { background: var(--amber); }
.shard-dot.unknown { background: var(--muted2); }
.shard-cluster-detail {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  z-index: 100; min-width: 240px; padding: 0.7rem 0.85rem; border-radius: 8px;
  background: var(--depth); border: 1px solid var(--border2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6); pointer-events: none;
  font-family: var(--font-mono); font-size: 0.7rem; text-align: left;
}
.shard-cluster:hover .shard-cluster-detail { display: block; }
.shard-cluster-detail-title { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gold-light); margin-bottom: 0.45rem; }
.shard-cluster-detail-row { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.15rem 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.04); }
.shard-cluster-detail-row:last-of-type { border-bottom: none; }
.shard-cluster-detail-val { color: var(--text); font-weight: 600; }
.shard-cluster-detail-val.operational { color: var(--green); }
.shard-cluster-detail-val.degraded { color: var(--amber); }
.shard-cluster-detail-val.down { color: var(--red); }
.shard-cluster-detail-val.unknown { color: var(--muted2); }
.shard-cluster-detail-chips { margin-top: 0.45rem; display: flex; flex-wrap: wrap; gap: 3px; }
.shard-chip { font-size: 0.58rem; letter-spacing: 0.04em; padding: 2px 5px; border-radius: 3px; background: rgba(107,203,139,0.1); color: var(--green); }
.shard-chip.degraded { background: var(--amber-dim); color: var(--amber); }
.shard-chip.down { background: var(--red-dim); color: var(--red); }
.shard-chip.unknown { background: rgba(255,255,255,0.04); color: var(--muted2); }
.shards-grid .shard-cluster:nth-child(5n+1) .shard-cluster-detail { left: 0; transform: none; }
.shards-grid .shard-cluster:nth-child(5n) .shard-cluster-detail { left: auto; right: 0; transform: none; }

/* ── Help card ──────────────────────────────────────────────────── */
.status-help {
  margin-top: 0.5rem; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.02)), rgba(7,8,13,0.6);
  border: 1px solid var(--gold-dim); border-radius: 14px; box-shadow: 0 0 24px rgba(59,130,246,0.08);
}
.status-help-icon { flex-shrink: 0; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(59,130,246,0.5)); }
.status-help-text { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.status-help-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--text); font-weight: 700; }
.status-help-text span { font-family: var(--font-prose); font-size: 0.88rem; color: var(--muted); }
.status-help-cta {
  flex-shrink: 0; padding: 0.6rem 1.25rem;
  background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #fff !important;
  border-radius: 999px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.status-help-cta:hover { transform: translateY(-1px); box-shadow: 0 0 18px rgba(59,130,246,0.5); }

/* ── Footer ─────────────────────────────────────────────────────── */
.landing-footer {
  border-top: 1px solid var(--border); background: var(--abyss);
  padding: 0.85rem 2rem;
  /* 1fr / auto / 1fr keeps the link group optically centered regardless of
     how wide the brand (left) and copyright (right) zones get. */
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.5rem; flex-shrink: 0; position: relative; z-index: 2;
}
.footer-brand { justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text); }
.footer-brand-logo { width: 20px; height: 20px; object-fit: contain; border-radius: 5px; }
.footer-links { justify-self: center; list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { justify-self: end; text-align: right; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted2); letter-spacing: 0.02em; }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--gold-light); }

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .status-topbar { padding: 0 1.25rem; }
  .topbar-links { gap: 1.1rem; }
  .topbar-links a { font-size: 0.82rem; }
  .status-host { padding: 1.5rem 1rem 2rem; }
  .overall { flex-wrap: wrap; }
  .overall-sub { order: 3; width: 100%; }
  .overall-sub > summary { display: block; width: 100%; text-align: center; }
  .overall-sub-menu { left: 0; right: 0; min-width: 0; }
  .uptime-bar { gap: 1px; height: 26px; }
  .status-help { flex-direction: column; text-align: center; gap: 0.85rem; padding: 1.25rem 1rem; }
  .status-help-text { align-items: center; }
  .landing-footer { padding: 0.7rem 1.25rem; gap: 0.75rem; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand, .footer-links, .footer-copy { justify-self: center; text-align: center; }
}
@media (max-width: 560px) {
  /* Let the header flow (and wrap) instead of overlapping content. */
  body { padding-top: 0; }
  .status-topbar { position: static; height: auto; flex-wrap: wrap; padding: 0.7rem 1rem; gap: 0.45rem 1.2rem; }
}
