/* NEXUS MOBILE EXPERIENCE — shared by index, login and owner pages.
   Palette and branding unchanged: uses the existing cosmic blues. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
a, button, summary, select, label, input, textarea, [role="button"] { touch-action: manipulation; }

.connection-indicator {
  position: fixed;
  z-index: 160;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  padding: 8px 14px;
  border: 1px solid #339dff;
  border-radius: 999px;
  background: rgba(6,25,54,.96);
  color: #edf6ff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 0 16px #006bff88;
  pointer-events: none;
  transition: opacity .2s ease;
}
.connection-indicator[data-state="offline"] { border-color: #8cddff; }
.connection-indicator[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .connection-indicator { transition: none; } }
