/* ==========================================================================
   E-VENX Tools platform — design system (root pages).
   Same "carbon nebula" language as QR Studio (qr-tool.css); this copy adds
   the platform components: tool cards, stage dots, secret box, users table.
   Self-hosted fonts, no CDNs.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('inter-var-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('space-grotesk-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070d18;
  --panel: rgba(15, 26, 44, 0.82);
  --panel-solid: #0f1a2c;
  --panel-2: rgba(20, 34, 56, 0.65);
  --input-bg: rgba(7, 13, 24, 0.72);
  --line: rgba(140, 185, 255, 0.12);
  --line-strong: rgba(140, 185, 255, 0.22);

  --text: #eaf2fc;
  --text-dim: #8ca3c0;
  --text-faint: #5c7392;

  --blue: #1da2e8;
  --cyan: #00d5dd;
  --grad: linear-gradient(135deg, #1da2e8, #00d5dd);
  --grad-soft: linear-gradient(135deg, rgba(29,162,232,.16), rgba(0,213,221,.16));
  /* Ink on the --grad primary button — light skins flip it to white. */
  --btn-ink: #04121d;
  /* Editor slide-over surfaces (bcard-tool.css) — skins override these; the
     defaults are the original hardcoded nebula darks. */
  --editor-bg: linear-gradient(200deg, #0d1728 0%, #0a1120 100%);
  --editor-foot-bg: rgba(10, 17, 32, 0.85);
  --inset-bg: rgba(12, 21, 36, 0.45);

  --ok: #33d69f;
  --warn: #ffb454;
  --danger: #ff5d73;

  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 24px;

  --shadow-1: 0 4px 18px rgba(2, 6, 14, 0.45);
  --shadow-2: 0 18px 48px rgba(2, 6, 14, 0.6);
  --ring: 0 0 0 3px rgba(0, 213, 221, 0.22);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-disp: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* The UA's [hidden] rule loses to ANY class that sets display (.btn is
   inline-flex, .field is a grid child, …), so hidden buttons were rendering
   as empty pills. Restore the attribute's intended meaning globally. */
[hidden] { display: none !important; }

html { color-scheme: dark; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(29, 162, 232, 0.14), transparent 60%),
    radial-gradient(820px 460px at 105% 8%, rgba(0, 213, 221, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 50% 120%, rgba(23, 64, 128, 0.18), transparent 65%),
    var(--bg);
}
.bg-fx::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(140, 185, 255, 0.055) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 65%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 65%);
}

::selection { background: rgba(0, 213, 221, 0.3); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

svg.ic { width: 16px; height: 16px; flex: 0 0 auto; stroke: currentColor; fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Layout + topbar
   ========================================================================== */

.wrap { max-width: 1020px; margin: 0 auto; padding: 26px 22px 90px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 20px; margin-bottom: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
  position: sticky; top: 14px; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 10px rgba(0, 213, 221, 0.35)); }
.brand .t { line-height: 1.16; }
.brand .t b {
  font-family: var(--font-disp); font-size: 16px; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 700; display: block; white-space: nowrap;
}
.brand .t span { font-size: 11px; color: var(--text-dim); letter-spacing: 3.5px; text-transform: uppercase; }
.topbar .side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.session-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel-2);
}
.session-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 8px rgba(51, 214, 159, 0.8); }
.pill {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.pill.admin { background: rgba(29, 162, 232, 0.14); color: #6cc6f2; border: 1px solid rgba(29, 162, 232, 0.4); }
.pill.warn { background: rgba(255, 180, 84, 0.12); color: var(--warn); border: 1px solid rgba(255, 180, 84, 0.4); }
.pill.off { background: rgba(140, 163, 192, 0.12); color: var(--text-dim); border: 1px solid rgba(140, 163, 192, 0.35); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.4px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(0, 213, 221, 0.55); text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 100, 140, 0.25); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
  background: var(--grad); border: none; color: var(--btn-ink);
  box-shadow: 0 6px 20px rgba(0, 180, 210, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(0, 180, 210, 0.42); border: none; }
.btn-ghost { background: transparent; }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); box-shadow: 0 6px 18px rgba(255, 93, 115, 0.18); }
.btn-icon { padding: 9px; border-radius: var(--r-sm); }
.btn-icon svg.ic { width: 15px; height: 15px; }
.btn-lg { padding: 12px 22px; font-size: 13.5px; border-radius: var(--r-md); }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar h2 { font-family: var(--font-disp); font-size: 19px; letter-spacing: 0.6px; font-weight: 600; margin-right: auto; }
.status { font-size: 12.5px; color: var(--text-dim); min-height: 18px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }

/* ==========================================================================
   Tool cards (hub)
   ========================================================================== */

.hub-greeting { margin: 4px 2px 22px; }
.hub-greeting h1 { font-family: var(--font-disp); font-size: 24px; font-weight: 600; letter-spacing: 0.4px; }
.hub-greeting p { color: var(--text-dim); font-size: 13px; margin-top: 3px; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }

