:root,[data-theme=dark]{--bg: #06080d;--surface: rgba(13, 16, 26, .75);--surface-raised: rgba(18, 22, 34, .9);--surface-border: rgba(255, 255, 255, .06);--surface-border-bright: rgba(255, 255, 255, .1);--inset-bg: rgba(0, 0, 0, .3);--text: #e8eaf0;--text-secondary: #9299aa;--text-muted: #555e70;--accent: #22d3ee;--accent-dim: rgba(34, 211, 238, .12);--accent-border: rgba(34, 211, 238, .25);--accent-green: #34d399;--accent-amber: #fbbf24;--accent-red: #f87171;--glow-green: rgba(52, 211, 153, .45);--glow-amber: rgba(251, 191, 36, .45);--glow-red: rgba(248, 113, 113, .45);--ctrl-bg: rgba(255, 255, 255, .06);--ctrl-border: rgba(255, 255, 255, .09);--ctrl-text: #e8eaf0;--ctrl-hover: rgba(255, 255, 255, .1);--shadow-card: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 4px 24px rgba(0, 0, 0, .5), 0 1px 4px rgba(0, 0, 0, .3);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);--font-sans: "Outfit", system-ui, sans-serif;--font-mono: "JetBrains Mono", monospace;--radius: 18px;--radius-sm: 12px;--radius-xs: 8px;--radius-pill: 999px}[data-theme=light]{--bg: #f1f4f8;--surface: rgba(255, 255, 255, .82);--surface-raised: rgba(255, 255, 255, .96);--surface-border: rgba(0, 0, 0, .06);--surface-border-bright: rgba(0, 0, 0, .1);--inset-bg: rgba(0, 0, 0, .04);--text: #0c0f18;--text-secondary: #4a5168;--text-muted: #8892a4;--accent: #0891b2;--accent-dim: rgba(8, 145, 178, .1);--accent-border: rgba(8, 145, 178, .25);--accent-green: #059669;--accent-amber: #d97706;--accent-red: #dc2626;--glow-green: rgba(5, 150, 105, .3);--glow-amber: rgba(217, 119, 6, .3);--glow-red: rgba(220, 38, 38, .3);--ctrl-bg: rgba(0, 0, 0, .05);--ctrl-border: rgba(0, 0, 0, .09);--ctrl-text: #0c0f18;--ctrl-hover: rgba(0, 0, 0, .08);--shadow-card: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 2px 16px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .05);--shadow-sm: 0 1px 4px rgba(0, 0, 0, .1)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:var(--bg);background-image:radial-gradient(ellipse 90% 45% at 50% -5%,rgba(34,211,238,.09) 0%,transparent 65%),radial-gradient(ellipse 60% 30% at 80% 100%,rgba(52,211,153,.05) 0%,transparent 55%);color:var(--text);font-family:var(--font-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}[data-theme=light] body,body[data-theme=light]{background-image:radial-gradient(ellipse 90% 45% at 50% -5%,rgba(8,145,178,.07) 0%,transparent 65%),radial-gradient(ellipse 60% 30% at 80% 100%,rgba(5,150,105,.04) 0%,transparent 55%)}#app{min-height:100vh;padding:2.25rem 1.5rem 4rem;max-width:780px;margin:0 auto}.header{margin-bottom:2.5rem}.header-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.75rem;flex-wrap:wrap}.brand-badge{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .8rem .3rem .6rem;background:var(--accent-dim);border:1px solid var(--accent-border);border-radius:var(--radius-pill);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);flex-shrink:0}.brand-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:live-blink 2.2s ease-in-out infinite}@keyframes live-blink{0%,to{opacity:1}55%{opacity:.25}}.header-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.interval-select{font-family:var(--font-mono);font-size:.78rem;padding:.38rem .7rem;background:var(--ctrl-bg);border:1px solid var(--ctrl-border);border-radius:var(--radius-pill);color:var(--ctrl-text);cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.interval-select:hover{background:var(--ctrl-hover)}.interval-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-dim)}.header-btn,.theme-toggle{font-family:var(--font-sans);font-size:.8rem;font-weight:500;padding:.38rem .9rem;background:var(--ctrl-bg);border:1px solid var(--ctrl-border);border-radius:var(--radius-pill);color:var(--ctrl-text);cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}.header-btn:hover,.theme-toggle:hover{background:var(--ctrl-hover)}.header-btn:focus,.theme-toggle:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-dim)}.title{font-size:2.5rem;font-weight:700;letter-spacing:-.035em;line-height:1.1;margin:0 0 .35rem;background:linear-gradient(140deg,#ffffff 15%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}[data-theme=light] .title{background:linear-gradient(140deg,#0c0f18 15%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{margin:0 0 .65rem;color:var(--text-secondary);font-size:.975rem;font-weight:400}.header-description{margin:0;color:var(--text-muted);font-size:.865rem;line-height:1.65;max-width:58ch}.section-label{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin:0 0 1rem;display:block}.main{display:flex;flex-direction:column;gap:1.25rem}.top-row{display:grid;grid-template-columns:1fr;gap:1.25rem}.dashboard-card,.speedtest-card,.status-card,.chart-card,.diagnostics-card{background:var(--surface);border:1px solid var(--surface-border);border-radius:var(--radius);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--shadow-card)}.dashboard-card{padding:1.5rem}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:0}.dashboard-item{display:flex;flex-direction:column;gap:.3rem}.dashboard-item dt{font-size:.72rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}.dashboard-item dd{margin:0;font-family:var(--font-mono);font-size:.88rem;color:var(--text);word-break:break-all}.speedtest-card{padding:1.5rem}.speedtest-embed{border-radius:var(--radius-sm);overflow:hidden}.speedtest-credit{margin:.75rem 0 0;font-size:.78rem;color:var(--text-muted);text-align:right}.speedtest-credit a{color:var(--accent);text-decoration:none;transition:opacity .15s}.speedtest-credit a:hover{opacity:.75}.status-card{padding:2.75rem 2rem 2.25rem;text-align:center}.status-light-wrapper{display:flex;justify-content:center;margin-bottom:1.5rem}.status-ring{position:relative;width:120px;height:120px;display:flex;align-items:center;justify-content:center}.status-ring:before,.status-ring:after{content:"";position:absolute;border-radius:50%;transition:box-shadow .4s ease,border-color .4s ease}.status-ring:before{top:-10px;right:-10px;bottom:-10px;left:-10px;border:1px solid rgba(255,255,255,.05)}.status-ring:after{top:-20px;right:-20px;bottom:-20px;left:-20px;border:1px solid rgba(255,255,255,.025)}.status-light{width:80px;height:80px;border-radius:50%;background:var(--text-muted);position:relative;z-index:1;animation:pulse 2s ease-in-out infinite;transition:background .35s ease,box-shadow .35s ease}.status-light.status-connected{background:var(--accent-green);box-shadow:0 0 0 10px #34d39914,0 0 20px var(--glow-green),0 0 50px #34d3992e;animation:pulse 2.5s ease-in-out infinite}.status-light.status-degraded{background:var(--accent-amber);box-shadow:0 0 0 10px #fbbf2414,0 0 20px var(--glow-amber),0 0 50px #fbbf242e;animation:pulse 1.8s ease-in-out infinite}.status-light.status-disconnected{background:var(--accent-red);box-shadow:0 0 0 10px #f8717114,0 0 20px var(--glow-red),0 0 50px #f871712e;animation:pulse-alert 1s ease-in-out infinite}.status-light.status-unknown{background:var(--text-muted);box-shadow:none;animation:pulse 2.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.88;transform:scale(1.04)}}@keyframes pulse-alert{0%,to{box-shadow:0 0 0 10px #f8717114,0 0 20px var(--glow-red),0 0 50px #f871712e}50%{box-shadow:0 0 0 14px #f871710d,0 0 30px var(--glow-red),0 0 70px #f8717147}}.status-meta{display:flex;flex-direction:column;align-items:center;gap:.2rem}.status-text{font-weight:600;font-size:1.05rem;margin:0;color:var(--text)}.latency-value{font-family:var(--font-mono);font-size:2.25rem;font-weight:600;color:var(--accent);margin:.1rem 0 0;letter-spacing:-.03em;line-height:1.1}.last-seen{font-size:.78rem;color:var(--text-muted);margin:.4rem 0 0}.chart-card{padding:1.5rem}.chart-title{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin:0 0 1rem}.chart-container{height:280px;width:100%;border-radius:var(--radius-xs);overflow:hidden}.diagnostics-card{padding:1.5rem;border-color:#f8717133}.diagnostics-card.hidden{display:none}.diagnostics-title{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-red);margin:0 0 1rem}.diagnostics-breakdown{font-family:var(--font-mono);font-size:.8rem;color:var(--text-secondary);line-height:1.75;margin-bottom:1.25rem;padding:1rem 1.25rem;background:var(--inset-bg);border-radius:var(--radius-sm);border:1px solid var(--surface-border)}.tips-title{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .65rem}.diagnostics-tips{margin:0;padding-left:1.25rem;color:var(--text);font-size:.875rem}.diagnostics-tips li{margin-bottom:.45rem;line-height:1.55}.diagnostics-tips li:last-child{margin-bottom:0}.app-footer{margin-top:3.5rem;padding-top:1.75rem;border-top:1px solid var(--surface-border);text-align:center;color:var(--text-muted)}.app-footer p{margin:.3rem 0}.app-footer-support{margin-top:1.25rem}.app-footer-copyright{font-size:.8rem;color:var(--text-muted)}.app-footer-privacy{margin-top:.85rem;font-size:.7rem;line-height:1.55;color:var(--text-muted);opacity:.65;max-width:44rem;margin-left:auto;margin-right:auto}.app-footer-build{margin-top:1.25rem;font-size:.68rem;font-family:var(--font-mono);color:var(--text-muted);opacity:.55}@media (max-width: 520px){.header-top{flex-direction:column;align-items:flex-start}.header-controls{justify-content:flex-start}}@media (max-width: 480px){#app{padding:1.5rem 1rem 2.75rem}.title{font-size:1.9rem}.status-ring{width:96px;height:96px}.status-light{width:64px;height:64px}.latency-value{font-size:1.85rem}.chart-container{height:220px}.dashboard-grid{grid-template-columns:1fr 1fr}}@media (max-width: 360px){.dashboard-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){.brand-dot,.status-light,.status-light.status-connected,.status-light.status-degraded,.status-light.status-disconnected,.status-light.status-unknown{animation:none}}
