html.fm-i18n-pending body{visibility:hidden!important}
.fate-english-ai-notice{margin:16px 0 0;padding:12px 14px;border:1px solid #dde5d7;border-radius:8px;background:#f2f6ed;color:#566a55;font-size:12px;line-height:1.6}
@media(min-width:701px){html[lang=en] .home-intro h1{font-size:clamp(40px,3vw,54px);line-height:1.1;max-width:480px}}
html[lang=en] .aiboys-divination-form:before{content:'Reading details'!important}
html[lang=en] .aiboys-divination-panel[data-divination-kind=huangli] .aiboys-divination-form:before{content:'Choose a date'!important}
html[lang=en] .fm-tool-page:has(.aiboys-divination-panel[data-divination-kind=huangli])>.mb-12{display:none!important}
.fate-english-calendar{max-width:100%;padding:22px;margin:18px 0;border:1px solid #dddccf;border-radius:12px;background:#faf9f3;color:#284631}
.fate-calendar-head{display:flex;align-items:center;gap:8px}.fate-calendar-head h2{margin:0 auto 0 0;font-family:Georgia,serif;font-size:20px;font-weight:500}.fate-calendar-head button,.fate-calendar-grid button{border:1px solid #dce4d7;border-radius:7px;background:#fffefa;color:#34563a;cursor:pointer}.fate-calendar-head button{width:36px;height:34px;font-size:20px}
.fate-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:18px}.fate-calendar-grid button,.fate-calendar-grid>span{display:grid;place-items:center;min-height:38px}.fate-calendar-grid button[aria-pressed=true]{background:#285439;color:#fff;border-color:#285439}.fate-calendar-weekday{font-size:12px;color:#849180}
@media(max-width:700px){.fate-english-calendar{padding:16px}.fate-calendar-grid button,.fate-calendar-grid>span{min-height:34px}}
html[lang=en].fm-workspace .fm-page-heading h1::before{content:'WORKSPACE'!important}
html[lang=en].fate-help-available .fm-tool-page>.fate-english-calendar{display:block!important}
.fate-ziwei-en-legend{max-width:480px;margin:10px auto 14px;color:#6d7d6b;font-size:11px;line-height:1.6;text-align:center}
/* The captured, Chinese-only almanac article is replaced by the curated English guide. */
html[lang=en] body:has(.aiboys-divination-panel[data-divination-kind=huangli]) .max-w-5xl:has(>section){display:none!important}
/* Language and account menus share the site's neutral palette. */
.fate-english-ai-notice{border-color:#dedede;background:#f5f5f5;color:#555}
.fate-english-calendar{border-color:#dedede;background:#fafafa;color:#222}
.fate-calendar-head button,.fate-calendar-grid button{border-color:#dedede;background:#fff;color:#333}
.fate-calendar-grid button[aria-pressed=true]{background:#222;border-color:#222;color:#fff}
.fate-calendar-weekday,.fate-ziwei-en-legend{color:#777}
html[lang=zh-Hant].fm-workspace .fm-page-heading:has(+ .fm-form-region)::after,html[lang=zh-Hant].fm-workspace .fm-page-heading:has(+ .aiboys-panel)::after,html[lang=zh-Hant].fm-workspace .fm-page-heading:has(+ .aiboys-divination-panel)::after{content:'01  /  輸入資料或問題'}
html[lang=zh-Hant].fm-workspace .aiboys-divination-form:before{content:'起卦資料'}
html[lang=zh-Hant].fm-workspace .aiboys-divination-panel[data-divination-kind=huangli] .aiboys-divination-form:before{content:'選擇日期'}
html[lang=zh-Hant].fm-workspace .aiboys-divination-report:empty:before{content:'結果將在這裡呈現'}
html[lang=zh-Hant].fm-workspace .aiboys-divination-report:empty:after{content:'填寫問題並選擇起卦方式，生成後可查看實際結果與解讀。'}
@media(max-width:600px){
  html[lang=zh-Hant] .user-management .admin-user-row>.admin-user-id::before{content:'用戶 ID：'}
  html[lang=zh-Hant] .user-management .admin-user-row>.admin-user-created::before{content:'建立時間：'}
  html[lang=zh-Hant] .user-management .admin-user-row>.admin-user-balance::before{content:'積分：'}
  html[lang=en] .user-management .admin-user-row>.admin-user-id::before{content:'User ID: '}
  html[lang=en] .user-management .admin-user-row>.admin-user-created::before{content:'Created: '}
  html[lang=en] .user-management .admin-user-row>.admin-user-balance::before{content:'Credits: '}
}

/* One serif family for navigation, content, forms and generated reports. */
html{--fate-unified-font:Georgia,"Songti SC","Noto Serif CJK SC","Source Han Serif SC",STSong,SimSun,serif;--font-body:var(--fate-unified-font);--font-display:var(--fate-unified-font)}
html[lang=zh-Hant]{--fate-unified-font:Georgia,"Songti TC","Noto Serif CJK TC","Source Han Serif TC",PMingLiU,"Songti SC",serif}
html body{font-family:var(--fate-unified-font)!important}
html body :is(*,#fatemate-unified-font):not(svg):not(svg *):not([class*="iconfont"]),
html body :is(svg text,#fatemate-unified-font){font-family:var(--fate-unified-font)!important}
html body :is(input,textarea)::placeholder{font-family:var(--fate-unified-font)!important}
html body :is(.aiboys-divination-form,.aiboys-divination-report,.fm-form-region form,#fatemate-unified-font)::before{font-family:var(--fate-unified-font)!important}
.commerce-main > h1{text-wrap:balance}

