:root {
  color-scheme: dark;
  --page: #0b0d10;
  --panel: #111419;
  --border: #242930;
  --text: #edf1f5;
  --muted: #9da8b4;
  --cpu: #6ae9ba;
  --ram: #a8a1fc;
  --disk: #78b9fa;
  --warning: #f0c278;
  --error: #fd9396;
  font: 15px/1.5 "Geist", "Inter", system-ui, sans-serif;
  background: var(--page);
  color: var(--text);
  scroll-padding-top: 28px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cpu); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cpu); outline-offset: 4px; }
.frame { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.masthead { border-bottom: 1px solid var(--border); background: #0e1115; }
.bar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.brand-detail { color: var(--muted); font-weight: 500; }
.mark { width: 31px; height: 31px; background: #18352f; border: 1px solid #285145; border-radius: 8px; display: inline-flex; justify-content: center; align-items: center; gap: 3px; }
.mark i { width: 3px; height: 8px; border-radius: 4px; background: var(--cpu); }
.mark i:nth-child(2) { height: 16px; }
.mark i:nth-child(3) { height: 11px; }
nav { display: flex; gap: 27px; font-size: .87rem; color: var(--muted); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 29%, transparent); border-radius: 999px; font-size: .74rem; font-weight: 650; white-space: nowrap; color: var(--muted); }
.pill i { background: currentColor; width: 6px; height: 6px; border-radius: 50%; }
.pill[data-state="up"] { color: var(--cpu); background: #112821; }
.pill[data-state="restricted"] { color: var(--warning); background: #2a2319; }
.pill[data-state="down"] { color: var(--error); background: #311c21; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 42px 0 25px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 3.65rem); letter-spacing: -.065em; line-height: 1.05; margin: 0 0 9px; }
h2 { font-size: 1.08rem; font-weight: 680; letter-spacing: -.025em; }
p, .freshness span { color: var(--muted); }
.freshness { display: grid; text-align: right; gap: 1px; font-size: .78rem; white-space: nowrap; }
.freshness time { font: .9rem/1.5 "IBM Plex Mono", monospace; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.panel, .metric { background: var(--panel); border: 1px solid var(--border); border-radius: 13px; }
.panel { margin-bottom: 16px; }
.metric { --accent: var(--cpu); padding: 15px 15px 13px; min-width: 0; }
.metric h2 { font-size: .81rem; color: var(--muted); font-weight: 650; }
.metric strong { display: block; font-size: clamp(1.3rem, 2.35vw, 2.15rem); font-weight: 650; letter-spacing: -.06em; margin: 3px 0 6px; white-space: nowrap; }
.metric p, .metric small { display: block; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.metric small { margin-top: 2px; }
.metric.ram { --accent: var(--ram); }
.metric.disk { --accent: var(--disk); }
.metric.gpu { --accent: var(--warning); }
.meter { display: block; width: 100%; height: 5px; border: 0; border-radius: 8px; margin: 9px 0; overflow: hidden; appearance: none; background: #262d35; }
.meter::-webkit-progress-bar { background: #262d35; }
.meter::-webkit-progress-value { background: var(--accent, var(--cpu)); border-radius: 8px; }
.meter::-moz-progress-bar { background: var(--accent, var(--cpu)); }
.metric.spread p { margin-top: 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 19px; }
.section-head p { font-size: .82rem; margin-top: 2px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 10px; padding: 0 18px 17px; }
.game { min-width: 0; background: #0e1115; border: 1px solid var(--border); border-radius: 9px; padding: 13px; }
.game-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.game h3 { margin: 0; font-size: 1.02rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.game-address { color: var(--muted); font: .72rem/1.6 "IBM Plex Mono", monospace; overflow-wrap: anywhere; }
.game dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 9px; border-top: 1px solid var(--border); margin-top: 10px; }
.game dd { text-align: left; margin: 1px 0 0; font-weight: 620; font-variant-numeric: tabular-nums; }
.game-version { margin-top: 7px; font-size: .72rem; }
.filters { display: flex; gap: 8px; padding: 0 18px 12px; }
.filters input, .filters select { min-width: 0; max-width: 100%; font: inherit; font-size: .8rem; color: var(--text); background: #0e1115; border: 1px solid var(--border); border-radius: 7px; padding: 6px 9px; }
.filters input { width: 230px; }
summary.section-head { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary strong { font-size: 1.08rem; font-weight: 680; }
summary strong::before { content: "›"; color: var(--cpu); display: inline-block; margin-right: 8px; }
details[open] summary strong::before { transform: rotate(90deg); }
summary small { display: block; color: var(--muted); margin-top: 2px; }
.periods { display: flex; gap: 3px; padding: 3px; background: #0c0f13; border: 1px solid var(--border); border-radius: 8px; flex-shrink: 0; }
.periods button { cursor: pointer; border: 0; border-radius: 5px; background: transparent; color: var(--muted); padding: 3px 8px; white-space: nowrap; font-size: .75rem; }
.periods button:hover, .periods button[aria-pressed="true"] { background: #222b31; color: var(--text); }
.activity canvas { display: block; width: calc(100% - 36px); height: 225px; margin: 0 18px; }
.chart-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 19px 15px; font-size: .75rem; color: var(--muted); }
.legend { display: flex; gap: 14px; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.legend .cpu::before { background: var(--cpu); }
.legend .ram::before { background: var(--ram); }
.legend .disk::before { background: var(--disk); }
.counter { padding: 3px 9px; color: var(--muted); font-size: .76rem; border: 1px solid var(--border); border-radius: 6px; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { background: #151a20; }
th, td { padding: 10px 17px; border-top: 1px solid var(--border); font-variant-numeric: tabular-nums; }
th { color: var(--muted); font-size: .74rem; font-weight: 650; }
td { font-size: .83rem; }
td:first-child { font-weight: 620; }
td a { display: inline-block; }
td small { display: block; font-size: .71rem; color: var(--muted); font-weight: 400; }
.table-note { padding: 11px 17px; border-top: 1px solid var(--border); font-size: .76rem; }
.history { display: flex; gap: 2px; }
.history i { height: 14px; width: 5px; border-radius: 1.5px; background: #283039; }
.history i[data-state="up"] { background: #509b81; }
.history i[data-state="restricted"] { background: #b88847; }
.history i[data-state="down"] { background: #cf6a70; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1.15fr 1fr; gap: 12px; }
.detail { padding: 16px; }
.detail p { margin-top: 10px; font-size: .75rem; }
.cores, .volumes { display: grid; gap: 7px 15px; margin-top: 12px; }
.cores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.line { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; font-size: .78rem; }
.line span:last-child { color: var(--muted); text-align: right; }
.detail .meter { margin: 4px 0; }
.volumes { --accent: var(--disk); }
dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; font-size: .78rem; margin: 12px 0 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
footer { padding: 7px 0 26px; display: flex; justify-content: space-between; gap: 14px; font-size: .74rem; color: var(--muted); }
@media (max-width: 1050px) {
  .frame { width: calc(100% - 42px); }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .frame { width: calc(100% - 24px); }
  nav { display: none; }
  .intro { padding: 29px 0 17px; align-items: start; }
  .freshness { margin-top: 5px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric { padding: 11px; }
  .detail-grid { grid-template-columns: 1fr; gap: 0; }
  .section-head { padding: 13px; }
  .activity canvas { height: 155px; }
  footer { flex-wrap: wrap; }
}
