.cockpit-warp-marker { opacity: 0; }
.cockpit-warp-marker.is-visible { animation: cockpit-warp-discover .7s ease-out both; }
@keyframes cockpit-warp-discover { from { opacity: 0; } to { opacity: 1; } }
.warp-flight-reading { opacity: calc(var(--warp-hud, 0) * (1 - var(--warp-arrival, 0))); }
body.cockpit-warp .cockpit-warp-hud {
  transform-origin: 50% var(--bridge-observe-origin-y);
  transform: scale(var(--bridge-observe-scale));
  opacity: calc(var(--warp-hud, 0) * var(--warp-observe-opacity, 1));
}
.warp-arrival-system {
  position: absolute; left: 28px; bottom: 18px; width: 456px; height: 248px;
  padding: 0; appearance: none; border: 0; border-radius: 0; background: transparent;
  opacity: var(--warp-arrival, 0); pointer-events: none;
  translate: 0 calc((1 - var(--warp-arrival, 0)) * 14px);
}
.warp-arrival-system:not(:disabled) { pointer-events: auto; cursor: pointer; }
.warp-arrival-system:focus { outline: none; }
.warp-arrival-system:hover, .warp-arrival-system:focus-visible { filter: brightness(1.18); }
#warp-black-hole-hologram { display: block; width: 100%; height: 100%; pointer-events: none; }
.warp-arrival-scan {
  position: absolute; right: 94px; bottom: 48px; width: 300px; height: 144px;
  display: flex; align-items: center; justify-content: center;
  opacity: var(--warp-arrival, 0);
  transform-origin: 50% 65%;
  transform: perspective(800px) rotateY(-24deg) rotateX(9deg) rotateZ(3deg);
  translate: 0 calc((1 - var(--warp-arrival, 0)) * 14px);
}
.warp-scan {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 20px;
  width: 100%; height: 90px; padding: 12px 26px;
  appearance: none; border: 1px solid #98ddff99; border-radius: 0;
  color: #c8efff; background-color: #74caff09;
  background-image: repeating-linear-gradient(0deg, #80d6ff16 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, #80d6ff12 0 1px, transparent 1px 12px);
  font: 400 17px/1.4 'SF Mono', Menlo, 'PingFang SC', monospace; letter-spacing: .22em;
  text-shadow: 0 0 9px #76c7ff55; box-shadow: 0 0 12px #67cfff14, inset 0 0 16px #67cfff0a;
  pointer-events: auto; cursor: pointer;
  transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s;
}
.warp-scan::before, .warp-scan::after {
  content: ''; position: absolute; left: 12px; right: 12px; height: 1px;
  background: linear-gradient(90deg, transparent, #a7e5ff80, transparent); pointer-events: none;
}
.warp-scan::before { top: -6px; }
.warp-scan::after { bottom: -6px; }
.warp-scan svg { width: 42px; height: 42px; flex: none; stroke: currentColor; stroke-width: 1; }
.warp-scan-crosshair { opacity: .35; }
.warp-scan:hover, .warp-scan:focus-visible { color: #e6faff; border-color: #d8f5ff; background-color: #74caff16; box-shadow: 0 0 16px #67cfff24, inset 0 0 16px #67cfff16; }
.warp-scan:focus-visible { outline: 1px solid #b0eaff99; outline-offset: 5px; }
.warp-scan:active { background-color: #74caff38; }
.warp-scan.is-pulsing { animation: warp-scan-feedback .65s ease-out; }
.warp-scan:disabled, .warp-arrival-scan[inert] .warp-scan { pointer-events: none; }
@keyframes warp-scan-feedback {
  0% { background-color: #74caff44; box-shadow: 0 0 24px #67cfff55, inset 0 0 22px #67cfff33; }
  100% { background-color: #74caff09; box-shadow: 0 0 12px #67cfff14, inset 0 0 16px #67cfff0a; }
}
@media (max-width: 800px) {
  .warp-arrival-system { left: 1vw; bottom: max(14px, env(safe-area-inset-bottom)); width: 47vw; height: 220px; }
  .warp-arrival-scan { right: 4vw; bottom: max(24px, env(safe-area-inset-bottom)); width: 36vw; height: 132px; }
  .warp-scan { height: 72px; gap: 12px; font-size: 14px; }
  .warp-scan svg { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .cockpit-warp-marker.is-visible { animation-duration: .2s; }
  .warp-scan.is-pulsing { animation: none; }
}
