/* ── Post-match HUD — cyberpunk sci-fi (HaxVerse home fonts) ── */

.hv-gmr-overlay {
  --gmr-cyan: #00f0ff;
  --gmr-magenta: #ff00aa;
  --gmr-violet: #7b5cff;
  --gmr-bg: #05070f;
  --gmr-panel: rgba(6, 12, 28, 0.94);
  --gmr-blue: #5eb3ff;
  --gmr-red: #ff5c7a;
  --gmr-gold: #fde047;

  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  animation: hvGmrFadeIn 0.35s ease;
}

.hv-gmr-overlay[hidden] {
  display: none !important;
}

.hv-gmr-overlay.hv-gmr-animate .hv-gmr-panel {
  animation: hvGmrPanelIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hvGmrFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hvGmrPanelIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hvGmrScan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes hvGmrNeonPulse {
  0%, 100% { opacity: 0.55; filter: blur(1px) brightness(1); }
  50% { opacity: 1; filter: blur(2px) brightness(1.35); }
}

@keyframes hvGmrNeonSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes hvGmrNeonSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hvGmrNeonTextVictory {
  0%, 100% {
    color: #00f2ff;
    text-shadow:
      0 0 8px rgba(0, 242, 255, 0.9),
      0 0 24px rgba(0, 242, 255, 0.65),
      0 0 48px rgba(255, 0, 255, 0.35),
      0 0 72px rgba(0, 242, 255, 0.25);
    filter: brightness(1);
  }
  50% {
    color: #b8fcff;
    text-shadow:
      0 0 12px rgba(0, 242, 255, 1),
      0 0 36px rgba(0, 242, 255, 0.85),
      0 0 64px rgba(255, 0, 255, 0.55),
      0 0 96px rgba(0, 242, 255, 0.45);
    filter: brightness(1.12);
  }
}

@keyframes hvGmrNeonTextDefeat {
  0%, 100% {
    color: #ff2244;
    text-shadow:
      0 0 8px rgba(255, 34, 68, 0.95),
      0 0 24px rgba(255, 34, 68, 0.7),
      0 0 48px rgba(255, 0, 40, 0.4),
      0 0 72px rgba(255, 60, 80, 0.25);
    filter: brightness(1);
  }
  50% {
    color: #ff6b82;
    text-shadow:
      0 0 12px rgba(255, 60, 80, 1),
      0 0 36px rgba(255, 34, 68, 0.85),
      0 0 64px rgba(255, 0, 30, 0.55),
      0 0 96px rgba(255, 40, 60, 0.4);
    filter: brightness(1.1);
  }
}

@keyframes hvGmrNeonTextFlicker {
  0%, 18%, 22%, 58%, 62%, 100% { opacity: 1; }
  20%, 60% { opacity: 0.82; }
}

@keyframes hvGmrPanelGlowVictory {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 242, 255, 0.25),
      -4px 0 22px rgba(0, 242, 255, 0.35),
      4px 0 22px rgba(255, 0, 255, 0.3),
      0 -4px 18px rgba(0, 242, 255, 0.25),
      0 4px 18px rgba(255, 0, 255, 0.25),
      0 24px 80px rgba(0, 0, 0, 0.65);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(0, 242, 255, 0.55),
      -6px 0 36px rgba(0, 242, 255, 0.65),
      6px 0 36px rgba(255, 0, 255, 0.6),
      0 -6px 32px rgba(255, 0, 255, 0.5),
      0 6px 32px rgba(0, 242, 255, 0.5),
      0 24px 80px rgba(0, 0, 0, 0.65);
  }
}

@keyframes hvGmrPanelGlowDefeat {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 40, 60, 0.3),
      0 0 22px rgba(255, 30, 50, 0.35),
      -4px 0 20px rgba(255, 0, 30, 0.35),
      4px 0 20px rgba(255, 60, 80, 0.35),
      0 24px 80px rgba(0, 0, 0, 0.65);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255, 60, 80, 0.65),
      0 0 40px rgba(255, 20, 40, 0.7),
      -6px 0 34px rgba(255, 0, 20, 0.65),
      6px 0 34px rgba(255, 80, 100, 0.65),
      0 24px 80px rgba(0, 0, 0, 0.65);
  }
}

@keyframes hvGmrGridPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

/* Backdrop */
.hv-gmr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 15, 0.35);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  pointer-events: none;
}

