/* ===== base.css: colours, fonts, page background. Change the look of the WHOLE app by editing the variables below. ===== */
:root {
  --ink: #060a18;                    /* page background */
  --panel: rgba(17, 25, 54, .58);    /* glass card fill */
  --line: rgba(130, 160, 255, .16);  /* thin borders */
  --text: #e9eeff;
  --muted: #8f9bc7;
  --blue: #3b82f6;  --cyan: #22d3ee;  --violet: #8b5cf6;
  --up: var(--cyan);                 /* upload colour   (router -> VPS) */
  --down: var(--violet);             /* download colour (VPS -> router) */
  --ok: #34d399;  --warn: #fbbf24;  --bad: #ff4d6d;
  --radius: 18px;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; }
body { margin: 0; min-height: 100vh; font: 400 15px/1.55 var(--font); color: var(--text); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); } h3 { font-size: 1.05rem; } h4 { font-size: .95rem; font-weight: 600; margin-bottom: .6rem; }
a { color: var(--cyan); text-decoration: none; } a:hover { text-decoration: underline; }
.muted { color: var(--muted); } .small { font-size: .82rem; } p { margin: .3rem 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* soft coloured light behind everything */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(139,92,246,.24), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(34,211,238,.16), transparent 60%); }

/* "Reduce animations" switch adds class .reduce on <html> (see settings.js) */
html.reduce *, html.reduce *::before, html.reduce *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
