@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@600;700;800&family=Share+Tech+Mono&display=swap');

/* ==========================================================================
   ToolPage Full-Width Immersive Canvas Override
   ========================================================================== */
.tool-page:has(.wt-app) .container.tool-layout,
.tool-layout:has(.wt-app),
.tool-layout.tool-layout-immersive {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.tool-layout:has(.wt-app) > .tool-sidebar,
.tool-layout.tool-layout-immersive > .tool-sidebar {
  display: none !important;
}

.tool-widget:has(.wt-app),
.tool-widget.tool-widget-frameless {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-bottom: 2rem !important;
}

.tool-page:has(.wt-app) .tool-page-header,
.tool-page:has(.wt-app) .tool-intro,
.tool-page:has(.wt-app) .breadcrumb {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

:root {
  --wt-case-bg: #151a21;
  --wt-case-border: #2a3441;
  --wt-case-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --wt-lcd-green-bg: #061c14;
  --wt-lcd-green-fg: #10b981;
  --wt-lcd-green-glow: rgba(16, 185, 129, 0.45);
  --wt-lcd-amber-bg: #1e1302;
  --wt-lcd-amber-fg: #f59e0b;
  --wt-lcd-amber-glow: rgba(245, 158, 11, 0.45);
  --wt-lcd-cyan-bg: #041924;
  --wt-lcd-cyan-fg: #06b6d4;
  --wt-lcd-cyan-glow: rgba(6, 182, 212, 0.45);
  --wt-lcd-dark-bg: #0a0e14;
  --wt-lcd-dark-fg: #e2e8f0;
  --wt-lcd-dark-glow: rgba(226, 232, 240, 0.25);
  --wt-ptt-red: #ef4444;
  --wt-ptt-red-active: #dc2626;
  --wt-ptt-glow: rgba(239, 68, 68, 0.55);
}

/* Base Wrapper */
.wt-app {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
}

/* Two-column layout on desktop: Handset + Control Console */
.wt-main-layout {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 960px) {
  .wt-main-layout {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Tactical Handset Housing
   ========================================================================== */
.wt-handset {
  position: relative;
  background: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, #1d2532 0%, #121822 45%, #0a0e14 100%);
  border: 2.5px solid #2d3848;
  border-radius: 42px 42px 34px 34px;
  box-shadow: var(--wt-case-shadow), inset 0 2px 2px rgba(255, 255, 255, 0.15), inset 0 -6px 12px rgba(0, 0, 0, 0.7);
  padding: 26px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  user-select: none;
}

/* Heavy-duty side grips */
.wt-handset::before,
.wt-handset::after {
  content: "";
  position: absolute;
  top: 140px;
  bottom: 120px;
  width: 8px;
  background: repeating-linear-gradient(
    180deg,
    #0f1318 0px,
    #0f1318 6px,
    #242d3a 6px,
    #242d3a 10px
  );
  border-radius: 4px;
}
.wt-handset::before {
  left: -8px;
  border-left: 2px solid #334155;
}
.wt-handset::after {
  right: -8px;
  border-right: 2px solid #334155;
}

/* Top Crown: Antenna + Rotary Knobs */
.wt-top-crown {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 48px;
  margin-top: -38px;
  padding: 0 12px;
  pointer-events: none;
}

.wt-antenna-mount {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.wt-antenna-stem {
  width: 14px;
  height: 60px;
  background: linear-gradient(90deg, #1e293b 0%, #475569 50%, #0f172a 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.6);
  position: relative;
}
.wt-antenna-stem::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  right: 3px;
  height: 6px;
  background: #64748b;
  border-radius: 2px;
}
/* RF Wave Pulse Animation */
.wt-antenna-waves {
  position: absolute;
  top: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--wt-ptt-red);
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}
.wt-handset.transmitting .wt-antenna-waves {
  animation: wt-rf-pulse 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes wt-rf-pulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.wt-top-knobs {
  display: flex;
  gap: 16px;
  pointer-events: auto;
}
.wt-rotary-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wt-rotary-knob {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #475569 0%, #1e293b 70%, #0f172a 100%);
  border: 2px solid #334155;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
}
.wt-rotary-knob::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 9px;
  background: #e2e8f0;
  border-radius: 2px;
  transform: translateX(-50%);
}
.wt-rotary-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

/* ==========================================================================
   Header Bar: Brand & LED Status Diodes
   ========================================================================== */
.wt-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wt-brand-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #94a3b8;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wt-brand-badge span {
  color: #38bdf8;
}

.wt-led-cluster {
  display: flex;
  gap: 12px;
}
.wt-led-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.wt-led-diode {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #334155;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
  transition: all 0.15s ease;
}
.wt-led-label {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.05em;
}

/* Glowing LED states */
.wt-led-diode.red.active,
.wt-handset.transmitting .wt-led-diode.red {
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444, inset 0 1px 2px #fca5a5;
  border-color: #f87171;
}
.wt-led-diode.green.active,
.wt-handset.receiving .wt-led-diode.green {
  background: #10b981;
  box-shadow: 0 0 12px #10b981, inset 0 1px 2px #a7f3d0;
  border-color: #34d399;
}
.wt-led-diode.blue.active {
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4, inset 0 1px 2px #a5f3fc;
  border-color: #22d3ee;
}

/* ==========================================================================
   Dot-Matrix Backlit LCD Screen
   ========================================================================== */
.wt-lcd-frame {
  background: #090d13;
  padding: 8px;
  border-radius: 16px;
  border: 2px solid #1f2937;
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(255, 255, 255, 0.03);
}

.wt-lcd-screen {
  background: var(--wt-lcd-green-bg);
  color: var(--wt-lcd-green-fg);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Share Tech Mono', monospace;
  box-shadow: inset 0 0 24px var(--wt-lcd-green-glow), 0 0 8px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
/* Scanlines / LCD subpixel texture */
.wt-lcd-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.3) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.02),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  z-index: 2;
}

/* Backlight Color Themes */
.wt-lcd-screen.theme-amber {
  background: var(--wt-lcd-amber-bg);
  color: var(--wt-lcd-amber-fg);
  box-shadow: inset 0 0 24px var(--wt-lcd-amber-glow), 0 0 8px rgba(245, 158, 11, 0.15);
}
.wt-lcd-screen.theme-cyan {
  background: var(--wt-lcd-cyan-bg);
  color: var(--wt-lcd-cyan-fg);
  box-shadow: inset 0 0 24px var(--wt-lcd-cyan-glow), 0 0 8px rgba(6, 182, 212, 0.15);
}
.wt-lcd-screen.theme-dark {
  background: var(--wt-lcd-dark-bg);
  color: var(--wt-lcd-dark-fg);
  box-shadow: inset 0 0 24px var(--wt-lcd-dark-glow);
}

/* Top Status Line in LCD */
.wt-lcd-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.95;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 5px;
  margin-bottom: 8px;
}
.wt-lcd-flags {
  display: flex;
  gap: 7px;
}
.wt-flag {
  opacity: 0.25;
  transition: opacity 0.15s, text-shadow 0.15s;
  letter-spacing: 0.05em;
}
.wt-flag.active {
  opacity: 1;
  font-weight: 900;
  text-shadow: 0 0 6px currentColor;
}

