/* ── Design Tokens ─────────────────────────────── */
:root {
  --bg-base:     #0b1020;
  --bg-surface:  #111827;
  --bg-elevated: #1a2235;
  --bg-card:     #1e2a40;

  --accent-day:       #f59e0b;
  --accent-day-dim:   rgba(245,158,11,0.15);
  --accent-night:     #818cf8;
  --accent-night-dim: rgba(129,140,248,0.15);

  --text-primary:   #f0f4ff;
  --text-secondary: #8899bb;
  --text-muted:     #4a5980;

  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --sidebar-w: 320px;
  --header-h:  44px;
  --compare-h: 52px;
  --transition: 200ms cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  height: 100%;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
a { text-decoration: none; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 2px; }

/* ── App shell ──────────────────────────────────── */
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* ── Top header (desktop only) ──────────────────── */
#top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 0; /* no left pad — sidebar aligns left edge */
  height: var(--header-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 10;
  width: 100%;
}
/* Left side of header aligns with sidebar width */
#header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: var(--sidebar-w);
  padding: 0 12px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  height: 100%;
}
#header-brand img { border-radius: 5px; }
#header-brand-text { flex: 1; min-width: 0; }
#header-brand-name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#header-brand-sub { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }
/* Right side: nav links in the map area */
#header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  flex: 1;
  justify-content: flex-end;
}
.nav-meeting {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; font-size: 12px; font-weight: 500;
  color: var(--accent-night);
  background: var(--accent-night-dim);
  border: 1px solid rgba(129,140,248,0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  transition: all var(--transition);
}
.nav-meeting:hover { background: rgba(129,140,248,0.25); }
.nav-link {
  padding: 5px 10px; font-size: 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-elevated); }

/* ── Top ad bar ─────────────────────────────────── */
#top-ad {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 6px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

/* ── Body row ───────────────────────────────────── */
#body-row {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

/* ── Map ────────────────────────────────────────── */
#map {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
#maplibre { width: 100%; height: 100%; }

/* ── Compare bar ────────────────────────────────── */
#compare-bar {
  flex-shrink: 0;
  height: var(--compare-h);
  background: rgba(11,16,32,0.94);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  backdrop-filter: blur(8px);
  overflow-x: auto;
}
#compare-bar:empty { display: none; }
.compare-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing:.08em; font-family: var(--font-mono); flex-shrink: 0; }
.compare-pill { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px; flex-shrink: 0; transition: all var(--transition); cursor: pointer; }
.compare-pill:hover, .compare-pill.active { border-color: var(--accent-night); background: var(--accent-night-dim); }
.compare-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.compare-name { font-size: 12px; color: rgba(240,244,255,.85); }
.compare-time { font-size: 12px; font-weight: 500; color: var(--text-primary); font-family: var(--font-mono); }
.compare-remove { font-size: 15px; color: rgba(255,255,255,.35); background: none; border: none; line-height: 1; padding: 0 0 0 2px; transition: color var(--transition); }
.compare-remove:hover { color: var(--text-primary); }
#compare-add { background: none; border: 1px dashed rgba(255,255,255,.18); border-radius: 20px; padding: 5px 14px; font-size: 12px; color: var(--text-muted); flex-shrink: 0; transition: all var(--transition); }
#compare-add:hover { border-color: var(--border-hover); color: var(--text-secondary); }

/* ── Sidebar ─────────────────────────────────────── */
#sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  transition: width var(--transition), min-width var(--transition);
}
#sidebar.collapsed { width: 52px; min-width: 52px; overflow: hidden; }

