/* ==========================================================
   廟宇、景點模板與功能頁樣式（design.md 6-x、第 8 節）
   只在這些頁面載入。數值全部來自 tokens.css。
   ========================================================== */

/* ---------- 共用 ---------- */
.mh-ph { display: block; background: var(--mh-placeholder); }
.mh-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.mh-h2 {
	display: flex; align-items: flex-start; gap: 10px; margin: 0; text-wrap: balance;
	font-family: var(--mh-font-serif); font-size: var(--mh-fs-h2); font-weight: 700; line-height: 1.35;
	letter-spacing: var(--mh-track-h2); color: var(--mh-ink);
}
.mh-h2-line { width: 18px; height: 2px; margin-top: .67em; background: var(--mh-red); flex-shrink: 0; }
.mh-more { font-size: var(--mh-fs-label); color: var(--mh-red); white-space: nowrap; }

.mh-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mh-tag {
	font-size: var(--mh-fs-caption); line-height: 1.5; color: var(--mh-red);
	border: 1px solid var(--mh-red); border-radius: var(--mh-radius-sm); padding: 0 8px; white-space: nowrap;
}
.mh-tag.is-gold { color: var(--mh-gold); border-color: var(--mh-gold); }

.mh-btn {
	min-height: 48px; padding: 0 22px; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border-radius: 24px; background: var(--mh-red); color: var(--mh-on-red);
	font-size: var(--mh-fs-body); font-weight: 700; white-space: nowrap; border: 1px solid var(--mh-red);
}
.mh-btn.is-outline { background: var(--mh-card); color: var(--mh-red); }
.mh-btn.is-small { min-height: 40px; padding: 0 16px; font-size: var(--mh-fs-body-sm); border-radius: 20px; }
.mh-btn:hover { opacity: .9; }
.mh-btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }

.mh-callout {
	display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 12px 14px;
	background: #FBE9D8; border-radius: 10px; font-size: var(--mh-fs-label); line-height: 1.6; color: var(--mh-ink);
}
.mh-callout svg { color: var(--mh-red); flex-shrink: 0; margin-top: 1px; }
.mh-callout a { color: var(--mh-red); font-weight: 700; text-decoration: underline; }

.mh-empty { padding: 32px var(--mh-gutter); text-align: center; color: var(--mh-muted); }
.mh-prose { font-size: var(--mh-fs-body); line-height: 1.85; }
.mh-prose p { margin: 0 0 1em; }
.mh-prose p:last-child { margin-bottom: 0; }

.mh-sec { padding: var(--mh-section) var(--mh-gutter) 0; }
.mh-side-card .mh-head, .mh-sec .mh-sec { padding: 0; }

/* ---------- 廟宇清單 ---------- */
.mh-list-page { max-width: var(--mh-max); margin: 0 auto; padding-bottom: var(--mh-section); }
.mh-page-head { padding: 12px var(--mh-gutter) 4px; }
.mh-page-title { margin: 0; font-family: var(--mh-font-serif); font-size: 24px; font-weight: 700; letter-spacing: var(--mh-track-h2); }
.mh-chips {
	display: flex; gap: 8px; padding: 12px var(--mh-gutter) 16px; overflow-x: auto; scrollbar-width: none;
}
.mh-chips::-webkit-scrollbar { display: none; }
.mh-chip {
	flex-shrink: 0; min-height: 36px; padding: 0 16px; display: flex; align-items: center; border-radius: 18px;
	background: var(--mh-card); border: 1px solid var(--mh-line); font-size: var(--mh-fs-body-sm); color: var(--mh-ink); white-space: nowrap;
}
.mh-chip[aria-current="page"] { background: var(--mh-red); border-color: var(--mh-red); color: var(--mh-on-red); font-weight: 700; }
.mh-tgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 var(--mh-gutter); }
.mh-tcard {
	display: flex; flex-direction: column; background: var(--mh-card); border: 1px solid var(--mh-line);
	border-radius: var(--mh-radius-card); overflow: hidden;
}
.mh-tcard-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mh-tcard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.mh-tcard-title {
	font-family: var(--mh-font-serif); font-size: 18px; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-tcard-meta { display: flex; align-items: center; gap: 4px; font-size: var(--mh-fs-label); color: var(--mh-muted); }

/* ---------- 詳細頁 ---------- */
.mh-detail { max-width: var(--mh-max); margin: 0 auto; padding-bottom: var(--mh-section); }
.mh-detail-img { display: block; width: 100%; height: 220px; object-fit: cover; }
.mh-detail-head { display: flex; flex-direction: column; gap: 10px; padding: 18px var(--mh-gutter) 0; }
.mh-detail-title { margin: 0; font-family: var(--mh-font-serif); font-size: 26px; font-weight: 700; letter-spacing: var(--mh-track-brand); line-height: 1.3; text-wrap: balance; }
.mh-detail-sub { margin: 0; font-size: var(--mh-fs-body-sm); color: var(--mh-muted); }
.mh-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--mh-fs-label); }
.mh-facts li { display: flex; gap: 6px; align-items: flex-start; }
.mh-facts svg { color: var(--mh-muted); flex-shrink: 0; margin-top: 2px; }
.mh-appeals { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--mh-fs-body-sm); }
.mh-appeals li { display: flex; gap: 8px; align-items: flex-start; }
.mh-appeals svg { color: var(--mh-red); flex-shrink: 0; margin-top: 3px; }

