/* A compact connection indicator. Only a real reconnect animates; regular states stay still. */
.free-system-trigger,.free-system-panel{--system-tone:#a8adbd}
:is(.free-system-trigger,.free-system-panel)[data-state=excellent]{--system-tone:#69dfa5}
:is(.free-system-trigger,.free-system-panel)[data-state=normal]{--system-tone:#a8ddc6}
:is(.free-system-trigger,.free-system-panel)[data-state=slow]{--system-tone:#edca73}
:is(.free-system-trigger,.free-system-panel)[data-state=unstable]{--system-tone:#edaa72}
:is(.free-system-trigger,.free-system-panel)[data-state=reconnecting]{--system-tone:#c3b5ef}
.free-shell .free-system-trigger{display:inline-flex;align-items:center;justify-content:center;gap:0;flex:none;width:36px;height:36px;min-height:36px;padding:7px;border-color:#ffffff14;border-radius:11px;background:#ffffff04;color:#cbd0dd;font:inherit;font-size:14px;line-height:20px;white-space:nowrap}
.free-shell .free-system-trigger:hover,.free-shell .free-system-trigger[aria-expanded=true]{background:#ffffff0a;border-color:#c3b5ef55;color:#fff}
.free-system-trigger:focus-visible,.free-system-panel button:focus-visible{outline:2px solid #c3b5ef;outline-offset:3px}
.free-system-bars{position:relative;display:inline-flex;align-items:flex-end;justify-content:center;gap:2px;flex:none;width:22px;height:20px;color:var(--system-tone)}
.free-system-bars>span{display:block;flex:none;width:3px;border-radius:1px;background:currentColor;opacity:.2}
.free-system-bars>span:nth-child(1){height:5px}.free-system-bars>span:nth-child(2){height:9px}.free-system-bars>span:nth-child(3){height:14px}.free-system-bars>span:nth-child(4){height:19px}
.free-system-bars>span.is-active{opacity:1}
.free-system-trigger[data-state=disconnected] .free-system-bars::after{content:'';position:absolute;left:0;top:9px;width:24px;height:1.5px;border-radius:2px;background:currentColor;transform:rotate(-40deg);box-shadow:0 0 0 2px #11131b}
.free-system-trigger[data-state=reconnecting] .free-system-bars>span{animation:freeSignalSearch 1.8s ease-in-out infinite}
.free-system-trigger[data-state=reconnecting] .free-system-bars>span:nth-child(2){animation-delay:.15s}.free-system-trigger[data-state=reconnecting] .free-system-bars>span:nth-child(3){animation-delay:.3s}.free-system-trigger[data-state=reconnecting] .free-system-bars>span:nth-child(4){animation-delay:.45s}
@keyframes freeSignalSearch{0%,100%{opacity:.2}50%{opacity:.85}}
.free-system-panel{position:fixed;inset:auto;margin:0;padding:16px;max-width:none;overflow:auto;overscroll-behavior:contain;border:1px solid #d4c8ff29;border-radius:16px;background:linear-gradient(145deg,rgba(34,33,48,.92),rgba(12,15,23,.94));color:#e4e5ef;box-shadow:0 20px 55px #0007,inset 0 1px 0 #ffffff0c;font:inherit;font-size:14px;line-height:1.55}
@supports(backdrop-filter:blur(1px)){.free-system-panel{background:linear-gradient(145deg,rgba(34,33,48,.7),rgba(12,15,23,.8));-webkit-backdrop-filter:blur(24px) saturate(150%);backdrop-filter:blur(24px) saturate(150%)}}
.free-system-panel:popover-open{display:flex;flex-direction:column;gap:13px}
.free-system-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.free-system-heading>strong{font-size:16px;font-weight:750}
.free-system-heading .icon-button{width:28px;height:28px;padding:5px}.free-system-heading svg{width:16px;height:16px}
.free-system-summary{display:flex;align-items:center;gap:8px;margin:0;color:var(--system-tone);font-size:14px;font-weight:650}
.free-system-summary::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}
.free-system-details{display:flex;flex-direction:column;gap:12px;margin:0;padding-top:3px;font-size:14px}
.free-system-details>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.free-system-details dt{color:#a8acbd;flex:none}.free-system-details dd{margin:0;text-align:right;color:#e0e2ed;overflow-wrap:anywhere;font-weight:550;font-variant-numeric:tabular-nums}
.free-system-panel .free-system-note{margin:0;color:#949bae;font-size:14px;line-height:1.65}
.free-system-footer{display:flex;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #ffffff0c;color:#a7adbd;font-size:14px}
.free-system-footer time{font-variant-numeric:tabular-nums}
@media(max-width:1250px){.free-shell .free-system-trigger{width:34px;height:34px;min-height:34px;padding:7px;gap:0}.free-system-trigger>#freeSystemLabel{display:none}.free-system-bars{transform:scale(.9)}}
@media(max-width:360px){.free-shell .top-actions{gap:5px}.free-shell .free-system-trigger{width:30px;height:32px;min-height:32px;padding:5px}}
@media(prefers-reduced-motion:reduce){.free-system-trigger[data-state=reconnecting] .free-system-bars>span{animation:none;opacity:.65}}

/* Public measured statistics; online counts now live inside this panel. */
.free-system-details dt{flex:1;min-width:0}
.free-system-average dd,.free-system-uptime dd{flex:none;font-weight:750;white-space:nowrap}
.free-system-panel>.free-online-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;gap:8px;width:100%;margin:0;padding:0}
.free-system-panel .free-online-pill{justify-content:center;flex-wrap:wrap;gap:4px;padding:7px 8px;min-width:0;white-space:normal;font-size:14px;line-height:20px;text-align:center}
.free-system-panel .free-online-pill strong{font-size:14px}
.free-system-panel .free-system-uptime{padding-top:0}
.free-system-uptime .is-good{color:#69dfa5}
.free-system-panel .free-system-note{font-size:14px}
@media(max-width:760px){.free-shell>.topbar{grid-template-rows:auto}}
