:root { --bg: #0e141c; --card: #151d28; --line: #233042; --text: #e6edf5; --muted: #8a97a8; --ok: #2fbf71;
  --talk: #ff5a4e; --accent: #4ea3ff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 1000; }
.brand { font-size: 18px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.stats b { font-size: 16px; }
main { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; padding: 16px 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
h2 { font-size: 15px; margin: 0 0 10px; font-weight: 600; letter-spacing: .02em; }
#map { height: 380px; border-radius: 8px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #556; }
.dot.on { background: var(--ok); } .dot.live { background: var(--talk); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,78,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,90,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,78,0); } }
.talkers { display: flex; flex-wrap: wrap; gap: 10px; }
.talker { display: flex; align-items: center; gap: 10px; background: #1d2734; border: 1px solid #3a2a2a;
  border-radius: 9px; padding: 9px 12px; }
.talker .call { font-weight: 700; font-size: 17px; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .grow div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg { font-family: ui-monospace, monospace; font-weight: 600; }
.btn { background: #233246; color: var(--text); border: 1px solid #2f4460; border-radius: 7px; padding: 5px 11px;
  font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2b3e57; } .btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.player { position: sticky; top: 58px; z-index: 999; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 12px 20px 0; padding: 10px 14px; background: #13263d; border: 1px solid #2c4a70; border-radius: 10px; }
.player audio { height: 34px; flex: 1; min-width: 200px; }
details summary { cursor: pointer; }
.nodes { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.chip { background: #1d2734; border-radius: 6px; padding: 2px 7px; font-size: 13px; }
.chip.talk { background: #4a1f1c; color: #ffd6d2; }
footer { padding: 6px 20px 24px; }
.leaflet-container { background: #0b1118; }