/* 影片：只放縮圖，點了才開 YouTube */
.mh-video { position: relative; display: block; border-radius: var(--mh-radius-img); overflow: hidden; }
.mh-video-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mh-live { position: absolute; top: 12px; left: 12px; padding: 2px 8px; border-radius: 4px; background: var(--mh-red); color: var(--mh-on-red); font-size: var(--mh-fs-caption); font-weight: 700; }
.mh-video-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 56px; height: 56px; border-radius: 50%; background: rgba(43, 29, 22, .7); color: var(--mh-on-red);
	display: flex; align-items: center; justify-content: center;
}

/* 展開全文 */
.mh-readmore summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.mh-readmore summary::-webkit-details-marker { display: none; }
.mh-readmore-preview { font-size: var(--mh-fs-body); line-height: 1.85; }
.mh-readmore-btn { min-height: 40px; display: flex; align-items: center; font-size: var(--mh-fs-body-sm); font-weight: 700; color: var(--mh-red); }
.mh-readmore[open] summary { display: none; }

/* 主神、特色：可展開的清單 */
.mh-deities, .mh-features { display: flex; flex-direction: column; }
.mh-deity, .mh-feature { border-bottom: 1px solid var(--mh-line); }
.mh-deity summary, .mh-feature summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0;
}
.mh-deity summary::-webkit-details-marker, .mh-feature summary::-webkit-details-marker { display: none; }
.mh-deity summary > svg, .mh-feature summary > svg { margin-left: auto; color: var(--mh-muted); flex-shrink: 0; transition: transform .2s; }
.mh-deity[open] summary > svg, .mh-feature[open] summary > svg { transform: rotate(180deg); }
.mh-feature summary span { font-family: var(--mh-font-serif); font-size: var(--mh-fs-h4); font-weight: 700; }
.mh-deity-avatar {
	width: 44px; height: 44px; border-radius: 50%; background: var(--mh-placeholder); color: var(--mh-red);
	font-family: var(--mh-font-serif); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mh-deity-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mh-deity-name { font-family: var(--mh-font-serif); font-size: var(--mh-fs-h4); font-weight: 700; }
.mh-deity-meta { font-size: var(--mh-fs-label); color: var(--mh-muted); }
.mh-deity-body, .mh-feature p { padding: 0 0 14px; font-size: var(--mh-fs-body-sm); line-height: 1.8; }
.mh-deity-body p { margin: 0 0 6px; }
.mh-deity-alias { color: var(--mh-muted); }

/* 點燈服務 */
.mh-lamps { display: flex; flex-direction: column; gap: 10px; }
.mh-lamp { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; }
.mh-lamp-icon { width: 48px; height: 48px; border-radius: 50%; background: #FBE9D8; color: var(--mh-red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mh-lamp-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.mh-lamp-name { font-family: var(--mh-font-serif); font-size: var(--mh-fs-h4); font-weight: 700; }
.mh-lamp-desc { font-size: var(--mh-fs-caption); color: var(--mh-muted); }
.mh-lamp-price { font-size: var(--mh-fs-body-sm); font-weight: 700; color: var(--mh-red); }

/* 交通資訊 */
.mh-detail-side { padding: 0 var(--mh-gutter); }
.mh-side-card {
	margin-top: var(--mh-section); padding: 16px; background: var(--mh-card); border: 1px solid var(--mh-line);
	border-radius: var(--mh-radius-card); display: flex; flex-direction: column; gap: 12px;
}
.mh-side-card .mh-head { margin-bottom: 0; }

/* 周邊景點：手機橫向滑動 */
.mh-spots-sec { padding-right: 0; }
.mh-spots-sec .mh-head { padding-right: var(--mh-gutter); }
.mh-spot-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--mh-gutter); }
.mh-spot-track::-webkit-scrollbar { display: none; }
.mh-scard { width: 160px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.mh-scard-img { width: 100%; height: 110px; border-radius: var(--mh-radius-img); object-fit: cover; }
.mh-scard-title {
	font-family: var(--mh-font-serif); font-size: 15px; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-scard-meta { font-size: var(--mh-fs-caption); color: var(--mh-muted); }
.mh-scard-drive { display: flex; align-items: center; gap: 4px; font-size: var(--mh-fs-caption); color: var(--mh-red); }

.mh-only-desktop { display: none; }
/* 神明照片、特色照片（v1.3.3） */
img.mh-deity-avatar.is-photo { object-fit: cover; padding: 0; background: var(--mh-placeholder); }
.mh-feature-img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; margin: 4px 0 10px; border-radius: var(--mh-radius-img); background: var(--mh-placeholder); }
.mh-sec > .mh-side-card { margin-top: 0; }

/* 清單篩選列：主題＋地區 */
.mh-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px var(--mh-gutter) 14px; font-size: var(--mh-fs-label); color: var(--mh-muted); }
.mh-area { position: relative; }
.mh-area summary { list-style: none; display: flex; align-items: center; gap: 4px; min-height: 36px; cursor: pointer; color: var(--mh-ink); }
.mh-area summary::-webkit-details-marker { display: none; }
.mh-area-menu {
	position: absolute; right: 0; top: 100%; z-index: 30; min-width: 160px; max-height: 320px; overflow: auto; padding: 6px;
	background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(43, 29, 22, .12);
}
.mh-area-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--mh-ink); }
.mh-area-menu a[aria-current] { color: var(--mh-red); font-weight: 700; background: rgba(168, 40, 30, .06); }

