@font-face {
    font-family: "MaruMonica";
    src: url("./x12y16pxMaruMonica.woff") format("woff");
    font-display: swap;
}

/* ========================================
   フォント設定
   - Main = MaruMonica（ピクセルフォント、全ゲームテキスト統一）
   - システムUI: システムフォント（□回避）
   ========================================
   ★単一の真実: Main フォントを CSS variable で定義し、
   どの要素も var(--font-main) を参照するだけで揃う。
*/
:root {
    --font-main: "MaruMonica", "Hiragino Kaku Gothic", "Meiryo", sans-serif;
}

/* ゲームテキスト要素のみMain(MaruMonica)を適用 */
.message_inner,
.message_outer,
.chara_name_area,
.glink_button,
.custom-submit-button,
.text_box,
.current_span,
.char {
    font-family: var(--font-main) !important;
}

/* システムUI要素はシステムフォントを使用（□回避） */
.vertical_text,
.vchat-name,
.vchat-text,
.button_menu,
.tyrano-loading,
.log_body,
.save_list,
.layer_free,
[class*="system"],
[class*="menu"],
[class*="config"] {
    font-family: "Hiragino Kaku Gothic", "Meiryo", sans-serif !important;
}
