@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap");

:root {
  --bg: #0a0b0e;
  --bg-2: #0d0f13;
  --surface: #121419;
  --surface-2: #181b21;
  --surface-3: #1f232a;
  --line: #20242c;
  --line-strong: #2b3039;
  --text: #eceef2;
  --text-2: #a8adb8;
  --text-3: #6f7581;

  --brand: #3b8beb;
  --brand-hover: #5299ee;
  --brand-soft: rgba(59, 139, 235, .13);
  --brand-line: rgba(59, 139, 235, .35);
  --signal: #53fc18;
  --signal-soft: rgba(83, 252, 24, .12);
  --danger: #ff5f57;
  --warn: #f5a524;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px var(--line-strong);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 22px; height: 22px; border-radius: 6px; flex: none; display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-weight: 500; font-size: 13px;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { background: var(--surface-3); border-color: #39404b; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.primary, .btn.brand { background: var(--brand); border-color: transparent; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 14px rgba(59,139,235,.25); }
.btn.primary:hover, .btn.brand:hover { background: var(--brand-hover); }
.btn.ghost { background: none; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }

kbd, .cmd { font-family: var(--mono); font-size: 12px; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text-2); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.dot.ok { background: var(--signal); box-shadow: 0 0 0 3px rgba(83, 252, 24, .14); }
.dot.bad { background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 95, 87, .14); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(245, 165, 36, .15); }

.grain::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.eq i { width: 2px; height: 10px; border-radius: 1px; background: var(--signal); transform-origin: bottom; transform: scaleY(.6); animation: eq 1.05s ease-in-out infinite; }
.eq i:nth-child(2) { transform: scaleY(1); animation-delay: -.4s; }
.eq i:nth-child(3) { transform: scaleY(.4); animation-delay: -.75s; }
.paused .eq i { animation-play-state: paused; opacity: .55; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
