/* Thai presentation only; original graphics and application styles remain in assets. */
:root {
    --blockflix-thai-font: 'Thonburi', 'Leelawadee UI', 'Noto Sans Thai', Tahoma, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body, button, input, select, textarea {
    font-family: var(--blockflix-thai-font);
}
.controls-panel, .loading-items, .fps-counter,
.preset-overlay__label, #third-person-mobile-controls, .third-person-mobile-controls,
.grass-gui, .grass-gui button, #grass-painter-ui, #grass-painter-ui * {
    font-family: var(--blockflix-thai-font) !important;
}
.panel-header, .section-title, .preset-option, .preset-select-trigger,
.control-label-row, .toggle-row, .start-button, .fps-counter__label,
#grass-painter-ui * {
    letter-spacing: normal !important;
    text-transform: none;
    line-height: 1.5;
}
.preset-select-trigger span, .preset-option {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
}
.control-label-row, .toggle-row {
    gap: 12px;
}
.fps-counter__label {
    font-size: 10px;
    white-space: nowrap;
}
.preset-overlay__label {
    max-width: 80vw;
    font-size: clamp(28px, 6vw, 84px);
    letter-spacing: 0.025em;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}
.loading-brand {
    position: fixed;
    top: 24px;
    left: 24px;
    margin: 0;
    color: #d9f4bb;
    font: 700 clamp(24px, 3vw, 40px)/1.1 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.025em;
    pointer-events: none;
}
.th-mobile-action {
    font-family: var(--blockflix-thai-font) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}
#grass-painter-ui [style*="font-family:monospace"] {
    font-size: 10px !important;
    white-space: nowrap;
}
@media (max-width: 700px) {
    .loading-brand {
        top: 24px;
        left: 12px;
        font-size: clamp(16px, 4vw, 22px);
    }
    .loader-logo {
        width: min(250px, 70vw);
    }
}
