/* ============ Testnet Dashboard — design system ============ */
:root {
  --bg: #0D0F12;
  --card: #14171B;
  --surface: #1A1E24;
  --surface-2: #232830;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #E8EAED;
  --text-2: #9AA1A9;
  --text-3: #626A73;
  --accent: #4C8DFF;
  --accent-2: #3FB9A8;
  --accent-soft: rgba(76, 141, 255, 0.13);
  --green: #3FB970;
  --green-soft: rgba(63, 185, 112, 0.14);
  --yellow: #D9A83C;
  --yellow-soft: rgba(217, 168, 60, 0.15);
  --red: #E05C5C;
  --red-soft: rgba(224, 92, 92, 0.15);
  --radius: 10px;
  --radius-sm: 7px;
  --sidebar-w: 248px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  --mono: ui-monospace, 'Cascadia Code', 'Cascadia Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}
[data-theme="light"] {
  --bg: #F4F5F7;
  --card: #FFFFFF;
  --surface: #EDF0F3;
  --surface-2: #E2E6EB;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #171B20;
  --text-2: #5A626C;
  --text-3: #8A939E;
  --accent: #2F6FE4;
  --accent-soft: rgba(47, 111, 228, 0.12);
  --green: #1E9E55;
  --green-soft: rgba(30, 158, 85, 0.12);
  --yellow: #B07E18;
  --yellow-soft: rgba(176, 126, 24, 0.13);
  --red: #C94A4A;
  --red-soft: rgba(201, 74, 74, 0.12);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent-soft); }
code { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============ layout ============ */
.app { display: flex; min-height: 100vh; }
.main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 24px 32px 44px;
  max-width: 1400px;
  min-width: 0;
}

/* ============ sidebar ============ */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
  display: flex; flex-direction: column;
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 18px 12px; z-index: 50;
  transition: transform .25s ease;
}
.sidebar-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 16px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: var(--accent);
  color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 700; letter-spacing: .1em; font-size: 12.5px; }
.brand-sub { font-size: 11.5px; color: var(--text-3); }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 500; font-size: 13.5px;
  transition: background .15s, color .15s;
  text-align: left; width: 100%;
}
.nav-item svg { width: 18px; height: 18px; flex: none; }
.nav-item:hover { background: var(--surface); color: var(--text); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); }

.sidebar-footer { padding-top: 12px; border-top: 1px solid var(--border); }
.status-pill { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); }
.status-pill-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.status-pill-text span { font-size: 12.5px; font-weight: 600; }
.status-pill-text small { font-size: 11px; color: var(--text-3); }
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40;
}