/* 手機版：清單標題已在頂部列，不重複顯示 */
@media (max-width: 1023px) {
	body.mh-sub .mh-list-page .mh-page-head { display: none; }
	body.mh-sub .mh-list-page .mh-chips { padding-top: 14px; }
}

/* 景點頁 */
.mh-detail-narrow { max-width: 760px; margin: 0 auto; }
.mh-fact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px var(--mh-gutter) 0; }
.mh-fact-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; min-width: 0; }
.mh-fact-label { display: flex; align-items: center; gap: 4px; font-size: var(--mh-fs-caption); color: var(--mh-muted); }
.mh-fact-value { font-size: var(--mh-fs-body); font-weight: 700; overflow-wrap: anywhere; }
.mh-tlist { display: flex; flex-direction: column; gap: 10px; }
.mh-trow { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; }
.mh-trow-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mh-trow-text { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; min-width: 0; }
.mh-trow-title { font-family: var(--mh-font-serif); font-size: var(--mh-fs-h4); font-weight: 700; }
.mh-trow-meta { font-size: var(--mh-fs-label); color: var(--mh-muted); }
.mh-trow > svg { color: var(--mh-muted); flex-shrink: 0; }
.is-spot .mh-sec > .mh-btn { width: 100%; }

/* ---------- 功能頁 ---------- */
.mh-func { max-width: var(--mh-max); margin: 0 auto; padding-bottom: var(--mh-section); }
.mh-func-bar { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-bottom: 1px solid var(--mh-line); }
.mh-func-back, .mh-func-spacer { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--mh-ink); }
.mh-func-title { flex-grow: 1; margin: 0; text-align: center; font-family: var(--mh-font-serif); font-size: 17px; font-weight: 700; letter-spacing: var(--mh-track-h2); }
.mh-func-body { padding: 16px var(--mh-gutter) 0; }
.mh-admin-note { margin: 0 0 16px; padding: 14px 16px; border: 1px dashed var(--mh-red); border-radius: 10px; font-size: 14px; line-height: 1.7; color: var(--mh-ink); }
.mh-admin-note a { color: var(--mh-red); text-decoration: underline; }

