@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('/fonts/LINESeedSansTH_W_Th.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('/fonts/LINESeedSansTH_W_Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('/fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('/fonts/LINESeedSansTH_W_XBd.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('/fonts/LINESeedSansTH_W_He.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-heading: 'LINE Seed Sans TH', sans-serif;
    --font-body: 'Sarabun', sans-serif;
}

html body {
    font-family: var(--font-body);
}

/* Shared horizontal brand mark used on public pages. */
.site-header .brand img { width: 126px !important; height: 49px !important; object-fit: contain; }
.site-header .brand span { display: none; }
.footer-brand img { width: 164px; height: 64px; object-fit: contain; }
.login-brand-icon { width: 164px !important; height: 64px !important; object-fit: contain; }

h1, h2, h3, h4, h5, h6,
.page-title, .panel-title, .brand-text h2,
.card-header h1, .streamer-name {
    font-family: var(--font-heading) !important;
}

body.overlay-font-custom,
body.overlay-font-custom * {
    font-family: var(--overlay-font, var(--font-body)) !important;
}

.overlay-font-preview.overlay-font-custom,
.overlay-font-preview.overlay-font-custom * {
    font-family: var(--overlay-font, var(--font-body)) !important;
}
