:root {
  color-scheme: dark;
  --bg: #030507;
  --panel: rgba(7, 12, 16, 0.84);
  --panel-strong: rgba(10, 15, 20, 0.96);
  --line: rgba(141, 246, 229, 0.17);
  --line-strong: rgba(141, 246, 229, 0.34);
  --text: #f4f7f2;
  --muted: #8d9ba6;
  --soft: #c7d8d4;
  --ocean: #0a3650;
  --land: #1b8063;
  --alert: #ffd166;
  --critical: #ff5c7a;
  --watch: #63d8ff;
  --stable: #76f7b5;
  --amber-dim: rgba(255, 209, 102, 0.12);
  --cyan-dim: rgba(99, 216, 255, 0.12);
  --green-dim: rgba(118, 247, 181, 0.1);
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.46);
  --inset-grid:
    linear-gradient(rgba(141, 246, 229, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 246, 229, 0.045) 1px, transparent 1px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(118, 247, 181, 0.16), transparent 27%),
    radial-gradient(circle at 84% 72%, rgba(255, 209, 102, 0.08), transparent 31%),
    linear-gradient(145deg, #030507 0%, #070a0d 45%, #0d0e0b 100%);
  color: var(--text);
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 6px 6px, 6px 6px;
  mix-blend-mode: overlay;
  opacity: 0.16;
}

body::after {
  background:
    linear-gradient(180deg, transparent, rgba(118, 247, 181, 0.035), transparent),
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.5) 100%);
  background-size: 100% 9px, 100% 100%;
  opacity: 0.42;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent calc(100% - 421px), rgba(118, 247, 181, 0.055) calc(100% - 420px), transparent calc(100% - 418px));
}

.globe-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 52%, rgba(99, 216, 255, 0.16), transparent 27%),
    linear-gradient(180deg, #030607, #05090d 58%, #010203);
}

.globe-stage::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 52%, transparent 0 30%, rgba(99, 216, 255, 0.08) 31%, transparent 32%, transparent 41%, rgba(118, 247, 181, 0.06) 42%, transparent 43%),
    linear-gradient(rgba(99, 216, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 216, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(118, 247, 181, 0.055) 50%, transparent 100%);
  background-size: 100% 100%, 64px 64px, 64px 64px, 100% 8px;
  mask-image: radial-gradient(circle at 48% 53%, black 0%, black 58%, transparent 84%);
  opacity: 0.82;
}

.globe-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(255, 209, 102, 0.18) 9.1%, transparent 9.2%),
    linear-gradient(180deg, transparent 0 14%, rgba(99, 216, 255, 0.12) 14.1%, transparent 14.2%),
    radial-gradient(circle at 50% 52%, transparent 0 36%, rgba(99, 216, 255, 0.08) 36.2%, transparent 36.7%);
  opacity: 0.42;
}

.globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.globe-canvas::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 48% 52%, transparent 0%, transparent 46%, rgba(2, 5, 10, 0.18) 64%, rgba(2, 5, 10, 0.84) 100%),
    linear-gradient(90deg, rgba(2, 5, 10, 0.48), transparent 22%, transparent 68%, rgba(2, 5, 10, 0.52)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.22));
  z-index: 1;
}

.globe-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  z-index: 0;
}

.globe-canvas canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.globe-canvas canvas:active {
  cursor: grabbing;
}

.globe-transport-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(6, 10, 17, 0.82);
  color: var(--watch);
  box-shadow: 0 0 18px currentColor;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.globe-transport-marker:hover {
  background: rgba(238, 244, 255, 0.94);
  color: #07101c;
}

.globe-transport-marker.active {
  background: rgba(238, 244, 255, 0.96);
  color: #07101c;
  box-shadow: 0 0 0 4px rgba(255, 204, 102, 0.18), 0 0 28px currentColor;
}

.globe-transport-marker svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform: rotate(22deg);
}

.globe-transport-marker.air {
  color: var(--alert);
}