/* Big Channel & Frequency readout */
.wt-lcd-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.wt-lcd-channel {
  font-family: 'Orbitron', monospace;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 14px currentColor, 0 0 2px #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.wt-lcd-channel-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.9;
  text-transform: uppercase;
  text-align: right;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wt-lcd-freq-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.wt-lcd-freq {
  font-family: 'Orbitron', monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px currentColor;
}
.wt-lcd-subcode {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  opacity: 0.85;
}

/* S-Meter: Signal Strength Bars */
.wt-s-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
}
.wt-s-meter-bars {
  display: flex;
  gap: 2px;
  flex: 1;
  height: 8px;
}
.wt-s-bar {
  flex: 1;
  background: currentColor;
  opacity: 0.18;
  border-radius: 1px;
  transition: opacity 0.1s ease;
}
.wt-s-bar.lit {
  opacity: 1;
  box-shadow: 0 0 4px currentColor;
}

/* Live Audio Visualizer Canvas */
.wt-lcd-visualizer-canvas {
  width: 100%;
  height: 38px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  display: block;
}

/* LCD Theme Switcher buttons */
.wt-lcd-theme-toggles {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
}
.wt-theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s;
}
.wt-theme-dot:hover {
  transform: scale(1.15);
}
.wt-theme-dot.green { background: #10b981; }
.wt-theme-dot.amber { background: #f59e0b; }
.wt-theme-dot.cyan  { background: #06b6d4; }
.wt-theme-dot.dark  { background: #334155; }

/* ==========================================================================
   Primary PTT (Push-To-Talk) Action Station
   ========================================================================== */
.wt-ptt-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.wt-ptt-btn {
  width: 100%;
  height: 76px;
  background: 
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 3px, transparent 3px, transparent 8px),
    linear-gradient(180deg, #f87171 0%, #ef4444 40%, #b91c1c 100%);
  border: 3.5px solid #7f1d1d;
  border-radius: 22px;
  color: #ffffff;
  font-family: 'Chakra Petch', 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 10px 28px var(--wt-ptt-glow), inset 0 2px 3px rgba(255, 255, 255, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.1s ease;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.wt-ptt-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 32px var(--wt-ptt-glow), inset 0 2px 3px rgba(255, 255, 255, 0.5);
}
.wt-ptt-btn:active,
.wt-ptt-btn.active {
  background: 
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0px, rgba(0, 0, 0, 0.15) 3px, transparent 3px, transparent 8px),
    linear-gradient(180deg, #dc2626 0%, #b91c1c 60%, #991b1b 100%);
  transform: translateY(4px) scale(0.985);
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.8), inset 0 4px 8px rgba(0, 0, 0, 0.6);
  border-color: #991b1b;
}

.wt-ptt-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.wt-ptt-timer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.wt-ptt-subcontrols {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
}
.wt-latch-toggle,
.wt-vox-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}
.wt-latch-toggle:hover,
.wt-vox-toggle:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
}
.wt-latch-toggle.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}
.wt-vox-toggle.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #6ee7b7;
}

