.gps-panel {
  border: 1px solid rgba(0, 170, 255, 0.28);
  border-radius: 22px;
  padding: 13px;
  display: grid;
  gap: 11px;
  background:
    linear-gradient(180deg, rgba(0, 170, 255, 0.09), rgba(0, 0, 0, 0.16)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 28px rgba(0, 170, 255, 0.035);
}

.gps-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gps-kicker {
  margin: 0 0 4px;
  color: #00aaff;
  font-size: 10px;
  letter-spacing: 0.20em;
  font-weight: 1000;
}

.gps-panel h2 {
  margin: 0;
  color: #ecfffb;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.gps-pill {
  min-width: 82px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: rgba(236, 255, 251, 0.68);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.gps-pill.is-active {
  color: #001412;
  background: linear-gradient(90deg, #00aaff, #00ffd5);
  border-color: rgba(0, 170, 255, 0.50);
  box-shadow: 0 0 22px rgba(0, 170, 255, 0.34);
}

.gps-pill.is-error {
  color: #fff;
  background: rgba(255, 61, 113, 0.18);
  border-color: rgba(255, 61, 113, 0.42);
}

.gps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gps-stat {
  min-height: 58px;
  border-radius: 16px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(236, 255, 251, 0.08);
}

.gps-stat span {
  display: block;
  color: rgba(236, 255, 251, 0.45);
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 1000;
}

.gps-stat strong {
  display: block;
  margin-top: 7px;
  color: #ecfffb;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.gps-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 19px;
  color: #001412;
  background: linear-gradient(90deg, #00aaff, #00ffd5);
  box-shadow:
    0 0 30px rgba(0, 170, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gps-button:active {
  transform: scale(0.985);
}

.gps-button.is-active {
  background: linear-gradient(90deg, #52ff9a, #00ffd5);
}

.gps-help {
  margin: -2px 0 0;
  color: rgba(236, 255, 251, 0.52);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 700;
  text-align: center;
}

body.gps-active #hudGps {
  color: #00aaff !important;
}

body.gps-active .gps-core {
  border-color: rgba(0, 170, 255, 0.44);
  box-shadow:
    0 0 34px rgba(0, 170, 255, 0.18),
    inset 0 0 28px rgba(0, 170, 255, 0.08);
}

@media (max-width: 390px), (max-height: 780px) {
  .gps-panel {
    border-radius: 19px;
    padding: 11px;
    gap: 9px;
  }

  .gps-panel h2 {
    font-size: 19px;
  }

  .gps-pill {
    min-width: 74px;
    min-height: 30px;
    font-size: 9px;
  }

  .gps-stat {
    min-height: 50px;
    border-radius: 14px;
    padding: 8px;
  }

  .gps-stat strong {
    font-size: 13px;
  }

  .gps-button {
    min-height: 52px;
    border-radius: 17px;
    font-size: 14px;
  }

  .gps-help {
    font-size: 11px;
  }
}

@media (max-height: 720px) {
  .gps-panel {
    gap: 8px;
  }

  .gps-stat {
    min-height: 44px;
  }
}
