/* mango.onl public status page. */

.st-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.bk-mark {
  width: fit-content;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.bk-mark .wm-name { color: #fff; }
.bk-mark .wm-tld { color: var(--skin); }

.st-overall {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 1.05rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--rim);
  width: fit-content;
}

.st-overall.st-ok { color: var(--leaf); border-color: rgba(143, 170, 100, 0.4); background: rgba(143, 170, 100, 0.07); }
.st-overall.st-degraded { color: var(--flesh); border-color: rgba(243, 197, 102, 0.4); background: rgba(243, 197, 102, 0.07); }
.st-overall.st-down { color: #d98a6b; border-color: rgba(217, 138, 107, 0.4); background: rgba(217, 138, 107, 0.07); }

.st-count {
  font-size: 0.78rem;
  color: var(--dim);
}

.st-section { margin-bottom: 2rem; }

.st-h2 {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin: 0 0 0.9rem;
}

/* Rows fill across in columns rather than stacking, so a long script list
   grows sideways first and the page stays one screen tall. */
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.5rem;
}

.st-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--rim);
  border-radius: 10px;
  background: var(--pane);
}

.st-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-name {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--text);
}

.st-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
}

.st-dot {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid currentColor;
}

.st-dot.st-up { color: var(--leaf); }
.st-dot.st-down { color: #d98a6b; }
.st-dot.st-unstable { color: var(--flesh); }
.st-dot.st-updating { color: #6fa8a0; }

.st-empty {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.st-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.st-json { color: var(--dim); }
.st-json .path { color: var(--skin-deep); text-decoration: none; }
.st-json .path:hover { color: var(--skin); }
