:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-secondary: #07111f;
  --card: #0b1625;
  --card-elevated: #102033;
  --panel: rgba(11, 22, 37, 0.84);
  --panel-strong: rgba(16, 32, 51, 0.96);
  --line: #1d334a;
  --line-soft: rgba(29, 51, 74, 0.62);
  --line-strong: rgba(56, 189, 248, 0.34);
  --text: #eaf4ff;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-soft: #2563eb;
  --secondary: #64748b;
  --alert: #f59e0b;
  --green: #41d18c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(56, 189, 248, 0.1), transparent 26rem),
    linear-gradient(145deg, #01040b, var(--bg) 42%, var(--bg-secondary));
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(18px);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand,
.site-nav,
.hero-actions,
.credibility-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--accent) 0 2px, transparent 3px),
    conic-gradient(from 20deg, rgba(56, 189, 248, 0.72), transparent 34%, transparent);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.34);
}

.site-nav {
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover,
.nav-item:focus-within .nav-trigger,
.nav-item:hover .nav-trigger {
  color: var(--text);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 10px;
}

.nav-item > .nav-trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.72;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px 8px;
  background: rgba(7, 17, 31, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.dropdown-menu::before {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  border-radius: 7px;
  padding: 10px;
  color: var(--muted);
  line-height: 1.25;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: rgba(56, 189, 248, 0.08);
  color: var(--text);
}

.menu-toggle {
  display: none;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(11, 22, 37, 0.84);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.08);
}

.nav-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.nav-search-link:hover,
.nav-search-link:focus,
.nav-search-link[aria-current="page"] {
  border-color: rgba(56, 189, 248, 0.24);
  background: rgba(56, 189, 248, 0.06);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 48px;
  min-height: min(620px, calc(100vh - 72px));
  padding: 30px 0 44px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.tagline {
  max-width: 650px;
  margin-bottom: 30px;
  color: #c7d6e6;
  font-size: clamp(1.12rem, 2.3vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  color: #03101c;
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(7, 17, 31, 0.72);
  color: var(--text);
}

.radar-panel,
.section,
.report-panel,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.radar-panel {
  display: grid;
  gap: 18px;
  border-radius: 8px;
  padding: 22px;
}

.radar-scope {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(65, 209, 140, 0.1), transparent 4px),
    radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 62%),
    linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(100, 116, 139, 0.05));
  box-shadow:
    inset 0 0 42px rgba(56, 189, 248, 0.1),
    0 0 48px rgba(37, 99, 235, 0.18);
}

.radar-sweep {
  position: absolute;
  inset: 50% 0 0 50%;
  width: 50%;
  height: 50%;
  background: conic-gradient(from -35deg, rgba(56, 189, 248, 0.38), transparent 28%);
  transform-origin: 0 0;
  animation: sweep 5s linear infinite;
}

.radar-ring,
.radar-cross,
.radar-dot {
  position: absolute;
  display: block;
}

.radar-ring {
  inset: var(--ring);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
}

.ring-one {
  --ring: 18%;
}

.ring-two {
  --ring: 33%;
}

.ring-three {
  --ring: 48%;
}

.radar-cross {
  background: rgba(148, 163, 184, 0.12);
}

.horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.vertical {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.dot-one {
  top: 28%;
  left: 64%;
}

.dot-two {
  top: 62%;
  left: 38%;
}

.dot-three {
  top: 48%;
  left: 74%;
}

.signal-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
}