/* ==========================================================================
   Tactical 4x4 Hardware Keypad (DTMF Touch Tones)
   ========================================================================== */
.wt-keypad-panel {
  background: #0b0f15;
  border: 2px solid #1f2937;
  border-radius: 18px;
  padding: 12px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9);
}
.wt-keypad-header {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.wt-keypad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wt-key-btn {
  height: 44px;
  background: linear-gradient(180deg, #273343 0%, #17202b 100%);
  border: 1px solid #3b495c;
  border-radius: 8px;
  color: #f1f5f9;
  font-family: 'Orbitron', 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.08s ease;
  padding: 0;
  touch-action: manipulation;
}
.wt-key-btn:hover {
  background: linear-gradient(180deg, #334358 0%, #1e2a39 100%);
  color: #38bdf8;
}
.wt-key-btn:active,
.wt-key-btn.pressed {
  transform: translateY(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(0, 0, 0, 0.4);
  background: #0f172a;
  border-color: #38bdf8;
  color: #38bdf8;
}

.wt-key-btn sub {
  font-size: 8px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1;
  margin-top: -2px;
}

/* Functional Special Keys */
.wt-key-btn.action-call {
  background: linear-gradient(180deg, #0e7490 0%, #155e75 100%);
  border-color: #0891b2;
  color: #cffafe;
}
.wt-key-btn.action-sos {
  background: linear-gradient(180deg, #be123c 0%, #9f1239 100%);
  border-color: #e11d48;
  color: #ffe4e6;
  font-weight: 900;
}
.wt-key-btn.action-sos.active {
  animation: wt-sos-flash 0.5s infinite alternate;
}
@keyframes wt-sos-flash {
  from { background: #e11d48; box-shadow: 0 0 14px #f43f5e; }
  to { background: #881337; box-shadow: 0 0 2px #be123c; }
}

/* Handset Speaker Grill */
.wt-speaker-grill {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 30px;
  align-items: center;
}
.wt-grill-slot {
  height: 3px;
  background: #0b0f14;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wt-grill-slot:nth-child(1) { width: 50%; }
.wt-grill-slot:nth-child(2) { width: 75%; }
.wt-grill-slot:nth-child(3) { width: 90%; }
.wt-grill-slot:nth-child(4) { width: 75%; }
.wt-grill-slot:nth-child(5) { width: 50%; }

/* ==========================================================================
   Side Console / Control Hub (Tabs & Tools)
   ========================================================================== */
.wt-console {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tab Navigation for Channel Bands */
.wt-band-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 17, 30, 0.98) 100%);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.wt-band-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-band-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.wt-band-tab-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Channel Preset Grid */
.wt-channel-deck {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}
.wt-deck-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.wt-deck-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.wt-deck-subtitle {
  font-size: 12px;
  color: #64748b;
  font-family: 'Share Tech Mono', monospace;
}

.wt-channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 6px;
}
.wt-channel-list::-webkit-scrollbar {
  width: 6px;
}
.wt-channel-list::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.wt-chan-card {
  background: linear-gradient(180deg, #1e293b 0%, #151f2e 100%);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.wt-chan-card:hover {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #243248 0%, #1c2738 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}
.wt-chan-card.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border-color: #60a5fa;
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.wt-chan-no {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
}
.wt-chan-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wt-chan-freq {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10.5px;
  color: #94a3b8;
}

/* Custom Private Channel Creator */
.wt-custom-channel-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.wt-input-field {
  background: #090e17;
  border: 1px solid #334155;
  border-radius: 10px;
  color: #ffffff;
  padding: 9px 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  flex: 1;
  min-width: 140px;
  transition: border-color 0.15s;
}
.wt-input-field:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}
.wt-action-btn {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.wt-action-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Text-to-Radio Voice Dispatch Bar
   ========================================================================== */
.wt-tts-dispatch-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 18px;
}
.wt-10-codes-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.wt-10-codes-bar::-webkit-scrollbar {
  height: 4px;
}
.wt-10-codes-bar::-webkit-scrollbar-thumb {
  background: #334155;
}
.wt-code-chip {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s;
}
.wt-code-chip:hover {
  background: #334155;
  color: #38bdf8;
  border-color: #38bdf8;
}

.wt-tts-input-wrap {
  display: flex;
  gap: 10px;
}
.wt-tts-input {
  flex: 1;
  background: #090e17;
  border: 1px solid #334155;
  border-radius: 10px;
  color: #f8fafc;
  padding: 10px 14px;
  font-size: 13px;
}
.wt-tts-input:focus {
  outline: none;
  border-color: #38bdf8;
}
.wt-tts-send-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.wt-tts-send-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}

/* ==========================================================================
   NATO Phonetic Alphabet Keyboard & Encoder
   ========================================================================== */
.wt-nato-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 18px;
}
.wt-nato-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.wt-nato-result {
  background: #090e17;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 12px;
  font-family: monospace;
  font-size: 13px;
  color: #38bdf8;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.wt-nato-word {
  background: #1e293b;
  color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #334155;
  cursor: pointer;
}
.wt-nato-word:hover {
  background: #2563eb;
  border-color: #60a5fa;
}

/* ==========================================================================
   Live Channel Transmission Log
   ========================================================================== */
.wt-log-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 18px;
}
.wt-log-entries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.wt-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.wt-log-item.tx {
  border-left: 4px solid #ef4444;
}
.wt-log-item.rx {
  border-left: 4px solid #10b981;
}
.wt-log-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.wt-log-play-btn {
  background: #334155;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 11px;
}
.wt-log-play-btn:hover {
  background: #2563eb;
}

/* ==========================================================================
   Keyboard Shortcuts Floating HUD Bar & Guide Modal
   ========================================================================== */
.wt-keyboard-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 12px;
}
.wt-kbd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
kbd {
  background: #1e293b;
  border: 1px solid #475569;
  border-bottom: 2px solid #334155;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
}

/* ==========================================================================
   Audio Autoplay Unlock Banner
   ========================================================================== */
.wt-audio-banner {
  background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fef3c7;
  font-size: 12px;
  font-weight: 600;
  animation: wt-banner-pulse 2s infinite ease-in-out;
}
@keyframes wt-banner-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 18px rgba(245, 158, 11, 0.45); }
}
.wt-audio-banner button {
  background: #f59e0b;
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.wt-audio-banner button:hover {
  background: #fbbf24;
}

/* ==========================================================================
   Call Base Dispatch HQ Button (Female Voice)
   ========================================================================== */
.wt-base-call-btn {
  width: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #38bdf8;
  border-radius: 10px;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
  transition: all 0.15s ease;
}
.wt-base-call-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}
.wt-base-call-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Female Dispatcher Metadata & Voice Badge
   ========================================================================== */
.wt-dispatcher-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.wt-voice-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.wt-voice-status {
  font-size: 11px;
  color: #64748b;
}

/* ==========================================================================
   Tactical Repeater & Voice DSP Mode Selector Bar
   ========================================================================== */
.wt-repeater-mode-bar {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.wt-repeater-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wt-repeater-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wt-repeater-subtag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  text-transform: uppercase;
}

.wt-voice-mode-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.wt-voice-pill {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 7px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.15s ease;
  user-select: none;
}

.wt-voice-pill:hover {
  background: #334155;
  color: #f8fafc;
  border-color: #64748b;
}

.wt-voice-pill.active {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.wt-voice-pill[data-mode="female"].active {
  background: linear-gradient(135deg, #831843 0%, #be185d 100%);
  border-color: #f472b6;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.35);
}

.wt-voice-pill[data-mode="dispatch"].active {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.35);
}

.wt-voice-pill[data-mode="live"].active {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  border-color: #9ca3af;
  color: #ffffff;
}

/* ==========================================================================
   Handset Dual Actions & Fast Auto-Scan Button
   ========================================================================== */
.wt-handset-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wt-seek-btn {
  width: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
  border: 1px solid #60a5fa;
  border-radius: 10px;
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.25);
  transition: all 0.15s ease;
}
.wt-seek-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
}
.wt-seek-btn.active {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #86efac;
  color: #ffffff;
  animation: wt-seek-pulse 0.8s infinite alternate;
}

.wt-radiocheck-btn {
  width: 100%;
  background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
  border: 1px solid #34d399;
  border-radius: 10px;
  color: #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
  transition: all 0.15s ease;
}
.wt-radiocheck-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-color: #6ee7b7;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}
.wt-radiocheck-btn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #a7f3d0;
  color: #ffffff;
  box-shadow: 0 0 16px #10b981;
  animation: wt-seek-pulse 0.6s infinite alternate;
}

