:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0; font-family: sans-serif; background: #0b1220; color: #e2e8f0;
}
.poster-header { padding: 16px 24px; border-bottom: 1px solid #1e293b; }
.poster-header h1 { margin: 0 0 4px; font-size: 1.3rem; }
.poster-header p { margin: 0; color: #94a3b8; font-size: 0.9rem; }
.poster-main { display: flex; gap: 16px; padding: 16px 24px; align-items: flex-start; }
.picker { width: 340px; flex: none; }
.center-bar { margin-bottom: 10px; }
.center-bar label { display: block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: #64748b; margin-bottom: 3px; }
.center-search-wrap { position: relative; }
.center-search-wrap input { width: 100%; padding: 6px 8px; background: #111827;
  color: #e2e8f0; border: 1px solid #334155; border-radius: 4px; }
.center-results { list-style: none; margin: 2px 0 0; padding: 0; position: absolute;
  z-index: 10; left: 0; right: 0; max-height: 240px; overflow: auto;
  background: #0b1220; border: 1px solid #334155; border-radius: 4px; }
.center-results li { padding: 5px 8px; font-size: 0.82rem; cursor: pointer;
  border-bottom: 1px solid #111827; }
.center-results li:hover { background: #1d4ed8; }
.center-status { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.center-label { font-size: 0.82rem; color: #38bdf8; }
.center-reset { margin-left: auto; padding: 3px 8px; background: #334155;
  color: #e2e8f0; border: none; border-radius: 4px; cursor: pointer;
  font-size: 0.75rem; white-space: nowrap; }
.family-controls { display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px; font-size: 0.85rem; }
.family-legend { color: #64748b; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.04em; }
.family-controls label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.picker-controls { display: flex; gap: 6px; margin-bottom: 8px; }
.picker-controls input { flex: 1; padding: 6px 8px; background: #111827;
  color: #e2e8f0; border: 1px solid #334155; border-radius: 4px; }
.picker-controls button, .picker-actions button, .download-btn {
  padding: 6px 10px; background: #1d4ed8; color: #fff; border: none;
  border-radius: 4px; cursor: pointer; font-size: 0.85rem; text-decoration: none; }
.picker-controls button { background: #334155; }
.neighbor-list { list-style: none; margin: 0; padding: 0; max-height: 60vh;
  overflow: auto; border: 1px solid #1e293b; border-radius: 4px; }
.neighbor-list li { padding: 4px 8px; border-bottom: 1px solid #111827;
  display: flex; gap: 8px; align-items: baseline; font-size: 0.85rem; }
.neighbor-list li.hidden { display: none; }
.neighbor-list .asn { color: #38bdf8; font-family: monospace; }
.neighbor-list .count { margin-left: auto; color: #64748b; font-size: 0.78rem; }
.picker-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.status { color: #94a3b8; font-size: 0.8rem; }
.preview-wrap { flex: 1; position: relative; min-height: 78vh; align-self: stretch; }
.preview { position: absolute; inset: 0; border: 1px solid #1e293b;
  border-radius: 6px; overflow: hidden; background: #0f172a; }
.preview svg { display: block; width: 100%; height: 100%; touch-action: none; }
.zoom-toolbar { position: absolute; top: 8px; right: 8px; z-index: 5;
  display: flex; gap: 4px; align-items: center;
  background: rgba(15, 23, 42, 0.82); padding: 4px 6px; border-radius: 6px;
  border: 1px solid #1e293b; }
.zoom-toolbar button { padding: 2px 8px; background: #334155; color: #e2e8f0;
  border: none; border-radius: 4px; cursor: pointer; font-size: 0.8rem; }
.zoom-hint { color: #64748b; font-size: 0.72rem; margin-left: 4px; }
