/* ==========================================================================
   GSSMCS — shared styles (home + login)
   Fonts, theme tokens, reset, shared typography, icons, buttons, PWA popups.
   Breakpoints used across the site: 640px (sm), 768px (md), 1024px (lg), 1280px (xl).
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin + latin-ext so ₦ renders in the brand fonts) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: block; src: url(../fonts/playfair-display-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: block; src: url(../fonts/playfair-display-latin-ext-400-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair-display-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/playfair-display-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: block; src: url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: block; src: url(../fonts/playfair-display-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Theme tokens ----------
   The inline script in each page's <head> always puts .light or .dark on <html>,
   so the media query only matters if JavaScript is off. */
:root {
  --color-surface: #F8FAFC;
  --color-surface-alt: #F0F7FF;
  --color-primary: #0C2240;
  --color-accent: #39A7FF;
  --color-accent-light: #E0F4FF;
  --color-warm: #FFEED9;
  --color-sapphire: #1954EC;
  --color-text-main: #0C2240;
  --color-text-muted: #334155;
  --color-text-subtle: #64748B;
  --color-crimson: #B51244;
  --color-footer-bg: #0C1E3D;

  --navy: #0C2240;          /* brand navy, the same in both themes */
  --ink: #070B14;           /* dark-theme page colour */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

@media (prefers-color-scheme: dark) {
  html:not(.light) {
    --color-surface: #070B14;
    --color-surface-alt: #0D1627;
    --color-primary: #F8FAFC;
    --color-accent: #38BDF8;
    --color-accent-light: #1E293B;
    --color-warm: #1E293B;
    --color-sapphire: #38BDF8;
    --color-text-main: #F8FAFC;
    --color-text-muted: #94A3B8;
    --color-text-subtle: #64748B;
    --color-crimson: #E11D48;
    --color-footer-bg: #030712;
  }
}

html.dark {
  --color-surface: #070B14;
  --color-surface-alt: #0D1627;
  --color-primary: #F8FAFC;
  --color-accent: #38BDF8;
  --color-accent-light: #1E293B;
  --color-warm: #1E293B;
  --color-sapphire: #38BDF8;
  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;
  --color-text-subtle: #64748B;
  --color-crimson: #E11D48;
  --color-footer-bg: #030712;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid #e5e7eb; }

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  tab-size: 4;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

html.dark, html.dark body { background-color: var(--ink); color: #F8FAFC; }
html.light, html.light body { background-color: #F8FAFC; color: var(--navy); }

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-surface);
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
strong { font-weight: bolder; }

button, input {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  line-height: inherit;
  letter-spacing: inherit;
}
button { background: transparent; cursor: pointer; text-transform: none; }
button:disabled { cursor: default; }
input::placeholder { color: #9ca3af; opacity: 1; }
[hidden] { display: none !important; }

::selection { color: #fff; background-color: var(--color-sapphire); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-surface); }
::-webkit-scrollbar-thumb { background: var(--color-text-subtle); border-radius: 3px; }

/* ---------- Shared typography ---------- */
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }

/* Small spaced-out caps label used for eyebrows, badges and footer captions. */
.label-micro {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* Section headings (sizes are set per component). */
.heading-a,
.heading-b,
.heading-c {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15em;
  color: var(--color-primary);
}
.heading-c { font-weight: 600; line-height: 1.2em; }

/* Section heading scale shared by the home page sections. */
.heading-b { font-size: 1.875rem; }
@media (min-width: 640px) { .heading-b { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .heading-b { font-size: 3rem; line-height: 1; } }

.gradient-text {
  background: linear-gradient(135deg, #0c2240, #1954ec, #39a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Frosted card surface. */
.glass {
  background: #ffffffd9;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
html.dark .glass {
  background: #0d1627cc;
  border-color: rgba(255, 255, 255, 0.12);
}

/* ---------- Icons (sprite: /assets/icons.svg) ---------- */
.icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 0.75rem; height: 0.75rem; }
.icon--sm { width: 0.875rem; height: 0.875rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }

.spinner { width: 1rem; height: 1rem; animation: spin 1s linear infinite; }
.spinner circle { opacity: 0.25; }
.spinner path { opacity: 0.75; }

/* ---------- Round icon buttons (theme toggle, home, bell) ---------- */
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-btn:hover { background-color: #e2e8f080; }
.icon-btn:active { transform: scale(0.95); }
.icon-btn:focus { outline: none; }
html.dark .icon-btn { color: rgba(255, 255, 255, 0.7); }
html.dark .icon-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
@media (min-width: 640px) { .icon-btn { width: 2.25rem; height: 2.25rem; } }

/* Theme toggle: sun and moon cross-fade and rotate. */
.theme-toggle__icons {
  position: relative;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}
@media (min-width: 640px) { .theme-toggle__icons { width: 18px; height: 18px; } }

.theme-toggle__icons .icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
  transition: all 500ms var(--ease-out-expo);
}
.theme-toggle .icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.5); color: #f59e0b; }
.theme-toggle .icon--moon { opacity: 1; transform: none; color: #334155; }
html.dark .theme-toggle .icon--sun { opacity: 1; transform: none; color: #fcd34d; }
html.dark .theme-toggle .icon--moon { opacity: 0; transform: rotate(90deg) scale(0.5); color: #94a3b8; }

/* ---------- Primary filled button ---------- */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  background-color: var(--color-sapphire);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:active { transform: scale(0.99); }
@media (min-width: 640px) { .btn-primary { font-size: 0.875rem; line-height: 1.25rem; } }

/* ---------- Outline-trace link button ----------
   Invisible border at rest; on hover four SVG strokes draw the outline.
   js/ui.js sets --perimeter from the button's size. */
.btn-trace {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: transparent;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-trace:hover { color: var(--color-sapphire); }
.btn-trace > span { position: relative; z-index: 10; }

.btn-trace svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
  pointer-events: none;
}
.btn-trace rect {
  fill: none;
  stroke-width: 2px;
  stroke-dasharray: 0 99999;
  transition: stroke-dasharray 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.btn-trace rect.trace-accent { stroke: var(--color-sapphire, #1954EC); }
.btn-trace rect.trace-secondary { stroke: var(--color-accent, #39A7FF); transition-duration: 0.4s; }
.btn-trace rect.trace-flip { transform-origin: 50% 50%; transform: rotate(180deg); }
.btn-trace:hover rect { stroke-dasharray: var(--perimeter, 0) 99999; }

/* ---------- Standalone-app popups: update banner + connection toast ---------- */
.pwa-toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  transform: translateY(2rem) scale(0.95);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: all 500ms var(--ease-out-expo);
}
.pwa-toast.is-shown { transform: none; opacity: 1; }
@media (min-width: 640px) {
  .pwa-toast { left: auto; right: 1.5rem; max-width: 28rem; }
}

.update-banner { z-index: 180; }
.update-banner.is-shown { pointer-events: auto; }
.update-banner__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(12, 34, 64, 0.92);
  color: #fff;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
html.dark .update-banner__box { background-color: rgba(7, 11, 20, 0.94); }
@media (min-width: 640px) { .update-banner__box { padding: 1rem; } }

.update-banner__info { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.update-banner__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  color: var(--color-accent);
}
.update-banner__badge .icon { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.update-banner__text { display: flex; flex-direction: column; min-width: 0; }
.update-banner__title { display: flex; align-items: center; gap: 0.375rem; }
.update-banner__title strong { font-size: 0.75rem; line-height: 1rem; font-weight: 700; letter-spacing: -0.025em; }
.update-banner__title i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #34d399;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.update-banner__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) { .update-banner__title strong { font-size: 0.875rem; line-height: 1.25rem; } }

.update-banner__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.update-banner__reload {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  background-color: var(--color-sapphire);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.update-banner__reload:active { transform: scale(0.95); }
.update-banner__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 150ms, background-color 150ms;
}
.update-banner__close:hover { color: #fff; background-color: rgba(255, 255, 255, 0.1); }

.net-toast { z-index: 190; transform: translateY(1.5rem) scale(0.95); }
.net-toast.is-shown { transform: none; }
.net-toast__box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid #fcd34d;
  background-color: #fffbebf2;
  color: #451a03;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 25px -5px rgb(69 26 3 / 0.1), 0 8px 10px -6px rgb(69 26 3 / 0.1);
  transition: background-color 300ms, border-color 300ms, color 300ms;
}
.net-toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background-color: #fef3c7;
  color: #92400e;
}
.net-toast__text { font-size: 0.75rem; line-height: 1.375; font-weight: 600; letter-spacing: -0.025em; }
@media (min-width: 640px) {
  .net-toast__box { padding: 0.875rem; }
  .net-toast__text { font-size: 0.875rem; }
}
html.dark .net-toast__box {
  background-color: #451a03f2;
  border-color: #f59e0b66;
  color: #fef3c7;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
html.dark .net-toast__icon { background-color: #f59e0b33; color: #fbbf24; }

.net-toast.is-online .net-toast__box {
  border-color: #6ee7b7;
  background-color: #ecfdf5f2;
  color: #022c22;
  box-shadow: 0 20px 25px -5px rgb(2 44 34 / 0.1), 0 8px 10px -6px rgb(2 44 34 / 0.1);
}
.net-toast.is-online .net-toast__icon { background-color: #d1fae5; color: #065f46; }
.net-toast.is-online .net-toast__icon .icon { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
html.dark .net-toast.is-online .net-toast__box {
  border-color: #10b98166;
  background-color: #022c22f2;
  color: #d1fae5;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
html.dark .net-toast.is-online .net-toast__icon { background-color: #10b98133; color: #34d399; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes pulse { 50% { opacity: 0.5; } }
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
@keyframes pulse-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}