.signal-stat {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.signal-stat span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-stat strong {
  color: var(--text);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1;
}

.credibility-band {
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.credibility-label {
  border: 1px solid var(--label-color);
  border-radius: 999px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--label-color) 14%, transparent);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.official {
  --label-color: var(--accent);
}

.mainstream-news {
  --label-color: #7dd3fc;
}

.research {
  --label-color: #8aa4c2;
}

.witness-report {
  --label-color: var(--secondary);
}

.speculative {
  --label-color: #77869a;
}

.section,
.report-panel {
  margin-bottom: 24px;
  border-radius: 8px;
  padding: clamp(20px, 3.4vw, 30px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-summary {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(150px, 0.28fr) minmax(150px, 0.28fr) minmax(150px, 0.28fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 14px;
  background: rgba(7, 17, 31, 0.72);
}

.news-tools label {
  display: grid;
  gap: 7px;
}

.news-tools label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-tools input,
.news-tools select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #07111f;
  color: var(--text);
  font: inherit;
}

.news-tools input:focus,
.news-tools select:focus {
  outline: 2px solid rgba(56, 189, 248, 0.24);
  border-color: var(--line-strong);
}

.site-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(7, 17, 31, 0.72);
}

.site-search-form label {
  display: grid;
  gap: 7px;
}

.site-search-form label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-search-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #07111f;
  color: var(--text);
  font: inherit;
}

.site-search-form input:focus {
  outline: 2px solid rgba(56, 189, 248, 0.24);
  border-color: var(--line-strong);
}

.filter-reset {
  min-height: 42px;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 18px;
  align-items: start;
}

.news-main {
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-article {
  margin-bottom: 22px;
}

.recent-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
  padding-top: 18px;
}

.recent-heading h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-heading span {
  color: var(--muted);
  font-size: 0.86rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.update-card,
.sighting-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 22, 37, 0.8);
}

.update-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 268px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.98), rgba(11, 22, 37, 0.9)),
    var(--card);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.update-card.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-items: start;
  gap: 16px 28px;
  min-height: 0;
  border-color: rgba(56, 189, 248, 0.4);
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(11, 22, 37, 0.94) 48%),
    var(--card-elevated);
}

.update-card.featured > :not(.card-meta):not(.read-more) {
  grid-column: 1;
}

.update-card.featured h3 {
  max-width: 760px;
  font-size: clamp(1.65rem, 3.6vw, 3.1rem);
  line-height: 1.04;
}

.update-card.featured p {
  max-width: 700px;
  font-size: 1.02rem;
}

.update-card.featured .card-meta,
.update-card.featured .read-more {
  grid-column: 2;
}

.update-card.official {
  border-color: rgba(56, 189, 248, 0.42);
}

.update-card.official .category-label {
  color: #bdeaff;
}

.update-card.speculative {
  border-color: rgba(119, 134, 154, 0.72);
}

.update-card.priority-breaking,
.update-card.priority-new {
  box-shadow:
    inset 0 1px 0 rgba(245, 158, 11, 0.12),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.update-card h3,
.sighting-card h3 {
  margin: 0;
  line-height: 1.28;
}

.update-card p,
.sighting-card p,
.learn-more p,
.report-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-label {
  width: fit-content;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-badge {
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #ffd08a;
  font-size: 0.78rem;
  font-weight: 800;
}

.verification-note {
  border-left: 2px solid rgba(119, 134, 154, 0.72);
  margin: 0;
  padding-left: 10px;
  font-size: 0.88rem;
}

.source-tag {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--text);
  font-weight: 800;
}

.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.08);
}

.read-more:hover {
  border-color: rgba(56, 189, 248, 0.62);
  background: rgba(56, 189, 248, 0.13);
}

.briefing-sidebar {
  display: grid;
  gap: 14px;
}

.sidebar-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(7, 17, 31, 0.82);
}

.sidebar-panel h2,
.sidebar-panel h3 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-link {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(29, 51, 74, 0.68);
  padding: 12px 0;
}

.sidebar-link:first-child {
  border-top: 0;
  padding-top: 0;
}

.sidebar-link:last-child {
  padding-bottom: 0;
}

.sidebar-link span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-link strong {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.35;
}

.sidebar-link time,
.sidebar-empty {
  color: var(--muted);
  font-size: 0.8rem;
}

