:root {
  --st-bg: #05070d;
  --st-card: #0a0e17;
  --st-line: rgba(147, 160, 181, 0.14);
  --st-text: #eef2f8;
  --st-muted: #93a0b5;
  --st-up: #3b82f6;
  --st-up-soft: rgba(59, 130, 246, 0.85);
  --st-warn: #f59e0b;
  --st-down: #ef4444;
  --st-none: rgba(147, 160, 181, 0.16);
}
html.light {
  --st-bg: #eef4fb;
  --st-card: #ffffff;
  --st-line: rgba(16, 35, 63, 0.1);
  --st-text: #10233f;
  --st-muted: #5b6b83;
  --st-none: rgba(16, 35, 63, 0.1);
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: rgba(147, 160, 181, 0.32) transparent; }
html, body { margin: 0; }
body {
  min-height: 100vh; background: var(--st-bg); color: var(--st-text);
  font-family: "DM Sans", system-ui, sans-serif; font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.st-band {
  position: absolute; inset: 0 0 auto; height: 15rem; z-index: 0;
  background: linear-gradient(180deg, #0b1630 0%, #0a1226 60%, rgba(10, 18, 38, 0) 100%);
}
html.light .st-band { background: linear-gradient(180deg, #cfe2fb 0%, #dce9fa 60%, rgba(238, 244, 251, 0) 100%); }
.st-top, .st-card { position: relative; z-index: 1; width: min(44rem, calc(100% - 2rem)); margin: 0 auto; }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.4rem 0 2.2rem; }
.st-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.st-brand img { border-radius: 0.5rem; }
.st-links { display: flex; align-items: center; gap: 1.1rem; font-size: 0.85rem; font-weight: 500; }
.st-links a:hover { color: var(--st-up); }
.st-pill { padding: 0.4rem 0.8rem; border-radius: 0.45rem; background: var(--st-text); color: var(--st-bg); }
.st-links .st-pill:hover { color: var(--st-bg); opacity: 0.9; }

.st-card {
  margin-bottom: 3rem; padding: 1.6rem 1.25rem 1.3rem;
  border: 1px solid var(--st-line); border-radius: 1rem; background: var(--st-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
html.light .st-card { box-shadow: 0 20px 50px rgba(16, 35, 63, 0.08); }
.st-head { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: 1.8rem; }
.st-head h1 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.st-badge { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(59, 130, 246, 0.16); }
.st-head.is-down .st-badge { background: rgba(239, 68, 68, 0.16); }
.st-badge svg { width: 1.25rem; height: 1.25rem; }

.st-dot svg, .st-badge svg { fill: var(--st-up); stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.is-down .st-dot svg, .st-head.is-down .st-badge svg { fill: var(--st-down); }
.st-dot { display: inline-grid; place-items: center; flex: none; }
.st-dot svg { width: 0.95rem; height: 0.95rem; }

.st-part { margin-bottom: 1.35rem; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; font-size: 0.85rem; }
.st-name { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; }
.st-info {
  display: inline-grid; place-items: center; width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--st-muted); color: var(--st-card); font-size: 0.6rem; font-weight: 700; font-style: normal; cursor: help;
}
.st-uptime { color: var(--st-up); font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.is-down .st-uptime { color: var(--st-down); }
.st-bar { display: flex; gap: 2px; height: 1.6rem; }
.st-bar i { flex: 1; min-width: 0; border-radius: 2px; background: var(--st-none); transition: opacity 0.15s ease; }
.st-bar i.is-up { background: var(--st-up-soft); }
.st-bar i.is-warn { background: var(--st-warn); }
.st-bar i.is-down { background: var(--st-down); }
.st-bar i:hover { opacity: 0.7; }
.st-scale { display: flex; justify-content: space-between; margin-top: 0.4rem; color: var(--st-muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.st-short { display: none; }

.st-notes { margin-top: 2rem; padding-top: 0.2rem; }
.st-notes h2 { margin: 0 0 1rem; color: var(--st-muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.st-note { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.7rem; font-size: 0.85rem; }
.st-note .st-dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(59, 130, 246, 0.14); }
.st-note.is-down .st-dot { background: rgba(239, 68, 68, 0.14); }
.st-note time { margin-left: auto; color: var(--st-muted); font-size: 0.75rem; white-space: nowrap; }
.st-foot { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--st-line); color: var(--st-muted); font-size: 0.75rem; text-align: center; }

@media (max-width: 600px) {
  .st-top { padding: 1.6rem 0 1.4rem; }
  .st-links { gap: 0.7rem; font-size: 0.8rem; }
  .st-bar i:nth-child(-n+60) { display: none; }
  .st-long { display: none; }
  .st-short { display: inline; }
  .st-note { flex-wrap: wrap; }
  .st-note time { margin-left: 2.2rem; width: 100%; }
}
