:root {
  --bg: #fbf6f3;
  --paper: #ffffff;
  --blush: #f5e4e0;
  --rose: #d98f92;
  --rose-deep: #b8666d;
  --lav: #a48bc6;
  --lav-soft: #ece4f4;
  --teal: #6db8ab;
  --blue: #3b8fc4;
  --ink: #3e3346;
  --muted: #7d7183;
  --line: #ecdfdd;
  --gold: #c39a54;
  --line-green: #06c755;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(92, 64, 84, .08);
  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.4; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.eyebrow, .card .no, .step::before, .num-badge, .lo div, .boost b, .brand b { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }

/* 試做版提示 */
.draftbar { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 6px 16px; letter-spacing: .05em; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand b { display: block; font-family: var(--latin); font-size: 19px; letter-spacing: .22em; font-weight: 600; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.nav { display: flex; gap: 16px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--rose-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 24px; font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 16px rgba(6, 199, 85, .25); }
.btn-rose { background: var(--rose-deep); color: #fff; box-shadow: 0 6px 16px rgba(184, 102, 109, .28); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.menu-btn { display: none; }

/* 水彩背景 */
.wash { position: relative; overflow: hidden; }
.wash::before, .wash::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; }
.wash::before { width: 520px; height: 420px; left: -160px; bottom: -140px; background: #b9d7e6; }
.wash::after { width: 560px; height: 460px; right: -160px; top: -120px; background: #f2c3bd; }
.wash > * { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-family: var(--latin); letter-spacing: .3em; color: var(--rose-deep); font-size: 15px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); margin: 10px 0 18px; }
.hero h1 em { font-style: normal; color: var(--lav); }
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 30em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero-art .logo { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hero-art .logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .chip { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero-art .chip img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .c1 { right: -4%; top: 0; }
.hero-art .c2 { left: -4%; bottom: 2%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .eyebrow { display: block; margin-bottom: 6px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 34px); }
.sec-head p { color: var(--muted); margin-top: 10px; }
.alt { background: #fff; }

/* 服務卡片 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.alt .card { background: var(--bg); box-shadow: none; }
.card .no { font-family: var(--serif); font-size: 30px; color: var(--rose); line-height: 1; }
.card h3 { font-size: 22px; margin: 10px 0 12px; }
.card p { color: var(--muted); }
.card ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--muted); }

/* 線上算 CTA */
.calc-band { background: linear-gradient(120deg, #efe5f6, #fbe6e3 55%, #e3f0f4); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.calc-band h2 { font-size: clamp(24px, 3.4vw, 32px); }
.calc-band p { color: var(--muted); margin-top: 8px; }

/* 作品集 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { font-size: 14px; padding: 10px 12px; color: var(--ink); }
.gallery figcaption small { display: block; color: var(--muted); font-size: 12px; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); font-family: var(--serif); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.notes { margin-top: 26px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--rose); padding: 20px 24px; color: var(--muted); font-size: 15px; }
.notes ul { margin: 6px 0 0; padding-left: 1.2em; }

/* 關於 */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.about img { border-radius: 50%; box-shadow: var(--shadow); }
.about p + p { margin-top: 14px; }
.about .muted { color: var(--muted); }
blockquote { margin: 24px 0 0; padding: 18px 22px; background: var(--blush); border-radius: 14px; font-family: var(--serif); }
blockquote small { display: block; font-family: var(--sans); color: var(--muted); margin-top: 6px; }

/* 聯絡 */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact a.card { text-decoration: none; text-align: center; }
.contact .big { font-size: 20px; font-weight: 700; font-family: var(--serif); margin: 6px 0; }
footer { padding: 36px 0 90px; text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer p + p { margin-top: 6px; }

/* 手機底部固定按鈕 */
.dock { display: none; }

/* ---------- 生命靈數頁 ---------- */
.calc-hero { padding: 52px 0 36px; text-align: center; }
.calc-hero h1 { font-size: clamp(28px, 4.4vw, 42px); margin: 8px 0 12px; }
.calc-hero p { color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 30px; }
.form { max-width: 560px; margin: 0 auto; }
.form label { display: block; font-weight: 500; margin-bottom: 10px; }
.date-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.date-row select { width: 100%; font: 16px var(--sans); padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.form .btn { width: 100%; margin-top: 18px; padding: 15px; font-size: 17px; }
.form .hint { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.result { display: none; margin-top: 30px; }
.result.show { display: block; }
.big-num { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.num-badge { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--lav-soft) 45%, #d8c8ea); box-shadow: inset 0 -8px 20px rgba(120, 90, 160, .2), var(--shadow); font: 600 60px/1 var(--serif); color: var(--lav); }
.big-num h2 { font-size: 28px; }
.big-num .chain { color: var(--muted); font-size: 14px; }
.big-num p { margin-top: 10px; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.keys span { background: var(--blush); color: var(--rose-deep); border-radius: 999px; padding: 2px 12px; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.sub-h { font-size: 20px; margin-bottom: 14px; }
.lo { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; justify-content: start; }
.lo div { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font: 600 24px var(--serif); position: relative; }
.lo .has { background: var(--lav-soft); color: var(--lav); }
.lo .miss { background: #fff; border: 1.5px dashed #d9c9c9; color: #cdbdbd; }
.lo .cnt { position: absolute; bottom: 4px; right: 7px; font: 500 11px var(--sans); color: var(--muted); }
.lo-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.bracelet { display: flex; flex-direction: column; align-items: center; }
.bracelet svg { width: 100%; max-width: 300px; height: auto; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 14px; margin-top: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .12); }
.stones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stone { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--bg); }
.stone .head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bead { width: 38px; height: 38px; border-radius: 50%; flex: none; box-shadow: inset -5px -6px 10px rgba(0, 0, 0, .18), inset 5px 5px 10px rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .08); }
.stone h3 { font-size: 19px; }
.stone .meta { font-size: 12px; color: var(--muted); }
.stone ul { margin: 0; padding-left: 1.1em; font-size: 14px; color: var(--muted); }
.stone .role { font-size: 12px; color: var(--rose-deep); font-weight: 500; }
.boost { display: grid; gap: 10px; }
.boost div { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.boost b { font-family: var(--serif); font-size: 22px; color: var(--lav); width: 22px; text-align: center; }
.cta-box { margin-top: 26px; text-align: center; background: linear-gradient(120deg, #efe5f6, #fbe6e3); border-radius: 20px; padding: 26px; }
.cta-box p { color: var(--muted); margin-bottom: 14px; }
.disclaim { font-size: 13px; color: var(--muted); margin-top: 18px; text-align: center; }

/* ---------- 水晶小百科 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 16px; font: 15px var(--sans); color: var(--muted); cursor: pointer; }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cgrid .stone { background: #fff; }
.cgrid .tags { margin-top: 10px; }
.cgrid .tag { font-size: 12px; padding: 1px 10px; }

/* ---------- 流年、找老師、易經數字 ---------- */
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.years { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.year { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.year .yr { font-size: 13px; color: var(--muted); }
.yhead { display: flex; align-items: center; gap: 12px; margin: 6px 0 8px; }
.ynum { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--lav-soft); color: var(--lav); font: 700 24px var(--serif); }
.year h3 { font-size: 18px; }
.year p { color: var(--muted); font-size: 15px; }
.yboost { margin-top: 10px; font-size: 14px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.text-in { width: 100%; font: 22px/1.2 var(--serif); letter-spacing: .12em; text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); }
.form-err { color: var(--rose-deep); text-align: center; margin-top: 8px; font-size: 14px; }
.digits { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.digits span { width: 34px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--lav-soft); color: var(--ink); font: 700 22px var(--serif); }
.digits span.z { background: #eef0f2; color: #9aa0a6; }
.digits span.f { background: #fdeccd; color: #b07a1c; }
.score { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.score div { border-radius: 14px; padding: 10px 18px; font-size: 15px; }
.score b { font: 700 26px var(--serif); margin-right: 4px; }
.score .g { background: #e3f3ef; color: #2f7d6d; }
.score .b { background: #fbe7e6; color: var(--rose-deep); }
.pairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pair { border-radius: 14px; padding: 12px; text-align: center; border: 1px solid var(--line); background: #fff; position: relative; }
.pair .pn { display: block; font: 700 24px var(--serif); letter-spacing: .08em; }
.pair .pn i { font-style: normal; font-size: 15px; color: var(--muted); margin: 0 2px; }
.pair .pf { display: block; font-weight: 700; margin-top: 2px; }
.pair .pl { display: block; font-size: 12px; color: var(--muted); }
.pair.good { background: #f1f9f6; border-color: #cfe9e1; } .pair.good .pf { color: #2f7d6d; }
.pair.bad { background: #fdf3f2; border-color: #f2d6d4; } .pair.bad .pf { color: var(--rose-deep); }
.pair em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 11px; background: #eef0f2; color: #6b7178; border-radius: 6px; padding: 0 5px; }
.pair em.s { background: #fdeccd; color: #b07a1c; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { border-radius: 14px; padding: 16px 18px; border-left: 4px solid; background: var(--bg); }
.field.good { border-color: var(--teal); } .field.bad { border-color: var(--rose); }
.field h3 { font-size: 18px; } .field h3 small { font: 400 13px var(--sans); color: var(--muted); margin-left: 8px; }
.field p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.ftable { display: grid; gap: 8px; }
.frow { display: grid; grid-template-columns: 56px 92px 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.frow b { font-family: var(--serif); } .frow.good b { color: #2f7d6d; } .frow.bad b { color: var(--rose-deep); }
.frow span { color: var(--muted); font-size: 13px; }
.frow code { font: 500 15px var(--serif); letter-spacing: .04em; }
@media (max-width: 720px) {
  .years, .fields { grid-template-columns: 1fr; }
  .pairs { grid-template-columns: repeat(3, 1fr); }
  .digits { gap: 4px; flex-wrap: nowrap; }
  .digits span { width: 26px; height: 38px; font-size: 19px; border-radius: 8px; }
  .frow { grid-template-columns: 48px 1fr; } .frow code { grid-column: 1 / -1; }
  .cta-btns .btn { width: 100%; }
}

/* 分享、複製 */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.share-row .btn { padding: 10px 18px; font-size: 15px; flex: 1 1 170px; max-width: 290px; }
#toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; width: max-content; max-width: calc(100vw - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stones, .cgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .menu-btn { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 14px var(--sans); color: var(--ink); }
  .top .btn-line { display: none; }
  .hero { padding: 36px 0 48px; }
  section { padding: 52px 0; }
  .cards, .contact, .grid2, .stones, .cgrid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .calc-band { grid-template-columns: 1fr; padding: 30px 22px; text-align: center; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about img { width: 200px; margin: 0 auto; }
  .panel { padding: 22px 18px; }
  .big-num { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .keys { justify-content: center; }
  .lo { justify-content: center; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line); }
  .dock .btn { padding: 12px 10px; }
}

/* ---------- 新頁面：工具、合盤、犯太歲、問答、商品、文章、案例 ---------- */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.foot-links a { color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tool { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .15s; }
.tool:hover { transform: translateY(-2px); }
.tool .ti { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); font: 700 24px var(--serif); margin-bottom: 12px; }
.tool h3 { font-size: 22px; margin-bottom: 6px; }
.tool p { color: var(--muted); }
.amore { display: inline-block; margin-top: 12px; color: var(--rose-deep); font-weight: 500; }
.years { grid-template-columns: repeat(3, 1fr); }
.year.month { background: #fff; border-style: dashed; }
.sel-full { width: 100%; font: 16px var(--sans); padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.people { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.who { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: 18px; padding: 16px; }
.who h3 { font-size: 18px; }
.who .role, .gift .role { font-size: 12px; color: var(--rose-deep); font-weight: 500; }
.who .keys { justify-content: flex-start; }
.num-badge.sm { width: 64px; height: 64px; font-size: 30px; flex: none; }
.plus { font: 700 26px var(--serif); color: var(--rose); text-align: center; }
.gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gift { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.gift b { display: block; font-family: var(--serif); font-size: 17px; }
.gift small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.seg { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.seg button, .zgrid button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font: 15px var(--sans); color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"], .zgrid button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ysum { text-align: center; color: var(--muted); margin-top: 12px; font-size: 15px; }
.zgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 560px; margin: 12px auto; }
.zgrid button { border-radius: 16px; padding: 14px 0; font: 700 22px var(--serif); }
.fields.one { grid-template-columns: 1fr; margin-top: 16px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 500; padding: 12px 24px 12px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 20px; color: var(--rose); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 14px; }
.faq h2.sub-h { margin: 30px 0 14px; }
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.care .card h3 { font-size: 19px; margin-bottom: 8px; }
.shop-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.sc-head h2 { font-size: 22px; }
.price { color: var(--rose-deep); font-weight: 500; }
.shop-cat p { color: var(--muted); }
.shop-list { display: grid; gap: 16px; margin-top: 30px; }
.shop-list .shop-cat { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; }
.shop-list img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.ph-ph { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #efe5f6, #fbe6e3); color: var(--lav); font: 600 22px var(--serif); }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acard { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.acard:hover { border-color: var(--rose); }
.acat { font-size: 12px; color: var(--rose-deep); background: var(--blush); border-radius: 999px; padding: 2px 10px; }
.acard h3 { font-size: 19px; margin: 10px 0 6px; }
.acard p { color: var(--muted); font-size: 14.5px; }
.art { max-width: 760px; padding: 40px 0 20px; }
.art h1 { font-size: clamp(26px, 4vw, 36px); margin: 8px 0; }
.crumb, .adate { color: var(--muted); font-size: 14px; }
.crumb a { color: var(--rose-deep); }
.abody { margin-top: 24px; font-size: 17px; }
.abody h2 { font-size: 22px; margin: 28px 0 10px; }
.abody p { margin: 12px 0; }
.abody ol, .abody ul { padding-left: 1.4em; }
.abody li { margin: 6px 0; }
.abody .tip { background: var(--blush); border-radius: 14px; padding: 14px 18px; margin: 18px 0; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case .cb { padding: 16px 18px 20px; }
.case h3 { font-size: 18px; margin-bottom: 6px; }
.case .meta { font-size: 13px; color: var(--muted); }
.case .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.case .chips span { font-size: 13px; background: var(--lav-soft); color: #6d55a0; border-radius: 999px; padding: 1px 10px; }
.case p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reviews blockquote { margin: 0; }
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); font-size: 15px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .menu-btn { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 14px var(--sans); color: var(--ink); }
  .care, .agrid, .cases { grid-template-columns: repeat(2, 1fr); }
  .years { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .tools, .gifts, .care, .agrid, .cases, .reviews, .years { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .zgrid { grid-template-columns: repeat(4, 1fr); }
  .shop-list .shop-cat { grid-template-columns: 96px 1fr; gap: 14px; padding: 18px; }
  .abody { font-size: 16px; }
}

/* ---------- 合盤對鍊・送禮（首頁主打） ---------- */
.pair-brace { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair-brace:has(.pb:only-child) { grid-template-columns: minmax(0, 360px); justify-content: center; }
.pb { background: var(--bg); border-radius: 20px; padding: 18px; text-align: center; }
.pb .role { font-size: 14px; color: var(--rose-deep); font-weight: 700; }
.pb svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.gift-cta { background: linear-gradient(120deg, #fbe2df, #efe5f6); }
.gift-band { background: linear-gradient(120deg, #fbe7e3 0%, #f3eaf7 60%, #e4f0f4 100%); }
.gb { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.gb-art { position: relative; aspect-ratio: 1.15; max-width: 440px; width: 100%; justify-self: center; }
.gb-art img { position: absolute; width: 62%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow); }
.gb-art .i1 { left: 0; top: 0; transform: rotate(-5deg); }
.gb-art .i2 { right: 0; bottom: 0; transform: rotate(5deg); }
.gb-art .heart { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--rose-deep); font-size: 28px; box-shadow: var(--shadow); z-index: 2; }
.gb h2 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 14px; }
.gb p.lead { color: var(--muted); font-size: 17px; }
.gb .uses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.gb .uses div { background: rgba(255, 255, 255, .75); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.gb .uses b { display: block; font-family: var(--serif); color: var(--ink); }
.gb .uses small { color: var(--muted); }
.gb blockquote { background: rgba(255, 255, 255, .6); margin: 0 0 22px; }
@media (max-width: 900px) {
  .gb { grid-template-columns: 1fr; gap: 28px; }
  .gb-art { max-width: 320px; }
}
@media (max-width: 720px) {
  .pair-brace { grid-template-columns: 1fr; }
  .gb .uses { grid-template-columns: 1fr 1fr; }
  .gb .cta-btns .btn { width: 100%; }
}

/* ---------- 線上配置只是第一步 ---------- */
.notice-sec { padding: 56px 0; }
.notice { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); text-align: center; }
.notice h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 8px 0 12px; }
.notice .lead { color: var(--muted); max-width: 36em; margin: 0 auto; }
.factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; text-align: left; }
.factors div { background: var(--bg); border-radius: 16px; padding: 16px; position: relative; }
.factors span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); font: 700 14px var(--serif); margin-bottom: 6px; }
.factors b { display: block; font-family: var(--serif); font-size: 17px; }
.factors small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.65; margin-top: 4px; }
.notice .em { font-family: var(--serif); font-size: 18px; color: var(--rose-deep); margin-bottom: 18px; }
.notice.short { text-align: left; margin-top: 26px; padding: 20px 22px; border: 1.5px solid #e9c9c6; background: #fff8f6; box-shadow: none; border-radius: 18px; }
.notice.short h3 { font-size: 18px; color: var(--rose-deep); margin-bottom: 6px; }
.notice.short h3::before { content: '!'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--rose-deep); color: #fff; font: 700 14px var(--sans); margin-right: 8px; vertical-align: 2px; }
.notice.short p { color: var(--ink); font-size: 15px; }
.notice.short b { font-weight: 500; color: var(--rose-deep); }
.notice.short .more { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--rose-deep); }
@media (max-width: 900px) { .factors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .notice { padding: 28px 18px; } .factors { grid-template-columns: 1fr 1fr; gap: 8px; } .factors div { padding: 12px; } }
.hl { font-weight: 500; color: var(--rose-deep); }

/* ---------- 課程 ---------- */
.card.wide { grid-column: 1 / -1; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.course .ti { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lav-soft); color: var(--lav); font: 700 20px var(--serif); margin-bottom: 12px; }
.course h3 { font-size: 21px; margin-bottom: 8px; }
.course p { color: var(--muted); }
.course ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink); font-size: 15px; }
.formats { margin-top: 36px; }
.fmt-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fmt-row div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-align: center; }
.fmt-row b { display: block; font-family: var(--serif); font-size: 18px; }
.fmt-row small { color: var(--muted); }
@media (max-width: 900px) { .courses { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .fmt-row { grid-template-columns: 1fr; } }

/* ---------- 聯絡卡片、社群圖示 ---------- */
.contact4 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow); }
.cc .ic { width: 48px; height: 48px; display: block; }
.cc small { display: block; color: var(--muted); font-size: 13px; }
.cc b { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.cc .go { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink); white-space: nowrap; }
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 14px; }
.social a { display: block; }
.social .ic { width: 36px; height: 36px; display: block; }
@media (max-width: 720px) { .contact4 { grid-template-columns: 1fr; } .cc b { font-size: 16px; } }

/* 線上工具卡片：手機改成橫式清單，四個一次看得到 */
@media (max-width: 720px) {
  .tools { gap: 10px; }
  .tool { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .tool .ti { width: 46px; height: 46px; font-size: 20px; margin: 0; grid-row: span 3; }
  .tool h3 { font-size: 18px; margin-bottom: 2px; }
  .tool p { font-size: 14px; line-height: 1.6; }
  .tool .amore { margin-top: 6px; font-size: 14px; }
}

/* ================= 對比加強（使用者 11/16：顏色太淡、找很久） ================= */
:root {
  --muted: #5d5263;
  --line: #dccbc8;
  --lav: #7a5bb5;
  --lav-soft: #e2d5f3;
  --rose-deep: #a24b56;
  --ink: #33283b;
  --shadow: 0 10px 28px rgba(70, 40, 60, .12);
}
body { color: var(--ink); }
.sec-head h2, .calc-hero h1 { color: #2b2033; }
.eyebrow { color: var(--rose-deep); }
.card, .course, .shop-cat, .acard, .case, .fmt-row div, .faq details, .panel, .stone, .cc, .tool { border-color: var(--line); }
.card { box-shadow: 0 6px 18px rgba(70, 40, 60, .08); }
.card .no { color: var(--rose-deep); }
.tag { color: var(--ink); border-color: var(--line); }
.btn-ghost { border: 1.5px solid #c9b3b0; font-weight: 500; }
.amore { font-weight: 700; }

/* 線上工具區：獨立底色，跟服務項目分開 */
.tools-sec { background: linear-gradient(180deg, #efe4f7 0%, #f8eef0 100%); border-top: 1px solid #e2d2ea; border-bottom: 1px solid #ecd8d6; }
.tools-sec .sec-head h2 { font-size: clamp(28px, 4vw, 36px); }

/* 四個工具各自配色：實心圖示＋有底色的按鈕 */
.tool { border-width: 1.5px; border-left-width: 6px; }
.tool .ti { color: #fff; }
.tool .amore { display: inline-block; color: #fff; border-radius: 999px; padding: 5px 14px; margin-top: 10px; }
.tool.t-num { background: #f6f0fd; border-color: #cdb9ee; border-left-color: #7a5bb5; }
.tool.t-num .ti, .tool.t-num .amore { background: #7a5bb5; }
.tool.t-phone { background: #ecf7f4; border-color: #b7ddd4; border-left-color: #2f8f7e; }
.tool.t-phone .ti, .tool.t-phone .amore { background: #2f8f7e; }
.tool.t-match { background: #fdeff0; border-color: #efc1c6; border-left-color: #c24d62; }
.tool.t-match .ti, .tool.t-match .amore { background: #c24d62; }
.tool.t-taisui { background: #fcf4e2; border-color: #e8d29f; border-left-color: #b07f1f; }
.tool.t-taisui .ti, .tool.t-taisui .amore { background: #b07f1f; }
.tool h3 { color: #2b2033; }
.tool p { color: #4f4555; }

/* 主視覺下方的工具快速入口 */
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.quick span { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 2px; }
.quick a { text-decoration: none; color: #fff; font-size: 14.5px; font-weight: 500; border-radius: 999px; padding: 7px 14px; box-shadow: 0 4px 10px rgba(60, 30, 60, .15); }
.quick .q-num { background: #7a5bb5; }
.quick .q-phone { background: #2f8f7e; }
.quick .q-match { background: #c24d62; }
.quick .q-taisui { background: #b07f1f; }

/* 結果頁、表單：重點區塊再明顯一點 */
.notice.short { border-color: #d99a9f; background: #fff3f2; }
.cta-box { border: 1.5px solid #e2c9d6; }
.year, .gift, .who, .pb, .boost div, .field { border: 1px solid var(--line); }
.lo .miss { border-color: #c9adad; color: #b79c9c; }
.filters button, .seg button, .zgrid button { border-color: #cdb8b5; color: var(--ink); }
.case .chips span, .keys span { font-weight: 500; }
.foot-links a, footer { color: #5d5263; }

/* 缺數補色 */
.boost-note { color: var(--muted); font-size: 14.5px; margin: -4px 0 12px; }
.boost .bchips { display: inline-flex; gap: 3px; flex: none; }
.boost .bchips i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(60,40,60,.25); display: inline-block; }

/* ================= v2 版面：好讀、顏色收斂（11/19） =================
   使用者 11/19 選 A 紫金典雅。build.mjs 的 <html> 帶 data-theme="a"，下面規則都掛在 html[data-theme] 上 */
html[data-theme="a"] { /* 紫金典雅 */
  --bg: #faf7f2; --paper: #ffffff; --soft: #f3edf6; --soft2: #f7f1e8;
  --ink: #2a2131; --text: #3a3040; --muted: #564b5c; --line: #e3d9d0;
  --rose-deep: #5b3a74; --rose: #a5814a; --eyebrow: #8c6a2f;
  --lav: #5b3a74; --lav-soft: #ece3f3; --blush: #f6eee2;
  --hero1: #f7f0f7; --hero2: #faf5ec; --btn-shadow: rgba(91, 58, 116, .28);
}
html[data-theme] body { background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.85; }
html[data-theme] h1, html[data-theme] h2, html[data-theme] h3 { color: var(--ink); }
html[data-theme] .sec-head h2, html[data-theme] .calc-hero h1 { color: var(--ink); }
html[data-theme] .eyebrow { color: var(--eyebrow); font-size: 14px; letter-spacing: .28em; }
html[data-theme] .sec-head p, html[data-theme] .card p, html[data-theme] .card ul,
html[data-theme] .tool p, html[data-theme] .course p, html[data-theme] .acard p, html[data-theme] .case p,
html[data-theme] .shop-cat p, html[data-theme] .notice .lead, html[data-theme] .calc-hero p,
html[data-theme] .hero p.lead, html[data-theme] .gb p.lead, html[data-theme] .faq details p { color: var(--muted); }
html[data-theme] .hl, html[data-theme] .card .no { color: var(--rose-deep); }
html[data-theme] .card .no { font-family: var(--latin); font-size: 34px; font-weight: 600; }

/* 背景：拿掉霧狀色塊，改單純漸層；區塊底色只用兩種淡色 */
html[data-theme] .wash::before, html[data-theme] .wash::after { display: none; }
html[data-theme] .hero.wash, html[data-theme] .calc-hero.wash { background: linear-gradient(160deg, var(--hero1) 0%, var(--hero2) 100%); }
html[data-theme] .gift-band { background: var(--soft2); }
html[data-theme] .tools-sec { background: var(--soft); border-color: var(--line); }
html[data-theme] .alt { background: var(--paper); }
html[data-theme] .calc-band, html[data-theme] .cta-box, html[data-theme] .gift-cta { background: var(--soft); border: 1px solid var(--line); }
html[data-theme] .notice.short { background: var(--blush); border-color: var(--line); }
html[data-theme] .notice.short h3, html[data-theme] .notice.short b, html[data-theme] .notice.short .more { color: var(--rose-deep); }
html[data-theme] .notice.short h3::before { background: var(--rose-deep); }
html[data-theme] .ph-ph { background: var(--soft); }
html[data-theme] .top { background: color-mix(in srgb, var(--bg) 94%, transparent); border-color: var(--line); }
html[data-theme] .nav a { color: var(--text); font-size: 15px; }
html[data-theme] .nav a:hover, html[data-theme] .nav a[aria-current] { color: var(--rose-deep); font-weight: 700; }

/* 按鈕：主色實心、次要外框 */
html[data-theme] .btn-rose { background: var(--rose-deep); box-shadow: 0 6px 16px var(--btn-shadow); }
html[data-theme] .btn-ghost { background: var(--paper); color: var(--rose-deep); border: 1.5px solid var(--rose-deep); }
html[data-theme] .cta .btn-rose + .btn-rose { background: var(--paper); color: var(--rose-deep); border: 1.5px solid var(--rose-deep); box-shadow: none; }

/* 卡片：白底、細框、陰影淡 */
html[data-theme] .card, html[data-theme] .course, html[data-theme] .acard, html[data-theme] .case,
html[data-theme] .shop-cat, html[data-theme] .panel, html[data-theme] .notice, html[data-theme] .cc,
html[data-theme] .faq details, html[data-theme] .step { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(40, 30, 50, .06); }
html[data-theme] .alt .card { background: var(--bg); }
html[data-theme] .stone, html[data-theme] .year, html[data-theme] .who, html[data-theme] .gift, html[data-theme] .pb,
html[data-theme] .boost div, html[data-theme] .field, html[data-theme] .factors div, html[data-theme] .frow { background: var(--bg); border: 1px solid var(--line); }
html[data-theme] .gb .uses div, html[data-theme] .gb blockquote { background: var(--paper); border: 1px solid var(--line); }
html[data-theme] blockquote { background: var(--blush); color: var(--ink); }

/* 小字放大：最小 14px */
html[data-theme] .tag { font-size: 14px; color: var(--text); background: var(--paper); border-color: var(--line); }
html[data-theme] .brand small, html[data-theme] .gallery figcaption small, html[data-theme] .stone .meta,
html[data-theme] .case .meta, html[data-theme] .year .yr, html[data-theme] .pair .pl, html[data-theme] .cc small,
html[data-theme] .gift small, html[data-theme] .factors small, html[data-theme] .gb .uses small,
html[data-theme] .stone .role, html[data-theme] .who .role, html[data-theme] .gift .role,
html[data-theme] .acat, html[data-theme] .disclaim, html[data-theme] .form .hint, html[data-theme] footer { font-size: 14px; }
html[data-theme] .stone ul, html[data-theme] .step p, html[data-theme] .lo-note, html[data-theme] .year p,
html[data-theme] .field p, html[data-theme] .acard p, html[data-theme] .case p, html[data-theme] .boost div { font-size: 15.5px; }
html[data-theme] .gallery figcaption { font-size: 15px; color: var(--ink); }
html[data-theme] .gallery figure { border-color: var(--line); }

/* 主視覺的標籤：改成一行文字，不要一排框框 */
html[data-theme] .hero .tags { gap: 4px 0; }
html[data-theme] .hero .tag { background: none; border: 0; padding: 0; font-size: 15px; color: var(--muted); }
html[data-theme] .hero .tag:not(:last-child)::after { content: '・'; color: var(--rose); padding: 0 4px; }

/* 數字徽章、九宮格跟著主題 */
html[data-theme] .num-badge { background: radial-gradient(circle at 35% 30%, #fff, var(--lav-soft) 50%, color-mix(in srgb, var(--lav) 30%, white)); color: var(--lav); }
html[data-theme] .lo .has, html[data-theme] .step::before, html[data-theme] .factors span, html[data-theme] .ynum,
html[data-theme] .course .ti { background: var(--lav-soft); color: var(--lav); }
html[data-theme] .keys span, html[data-theme] .acat { background: var(--blush); color: var(--rose-deep); }
html[data-theme] .filters button[aria-pressed='true'], html[data-theme] .seg button[aria-pressed="true"],
html[data-theme] .zgrid button[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); }

@media (max-width: 720px) {
  html[data-theme] body { font-size: 16.5px; }
  html[data-theme] .hero { padding: 24px 0 40px; }
  html[data-theme] .hero-art { max-width: 230px; }
  html[data-theme] .hero h1 { font-size: 32px; margin: 6px 0 14px; }
  html[data-theme] .hero .cta .btn { flex: 1 1 100%; }
  html[data-theme] .card { padding: 22px 20px; }
  html[data-theme] .quick span { flex-basis: 100%; }
  html[data-theme] .quick { gap: 8px 6px; }
  html[data-theme] .quick a { font-size: 14px; padding: 7px 11px; }
}

/* ================= v3 版面：精品感（11/21，使用者要「看起來更專業」） =================
   做法：少框、細線、多留白；主視覺改拱形商品照；工具入口改成一排四格；首頁加信任列和客人回饋。
   四個工具的紫、綠、紅、金照舊。 */
html[data-theme] { --gold: #a5814a; }

/* 標題：字距拉開，區塊標題下面一條金色短線 */
html[data-theme] h1, html[data-theme] h2 { letter-spacing: .05em; }
html[data-theme] .sec-head { margin-bottom: 38px; }
html[data-theme] .sec-head h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin: 16px auto 0; }
html[data-theme] .sec-head p { margin-top: 14px; }
html[data-theme] .btn { letter-spacing: .06em; }
html[data-theme] .btn-rose { box-shadow: 0 4px 12px var(--btn-shadow); }
html[data-theme] .btn-line { box-shadow: 0 4px 12px rgba(6, 199, 85, .22); }

/* 卡片：圓角小一點、不要陰影 */
html[data-theme] .card, html[data-theme] .course, html[data-theme] .acard, html[data-theme] .case,
html[data-theme] .shop-cat, html[data-theme] .panel, html[data-theme] .cc, html[data-theme] .faq details,
html[data-theme] .tool { border-radius: 14px; box-shadow: none; }
html[data-theme] blockquote { background: none; border-left: 2px solid var(--gold); border-radius: 0; padding: 4px 0 4px 18px; }
html[data-theme] .notes { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; background: var(--paper); }

/* 主視覺：拱形商品照＋金色細框＋Logo 小圓章 */
html[data-theme] .hero.wash { background: linear-gradient(180deg, var(--hero1) 0%, var(--bg) 100%); }
html[data-theme] .hero { padding: 76px 0 104px; }
html[data-theme] .hero h1 { line-height: 1.38; margin: 14px 0 20px; }
html[data-theme] .hero h1 em { color: var(--rose-deep); }
html[data-theme] .hero .cta { margin-top: 30px; }
html[data-theme] .hero-art.v3 { aspect-ratio: 4 / 5; max-width: 360px; }
.hero-art.v3::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--gold); border-radius: 999px 999px 10px 10px; }
.hero-art.v3 .arch { position: absolute; inset: 0; border-radius: 999px 999px 10px 10px; overflow: hidden; background: #fff; box-shadow: 0 22px 46px rgba(60, 35, 80, .18); }
.hero-art.v3 .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art.v3 .seal { position: absolute; right: -22px; bottom: 30px; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(60, 35, 80, .2); }
.hero-art.v3 .seal img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 901px) {
  html[data-theme] .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  html[data-theme] section { padding: 88px 0; }
}

/* 線上工具入口：一排四格，壓在主視覺下緣 */
.qbar { position: relative; z-index: 2; margin-top: -46px; }
.qbar .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 24px; box-shadow: 0 12px 30px rgba(60, 35, 80, .08); }
.qb-label { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .12em; color: var(--ink); padding-right: 22px; border-right: 1px solid var(--line); }
.qb-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.qb-row a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 6px; text-decoration: none; color: var(--ink); }
.qb-row a + a { border-left: 1px solid var(--line); }
.qb-row i { font: 700 18px var(--serif); font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; flex: none; }
.qb-row b { font-size: 16px; font-weight: 700; white-space: nowrap; }
.qb-row .q-num i { background: #7a5bb5; }
.qb-row .q-phone i { background: #2f8f7e; }
.qb-row .q-match i { background: #c24d62; }
.qb-row .q-taisui i { background: #b07f1f; }

/* 信任列 */
.trust { padding: 44px 0 52px; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust .wrap > div { text-align: center; padding: 4px 10px; }
.trust .wrap > div + div { border-left: 1px solid var(--line); }
.trust svg { display: block; width: 34px; height: 34px; margin: 0 auto 10px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust b { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .1em; color: var(--ink); }
.trust small { display: block; font-size: 14px; color: var(--muted); }

/* 合盤對鍊：照片擺正、不要愛心 */
html[data-theme] .gb-art { aspect-ratio: 1.08; }
html[data-theme] .gb-art img { transform: none; border: 0; border-radius: 10px; box-shadow: 0 16px 36px rgba(60, 35, 80, .16); }
html[data-theme] .gb-art .i1 { width: 64%; }
html[data-theme] .gb-art .i2 { width: 50%; border: 6px solid var(--soft2); box-shadow: none; }
html[data-theme] .gb-art .heart { display: none; }
html[data-theme] .gb .uses div { border-radius: 10px; }
html[data-theme] .gb blockquote { background: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; padding: 4px 0 4px 18px; font-size: 19px; }

/* 服務項目：不用框，改成細線分隔的清單 */
html[data-theme] #services .cards { gap: 0 56px; border-bottom: 1px solid var(--line); }
html[data-theme] #services .card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 30px 0 28px; }
html[data-theme] #services .card .no { display: inline-block; font-size: 24px; line-height: 1; color: var(--gold); letter-spacing: .08em; margin-right: 12px; }
html[data-theme] #services .card h3 { display: inline-block; font-size: 23px; margin: 0 0 12px; }
html[data-theme] #services .card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
html[data-theme] #services .card li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 15px; color: var(--text); }

/* 線上配置只是第一步：八個條件改成細線清單 */
html[data-theme] .notice { border-radius: 16px; box-shadow: none; padding: 52px 44px; }
html[data-theme] .factors { gap: 0 32px; margin: 30px 0; }
html[data-theme] .factors div { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0 16px 46px; }
html[data-theme] .factors span { position: absolute; left: 0; top: 17px; width: 32px; height: 32px; margin: 0; background: none; border: 1px solid var(--gold); color: var(--eyebrow); font: 600 17px var(--latin); }

/* 作品：照片不加框，名稱置中 */
html[data-theme] .gallery { gap: 22px 14px; }
html[data-theme] .gallery figure { background: none; border: 0; border-radius: 0; overflow: visible; }
html[data-theme] .gallery img { border-radius: 10px; }
html[data-theme] .gallery figcaption { padding: 10px 2px 0; text-align: center; font-family: var(--serif); letter-spacing: .04em; }

/* 客人回饋 */
.rv-sec { background: var(--soft2); }
.rv { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; }
.rv figure { display: flex; flex-direction: column; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px 24px; }
.rv figure::before { content: "\201C"; display: block; height: 30px; font: 700 64px/1 var(--latin); color: var(--gold); }
html[data-theme] .rv blockquote { flex: 1; margin: 0; padding: 0; border: 0; font-family: var(--serif); font-size: 19px; line-height: 1.75; color: var(--ink); }
.rv figcaption { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.rv figcaption::before { content: "— "; color: var(--gold); }

/* 預約流程：改成時間軸 */
html[data-theme] .steps { gap: 0; }
html[data-theme] .step { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 34px 18px 0 0; }
html[data-theme] .step::before { position: absolute; left: 0; top: -18px; width: 36px; height: 36px; margin: 0; background: var(--rose-deep); color: #fff; font-family: var(--latin); font-size: 19px; }
html[data-theme] .step h3 { font-size: 18px; }

@media (max-width: 900px) {
  .rv { grid-template-columns: 1fr; }
  html[data-theme] .steps { grid-template-columns: 1fr; }
  html[data-theme] .step { border-top: 0; padding: 2px 0 26px 56px; }
  html[data-theme] .step::before { top: 0; }
  html[data-theme] .step:not(:last-child)::after { content: ""; position: absolute; left: 17.5px; top: 44px; bottom: 6px; width: 1px; background: var(--line); }
  html[data-theme] .step:last-child { padding-bottom: 0; }
}
@media (max-width: 720px) {
  html[data-theme] .hero { padding: 34px 0 60px; }
  html[data-theme] .hero-art.v3 { max-width: 232px; margin-bottom: 8px; }
  .hero-art.v3 .seal { width: 76px; height: 76px; right: -18px; bottom: 22px; border-width: 3px; }
  .qbar { margin-top: -30px; }
  .qbar .wrap { grid-template-columns: 1fr; gap: 4px; padding: 12px 4px 10px; }
  .qb-label { border: 0; padding: 0; text-align: center; font-size: 15px; }
  .qb-row a { flex-direction: column; gap: 6px; padding: 6px 2px; }
  .qb-row i { width: 46px; height: 46px; font-size: 20px; }
  .qb-row b { font-size: 14.5px; }
  .trust { padding: 34px 0 40px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .trust .wrap > div:nth-child(3) { border-left: 0; }
  .trust b { font-size: 17px; }
  html[data-theme] #services .card { padding: 24px 0 22px; }
  html[data-theme] #services .card h3 { font-size: 21px; }
  html[data-theme] .notice { padding: 34px 20px; }
  html[data-theme] .factors { grid-template-columns: 1fr; }
  html[data-theme] .factors div { padding: 14px 0 14px 46px; }
  html[data-theme] .factors span { top: 15px; }
  html[data-theme] .factors small { font-size: 15px; }
  .rv figure { padding: 26px 22px 22px; }
}

/* 關於：Logo 維持正圓（原本手機上被拉成橢圓），引言靠左 */
html[data-theme] .about img { height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(60, 35, 80, .1); }
html[data-theme] .about blockquote { text-align: left; }
@media (max-width: 720px) { html[data-theme] .about img { width: 168px; } }
html[data-theme] .factors span, .qb-row i { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* 商品清單：照片大一點（11/21 補了噴霧、五行狐仙、擺件的實拍照） */
html[data-theme] .shop-list .shop-cat { grid-template-columns: 168px 1fr; gap: 24px; }
html[data-theme] .shop-list img { border-radius: 10px; }
@media (max-width: 720px) { html[data-theme] .shop-list .shop-cat { grid-template-columns: 116px 1fr; gap: 14px; align-items: start; } }
