/* quiztime.net theme for the Lovetere frame 2.0.0: tokens only (family/FRAME.md).
   The QuizTime 2.0 palette (assets/css/tokens.css): lavender canvas, deep purple ink and brand, gold accent;
   Fredoka for display, Nunito for text, both served from this origin (no font CDN). */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/fredoka-latin.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: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/fredoka-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("/assets/fonts/nunito-latin.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: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --c-bg: #F6F3FC;
  --c-surface: #FFFFFF;
  --c-surface-2: #F1ECFA;
  --c-ink: #1A1033;
  --c-muted: #6E6688;
  --c-line: #E7E0F5;
  --c-brand: #5B21B6;
  --c-on-brand: #FFFFFF;
  --c-brand-ink: #5B21B6;
  --c-link: #5B21B6;
  --c-link-line: #5B21B6;
  --c-focus: #5B21B6;
  --c-hero: linear-gradient(180deg, #EEE8FB 0%, #F6F3FC 100%);
  --c-band: #F1ECFA;
  --c-header: #FFFFFF;
  --c-footer: #F6F3FC;
  --c-alert: #C42A30;
  --f-display: "Fredoka", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-display: 600;
  --fw-strong: 700;
  --ls-display: 0;
  --tt-label: uppercase;
  --ls-label: 0.08em;
  --r-card: 16px;
  --r-button: 999px;
  --r-media: 20px;
  --r-icon: 22%;
  --shadow-card: 0 8px 18px rgba(59, 15, 122, 0.10);
  --border-card: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #120B22;
    --c-surface: #1D1535;
    --c-surface-2: #271D45;
    --c-ink: #F4F0FF;
    --c-muted: #A99FC4;
    --c-line: #332757;
    --c-brand: #7C3AED;
    --c-on-brand: #FFFFFF;
    --c-brand-ink: #C4B5FD;
    --c-link: #C4B5FD;
    --c-link-line: #8B5CF6;
    --c-focus: #C4B5FD;
    --c-hero: linear-gradient(180deg, #2A1D4D 0%, #120B22 100%);
    --c-band: #1D1535;
    --c-header: #120B22;
    --c-footer: #120B22;
    --c-alert: #FF9B9B;
    --shadow-card: 0 8px 18px rgba(0, 0, 0, 0.35);
  }
}
