diff --git a/public/home.css b/public/home.css
index d9ff6c9..f9747c5 100644
--- a/public/home.css
+++ b/public/home.css
@@ -26,9 +26,9 @@
.home-level-toggle { margin-top: 16px; }
:root {
- --status-green: #45644c;
- --status-yellow: #b08b2d;
- --status-red: #b54a4a;
+ --status-green: #22c55e;
+ --status-yellow: #eab308;
+ --status-red: #ef4444;
}
/* Hero */
@@ -436,7 +436,7 @@
transition: border-color .15s, transform .15s, box-shadow .15s;
position: relative;
}
-.my-node-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(6,10,19,0.12); }
+.my-node-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.my-node-card.healthy { border-left: 4px solid var(--status-green); }
.my-node-card.degraded { border-left: 4px solid var(--status-yellow); }
.my-node-card.silent { border-left: 4px solid var(--status-red); }
diff --git a/public/index.html b/public/index.html
index f08cd5d..2d47e50 100644
--- a/public/index.html
+++ b/public/index.html
@@ -22,7 +22,7 @@
-
+
*:not(.filter-toggle-btn):not(.col-toggle-wrap) { display: none; }
+ .filter-bar.filters-expanded > * { display: inline-flex; }
+ .filter-bar.filters-expanded > .col-toggle-wrap { display: inline-block; }
+ .filter-bar.filters-expanded input { width: 100%; }
+ .filter-bar.filters-expanded select { width: 100%; }
+ .filter-group { flex-wrap: wrap; }
+ .filter-group + .filter-group { border-left: none; padding-left: 0; margin-left: 0; }
+ .filter-bar .btn { min-height: 36px; }
+ .node-filter-wrap { width: 100%; }
/* Nodes */
.nodes-topbar { flex-direction: column; gap: 8px; padding: 10px; }
.nodes-tabs-bar { flex-direction: column; }
+ .nodes-counts { flex-wrap: wrap; }
+ .node-count-pill { font-size: 11px; padding: 2px 8px; }
/* Traces */
.trace-summary { flex-direction: column; }
@@ -837,7 +885,7 @@ button.ch-item.selected { background: var(--selected-bg); }
.search-overlay { padding-top: 60px; }
/* Map controls */
- .map-controls { width: calc(100vw - 24px); right: 12px; top: 8px; max-height: 200px; }
+ .map-controls { width: calc(100vw - 24px); right: 12px; top: 8px; max-height: 200px; font-size: 12px; padding: 10px 12px; }
#leaflet-map { z-index: 0; }
#map-wrap { z-index: 0; }
@@ -886,7 +934,7 @@ button.ch-item.selected { background: var(--selected-bg); }
border: 1px solid var(--border); border-radius: 6px; background: var(--surface-1);
color: var(--text);
}
-.byop-input:focus { border-color: var(--accent); outline: none; }
+.byop-input:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.byop-err { color: #ef4444; font-size: .85rem; }
.byop-decoded { margin-top: 8px; }
.byop-section { margin-bottom: 14px; }
@@ -908,7 +956,7 @@ button.ch-item.selected { background: var(--selected-bg); }
.nav-fav-dropdown {
display: none; position: absolute; top: 100%; right: 0; z-index: 1000;
min-width: 260px; max-height: 360px; overflow-y: auto;
- background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
+ background: var(--surface-1, var(--detail-bg)); border: 1px solid var(--border); border-radius: 8px;
box-shadow: 0 8px 24px rgba(0,0,0,.15); margin-top: 6px;
}
.nav-fav-dropdown.open { display: block; }
@@ -936,10 +984,14 @@ button.ch-item.selected { background: var(--selected-bg); }
/* Column resize handles */
.col-resize-handle {
- position: absolute; top: 4px; right: -1px; width: 3px; height: calc(100% - 8px);
- cursor: col-resize; z-index: 5; background: var(--border); border-radius: 1px;
+ position: absolute; top: 0; right: -4px; width: 9px; height: 100%;
+ cursor: col-resize; z-index: 5; background: transparent; border-radius: 1px;
}
-.col-resize-handle:hover, .col-resize-handle.active {
+.col-resize-handle::after {
+ content: ''; position: absolute; top: 4px; left: 3px; width: 3px; height: calc(100% - 8px);
+ background: var(--border); border-radius: 1px;
+}
+.col-resize-handle:hover::after, .col-resize-handle.active::after {
background: var(--accent); opacity: 0.6;
}
@@ -971,7 +1023,7 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
min-height: 36px;
font-size: 14px;
}
- .ch-avatar.ch-tappable { min-width: 40px; min-height: 40px; width: 40px; height: 40px; }
+ .ch-avatar.ch-tappable { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
}
/* Full-screen node detail */
@@ -1038,7 +1090,7 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
.tab-btn { padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--card-bg); color: var(--text); cursor: pointer; font-size: 13px; transition: all .15s; }
.tab-btn:hover { background: var(--hover-bg, rgba(0,0,0,.04)); }
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
-.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
+.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 240px)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px; text-align: center; }
.stat-value { font-size: 24px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
@@ -1066,6 +1118,8 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
.stats-grid { grid-template-columns: repeat(2, 1fr); }
.repeater-name { min-width: 80px; }
.reach-ring { flex-wrap: wrap; }
+ .analytics-page { padding: 12px; }
+ .analytics-grid { grid-template-columns: 1fr; }
}
.observer-selector { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.node-qr { text-align: center; margin-top: 8px; }
@@ -1115,6 +1169,12 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
transition: background 0.1s;
}
.node-filter-option:hover { background: var(--surface-2, rgba(255,255,255,0.08)); }
+.node-filter-option.node-filter-active { background: var(--accent); color: #fff; }
+
+/* Hide low-value columns on mobile */
+@media (max-width: 640px) {
+ .col-region, .col-rpt, .col-size { display: none; }
+}
/* Clickable hop links */
.hop-link {
@@ -1140,6 +1200,19 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
}
.detail-map-link:hover { background: rgba(245, 158, 11, 0.25); }
+.copy-link-btn {
+ padding: 5px 12px;
+ background: rgba(59, 130, 246, 0.12);
+ border: 1px solid rgba(59, 130, 246, 0.25);
+ color: var(--primary, #3b82f6);
+ border-radius: 6px;
+ font-size: 0.78rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: background 0.15s;
+}
+.copy-link-btn:hover { background: rgba(59, 130, 246, 0.25); }
+
/* Route tooltip on map */
.route-tooltip {
background: rgba(0,0,0,0.8) !important;
@@ -1151,54 +1224,24 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
/* Ambiguous hop indicator */
.hop-ambiguous { border-bottom: 1px dashed #f59e0b; }
-.hop-warn { font-size: 0.7em; margin-left: 2px; vertical-align: super; }
-
-/* Self-loop subpath rows */
-.subpath-selfloop { opacity: 0.6; }
-.subpath-selfloop td:first-child::after { content: ''; }
-
-/* Hop prefix in subpath routes */
-.hop-prefix { color: #9ca3af; font-size: 0.8em; }
-
-/* Subpath split layout */
-.subpath-layout { display: flex; gap: 0; height: calc(100vh - 160px); position: relative; }
-.subpath-list { flex: 1; overflow-y: auto; padding: 16px; min-width: 0; }
-.subpath-detail { width: 420px; min-width: 360px; max-width: 50vw; border-left: 1px solid var(--border, #e5e7eb); overflow-y: auto; padding: 16px; transition: width 0.2s; }
-.subpath-detail.collapsed { width: 0; min-width: 0; padding: 0; overflow: hidden; border: none; }
-.subpath-detail-inner h4 { margin: 0 0 4px; word-break: break-word; }
-.subpath-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; color: #9ca3af; font-size: 0.9em; }
-.subpath-section { margin: 16px 0; }
-.subpath-section h5 { margin: 0 0 6px; font-size: 0.9em; }
-.subpath-selected { background: var(--accent, #3b82f6) !important; color: #fff; }
-.subpath-selected .hop-prefix { color: rgba(255,255,255,0.6); }
-tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
-
-/* Hour distribution chart */
-.hour-chart { display: flex; align-items: flex-end; gap: 2px; height: 60px; }
-.hour-bar { flex: 1; background: var(--accent, #3b82f6); border-radius: 2px 2px 0 0; min-width: 4px; }
-.hour-labels { display: flex; justify-content: space-between; font-size: 0.7em; color: #9ca3af; }
-
-/* Parent paths */
-.parent-path { padding: 3px 0; border-bottom: 1px solid var(--border, #e5e7eb); }
-
-@media (max-width: 768px) {
- .subpath-layout { flex-direction: column; height: auto; }
- .subpath-detail { width: 100%; border-left: none; border-top: 1px solid var(--border, #e5e7eb); }
-}
-
-/* Subpath jump nav */
-.subpath-jump-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 0.9em; flex-wrap: wrap; }
-.subpath-jump-nav span { color: #9ca3af; }
-.subpath-jump-nav a { padding: 4px 12px; border-radius: 4px; background: var(--accent, #3b82f6); color: #fff; text-decoration: none; font-size: 0.85em; }
-.subpath-jump-nav a:hover { opacity: 0.8; }
-
-/* Route patterns table breathing room */
-.subpath-list .analytics-table td:nth-child(2) { white-space: normal; word-break: break-word; max-width: 50vw; }
-.subpath-list .analytics-table { table-layout: auto; }
-.subpath-list h4 { margin-top: 24px; }
-
-
-/* === Functional CSS (hop conflicts, audio, matrix, region dropdown) === */
+.hop-warn { font-size: 0.7em; margin-left: 2px; vertical-align: super; color: #f59e0b; }
+.hop-conflict-btn { background: #f59e0b; color: #000; border: none; border-radius: 4px; font-size: 11px;
+ font-weight: 700; padding: 1px 5px; cursor: pointer; vertical-align: middle; margin-left: 3px; line-height: 1.2; }
+.hop-conflict-btn:hover { background: #d97706; }
+.hop-conflict-popover { position: absolute; z-index: 9999; background: var(--surface-1); border: 1px solid var(--border);
+ border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); width: 260px; max-height: 300px; overflow-y: auto; }
+.hop-conflict-header { padding: 10px 12px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--border);
+ color: var(--text-muted); }
+.hop-conflict-list { padding: 4px 0; }
+.hop-conflict-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none;
+ color: var(--text); font-size: 13px; border-bottom: 1px solid var(--border); }
+.hop-conflict-item:last-child { border-bottom: none; }
+.hop-conflict-item:hover { background: var(--hover-bg); }
+.hop-conflict-name { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.hop-conflict-dist { font-size: 11px; color: var(--text-muted); font-family: var(--mono); white-space: nowrap; }
+.hop-conflict-pk { font-size: 10px; color: var(--text-muted); font-family: var(--mono); }
+.hop-unreliable { opacity: 0.5; text-decoration: line-through; }
+.hop-global-fallback { border-bottom: 1px dashed #ef4444; }
.hop-current { font-weight: 700 !important; color: var(--accent) !important; }
/* Self-loop subpath rows */
@@ -1233,6 +1276,237 @@ tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
.subpath-layout { flex-direction: column; height: auto; }
.subpath-detail { width: 100%; border-left: none; border-top: 1px solid var(--border, #e5e7eb); }
}
+
+@media (max-width: 480px) {
+ .subpath-detail { min-width: 100%; width: 100%; max-width: 100%; }
+ .subpath-layout { flex-direction: column; }
+}
+
+/* Legend swatches */
+.legend-swatch { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--border); vertical-align: middle; }
+
+/* Subpath jump nav */
+.subpath-jump-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 0.9em; flex-wrap: wrap; }
+.subpath-jump-nav span { color: #9ca3af; }
+.subpath-jump-nav a { padding: 4px 12px; border-radius: 4px; background: var(--accent, #3b82f6); color: #fff; text-decoration: none; font-size: 0.85em; }
+.subpath-jump-nav a:hover { opacity: 0.8; }
+
+/* Route patterns table breathing room */
+.subpath-list .analytics-table td:nth-child(2) { white-space: normal; word-break: break-word; max-width: 50vw; }
+.subpath-list .analytics-table { table-layout: auto; }
+.subpath-list h4 { margin-top: 24px; }
+
+/* #70 — BYOP textarea larger on mobile */
+@media (max-width: 640px) {
+ .byop-input { min-height: 120px; }
+}
+
+/* #71 — Column visibility toggle */
+.col-toggle-wrap { position: relative; display: inline-block; }
+.col-toggle-btn { font-size: 13px; padding: 6px 10px; cursor: pointer; background: var(--input-bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text); height: 34px; box-sizing: border-box; line-height: 1; }
+.col-toggle-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 50; background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 0; min-width: 150px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
+.col-toggle-menu.open { display: block; }
+.col-toggle-menu label { display: flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: .82rem; cursor: pointer; color: var(--text); }
+.col-toggle-menu label input[type="checkbox"] { width: 14px; height: 14px; margin: 0; flex-shrink: 0; }
+.col-toggle-menu label:hover { background: var(--row-hover); }
+
+/* Column hide classes */
+.hide-col-region .col-region,
+.hide-col-time .col-time,
+.hide-col-hash .col-hash,
+.hide-col-size .col-size,
+.hide-col-type .col-type,
+.hide-col-observer .col-observer,
+.hide-col-path .col-path,
+.hide-col-rpt .col-rpt,
+.hide-col-details .col-details { display: none; }
+
+/* === Home page fixes === */
+
+/* #25 — Widen home page content cap from 720px to 1200px */
+.home-stats,
+.home-health,
+.home-journey,
+.home-checklist,
+.home-footer,
+.home-favorites { max-width: 1200px; }
+
+/* #40 — Increase suggest-claim touch target to ≥44px */
+.suggest-claim { min-height: 44px; min-width: 44px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; }
+
+/* #41 — Lower My Nodes grid minimum to prevent overflow on 375-640px */
+.my-nodes-grid { max-width: 1200px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
+
+/* #42 — Stats cards: use grid with max-width per card on wide screens */
+.home-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 200px)); justify-content: center; }
+
+/* #44 — Namespaced home sparkline classes (avoid collision with observers .spark-bar) */
+.home-spark-label { font-size: .65rem; color: var(--text-muted); margin-bottom: 4px; }
+.home-spark-bars { display: flex; align-items: flex-end; gap: 2px; height: 28px; }
+.home-spark-bar { flex: 1; background: var(--accent); border-radius: 1px; min-width: 0; }
+
+/* === Bug fixes: #17 #20 #21 #69 === */
+
+/* #17 — Hash matrix mobile overflow */
+.hash-matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
+@media (max-width: 640px) {
+ .hash-matrix-table td { width: 24px !important; height: 24px !important; font-size: 0.7em !important; }
+ .hash-matrix-table td .hash-cell { padding: 0; }
+}
+
+/* #20 — Observers table horizontal scroll on mobile */
+.obs-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
+.obs-table-scroll .obs-table { min-width: 640px; }
+@media (max-width: 640px) {
+ .spark-bar { min-width: 60px; width: auto; }
+}
+
+/* #21 — Chat message bubble max-width */
+.ch-msg-bubble { max-width: 720px; }
+
+/* #69 — Touch-friendly resize handle */
+@media (pointer: coarse) {
+ .panel-resize-handle { width: 12px !important; }
+}
+/* #21 — max-width applied via .ch-msg-bubble rule above */
+
+/* === Bug fixes: #16 collapsible controls, #53 detail map height === */
+.map-controls-toggle {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ z-index: 1001;
+ width: 36px;
+ height: 36px;
+ border-radius: 6px;
+ border: 1px solid var(--border, #333);
+ background: var(--bg-card, #1e1e1e);
+ color: var(--text, #fff);
+ font-size: 18px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ box-shadow: 0 2px 6px rgba(0,0,0,0.3);
+}
+.map-controls.collapsed {
+ display: none;
+}
+.node-detail-map {
+ height: 280px;
+ min-height: 200px;
+}
+@media (max-width: 640px) {
+ .node-detail-map {
+ height: 200px;
+ min-height: 160px;
+ }
+}
+.detail-back-btn {
+ background: none;
+ border: 1px solid var(--border, #333);
+ color: var(--text, #fff);
+ padding: 4px 12px;
+ border-radius: 6px;
+ cursor: pointer;
+ font-size: 16px;
+}
+
+.meshcore-marker { background: none !important; border: none !important; }
+
+/* === Node Analytics === */
+.analytics-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
+.analytics-stat-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; text-align: center; }
+.analytics-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 2px; }
+.analytics-stat-value { font-size: 20px; font-weight: 700; }
+.analytics-stat-desc { font-size: 10px; color: var(--text-muted); margin-top: 2px; font-style: italic; }
+.analytics-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
+.analytics-chart-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; padding: 12px; }
+.analytics-chart-card.full { grid-column: 1 / -1; }
+.analytics-chart-card h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 4px; }
+.analytics-chart-desc { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; font-style: italic; }
+.analytics-heatmap { display: grid; grid-template-columns: 40px repeat(24, 1fr); gap: 2px; }
+.analytics-heatmap-cell { aspect-ratio: 1; border-radius: 2px; cursor: default; }
+.analytics-heatmap-label { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; }
+.analytics-time-range { display: flex; gap: 8px; margin-bottom: 16px; }
+.analytics-time-range button { padding: 4px 12px; border-radius: 4px; border: 1px solid var(--border); background: var(--card-bg); color: var(--text); cursor: pointer; font-size: 12px; }
+.analytics-time-range button.active { background: var(--accent); color: white; border-color: var(--accent); }
+.analytics-peer-table { width: 100%; border-collapse: collapse; font-size: 13px; }
+.analytics-peer-table th { text-align: left; padding: 6px 8px; border-bottom: 2px solid var(--border); color: var(--text-muted); font-size: 11px; text-transform: uppercase; }
+.analytics-peer-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
+.analytics-peer-table tr:hover td { background: var(--card-bg); }
+@media (max-width: 768px) { .analytics-stats { grid-template-columns: repeat(2, 1fr); } .analytics-charts { grid-template-columns: 1fr; } }
+@media (max-width: 480px) { .analytics-stats { grid-template-columns: 1fr; } }
+
+/* Claimed (My Mesh) node rows */
+.claimed-row { background: color-mix(in srgb, var(--accent) 8%, transparent) !important; border-left: 3px solid var(--accent); }
+.claimed-row:hover { background: color-mix(in srgb, var(--accent) 14%, transparent) !important; }
+.claimed-badge { color: var(--accent); font-size: 13px; margin-right: 2px; }
+
+/* Filter toggle button — hidden on desktop */
+.filter-toggle-btn { display: none; }
+
+/* Mobile detail bottom sheet */
+.mobile-detail-sheet {
+ display: none;
+ position: fixed; bottom: 0; left: 0; right: 0;
+ max-height: 70vh; background: var(--detail-bg);
+ border-top-left-radius: 16px; border-top-right-radius: 16px;
+ box-shadow: 0 -4px 24px rgba(0,0,0,.3);
+ z-index: 200; overflow-y: auto; padding: 8px 16px 24px;
+ transform: translateY(100%); transition: transform .25s ease;
+}
+.mobile-detail-sheet.open { display: block; transform: translateY(0); }
+.mobile-sheet-handle {
+ width: 40px; height: 4px; background: var(--border);
+ border-radius: 2px; margin: 4px auto 8px; cursor: pointer;
+}
+.mobile-sheet-close {
+ position: absolute; top: 8px; right: 12px;
+ background: none; border: none; font-size: 20px;
+ color: var(--text-muted); cursor: pointer; z-index: 1;
+}
+.mobile-sheet-close:hover { color: var(--text); }
+.mobile-sheet-content { padding-top: 4px; }
+
+/* Perf dashboard */
+.perf-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px; padding: 12px 20px; min-width: 120px; text-align: center; }
+.perf-num { font-size: 24px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
+.perf-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
+.perf-table { width: 100%; border-collapse: collapse; font-size: 13px; }
+.perf-table th { text-align: left; padding: 6px 10px; border-bottom: 2px solid var(--border); color: var(--text-muted); font-size: 11px; text-transform: uppercase; }
+.perf-table td { padding: 5px 10px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
+.perf-table code { font-size: 12px; color: var(--text); }
+.perf-table .perf-slow { background: rgba(239, 68, 68, 0.08); }
+.perf-table .perf-slow td { color: #ef4444; }
+.perf-table .perf-warn { background: rgba(251, 191, 36, 0.06); }
+.perf-table .perf-warn td { color: #f59e0b; }
+
+/* ─── Region filter bar ─── */
+.region-filter-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; }
+.region-filter-container { margin: 0; padding: 0; display: inline-flex; align-items: center; }
+.region-pill {
+ display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 16px;
+ font-size: 12px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--border);
+ background: transparent; color: var(--text-muted); transition: all 0.15s;
+}
+.region-pill:hover { border-color: var(--accent); color: var(--accent); }
+.region-pill-active {
+ background: var(--accent); color: #fff; border-color: var(--accent);
+}
+.region-pill-active:hover { opacity: 0.85; }
+.region-filter-label {
+ font-size: 12px; font-weight: 600; color: var(--text-muted); align-self: center;
+ margin-right: 2px; user-select: none;
+}
+.region-dropdown-wrap { position: relative; display: inline-flex; align-items: center; }
+.region-dropdown-trigger {
+ display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 6px;
+ font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid var(--border);
+ background: var(--input-bg); color: var(--text); transition: all 0.15s;
+ height: 34px; box-sizing: border-box; white-space: nowrap; line-height: 1;
+}
+.region-dropdown-trigger:hover { border-color: var(--accent); color: var(--accent); }
.region-dropdown-menu {
position: absolute; top: 100%; left: 0; z-index: 90;
min-width: 220px; width: max-content; max-height: 260px; overflow-y: auto;
@@ -1257,6 +1531,30 @@ tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
background: var(--input-bg); color: var(--text); transition: all 0.15s;
height: 34px; box-sizing: border-box; white-space: nowrap; line-height: 1;
}
+.multi-select-trigger:hover { border-color: var(--accent); color: var(--accent); }
+.multi-select-menu {
+ position: absolute; top: 100%; left: 0; z-index: 90;
+ min-width: 220px; max-height: 260px; overflow-y: auto;
+ background: var(--card-bg, #fff); border: 1px solid var(--border); border-radius: 8px;
+ box-shadow: 0 4px 16px rgba(0,0,0,0.12); padding: 4px 0; display: none;
+}
+.multi-select-menu.open { display: block; }
+.multi-select-item {
+ display: flex; align-items: center; gap: 6px; padding: 6px 12px;
+ font-size: 13px; cursor: pointer; color: var(--text); white-space: nowrap;
+}
+.multi-select-item input[type="checkbox"] {
+ width: 14px; height: 14px; margin: 0; flex-shrink: 0;
+}
+.multi-select-item:hover { background: var(--row-hover, #f5f5f5); }
+
+.chan-tag { background: var(--accent, #3b82f6); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.9em; font-weight: 600; }
+
+/* Matrix mode hex animation */
+.matrix-char { background: none !important; border: none !important; }
+.matrix-char span { display: block; text-align: center; white-space: nowrap; line-height: 1; }
+
+/* === Matrix Theme === */
.matrix-theme .leaflet-tile-pane {
filter: brightness(1.1) contrast(1.2) sepia(0.6) hue-rotate(70deg) saturate(2);
}
@@ -1268,25 +1566,50 @@ tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
content: ''; position: absolute; inset: 0; z-index: 402;
background: rgba(0, 255, 65, 0.06); mix-blend-mode: screen; pointer-events: none;
}
+.matrix-theme { background: #000 !important; }
+.matrix-theme .leaflet-control-zoom a { background: #0a0a0a !important; color: #00ff41 !important; border-color: #00ff4130 !important; }
+.matrix-theme .leaflet-control-attribution { background: rgba(0,0,0,0.8) !important; color: #00ff4180 !important; }
+.matrix-theme .leaflet-control-attribution a { color: #00ff4160 !important; }
+
+/* Scanline overlay */
.matrix-scanlines {
position: absolute; inset: 0; z-index: 9999; pointer-events: none;
background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,65,0.02) 2px, rgba(0,255,65,0.02) 4px);
}
+
+/* Feed panel in matrix mode */
.matrix-theme .live-feed {
background: rgba(0, 10, 0, 0.92) !important;
border-color: #00ff4130 !important;
font-family: 'Courier New', monospace !important;
}
+.matrix-theme .live-feed .live-feed-item { color: #00ff41 !important; border-color: #00ff4115 !important; }
+.matrix-theme .live-feed .live-feed-item:hover { background: rgba(0,255,65,0.08) !important; }
+.matrix-theme .live-feed .feed-hide-btn { color: #00ff41 !important; }
+
+/* Controls in matrix mode */
.matrix-theme .live-controls {
background: rgba(0, 10, 0, 0.9) !important;
border-color: #00ff4130 !important;
color: #00ff41 !important;
}
+.matrix-theme .live-controls label,
+.matrix-theme .live-controls span,
+.matrix-theme .live-controls .lcd-display { color: #00ff41 !important; }
+.matrix-theme .live-controls button { color: #00ff41 !important; border-color: #00ff4130 !important; }
+.matrix-theme .live-controls input[type="range"] { accent-color: #00ff41; }
+
+/* Node detail panel in matrix mode */
.matrix-theme .live-node-detail {
background: rgba(0, 10, 0, 0.95) !important;
border-color: #00ff4130 !important;
color: #00ff41 !important;
}
+.matrix-theme .live-node-detail a { color: #00ff41 !important; }
+.matrix-theme .live-node-detail .feed-hide-btn { color: #00ff41 !important; }
+
+/* Node labels on map */
+.matrix-theme .node-label { color: #00ff41 !important; text-shadow: 0 0 4px #00ff41 !important; }
.matrix-theme .leaflet-marker-icon:not(.matrix-char) { filter: hue-rotate(90deg) saturate(1) brightness(0.35) opacity(0.5); }
/* Audio controls */
@@ -1297,6 +1620,28 @@ tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
padding: 4px 8px;
font-size: 12px;
}
+.audio-controls.hidden { display: none; }
+.audio-slider-label {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ color: var(--text-secondary, #6b7280);
+ font-size: 11px;
+ white-space: nowrap;
+}
+.audio-slider {
+ width: 80px;
+ height: 4px;
+ cursor: pointer;
+ accent-color: #8b5cf6;
+}
+.audio-slider-label span {
+ min-width: 24px;
+ text-align: right;
+ font-variant-numeric: tabular-nums;
+}
+.matrix-theme .audio-controls label,
+.matrix-theme .audio-controls span { color: #00ff41 !important; }
.matrix-theme .audio-slider { accent-color: #00ff41; }
/* Audio voice selector */
@@ -1314,6 +1659,8 @@ tr[data-hops]:hover { background: rgba(59,130,246,0.1); }
color: #00ff41 !important;
border-color: #00ff4130 !important;
}
+
+/* Audio unlock overlay */
.audio-unlock-overlay {
position: fixed;
inset: 0;