.wt-flag#wtFlagMic.active {
  text-shadow: 0 0 8px #22c55e;
}

@keyframes wt-seek-pulse {
  from { box-shadow: 0 0 6px #22c55e; }
  to { box-shadow: 0 0 16px #22c55e; }
}

/* ==========================================================================
   Deck Header Actions & Live Channel Presence Badges
   ========================================================================== */
.wt-deck-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wt-scan-connect-btn {
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  border: 1px solid #38bdf8;
  border-radius: 8px;
  color: #f0f9ff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.wt-scan-connect-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #7dd3fc;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}
.wt-scan-connect-btn.active {
  background: #16a34a;
  border-color: #86efac;
  animation: wt-seek-pulse 0.8s infinite alternate;
}

.wt-chan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 4px;
}

.wt-chan-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wt-chan-badge.active {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  animation: wt-badge-glow 1.5s infinite ease-in-out;
}
.wt-chan-badge.on-air {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: wt-badge-glow 0.8s infinite ease-in-out;
}
/* ==========================================================================
   Rugged Mechanical Chassis Corner Screws & Knurled Bumpers
   ========================================================================== */
.wt-screw {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #94a3b8 0%, #475569 55%, #1e293b 100%);
  border: 1px solid #1e293b;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 5;
}
.wt-screw::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 1.5px;
  background: #0f172a;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9);
}
.wt-screw::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 7px;
  background: #0f172a;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.9);
}
.wt-screw-tl { top: 12px; left: 14px; }
.wt-screw-tr { top: 12px; right: 14px; }
.wt-screw-bl { bottom: 12px; left: 14px; }
.wt-screw-br { bottom: 12px; right: 14px; }