.globe-transport-marker.sea,
.globe-transport-marker.rail {
  width: auto;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 900;
}

.globe-transport-marker.sea {
  color: var(--watch);
}

.globe-transport-marker.rail {
  color: var(--stable);
}

.topbar {
  position: absolute;
  top: 22px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.topbar h1,
.feed-header h2 {
  margin: 2px 0 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(99, 216, 255, 0.18), 0 2px 18px rgba(0, 0, 0, 0.42);
}

.feed-header h2 {
  font-size: 1.6rem;
  line-height: 1.1;
}

.eyebrow {
  margin: 0;
  color: var(--watch);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(99, 216, 255, 0.42);
}

.topbar-actions {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 246, 229, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(4, 8, 12, 0.78);
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 12px 24px rgba(0, 0, 0, 0.26);
}

.icon-button:hover {
  border-color: rgba(118, 247, 181, 0.68);
  background:
    linear-gradient(180deg, rgba(118, 247, 181, 0.12), transparent),
    rgba(4, 8, 12, 0.9);
}

.status-panel,
.hotspot-panel,
.detail-panel {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    var(--inset-grid),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%;
  box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.status-panel::before,
.hotspot-panel::before,
.detail-panel::before,
.live-view-panel::before,
.feed-panel::before {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 247, 181, 0.74), rgba(99, 216, 255, 0.56), transparent);
  content: "";
  opacity: 0.72;
}

.status-panel {
  left: 26px;
  bottom: 28px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 16px;
  border-left-color: rgba(118, 247, 181, 0.55);
}

.status-panel div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-panel strong {
  font-size: 2.1rem;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 20px rgba(118, 247, 181, 0.18);
}

.status-panel > span {
  color: var(--muted);
  font-size: 0.84rem;
}

.status-panel small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--stable);
  box-shadow: 0 0 18px var(--stable);
}

.hotspot-panel {
  left: 26px;
  top: 132px;
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 1px;
  overflow: hidden;
  min-width: 330px;
  padding: 0;
  border-top-color: rgba(255, 209, 102, 0.4);
}

.hotspot-panel div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(3, 7, 10, 0.54);
}

.hotspot-panel span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hotspot-panel strong {
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--soft);
}

.detail-panel {
  right: 28px;
  bottom: 28px;
  width: min(460px, calc(100% - 56px));
  max-height: min(58vh, 560px);
  min-height: 160px;
  overflow: auto;
  padding: 18px;
  border-right-color: rgba(255, 209, 102, 0.38);
}

.detail-empty {
  display: grid;
  place-items: center;
  min-height: 122px;
  color: var(--muted);
  text-align: center;
}

.detail-panel h3 {
  margin: 4px 0 8px;
  font-size: 1.2rem;
  color: var(--text);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(141, 246, 229, 0.22);
  border-radius: 6px;
  background: rgba(141, 246, 229, 0.045);
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 750;
}

.detail-panel p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}

.story-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.story-insights div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(118, 247, 181, 0.06), transparent),
    rgba(255, 255, 255, 0.03);
}

