/* NAVCOM PRO — consolas radio premium */

.nav-radio,
.rma-radio-unit {
  position: relative;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(145deg, #64748b 0%, #334155 35%, #1e293b 70%, #0f172a 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
}

.nav-radio-inner,
.rma-radio-face {
  border-radius: 14px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, #2d3a4f 0%, #1a2332 45%, #121a26 100%);
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.nav-radio-brand,
.rma-radio-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-radio-model,
.rma-radio-model {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a227;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-radio-led,
.rma-radio-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.nav-radio-led.on,
.rma-radio-led.on {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.4);
}

.nav-radio-grille,
.rma-radio-grille {
  height: 28px;
  margin-bottom: 10px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, #0f172a 0 3px, #1e293b 3px 5px),
    linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid #334155;
  opacity: 0.85;
}

.nav-radio-display,
.rma-radio-screen {
  position: relative;
  min-height: 96px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #031208;
  border: 3px solid #1a2e22;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8), inset 0 2px 8px rgba(74, 222, 128, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-radio-display.on,
.rma-radio-screen.on {
  box-shadow:
    inset 0 0 28px rgba(34, 197, 94, 0.15),
    0 0 20px rgba(34, 197, 94, 0.12);
}

.nav-radio-display.off,
.rma-radio-screen:not(.on) {
  background: #05080c;
}

.nav-radio-scanlines,
.rma-lcd-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.35;
}

.nav-radio-lcd,
.rma-lcd {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: "JetBrains Mono", "Consolas", ui-monospace, monospace;
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.55);
}

.nav-radio-lcd-ch,
.rma-lcd-ch {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
}

.nav-radio-lcd-sub,
.rma-lcd-meta,
.rma-lcd-sq {
  display: block;
  font-size: 0.68rem;
  opacity: 0.9;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

.rma-off,
.nav-radio-off {
  color: #475569;
  font-size: 1.1rem;
  letter-spacing: 0.3em;
}

.nav-radio-controls,
.rma-radio-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: end;
}

.nav-radio-knobs,
.rma-knobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.nav-radio-btn,
.rma-knobs button,
.rma-radio-bar button {
  background: linear-gradient(180deg, #475569 0%, #334155 55%, #1e293b 100%);
  color: #f1f5f9;
  border: 1px solid #64748b;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 3px 0 #0f172a, 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.nav-radio-btn:active,
.rma-knobs button:active,
.rma-radio-bar button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0f172a;
}

.nav-radio-btn.active,
.rma-knobs button.rma-active {
  border-color: #c9a227;
  color: #fde68a;
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.25), 0 3px 0 #0f172a;
}

.nav-radio-ptt,
.rma-btn-ptt {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ef4444, #991b1b 55%, #7f1d1d 100%) !important;
  border: 3px solid #450a0a !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 6px 0 #450a0a, 0 10px 24px rgba(239, 68, 68, 0.35) !important;
  align-self: center;
  justify-self: center;
}

.nav-radio-ptt:active,
.nav-radio-ptt.active,
.rma-btn-ptt:active,
.rma-btn-ptt.rma-ptt-active {
  box-shadow: 0 2px 0 #450a0a, 0 0 18px rgba(239, 68, 68, 0.65) !important;
  transform: translateY(4px);
}

.nav-radio-distress,
.rma-distress {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 40%, #c2410c 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border: 2px solid #7c2d12 !important;
  border-radius: 10px !important;
  padding: 12px 8px !important;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.35), 0 4px 0 #7c2d12 !important;
  animation: navcom-distress-glow 2.5s ease-in-out infinite;
}

@keyframes navcom-distress-glow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.3), 0 4px 0 #7c2d12;
  }
  50% {
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.55), 0 4px 0 #7c2d12;
  }
}

.rma-radio-mfhf .rma-lcd-ch {
  font-size: 1.35rem;
}

.rma-radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