.source-policy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar-action {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.homepage-sighting-panel {
  display: grid;
  gap: 18px;
}

.homepage-sighting-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-preview {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 23% 56%, rgba(65, 209, 140, 0.18), transparent 4px),
    radial-gradient(circle at 58% 47%, rgba(56, 189, 248, 0.2), transparent 5px),
    radial-gradient(circle at 78% 40%, rgba(37, 99, 235, 0.24), transparent 5px),
    linear-gradient(145deg, rgba(7, 17, 31, 0.94), rgba(3, 7, 18, 0.98));
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

.map-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(65, 209, 140, 0.42);
  animation: pulse 2.8s ease-out infinite;
}

.pulse-west {
  top: 56%;
  left: 23%;
}

.pulse-central {
  top: 47%;
  left: 58%;
  background: var(--accent);
  animation-delay: 0.6s;
}

.pulse-east {
  top: 40%;
  left: 78%;
  background: var(--accent-soft);
  animation-delay: 1.1s;
}

.sighting-list {
  display: grid;
  gap: 12px;
}

.sighting-card {
  padding: 16px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sighting-card p {
  margin-bottom: 8px;
}

.sighting-card.is-active {
  border-color: rgba(245, 158, 11, 0.62);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(11, 22, 37, 0.86)),
    var(--card);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.sighting-status {
  border-left: 2px solid var(--line-strong);
  padding-left: 10px;
  font-size: 0.86rem;
}

.map-action {
  margin-top: 16px;
}

.homepage-sighting-panel .map-action {
  justify-self: start;
  margin-top: 0;
}

.world-map-panel {
  display: grid;
  grid-template-columns: minmax(520px, 1.65fr) minmax(280px, 0.62fr);
  gap: 0;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 18%, rgba(56, 189, 248, 0.13), transparent 22rem),
    linear-gradient(145deg, rgba(7, 17, 31, 0.98), rgba(3, 7, 18, 0.96));
}

.map-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(7, 17, 31, 0.64);
}

.map-toolbar h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.sighting-map {
  grid-column: 1;
  position: relative;
  min-height: 560px;
  background: #07111f;
}

.map-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid rgba(29, 51, 74, 0.88);
  border-radius: 8px;
  padding: 4px;
  background: rgba(3, 7, 18, 0.72);
}

.map-filter-button {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.map-filter-button:hover,
.map-filter-button.is-active {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(16, 32, 51, 0.92);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.sighting-map .maplibregl-ctrl {
  font-family: inherit;
}

.sighting-map .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.sighting-map .maplibregl-ctrl button {
  background-color: rgba(7, 17, 31, 0.94);
}

.sighting-map .maplibregl-ctrl button + button {
  border-top-color: var(--line);
}

.sighting-map .maplibregl-ctrl button span {
  filter: invert(1) opacity(0.82);
}

.sighting-map .maplibregl-ctrl button:hover {
  background-color: rgba(16, 32, 51, 0.98);
}

.sighting-map .maplibregl-ctrl-attrib {
  background: rgba(3, 7, 18, 0.78);
  color: var(--text);
}

.sighting-map .maplibregl-ctrl-attrib a {
  color: var(--accent);
}

.sighting-map .maplibregl-popup-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.sighting-map .maplibregl-popup-tip {
  border-top-color: var(--card);
}

.sighting-map .maplibregl-popup-content {
  display: grid;
  gap: 5px;
}

.sighting-map .maplibregl-popup-content span {
  color: var(--muted);
  font-size: 0.78rem;
}

.sighting-map-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.sighting-map-marker span {
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(234, 244, 255, 0.72);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(56, 189, 248, 0.16), 0 0 24px rgba(56, 189, 248, 0.38);
}

.sighting-map-marker.speculative span {
  background: var(--secondary);
  box-shadow: 0 0 0 7px rgba(100, 116, 139, 0.18), 0 0 22px rgba(100, 116, 139, 0.34);
}

.sighting-map-marker.is-active span {
  width: 18px;
  height: 18px;
  background: var(--alert);
  box-shadow: 0 0 0 9px rgba(245, 158, 11, 0.18), 0 0 28px rgba(245, 158, 11, 0.5);
}

.map-detail {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
  background: rgba(11, 22, 37, 0.64);
}

.map-detail h2 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.15vw, 1.95rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.map-detail p {
  color: var(--muted);
  line-height: 1.65;
}

.map-meta {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.map-meta div {
  border-top: 1px solid rgba(29, 51, 74, 0.72);
  padding-top: 12px;
}

.map-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-meta dd {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.45;
}

.learn-more {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.learn-more p {
  margin-bottom: 0;
  font-size: 1.04rem;
}

.report-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(37, 99, 235, 0.1)),
    var(--panel-strong);
}

.report-panel p {
  max-width: 660px;
  margin-bottom: 0;
}

.report-page {
  padding: 30px 0 28px;
}

.report-hero h1 {
  max-width: 880px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.05;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.report-form,
.report-aside .sidebar-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 22, 37, 0.84);
  box-shadow: var(--shadow);
}

.report-form {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3.2vw, 30px);
}