/* Panel — fit viewport */
.hv-gmr-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0;
  border: none;
  background: linear-gradient(165deg, rgba(8, 16, 36, 0.98) 0%, rgba(5, 10, 24, 0.99) 100%);
  box-shadow: none;
  padding:
    clamp(12px, 2vh, 20px)
    clamp(16px, 3vw, 28px)
    clamp(48px, 7vh, 72px);
}

.hv-gmr-panel-stats {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: clamp(6px, 1vh, 10px) 0 0;
  padding: clamp(8px, 1.5vh, 14px) 0 0;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  overflow: hidden;
}

.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-panel,
.hv-gmr-overlay.hv-gmr-outcome-draw .hv-gmr-panel,
.hv-gmr-overlay.hv-gmr-outcome-neutral .hv-gmr-panel {
  border-color: transparent;
  animation: hvGmrPanelGlowVictory 2.8s ease-in-out infinite;
}

.hv-gmr-overlay.hv-gmr-outcome-defeat .hv-gmr-panel {
  border-color: transparent;
  animation: hvGmrPanelGlowDefeat 2.8s ease-in-out infinite;
}

.hv-gmr-panel > :not(.hv-gmr-panel-neon) {
  position: relative;
  z-index: 1;
}

.hv-gmr-panel-neon {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hv-gmr-panel-neon::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 40deg,
    rgba(0, 242, 255, 0.9) 70deg,
    rgba(255, 0, 255, 0.9) 130deg,
    transparent 160deg 220deg,
    rgba(255, 0, 255, 0.7) 250deg,
    rgba(0, 242, 255, 0.7) 310deg,
    transparent 340deg
  );
  animation: hvGmrNeonSpin 5s linear infinite;
}

.hv-gmr-overlay.hv-gmr-outcome-defeat .hv-gmr-panel-neon::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 50deg,
    rgba(255, 30, 50, 0.95) 90deg,
    rgba(255, 100, 120, 0.85) 140deg,
    transparent 180deg 230deg,
    rgba(255, 0, 30, 0.9) 270deg,
    rgba(255, 60, 80, 0.85) 320deg,
    transparent 360deg
  );
}

.hv-gmr-panel-neon::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 0;
  background: linear-gradient(165deg, rgba(8, 16, 36, 0.99) 0%, rgba(5, 10, 24, 1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-panel::before,
.hv-gmr-overlay.hv-gmr-outcome-draw .hv-gmr-panel::before,
.hv-gmr-overlay.hv-gmr-outcome-neutral .hv-gmr-panel::before {
  background: linear-gradient(90deg, transparent, #00f2ff 15%, #ff00ff 50%, #00f2ff 85%, transparent);
  background-size: 200% 100%;
  animation: hvGmrNeonSweep 3s linear infinite;
}

.hv-gmr-overlay.hv-gmr-outcome-defeat .hv-gmr-panel::before {
  background: linear-gradient(90deg, transparent, #ff2244 20%, #ff0033 50%, #ff4466 80%, transparent);
  background-size: 200% 100%;
  animation: hvGmrNeonSweep 2.5s linear infinite;
}

.hv-gmr-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}

.hv-gmr-panel-frame {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}

.hv-gmr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gmr-cyan);
  border-style: solid;
  opacity: 0.75;
}

.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-corner-tl,
.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-corner-bl,
.hv-gmr-overlay.hv-gmr-outcome-draw .hv-gmr-corner-tl,
.hv-gmr-overlay.hv-gmr-outcome-neutral .hv-gmr-corner-tl {
  border-color: #00f2ff;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.6);
  animation: hvGmrNeonPulse 2.5s ease-in-out infinite;
}

.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-corner-tr,
.hv-gmr-overlay.hv-gmr-outcome-victory .hv-gmr-corner-br,
.hv-gmr-overlay.hv-gmr-outcome-draw .hv-gmr-corner-tr,
.hv-gmr-overlay.hv-gmr-outcome-neutral .hv-gmr-corner-tr {
  border-color: #ff00ff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.55);
  animation: hvGmrNeonPulse 2.5s ease-in-out infinite 0.6s;
}

.hv-gmr-overlay.hv-gmr-outcome-defeat .hv-gmr-corner {
  border-color: #ff2244;
  box-shadow: 0 0 10px rgba(255, 40, 60, 0.65);
  animation: hvGmrNeonPulse 2.2s ease-in-out infinite;
}

.hv-gmr-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hv-gmr-corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hv-gmr-corner-bl { bottom: 0; left: 0; border-width: 0 0 0 2px; height: 12px; }
.hv-gmr-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; height: 12px; }

/* HUD header strip */
.hv-gmr-hud-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.hv-gmr-hud-tag {
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gmr-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.hv-gmr-hud-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.35), rgba(255, 0, 170, 0.2), transparent);
}

