/* 醒心宮網站（精簡版）— 手機優先
   對外官網：春節氣氛（朱紅主色、金／暖黃輔色、宣紙米白底），淡青只用在頁尾點綴。
   淡藍色系保留給宮務管理介面。 */
:root {
  --red: #A61B1B; --red-dark: #7E1212; --red-ink: #5A0E0E;
  --gold: #B8892B; --gold-light: #E9C873; --warm: #F6D98B;
  --paper: #FFFDF7; --bg: #FAF4E6; --line: #E7D7B8; --ink: #2A1C15; --muted: #6B5A4E;
  --celadon: #D7E8E3; --celadon-ink: #23443D;
  --ok-bg: #E6F2E8; --ok: #1F5E2E; --warn-bg: #FFF4E0; --warn: #7A4A00; --err-bg: #FDECEC; --err: #A61B1B;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.75; font-size: 17px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.block { padding-top: 28px; padding-bottom: 28px; }
.h1 { font-family: "Noto Serif TC", serif; font-size: 26px; color: var(--red-ink); margin: 0 0 16px; }
.h1 .ver { font-size: 15px; color: var(--muted); font-weight: 400; }
.h2 { font-family: "Noto Serif TC", serif; font-size: 20px; color: var(--red-ink); margin: 26px 0 12px; border-left: 5px solid var(--gold); padding-left: 10px; line-height: 1.4; }
.note { font-size: 14px; color: var(--muted); }
.nowrap { white-space: nowrap; }
ol.plain { padding-left: 1.4em; }

/* 頁首 */
.top { background: var(--red); color: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 3px solid var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.logo { width: 36px; height: 36px; fill: none; stroke: var(--gold-light); stroke-width: 2; }
.brand-t { display: flex; flex-direction: column; line-height: 1.2; }
.brand-t b { font-family: "Noto Serif TC", serif; font-size: 22px; letter-spacing: 4px; }
.brand-t small { font-size: 12px; color: var(--gold-light); letter-spacing: 1px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: #FBEBC8; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
.nav a:hover { background: var(--red-dark); color: var(--gold-light); }

/* 首頁 */
.hero { background: radial-gradient(circle at 20% 20%, #B8261F, var(--red) 55%, var(--red-dark)); color: #FFF6E0; border-bottom: 4px solid var(--gold); }
.hero-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 28px; padding-bottom: 32px; }
.hero-txt { flex: 1 1 340px; }
.hero-img { flex: 0 1 300px; margin: 0 auto; border: 3px solid var(--gold-light); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.kicker { color: var(--gold-light); letter-spacing: 3px; margin: 0; font-size: 14px; }
.hero h1 { font-family: "Noto Serif TC", serif; font-size: 40px; line-height: 1.25; margin: 6px 0 10px; letter-spacing: 4px; color: #FFF; }
.lead { color: #FBE6BE; margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-family: "Noto Serif TC", serif; font-size: 21px; margin: 0; color: var(--red-ink); }
.card p { margin: 0; font-size: 15px; }
.card .date { color: var(--red-dark); font-weight: 700; font-size: 14px; }
.card .price { color: var(--gold); font-weight: 700; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* 按鈕 */
.btn { display: inline-block; min-height: 46px; padding: 10px 22px; border-radius: 999px; font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--red); background: #fff; color: var(--red); font-family: inherit; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-line { background: transparent; border-style: dashed; border-color: var(--gold); color: var(--red); }
.btn[disabled] { opacity: .6; cursor: default; }
.link-btn { background: none; border: 0; color: var(--red); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 8px; }

/* 內頁標題 */
.page-head { background: var(--red); color: #fff; padding: 18px 0; border-bottom: 4px solid var(--gold); }
.page-head h1 { font-family: "Noto Serif TC", serif; margin: 0; font-size: 26px; letter-spacing: 2px; }
.page-head p { margin: 4px 0 0; color: #FBE6BE; font-size: 15px; }
.serial { color: var(--gold-light); font-size: 20px; letter-spacing: 1px; }

/* 表單 */
form label { display: block; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 9px 10px; border: 1px solid #CDBB9A; border-radius: 8px; background: #fff; margin-top: 4px; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
input[readonly] { background: #F4ECDD; }
input:disabled, select:disabled { background: #EEE8DD; color: #9A8D80; }
em { color: var(--err); font-style: normal; }
.box, .person { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
legend { font-weight: 700; color: var(--red-ink); padding: 0 6px; font-size: 17px; }
.stepno { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff; align-items: center; justify-content: center; font-size: 14px; margin-right: 4px; font-family: sans-serif; }
.otp-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.otp-row input { margin-top: 0; flex: 1; }
.otp-row .btn { white-space: nowrap; }
.otp-msg { font-size: 14px; color: var(--ok); margin: 4px 0; }
.otp-msg.bad { color: var(--err); }
.family { background: #FFF8E6; border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.family p { margin: 0 0 6px; font-size: 15px; }
.family .fam { margin-right: 16px; }
.person { position: relative; }
.person .remove { position: absolute; top: 4px; right: 6px; }
.pno { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; align-items: center; justify-content: center; font-size: 14px; }
.from-file { margin: 0 0 8px; font-size: 13px; color: var(--ok); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field { margin-bottom: 10px; }
.lbl { display: block; font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.seg { display: flex; gap: 16px; padding-top: 8px; }
.seg label, label.inline, label.radio, label.chk { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); margin: 0; }
.birth { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.birth select, .birth input { width: auto; margin-top: 0; }
.w4 { width: 5.5em !important; }
.unknown { margin-top: 6px !important; font-size: 14px; }
.zodiac { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.zodiac.hit { color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 4px 10px; }
.lamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lamp { position: relative; margin: 0; }
.lamp input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lamp span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 6px 4px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #FFF8E6; color: var(--ink); text-align: center; line-height: 1.3; cursor: pointer; }
.lamp small { font-size: 11px; color: var(--muted); }
.lamp input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.lamp input:checked + span small { color: #FBE6BE; }
.lamp input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.person-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.person-foot .subtotal { margin-left: auto; color: var(--muted); }
label.radio { display: flex; margin: 6px 0 2px; }
input.indent { margin-left: 1.6em; width: calc(100% - 1.6em); margin-bottom: 6px; }
.add { width: 100%; margin-bottom: 8px; }
.total-bar { position: sticky; bottom: 0; background: #fff; border-top: 2px solid var(--gold); padding: 12px 14px; margin: 0 -16px; box-shadow: 0 -4px 12px rgba(42,28,21,.08); }
.total-bar > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.total-bar b { font-size: 22px; color: var(--red); }
.agree { display: flex !important; gap: 8px; align-items: flex-start; color: var(--ink) !important; font-size: 14px !important; margin: 8px 0 !important; }
.agree input { margin-top: 5px; }
.consent-ok { font-size: 14px; color: var(--ok); margin: 8px 0; }
.total-bar .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 訊息 */
.notice { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.notice p { margin: 4px 0; }
.notice.gold { background: #FFF6DC; border-left-color: var(--gold); }
.notice.ok { background: var(--ok-bg); border-left-color: var(--ok); color: var(--ok); }
.notice.warn { background: var(--warn-bg); border-left-color: var(--warn); color: var(--warn); }
.errors { background: var(--err-bg); border: 1px solid #F0B8B8; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; color: var(--err); }
.errors ul { margin: 4px 0 0; padding-left: 1.3em; }

/* 確認頁 */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
table.list th, table.list td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
table.list th { background: #F4ECDD; white-space: nowrap; }
dl.kv { display: grid; grid-template-columns: 6em 1fr; gap: 6px 12px; margin: 16px 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
.actions { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.actions .btn { width: 100%; }
.actions .note { margin: 4px 0 0; text-align: center; }

/* 頁尾：淡青點綴 */
.foot { background: var(--celadon); color: var(--celadon-ink); margin-top: 40px; font-size: 14px; border-top: 4px solid var(--gold); }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 24px; }
.foot a { color: var(--celadon-ink); }
.foot-t { font-family: "Noto Serif TC", serif; color: var(--celadon-ink); font-size: 16px; font-weight: 700; margin-bottom: 4px; }

@media (max-width: 560px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .lamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 32px; }
  .hero-img { flex-basis: 100%; max-width: 300px; }
}

/* ---- 報名頁 v2：一人一張卡 ---- */
[hidden] { display: none !important; }
.tip { font-size: 14px; color: var(--warn); background: #FFF6DC; border-radius: 8px; padding: 6px 12px; margin: 0 0 10px; }
.pcard { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.pcard-sum { display: none; align-items: center; gap: 8px; padding: 10px 12px; }
.pcard.collapsed .pcard-sum { display: flex; }
.pcard.collapsed .pcard-body { display: none; }
.pcard-body { padding: 14px; border-top: 4px solid var(--red); }
.sum-txt { flex: 1; min-width: 0; font-size: 15px; }
.sum-amt { font-weight: 700; color: var(--red); white-space: nowrap; }
.grid3 { display: grid; grid-template-columns: 2fr 1.4fr 1.2fr; gap: 0 12px; }
.more { margin: 4px 0 8px; }
.more summary { cursor: pointer; color: var(--red); font-size: 14px; padding: 4px 0; }
details.box > summary { font-weight: 700; color: var(--red-ink); }
.card-err { color: var(--err); font-size: 14px; margin: 4px 0; }
.pcard-foot { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.next { margin: 4px 0 16px; }
.next-body { border: 1px dashed var(--gold); border-radius: 12px; padding: 12px; background: #FFF8E6; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { border: 1.5px solid var(--red); background: #fff; color: var(--red); border-radius: 999px; padding: 6px 14px; min-height: 40px; font: inherit; font-size: 15px; cursor: pointer; }
.chip:hover { background: var(--red); color: #fff; }
.review-total { font-weight: 700; color: var(--red-ink); margin: 10px 0 16px; }
.consent { margin: 8px 0; }
.total-bar > div:first-child { margin-bottom: 8px; }
@media (max-width: 560px) {
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .otp-row { flex-wrap: wrap; }
}
.org { margin: 0 0 8px !important; font-size: 14px; color: var(--muted) !important; }
/* 代報名模式 */
input[type=password] { width: 100%; font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid #CDBB9A; border-radius: 8px; margin-top: 4px; }
.staffbar { display: flex; justify-content: space-between; align-items: center; background: var(--celadon); color: var(--celadon-ink); border-radius: 10px; padding: 6px 12px; margin-bottom: 12px; font-size: 14px; }
.staffbar .link-btn { color: var(--celadon-ink); }
.staff-search { background: #F1F7F5; border: 1px dashed #9CC3B8; border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.results { display: flex; flex-direction: column; gap: 4px; }
.result { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.result:hover { border-color: var(--red); }
.result span { color: var(--muted); }
.saveback { background: #F1F7F5; border: 1px solid #B9D6CD; border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; }
.saveback ul { margin: 4px 0 6px; padding-left: 1.3em; font-size: 15px; }
.dup { margin: 0; padding: 4px 12px 8px; font-size: 14px; color: var(--warn); background: var(--warn-bg); }
.dupwarn { background: var(--warn-bg); border: 1px solid #E9C873; border-radius: 10px; padding: 8px 12px; margin: 0 0 12px; color: var(--warn); }
.dupwarn ul { margin: 4px 0 0; padding-left: 1.3em; }
.same { font-style: normal; font-size: 12px; background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 1px 8px; }
.testbar { background: #2D6A6B; color: #fff; text-align: center; font-size: 14px; padding: 4px 12px; }
.alldk { margin: 0 0 10px !important; background: #FFF6DC; border-radius: 8px; padding: 6px 10px; }

/* ---- 首頁 v2：新春報名＋服務說明 ---- */
.hero-slim .wrap { padding-top: 14px; padding-bottom: 14px; }
.hero-slim h1 { font-size: 30px; margin: 2px 0 0; }
.hero-slim .lead { margin: 0; font-size: 15px; }
.home2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding-bottom: 8px; }
.home2 .h2 { margin-top: 18px; margin-bottom: 2px; }
.home-sub { margin: 0 0 8px; }
.reg-list { display: flex; flex-direction: column; gap: 8px; }
.reg-row { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--red);
  border-radius: 10px; padding: 8px 10px 8px 12px; text-decoration: none; color: var(--ink); min-height: 56px; }
.reg-row:hover { border-color: var(--red); color: var(--ink); }
.reg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.reg-t b { font-family: "Noto Serif TC", serif; font-size: 18px; color: var(--red-ink); }
.reg-t small { font-size: 13px; color: var(--muted); }
.reg-go { background: var(--red); color: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.reg-row.off { border-left-color: #C9B99E; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.info-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); }
.info-card:hover { border-color: var(--gold); color: var(--ink); }
.info-card img { width: 100%; height: 84px; object-fit: cover; }
.info-card span { display: flex; flex-direction: column; padding: 6px 10px 8px; line-height: 1.35; }
.info-card b { font-family: "Noto Serif TC", serif; color: var(--red-ink); font-size: 16px; }
.info-card small { font-size: 12.5px; color: var(--muted); }
.info-card i { font-style: normal; font-size: 13px; color: var(--red); margin-top: 2px; }
.what { color: var(--gold-light); font-size: 14px; white-space: nowrap; }
.what:hover { color: #fff; }
@media (max-width: 760px) {
  .home2 { grid-template-columns: minmax(0, 1fr); }
  .hero-slim h1 { font-size: 26px; }
}

/* ---- 服務說明頁（依農民曆夾頁改作） ---- */
.svc-head { background: radial-gradient(circle at 15% 30%, #B8261F, var(--red) 55%, var(--red-dark)); color: #FFF6E0; border-bottom: 4px solid var(--gold); }
.svc-head-in { display: flex; align-items: center; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
.bagua { width: 64px; height: 64px; flex: none; color: var(--gold-light); }
.svc-head h1 { font-family: "Noto Serif TC", serif; font-size: 28px; letter-spacing: 3px; margin: 0; color: var(--warm); line-height: 1.3; }
.svc { padding-top: 18px; padding-bottom: 8px; }
.svc-box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 14px; }
.svc-box p { margin: 6px 0; }
.svc-box-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 4px; }
.svc-box-h h2 { font-family: "Noto Serif TC", serif; font-size: 22px; color: var(--red); margin: 0; letter-spacing: 2px; }
.tag { display: inline-block; background: var(--red); color: #FFF6E0; border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 700; }
.tag.line { background: #FFF6DC; color: var(--red-ink); border: 1px solid var(--gold); font-weight: 400; }
.hl { color: var(--red); }
.svc-center { text-align: center; color: var(--muted); font-size: 15px; margin: 6px 0 12px; }
.svc-lead { font-family: "Noto Serif TC", serif; font-size: 24px; text-align: center; color: var(--red); margin: 4px 0 12px; font-weight: 700; letter-spacing: 2px; }
.zgrid { display: grid; gap: 10px; margin: 10px 0 4px; }
.zgrid.z4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zgrid.z3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zcard { margin: 0; background: #fff; border: 2px solid var(--gold-light); border-radius: 12px; padding: 6px 4px 8px; text-align: center; }
.zcard img { width: 100%; max-width: 150px; margin: 0 auto; aspect-ratio: 1; object-fit: contain; }
.zseal { display: flex; align-items: center; justify-content: center; width: 70%; aspect-ratio: 1; margin: 6px auto; border-radius: 50%; background: var(--red); color: var(--warm); font-size: 34px; font-family: "Noto Serif TC", serif; }
.zcard figcaption { display: flex; flex-direction: column; line-height: 1.35; }
.zcard b { font-size: 16px; }
.zcard em { color: var(--red); font-style: normal; font-family: "Noto Serif TC", serif; }
.zcard small { font-size: 12px; color: var(--muted); }
.lamp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 14px; }
.lamp-card { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.lamp-card img { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; flex: none; }
.lamp-card h3 { font-family: "Noto Serif TC", serif; color: var(--red); font-size: 20px; margin: 0 8px 2px 0; display: inline-block; letter-spacing: 2px; }
.lamp-card p { margin: 4px 0 0; font-size: 15px; }
.photos2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.photos2 figure, .photo { margin: 8px 0 0; }
.photos2 img, .photo img { width: 100%; border-radius: 10px; border: 2px solid var(--gold-light); }
figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 2px; }
.price-pill { background: var(--red); color: #fff; border-radius: 20px; text-align: center; padding: 10px 16px; margin: 6px auto 12px; max-width: 520px; display: flex; flex-direction: column; }
.price-pill b { font-family: "Noto Serif TC", serif; font-size: 26px; letter-spacing: 2px; }
.price-pill b small { font-size: 18px; margin-left: 2px; }
.price-pill span { color: var(--warm); font-size: 14px; }
ol.steps { margin: 6px 0; padding-left: 1.5em; }
ol.steps li { margin: 4px 0; }
ul.dates { list-style: none; padding: 0; margin: 4px 0 8px; }
ul.dates li { display: inline-block; background: #FFF6DC; border: 1px solid var(--gold); border-radius: 999px; padding: 2px 14px; color: var(--red-ink); font-weight: 700; margin: 2px 4px 2px 0; }
.rite-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.rite-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 10px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 8px 14px; }
.rite-list b { font-family: "Noto Serif TC", serif; color: var(--red); font-size: 17px; }
.rite-list span { color: var(--red-ink); font-weight: 700; font-size: 15px; }
dl.incl { margin: 6px 0; }
dl.incl dt { font-weight: 700; color: var(--red); margin-top: 8px; }
dl.incl dd { margin: 0 0 0 1em; }
.svc-cta { text-align: center; margin: 18px 0 10px; }
.btn-big { width: 100%; max-width: 420px; font-size: 19px; min-height: 54px; padding-top: 12px; }
.svc-other { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 15px; margin: 16px 0 0; color: var(--muted); }
@media (max-width: 560px) {
  .zgrid.z4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-head h1 { font-size: 23px; letter-spacing: 1px; }
  .bagua { width: 52px; height: 52px; }
}

/* 頁首：後天八卦標誌＋全銜一行 */
.logo { width: 44px; height: 44px; fill: initial; stroke: none; color: var(--gold-light); flex: none; }
.brand-t b { font-size: 22px; letter-spacing: 2px; white-space: nowrap; }
@media (max-width: 400px) { .brand-t b { font-size: 19px; letter-spacing: 1px; } .logo { width: 38px; height: 38px; } }

/* 匯款 */
.bankbox { background: #fff; border: 2px solid var(--gold-light); border-radius: 12px; padding: 10px 14px; margin: 8px 0 12px; }
.bankbox dl { display: grid; grid-template-columns: 3.5em 1fr; gap: 4px 10px; margin: 0; }
.bankbox dt { color: var(--muted); }
.bankbox dd { margin: 0; }
.bankbox .acct { font-size: 20px; letter-spacing: 1px; color: var(--red-ink); margin-right: 8px; }
.bankbox .copy { min-height: 32px; padding: 2px 12px; font-size: 14px; }
.remit-amt b { color: var(--red); }
.remit-form .btn { width: 100%; }
.pay-h { text-align: center; margin: 0; }
.gender-hint { color: var(--err); font-size: 14px; margin: 4px 0 0; }
/* 以戶報名：家人依戶分組 */
.famgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.famlbl { font-size: 13px; color: var(--muted); min-width: 5.5em; }
.chip-all { border-style: dashed; }