.tool-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-decoration: none; color: var(--text); position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: cardIn 0.35s ease backwards;
}
.tool-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-2); text-decoration: none; }
.tool-card::before {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 213, 221, 0.45), transparent);
  opacity: 0; transition: opacity 0.2s ease;
}
.tool-card:hover::before { opacity: 1; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }

.tool-card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan);
}
.tool-card .ico svg.ic { width: 22px; height: 22px; }
.tool-card h3 { font-family: var(--font-disp); font-size: 17px; font-weight: 600; letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 9px; }
.tool-card p { color: var(--text-dim); font-size: 12.5px; line-height: 1.55; }
.tool-card .open {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--cyan); font-size: 12.5px; font-weight: 600;
}
.tool-card .open svg.ic { width: 14px; height: 14px; transition: transform 0.18s ease; }
.tool-card:hover .open svg.ic { transform: translateX(3px); }

.empty {
  text-align: center; padding: 64px 30px;
  color: var(--text-dim); border: 1px dashed var(--line-strong); border-radius: var(--r-xl);
  background: rgba(12, 21, 36, 0.4);
}
.empty svg.ic { width: 44px; height: 44px; stroke-width: 1.1; color: var(--text-faint); margin-bottom: 14px; }
.empty b { display: block; font-family: var(--font-disp); font-size: 16px; color: var(--text); margin-bottom: 5px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { min-width: 0; margin-bottom: 16px; }
.field > label {
  display: block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.1px; color: var(--text-dim); margin-bottom: 6px;
}
.field input[type="text"], .field input[type="password"], .field input[type="email"], .field select {
  width: 100%; padding: 12px 14px;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text); font-size: 14px; font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: rgba(0, 213, 221, 0.6); box-shadow: var(--ring); }
.field .hint { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; transition: border-color 0.15s ease; margin-bottom: 8px;
}
.check-row:hover { border-color: rgba(0, 213, 221, 0.45); }
.check-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; }
.check-row .t b { display: block; font-size: 13px; font-weight: 600; }
.check-row .t span { font-size: 11.5px; color: var(--text-faint); }

/* ==========================================================================
   Login / ceremony cards
   ========================================================================== */

.login-stage { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 26px; }
.login-card {
  width: 100%; max-width: 392px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  padding: 36px 34px 32px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-2); position: relative; overflow: hidden;
  animation: cardIn 0.4s ease;
}
.login-card.wide { max-width: 460px; }
.login-card::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 213, 221, 0.7), transparent);
}
.login-head { text-align: center; margin-bottom: 26px; }
.login-head img { width: 64px; height: auto; margin-bottom: 14px;
  filter: drop-shadow(0 4px 18px rgba(0, 213, 221, 0.4)); }
.login-head h1 { font-family: var(--font-disp); font-size: 19px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; }
.login-head p { color: var(--text-dim); font-size: 12.5px; margin-top: 5px; letter-spacing: 0.4px; }

.login-form .btn { width: 100%; margin-top: 6px; }

.notice {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  font-size: 12.5px; line-height: 1.5; padding: 11px 13px; border-radius: var(--r-sm);
  margin-bottom: 18px; border: 1px solid;
}
.notice svg.ic { width: 15px; height: 15px; margin-top: 1px; }
.notice.err { background: rgba(255, 93, 115, 0.09); border-color: rgba(255, 93, 115, 0.4); color: #ffb3be; }
.notice.warn { background: rgba(255, 180, 84, 0.08); border-color: rgba(255, 180, 84, 0.4); color: #ffd39b; }
.notice.info { background: rgba(29, 162, 232, 0.09); border-color: rgba(29, 162, 232, 0.4); color: #a6d9f5; }
.notice.ok { background: rgba(51, 214, 159, 0.09); border-color: rgba(51, 214, 159, 0.4); color: #a9ecd3; }

.login-card.shake { animation: shake 0.4s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); } 40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); } 80% { transform: translateX(4px); }
}

/* Stage dots: 1 Password · 2 Verify · 3 Update */
.steps { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 22px; }
.steps .s {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-faint);
}
.steps .s i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.steps .s.done i, .steps .s.now i { background: var(--cyan); box-shadow: 0 0 8px rgba(0, 213, 221, 0.7); }
.steps .s.now { color: var(--cyan); }
.steps .s.done { color: var(--text-dim); }
.steps .sep { width: 18px; height: 1px; background: var(--line-strong); }

/* TOTP segmented input */
.otp-row { display: flex; gap: 9px; justify-content: center; margin-bottom: 18px; }
.otp-row input {
  width: 46px; height: 54px; text-align: center;
  font-family: var(--font-disp); font-size: 22px; font-weight: 600;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text); caret-color: var(--cyan);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.otp-row input:focus { outline: none; border-color: rgba(0, 213, 221, 0.7); box-shadow: var(--ring); transform: translateY(-2px); }