.hv-gmr-hud-label {
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(200, 220, 255, 0.55);
  text-transform: uppercase;
}

.hv-gmr-hud-id {
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gmr-magenta);
  padding: 3px 8px;
  border: 1px solid rgba(255, 0, 170, 0.35);
  background: rgba(255, 0, 170, 0.08);
  border-radius: 2px;
}

/* Outcome header */
.hv-gmr-header {
  text-align: center;
  margin: 0 0 2px;
  padding: 0;
  background: none;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

/* Outcome neon title */
.hv-gmr-outcome-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  padding: 8px 0 4px;
  background: none;
  border: none;
  box-shadow: none;
}

.hv-gmr-neon-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  line-height: 1.05;
  text-transform: uppercase;
  animation: hvGmrNeonTextFlicker 4s linear infinite;
}

.hv-gmr-outcome-victory .hv-gmr-neon-title,
.hv-gmr-outcome.hv-gmr-outcome-victory .hv-gmr-neon-title,
.hv-gmr-outcome-draw .hv-gmr-neon-title,
.hv-gmr-outcome.hv-gmr-outcome-draw .hv-gmr-neon-title,
.hv-gmr-outcome-neutral .hv-gmr-neon-title,
.hv-gmr-outcome.hv-gmr-outcome-neutral .hv-gmr-neon-title {
  animation:
    hvGmrNeonTextVictory 2.8s ease-in-out infinite,
    hvGmrNeonTextFlicker 4s linear infinite;
}

.hv-gmr-outcome-defeat .hv-gmr-neon-title,
.hv-gmr-outcome.hv-gmr-outcome-defeat .hv-gmr-neon-title {
  animation:
    hvGmrNeonTextDefeat 2.6s ease-in-out infinite,
    hvGmrNeonTextFlicker 4s linear infinite;
}

.hv-gmr-neon-subtitle {
  margin: 6px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(180, 210, 240, 0.55);
}

.hv-gmr-outcome-victory .hv-gmr-neon-subtitle,
.hv-gmr-outcome.hv-gmr-outcome-victory .hv-gmr-neon-subtitle,
.hv-gmr-outcome-draw .hv-gmr-neon-subtitle,
.hv-gmr-outcome-neutral .hv-gmr-neon-subtitle {
  color: rgba(0, 242, 255, 0.45);
  text-shadow: 0 0 12px rgba(0, 242, 255, 0.35);
}

.hv-gmr-outcome-defeat .hv-gmr-neon-subtitle,
.hv-gmr-outcome.hv-gmr-outcome-defeat .hv-gmr-neon-subtitle {
  color: rgba(255, 80, 100, 0.5);
  text-shadow: 0 0 12px rgba(255, 34, 68, 0.35);
}

.hv-gmr-scoreline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
}

.hv-gmr-score {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hv-gmr-score-blue {
  color: var(--gmr-blue);
  text-shadow: 0 0 24px rgba(94, 179, 255, 0.65), 0 0 48px rgba(0, 240, 255, 0.25);
}

.hv-gmr-score-red {
  color: var(--gmr-red);
  text-shadow: 0 0 24px rgba(255, 92, 122, 0.6), 0 0 48px rgba(255, 0, 170, 0.2);
}

.hv-gmr-score-sep {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
  animation: hvGmrNeonPulse 2.5s ease-in-out infinite;
}

.hv-gmr-duration {
  margin: 8px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(180, 210, 240, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hv-gmr-duration::before {
  content: "// ";
  color: var(--gmr-magenta);
  opacity: 0.7;
}

/* Legend */
.hv-gmr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.12);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.04);
}

.hv-gmr-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(200, 220, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hv-gmr-legend-key {
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: var(--gmr-cyan);
  padding: 2px 5px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.06);
  border-radius: 2px;
}

/* Team boards */
.hv-gmr-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  align-content: start;
}

.hv-gmr-team-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 2px 2px 0 0;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hv-gmr-team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hv-gmr-team-head-blue {
  background: linear-gradient(90deg, rgba(0, 80, 160, 0.45), rgba(0, 40, 90, 0.2));
  color: #9fd0ff;
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-bottom: none;
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.06);
}

.hv-gmr-team-head-blue .hv-gmr-team-dot {
  background: var(--gmr-blue);
  box-shadow: 0 0 10px rgba(94, 179, 255, 0.8);
}

