:root{
  --bg:#0E1116;--surface:#151A21;--surface-2:#1C222B;--border:#2A323D;--text:#E6EAF0;--muted:#A3ADBA;--subtle:#8A95A3;
  --accent:#D4A82A;--ok:#3FB67A;--warn:#D9A13B;--danger:#EE6B63;--info:#5B9BD5;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--mono:"JetBrains Mono","Fira Code",Consolas,monospace;
  color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}
.wrap{max-width:960px;margin:0 auto;padding:32px 16px 48px}
header{display:flex;align-items:center;gap:14px;margin-bottom:24px}
header img{width:44px;height:44px;border-radius:12px}
h1{margin:0;font-size:22px;letter-spacing:-.01em}
.sub{margin:2px 0 0;color:var(--muted);font-size:13px}
.summary{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.chip{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:999px;background:var(--surface);border:1px solid var(--border);font-size:13px;color:var(--muted)}
.chip b{color:var(--text);font-variant-numeric:tabular-nums}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:12px}
.card{position:relative;padding:16px;border:1px solid var(--border);border-left:3px solid var(--g,var(--border));border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:12px;min-width:0}
.top{display:flex;align-items:center;gap:12px;min-width:0}
.top img{width:36px;height:36px;border-radius:10px;flex:none;background:var(--surface-2)}
.name{font-weight:650;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game{color:var(--subtle);font-size:12px}
.pill{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600}
.pill i{width:8px;height:8px;border-radius:50%;background:currentColor}
.running{color:var(--ok);background:rgba(63,182,122,.1)}
.transition{color:var(--warn);background:rgba(217,161,59,.1)}
.stopped{color:var(--subtle);background:var(--surface-2)}
.error{color:var(--danger);background:rgba(238,107,99,.1)}
.row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}
.row b{color:var(--text);font-variant-numeric:tabular-nums}
.addr{display:flex;align-items:center;gap:8px;min-width:0}
.addr code{font-family:var(--mono);font-size:12.5px;color:var(--text);background:var(--surface-2);padding:5px 8px;border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
button.copy{flex:none;height:28px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
button.copy:hover{color:var(--text);border-color:var(--subtle)}
.empty,.err{padding:28px;border:1px dashed var(--border);border-radius:14px;color:var(--muted);text-align:center}
footer{margin-top:24px;color:var(--subtle);font-size:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
footer a{color:var(--muted)}
.sk{height:132px;border-radius:14px;background:linear-gradient(100deg,var(--surface) 40%,var(--surface-2) 50%,var(--surface) 60%);background-size:200% 100%;animation:sh 1.4s linear infinite;border:1px solid var(--border)}
@keyframes sh{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}
