/* I♥BOOKS — generated from tokens.json. Do not edit by hand. */

:root,
[data-theme="light"] {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --muted: #f3eee6;
  --border: #e6ded2;
  --border-strong: #cfc5b6;
  --text: #2e3430;
  --text2: #5f635c;
  --primary: #5b7656;
  --primary-hover: #4c6448;
  --on-primary: #ffffff;
  --primary-soft: #dde5d6;
  --accent: #c47f7c;
  --accent-text: #9e5653;
  --accent-soft: #f4e1de;
  --highlight: #f6e9c8;
  --on-highlight: #5c4300;
  --success: #2f7a4f;
  --warning: #8a5f00;
  --error: #b3261e;
  --warning-soft: #fbedc4;
  --error-soft: #f9e0dd;
  --focus: #5b7656;
  --mood: #b8692f;
  --board: #6e4a2e;
  --paper: #fffdf9;
  --edge: #e4dacb;
  --logo-ink: var(--text);
  --logo-heart: var(--accent);
  --shadow-card: 0 1px 2px rgba(46,52,48,0.06), 0 6px 20px rgba(46,52,48,0.07);
  --shadow-menu: 0 12px 32px rgba(0,0,0,0.16);
  --shadow-cover: 0 1px 0 rgba(0,0,0,0.05), 0 14px 32px rgba(30,36,32,0.28);
  --shadow-book: 0 22px 48px rgba(60,35,15,0.20);
  --shadow-sticky: 0 -6px 20px rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --bg: #1b1f1c;
  --surface: #242a26;
  --muted: #2c332e;
  --border: #3a433c;
  --border-strong: #56615a;
  --text: #ece7de;
  --text2: #b0b5ab;
  --primary: #9db896;
  --primary-hover: #b2cbab;
  --on-primary: #16201a;
  --primary-soft: #34402f;
  --accent: #e3a3a0;
  --accent-text: #edb8b5;
  --accent-soft: #45302f;
  --highlight: #473f2a;
  --on-highlight: #f3dfa8;
  --success: #7fcb9a;
  --warning: #e5c06a;
  --error: #f2948c;
  --warning-soft: #3f3315;
  --error-soft: #44221f;
  --focus: #9db896;
  --mood: #e2a06a;
  --board: #3a2a1e;
  --paper: #222723;
  --edge: #363e38;
  --shadow-card: none;
  --shadow-menu: 0 12px 32px rgba(0,0,0,0.5);
  --shadow-cover: 0 14px 32px rgba(0,0,0,0.5);
  --shadow-book: 0 22px 48px rgba(0,0,0,0.45);
  --shadow-sticky: 0 -6px 20px rgba(0,0,0,0.4);
}

[data-theme="contrast"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #ffffff;
  --border: #1a1a1a;
  --border-strong: #000000;
  --text: #000000;
  --text2: #000000;
  --primary: #1f3d1b;
  --primary-hover: #000000;
  --on-primary: #ffffff;
  --primary-soft: #ffffff;
  --accent: #7a1f1b;
  --accent-text: #7a1f1b;
  --accent-soft: #ffffff;
  --highlight: #ffffff;
  --on-highlight: #000000;
  --success: #0b4d27;
  --warning: #5c3d00;
  --error: #7f1510;
  --warning-soft: #ffffff;
  --error-soft: #ffffff;
  --focus: #1f3d1b;
  --mood: #000000;
  --board: #ffffff;
  --paper: #ffffff;
  --edge: #000000;
  --shadow-card: none;
  --shadow-menu: none;
  --shadow-cover: none;
  --shadow-book: none;
  --shadow-sticky: none;
}

