/* ══════════════════════════════════════════════
   NAV OVERLAY — left-edge arc + label
   ══════════════════════════════════════════════ */
#nav-overlay {
  position: fixed; left: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 10;
}

#nav-group {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex; align-items: center;
}

#nav-links {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

#arc-decoration {
  width: 260px; height: 260px;
  max-width: 260px; max-height: 260px;
  flex-shrink: 0;
  margin-left: -130px;
  pointer-events: none;
}

#arc-decoration svg { 
  width: 100%; 
  height: 100%; 
  overflow: visible; 
}

#arc-decoration svg path { 
  filter: drop-shadow(0 0 3px rgba(160,140,200,0.25)); 
}

#nav-terminal-label {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--label);
  cursor: var(--cursor-pointer);
  pointer-events: all;
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s, letter-spacing 0.3s;
  white-space: nowrap;
  transform-origin: left center;
  text-shadow: var(--glow-violet-medium);
}

#nav-terminal-label:hover {
  color: rgba(var(--log-star), 0.95);
  transform: scale(1.08);
  letter-spacing: 0.18em;
  text-shadow:
    0 0 5px rgba(var(--log-star), 0.95),
    0 0 16px rgba(var(--log-star), 0.55),
    0 0 32px rgba(var(--log-star), 0.28),
    0 0 62px rgba(var(--log-star), 0.14);
}

#assistant-bubble {
  position: fixed;
  top: 56px;
  left: calc(26px + min(59px, 7.5vw) + 12px);
  z-index: 13;
  max-width: 188px;
  padding: 8px 10px;
  border: 1px solid rgba(176, 154, 220, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18, 14, 30, 0.9), rgba(10, 8, 20, 0.86)),
    rgba(10, 8, 20, 0.88);
  color: rgba(214, 204, 238, 0.74);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  pointer-events: none;
  text-shadow: var(--glow-violet-low);
  box-shadow:
    0 0 0 1px rgba(210, 198, 240, 0.04),
    0 0 14px rgba(158, 138, 210, 0.12),
    inset 0 0 18px rgba(166, 146, 222, 0.04);
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

#assistant-bubble.is-swapping {
  opacity: 0.28;
  transform: translateY(1px);
}

#mobile-warning-window {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 116;
  width: 360px;
  max-width: calc(100vw - 48px);
}

#mobile-warning-window .transmitter-titlebar {
  cursor: default;
  user-select: none;
}

#mobile-warning-window .transmitter-actions {
  justify-content: flex-end;
}

#mobile-warning-window.is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  #assistant-bubble {
    top: 52px;
    left: calc(26px + min(59px, 7.5vw) + 12px);
    max-width: 154px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 6px;
  }

  #mobile-warning-window {
    display: block;
  }
}

@media (max-width: 768px) {
  #nav-group {
    top: 34%;
  }

  #arc-decoration {
    width: 220px;
    height: 220px;
    max-width: 220px;
    max-height: 220px;
    margin-left: -110px;
  }

  #nav-terminal-label {
    margin-left: 8px;
    font-size: 8px;
  }
}