/* status dots — flat; only the "live" dot pulses */
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-green { background: var(--green); animation: pulse 2.6s ease-in-out infinite; }
.dot-yellow { background: var(--yellow); }
.dot-red { background: var(--red); }
.dot-grey { background: var(--text-3); }
.svc-badge .dot { width: 6px; height: 6px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ============ topbar ============ */
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.menu-btn { display: none; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text-2); transition: color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.topbar-title { flex: 1; min-width: 0; }
.topbar-title h1 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.topbar-title p { font-size: 13px; color: var(--text-2); margin-top: 1px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.pill-outline { border: 1px solid var(--border); background: var(--card); font-size: 12.5px; font-weight: 600; padding: 7px 12px; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ============ views ============ */
.view { display: none; }
.view.active { display: block; }

/* ============ cards ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* info chips */
.info-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: flex; align-items: baseline; gap: 7px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 12px; font-size: 12.5px;
}
.chip-label { color: var(--text-3); font-weight: 600; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; }
.chip-value { font-family: var(--mono); font-size: 12px; font-weight: 500; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ stat cards ============ */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px; margin-bottom: 26px;
}
.stat-card { padding: 18px; }
.stat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stat-title { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.stat-tag {
  font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
}
.stat-tag.warn { background: var(--yellow-soft); color: var(--yellow); }
.stat-tag.crit { background: var(--red-soft); color: var(--red); }
.stat-tag.muted { background: var(--surface); color: var(--text-2); }
.stat-body { display: flex; align-items: center; gap: 18px; }
.stat-body-col { flex-direction: column; align-items: stretch; gap: 10px; }

/* donut */
.donut { position: relative; width: 84px; height: 84px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 7; }
.donut-bg { stroke: var(--surface-2); }
.donut-val {
  stroke: var(--accent);
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset .6s ease, stroke .3s;
}
.donut-val-mem { stroke: var(--accent-2); }
.donut-center {
  position: absolute; inset: 0; display: flex; align-items: baseline;
  justify-content: center; padding-top: 26px;
  font-weight: 700; font-size: 19px;
  font-variant-numeric: tabular-nums;
}
.donut-center small { font-size: 11px; color: var(--text-3); font-weight: 600; margin-left: 1px; }

.stat-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.meta-row { display: flex; justify-content: space-between; font-size: 13px; gap: 10px; }
.meta-row span { color: var(--text-2); }
.meta-row b { font-weight: 500; font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.meta-model b { white-space: normal; text-align: right; font-size: 11.5px; line-height: 1.35; }

.big-num { font-size: 30px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.big-num small { font-size: 15px; color: var(--text-3); font-weight: 600; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--accent);
  transition: width .5s ease;
}

.net-speeds { display: flex; gap: 20px; }
.net-speed { display: flex; align-items: baseline; gap: 6px; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.net-speed small { font-size: 11px; color: var(--text-3); font-weight: 600; }
.net-arrow { font-size: 15px; font-weight: 800; }
.net-down { color: var(--green); }
.net-up { color: var(--accent); }

/* ============ section titles / panels ============ */
.section-title { font-size: 14px; font-weight: 600; margin: 2px 0 12px; }
.panel { padding: 18px 20px; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.panel-title { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.panel-head .panel-title { margin-bottom: 0; }

.btn-ghost {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  transition: color .15s, border-color .15s, background .15s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }

/* ============ charts ============ */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 14px; }
.chart-card { padding: 16px 18px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.chart-head span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.chart-head b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart { height: 90px; position: relative; }
.chart svg { width: 100%; height: 100%; display: block; }
.chart .spark-area { opacity: .14; }
.chart .spark-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .spark-dot { transition: cx .3s, cy .3s; }

/* ============ detail grid (system/about) ============ */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.detail {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.detail span { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.detail b { font-size: 12.5px; font-weight: 500; font-family: var(--mono); overflow-wrap: anywhere; }

/* ============ tables ============ */
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-3);
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td { padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--surface); }
.table .num { font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 12px; }
.proc-name { font-weight: 500; font-family: var(--mono); font-size: 12px; }
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: var(--text); }
.sortable .sort-ind { margin-left: 4px; font-size: 9px; }
.sortable.sorted-asc .sort-ind::after { content: '▲'; }
.sortable.sorted-desc .sort-ind::after { content: '▼'; }
.usage-cell { min-width: 130px; }
.usage-flex { display: flex; align-items: center; gap: 10px; }
.usage-flex .bar { width: 76px; height: 5px; flex: none; }

/* ============ services ============ */
.service-list { display: flex; flex-direction: column; }
.service-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px; border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row .svc-name { flex: 1; font-weight: 500; font-size: 13.5px; }
.service-row .svc-id { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }
.svc-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.svc-badge.ok { background: var(--green-soft); color: var(--green); }
.svc-badge.warn { background: var(--yellow-soft); color: var(--yellow); }
.svc-badge.bad { background: var(--red-soft); color: var(--red); }
.svc-badge.off { background: var(--surface); color: var(--text-2); }

/* ============ network ============ */
.iface-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.iface-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.iface-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.iface-head b { font-size: 13.5px; font-family: var(--mono); }
.iface-head .svc-badge { margin-left: auto; }
.iface-rows { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.iface-row { display: flex; justify-content: space-between; gap: 10px; }
.iface-row span { color: var(--text-2); }
.iface-row b { font-weight: 500; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }

/* ============ settings ============ */
.setting-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.setting-row:last-child { border-bottom: none; }
.setting-row b { font-size: 13.5px; font-weight: 600; }
.setting-row p { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.seg { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.seg button { padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); transition: background .15s, color .15s; }
.seg button.active { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.select {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; outline: none;
}
.select:focus { border-color: var(--accent); }

.foot { margin-top: 32px; text-align: center; font-size: 11.5px; color: var(--text-3); }

/* ============ home hub (standalone start page) ============ */
body.hub-page { min-height: 100vh; }
.hub-screen-inner { width: 100%; max-width: 1040px; margin: 0 auto; padding: 44px 24px 56px; }
.hub-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hub-brand-row .brand-mark { width: 40px; height: 40px; border-radius: 9px; font-size: 18px; }
.hub-brand-text { flex: 1; min-width: 0; }
.hub-greeting { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.hub-greeting-sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.hub-theme-btn { flex: none; }
#admin-toggle.admin-active { color: var(--accent); border-color: var(--accent); }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hub-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .15s, background .15s;
}
.hub-card[data-href]:not([data-href=""]):hover { border-color: var(--border-strong); background: var(--surface); }
.hub-card[data-href]:not([data-href=""]):hover .hub-open { color: var(--accent); }
.hub-off { opacity: .65; }
.hub-icon {
  width: 40px; height: 40px; flex: none; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.hub-icon svg { width: 22px; height: 22px; }
.hub-info { flex: 1; min-width: 0; }
.hub-name { font-size: 14px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hub-open { font-size: 10.5px; font-weight: 600; color: var(--text-3); transition: color .15s; }
.hub-desc { font-size: 12.5px; color: var(--text-2); margin-top: 1px; }
.hub-meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 8px; }
.hub-motd { font-family: var(--mono); font-size: 11px; color: var(--text-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-card .svc-badge { flex: none; }
.hub-hint { margin-top: 20px; font-size: 12px; color: var(--text-3); }
.hub-hint code { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; font-size: 11px; }

/* card action chips */
.hub-controls { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.hub-chip {
  font: inherit; font-size: 11.5px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: transparent; color: var(--text-2);
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.hub-chip:hover { border-color: var(--accent); color: var(--accent); }
.hub-chip.danger { border-color: rgba(224, 92, 92, .4); color: var(--red); }
.hub-chip.danger:hover { background: var(--red-soft); border-color: var(--red); }
.hub-chip:disabled { opacity: .5; cursor: default; }

/* connect modal */
.connect-modal {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(6, 8, 10, .62);
  display: grid; place-items: center; padding: 20px;
}
.connect-modal[hidden] { display: none; }
.connect-card {
  background: var(--card); border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  width: 100%; max-width: 420px; padding: 20px 22px;
}
.connect-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14.5px; }
.connect-steps { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 13.5px; line-height: 1.7; }
.connect-steps li { margin-bottom: 4px; }

/* minecraft manage modal */
.mc-card { max-width: 560px; max-height: 85vh; overflow-y: auto; }
.mc-sec { margin-bottom: 16px; }
.mc-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 6px; }
.mc-dim { color: var(--text-3); font-size: 12.5px; }
.mc-cmdrow { display: flex; gap: 8px; margin-top: 8px; }
.mc-cmdrow input {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 10px; color: var(--text);
  font-family: var(--mono); font-size: 12.5px; outline: none;
}
.mc-cmdrow input:focus { border-color: var(--accent); }
#mc-log {
  height: 240px; overflow-y: auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
}
.mc-line { white-space: pre-wrap; margin: 2px 0; }
.mc-in { color: var(--accent); }
#mc-props { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.mc-prop { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--text-2); font-family: var(--mono); }
.mc-prop input, .mc-prop select {
  width: 130px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px; color: var(--text);
  font: inherit; font-size: 12px; outline: none;
}
.mc-prop input:focus, .mc-prop select:focus { border-color: var(--accent); }
.mc-btnrow { margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.mc-plug { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 11.5px; font-family: var(--mono); }
input[type=file]#mc-upload { font-size: 12px; color: var(--text-3); }

/* ============ offline banner ============ */
.offline-banner {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  background: var(--red-soft); color: var(--red);
  border: 1px solid rgba(224, 92, 92, .35);
  padding: 7px 16px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 600; z-index: 100;
}

/* ============ responsive ============ */
@media (max-width: 960px) {
  .main { padding: 20px 18px 40px; }
  .topbar-title h1 { font-size: 20px; }
}
@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.5); }
  .sidebar.open ~ .sidebar-overlay, .sidebar-overlay.show { opacity: 1; pointer-events: auto; }
  .main { margin-left: 0; }
  .menu-btn { display: grid; }
}
@media (max-width: 560px) {
  .stat-body { flex-direction: column; align-items: stretch; }
  .donut { margin: 0 auto; }
  .stat-meta { width: 100%; }
  .topbar-title p { display: none; }
  .net-speeds { gap: 14px; }
  .pill-outline { display: none; }
}

/* number flash on update */
.flash { animation: flash .5s ease; }
@keyframes flash { 0% { color: var(--accent); } 100% { color: inherit; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============ leaderboard + world map ============ */
.lb { width: 100%; border-collapse: collapse; font-size: 12px; }
.lb th { text-align: right; color: var(--text-3); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px 6px; border-bottom: 1px solid var(--border); }
.lb th:first-child { text-align: left; }
.lb td { padding: 5px 8px; border-bottom: 1px solid var(--border); text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text-2); }
.lb td:first-child { text-align: left; font-family: inherit; font-weight: 600; color: var(--text); }
.lb tr:last-child td { border-bottom: 0; }
.lb tr:hover td { background: var(--surface); }

.mc-map-wrap { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #0D1014; }
.mc-map-wrap img { display: block; width: 100%; image-rendering: pixelated; }
.mc-map-meta { margin-top: 6px; font-size: 11.5px; }
.mc-map-meta a { color: var(--accent); text-decoration: none; }
.mc-map-meta a:hover { text-decoration: underline; }