.hv-gmr-team-head-red {
  background: linear-gradient(90deg, rgba(160, 20, 50, 0.45), rgba(80, 10, 30, 0.2));
  color: #ffb0c8;
  border: 1px solid rgba(255, 0, 170, 0.28);
  border-bottom: none;
  box-shadow: inset 0 0 20px rgba(255, 0, 170, 0.06);
}

.hv-gmr-team-head-red .hv-gmr-team-dot {
  background: var(--gmr-red);
  box-shadow: 0 0 10px rgba(255, 92, 122, 0.8);
}

.hv-gmr-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 2px 2px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.hv-gmr-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
}

.hv-gmr-table thead th {
  padding: 7px 3px;
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0, 240, 255, 0.55);
  text-align: center;
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  background: rgba(0, 240, 255, 0.03);
}

.hv-gmr-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease;
}

.hv-gmr-table tbody tr:hover {
  background: rgba(0, 240, 255, 0.04);
}

.hv-gmr-table tbody tr.hv-gmr-mvp-row {
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.14), rgba(255, 0, 170, 0.06));
  box-shadow: inset 0 0 0 1px rgba(253, 224, 71, 0.28);
}

.hv-gmr-table tbody tr.hv-gmr-mvp-row .hv-gmr-name {
  color: var(--gmr-gold);
  text-shadow: 0 0 12px rgba(253, 224, 71, 0.45);
}

.hv-gmr-table tbody tr.hv-gmr-self-row {
  background: rgba(0, 240, 255, 0.07);
  box-shadow: inset 2px 0 0 var(--gmr-cyan);
}

.hv-gmr-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  min-width: 130px;
}

.hv-gmr-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 240, 255, 0.25);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Twemoji Country Flags", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.12);
}

.hv-gmr-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.hv-gmr-team-blue .hv-gmr-name { color: #b8dcff; }
.hv-gmr-team-red .hv-gmr-name { color: #ffb8c8; }

.hv-gmr-stat {
  text-align: center;
  padding: 8px 3px;
  color: rgba(220, 235, 255, 0.9);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hv-gmr-stat-high {
  color: var(--gmr-gold);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.45);
}

.hv-gmr-stat-good {
  color: #5cff8a;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(92, 255, 138, 0.35);
}

.hv-gmr-stat-muted {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.hv-gmr-mvp-badge {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 5px;
  border-radius: 2px;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gmr-gold), #ff8f00);
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.5);
}

/* Footer */
.hv-gmr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: clamp(8px, 1.5vh, 12px);
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  flex-shrink: 0;
}

.hv-gmr-footer-hint {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(150, 180, 220, 0.4);
}

.hv-gmr-back {
  border: 2px solid rgba(0, 240, 255, 0.45);
  border-radius: 2px;
  padding: 10px 28px;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(255, 0, 170, 0.08) 100%);
  color: #e8f8ff;
  box-shadow:
    0 0 20px rgba(0, 240, 255, 0.2),
    inset 0 0 16px rgba(0, 240, 255, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hv-gmr-back:hover {
  border-color: var(--gmr-magenta);
  box-shadow:
    0 0 28px rgba(255, 0, 170, 0.35),
    inset 0 0 20px rgba(255, 0, 170, 0.08);
  transform: translateY(-1px);
}

.hv-gmr-back:active {
  transform: translateY(0);
}

.hv-gmr-back.hv-gmr-back-waiting {
  opacity: 0.88;
  cursor: pointer;
  border-color: rgba(0, 240, 255, 0.38);
  box-shadow:
    0 0 16px rgba(0, 240, 255, 0.15),
    inset 0 0 12px rgba(0, 240, 255, 0.05);
}

.hv-gmr-back.hv-gmr-back-waiting:hover {
  border-color: var(--gmr-magenta);
  box-shadow:
    0 0 28px rgba(255, 0, 170, 0.35),
    inset 0 0 20px rgba(255, 0, 170, 0.08);
  transform: translateY(-1px);
}

.hv-gmr-back:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: none;
}

.hv-gmr-back:disabled:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: none;
  transform: none;
}

@media (max-width: 900px) {
  .hv-gmr-boards { grid-template-columns: 1fr; }
  .hv-gmr-hud-label { display: none; }
  .hv-gmr-footer-hint { display: none; }
  .hv-gmr-footer { justify-content: flex-end; }
}

.hv-gmr-loading-row {
  padding: 18px 12px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 242, 255, 0.65);
  animation: hvGmrNeonPulse 2s ease-in-out infinite;
}

.hv-gmr-overlay.hv-gmr-pending .hv-gmr-neon-title {
  opacity: 0.75;
}