.story-insights span,
.story-brief h4 {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.story-insights strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-brief {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.story-brief h4 {
  margin: 6px 0 0;
}

.story-focus {
  border-top-color: rgba(255, 204, 102, 0.45);
  background: rgba(255, 204, 102, 0.045);
  padding: 12px;
  border: 1px solid rgba(255, 204, 102, 0.2);
  border-radius: 8px;
}

.story-focus h4:first-child {
  margin-top: 0;
}

.story-section {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.story-section h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.story-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.story-list span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.story-list strong {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

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

.source-mix div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.source-mix span,
.story-timeline span,
.detail-track span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.source-mix strong,
.story-timeline strong,
.detail-track strong {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.story-timeline {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-timeline li {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-left: 2px solid rgba(99, 216, 255, 0.65);
  background: rgba(99, 216, 255, 0.045);
}

.track-chips {
  display: grid;
  gap: 8px;
}

.detail-track {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
}

.detail-track:hover {
  border-color: rgba(112, 227, 158, 0.62);
  background: rgba(112, 227, 158, 0.075);
}

.live-view-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 12px;
  width: min(680px, calc(100% - 80px));
  max-height: min(78vh, 690px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(141, 246, 229, 0.38);
  border-radius: 7px;
  background:
    var(--inset-grid),
    linear-gradient(180deg, rgba(99, 216, 255, 0.08), rgba(5, 9, 13, 0.94) 38%, rgba(7, 10, 12, 0.96));
  background-size: 36px 36px, 36px 36px, 100% 100%;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.66), 0 0 70px rgba(99, 216, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transform: translate(-50%, -44%);
  backdrop-filter: blur(20px);
}

.live-view-panel.is-hidden {
  display: none;
}

.live-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.live-view-head h2 {
  margin: 3px 0 4px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.live-view-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.live-view-frame {
  display: grid;
  min-height: 286px;
  overflow: hidden;
  border: 1px solid rgba(141, 246, 229, 0.2);
  border-radius: 7px;
  background: rgba(1, 4, 7, 0.72);
  box-shadow: inset 0 0 28px rgba(99, 216, 255, 0.05);
}

.live-view-frame .camera-live-frame {
  min-height: 286px;
  border: 0;
  border-radius: 0;
}

.deep-zoom-panel {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.055), transparent),
    rgba(255, 255, 255, 0.025);
}

.deep-zoom-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.deep-zoom-head h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.deep-zoom-head span {
  color: var(--muted);
  font-size: 0.74rem;
}

.deep-zoom-controls {
  display: flex;
  gap: 5px;
}

.deep-zoom-button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.deep-zoom-button.active,
.deep-zoom-button:hover {
  border-color: rgba(99, 216, 255, 0.72);
  background: rgba(99, 216, 255, 0.14);
  color: var(--text);
}

.deep-zoom-tiles {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(141, 246, 229, 0.2);
  border-radius: 7px;
  background: rgba(3, 7, 12, 0.92);
}

.deep-tile-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  aspect-ratio: 16 / 9;
  min-height: 238px;
}

.deep-tile-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #07101a;
}

.deep-tile-grid img.tile-error {
  opacity: 0.18;
}

.deep-crosshair {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 204, 102, 0.82) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(255, 204, 102, 0.82) 50%, transparent calc(50% + 1px)),
    radial-gradient(circle at 50% 50%, transparent 0 20px, rgba(255, 204, 102, 0.68) 21px, transparent 22px);
}

.deep-scale {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(173, 193, 225, 0.2);
  border-radius: 6px;
  background: rgba(3, 7, 12, 0.72);
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.live-view-sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.live-source {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 9px;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.live-source:hover,
.live-source.active {
  border-color: rgba(118, 247, 181, 0.58);
  background:
    linear-gradient(180deg, rgba(118, 247, 181, 0.12), transparent),
    rgba(118, 247, 181, 0.04);
}

.live-source span,
.live-source small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.live-source span {
  white-space: nowrap;
}

.live-source small {
  line-height: 1.25;
}

.live-source strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-view-intel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.live-view-intel div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.live-view-intel span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 850;
  text-transform: uppercase;
}

.live-view-intel strong {
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.feed-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100vh;
  padding: 22px;
  border-left: 1px solid rgba(141, 246, 229, 0.24);
  background:
    var(--inset-grid),
    linear-gradient(180deg, rgba(118, 247, 181, 0.045), transparent 18%),
    rgba(3, 6, 9, 0.93);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34), inset 1px 0 0 rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

#lastUpdate {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.controls {
  display: grid;
  gap: 12px;
}

.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(141, 246, 229, 0.2);
  border-radius: 7px;
  background: rgba(2, 5, 8, 0.72);
  color: var(--text);
  padding: 0 12px;
  outline: none;
  box-shadow: inset 0 0 24px rgba(99, 216, 255, 0.035);
}

