#header {
  position: fixed; top: 0; left: 0; right: 0; height: 56px;
  background: #1e293b; color: #fff; display: flex; align-items: center;
  padding: 0 20px; gap: 16px; z-index: 1000; font-size: 0.95rem;
}
#btn-filter { background: #3b82f6; color: #fff; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap; }
#btn-filter:hover { background: #2563eb; }
#btn-unlocated { background: #475569; color: #fff; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap; }
#btn-unlocated:hover { background: #64748b; }
#count { color: #94a3b8; font-size: 0.85rem; white-space: nowrap; margin-left: auto; }

#filter-panel {
  display: none; position: fixed; top: 56px; left: 0;
  background: #1e293b; border-top: 1px solid #334155;
  padding: 14px 20px; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  flex-direction: column; gap: 10px;
}
#filter-panel.open { display: flex; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-row label { color: #94a3b8; font-size: 0.85rem; white-space: nowrap; }
.filter-row input[type=date] { background: #334155; color: #fff; border: 1px solid #475569; border-radius: 4px; padding: 4px 8px; font-size: 0.85rem; color-scheme: dark; }
.filter-row input[type=text] { background: #334155; color: #fff; border: 1px solid #475569; border-radius: 4px; padding: 4px 8px; font-size: 0.85rem; flex: 1; }
.filter-row input[type=text]::placeholder { color: #94a3b8; opacity: 0.7; }
.filter-row select { background: #334155; color: #fff; border: 1px solid #475569; border-radius: 4px; padding: 4px 8px; font-size: 0.85rem; }
.filter-actions { margin-top: 2px; justify-content: center; }
.btn-apply { background: #3b82f6; color: #fff; border: none; border-radius: 4px; padding: 5px 16px; font-size: 0.85rem; cursor: pointer; }
.btn-apply:hover { background: #2563eb; }
.btn-cancel { background: #475569; color: #fff; border: none; border-radius: 4px; padding: 5px 12px; font-size: 0.85rem; cursor: pointer; }
.btn-cancel:hover { background: #64748b; }

#map { position: fixed; top: 48px; left: 0; right: 0; bottom: 0; background: #d5e8eb; }

#fb-timeline-view {
  position: fixed; top: 48px; left: 0; right: 0; bottom: 0;
  background: #0f172a; overflow-y: auto; padding: 12px;
}
#fb-timeline-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.fb-timeline-item {
  background: #1e293b; border-radius: 8px; padding: 14px; color: #f1f5f9;
  cursor: pointer;
}
.fb-timeline-item:hover { background: #263449; }
.fb-timeline-date { color: #93c5fd; font-size: 0.78rem; margin-bottom: 4px; }
.fb-timeline-place { color: #94a3b8; font-size: 0.8rem; margin-bottom: 6px; }
.fb-timeline-text { font-size: 0.88rem; line-height: 1.4; }
.fb-timeline-pics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fb-timeline-pics img, .fb-timeline-pics video { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }

#header-user { color: #94a3b8; white-space: nowrap; }
#header-user-public { margin-left: auto; color: #94a3b8; white-space: nowrap; }
#fb-admin-bar { margin-left: auto; display: none; align-items: center; gap: 12px; font-size: 0.82rem; color: #fff; }