[data-theme="contrast-dark"] {
  --bg: #000000;
  --surface: #000000;
  --muted: #000000;
  --border: #ffffff;
  --border-strong: #ffffff;
  --text: #ffffff;
  --text2: #ffffff;
  --primary: #cfe8c8;
  --primary-hover: #ffffff;
  --on-primary: #000000;
  --primary-soft: #000000;
  --accent: #ffc9c6;
  --accent-text: #ffc9c6;
  --accent-soft: #000000;
  --highlight: #000000;
  --on-highlight: #ffffff;
  --success: #9be3b3;
  --warning: #f5d78a;
  --error: #ffb4ac;
  --warning-soft: #000000;
  --error-soft: #000000;
  --focus: #cfe8c8;
  --mood: #ffffff;
  --board: #000000;
  --paper: #000000;
  --edge: #ffffff;
  --shadow-card: none;
  --shadow-menu: none;
  --shadow-cover: none;
  --shadow-book: none;
  --shadow-sticky: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1b1f1c;
    --surface: #242a26;
    --muted: #2c332e;
    --border: #3a433c;
    --border-strong: #56615a;
    --text: #ece7de;
    --text2: #b0b5ab;
    --primary: #9db896;
    --primary-hover: #b2cbab;
    --on-primary: #16201a;
    --primary-soft: #34402f;
    --accent: #e3a3a0;
    --accent-text: #edb8b5;
    --accent-soft: #45302f;
    --highlight: #473f2a;
    --on-highlight: #f3dfa8;
    --success: #7fcb9a;
    --warning: #e5c06a;
    --error: #f2948c;
    --warning-soft: #3f3315;
    --error-soft: #44221f;
    --focus: #9db896;
    --mood: #e2a06a;
    --board: #3a2a1e;
    --paper: #222723;
    --edge: #363e38;
    --shadow-card: none;
    --shadow-menu: 0 12px 32px rgba(0,0,0,0.5);
    --shadow-cover: 0 14px 32px rgba(0,0,0,0.5);
    --shadow-book: 0 22px 48px rgba(0,0,0,0.45);
    --shadow-sticky: 0 -6px 20px rgba(0,0,0,0.4);
  }
}

:root {
  --space-1: 4px;
  --space-1\.5: 6px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-13: 52px;
  --touch-min: 44px;
  --wrap-max: 1360px;
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-pill: 999px;
  --bp-phone: 760px;
  --bp-tablet: 860px;
  --bp-prices: 1000px;
  --bp-header: 1200px;
  --bp-wide: 1920px;
  --bp-qhd: 2560px;
  --bp-4k: 3400px;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --k: 1;
}

[data-font-scale="a"] { --k: 1; }

[data-font-scale="a1"] { --k: 1.25; }

[data-font-scale="a2"] { --k: 1.5; }

[data-font-scale="a3"] { --k: 1.875; }

.t-logo { font-family: var(--font-serif); font-size: 23px; line-height: 1; font-weight: 700; letter-spacing: 1.4px; }

.t-book-title { font-family: var(--font-serif); font-size: 28px; line-height: 35px; font-weight: 600; }

.t-section-title { font-family: var(--font-serif); font-size: 26px; line-height: 31px; font-weight: 600; }

.t-sub-title { font-family: var(--font-serif); font-size: 21px; line-height: 26px; font-weight: 600; }

.t-epigraph { font-family: var(--font-serif); font-size: 18px; line-height: 27px; font-weight: 500; font-style: italic; }

.t-folio { font-family: var(--font-serif); font-size: 13px; line-height: 18px; font-weight: 500; font-style: italic; }

.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }

.t-body-strong { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }

.t-button { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }

.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 400; }

.t-caption { font-family: var(--font-sans); font-size: 13px; line-height: 19px; font-weight: 400; }

.t-label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.8px; }

.t-price { font-family: var(--font-sans); font-size: 18px; line-height: 22px; font-weight: 700; }

.t-price-large { font-family: var(--font-sans); font-size: 21px; line-height: 24px; font-weight: 700; }

.t-ad-mark { font-family: var(--font-sans); font-size: 11.5px; line-height: 16px; font-weight: 400; }