.search-box input:focus {
  border-color: rgba(118, 247, 181, 0.72);
  box-shadow: 0 0 0 3px rgba(118, 247, 181, 0.08), inset 0 0 24px rgba(99, 216, 255, 0.05);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(141, 246, 229, 0.18);
  border-radius: 7px;
  background: rgba(2, 5, 8, 0.72);
}

.segment {
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 760;
}

.segment.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(198, 255, 232, 0.86));
  color: #04100d;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(118, 247, 181, 0.18);
}

.layer-stack {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.055), transparent),
    rgba(255, 255, 255, 0.025);
}

.layer-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.layer-heading strong {
  color: var(--stable);
  font-size: 0.74rem;
  text-align: right;
}

.imagery-tabs {
  border: 0;
  padding: 0;
  background: transparent;
}

.hold-toggle {
  min-height: 38px;
  border: 1px solid rgba(255, 92, 122, 0.5);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 92, 122, 0.18), rgba(255, 92, 122, 0.08));
  color: #ffdbe2;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 24px rgba(255, 92, 122, 0.05);
}

.hold-toggle:not(.active) {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.live-panel,
.camera-panel,
.stream-panel,
.tracking-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(141, 246, 229, 0.2);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(99, 216, 255, 0.06), transparent 58%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.live-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-heading h3 {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.live-heading span {
  color: var(--muted);
  font-size: 0.74rem;
  white-space: nowrap;
}

.live-ticker {
  display: grid;
  gap: 7px;
  max-height: 132px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.live-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(141, 246, 229, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(99, 216, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.025);
  color: var(--soft);
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
}

.live-item:hover {
  border-color: rgba(99, 216, 255, 0.55);
  background:
    linear-gradient(90deg, rgba(99, 216, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.live-item strong {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-item time {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.live-item:first-child {
  animation: livePulse 1.15s ease-out;
}

.news-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 250px;
  overflow: auto;
}

.active-live-dock {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.active-live-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(118, 247, 181, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(118, 247, 181, 0.12), transparent 42%),
    rgba(118, 247, 181, 0.045);
}

.active-live-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.active-live-head span,
.active-live-head small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.active-live-head strong {
  overflow: hidden;
  color: var(--stable);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-stream-card {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 10px;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(255, 255, 255, 0.025);
  cursor: pointer;
  text-align: left;
}

.news-stream-card:hover,
.news-stream-card.active {
  border-color: rgba(255, 209, 102, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.13), transparent),
    rgba(255, 209, 102, 0.045);
}

.news-stream-card span,
.news-stream-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-stream-card strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-stream-card em {
  overflow: hidden;
  color: rgba(111, 255, 195, 0.86);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-video-frame {
  position: relative;
  display: grid;
  min-height: 286px;
  overflow: hidden;
  border: 1px solid rgba(141, 246, 229, 0.14);
  background:
    radial-gradient(circle at 50% 20%, rgba(99, 216, 255, 0.16), transparent 36%),
    #010304;
}

.stream-mode-tabs {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(141, 246, 229, 0.22);
  border-radius: 7px;
  background: rgba(2, 5, 8, 0.78);
  backdrop-filter: blur(8px);
}

.stream-mode-button {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.stream-mode-button:hover,
.stream-mode-button.active {
  border-color: rgba(118, 247, 181, 0.5);
  background: rgba(118, 247, 181, 0.14);
  color: var(--stable);
}

.news-video-frame iframe {
  width: 100%;
  min-height: 286px;
  border: 0;
}

.news-video-frame.is-compact {
  min-height: 206px;
}

.news-video-frame.is-compact iframe {
  min-height: 206px;
}

.active-live-dock .news-video-frame {
  min-height: 206px;
}

.active-live-dock .news-video-frame iframe {
  min-height: 206px;
}

.hybrid-live-frame {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.hybrid-video {
  position: relative;
  display: grid;
  min-width: 0;
}

.hybrid-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border: 1px solid rgba(118, 247, 181, 0.32);
  border-radius: 7px;
  background: rgba(2, 5, 8, 0.78);
  backdrop-filter: blur(8px);
}

.hybrid-label span,
.hybrid-label small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hybrid-label strong {
  overflow: hidden;
  color: var(--stable);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hybrid-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 209, 102, 0.08), transparent 48%),
    rgba(255, 209, 102, 0.035);
}

.hybrid-context div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hybrid-context span,
.hybrid-context small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hybrid-context strong {
  overflow: hidden;
  color: var(--soft);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hybrid-context p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.42;
}

.hybrid-context a {
  color: var(--watch);
  font-size: 0.74rem;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.area-coverage-fallback {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(118, 247, 181, 0.22);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(118, 247, 181, 0.065), transparent),
    rgba(118, 247, 181, 0.035);
}

.area-coverage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.area-coverage-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.area-coverage-head span,
.area-coverage-head small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.area-coverage-head strong {
  overflow: hidden;
  color: var(--stable);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-video-fallback {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(141, 246, 229, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.86), rgba(2, 5, 10, 0.62)),
    rgba(2, 5, 10, 0.68);
  color: var(--muted);
  font-size: 0.72rem;
  backdrop-filter: blur(12px);
}

.news-video-fallback strong,
.news-video-fallback span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-video-fallback a {
  color: var(--alert);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.camera-feeds {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
}

.camera-viewer {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(99, 216, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.025);
}

.camera-viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.camera-viewer-head strong {
  overflow: hidden;
  color: var(--stable);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-live-frame {
  aspect-ratio: 16 / 9;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid rgba(141, 246, 229, 0.16);
  border-radius: 7px;
  background: rgba(1, 4, 7, 0.72);
}

.camera-live-frame.is-monitor {
  position: relative;
  display: grid;
  min-height: 178px;
  background: #07101a;
}

.camera-live-frame.is-bridge {
  position: relative;
  display: grid;
  gap: 8px;
  aspect-ratio: auto;
  min-height: 0;
  overflow: visible;
  border-color: rgba(118, 247, 181, 0.28);
  background:
    linear-gradient(180deg, rgba(118, 247, 181, 0.055), transparent),
    rgba(3, 7, 12, 0.92);
}

.camera-live-frame.is-bridge .news-video-frame {
  min-height: 196px;
  border-radius: 7px 7px 0 0;
}

.camera-live-frame.is-bridge .news-video-frame iframe {
  min-height: 196px;
}

.camera-bridge-label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 7px 8px;
  border: 1px solid rgba(112, 227, 158, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 12, 0.72);
  backdrop-filter: blur(8px);
}

.camera-bridge-label strong,
.camera-bridge-label small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-bridge-label strong {
  color: var(--stable);
  font-size: 0.74rem;
}

.camera-bridge-label small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}

.camera-signal-view {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(99, 216, 255, 0.24), transparent 31%),
    linear-gradient(160deg, rgba(12, 30, 45, 0.95), rgba(6, 10, 17, 0.96) 48%, rgba(13, 24, 22, 0.94));
}

.camera-signal-view::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.42;
}

.camera-signal-view::after {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from var(--bearing), transparent 0deg, rgba(112, 227, 158, 0.2) 28deg, transparent 58deg);
  content: "";
  animation: cameraSweep 5s linear infinite;
}

.camera-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(238, 244, 255, 0.12) 7% 12%, transparent 12% 18%, rgba(238, 244, 255, 0.16) 18% 26%, transparent 26% 32%, rgba(238, 244, 255, 0.1) 32% 38%, transparent 38% 45%, rgba(238, 244, 255, 0.18) 45% 52%, transparent 52% 60%, rgba(238, 244, 255, 0.13) 60% 68%, transparent 68% 75%, rgba(238, 244, 255, 0.16) 75% 84%, transparent 84%),
    linear-gradient(0deg, rgba(4, 8, 13, 0.98), rgba(4, 8, 13, 0.24));
  clip-path: polygon(0 100%, 0 48%, 8% 48%, 8% 28%, 15% 28%, 15% 56%, 24% 56%, 24% 18%, 32% 18%, 32% 66%, 42% 66%, 42% 35%, 51% 35%, 51% 62%, 61% 62%, 61% 24%, 72% 24%, 72% 54%, 83% 54%, 83% 34%, 92% 34%, 92% 72%, 100% 72%, 100% 100%);
}

.camera-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(99, 216, 255, 0.18), transparent);
  animation: feedScan 3.5s ease-in-out infinite;
  opacity: 0.8;
}