/* Molded knurled rubber bumpers */
.wt-rubber-grip {
  position: absolute;
  top: 130px;
  bottom: 120px;
  width: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    180deg,
    #090d12 0px,
    #090d12 4px,
    #1e293b 4px,
    #1e293b 7px,
    #334155 7px,
    #334155 8px
  );
  box-shadow: inset 0 0 4px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.6);
  z-index: 1;
}
.wt-grip-left { left: -7px; border-left: 2px solid #475569; }
.wt-grip-right { right: -7px; border-right: 2px solid #475569; }

/* ==========================================================================
   Dual-Watch LCD & Telemetry Elements
   ========================================================================== */
.wt-lcd-telemetry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
}
.wt-bat-readout {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wt-bat-icon {
  display: inline-block;
  width: 15px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  padding: 1px;
}
.wt-bat-icon::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 1.5px;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
.wt-bat-bar {
  display: block;
  height: 100%;
  width: 80%;
  background: currentColor;
  border-radius: 0.5px;
}
.wt-rssi-readout {
  font-family: monospace;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 4px;
  border-radius: 3px;
}

.wt-lcd-subline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
  opacity: 0.9;
}
.wt-mode-badge {
  background: currentColor;
  color: #061c14;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.wt-lcd-screen.theme-amber .wt-mode-badge { color: #1e1302; }
.wt-lcd-screen.theme-cyan .wt-mode-badge { color: #041924; }
.wt-lcd-screen.theme-dark .wt-mode-badge { color: #0a0e14; }

.wt-power-tag {
  border: 1px solid currentColor;
  padding: 0 4px;
  border-radius: 2px;
  font-size: 9px;
}
.wt-pri-tag, .wt-sub-tag {
  font-size: 10px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.wt-pri-tag {
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid currentColor;
  margin-left: 6px;
}
.wt-sub-tag {
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid currentColor;
  margin-right: 6px;
}

.wt-lcd-subwatch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
}
.wt-subwatch-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wt-swap-ab-btn {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-swap-ab-btn:hover {
  background: currentColor;
  color: #000;
}

.wt-lcd-sql-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
  padding: 2px 0;
}
.wt-sql-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wt-sql-tail-tag {
  font-size: 9px;
  opacity: 0.6;
}
.wt-sql-actions {
  display: flex;
  gap: 6px;
}
.wt-moni-btn, .wt-vfo-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid currentColor;
  color: inherit;
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-moni-btn:hover, .wt-vfo-btn:hover {
  background: currentColor;
  color: #000;
}
.wt-moni-btn.active {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
  animation: wt-seek-pulse 0.6s infinite alternate;
}

/* ==========================================================================
   Live Channel Operators Roster Card & Radar HUD
   ========================================================================== */
.wt-roster-card {
  background: linear-gradient(180deg, #131b26 0%, #0d141e 100%);
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.wt-live-beacon {
  color: #10b981;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  animation: wt-beacon-pulse 1.4s infinite ease-in-out;
  margin-left: 6px;
}
@keyframes wt-beacon-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; text-shadow: 0 0 8px #10b981; }
}
.wt-roster-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wt-latency-badge {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}
.wt-share-channel-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-share-channel-btn:hover {
  background: #334155;
  border-color: #38bdf8;
  color: #38bdf8;
}

/* Operator Profile Quick Edit */
.wt-operator-profile-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #1e293b;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 12px 0;
}
.wt-profile-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wt-profile-field label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wt-profile-input, .wt-profile-select {
  background: #090d14;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f8fafc;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
}
.wt-profile-input { width: 130px; }
.wt-profile-select { width: 160px; }
.wt-profile-update-btn {
  background: #0284c7;
  border: none;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wt-profile-update-btn:hover {
  background: #0369a1;
}

/* Dynamic Roster List */
.wt-roster-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.wt-roster-item {
  background: #0b1118;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
}
.wt-roster-item.you {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.06);
}
.wt-roster-item.talking {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}
.wt-roster-avatar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wt-roster-flag {
  font-size: 18px;
}
.wt-roster-callsign {
  font-size: 13px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wt-you-tag {
  font-size: 9px;
  background: #0284c7;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
}
.wt-roster-meta {
  font-size: 10px;
  color: #94a3b8;
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.wt-roster-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.wt-status-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wt-status-pill.idle {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}
.wt-status-pill.transmitting {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 8px #ef4444;
  animation: wt-seek-pulse 0.6s infinite alternate;
}
.wt-peer-page-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-peer-page-btn:hover {
  background: #f59e0b;
  color: #000;
  border-color: #f59e0b;
}

/* ==========================================================================
   Real 24/7 Live Radio Broadcast Feeds
   ========================================================================== */
.wt-scanner-card {
  background: linear-gradient(180deg, #181c16 0%, #101410 100%);
  border: 1px solid #2d3b24;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.wt-scanner-live-badge {
  font-size: 9px;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}
.wt-scanner-stream-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.wt-stream-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wt-stream-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f1610;
  border: 1px solid #273620;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #d1fae5;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-stream-radio:hover, .wt-stream-radio.active {
  background: #19311c;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.wt-stream-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wt-scanner-play-btn {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: 1px solid #f59e0b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.15s ease;
}
.wt-scanner-play-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5);
}
.wt-scanner-play-btn.playing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}
.wt-stream-badge {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
}
.wt-stream-badge.live {
  color: #10b981;
  animation: wt-beacon-pulse 1.2s infinite ease-in-out;
}

/* ==========================================================================
   Tactical Audio Physics & DSP Settings Card
   ========================================================================== */
.wt-audio-config-card {
  background: linear-gradient(180deg, #151a24 0%, #0d121a 100%);
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.wt-audio-config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.wt-config-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wt-config-item label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wt-range-slider {
  width: 100%;
  accent-color: #38bdf8;
  cursor: pointer;
}

/* Activity Log WAV Download Actions */
.wt-log-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wt-log-wav-btn {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.wt-log-wav-btn:hover {
  background: #38bdf8;
  color: #000;
  box-shadow: 0 2px 6px rgba(56, 189, 248, 0.4);
}
.wt-clear-log-btn {
  background: transparent;
  border: 1px solid #475569;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wt-clear-log-btn:hover {
  background: #334155;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .wt-handset {
    padding: 20px 14px;
  }
  .wt-lcd-channel {
    font-size: 26px;
  }
  .wt-ptt-btn {
    height: 64px;
    font-size: 16px;
  }
  .wt-roster-list {
    grid-template-columns: 1fr;
  }
}

