/* Palette aligned with sdoux.me (2026-08-04) so the panel and the public site
 * read as one system rather than two unrelated apps. Only the token values
 * changed — every rule below still consumes these variables, so layout is
 * untouched. Sharp corners and no drop shadow are deliberate: the terminal
 * look on sdoux.me uses neither. */
:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --bg-elevated: #11171f;
  --surface: #11171f;
  --surface-strong: #161e28;
  --surface-hover: #1d2734;
  --line: #1d2734;
  --line-strong: #2a3746;
  --text: #c8d3de;
  --muted: #7d8b9a;
  --faint: #4d5b6b;
  --boiii: #4ade80;
  --boiii-strong: #22c55e;
  --cyan: #38bdf8;
  --green: #4ade80;
  --gold: #fbbf24;
  --danger: #f87171;
  --danger-bg: #24151a;
  --focus: #4ade80;
  --shadow: none;
  --radius: 0px;
  --content: 1440px;
  --control-height: 42px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  /* Monospace to match sdoux.me. Self-hosted stack only — no webfont request,
   * which keeps the CSP at default-src 'self'. Base size nudged down slightly
   * because monospace glyphs are wider than the Inter they replace, so the
   * dense control rows keep the same effective line length. */
  font-family:
    ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Cascadia Code",
    Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  letter-spacing: -0.005em;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
}

button,
input,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--focus);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.centered-state {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
}

.boot-mark,
.product-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--boiii) 72%, var(--line));
  border-radius: 4px;
  background: #211719;
  color: #ffddd9;
  font-weight: 800;
}

.boot-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.product-mark {
  width: 32px;
  height: 32px;
  font-size: 0.82rem;
}

.state-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.state-copy {
  margin: 7px 0 18px;
  color: var(--muted);
}

.loading-bar {
  display: block;
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--surface-strong);
}

.loading-bar::after {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--cyan);
  content: "";
  animation: loading-slide 1.1s ease-in-out infinite alternate;
}

@keyframes loading-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(165%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.login-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: stretch;
}

.login-panel {
  display: flex;
  width: min(620px, calc(100% - 64px));
  margin: auto;
  flex-direction: column;
  align-items: flex-start;
}

.product-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.eyebrow-boiii {
  color: var(--boiii-strong);
}

.eyebrow-palworld {
  color: var(--gold);
}

.eyebrow-minecraft {
  color: var(--green);
}

.eyebrow-danger {
  color: var(--danger);
}

.login-panel > .eyebrow {
  margin-top: 76px;
}

.login-panel h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.02;
  font-weight: 780;
}

.login-copy {
  max-width: 600px;
  margin: 24px 0 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.login-button {
  min-width: 220px;
}

.login-status {
  display: flex;
  padding: 11vh 54px;
  border-left: 1px solid var(--line);
  background: var(--bg-elevated);
  flex-direction: column;
  justify-content: flex-end;
}

.compact-facts {
  margin: 10px 0 0;
}

.compact-facts div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.compact-facts dt {
  color: var(--muted);
}

.compact-facts dd {
  margin: 0;
  font-weight: 700;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(16 17 19 / 96%);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.server-nav,
.main-content {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.topbar-inner {
  display: flex;
  min-height: 68px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.control-plane-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--faint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--faint) 15%, transparent);
}

.status-dot.status-online {
  background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 15%, transparent);
}

.status-dot.status-degraded {
  background: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 15%, transparent);
}

.status-dot.status-offline {
  background: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 15%, transparent);
}

.user-menu {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 10px;
}