.camera-feed-top,
.camera-feed-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 0.76rem;
}

.camera-feed-top {
  top: 12px;
}

.camera-feed-bottom {
  bottom: 12px;
  color: var(--soft);
}

.camera-feed-bottom span,
.camera-feed-top strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 92, 122, 0.9);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
}

.camera-live-frame.is-monitor .camera-embed-fallback {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 38px;
  z-index: 2;
  display: grid;
  gap: 3px;
  place-items: start;
  min-height: 0;
  padding: 9px;
  border: 1px solid rgba(173, 193, 225, 0.18);
  border-radius: 7px;
  background: rgba(3, 7, 12, 0.72);
  text-align: left;
}

.camera-live-frame.is-monitor .camera-embed-fallback span {
  font-size: 0.68rem;
  line-height: 1.35;
}

.camera-live-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.camera-live-frame.is-fallback {
  display: grid;
  place-items: center;
  border-style: dashed;
}

.camera-embed-fallback {
  display: grid;
  gap: 4px;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.camera-embed-fallback strong {
  color: var(--soft);
}

.camera-embed-fallback a {
  color: var(--watch);
  font-weight: 800;
  text-decoration: none;
}

.camera-placeholder {
  display: grid;
  place-items: center;
  min-height: 96px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  padding: 8px;
}

.camera-viewer-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.camera-viewer-copy strong {
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-viewer-copy span {
  color: var(--muted);
  font-size: 0.74rem;
}

.camera-viewer-copy a {
  color: var(--watch);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.camera-source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.camera-source {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
}

.camera-source:hover,
.camera-source.active {
  border-color: rgba(99, 216, 255, 0.72);
  background: rgba(99, 216, 255, 0.08);
}

.camera-source span,
.camera-source small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.camera-source strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.tracking-summary div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.tracking-summary span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tracking-summary strong {
  color: var(--text);
  font-size: 1.05rem;
}

.tracking-feed {
  display: grid;
  gap: 7px;
  max-height: 132px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.tracking-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  text-align: left;
}

.tracking-item:hover,
.tracking-item.active {
  border-color: rgba(112, 227, 158, 0.62);
  background: rgba(112, 227, 158, 0.075);
}

.tracking-item strong {
  overflow: hidden;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-item small {
  color: var(--muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.track-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 20px;
  border-radius: 4px;
  color: #07101c;
  font-size: 0.66rem;
  font-weight: 900;
}

.track-type.air {
  background: var(--alert);
}

.track-type.sea {
  background: var(--watch);
}

.track-type.rail {
  background: var(--stable);
}

.tracking-radar {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 216, 255, 0.18), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #07101a;
  background-size: 100% 100%, 42px 42px, 42px 42px, 100% 100%;
}

.tracking-radar::before,
.tracking-radar::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(99, 216, 255, 0.2);
  border-radius: 999px;
  content: "";
}

.tracking-radar::after {
  inset: 28%;
}

.route-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(238, 244, 255, 0.18), currentColor);
  transform: rotate(-10deg);
  transform-origin: center;
}

.tracking-radar.air {
  color: var(--alert);
}

.tracking-radar.sea {
  color: var(--watch);
}

.tracking-radar.rail {
  color: var(--stable);
}

.vehicle-node {
  position: absolute;
  left: clamp(10%, var(--progress), 90%);
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(7, 16, 26, 0.92);
  box-shadow: 0 0 24px currentColor;
  transform: translate(-50%, -50%);
}

.vehicle-node span {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
}

.tracking-readout {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 7, 12, 0.78);
}