/* Collapsed rail */
#icon-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; }
.rail-btn { width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.rail-btn:hover { background: var(--bg-card); border-color: var(--border-hover); color: var(--text-primary); }
.rail-dot { width: 8px; height: 8px; border-radius: 50%; border: none; transition: transform var(--transition); }
.rail-dot:hover { transform: scale(1.4); }

/* Sidebar brand row (no app name — header has it) */
#brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
#brand-sub { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); flex: 1; }
#collapse-btn {
  flex-shrink: 0; width: 26px; height: 26px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
#collapse-btn:hover { background: var(--bg-card); border-color: var(--border-hover); color: var(--text-primary); }

/* Search */
#search-wrap { padding: 10px 12px; flex-shrink: 0; position: relative; z-index: 200; }
.search-box { display: flex; align-items: center; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 10px; gap: 8px; transition: border-color var(--transition); }
.search-box:focus-within { border-color: var(--border-hover); }
.search-icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-muted); }
#search-input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 13px; padding: 9px 0; }
#search-input::placeholder { color: var(--text-muted); font-size: 12px; }
#search-clear { background: none; border: none; color: var(--text-muted); font-size: 16px; padding: 0 2px; display: none; }
#search-clear:hover { color: var(--text-primary); }
#search-dropdown { position: absolute; top: calc(100% - 4px); left: 12px; right: 12px; background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.6); display: none; z-index: 300; }
#search-dropdown.open { display: block; }
.search-result { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; padding: 10px 14px; cursor: pointer; text-align: left; gap: 8px; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.active { background: var(--bg-elevated); }
.result-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.result-meta { font-size: 11px; color: var(--text-secondary); font-family: var(--font-mono); white-space: nowrap; }

/* Meeting shortcut card in sidebar */
#meeting-shortcut {
  margin: 0 12px 10px;
  flex-shrink: 0;
}
#meeting-shortcut a {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  transition: all var(--transition);
}
#meeting-shortcut a:hover { border-color: rgba(129,140,248,0.45); background: var(--bg-card); }
#meeting-shortcut .ms-icon { font-size: 16px; flex-shrink: 0; }
#meeting-shortcut .ms-title { font-size: 12px; font-weight: 500; color: var(--text-primary); font-family: var(--font-display); display: block; }
#meeting-shortcut .ms-sub { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); display: block; }

/* Tabs */
#tabs { display: flex; gap: 2px; padding: 0 12px 10px; flex-shrink: 0; }
.tab-btn { display: flex; align-items: center; gap: 5px; background: none; border: none; padding: 5px 12px; font-size: 12px; color: var(--text-muted); border-radius: var(--radius-sm); transition: all var(--transition); }
.tab-btn:hover { background: var(--bg-elevated); color: var(--text-secondary); }
.tab-btn.active { background: var(--bg-elevated); color: var(--text-primary); font-weight: 500; }
.tab-badge { background: var(--accent-night-dim); color: var(--accent-night); font-size: 10px; font-family: var(--font-mono); padding: 1px 5px; border-radius: 10px; }

/* Sidebar content */
#sidebar-content { flex: 1; overflow: hidden; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.tab-panel { display: none; flex: 1; overflow: hidden; flex-direction: column; }
.tab-panel.active { display: flex; }

/* ── City Card ──────────────────────────────────── */
#city-card { display: flex; flex-direction: column; padding: 16px; height: 100%; overflow-y: auto; }
#city-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; color: var(--text-muted); font-size: 13px; text-align: center; }
#city-empty svg { opacity: .4; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
#city-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.2; }
#city-country { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#dn-badge { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 20px; font-family: var(--font-mono); }
#dn-badge.day   { background: var(--accent-day-dim); color: var(--accent-day); }
#dn-badge.night { background: var(--accent-night-dim); color: var(--accent-night); }
#pin-btn { background: none; border: none; font-size: 18px; color: var(--accent-day); padding: 2px 4px; line-height: 1; transition: transform var(--transition); }
#pin-btn:hover { transform: scale(1.2); }
.clock-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
#city-clock { font-family: var(--font-mono); font-size: 36px; font-weight: 500; color: var(--text-primary); letter-spacing: -.02em; line-height: 1; }
#city-date { font-size: 12px; color: var(--text-secondary); }
#arc-wrap { width: 100%; padding: 8px 0 16px; }
.unit-row { display: flex; gap: 4px; margin-bottom: 12px; }
.unit-btn { background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px 10px; font-size: 12px; color: var(--text-secondary); font-family: var(--font-mono); transition: all var(--transition); }
.unit-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.unit-btn.active { background: var(--accent-day-dim); border-color: var(--accent-day); color: var(--accent-day); }
#weather-loading { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); padding: 8px 0; }
#weather-error   { font-size: 12px; color: #f87171; padding: 8px 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tile { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; transition: border-color var(--transition); }
.tile:hover { border-color: var(--border-hover); }
.tile-icon { display: flex; align-items: center; height: 30px; }
.tile-val  { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--text-primary); line-height: 1.2; }
.tile-label { font-size: 11px; color: var(--text-secondary); }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
#updated-label { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
#refresh-btn { background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 12px; font-size: 12px; color: var(--text-secondary); transition: all var(--transition); }
#refresh-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
#refresh-btn:disabled { opacity: .5; }