.otp-hint { text-align: center; color: var(--text-dim); font-size: 12.5px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 7px; }
.login-alt { text-align: center; margin-top: 18px; font-size: 12.5px; }
.login-alt a { color: var(--text-dim); }
.login-alt a:hover { color: var(--cyan); }
.login-foot { text-align: center; margin-top: 22px; color: var(--text-faint); font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase; }

/* 2FA enrollment */
.enroll-qr { display: flex; justify-content: center; margin-bottom: 18px; }
.enroll-qr .plate { background: #fff; padding: 13px; border-radius: var(--r-md); border: 1px solid var(--line-strong); }
.enroll-qr .plate img, .enroll-qr .plate canvas { display: block; width: 168px; height: 168px; }
.secret-box {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; margin-bottom: 8px;
}
.secret-box code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 13px;
  letter-spacing: 1.5px; color: var(--cyan); word-break: break-all;
}
.secret-actions { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.secret-actions .btn { font-size: 11.5px; padding: 7px 12px; }

/* ==========================================================================
   Users table
   ========================================================================== */

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table.users { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
table.users th {
  text-align: left; padding: 12px 16px; font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-faint);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.users td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.users tr:last-child td { border-bottom: none; }
table.users tr { transition: background 0.15s ease; }
table.users tbody tr:hover { background: rgba(20, 34, 56, 0.4); }
.u-name { font-weight: 600; display: flex; align-items: center; gap: 9px; }
.u-name .you { font-size: 10px; color: var(--text-faint); letter-spacing: 1px; text-transform: uppercase; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 11px; padding: 3px 9px; border-radius: 7px;
  background: var(--input-bg); border: 1px solid var(--line); color: var(--text-dim);
  font-family: ui-monospace, Consolas, monospace;
}
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.muted { color: var(--text-faint); font-size: 12px; }

/* skeleton shimmer */
.sk { height: 52px; position: relative; overflow: hidden; }
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(140, 185, 255, 0.07) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ==========================================================================
   Modals + toasts
   ========================================================================== */

.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 7, 14, 0.66); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity 0.22s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: linear-gradient(200deg, #101b2e, #0a1120);
  border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  padding: 28px; max-width: 430px; width: 100%;
  box-shadow: var(--shadow-2);
  transform: translateY(14px) scale(0.97); transition: transform 0.22s ease;
}
.modal.open .modal-box { transform: none; }
.modal-box h3 { font-family: var(--font-disp); font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.modal-box .sub { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.modal-box .temp-pw {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 19px; letter-spacing: 2px;
  text-align: center; color: var(--cyan); background: var(--input-bg);
  border: 1px solid rgba(0, 213, 221, 0.35); border-radius: var(--r-md); padding: 15px 12px;
  margin: 6px 0 10px; user-select: all;
}

.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 120; display: flex;
  flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); font-size: 13px; max-width: 340px;
  animation: toastIn 0.28s cubic-bezier(0.3, 1.2, 0.4, 1);
}
.toast.out { animation: toastOut 0.25s ease forwards; }
.toast svg.ic { width: 16px; height: 16px; }
.toast.ok svg.ic { color: var(--ok); }
.toast.err svg.ic { color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(24px); } }

/* ==========================================================================
   Responsive + motion
   ========================================================================== */

@media (max-width: 760px) {
  .wrap { padding: 16px 14px 70px; }
  .topbar { position: static; padding: 12px 15px; margin-bottom: 20px; flex-wrap: wrap; }
  .brand .t span { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .toasts { left: 14px; right: 14px; align-items: stretch; }
  .toast { max-width: none; }
  .row-actions { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Admin skins (omega console). The variable overrides arrive as an inline
   <style data-skin> from src/admin/skin.ts; this section only re-paints the
   .bg-fx stage per template, because its glows are hardcoded colours above.
   ========================================================================== */

.skin-daylight .bg-fx {
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(11, 111, 189, 0.10), transparent 60%),
    radial-gradient(820px 460px at 105% 8%, rgba(14, 143, 159, 0.08), transparent 60%),
    var(--bg);
}
.skin-daylight .bg-fx::after {
  background-image: radial-gradient(rgba(30, 60, 120, 0.10) 1px, transparent 1.4px);
}
.skin-daylight ::selection { background: rgba(14, 143, 159, 0.22); }

.skin-onyx .bg-fx {
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(820px 460px at 105% 8%, rgba(255, 255, 255, 0.035), transparent 60%),
    var(--bg);
}
.skin-onyx .bg-fx::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
}
.skin-onyx ::selection { background: rgba(232, 234, 240, 0.25); }

.skin-aurora .bg-fx {
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(820px 460px at 105% 8%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 50% 120%, rgba(76, 29, 149, 0.22), transparent 65%),
    var(--bg);
}
.skin-aurora .bg-fx::after {
  background-image: radial-gradient(rgba(190, 160, 255, 0.06) 1px, transparent 1.4px);
}
.skin-aurora ::selection { background: rgba(34, 211, 238, 0.3); }
