/* splashnodes.com/status — service status (status.js fills it from /api/status). */
.status-wrap { max-width: 920px; }
.st-hero { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; margin: 6px 0 28px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.st-hero h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; }
.st-hero .intro { margin: 0; }
.st-dot { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 12px; border-radius: 50%; background: #9598a3; box-shadow: 0 0 0 6px rgba(149, 152, 163, .14); }
.st-hero[data-state="operational"] { border-color: rgba(198, 255, 61, .3); background: rgba(198, 255, 61, .05); }
.st-hero[data-state="operational"] .st-dot { background: #c6ff3d; box-shadow: 0 0 0 6px rgba(198, 255, 61, .16); }
.st-hero[data-state="degraded"], .st-hero[data-state="partial"] { border-color: rgba(255, 176, 46, .35); background: rgba(255, 176, 46, .06); }
.st-hero[data-state="degraded"] .st-dot, .st-hero[data-state="partial"] .st-dot { background: #ffb02e; box-shadow: 0 0 0 6px rgba(255, 176, 46, .16); }
.st-hero[data-state="major"] { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .07); }
.st-hero[data-state="major"] .st-dot { background: #ff6b6b; box-shadow: 0 0 0 6px rgba(255, 107, 107, .16); }
.st-hero[data-state="maintenance"] { border-color: rgba(106, 168, 255, .35); background: rgba(106, 168, 255, .06); }
.st-hero[data-state="maintenance"] .st-dot { background: #6aa8ff; box-shadow: 0 0 0 6px rgba(106, 168, 255, .16); }
.st-hero[data-state="error"] .st-dot { background: #ffb02e; }

.st-section { margin: 0 0 34px; }
.st-section h2 { font-size: 19px; margin: 0 0 12px; }
.st-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.st-legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; font-size: 12.5px; color: var(--text-dim, #9598a3); }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend i, .st-bars i { display: inline-block; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.st-legend i { width: 10px; height: 10px; }
i.ok, i.operational { background: #c6ff3d; }
i.degraded, i.partial { background: #ffb02e; }
i.major { background: #ff6b6b; }
i.maintenance { background: #6aa8ff; }

.st-components { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; }
.st-components > li { padding: 16px 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.st-components > li:first-child { border-top: 0; }
.st-loading { color: var(--text-dim, #9598a3); }
.st-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.st-name { font-weight: 650; color: var(--heading, #fff); }
.st-about { display: block; font-weight: 400; font-size: 13px; color: var(--text-dim, #9598a3); margin-top: 2px; }
.st-state { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.st-state.operational { color: #c6ff3d; } .st-state.degraded, .st-state.partial { color: #ffb02e; }
.st-state.major { color: #ff8a8a; } .st-state.maintenance { color: #8fbcff; }
.st-bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; margin: 12px 0 6px; height: 28px; }
.st-bars i { height: 100%; width: auto; border-radius: 2px; }
.st-bars i.none { background: rgba(255, 255, 255, .07); }
.st-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim, #9598a3); }
.st-note, .st-small { font-size: 13px; color: var(--text-dim, #9598a3); margin: 10px 0 0; line-height: 1.55; }

.st-incident { border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 18px 20px; margin: 0 0 12px; background: rgba(255, 255, 255, .02); }
.st-incident.major { border-color: rgba(255, 107, 107, .4); }
.st-incident.degraded, .st-incident.partial { border-color: rgba(255, 176, 46, .35); }
.st-incident.maintenance { border-color: rgba(106, 168, 255, .35); }
.st-incident h3 { margin: 0 0 4px; font-size: 16.5px; }
.st-meta { font-size: 13px; color: var(--text-dim, #9598a3); margin: 0 0 12px; }
.st-updates { list-style: none; margin: 0; padding: 0; }
.st-updates li { position: relative; padding: 0 0 12px 18px; border-left: 2px solid rgba(255, 255, 255, .1); margin-left: 4px; }
.st-updates li:last-child { padding-bottom: 0; }
.st-updates li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #2a2a30; border: 2px solid rgba(255, 255, 255, .35); }
.st-updates b { color: var(--heading, #fff); text-transform: capitalize; }
.st-updates time { font-size: 12.5px; color: var(--text-dim, #9598a3); margin-left: 6px; }
.st-updates p { margin: 4px 0 0; line-height: 1.6; white-space: pre-line; }
.st-help { margin-top: 8px; }

@media (max-width: 640px) {
  .st-hero { padding: 18px; }
  .st-bars { grid-template-columns: repeat(45, 1fr); }
  .st-bars i:nth-child(-n+45) { display: none; }   /* phones show the last 45 days */
  .st-scale .st-from-90 { display: none; }
  .st-scale .st-from-45 { display: inline !important; }
}