/* ── Browse Tab ─────────────────────────────────── */
#browse-panel { padding: 12px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.browse-title { font-size: 11px; font-weight: 700; color: var(--text-primary); letter-spacing: .08em; font-family: var(--font-mono); }
.browse-sub   { font-size: 11px; color: var(--text-muted); }
.filter-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-label { font-size: 11px; color: var(--text-secondary); font-family: var(--font-mono); display: block; margin-bottom: 4px; }
.filter-select { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 12px; padding: 6px 24px 6px 8px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238899bb' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; transition: border-color var(--transition); }
.filter-select:hover { border-color: var(--border-hover); }
.filter-select:focus { outline: none; border-color: var(--accent-night); }
.filter-select option { background: #1a2235; }
#browse-hint { font-size: 12px; color: var(--text-muted); font-style: italic; }
#browse-city-list { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.browse-city-btn { display: flex; align-items: center; justify-content: space-between; background: none; border: none; padding: 7px 8px; border-radius: var(--radius-sm); cursor: pointer; text-align: left; width: 100%; transition: background var(--transition); }
.browse-city-btn:hover, .browse-city-btn.active { background: var(--bg-elevated); }
.browse-city-name { font-size: 13px; color: var(--text-primary); font-weight: 500; }
.browse-city-tz   { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

/* ── Pinned Tab ─────────────────────────────────── */
#pinned-panel { overflow-y: auto; padding: 8px; }
.pinned-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 12px; }
.pinned-empty span { font-size: 24px; }
.pinned-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: background var(--transition); }
.pinned-row:hover, .pinned-row.active { background: var(--bg-elevated); border-color: var(--border); }
.pin-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pin-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pin-name { font-size: 13px; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-meta { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }
.pin-time { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-primary); flex-shrink: 0; }
.pin-remove { background: none; border: none; color: var(--text-muted); font-size: 16px; padding: 0 2px; line-height: 1; opacity: 0; transition: opacity var(--transition), color var(--transition); }
.pinned-row:hover .pin-remove { opacity: 1; }
.pin-remove:hover { color: var(--text-primary); }

/* ── Ad Slot ─────────────────────────────────────── */
.ad-slot { background: var(--bg-elevated); border: 1px dashed var(--border-hover); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); }
#sidebar-ad-wrap { padding: 10px 12px; flex-shrink: 0; border-top: 1px solid var(--border); }

/* Sidebar footer */
#sidebar-footer { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 8px 12px; border-top: 1px solid var(--border); flex-shrink: 0; }
#sidebar-footer a { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); transition: color var(--transition); }
#sidebar-footer a:hover { color: var(--text-secondary); }
#sidebar-footer .sep { color: var(--text-muted); font-size: 11px; }

