/* Giấy & Kính tokens. Generated by scripts/build.mjs from project/tokens.json. Do not edit by hand. */
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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: "Noto Serif Variable";
  src: url("./fonts/noto-serif-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Viaoda Libre";
  src: url("./fonts/viaoda-libre-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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: "Noto Serif Variable";
  src: url("./fonts/noto-serif-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Viaoda Libre";
  src: url("./fonts/viaoda-libre-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-vietnamese-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("./fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Noto Serif Variable";
  src: url("./fonts/noto-serif-vietnamese-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Viaoda Libre";
  src: url("./fonts/viaoda-libre-vietnamese-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Light (Giấy) is the default. */
:root {
  color-scheme: light;
  --paper: #fff5e5;
  --paper-deep: #f6e9d3;
  --surface-solar: #f1e8d8;
  --surface-lunar: #eadbc3;
  --surface-current: #dbc49f;
  --ink: #392b25;
  --ink-muted: #62594e;
  --ink-current: #2e241d;
  --accent: #8f392f;
  --on-accent: #fff5e5;
  --ornament: #a68a5d;
  --line: #c9bda9;
  --line-strong: #8b7558;
  --script-consonant: #3a4fb8;
  --script-vowel: #a8336a;
  --script-final: #0e6e5c;
  --tag-support-bg: #e7eadc;
  --tag-support-ink: #3c542f;
  --tag-care-bg: #f4e3d4;
  --tag-care-ink: #79392d;
  --warning: #f5a623;
  --on-warning: #2e241d;
  --danger: #a42a1f;
  --glass-fill: rgba(255,245,229,0.55);
  --glass-fill-strong: rgba(255,245,229,0.72);
  --glass-border: rgba(255,255,255,0.65);
  --glass-highlight: rgba(255,255,255,0.9);
  --wash-1: #fbe9cc;
  --wash-2: #f7e1d6;
  --wash-3: #f3e6ef;
  --wash-4: #e9eef5;
  --scrim: rgba(57,43,37,0.32);
  --shadow-paper: 0 6px 16px rgba(81,52,30,0.11), inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-float: 0 8px 18px rgba(81,52,30,0.14);
  --shadow-dialog: 0 24px 80px rgba(57,43,37,0.25);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-card: 18px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;
  --tap-min: 44px;
  --control-md: 52px;
  --control-sm: 44px;
  --field-h: 48px;
  --icon-md: 28px;
  --icon-sm: 22px;
  --font-display: "Viaoda Libre", "Noto Serif Variable", Georgia, serif;
  --font-serif: "Noto Serif Variable", Georgia, serif;
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hangul: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* Dark (Đêm sao): follows the device unless data-theme="light" is set on <html>. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #10182d;
    --paper-deep: #0b1022;
    --surface-solar: #19243d;
    --surface-lunar: #202944;
    --surface-current: #394463;
    --ink: #e8edf9;
    --ink-muted: #b1bfd8;
    --ink-current: #f4e3c2;
    --accent: #e7c88c;
    --on-accent: #151b2c;
    --ornament: #a99570;
    --line: #36435e;
    --line-strong: #667793;
    --script-consonant: #7aa0ff;
    --script-vowel: #ff8ac0;
    --script-final: #4be3c1;
    --tag-support-bg: #223a36;
    --tag-support-ink: #c3e7c6;
    --tag-care-bg: #422d3a;
    --tag-care-ink: #f1c4be;
    --warning: #ffc24b;
    --on-warning: #151b2c;
    --danger: #ff7a8f;
    --glass-fill: rgba(40,42,70,0.42);
    --glass-fill-strong: rgba(48,50,82,0.58);
    --glass-border: rgba(255,255,255,0.16);
    --glass-highlight: rgba(255,255,255,0.28);
    --wash-1: #141634;
    --wash-2: #241a44;
    --wash-3: #1c2140;
    --wash-4: #122437;
    --scrim: rgba(3,7,19,0.72);
    --shadow-paper: 0 6px 24px rgba(3,8,23,0.25), inset 0 1px 0 rgba(197,213,255,0.05);
    --shadow-float: 0 8px 18px rgba(0,0,0,0.4);
    --shadow-dialog: 0 24px 80px rgba(0,0,0,0.53);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10182d;
  --paper-deep: #0b1022;
  --surface-solar: #19243d;
  --surface-lunar: #202944;
  --surface-current: #394463;
  --ink: #e8edf9;
  --ink-muted: #b1bfd8;
  --ink-current: #f4e3c2;
  --accent: #e7c88c;
  --on-accent: #151b2c;
  --ornament: #a99570;
  --line: #36435e;
  --line-strong: #667793;
  --script-consonant: #7aa0ff;
  --script-vowel: #ff8ac0;
  --script-final: #4be3c1;
  --tag-support-bg: #223a36;
  --tag-support-ink: #c3e7c6;
  --tag-care-bg: #422d3a;
  --tag-care-ink: #f1c4be;
  --warning: #ffc24b;
  --on-warning: #151b2c;
  --danger: #ff7a8f;
  --glass-fill: rgba(40,42,70,0.42);
  --glass-fill-strong: rgba(48,50,82,0.58);
  --glass-border: rgba(255,255,255,0.16);
  --glass-highlight: rgba(255,255,255,0.28);
  --wash-1: #141634;
  --wash-2: #241a44;
  --wash-3: #1c2140;
  --wash-4: #122437;
  --scrim: rgba(3,7,19,0.72);
  --shadow-paper: 0 6px 24px rgba(3,8,23,0.25), inset 0 1px 0 rgba(197,213,255,0.05);
  --shadow-float: 0 8px 18px rgba(0,0,0,0.4);
  --shadow-dialog: 0 24px 80px rgba(0,0,0,0.53);
}

/* Type styles: class="gk-type-<style>" */
.gk-type-numeral-hero { font-family: var(--font-display); font-size: 160px; line-height: 1; font-weight: 400; }
.gk-type-numeral-lg { font-family: var(--font-display); font-size: 128px; line-height: 1; font-weight: 400; }
.gk-type-numeral-md { font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 400; }
.gk-type-title { font-family: var(--font-serif); font-size: 28px; line-height: 36px; font-weight: 500; }
.gk-type-heading { font-family: var(--font-serif); font-size: 22px; line-height: 31px; font-weight: 500; }
.gk-type-accent-line { font-family: var(--font-serif); font-size: 21px; line-height: 28px; font-weight: 500; }
.gk-type-glyph-xl { font-family: var(--font-hangul); font-size: 56px; line-height: 1.1; font-weight: 500; }
.gk-type-glyph { font-family: var(--font-hangul); font-size: 40px; line-height: 1.1; font-weight: 500; }
.gk-type-display-sans { font-family: var(--font-sans); font-size: 34px; line-height: 42px; font-weight: 600; }
.gk-type-body-lg { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.gk-type-body { font-family: var(--font-sans); font-size: 15px; line-height: 25px; font-weight: 400; }
.gk-type-label { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
.gk-type-button { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.gk-type-caption { font-family: var(--font-sans); font-size: 12px; line-height: 19px; font-weight: 400; }
.gk-type-eyebrow { font-family: var(--font-sans); font-size: 11px; line-height: 16px; font-weight: 500; }
.gk-type-tab { font-family: var(--font-sans); font-size: 10px; line-height: 14px; font-weight: 600; }
