:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  background: #0d1322;
  color: #eaf0fc;
  --muted: #a9b7d0;
  --border: #303e56;
  --panel: #141e2f;
  --green: #9aebc4;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(ellipse at 15% 0, #1e3450, #0d1322 62%); }
.shell { width: min(58rem, calc(100% - 2rem)); margin: auto; padding: clamp(2rem, 7vw, 5rem) 0 3rem; }
.heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
h1 { font-size: clamp(1.65rem, 5vw, 2.65rem); line-height: 1.24; }
h2 { font-size: 1.27rem; margin-bottom: .75rem; }
h3 { font-size: .95rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
button { min-height: 2.55rem; border-radius: .55rem; padding: .45rem .9rem; border: 1px solid #4e6b86; background: #233a52; color: #f1f6ff; font: inherit; font-size: .875rem; cursor: pointer; white-space: nowrap; }
button:hover { background: #2f4c68; }
button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
button:disabled { opacity: .65; cursor: wait; }
.status { border: 1px solid #45617e; border-radius: .85rem; background: #1a2b42; padding: 1rem 1.15rem; }
.status strong { font-size: 1.08rem; }
.status[data-state="online"] strong { color: var(--green); }
.status p, .description { color: var(--muted); line-height: 1.6; margin-top: .35rem; }
.section { margin-top: 1.8rem; }
.network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.network > div, .servers > li { background: var(--panel); border: 1px solid var(--border); border-radius: .7rem; padding: .85rem 1rem; }
dt { font-size: .875rem; color: var(--muted); }
dd { margin-top: .3rem; font-weight: 600; overflow-wrap: anywhere; }
.address, .subtle { font-size: .875rem; font-weight: 400; color: var(--muted); }
.address, code { font-family: ui-monospace, Consolas, monospace; }
.servers { display: grid; gap: .55rem; padding: 0; margin-top: .85rem; }
.servers > li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; }
.servers > li.recommended { border-color: #599b87; }
.servers > li.recommended h3 { color: var(--green); }
code { color: #f4f7ff; font-size: clamp(.875rem, 3vw, 1.12rem); overflow-wrap: anywhere; }
.latency { color: var(--muted); font-size: .875rem; }
.latency:empty { display: none; }
.servers .copy { grid-column: 3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 38rem) {
  .network { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .network > div:last-child { grid-column: 1 / -1; }
  .servers > li { grid-template-columns: minmax(0, 1fr) auto; }
  .servers .copy { grid-column: 2; grid-row: 1; }
  .latency:not(:empty) { grid-column: 1 / -1; }
}