﻿/* Kodchasan (SIL OFL 1.1, see kodchasan/OFL.txt) - the Tween Studio UI face. Self-hosted: CSP font-src 'self'. */
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 200; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-ExtraLight.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 200; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-ExtraLightItalic.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-Light.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-LightItalic.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-Regular.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-Italic.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-Medium.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-MediumItalic.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 600; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-SemiBoldItalic.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-Bold.ttf") format("truetype"); }
@font-face { font-family: "Kodchasan"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/kodchasan/Kodchasan-BoldItalic.ttf") format("truetype"); }

:root { --wm-ui-font: "Kodchasan", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select, textarea { font-family: inherit; }


/* Text areas keep the plain system face (long-form prompts/notes read better), not Kodchasan. */
textarea { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
