/* ════════════════════════════════════════════════════════════════
   Self-hosted EB Garamond — full Vietnamese diacritic support.
   Loaded site-wide so popup quest, Phòng thợ săn, Reading result
   pages all render correctly on iOS/Android/Win/Mac without CDN.

   Files live at: /assets/fonts/garamond/*.ttf (10 weights/styles).
   font-display:swap so flash-of-unstyled-text doesn't block paint.
   ════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-Italic.ttf') format('truetype');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-MediumItalic.ttf') format('truetype');
    font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-BoldItalic.ttf') format('truetype');
    font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-ExtraBold.ttf') format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'EB Garamond Local';
    src: url('../fonts/garamond/EBGaramond-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800; font-style: italic; font-display: swap;
}

:root {
    --font-medieval-body: 'EB Garamond Local','EB Garamond','Cinzel','Marcellus','Times New Roman',serif;
}
