.aorta-mode-switch {
  position: absolute;
  top: 58px;
  left: 30px;
  display: flex;
  gap: 5px;
  pointer-events: auto;
}

.aorta-mode-switch button {
  appearance: none;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(14, 38, 48, 0.82), rgba(0, 0, 0, 0.68));
  color: #fff;
  font: 700 7px/1 Arial, sans-serif;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.aorta-mode-switch button[aria-pressed="true"] {
  border-color: #9af4ff;
  background: rgba(65, 202, 225, 0.32);
  box-shadow: 0 0 16px rgba(111, 234, 255, 0.55), inset 0 0 10px rgba(168, 247, 255, 0.18);
}

.aorta-stent-label {
  position: absolute;
  right: 30px;
  bottom: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
}

.aorta-game {
  position: absolute;
  right: 30px;
  bottom: 66px;
  display: grid;
  justify-items: end;
  gap: 3px;
  padding: 8px 10px;
  border-right: 2px solid #ff173f;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.76));
}

.aorta-game span,
.aorta-game em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 7px;
  font-style: normal;
}

.aorta-game strong {
  color: #fff;
  font-size: 22px;
  line-height: 0.9;
  text-shadow: 0 0 14px #ff173f;
}

.visual.is-steering .aorta-flow-canvas {
  filter: saturate(1.55) brightness(1.28);
}

.visual.is-steering .aorta-game {
  border-color: #72efff;
  box-shadow: 12px 0 28px rgba(64, 225, 255, 0.28);
}

.aorta-image-layer {
  transition: none;
  will-change: auto;
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(107, 233, 255, 0.06) 49%, transparent 50%) 0 0 / 74px 74px,
    radial-gradient(circle at 72% 32%, rgba(127, 239, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(174, 246, 255, 0.05), transparent 22%, transparent 78%, rgba(69, 184, 220, 0.08));
  mix-blend-mode: screen;
}

.aorta-hud::after {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(177, 247, 255, 0.025) 6px);
  box-shadow: inset 0 0 42px rgba(68, 213, 255, 0.09);
}

.aorta-phase-mark {
  position: absolute;
  top: 92px;
  right: 28px;
  width: 88px;
  margin: 0;
  opacity: 0.88;
}

.aorta-hud-reticle {
  display: none !important;
}

.aorta-phase-mark canvas {
  display: block;
  width: 88px;
  height: 88px;
}

.aorta-phase-mark figcaption {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  text-align: right;
}

@media (max-width: 700px) {
  .aorta-mode-switch {
    top: 54px;
    left: 22px;
  }

  .aorta-stent-label {
    right: 22px;
    bottom: 58px;
  }

  .aorta-game {
    right: 22px;
    bottom: 88px;
  }

  .aorta-phase-mark {
    top: 88px;
    right: 18px;
    transform: scale(0.82);
    transform-origin: top right;
  }
}
