/* Browser connectivity is local: server-rendered IsOffline cannot detect a lost circuit. */
.web-connection { display:inline-flex; align-items:center; font-size:.75rem; }
.web-connection > span { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:28px; min-height:32px; border-radius:6px; }
.web-connection > span:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.web-connection .connection-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:#22c55e; border:1px solid #ffffffb3; box-shadow:0 0 0 2px #00000015; }
.web-connection .connection-unavailable { display:none; }
.web-connection .connection-unavailable .connection-dot { background:#ef4444; }
/* The existing reconnect overlay remains authoritative for the Blazor circuit.
   CSS reacts immediately, without needing a functioning server callback. */
body.quest-network-offline .web-connection .connection-online,
body:has(#components-reconnect-modal:not(.components-reconnect-hide)) .web-connection .connection-online { display:none; }
body.quest-network-offline .web-connection .connection-unavailable,
body:has(#components-reconnect-modal:not(.components-reconnect-hide)) .web-connection .connection-unavailable { display:inline-flex; }