.form-section {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.report-form label {
  display: grid;
  gap: 8px;
}

.report-form label > span,
.checkbox-row span {
  color: #c7d6e6;
  line-height: 1.5;
}

.report-form label > span {
  font-size: 0.84rem;
  font-weight: 800;
}

.report-form input,
.report-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.52);
  color: var(--text);
  font: inherit;
}

.report-form input {
  min-height: 44px;
  padding: 0 12px;
}

.report-form input[type="file"] {
  padding: 10px 12px;
}

.report-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 12px;
  line-height: 1.55;
}

.report-form input:focus,
.report-form textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.34);
  outline-offset: 2px;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.report-aside {
  display: grid;
  gap: 14px;
}

.quality-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.alert-panel {
  border-color: rgba(245, 158, 11, 0.36);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-radius: 8px;
  padding: 18px 20px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--text);
}

.article-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-nav a:hover {
  color: var(--text);
}

.section-page {
  padding: 30px 0 28px;
}

.section-archive h1 {
  max-width: 720px;
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  line-height: 1.06;
}

.search-page h1 {
  max-width: 720px;
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  line-height: 1.06;
}

.search-hero {
  margin-bottom: 20px;
}

.search-result-card h3 {
  min-height: auto;
}

.section-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  margin: 24px 0 16px;
  padding-top: 18px;
}

.section-list-header h2 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.section-list-header span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.section-list-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
}

.section-list-controls label {
  display: grid;
  gap: 7px;
  min-width: 170px;
}

.section-list-controls label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-list-controls select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #07111f;
  color: var(--text);
  font: inherit;
}

.secondary-list-header {
  margin-top: 28px;
}

.section-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.section-map-layout {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.reported-activity-panel .section-list-header {
  margin-top: 8px;
}

.reported-activity-panel .sighting-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.methodology-hero h1 {
  max-width: 860px;
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  line-height: 1.06;
}

.methodology-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 28px;
  align-items: start;
}

.methodology-main {
  min-width: 0;
}

.methodology-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.methodology-section p {
  color: #c7d6e6;
  line-height: 1.72;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.method-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(7, 17, 31, 0.72);
}

.method-card h3 {
  margin: 14px 0 10px;
  line-height: 1.35;
}

.method-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.methodology-steps {
  display: grid;
  gap: 12px;
}

.methodology-steps div {
  border-left: 3px solid var(--line-strong);
  padding: 4px 0 4px 14px;
}

.methodology-steps strong {
  display: block;
  margin-bottom: 4px;
}

.methodology-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-page {
  padding: 28px 0 28px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 28px;
  align-items: start;
}

.article-hero,
.article-body,
.article-aside-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-hero {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(11, 22, 37, 0.94) 48%),
    var(--card-elevated);
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.7vw, 3.25rem);
  line-height: 1.08;
}