/* ==========================================================
   平板（768px 以上）
   ========================================================== */
@media (min-width: 768px) {
	.mh-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.mh-detail-media { padding: 16px var(--mh-gutter) 0; }
	.mh-detail-img { height: 340px; border-radius: 16px; }
	.mh-spot-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding-right: 0; }
	.mh-spots-sec { padding-right: var(--mh-gutter); }
	.mh-spots-sec .mh-head { padding-right: 0; }
	.mh-scard { width: auto; }
	.mh-scard-img { height: auto; aspect-ratio: 16 / 10; }
	.mh-fact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================
   電腦（1024px 以上）：左側內容、右側點燈與交通
   ========================================================== */
@media (min-width: 1024px) {
	.mh-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.mh-page-head { padding-top: 32px; }
	.mh-page-title { font-size: 32px; }
	.mh-detail-media { padding-top: 24px; }
	.mh-detail-img { height: 440px; border-radius: 20px; }
	.mh-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding: 0 var(--mh-gutter); align-items: start; }
	.mh-detail-grid .mh-detail-head, .mh-detail-grid .mh-sec, .mh-detail-side { padding-left: 0; padding-right: 0; }
	.mh-detail-head { padding-top: 28px; }
	.mh-detail-title { font-size: 36px; }
	.mh-detail-side { position: sticky; top: 96px; }
	.admin-bar .mh-detail-side { top: 128px; }
	.mh-side-card { margin-top: 28px; padding: 20px; }
	.mh-only-mobile { display: none; }
	.mh-only-desktop { display: flex; }
	.mh-spot-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.mh-detail-narrow .mh-detail-title { font-size: 32px; }
	.mh-func-body { padding-top: 24px; }
}

/* ==========================================================
   旅遊團（清單、詳細頁、報名表）
   ========================================================== */
.mh-page-sub { margin: 6px 0 12px; font-size: var(--mh-fs-label); color: var(--mh-muted); line-height: 1.6; }
.mh-tourcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mh-tour-st { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: var(--mh-radius-sm); font-size: var(--mh-fs-caption); font-weight: 700; white-space: nowrap; }
.mh-tour-st.is-open { background: #FBE9D8; color: var(--mh-red); }
.mh-tour-st.is-soon { background: #F6EEDC; color: var(--mh-gold); }
.mh-tour-st.is-full, .mh-tour-st.is-closed, .mh-tour-st.is-done { background: var(--mh-placeholder); color: var(--mh-muted); }
.mh-detail-lead { margin: 0; font-size: var(--mh-fs-body); color: var(--mh-muted); line-height: 1.7; }

.mh-tour-dates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mh-tour-dates li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; }
.mh-tour-dates li.is-full, .mh-tour-dates li.is-closed { opacity: .65; }
.mh-tour-date { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: var(--mh-fs-body); }
.mh-tour-date small { font-weight: 400; font-size: var(--mh-fs-caption); color: var(--mh-muted); }
.mh-tour-date-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mh-tour-left { font-size: var(--mh-fs-label); color: var(--mh-red); font-weight: 700; }

.mh-plan-day + .mh-plan-day { margin-top: 18px; }
.mh-plan-dayname { margin: 0 0 10px; font-family: var(--mh-font-serif); font-size: var(--mh-fs-h3); color: var(--mh-red); }
.mh-plan { list-style: none; margin: 0; padding: 0; }
.mh-plan-stop { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.mh-plan-stop:last-child { padding-bottom: 0; }
.mh-plan-stop:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: var(--mh-line); }
.mh-plan-dot { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--mh-card); border: 3px solid var(--mh-red); box-sizing: border-box; flex-shrink: 0; position: relative; }
.mh-plan-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.mh-plan-time { font-size: var(--mh-fs-caption); color: var(--mh-red); font-weight: 700; letter-spacing: .04em; }
.mh-plan-title { font-family: var(--mh-font-serif); font-size: var(--mh-fs-h4); font-weight: 700; line-height: 1.4; }
.mh-plan-desc { margin: 0; font-size: var(--mh-fs-body-sm); color: var(--mh-ink); line-height: 1.75; }
.mh-plan-img { width: 100%; height: auto; max-height: 260px; object-fit: cover; border-radius: 12px; }
.mh-plan-place { margin-top: 2px; }

