#destination-grid {
  margin-top: 1rem;
}

.discovery-map {
  width: 100%;
  min-height: 460px;
  border: 1px solid #23324d;
  border-radius: 12px;
  margin-top: 1rem;
}

.map-popup a {
  display: inline-block;
  margin-top: 0.35rem;
}

.timeline-container {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.map-search {
  display: grid;
  gap: 0.35rem;
}

.map-search-row {
  display: flex;
  gap: 0.5rem;
}

#map-search-input {
  flex: 1;
  background: #0f172a;
  border: 1px solid #23324d;
  color: #e6edf9;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

#map-search-btn {
  background: #121c31;
  border: 1px solid #23324d;
  color: #e6edf9;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.map-search-status {
  color: #94a3b8;
  font-size: 0.85rem;
  min-height: 1rem;
}

.timeline-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-actions button {
  background: #121c31;
  border: 1px solid #23324d;
  color: #e6edf9;
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}

.timeline-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#timeline-day-label {
  color: #94a3b8;
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-chip {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.legend-viral {
  background: #FF3B30;
}

.legend-emerging {
  background: #FF8C42;
}

.legend-rising {
  background: #FFD166;
}

.legend-stable {
  background: #2EC4B6;
}

.legend-cooling {
  background: #5DA9E9;
}

.destination-card {
  background: #121c31;
  border: 1px solid #23324d;
  border-radius: 12px;
  padding: 1rem;
}

.destination-card h3 {
  margin: 0 0 0.5rem;
}

.destination-card p {
  margin: 0;
  color: #94a3b8;
}

.destination-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.destination-intel-grid h2,
.related-links-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.destination-intel-grid p {
  margin: 0;
  color: #e6edf9;
  font-weight: 600;
}

.destination-features {
  display: grid;
  gap: 0.5rem;
}

.destination-feature-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid #23324d;
  border-radius: 8px;
  background: #0f172a;
}

.destination-feature-row span {
  color: #94a3b8;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.related-links-grid ul {
  margin: 0;
  padding-left: 1rem;
}

.related-links-grid li {
  margin: 0.2rem 0;
}

.homepage-hero-signals {
  margin-bottom: 1rem;
}

.hero-signals-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.hero-signals-head h2 {
  margin: 0;
}

.data-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--xscope-border);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.status-loading {
  color: #94a3b8;
}

.status-healthy {
  color: #34d399;
  border-color: #34d399;
}

.status-degraded {
  color: #f59e0b;
  border-color: #f59e0b;
}

.hero-signal-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.hero-network-metrics {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.hero-network-metric {
  background: #0f172a;
  border: 1px solid var(--xscope-border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.hero-network-metric h3 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--xscope-muted);
}

.hero-network-metric p {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--xscope-text);
}

.signal-feed {
  margin-top: 0.75rem;
}

.signal-feed ul {
  margin: 0;
  padding-left: 1rem;
}

.signal-feed li {
  margin: 0.35rem 0;
}

.trust-links {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.dashboard-cta {
  margin-top: 1rem;
}