.article-deck {
  max-width: 820px;
  color: #d4e2f2;
  font-size: clamp(1.02rem, 1.75vw, 1.2rem);
  line-height: 1.58;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-meta a,
.source-link {
  color: #c7d6e6;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.42);
  text-underline-offset: 3px;
}

.article-meta a:hover,
.source-link:hover {
  color: var(--accent);
}

.article-body {
  padding: clamp(22px, 3.5vw, 32px);
}

.article-body p,
.article-body li {
  color: #d4e2f2;
  font-size: 1rem;
  line-height: 1.72;
}

.article-body h2 {
  margin: 30px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.article-body ul {
  padding-left: 20px;
}

.article-note {
  border-left: 3px solid var(--accent);
  margin: 22px 0;
  padding: 14px 16px;
  background: rgba(56, 189, 248, 0.07);
  color: var(--text);
}

.article-aside {
  display: grid;
  gap: 14px;
}

.article-aside-panel {
  padding: 16px;
}

.article-aside-panel h2 {
  margin-bottom: 12px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-aside-panel p,
.article-aside-panel a {
  color: var(--muted);
  line-height: 1.6;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: var(--secondary);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.status-list div {
  border-top: 1px solid rgba(29, 51, 74, 0.68);
  padding-top: 10px;
}

.status-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.status-list dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-list dd {
  margin: 4px 0 0;
  color: var(--text);
  line-height: 1.45;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-list a {
  border-top: 1px solid rgba(29, 51, 74, 0.68);
  padding-top: 10px;
}

.related-list a:first-child {
  border-top: 0;
  padding-top: 0;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 24px rgba(65, 209, 140, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(65, 209, 140, 0);
  }
}

@media (max-width: 860px) {
  .masthead {
    flex-wrap: wrap;
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-search-link,
  .header-cta {
    order: 3;
    width: 100%;
  }

  .header-cta {
    order: 4;
  }

  .site-nav {
    display: none;
    order: 5;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(29, 51, 74, 0.5);
    padding: 6px 0;
  }

  .nav-item:last-child {
    border-bottom: 0;
  }

  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0 0 6px 12px;
    background: transparent;
    box-shadow: none;
  }

  .dropdown-menu a {
    padding: 8px 0;
  }

  .hero,
  .map-layout,
  .world-map-panel,
  .learn-more,
  .news-layout,
  .article-shell,
  .methodology-layout,
  .report-layout,
  .homepage-sighting-list {
    grid-template-columns: 1fr;
  }

  .map-detail {
    grid-column: 1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .sighting-map {
    grid-column: 1;
  }

  .map-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .reported-activity-panel .sighting-list {
    grid-template-columns: 1fr;
  }

  .article-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .radar-panel {
    max-width: 460px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .section-article-grid,
  .methodology-grid,
  .form-grid,
  .news-tools,
  .site-search-form,
  .update-card.featured {
    grid-template-columns: 1fr;
  }

  .briefing-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-policy {
    grid-column: 1 / -1;
  }

  .update-card.featured .card-meta,
  .update-card.featured .read-more {
    grid-column: 1;
  }

  .section-heading,
  .section-list-header,
  .report-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-list-controls {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  main,
  .site-footer {
    width: min(100% - 20px, 1120px);
  }

  .masthead {
    width: min(100% - 20px, 1120px);
  }

  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.65rem);
  }

  .button {
    width: 100%;
  }

  .briefing-sidebar {
    grid-template-columns: 1fr;
  }

  .article-nav {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .source-policy {
    grid-column: auto;
  }

  .recent-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-list-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .radar-panel,
  .section,
  .report-panel {
    padding: 18px;
  }

  .map-preview {
    min-height: 300px;
  }

  .sighting-map {
    min-height: 380px;
  }

  .world-map-panel {
    min-height: 0;
  }
}