/* ── MapLibre overrides ─────────────────────────── */
.maplibregl-popup-content { background: rgba(15,23,42,.95) !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 8px !important; padding: 0 !important; box-shadow: 0 4px 20px rgba(0,0,0,.5) !important; }
.maplibregl-popup-tip { border-top-color: rgba(15,23,42,.95) !important; }
.map-popup-inner { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; }
.map-popup-inner strong { font-size: 13px; font-weight: 600; color: var(--text-primary); font-family: var(--font-display); }
.map-popup-inner span  { font-size: 11px; color: rgba(240,244,255,.6); font-family: var(--font-mono); }
.map-popup-inner .pop-day { color: var(--accent-day); }
.map-popup-inner .pop-night { color: var(--accent-night); }
.maplibregl-ctrl-group { background: rgba(17,24,39,.95) !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: 8px !important; }
.maplibregl-ctrl-group button { color: rgba(255,255,255,.7) !important; }
.maplibregl-ctrl-group button:hover { background: rgba(255,255,255,.08) !important; }
.maplibregl-ctrl-attrib { background: rgba(11,16,32,.8) !important; color: rgba(255,255,255,.4) !important; font-size: 10px !important; }
.maplibregl-ctrl-attrib a { color: rgba(255,255,255,.5) !important; }

/* ── Mobile peek sheet ──────────────────────────── */
#mobile-peek {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hover);
  border-radius: 20px 20px 0 0;
  z-index: 100;
  flex-direction: column;
  max-height: 90vh;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
}
#peek-handle { display: flex; justify-content: center; padding: 10px 0 4px; cursor: pointer; flex-shrink: 0; }
#peek-pill { width: 36px; height: 4px; background: var(--border-hover); border-radius: 2px; }
#peek-collapsed {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 16px 14px; cursor: pointer; flex-shrink: 0;
}
#peek-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
#peek-city-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
#peek-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary); }
#peek-country-mob { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }
#peek-time { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--text-primary); flex-shrink: 0; }
#peek-weather-mob { font-size: 13px; color: var(--text-secondary); flex-shrink: 0; }
#peek-chevron { font-size: 11px; color: var(--text-muted); flex-shrink: 0; margin-left: 4px; }
#peek-empty-msg { padding: 4px 16px 14px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* Expanded sheet */
#peek-expand {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  min-height: 0;
}
#peek-expand.open { display: flex; }
#peek-search-wrap { padding: 12px 14px 8px; flex-shrink: 0; position: relative; z-index: 10; }
#peek-search-input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 13px; padding: 9px 0; }
#peek-search-input::placeholder { color: var(--text-muted); font-size: 12px; }
#peek-search-dropdown { position: absolute; top: calc(100% - 4px); left: 14px; right: 14px; background: var(--bg-card); border: 1px solid var(--border-hover); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.6); display: none; z-index: 200; }
#peek-search-dropdown.open { display: block; }

#peek-pinned-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; flex-shrink: 0; }
#peek-pinned-scroll::-webkit-scrollbar { display: none; }
.peek-chip { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 6px 12px; cursor: pointer; flex-shrink: 0; transition: all var(--transition); }
.peek-chip:hover, .peek-chip.active { border-color: var(--accent-night); background: var(--accent-night-dim); }
.peek-chip-name { font-size: 12px; color: var(--text-primary); font-weight: 500; }
.peek-chip-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }

#peek-card-wrap { flex: 1; min-height: 0; overflow-y: auto; }

/* Mobile nav in peek */
#peek-nav { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); flex-shrink: 0; align-items: center; flex-wrap: wrap; }
#peek-nav a { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); padding: 4px 0; }
#peek-nav a:hover { color: var(--text-secondary); }
#peek-nav .peek-meeting-link { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; color: var(--accent-night); background: var(--accent-night-dim); border: 1px solid rgba(129,140,248,0.25); border-radius: var(--radius-sm); font-weight: 500; }
#peek-nav .sep { color: var(--text-muted); font-size: 11px; }

/* ── Ad slot ─────────────────────────────────────── */
.ad-slot { background: var(--bg-elevated); border: 1px dashed var(--border-hover); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 767px) {
  #sidebar     { display: none !important; }
  #compare-bar { display: none !important; }
  #top-ad      { display: none !important; }
  #top-header  { display: none !important; }
  #mobile-peek { display: flex !important; }
  body         { overflow: hidden; }
  #app         { height: 100dvh; }
  #body-row    { height: 100%; position: relative; }
  #map         { height: 100%; }
}
@media (min-width: 768px) {
  #mobile-peek { display: none !important; }
}
