@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500;1,6..96,600&family=Jost:wght@400;500;600;700;800&display=swap");
:root:not(#_) {
  --accent-ink: var(--ink);
  --blush: #f08a74;
  --blush-faint: rgba(240, 138, 116, 0.16);
  --brand-mark-bg: var(--espresso);
  --champagne: #ecdcc0;
  --cream: #f3eae0;
  --espresso: #1c2632;
  --espresso-2: #2a3747;
  --focus-color: #c24a35;
  --font-body: Jost, Futura, "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --font-script: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --glass: rgba(246, 241, 234, 0.92);
  --gold: #deb05a;
  --gold-deep: #c9a14f;
  --gold-faint: rgba(222, 176, 90, 0.16);
  --gold-glow: rgba(222, 176, 90, 0.3);
  --gold-ink: #725420;
  --gold-line: rgba(138, 106, 51, 0.4);
  --gold-soft: rgba(222, 176, 90, 0.38);
  --ink: #24160f;
  --ink-soft: rgba(36, 22, 15, 0.8);
  --ivory: #f6f1ea;
  --line: rgba(36, 22, 15, 0.12);
  --line-strong: rgba(36, 22, 15, 0.28);
  --login-bg: radial-gradient(circle at 85% 10%, rgba(169, 191, 214, 0.45), transparent 32%), radial-gradient(circle at 10% 95%, rgba(240, 138, 116, 0.16), transparent 30%), linear-gradient(135deg, var(--ivory), var(--cream));
  --muted: #5e4f45;
  --on-dark: #f6f1ea;
  --on-dark-faint: rgba(246, 241, 234, 0.1);
  --on-dark-soft: rgba(246, 241, 234, 0.8);
  --paper: #fbf8f3;
  --parchment: #ebe0d3;
  --rose: #a3321f;
  --scrim: rgba(20, 27, 36, 0.55);
  --shadow-btn: 0 8px 18px rgba(222, 176, 90, 0.24);
  --teal: #34506e;
  --terracotta: #a3321f;
}
@media (prefers-color-scheme: dark) {
  :root:not(#_):not([data-theme="light"]) {
    --bg: #141b24;
    --danger-soft: rgba(166, 58, 43, 0.28);
    --focus-color: var(--gold);
    --glass: rgba(26, 35, 48, 0.92);
    --gold-faint: rgba(222, 176, 90, 0.12);
    --gold-ink: var(--gold);
    --gold-soft: rgba(222, 176, 90, 0.32);
    --line: rgba(243, 234, 224, 0.12);
    --line-strong: rgba(243, 234, 224, 0.3);
    --login-bg: radial-gradient(circle at 85% 10%, rgba(52, 80, 110, 0.55), transparent 32%), linear-gradient(135deg, #1a2330, #141b24);
    --primary: var(--gold);
    --primary-text: #1c2632;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.35);
    --shadow-tiny: 0 2px 8px rgba(0, 0, 0, 0.3);
    --success-soft: rgba(46, 107, 63, 0.28);
    --surface: #1a2330;
    --surface-2: #212b38;
    --surface-sunk: #10161d;
    --text: #f3eae0;
    --text-muted: #c4b6a8;
    --text-soft: rgba(243, 234, 224, 0.82);
    --warning-ink: #e3a347;
    --warning-soft: rgba(184, 114, 15, 0.28);
  }
}
:root:not(#_)[data-theme="dark"] {
  --bg: #141b24;
  --danger-soft: rgba(166, 58, 43, 0.28);
  --focus-color: var(--gold);
  --glass: rgba(26, 35, 48, 0.92);
  --gold-faint: rgba(222, 176, 90, 0.12);
  --gold-ink: var(--gold);
  --gold-soft: rgba(222, 176, 90, 0.32);
  --line: rgba(243, 234, 224, 0.12);
  --line-strong: rgba(243, 234, 224, 0.3);
  --login-bg: radial-gradient(circle at 85% 10%, rgba(52, 80, 110, 0.55), transparent 32%), linear-gradient(135deg, #1a2330, #141b24);
  --primary: var(--gold);
  --primary-text: #1c2632;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.35);
  --shadow-tiny: 0 2px 8px rgba(0, 0, 0, 0.3);
  --success-soft: rgba(46, 107, 63, 0.28);
  --surface: #1a2330;
  --surface-2: #212b38;
  --surface-sunk: #10161d;
  --text: #f3eae0;
  --text-muted: #c4b6a8;
  --text-soft: rgba(243, 234, 224, 0.82);
  --warning-ink: #e3a347;
  --warning-soft: rgba(184, 114, 15, 0.28);
}
