/* Slice 7.15A: validated production compass readability + center lens. */
.heading-compass {
  width: 380px;
  color: #f4fff6;
  filter: none;
}

.compass-window {
  position: relative;
  width: 380px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(190, 255, 205, 0.92);
  background: rgba(0, 17, 8, 0.96);
  box-shadow:
    0 0 13px rgba(114, 255, 140, 0.34),
    inset 0 0 16px rgba(114, 255, 140, 0.12);
}

.compass-window::before,
.compass-window::after {
  width: 34px;
  z-index: 3;
}

.compass-window::before {
  background: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0));
}

.compass-window::after {
  background: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0));
}

.compass-tape {
  z-index: 2;
  overflow: visible;
}

.compass-tape span {
  position: relative;
  z-index: 2;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #caffd2;
  opacity: 0.98;
  text-shadow:
    0 0 4px rgba(255,255,255,0.35),
    0 0 7px rgba(114,255,140,0.70);
  transform: none !important;
}

.compass-tape span.cardinal {
  padding-top: 11px;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  opacity: 1;
}

.compass-center-mask {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 0;
  width: 108px;
  height: 44px;
  transform: translateX(-50%);
  background: rgba(0, 20, 9, 0.995);
  pointer-events: none;
}

.compass-magnifier-lens {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 3px;
  width: 96px;
  height: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 0;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8, 38, 17, 1), rgba(0, 18, 8, 1));
  box-shadow:
    0 0 14px rgba(114,255,140,0.34),
    inset 0 0 8px rgba(190,255,205,0.08);
  pointer-events: none;
}

.compass-magnifier-value {
  position: relative;
  top: -1px;
  white-space: nowrap;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.045em;
  color: #ffffff;
  text-shadow:
    0 0 4px #ffffff,
    0 0 9px #72ff8c,
    0 0 15px rgba(114,255,140,0.95);
}

.compass-index {
  z-index: 6;
  top: 0;
  width: 2px;
  height: 5px;
  background: #ffffff;
  box-shadow:
    0 0 5px #ffffff,
    0 0 10px #72ff8c;
}

.compass-index::after {
  display: none;
}

.compass-readout {
  display: none;
}

@media (max-width: 620px) {
  .heading-compass,
  .compass-window {
    width: min(370px, 78vw);
  }

  .compass-center-mask {
    width: 104px;
  }

  .compass-magnifier-lens {
    width: 92px;
  }

  .compass-magnifier-value {
    font-size: 21px;
  }
}

.compass-lens-halo {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 1px;
  width: 104px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(114,255,140,0.48);
  pointer-events: none;
}

@media (max-width: 620px) {
  .compass-lens-halo {
    width: 100px;
    height: 42px;
  }
}