.tracking-readout strong,
.tracking-readout span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-readout span {
  color: var(--muted);
  font-size: 0.8rem;
}

@keyframes livePulse {
  0% {
    border-color: rgba(99, 216, 255, 0.9);
    background: rgba(99, 216, 255, 0.16);
  }

  100% {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.035);
  }
}

@keyframes feedScan {
  0%,
  100% {
    transform: translateY(-80%);
  }

  50% {
    transform: translateY(80%);
  }
}

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

.news-feed {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow: auto;
  list-style: none;
  scrollbar-color: rgba(99, 216, 255, 0.45) transparent;
}

.news-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(141, 246, 229, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(99, 216, 255, 0.055), transparent 48%),
    rgba(255, 255, 255, 0.025);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.014);
}

.news-item:hover,
.news-item.active {
  border-color: rgba(99, 216, 255, 0.62);
  background:
    linear-gradient(90deg, rgba(99, 216, 255, 0.12), transparent 52%),
    rgba(99, 216, 255, 0.04);
}

.news-item.active {
  box-shadow: inset 3px 0 0 var(--watch), 0 0 30px rgba(99, 216, 255, 0.12);
}

.news-item strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.item-topline,
.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
}

.severity {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--watch);
  box-shadow: 0 0 14px currentColor;
}

