:root {
  color-scheme: dark;
  --ground: #141715;
  --panel: #1a1e1b;
  --line: #343b34;
  --text: #f3f1e9;
  --muted: #adb5a8;
  --accent: #f58555;
  --online: #a7c78a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text); font: 15px/1.5 "Geist", "Microsoft YaHei", "PingFang SC", sans-serif; }
button, input, select { font: inherit; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.hero {
  background: linear-gradient(90deg, #121613 8%, #141813bb 48%, #181b1538), linear-gradient(0deg, #141715, transparent 34%), url("./rust-landscape.webp") 50% 44% / cover;
  border-bottom: 1px solid var(--line);
}
.hero-inner { min-height: 302px; padding-block: 46px 38px; }
.brand { color: var(--accent); margin: 0 0 17px; font: 900 27px/1 "Archivo Black", "Arial Black", sans-serif; letter-spacing: .13em; }
.brand span { display: inline-block; width: 24px; height: 2px; margin-left: 10px; background: currentColor; vertical-align: middle; }
h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.08; margin: 0 0 19px; letter-spacing: -.07em; }
.snapshot { margin: 0; color: #d7dace; font-size: 13px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 25px 18px; }
.search { flex: 1 1 280px; }
input, select, button { min-height: 43px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--text); }
input { width: 100%; padding-inline: 14px; }
input::placeholder { color: var(--muted); }
select, button { padding-inline: 14px; }
button:not(:disabled) { cursor: pointer; }
button:not(:disabled):hover { border-color: var(--accent); color: var(--accent); }
button:disabled { opacity: .45; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.listing { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 16px; }
th { color: var(--muted); font-size: 12px; background: #202620; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: #202620; }
td:first-child { width: 47%; }
.server-name { font-weight: 700; overflow-wrap: anywhere; }
.map { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.count { color: var(--online); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
meter { display: block; width: min(112px, 100%); height: 6px; margin-top: 6px; }
meter::-webkit-meter-bar { border: 0; background: #373f35; }
meter::-webkit-meter-optimum-value { background: var(--online); }
.address { color: #e3e8db; white-space: nowrap; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; }
.copy { min-height: 35px; white-space: nowrap; font-size: 12px; }
.result-state { padding: 26px 16px; margin: 0; color: var(--muted); }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-block: 18px 36px; }
.pagination span { margin-right: auto; color: var(--muted); font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .hero-inner { min-height: 234px; padding-block: 32px; }
  .toolbar { gap: 9px; }
  .sort { flex: 1; }
  .sort select { width: 100%; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 8px; }
  tbody tr:first-child { border-top: none; }
  td { display: block; padding: 0; }
  td:first-child { width: auto; grid-column: span 2; }
  td:nth-child(3) { grid-row: 3; align-self: center; }
  td:last-child { grid-column: 2; grid-row: 2 / span 2; justify-self: end; align-self: end; }
}