.user-avatar,
.user-fallback {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.user-avatar {
  display: block;
  object-fit: cover;
}

.user-fallback {
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.user-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.user-copy strong,
.user-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-copy strong {
  font-size: 0.82rem;
}

.user-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  place-items: center;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.server-nav {
  display: flex;
  min-height: 68px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.server-tabs {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 4px;
}

.server-tab {
  position: relative;
  display: inline-flex;
  min-width: 120px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.server-tab:hover {
  background: var(--surface);
  color: var(--text);
}

.server-tab.is-active {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.server-tab.is-active::after {
  position: absolute;
  right: 10px;
  bottom: -13px;
  left: 10px;
  height: 2px;
  background: var(--cyan);
  content: "";
}

.tab-signal {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--faint);
}

.signal-boiii {
  background: var(--boiii);
}

.signal-palworld {
  background: var(--gold);
}

.signal-minecraft {
  background: var(--green);
}

.main-content {
  padding: 34px 28px 72px;
}

.global-message {
  display: flex;
  min-height: 46px;
  margin-bottom: 26px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
}

.global-message.is-error {
  border-left-color: var(--danger);
  background: var(--danger-bg);
}

.global-message.is-success {
  border-left-color: var(--green);
}

.overview-band,
.game-panel,
.activity-band {
  padding-block: 22px 34px;
}

.game-panel,
.activity-band {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.section-heading,
.subsection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h1,
.section-heading h2,
.subsection-heading h3 {
  margin: 0;
}

.section-heading h1 {
  font-size: 1.55rem;
}

.section-heading h2 {
  font-size: 1.32rem;
}

.subsection-heading {
  min-height: 28px;
  margin-bottom: 18px;
}

.subsection-heading h3 {
  font-size: 0.92rem;
}

.compact-heading {
  align-items: flex-end;
}

.last-updated,
.muted-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-card {
  display: grid;
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-content: space-between;
  gap: 16px;
  background: var(--surface);
}

.status-card:hover {
  border-color: var(--line-strong);
}

.status-card-header,
.status-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-card-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 760;
}

.status-card-primary {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.18rem;
  font-weight: 750;
}

.status-card-secondary,
.status-card-footer {
  color: var(--muted);
  font-size: 0.76rem;
}

.status-card-footer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  min-width: 78px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 780;
  text-transform: uppercase;
}

.status-badge.status-online {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  background: color-mix(in srgb, var(--green) 9%, var(--surface));
  color: #8ee0ae;
}

.status-badge.status-starting,
.status-badge.status-degraded {
  border-color: color-mix(in srgb, var(--gold) 42%, var(--line));
  background: color-mix(in srgb, var(--gold) 9%, var(--surface));
  color: #ddc17e;
}

.status-badge.status-offline,
.status-badge.status-error {
  border-color: color-mix(in srgb, var(--danger) 38%, var(--line));
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
  color: #f09a96;
}

.skeleton {
  display: block;
  height: 10px;
  border-radius: 2px;
  background: var(--surface-strong);
}

.skeleton-short {
  width: 28%;
}

.skeleton-wide {
  width: 82%;
  height: 20px;
}

.skeleton-medium {
  width: 56%;
}

.operations-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.operations-column {
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.danger-zone {
  border-top-color: color-mix(in srgb, var(--danger) 42%, var(--line));
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.field-grow {
  flex: 1 1 280px;
}

input,
select,
.readout {
  width: 100%;
  min-width: 0;
  height: var(--control-height);
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
}

input:hover,
select:hover {
  border-color: #5d646d;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 14%, transparent);
}

input::placeholder {
  color: var(--faint);
}

.readout {
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-row,
.inline-form,
.dialog-actions {
  display: flex;
  align-items: flex-end;
  gap: 9px;
}

.command-row {
  margin-top: 18px;
  flex-wrap: wrap;
}

.inline-form {
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: var(--control-height);
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 730;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover:not(:disabled) {
  border-color: #626a74;
  background: var(--surface-hover);
}

.button-primary {
  border-color: #9f3a37;
  background: #a93431;
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  border-color: var(--boiii-strong);
  background: #bd3c38;
}

.button-success {
  border-color: color-mix(in srgb, var(--green) 58%, #26312a);
  background: #1d3a2a;
  color: #a9e6c0;
}

.button-success:hover:not(:disabled) {
  background: #244a35;
}

.button-danger {
  border-color: color-mix(in srgb, var(--danger) 62%, #3b2425);
  background: #4a2325;
  color: #ffb9b5;
}

.button-danger:hover:not(:disabled) {
  background: #60292b;
}

.button-secondary {
  background: var(--surface);
}

.button-compact {
  min-height: 36px;
  padding-inline: 12px;
}

.fact-grid {
  display: grid;
  margin: 22px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.fact-grid div {
  min-width: 0;
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--line);
}

.fact-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
}

.fact-grid dd {
  margin: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.count-badge {
  display: inline-grid;
  min-width: 30px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 760;
  place-items: center;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  height: 48px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

td {
  font-size: 0.8rem;
}

tbody tr:hover {
  background: var(--surface);
}

.empty-cell {
  height: 82px;
  color: var(--muted);
  text-align: center;
}

.player-name {
  font-weight: 720;
}

.player-id {
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.row-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.7rem;
}

.metrics-strip {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
}

.metric strong {
  display: block;
  overflow: hidden;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-only-layout {
  display: grid;
  min-height: 220px;
  padding-block: 28px;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-only-value {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 750;
}

.status-only-layout .fact-grid {
  margin-top: 0;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.activity-item {
  display: grid;
  min-height: 56px;
  padding: 10px 8px;
  grid-template-columns: 120px minmax(110px, 160px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.activity-time,
.activity-actor {
  color: var(--muted);
}

.activity-action {
  overflow-wrap: anywhere;
}

.activity-result {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 740;
  text-transform: uppercase;
}

.activity-result.is-error {
  color: var(--danger);
}

.activity-empty {
  padding: 30px 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.confirmation-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow);
}

.confirmation-dialog::backdrop {
  background: rgb(3 4 5 / 76%);
  backdrop-filter: blur(3px);
}

.confirmation-dialog form {
  padding: 24px;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-heading h2 {
  margin: 0;
  font-size: 1.2rem;
}

.dialog-copy {
  margin: 20px 0;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-actions {
  margin-top: 24px;
  justify-content: flex-end;
}

.inline-error {
  margin: 12px 0 0;
  color: #f2a09c;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-grid .status-card:last-child {
    grid-column: 1 / -1;
  }

  .operations-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .metrics-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric:nth-child(3) {
    border-right: 0;
  }

  .metric:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .status-only-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-panel {
    width: min(100% - 36px, 620px);
    padding-block: 56px;
  }

  .login-panel > .eyebrow {
    margin-top: 64px;
  }

  .login-panel h1 {
    font-size: 2.4rem;
  }

  .login-status {
    padding: 36px 18px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .topbar-inner {
    min-height: 64px;
    padding-inline: 16px;
  }

  .topbar .product-lockup > span:last-child,
  .control-plane-status,
  .user-copy {
    display: none;
  }

  .user-menu {
    min-width: auto;
  }

  .server-nav {
    min-height: 62px;
    padding-inline: 16px;
    overflow-x: auto;
  }

  .server-tabs {
    min-width: max-content;
  }

  .server-tab {
    min-width: 96px;
    padding-inline: 12px;
  }

  .server-tab.is-active::after {
    bottom: -10px;
  }

  .main-content {
    padding: 22px 16px 56px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid .status-card:last-child {
    grid-column: auto;
  }

  .status-card {
    min-height: 154px;
  }

  .section-heading,
  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .command-row .button {
    flex: 1 1 130px;
  }

  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-form .button {
    width: 100%;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    border-top: 1px solid var(--line);
  }

  .metric:nth-child(-n + 2) {
    border-top: 0;
  }

  .metric:nth-child(even) {
    border-right: 0;
  }

  .metric:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .status-only-layout {
    min-height: 0;
    padding-block: 22px;
    grid-template-columns: 1fr;
  }

  .activity-item {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .activity-actor {
    display: none;
  }
}

@media (max-width: 430px) {
  .server-nav .button {
    width: 36px;
    padding: 0;
    font-size: 0;
  }

  .server-nav .button span {
    font-size: 1rem;
  }

  .server-tab {
    min-width: 88px;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(-n + 2),
  .metric:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .metric:first-child {
    border-top: 0;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }
}