.severity.critical {
  background: var(--critical);
}

.severity.watch {
  background: var(--watch);
}

.source-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(141, 246, 229, 0.18);
  border-radius: 7px;
  background:
    var(--inset-grid),
    linear-gradient(180deg, rgba(118, 247, 181, 0.045), transparent),
    var(--panel-strong);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
}

.source-panel h3 {
  margin: 0 0 2px;
  font-size: 0.9rem;
}

.source-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.source-row strong {
  color: var(--stable);
}

.signal-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
}

.signal-bar {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.signal-bar span {
  display: block;
  width: var(--signal);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--stable), var(--watch), var(--alert), var(--critical));
  box-shadow: 0 0 18px rgba(99, 216, 255, 0.18);
}

.news-item {
  width: 100%;
  text-align: left;
}

.canvas-marker {
  pointer-events: none;
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .globe-stage {
    min-height: 68vh;
  }

  .feed-panel {
    height: auto;
    min-height: 32vh;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .topbar h1 {
    font-size: 2.4rem;
  }

  .status-panel {
    display: none;
  }

  .hotspot-panel {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    min-width: 0;
  }

  .live-view-panel {
    top: 52%;
    width: calc(100% - 32px);
    max-height: 82vh;
  }

  .live-view-sources,
  .live-view-intel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .detail-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-height: 210px;
    overflow: auto;
  }

  .feed-panel {
    padding: 16px;
  }

  .source-mix,
  .story-insights,
  .live-view-sources,
  .live-view-intel,
  .camera-source-list,
  .news-stream-grid {
    grid-template-columns: 1fr;
  }

  .live-view-panel {
    padding: 12px;
    transform: translate(-50%, -48%);
  }

  .live-view-frame,
  .live-view-frame .camera-live-frame,
  .tracking-radar,
  .deep-tile-grid {
    min-height: 220px;
  }

  .hybrid-context {
    grid-template-columns: 1fr;
  }

  .deep-zoom-head {
    flex-direction: column;
  }

  .tracking-readout {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .news-video-fallback {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .stream-mode-tabs {
    left: 10px;
    right: 10px;
    flex-wrap: wrap;
  }

  .area-coverage-head {
    flex-direction: column;
    gap: 4px;
  }
}
