/* ==========================================================
   美好祈福 設計數值（design.md 的程式版本，唯一來源）
   ========================================================== */
:root {
	/* 配色 */
	--mh-red: #A8281E;
	--mh-ink: #2B1D16;
	--mh-muted: #6B5A4A;
	--mh-gold: #8A6420;
	--mh-paper: #F7F1E6;
	--mh-card: #FFFCF6;
	--mh-line: #E4D6BF;
	--mh-placeholder: #EADFCC;
	--mh-on-red: #FFF7EC;
	--mh-on-red-2: #FBE9D8;
	--mh-on-red-3: #F3D9A4;

	/* 字型（中文） */
	--mh-font-serif: 'Noto Serif TC', 'Songti TC', serif;
	--mh-font-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;

	/* 字級 */
	--mh-fs-display: 30px;
	--mh-fs-brand: 22px;
	--mh-fs-h2: 20px;
	--mh-fs-h3: 17px;
	--mh-fs-h4: 16px;
	--mh-fs-body: 15px;
	--mh-fs-body-sm: 14px;
	--mh-fs-label: 13px;
	--mh-fs-caption: 12px;
	--mh-fs-micro: 10px;

	/* 字距（中文用寬字距） */
	--mh-track-brand: .12em;
	--mh-track-h2: .1em;
	--mh-track-kicker: .3em;
	--mh-track-label: .15em;
	--mh-track-tagline: .2em;

	/* 版面 */
	--mh-gutter: 20px;
	--mh-max: 100%;          /* 內容最大寬度：手機全寬，平板 720px，電腦 1120px */
	--mh-section: 24px;      /* 區塊之間的間距 */
	--mh-radius-sm: 4px;
	--mh-radius-img: 12px;
	--mh-radius-card: 14px;
	--mh-tabbar-h: 70px;
}

/* 越南文、印尼文：拉丁字型、縮小字距與大標（design.md 第 7 節） */
:lang(vi), :lang(id) {
	--mh-font-serif: 'Noto Serif', 'Noto Serif TC', serif;
	--mh-font-sans: 'Noto Sans', 'Noto Sans TC', sans-serif;
	--mh-fs-display: 26px;
	--mh-fs-brand: 19px;
	--mh-track-brand: 0;
	--mh-track-h2: 0;
	--mh-track-kicker: .08em;
	--mh-track-label: .04em;
	--mh-track-tagline: .06em;
}
:lang(vi) { line-height: 1.55; }

/* ---------- 平板（768px 以上） ---------- */
@media (min-width: 768px) {
	:root {
		--mh-gutter: 28px;
		--mh-max: 720px;
		--mh-section: 36px;
		--mh-fs-display: 36px;
		--mh-fs-h2: 22px;
		--mh-fs-h3: 19px;
		--mh-fs-h4: 17px;
		--mh-fs-label: 14px;
	}
	:lang(vi), :lang(id) { --mh-fs-display: 32px; }
}

/* ---------- 電腦（1024px 以上） ---------- */
@media (min-width: 1024px) {
	:root {
		--mh-gutter: 32px;
		--mh-max: 1120px;
		--mh-section: 56px;
		--mh-fs-display: 44px;
		--mh-fs-brand: 24px;
		--mh-fs-h2: 26px;
		--mh-fs-h3: 21px;
		--mh-fs-h4: 18px;
		--mh-fs-body-sm: 16px;
		--mh-fs-label: 14px;
		--mh-fs-caption: 13px;
		--mh-fs-micro: 12px;
	}
	:lang(vi), :lang(id) { --mh-fs-display: 38px; --mh-fs-brand: 21px; }
}
