.zion-station {
  --accent: #ffad89;
  --accent-soft: #ffcfb8;
  --data: #c6a1e8;
  --ink: #f2eafa;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  --readout-height: 75px;
  --rail-inset: 12px;
  position: relative;
  justify-self: end;
  width: min(100%, 564px);
  color: var(--ink);
}
.station-caption {
  position: absolute;
  inset: 0 var(--rail-inset) auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.station-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.station-name .icon { width: 16px; height: 16px; color: var(--accent); }
.station-example { color: #baafc9; white-space: nowrap; font-size: 12px; }
.zion-station .constellation-stage { position: relative; isolation: isolate; height: clamp(411px, 36vw, 500px); margin: 0; aspect-ratio: auto; }
.station-chamber {
  position: absolute;
  inset: -38px -22px 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #382042, #170f25 41%, transparent 73%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 22%, #000d 47%, transparent 74%);
}
.station-depth, .station-depth canvas, .station-chamber .binary-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.station-scan {
  position: absolute;
  inset: 0 3% auto;
  height: 66px;
  opacity: 0;
  background: linear-gradient(0deg, #ffb18b55 0%, #d29bf015 16%, transparent 100%);
  border-bottom: 1px solid #ffc2aaa0;
  pointer-events: none;
}
.zion-station .constellation-lines { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zion-station .is-active-rail { stroke: #ca9de5; }
.zion-station .evidence-node {
  width: auto;
  max-width: none;
  min-width: 94px;
  min-height: 46px;
  padding: 8px 7px;
  gap: 7px;
  z-index: 2;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f6ecff;
  cursor: pointer;
  text-shadow: 0 1px 4px #0d0718, 0 0 12px #0d0718;
  transition: color .2s;
}
.zion-station .evidence-node > span { font-size: 14px; font-weight: 600; }
.zion-station .evidence-node .icon { width: 17px; height: 17px; color: #c0a6d9; }
.zion-station .evidence-node:hover, .zion-station .evidence-node.is-selected { color: var(--accent-soft); }
.zion-station .evidence-node.is-selected .icon { color: var(--accent); }
.zion-station .node-chat, .zion-station .node-media { top: 17%; bottom: auto; }
.zion-station .node-audio, .zion-station .node-link { top: 61%; bottom: auto; }
.zion-station .node-chat, .zion-station .node-audio { left: var(--rail-inset); right: auto; justify-content: flex-end; }
.zion-station .node-media, .zion-station .node-link { right: var(--rail-inset); left: auto; flex-direction: row-reverse; justify-content: flex-end; }
.station-socket {
  position: absolute;
  top: calc(50% - 2px);
  right: -5px;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #ad89c8;
}
.node-media .station-socket, .node-link .station-socket { left: -5px; right: auto; }
.is-selected .station-socket { background: var(--accent); box-shadow: 0 0 10px #ffac83aa; }

.zion-station .evidence-core {
  top: 46%;
  width: 92px;
  height: 101px;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse, #160d22eb 11%, #130a20b0 50%, transparent 77%);
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
}
.zion-station .evidence-core .brand-mark { width: 76px; height: 76px; color: #ffc2a4; filter: drop-shadow(0 0 14px #ff9e758c); }
.zion-station .evidence-core .brand-mark path[stroke] { display: none; }
.zion-station .evidence-core > span { position: static; color: #dfcde9; font-size: 11px; letter-spacing: .01em; text-shadow: 0 1px 4px #0d0718; }
.zion-station .constellation-insight {
  position: absolute;
  top: calc(100% - var(--readout-height));
  display: grid;
  grid-template-rows: 21px auto;
  justify-items: center;
  width: 100%;
  margin: 0;
  padding: 0 var(--rail-inset);
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  z-index: 2;
  text-align: center;
}
.zion-station .insight-icon {
  width: 21px;
  height: 21px;
  padding: 0;
  color: color-mix(in srgb, var(--data), #fff2e8 var(--arrival, 0%));
  filter: drop-shadow(0 0 8px color-mix(in srgb, transparent, var(--accent) var(--arrival, 0%)));
}
.zion-station .constellation-insight > :last-child { width: min(100%, 420px); }
.zion-station .constellation-insight strong { font-size: 14px; line-height: 1.45; }
.zion-station .constellation-insight p { color: #b8a8c9; font-size: 12px; line-height: 1.5; }
.zion-station--compact { justify-self: center; }
.zion-station--compact .constellation-stage { height: clamp(440px, 36vw, 540px); }


@media (max-width: 767px) {
  .zion-station { --rail-inset: 3px; --readout-height: 85px; }
  .zion-station .constellation-stage { height: 420px; }
  .station-chamber { inset-inline: -16px; }
  .zion-station .evidence-node { min-width: 80px; padding-inline: 5px; gap: 5px; }
  .zion-station .evidence-node > span { font-size: 12px; }
  .zion-station .evidence-core { width: 74px; height: 90px; }
  .zion-station .evidence-core .brand-mark { width: 60px; height: 60px; }
  .zion-station .evidence-core > span { font-size: 10px; }
  .station-name { font-size: 12px; }
  .station-example { font-size: 11px; }
  .zion-station .constellation-insight strong { font-size: 13px; }
}
