/* Self-Hosted Vietnamese Typography & Dual-Atmosphere EdTech Tokens — LHN-Lucky-THPTtheme v1.0.0 */
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/bvp-400-vn.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/bvp-400-le.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/bvp-400-lt.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: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/bvp-500-vn.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/bvp-500-le.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/bvp-500-lt.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: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/bvp-600-vn.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/bvp-600-le.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/bvp-600-lt.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: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/bvp-700-vn.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/bvp-700-le.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/bvp-700-lt.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: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/bvp-800-vn.woff2') format('woff2');
	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';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/bvp-800-lt.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;
}

:root,
html[data-atmosphere="paper"] {
	--thpt-bg: #F8FAFC;
	--thpt-surface: #FFFFFF;
	--thpt-surface-alt: #F1F5F9;
	--thpt-header-bg: rgba(255, 255, 255, 0.92);
	--thpt-ink: #0F172A;
	--thpt-ink-body: #1E293B;
	--thpt-muted: #475569;
	--thpt-border: #E2E8F0;
	--thpt-accent: #C81E3A;
	--thpt-accent-hover: #9F1239;
	--thpt-accent-soft: rgba(200, 30, 58, 0.1);
	--thpt-blue: #0369A1;
	--thpt-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
	--thpt-formula-bg: #F8FAFC;
	--thpt-formula-border: #0284C7;
	--thpt-reading-scale: 1;
	--thpt-font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	/* 4-Grade Identity Tokens (Light Mode WCAG >= 4.8:1) */
	--g12-bg: #FFE4E6; --g12-fg: #9F1239; --g12-bd: #FDA4AF;
	--g11-bg: #F3E8FF; --g11-fg: #6B21A8; --g11-bd: #D8B4FE;
	--g10-bg: #E0F2FE; --g10-fg: #075985; --g10-bd: #7DD3FC;
	--g9-bg: #D1FAE5;  --g9-fg: #065F46;  --g9-bd: #6EE7B7;
	--casio-bg: #FEF3C7; --casio-fg: #92400E; --casio-bd: #FCD34D;
}

html[data-atmosphere="night"] {
	--thpt-bg: #070E1A;
	--thpt-surface: #0E192D;
	--thpt-surface-alt: #15233D;
	--thpt-header-bg: rgba(7, 14, 26, 0.90);
	--thpt-ink: #F8FAFC;
	--thpt-ink-body: #E2E8F0;
	--thpt-muted: #94A3B8;
	--thpt-border: #1E3150;
	--thpt-accent: #FB7185;
	--thpt-accent-hover: #FDA4AF;
	--thpt-accent-soft: rgba(251, 113, 133, 0.15);
	--thpt-blue: #38BDF8;
	--thpt-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	--thpt-formula-bg: #0B1528;
	--thpt-formula-border: #38BDF8;
	/* 4-Grade Identity Tokens (Night Mode WCAG >= 7:1) */
	--g12-bg: rgba(225, 29, 72, 0.22);  --g12-fg: #FDA4AF; --g12-bd: rgba(251, 113, 133, 0.45);
	--g11-bg: rgba(147, 51, 234, 0.22); --g11-fg: #E9D5FF; --g11-bd: rgba(192, 132, 252, 0.45);
	--g10-bg: rgba(2, 132, 199, 0.22);  --g10-fg: #BAE6FD; --g10-bd: rgba(56, 189, 248, 0.45);
	--g9-bg: rgba(5, 150, 105, 0.22);   --g9-fg: #A7F3D0;  --g9-bd: rgba(52, 211, 153, 0.45);
	--casio-bg: rgba(217, 119, 6, 0.24); --casio-fg: #FDE68A; --casio-bd: rgba(251, 191, 36, 0.48);
}

html[data-font-scale="sm"] { --thpt-reading-scale: 0.92; }
html[data-font-scale="md"] { --thpt-reading-scale: 1; }
html[data-font-scale="lg"] { --thpt-reading-scale: 1.12; }
html[data-font-scale="xl"] { --thpt-reading-scale: 1.24; }
