.status-page {
  background: #07110c;
}

.status-shell {
  padding: 96px clamp(18px, 4vw, 54px) 54px;
}

.status-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 46px clamp(18px, 4vw, 42px) 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 12, 0.96), rgba(7, 17, 12, 0.72) 54%, rgba(7, 17, 12, 0.9)),
    url("./assets/f86_formation_war_room.jpg") center 36% / cover no-repeat;
  box-shadow: inset 0 -70px 90px rgba(0, 0, 0, 0.45);
  margin-bottom: 14px;
}

.status-hero > * {
  position: relative;
  z-index: 1;
}

.status-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2.8rem, 8vw, 6.4rem);
}

.status-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
}

.status-timestamp {
  min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.status-timestamp span,
.war-summary span,
.pressure-report span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-timestamp strong,
.war-summary strong,
.pressure-report strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.war-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.war-summary article,
.status-map-panel,
.mission-panel,
.objective-roster {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.war-summary article {
  padding: 16px;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(300px, 380px);
  gap: 14px;
  align-items: start;
}

.status-map-panel,
.mission-panel,
.objective-roster {
  padding: 14px;
}

.panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.panel-title h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
}

.panel-title.compact {
  display: block;
}

.map-legend,
.objective-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 9px;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  display: inline-block;
}

.blue-dot,
.red-dot,
.neutral-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.blue-dot {
  background: #1d6fac;
}

.red-dot {
  background: #b6161b;
}

.neutral-dot {
  background: #8a8f92;
}

.current-line,
.previous-line {
  width: 28px;
  border-top: 3px solid #f5f2df;
}

.previous-line {
  border-top-style: dashed;
  opacity: 0.65;
}

.campaign-map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #151b17;
}

#campaignMap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.map-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 240px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #f7f3e5;
  background: rgba(5, 9, 8, 0.9);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.82rem;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.pressure-report {
  display: grid;
  gap: 9px;
}

.pressure-report div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

.objective-roster {
  margin-top: 14px;
}

.objective-filters button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #f6f1dc;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  cursor: pointer;
}

.objective-filters button.active {
  border-color: var(--gold);
  color: #1a1207;
  background: var(--gold);
}

.table-frame {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.objective-roster table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.16);
}

.objective-roster th,
.objective-roster td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f1e8;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.88rem;
  text-align: left;
  white-space: nowrap;
}

.objective-roster th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #c8d0c5;
  background: #111a13;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.objective-roster tr.blue-row {
  background: rgba(29, 111, 172, 0.14);
}

.objective-roster tr.red-row {
  background: rgba(182, 22, 27, 0.14);
}

.objective-roster tr.neutral-row {
  color: #c6c9c7;
  background: rgba(138, 143, 146, 0.16);
}

.owner-pill,
.status-pill,
.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-pill.blue {
  color: #dcecff;
  background: #1d6fac;
}

.owner-pill.red {
  color: #ffe5e5;
  background: #b6161b;
}

.owner-pill.neutral,
.status-pill.neutral {
  color: #f2f2f2;
  background: #7f8588;
}

.status-pill {
  color: #1b261c;
  background: #d9ddcf;
}

.type-pill {
  color: #f7f3e5;
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .status-hero,
  .panel-title {
    align-items: start;
    flex-direction: column;
  }

  .war-summary,
  .status-layout {
    grid-template-columns: 1fr;
  }

  .map-legend,
  .objective-filters {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .status-shell {
    padding-top: 84px;
  }

  .war-summary {
    gap: 8px;
  }
}