.mh-tour-info { display: flex; flex-direction: column; gap: 8px; }
.mh-tacc { background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; }
.mh-tacc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 14px; font-weight: 700; }
.mh-tacc summary::-webkit-details-marker { display: none; }
.mh-tacc summary svg { color: var(--mh-muted); transition: transform .2s; }
.mh-tacc[open] summary svg { transform: rotate(180deg); }
.mh-tacc ul { margin: 0; padding: 0 14px 14px 32px; font-size: var(--mh-fs-body-sm); line-height: 1.8; }

.mh-signup { display: flex; flex-direction: column; gap: 14px; }
.mh-signup .mh-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mh-signup label, .mh-signup legend { font-size: var(--mh-fs-label); font-weight: 700; }
.mh-signup em { color: var(--mh-red); font-style: normal; }
.mh-signup input[type="text"], .mh-signup input[type="tel"], .mh-signup input[type="email"], .mh-signup select, .mh-signup textarea {
	width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px; background: var(--mh-card);
	border: 1px solid var(--mh-line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--mh-ink);
}
.mh-signup textarea { padding: 12px 14px; min-height: 90px; }
.mh-signup input:focus, .mh-signup select:focus, .mh-signup textarea:focus { outline: none; border-color: var(--mh-red); box-shadow: 0 0 0 3px rgba(168, 40, 30, .12); }
.mh-signup-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 600px) { .mh-signup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mh-signup-dates { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mh-signup-dates legend { margin-bottom: 8px; padding: 0; }
.mh-date-opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 12px; cursor: pointer; font-weight: 500 !important; }
.mh-date-opt input { width: 18px; height: 18px; accent-color: var(--mh-red); margin: 0; }
.mh-date-opt span { flex: 1; font-size: var(--mh-fs-body); }
.mh-date-opt small { font-size: var(--mh-fs-caption); color: var(--mh-red); font-weight: 700; }
.mh-date-opt:has(input:checked) { border-color: var(--mh-red); background: #FDF1E6; }
.mh-date-opt.is-disabled { opacity: .55; cursor: not-allowed; }
.mh-date-opt.is-disabled small { color: var(--mh-muted); }
.mh-agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; line-height: 1.6; cursor: pointer; }
.mh-agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mh-red); flex-shrink: 0; }
.mh-btn-block { width: 100%; }
.mh-signup-tip { margin: 0; font-size: var(--mh-fs-caption); color: var(--mh-muted); line-height: 1.6; text-align: center; }
.mh-signup-err { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #FBE9D8; color: var(--mh-red); font-size: var(--mh-fs-body-sm); }
.mh-signup-done { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: #E3F0E8; color: #2F6B4F; }
.mh-signup-done svg { flex-shrink: 0; }
.mh-signup-done strong { display: block; font-size: var(--mh-fs-body); margin-bottom: 4px; }
.mh-signup-done p { margin: 0; font-size: var(--mh-fs-body-sm); line-height: 1.6; color: var(--mh-ink); }
.mh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#mh-signup { scroll-margin-top: 72px; padding-bottom: var(--mh-section); }

.mh-signup-grid .mh-field.is-wide { grid-column: 1 / -1; }
.mh-signup .mh-field-label { font-size: var(--mh-fs-label); font-weight: 700; }
.mh-choice-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 22px; cursor: pointer; font-weight: 400 !important; }
.mh-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--mh-red); }
.mh-choice:has(input:checked) { border-color: var(--mh-red); background: #FDF1E6; }
