/* 嘉誼診所 首頁 v2（2026-10-14）
   色彩依白水《嘉誼診所識別手冊》1-6；文字對比依 WCAG 2.1 AA。
   舒行綠只作色塊，不放小字；小字綠色一律用深綠。 */
:root {
  --green: #749986;        /* 舒行綠：色塊 */
  --green-deep: #466155;   /* 深綠：標題、按鈕、深色底（白字 6.77） */
  --green-ink: #3B5348;
  --stable: #577A6E;       /* 穩行綠 */
  --bone: #CECAC1;         /* 柔骨白：線條、可放字的色塊 */
  --paper: #EAE5DA;        /* 頁面底 */
  --paper-2: #E3DDD1;
  --kids: #E8EEEA;         /* 兒童區淺綠底 */
  --ink: #505150;          /* 立衡灰：內文 */
  --ink-2: #5C5D5B;        /* 註解 */
  --muted: #5C5D5B;        /* 眉標（對頁底 ≥4.5） */
  --warm: #B7664F;         /* 復悅橘：只作色塊與圓點 */
  --warm-ink: #96503C;     /* 復悅橘深階：小字用（對淺綠底 ≥4.5） */
  --white: #FFFFFF;
  --line: #06C755;
  --r: 4px;
  --shadow: 0 1px 2px rgba(52,69,60,.06), 0 8px 24px rgba(52,69,60,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Noto Sans TC", system-ui, sans-serif; font-size: 17px; line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-deep); }
h1, h2, h3, h4 { margin: 0; color: var(--green-ink); font-weight: 500; line-height: 1.45; }
p { margin: 0 0 12px; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
.br-m { display: none; }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-light { background: var(--paper); color: var(--green-ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--green-deep); color: var(--green-deep); }
.btn-outline { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn-line { background: var(--line); color: #fff; font-weight: 700; }

/* 標示角標：比照 LINE 圖卡 */
.tag { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--green-ink); font-size: 13px; letter-spacing: .12em; line-height: 1.6; }
.tag-dark { background: rgba(35,40,38,.82); color: #fff; }

/* 頁首 */
.hd { position: sticky; top: 0; z-index: 50; background: var(--green-deep); }
.hd-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.hd-logo img { width: 150px; height: auto; }
.hd-nav { display: flex; gap: 28px; margin-left: auto; }
.hd-nav a { display: grid; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.3; text-align: center; }
.hd-nav small { font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.8); text-transform: uppercase; }
.hd-cta { min-height: 40px; font-size: 15px; }

/* ① 首屏 */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; background: #2d3a34; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36,48,42,.66) 0%, rgba(36,48,42,.44) 32%, rgba(36,48,42,0) 52%), linear-gradient(0deg, rgba(36,48,42,.4), rgba(36,48,42,0) 30%); }
.hero-in { position: relative; z-index: 2; padding: 64px 0; }
.hero-eyebrow { color: rgba(255,255,255,.9); font-size: 15px; letter-spacing: .08em; margin-bottom: 20px; }
.hero-h1 { color: #fff; font-size: clamp(44px, 5.6vw, 84px); font-weight: 500; letter-spacing: .08em; line-height: 1.2; white-space: pre; }
.hero-sub { color: #fff; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: .1em; margin: 16px 0 40px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.door { display: grid; gap: 4px; padding: 18px 20px; border-radius: 8px; background: rgba(234,229,218,.94); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.door:hover { transform: translateY(-2px); }
.door-k { color: var(--warm-ink); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.door-t { font-size: 15px; line-height: 1.6; }
.door-a { color: var(--green-ink); font-weight: 500; margin-top: 6px; }

/* ② 方法帶 */
.band { position: relative; background: var(--green-deep); color: #fff; padding: 88px 0 96px; }
.band-h { color: #fff; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .06em; margin-bottom: 48px; }
.three-j { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.three-j h3 { color: #fff; font-size: 22px; margin: 4px 0 8px; }
.three-j p { color: rgba(255,255,255,.88); margin: 0; }
.three-j .j-en { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.8); }
.j-mark { display: block; width: 18px; height: 44px; margin-bottom: 18px; border-right: 7px solid var(--bone); border-bottom: 7px solid var(--bone); border-bottom-right-radius: 18px; }
.j1 { opacity: .38; } .j2 { opacity: .7; } .j3 { opacity: 1; }

/* 區塊 */
.sec { padding: 104px 0; }
.sec-soft { background: var(--paper-2); }
.sec-kids { background: var(--kids); }
.sec-green { background: var(--green-deep); color: #fff; }
.eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); margin-right: 10px; vertical-align: middle; }
.eyebrow-light { color: rgba(255,255,255,.88); }
.eyebrow-warm { color: var(--warm-ink); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: .04em; margin-bottom: 20px; }
.h2-light { color: #fff; }
.h3 { font-size: 24px; margin-bottom: 14px; }
.h3.mt { margin-top: 88px; }
.lead { font-size: 19px; max-width: 36em; margin-bottom: 48px; }
.sub { color: var(--ink-2); margin-bottom: 28px; max-width: 40em; }
.note { color: var(--ink-2); font-size: 14px; margin-top: 16px; }
.step-k { color: var(--warm-ink); font-weight: 700; font-size: 14px; letter-spacing: .12em; margin-bottom: 4px; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep); transform: rotate(-45deg); }

/* 圖 */
.fig { position: relative; margin: 0; border-radius: 8px; overflow: visible; }
.fig > img { border-radius: 8px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.fig-wide > img { aspect-ratio: 21/9; }
.fig-sm > img { aspect-ratio: 4/3; }
.inset { position: absolute; left: -24px; bottom: -32px; width: 34%; margin: 0; border: 6px solid #fff; border-radius: 6px; box-shadow: var(--shadow); }
.inset img { aspect-ratio: 4/3; object-fit: cover; }
.inset .tag { right: 6px; bottom: 6px; font-size: 11px; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.progress { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; margin-top: 88px; padding: 48px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.sec-kids .progress { background: rgba(255,255,255,.75); }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.card-img { position: relative; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-b { padding: 24px 24px 28px; }
.card h4 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 16px; margin: 0; }
.card-kid { border-top: 4px solid var(--green); }
.card-k { color: var(--warm-ink); font-weight: 700; font-size: 14px; letter-spacing: .12em; margin-bottom: 4px !important; }

.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.life li { display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--green-ink); }
.life img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 999px 999px 8px 8px; }

/* 表格 */
.tbl-wrap { overflow-x: auto; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.tbl thead th { background: var(--green-deep); color: #fff; font-weight: 500; }
.tbl td:first-child { color: var(--green-ink); word-break: keep-all; }
.tbl-hours th, .tbl-hours td { text-align: center; vertical-align: middle; }
.tbl-hours tbody th { text-align: left; color: var(--green-ink); font-weight: 500; white-space: nowrap; }
.tbl-hours small { color: var(--ink-2); font-size: 15px; font-weight: 400; }
.d { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-style: normal; font-size: 15px; color: #fff; }
.d-y { background: var(--warm-ink); } .d-w { background: var(--green-deep); } .d-h { background: var(--stable); }
.legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .d { width: 26px; height: 26px; font-size: 13px; }

/* 五站 */
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.stations li { position: relative; padding: 0 18px 0 0; }
.stations li::after { content: ""; position: absolute; top: 20px; left: 48px; right: 6px; height: 2px; background: var(--green); opacity: .45; }
.stations li:last-child::after { display: none; }
.st-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-deep); color: #fff; font-family: Inter, sans-serif; font-weight: 600; margin-bottom: 14px; }
.stations h4 { font-size: 18px; margin-bottom: 6px; }
.stations p { font-size: 15px; line-height: 1.75; margin: 0; }

.honest { margin-top: 64px; padding: 36px 40px; border-left: 4px solid var(--warm); background: rgba(255,255,255,.7); border-radius: 0 8px 8px 0; }
.honest ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.honest b { color: var(--green-ink); font-weight: 500; }

.cta-box { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px 48px; background: var(--green-deep); color: #fff; border-radius: 8px; }
.cta-box .h3 { color: #fff; }
.cta-box p { color: rgba(255,255,255,.9); margin: 0; }
.cta-btns { display: grid; gap: 12px; }
.cta-btns .btn-primary { background: var(--paper); color: var(--green-ink); }
.cta-btns .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.tiny { font-size: 14px; text-align: center; }

/* 醫師 */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.doc { background: #fff; border-radius: 8px; padding: 0 0 28px; overflow: hidden; box-shadow: var(--shadow); }
.doc img { width: 100%; aspect-ratio: 5/6; object-fit: cover; object-position: 50% 20%; background: var(--paper-2); margin-bottom: 22px; }
.doc > :not(img) { padding: 0 26px; }
.doc-r { color: var(--ink-2); font-size: 14px; margin-bottom: 2px; }
.doc h3 { font-size: 24px; }
.doc-s { color: var(--green-deep); font-size: 15px; }
.doc-q { position: relative; margin: 16px 26px 14px !important; padding: 0 0 0 16px !important; border-left: 3px solid var(--green); color: var(--green-ink); font-size: 17px; }
.doc-f { color: var(--ink-2); font-size: 14px; margin: 0; }

/* 第一次來 */
.first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: k; }
.steps4 li { position: relative; padding-left: 56px; counter-increment: k; }
.steps4 li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green-deep); color: #fff; font-family: Inter, sans-serif; font-weight: 600; }
.steps4 h4 { font-size: 19px; margin-bottom: 4px; }
.steps4 p { margin: 0; font-size: 16px; }
.review-line { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--bone); color: var(--ink-2); font-size: 15px; }

/* 環境 */
.space { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.space li { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.space img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.space .sp-big { grid-column: span 2; grid-row: span 2; }
.space .sp-big img { aspect-ratio: auto; height: 100%; min-height: 0; }

/* 品牌故事 */
.story-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.story-end { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bone); color: var(--green-ink); font-size: 19px; }
.story-end span { font-family: Inter, sans-serif; font-size: 15px; letter-spacing: .14em; color: var(--muted); }

/* 預約交通 */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.visit-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 36px; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.facts dt { color: rgba(255,255,255,.88); font-size: 16px; }
.facts dd { margin: 0; }
.facts a { color: #fff; }
.map { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; }

/* 頁尾 */
.ft { background: #2F3E37; color: rgba(255,255,255,.86); padding: 56px 0 96px; font-size: 15px; }
.ft-in { display: grid; gap: 14px; }
.ft-brand { color: #fff; font-size: 18px; letter-spacing: .1em; margin: 8px 0; }
.ft-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft-c { margin-top: 12px; color: rgba(255,255,255,.7); }

/* 手機底部快速列 */
.mbar { display: none; }

/* Codex r1 新增：四件事、誰負責、手機選單、醫師照標示 */
.four { margin-top: 56px; padding: 32px 36px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.four-h { color: var(--green-ink); font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; }
.four ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: f; }
.four li { counter-increment: f; display: grid; gap: 4px; padding-top: 12px; border-top: 3px solid var(--green); }
.four li b { color: var(--green-ink); font-weight: 500; font-size: 18px; }
.four li b::before { content: counter(f) "　"; color: var(--warm-ink); font-family: Inter, sans-serif; }
.four li span { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.who { margin-top: 48px; padding: 32px 36px; background: var(--paper-2); border-radius: 8px; }
.who dl { margin: 0; display: grid; gap: 14px; }
.who dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.who dt { color: var(--green-ink); font-weight: 500; }
.who dd { margin: 0; }
.step-k-light { color: rgba(255,255,255,.85) !important; }
.doc-img { position: relative; }
.life li { position: relative; }
.life .tag { top: 8px; bottom: auto; right: 50%; transform: translateX(50%); font-style: normal; font-size: 11px; white-space: nowrap; }
.mnav { display: none; }
.start { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 24px; background: #fff; border-radius: 8px; border-left: 4px solid var(--green-deep); }
.start p { margin: 0; }
.start b { color: var(--green-ink); font-weight: 500; }
.who-top { margin: 0 0 40px; }
.sub-tight { margin: 16px 0 0; font-size: 15px; }
.osteo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 72px; padding: 40px; background: var(--paper-2); border-radius: 8px; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 36px; }
.path { display: grid; gap: 8px; }
.path-k { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; }
.path .btn { width: 100%; padding: 0 12px; }
.legal-notice { margin: 16px 0 0; padding: 14px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; color: #fff; font-size: 16px; }

@media (max-width: 1024px) {
  .hd-nav { gap: 18px; }
  .life { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .stations li::after { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .br-m { display: inline; }
  .hd-in { height: 60px; }
  .hd-logo img { width: 124px; }
  .hd-nav { display: none; }
  .hd-cta { display: none; }
  .mnav { display: block; position: relative; margin-left: auto; }
  .mnav summary { list-style: none; cursor: pointer; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav nav { position: absolute; right: 0; top: 46px; width: 200px; display: grid; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 8px 0; }
  .mnav nav a { padding: 12px 20px; color: var(--green-ink); text-decoration: none; font-size: 17px; }
  .four ol { grid-template-columns: 1fr 1fr; }
  .osteo { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; margin-top: 56px; }
  .paths { grid-template-columns: 1fr; }
  .four, .who { padding: 24px 20px; }
  .who dl div { grid-template-columns: 1fr; gap: 2px; }
  html { scroll-padding-top: 60px; }
  .hero { min-height: calc(100svh - 60px); align-items: stretch; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; background: linear-gradient(0deg, rgba(36,48,42,.55), rgba(36,48,42,0)); }
  .hero picture img { object-position: 50% 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(36,48,42,.72) 0%, rgba(36,48,42,.4) 34%, rgba(36,48,42,0) 52%); }
  .hero-in { padding: 36px 0 56px; min-height: calc(100svh - 60px); display: flex; flex-direction: column; }
  .hero-eyebrow { font-size: 13px; margin-bottom: 12px; }
  .hero-sub { margin: 10px 0 0; }
  .doors { margin-top: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero .tag { bottom: 12px; }
  .door { padding: 12px 14px; }
  .door-t { display: none; }
  .door-a { font-size: 14px; }
  .band { padding: 64px 0; }
  .three-j { grid-template-columns: 1fr; gap: 32px; }
  .sec { padding: 72px 0; }
  .lead { font-size: 17px; margin-bottom: 36px; }
  .h3.mt { margin-top: 64px; }
  .split, .progress, .first, .story-in, .visit, .cta-box { grid-template-columns: 1fr; gap: 40px; }
  .progress { padding: 28px 22px; margin-top: 64px; }
  .inset { left: 8px; bottom: -28px; width: 44%; border-width: 4px; }
  .split .fig, .first .fig, .fig-wide { margin-bottom: 28px; }
  .fig-wide > img { aspect-ratio: 4/3; }
  .cards3, .docs { grid-template-columns: 1fr; gap: 20px; }
  .life { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .stations { grid-template-columns: 1fr; gap: 20px; }
  .stations li { padding: 0 0 0 56px; }
  .st-n { position: absolute; left: 0; top: 0; }
  .honest { padding: 24px 20px; }
  .cta-box { padding: 28px 22px; }
  .space { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space .sp-big { grid-column: span 2; grid-row: auto; }
  .space .sp-big img { aspect-ratio: 4/3; height: auto; }
  .tbl th, .tbl td { padding: 12px 10px; font-size: 16px; }
  .d { width: 32px; height: 32px; font-size: 14px; }
  .facts div { grid-template-columns: 72px 1fr; }
  .mbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--green-deep); box-shadow: 0 -4px 16px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: grid; place-items: center; height: 56px; color: #fff; text-decoration: none; font-size: 16px; border-left: 1px solid rgba(255,255,255,.18); }
  .mbar a:first-child { border-left: 0; background: var(--paper); color: var(--green-ink); font-weight: 500; }
}

/* ===== v3：評論區 ===== */
.voices { background: var(--paper); }
.voices-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
.v-sum { background: var(--green-deep); color: #fff; border-radius: 8px; padding: 36px 32px; }
.v-src { color: rgba(255,255,255,.88); font-size: 15px; margin-bottom: 6px; }
.v-score { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.v-num { font-family: Inter, sans-serif; font-weight: 600; font-size: 64px; line-height: 1; }
.v-stars { color: #E9C77B; font-size: 22px; letter-spacing: 2px; }
.v-n { font-size: 18px; margin: 10px 0 24px; }
.v-btns .btn { width: 100%; }
.v-date { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.v-topics { background: #fff; border-radius: 8px; padding: 32px 36px; box-shadow: var(--shadow); }
.bars { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 72px 1fr 56px; gap: 14px; align-items: center; }
.bar-k { color: var(--green-ink); font-weight: 500; }
.bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--green); }
.bar-n { font-size: 15px; color: var(--ink-2); text-align: right; }

/* ===== v3：五站小綠人 ===== */
.walk { position: relative; --p: 0; }
.walker { position: absolute; top: 10px; left: calc(var(--p) * (100% - 18%) + 7px); width: 26px; height: 42px; fill: var(--stable); transition: left .15s linear; }
.walker .leg { transform-origin: 50% 0; transform-box: fill-box; }
.walk.walking .walker .l1 { animation: legA .5s ease-in-out 2 alternate; }
.walk.walking .walker .l2 { animation: legA .5s ease-in-out 2 alternate-reverse; }
@keyframes legA { from { transform: rotate(14deg); } to { transform: rotate(-14deg); } }
.walk { padding-top: 56px; }
.stations .st-n { transition: background .4s, transform .4s; background: var(--bone); color: var(--green-ink); }
.stations li.lit .st-n { background: var(--green-deep); color: #fff; transform: scale(1.08); }
.stations li::after { background: linear-gradient(90deg, var(--green) 0 50%, var(--bone) 50% 100%); background-size: 200% 100%; background-position: 100% 0; opacity: 1; transition: background-position .6s; }
.stations li.lit::after { background-position: 0 0; }
.rm .stations .st-n, .rm .stations li .st-n { background: var(--green-deep); color: #fff; }

/* ===== v3：動態 ===== */
.mo .hero picture img { animation: lightsOn 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes lightsOn { from { filter: brightness(.5) saturate(.6); transform: scale(1.04); } to { filter: none; transform: none; } }
.mo .hero-eyebrow, .mo .hero-h1, .mo .hero-sub, .mo .door { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.mo .hero-eyebrow { animation-delay: .5s; } .mo .hero-h1 { animation-delay: .7s; } .mo .hero-sub { animation-delay: .95s; }
.mo .door:nth-child(1) { animation-delay: 1.2s; } .mo .door:nth-child(2) { animation-delay: 1.35s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mo [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.mo [data-reveal].in { opacity: 1; transform: none; }
/* 三道 J 由淺到深依序出現 */
.mo .band .j-mark { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mo .band.in .j-mark { transform: none; }
.mo .band.in .j2 { transition-delay: .25s; } .mo .band.in .j3 { transition-delay: .5s; }
.mo .band .three-j li { opacity: 0; transform: translateY(12px); transition: all .7s cubic-bezier(.2,.7,.2,1); }
.mo .band.in .three-j li { opacity: 1; transform: none; }
.mo .band.in .three-j li:nth-child(2) { transition-delay: .25s; } .mo .band.in .three-j li:nth-child(3) { transition-delay: .5s; }
/* 四件事依序 */
.mo .four[data-reveal] li { opacity: 0; transform: translateY(10px); transition: all .6s; }
.mo .four.in li { opacity: 1; transform: none; }
.mo .four.in li:nth-child(2) { transition-delay: .15s; } .mo .four.in li:nth-child(3) { transition-delay: .3s; } .mo .four.in li:nth-child(4) { transition-delay: .45s; }
/* 超音波掃描線：看清楚 */
.scan > img { position: relative; }
.mo .scan::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); opacity: 0; pointer-events: none; }
.mo .scan.in::after { animation: sweep 2.2s .3s ease-in-out 1 both; }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-10%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(470%); } }
/* 評論長條 */
.mo .voices-grid .bar i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.mo .voices-grid.in .bar i { transform: none; }
/* 門診表今天 */
.tbl-hours .today { background: #F1EEE7; }
.tbl-hours thead .today { background: var(--warm-ink); }
.tbl-hours .now { box-shadow: inset 0 0 0 2px var(--warm-ink); }
.now-tag { display: block; white-space: nowrap; margin-top: 4px; font-size: 13px; color: var(--warm-ink); font-weight: 700; }
.sr-today { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

@media (max-width: 767px) {
  .voices-grid { grid-template-columns: 1fr; }
  .v-topics { padding: 24px 20px; }
    .bars li { grid-template-columns: 60px 1fr 48px; gap: 10px; }
  .walk { padding-top: 0; padding-left: 0; }
  .walker { top: calc(var(--p) * (100% - 40px)); left: -2px; width: 0; height: 0; display: none; }
  .stations li::after { display: block; top: 44px; bottom: -16px; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--green) 0 50%, var(--bone) 50% 100%); background-size: 100% 200%; background-position: 0 100%; }
  .stations li.lit::after { background-position: 0 0; }
  .stations li:last-child::after { display: none; }
}

/* 小綠人只在桌機單列五站時出現 */
@media (max-width: 1024px) { .walker { display: none; } .walk { padding-top: 0; } }

/* ===== v4：質感提升 ===== */
/* 1. 圖片：統一圓角、極細邊、柔和陰影；插畫加水彩紙邊感 */
.fig > img, .card-img img, .space img, .life img, .doc img { border-radius: 10px; }
.fig > img { box-shadow: 0 1px 0 rgba(52,69,60,.06), 0 18px 40px -18px rgba(52,69,60,.35); }
.fig > img[src*="ill-"] { outline: 1px solid rgba(87,122,110,.12); outline-offset: -1px; }
.card { border: 1px solid rgba(206,202,193,.7); box-shadow: 0 1px 2px rgba(52,69,60,.04), 0 10px 30px -14px rgba(52,69,60,.22); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(52,69,60,.05), 0 22px 40px -18px rgba(52,69,60,.3); }
.card-img { overflow: hidden; }
.card-img img, .space li img, .life img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img, .space li:hover img { transform: scale(1.035); }
.space li { overflow: hidden; border-radius: 10px; }
.inset { border-radius: 8px; border-width: 7px; box-shadow: 0 20px 40px -16px rgba(30,40,35,.45); }
.inset img { border-radius: 3px; }
/* 2. 水彩色帶：方法帶上下緣用 LINE 同款水彩邊 */
.band { overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 56px; background: url(img/wash-green.webp) center/cover no-repeat; opacity: .5; pointer-events: none; mix-blend-mode: soft-light; }
.band::before { top: 0; }
.band::after { bottom: 0; transform: scaleY(-1); }
/* 3. 標題節奏：細線與更從容的字距 */
.h2 { font-weight: 500; letter-spacing: .06em; line-height: 1.4; }
.h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 22px; background: var(--green); border-radius: 2px; }
.h2-light::after { background: rgba(255,255,255,.6); }
.story .h2::after { display: none; }
.lead { color: #4E535A; }
/* 4. 紙感底色：極淡顆粒，避免大面積純色塑膠感 */
body { background-image: radial-gradient(rgba(87,122,110,.035) 1px, transparent 1px); background-size: 4px 4px; }
.sec-kids { background-color: var(--kids); }
/* 5. 家長四問與示意卡 */
.ask4 { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ask4 li { background: #fff; border-radius: 10px; padding: 18px 20px; border: 1px solid rgba(116,153,134,.35); display: grid; gap: 6px; }
.ask4 b { color: var(--green-ink); font-weight: 500; font-size: 18px; }
.ask4 span { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.sample { margin: 48px 0 0; display: grid; justify-items: center; gap: 12px; }
.sample-card { width: min(560px, 100%); background: #FFFDF9; border-radius: 6px; padding: 28px 32px; box-shadow: 0 2px 0 rgba(0,0,0,.03), 0 26px 50px -24px rgba(52,69,60,.45); transform: rotate(-1.2deg); border-top: 6px solid var(--green); }
.sample-h { display: flex; align-items: baseline; gap: 10px; color: var(--green-ink); font-weight: 700; letter-spacing: .1em; margin-bottom: 16px; }
.sample-h span { font-weight: 400; font-size: 13px; color: var(--ink-2); }
.sample-h em { margin-left: auto; font-style: normal; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-weight: 400; }
.sample-card dl { margin: 0; display: grid; gap: 0; }
.sample-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--bone); }
.sample-card dt { color: var(--warm-ink); font-weight: 500; font-size: 15px; }
.sample-card dd { margin: 0; font-size: 15px; font-family: "Noto Sans TC", sans-serif; color: var(--green-ink); }
.sample figcaption { font-size: 13px; color: var(--ink-2); }
@media (max-width: 1024px) { .ask4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .sample-card { transform: none; padding: 22px 18px; }
  .sample-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .ask4 { gap: 10px; }
  .ask4 li { padding: 14px; }
  .ask4 b { font-size: 16px; }
  .ask4 span { font-size: 14px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== v5：差異句 ===== */
.diff { padding: 72px 0 0; text-align: center; }
.diff-q { font-size: clamp(22px, 2.2vw, 30px); color: var(--green-ink); letter-spacing: .06em; line-height: 1.7; margin: 0 auto 10px; max-width: 30em; }
.diff-s { color: var(--ink-2); letter-spacing: .1em; margin: 0; }
.diff .wrap::after { content: ""; display: block; width: 1px; height: 48px; margin: 28px auto 0; background: var(--green); }

/* ===== v5：逛一圈嘉誼 ===== */

@keyframes kb { from { transform: scale(1); } to { transform: scale(1.045); } }

@keyframes bar { to { transform: scaleX(1); } }

/* 交通插畫與導航鈕 */
.map-ill { position: relative; margin: 0; border-radius: 10px; overflow: hidden; }
.map-ill img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.map-btn { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

/* 首屏不要佔滿整頁：桌機 76vh */
.hero { min-height: min(76vh, 760px); }

@media (max-width: 767px) {
  .diff { padding-top: 56px; }
  .diff-q { font-size: 20px; }
  
  
  
  
}

/* ===== 滿分衝刺 r1 ===== */
.btn:focus-visible, .door:focus-visible, .know summary:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: 3px; }
.diff-fit { margin: 14px auto 0; max-width: 34em; font-size: 15px; color: var(--ink-2); }
.know { margin-top: 20px; background: #fff; border-radius: 10px; border: 1px solid rgba(206,202,193,.8); padding: 0 24px; }
.know summary { cursor: pointer; padding: 16px 0; color: var(--green-ink); font-weight: 500; list-style: none; }
.know summary::-webkit-details-marker { display: none; }
.know summary::after { content: "＋"; float: right; color: var(--green); }
.know[open] summary::after { content: "－"; }
.know ul { margin: 0 0 8px; padding: 0 0 0 4px; list-style: none; display: grid; gap: 10px; }
.know li { font-size: 15px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.know b { color: var(--green-ink); font-weight: 500; }
.know .note { margin: 4px 0 16px; }
.sample-kid { border-top-color: var(--warm); transform: rotate(1deg); }
@media (max-width: 767px) { .know li { grid-template-columns: 1fr; gap: 2px; } .sample-kid { transform: none; } }

/* ===================== 三道 J 介面系統 ===================== */
.jj { display: block; width: 100%; height: auto; color: currentColor; overflow: visible; }
.jj g { transform-box: fill-box; transform-origin: 50% 100%; }

/* 頁首進度條：三段由淺到深 */
.jprog { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; pointer-events: none; }
.jprog i { display: block; height: 100%; background: var(--bone); transform: scaleX(0); transform-origin: 0 50%; }
.jprog .p1 { background: rgba(206,202,193,.55); } .jprog .p2 { background: rgba(206,202,193,.8); } .jprog .p3 { background: var(--bone); }
.hd { position: sticky; }

/* 首屏小標誌：三道 J 依序升起 */
/* 方法帶：大標誌＋三欄依序點亮 */
.band-top { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.band-mark { width: clamp(150px, 16vw, 230px); flex: none; color: var(--bone); }
.band-mark g { opacity: .16; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transform: translateY(6%); }
.band-mark[data-k="1"] .j1, .band-mark[data-k="2"] .j1, .band-mark[data-k="3"] .j1, .band-mark[data-k="2"] .j2, .band-mark[data-k="3"] .j2, .band-mark[data-k="3"] .j3 { opacity: 1; transform: none; }
.band-h { margin-bottom: 8px; }
.band .j-mark { display: none; }
.three-j li { position: relative; padding-top: 18px; border-top: 2px solid rgba(255,255,255,.18); transition: border-color .6s; }
.three-j li::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--bone); transition: width .9s cubic-bezier(.2,.7,.2,1); }
.three-j li.lit::before { width: 100%; }
.mo .band .three-j li { opacity: .45; transform: none; transition: opacity .6s; }
.mo .band .three-j li.lit { opacity: 1; }
.band::before, .band::after { display: none; }

/* 成人旅程的 J 標籤 */
.jtag { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-family: Inter, "Noto Sans TC", sans-serif; font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.jtag.mt { margin-top: 88px; }
.jtag-light { color: rgba(255,255,255,.85); }
.jdot { width: 10px; height: 20px; border-right: 4px solid var(--green); border-bottom: 4px solid var(--green); border-bottom-right-radius: 10px; }
.jdot.d1 { opacity: .4; } .jdot.d2 { opacity: .7; }
.jtag-light .jdot { border-color: var(--bone); }

/* 左側導覽：小標誌依層數點亮 */
/* 修復注射門診 */
.regen { margin-top: 64px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #3F584D 0%, #2E4139 100%); color: #fff; padding: 56px 56px 48px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 56px; }
.regen::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 210px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='328 226.4 145.8 89.6'%3E%3Cpath fill='%23D7D2CB' transform='matrix(1,0,0,-1,392.0217,226.409)' d='M0 0V-50.941C-.127-64.917-13.002-77.67-29.144-76.871-29.144-77.302-29.209-89.554-29.209-89.554H-17.318C5.859-89.554 24.716-72.232 24.716-50.941V0Z'/%3E%3Cpath fill='%23D7D2CB' transform='matrix(1,0,0,-1,436.7015,226.409)' d='M0 0V-50.94C0-65.464-13.239-77.722-29.759-76.752V-89.554H-17.24-4.963-4.959-4.949C18.222-89.547 37.071-72.227 37.071-50.94V0Z'/%3E%3C/svg%3E") no-repeat right bottom / contain; opacity: .07; pointer-events: none; }
.regen-head { grid-column: 1 / -1; max-width: 40em; }
.regen-h { color: #fff; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .06em; margin: 0 0 12px; }
.regen-lead { color: rgba(255,255,255,.9); margin: 0; }
.regen-sub { color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .08em; margin: 0 0 12px; }
.regen-opts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.regen-opts li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.regen-opts b { font-weight: 500; color: #fff; }
.regen-opts span { font-size: 15px; color: rgba(255,255,255,.85); }
.regen-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.regen-flow li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.rf-n { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); font-family: Inter, sans-serif; }
.regen-flow b { font-weight: 500; }
.regen-flow span:not(.rf-n) { font-size: 15px; color: rgba(255,255,255,.85); }
.care { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.care-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.care-line::before { content: ""; position: absolute; left: 6%; right: 6%; top: 7px; height: 2px; background: linear-gradient(90deg, rgba(206,202,193,.35), rgba(206,202,193,1)); }
.care-line li { display: grid; justify-items: center; gap: 10px; position: relative; }
.care-line i { width: 16px; height: 16px; border-radius: 50%; background: #2E4139; border: 2px solid var(--bone); }
.mo .regen.in .care-line i { animation: pop .5s both; }
.mo .regen.in .care-line li:nth-child(2) i { animation-delay: .15s; } .mo .regen.in .care-line li:nth-child(3) i { animation-delay: .3s; } .mo .regen.in .care-line li:nth-child(4) i { animation-delay: .45s; } .mo .regen.in .care-line li:nth-child(5) i { animation-delay: .6s; } .mo .regen.in .care-line li:nth-child(6) i { animation-delay: .75s; }
@keyframes pop { from { transform: scale(.2); background: var(--bone); } to { transform: none; } }
.care-line b { font-weight: 500; font-size: 15px; }
.care-note { margin: 18px 0 0; font-size: 15px; color: rgba(255,255,255,.85); }

/* 早療五站：上升的階梯＋小綠人 */
@media (min-width: 1025px) {
  .stairs .stations li:nth-child(1) { padding-top: 112px; }
  .stairs .stations li:nth-child(2) { padding-top: 84px; }
  .stairs .stations li:nth-child(3) { padding-top: 56px; }
  .stairs .stations li:nth-child(4) { padding-top: 28px; }
  .stairs .stations li:nth-child(5) { padding-top: 0; }
  .stairs .stations li::after { display: none; }
  .stairs .stations li { z-index: 1; }
  .stair-line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
  .stair-line path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linejoin: round; transition: stroke-dashoffset .2s linear; }
  .stairs { padding-top: 64px; }
  .stairs .walker { display: block; left: 0; top: 0; z-index: 2; transition: transform .2s linear; }
}
@media (max-width: 1024px) { .stair-line { display: none; } }

/* ===================== 手機 ===================== */
@media (max-width: 767px) {
    .band-top { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
  .band-mark { width: 120px; }
  .regen { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; }
  .care-line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .care-line::before { display: none; }
  .jtag.mt { margin-top: 64px; }
  body { padding-bottom: 56px; }
  .tour-stop:not(.on) .ts-t { font-size: 15px; }
  .tour-list { gap: 0; }
}

/* ===== 小綠人逛一圈：插畫 → 同角度實景溶接 ===== */

/* ===== 滿分衝刺 r2 ===== */
.choose4 { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: c; }
.choose4 li { counter-increment: c; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.choose4 b { font-weight: 500; }
.choose4 b::before { content: counter(c) "　"; font-family: Inter, sans-serif; color: var(--bone); opacity: .8; }
.choose4 span { font-size: 14px; color: rgba(255,255,255,.82); }
.opts { border-top: 1px solid rgba(255,255,255,.16); }
.opts summary { cursor: pointer; list-style: none; padding: 14px 0; color: #fff; font-weight: 500; }
.opts summary::-webkit-details-marker { display: none; }
.opts summary::after { content: "＋"; float: right; opacity: .8; }
.opts[open] summary::after { content: "－"; }
.opts dl { margin: 0; display: grid; gap: 0; }
.opts dl div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.opts dt { font-weight: 500; }
.opts dd { margin: 2px 0 0; font-size: 15px; color: rgba(255,255,255,.85); }
.opts-note { font-size: 13px; color: rgba(255,255,255,.75); margin: 10px 0 14px; }
.st-j { display: block; font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .18em; color: var(--warm-ink); margin-bottom: 8px; }
.stations li:not(:has(.st-j)) .st-n { margin-top: 0; }
.swipe-hint { display: none; }
.mbar a { transition: background .3s, color .3s; }
@media (max-width: 767px) {
  .choose4 { grid-template-columns: 1fr; }
  .swipe-hint { display: block; font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
  .mbar.kids-mode a { background: #577A6E; color: #fff; font-weight: 400; }
  .mbar.kids-mode a:first-child { background: var(--paper); color: #505150; font-weight: 500; }
  .mbar { display: grid; }
  .mbar.kids-mode { grid-auto-flow: column; }
}
@media (min-width: 1025px) {
  .stairs .stations li:nth-child(2) .st-n, .stairs .stations li:nth-child(4) .st-n { margin-top: 25px; }
}

/* ===================== 分頁按鈕：首頁不要太滿 ===================== */
.tabs { position: sticky; top: 76px; z-index: 30; display: grid; gap: 8px; margin: 8px 0 32px; padding: 8px; border-radius: 14px; background: rgba(234,229,218,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(206,202,193,.9), 0 12px 30px -20px rgba(52,69,60,.35); }
.sec-kids .tabs { background: rgba(232,238,234,.92); }
.tabs-a { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tabs-k { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tab { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; text-align: left; border: 0; border-radius: 10px; padding: 14px 18px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background .35s, box-shadow .35s, color .35s; }
.tabs-k .tab { grid-template-columns: 1fr; }
.tab .jdot { grid-row: span 3; }
.tab em { font-style: normal; font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.tab b { font-weight: 500; color: var(--green-ink); font-size: 18px; line-height: 1.4; }
.tab small { font-size: 13px; color: var(--ink-2); }
.tab:hover { background: rgba(255,255,255,.6); }
.tab.on { background: #fff; box-shadow: 0 8px 24px -14px rgba(52,69,60,.45); }
.tab.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--green); transform-origin: 0 50%; animation: tabline .5s cubic-bezier(.2,.7,.2,1); }
.tab.on em { color: var(--warm-ink); }
.tab:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: 2px; }
@keyframes tabline { from { transform: scaleX(0); } to { transform: none; } }
.tabp { outline: none; }
.tabp.on { animation: tabin .55s cubic-bezier(.2,.7,.2,1); }
@keyframes tabin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabp > :first-child { margin-top: 0; }
.tabp .h3.mt { margin-top: 64px; }
.tab-next { display: inline-flex; align-items: center; gap: 8px; margin: 40px 0 0; border: 1px solid var(--green-deep); color: var(--green-deep); background: transparent; border-radius: 999px; padding: 10px 20px; font: inherit; font-size: 15px; cursor: pointer; transition: background .3s, color .3s; }
.tab-next:hover { background: var(--green-deep); color: #fff; }
.tab-next:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: 3px; }
.tabp .progress, .tabp .osteo { margin-top: 0; }
.tabp .osteo { margin-top: 56px; }
.tabp .honest { margin-top: 40px; }
.tabp .regen { margin-top: 40px; }
.sec-kids .tabp .fig-wide { display: none; }
@media (max-width: 1024px) { .tabs-k { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .tabs { top: 60px; margin: 0 -16px 24px; border-radius: 0; padding: 8px 12px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; scroll-snap-align: start; padding: 10px 14px; min-width: 132px; }
  .tab b { font-size: 16px; }
  .tab small { display: none; }
  .tab .jdot { width: 8px; height: 16px; border-width: 3px; }
  .tab-next { width: 100%; justify-content: center; }
}

/* ===================== CIS 色彩收斂（白水《嘉誼診所識別手冊》1-6） =====================
   品牌五色：舒行綠 #749986／柔骨白 #CECAC1／立衡灰 #505150／復悅橘 #B7664F／穩行綠 #577A6E
   小字一律用立衡灰；穩行綠用於按鈕底、大標題與色塊；舒行綠只作色塊與線條，不放文字。 */
:root { --green-deep: #577A6E; --green-ink: #505150; --stable: #505150; }
.h2, .h3, .regen-h, .band-h { color: #577A6E; }
.band-h, .regen-h, .h2-light, .cta-box .h3 { color: #fff; }
/* 頁首：柔骨白系淺底＋標準色（舒行綠）標誌 */
.hd { background: rgba(234,229,218,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(206,202,193,.9); }
.hd-logo img { width: 132px; }
.hd-nav a { color: #505150; }
.hd-nav small { color: #5C5D5B; }
.hd-cta { background: #577A6E; color: #fff; }
.hd-cta:hover { background: #4C6B60; }
.mnav summary { color: #505150; border-color: #505150; }
.jprog i { background: #749986 !important; }
.jprog .p1 { opacity: .38; } .jprog .p2 { opacity: .7; } .jprog .p3 { opacity: 1; }
/* 方法帶：穩行綠底＋反白標誌（定稿狀態三道全亮） */
.band { background: #577A6E; }
.band-mark { color: #fff; }
/* 注射區：立衡灰底，拿掉半個標誌的浮水印（手冊：不可改造型） */
.regen { background: #505150; }
.regen::after { display: none; }
.choose4 li { background: rgba(255,255,255,.07); }
/* 色塊 */
.cta-box, .sec-green, .v-sum, .tbl thead th, .mbar { background-color: #577A6E; }
.ft { background: #505150; }
.d-w { background: #577A6E; } .d-h { background: #505150; } .d-y { background: #96503C; }
.door-k, .step-k, .card-k, .st-j, .tab.on em, .eyebrow-warm, .sample-card dt { color: #96503C; }
.eyebrow::before { background: #B7664F; }

/* ===== 滿分衝刺 r3 ===== */
.tlink { display: inline-flex; align-items: center; gap: 6px; color: var(--green-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tlink-light { color: #fff; }
.map-btn { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(255,255,255,.94); padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.regen-disc { font-size: 14px; color: rgba(255,255,255,.85); margin: -4px 0 14px; }
.tbl-wrap:focus-visible { outline: 3px solid #96503C; outline-offset: 3px; }
@media (max-width: 767px) {
  .hero > .tag { top: 72px; bottom: auto; right: 12px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

.jj path { fill: currentColor; }
@media (max-width: 767px) { .hero > .tag { top: auto; bottom: 168px; right: 12px; } }

/* ===== 滿分衝刺 r4 ===== */

.tag, .inset .tag, .life .tag, .sp .jj-ill-tag { font-size: 13px !important; }
.no-js .tab-next { display: none; }
.no-js .tabs { position: static; }
.sub-tight2 { color: var(--ink-2); margin: -6px 0 6px; }
.opt-list { display: grid; gap: 0; }
.opt { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.opt-h { margin: 0 0 8px; display: grid; gap: 2px; }
.opt-h b { font-weight: 500; }
.opt-h span { font-size: 14px; color: rgba(255,255,255,.82); }
.opt dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.opt dl div { padding: 0; border: 0; }
.opt dt { font-size: 13px; letter-spacing: .06em; color: var(--bone); font-weight: 400; }
.opt dd { margin: 2px 0 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9); }
@media (max-width: 767px) { .opt dl { grid-template-columns: 1fr; } }

/* ===== 滿分衝刺 r5 ===== */
.three-j p, .three-j .j-en, .eyebrow-light, .cta-box p, .path-k, .facts dt, .v-src, .v-date, .jtag-light, .regen-lead, .regen-sub, .regen-disc, .care-note, .opt-h span, .opt dd, .opts-note, .choose4 span, .rf-n + b + span { color: #fff !important; }
.ft-c { color: rgba(255,255,255,.8); }
.tabp:focus-visible { outline: 3px solid #96503C; outline-offset: 4px; }

.no-js .tabs { display: none; }

/* ===== 確認輪修正 ===== */
.v-info { background: #fff; border-radius: 8px; padding: 32px 36px; box-shadow: var(--shadow); display: grid; align-content: center; }
.v-info p { margin: 0; color: #505150; }
.sec-green .btn:focus-visible, .cta-box .btn:focus-visible, .v-sum a:focus-visible, .regen summary:focus-visible, .mbar a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #96503C; }
.opt dt { font-size: 15px; } .opt dd { font-size: 16px; line-height: 1.8; } .opts-note { font-size: 15px; line-height: 1.8; }

@media (max-width: 767px) { .mnav summary { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; } }

/* 插畫停留更久、溶接更慢，像小綠人慢慢變成實景 */

/* ===================== 門診時間：今天＋本週 ===================== */
.now-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k btns" "main btns" "next btns"; gap: 4px 32px; align-items: center; background: #577A6E; color: #fff; border-radius: 14px; padding: 28px 32px; margin: 8px 0 24px; }
.now-k { grid-area: k; margin: 0; font-size: 15px; letter-spacing: .12em; }
.now-main { grid-area: main; margin: 0; font-size: 20px; line-height: 1.6; }
.now-next { grid-area: next; margin: 6px 0 0; font-size: 16px; padding-left: 14px; border-left: 3px solid #CECAC1; }
.now-btns { grid-area: btns; display: grid; gap: 10px; justify-items: center; }
.docfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.df-k { color: #505150; font-size: 15px; margin-right: 4px; }
.df { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1px solid #CECAC1; background: #fff; color: #505150; font: inherit; font-size: 15px; cursor: pointer; transition: all .3s; }
.df .d { width: 24px; height: 24px; font-size: 12px; }
.df.on { background: #577A6E; border-color: #577A6E; color: #fff; }
.df:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.day { background: #fff; border-radius: 12px; padding: 16px 14px; box-shadow: 0 1px 2px rgba(52,69,60,.04), 0 10px 26px -18px rgba(52,69,60,.3); border: 1px solid rgba(206,202,193,.7); transition: opacity .3s; }
.day.today { border: 2px solid #577A6E; box-shadow: 0 16px 34px -18px rgba(52,69,60,.45); }
.day.past { opacity: .5; }
.day-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.day-h b { color: #577A6E; font-size: 18px; font-weight: 500; }
.day-date { color: #505150; font-size: 14px; }
.day-tag { margin-left: auto; font-size: 13px; color: #fff; background: #96503C; border-radius: 999px; padding: 0 10px; }
.day-tag:empty { display: none; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sl { position: relative; display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: #EAE5DA; transition: opacity .3s, background .3s; }
.sl-t { font-size: 13px; color: #505150; }
.sl-t small { font-size: 12px; }
.sl-d { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #505150; line-height: 1.4; }
.sl-d .d { width: 24px; height: 24px; font-size: 12px; flex: none; }
.sl-off { background: transparent; border: 1px dashed #CECAC1; }
.sl-off .sl-d { color: #8A8D89; }
.sl.done { opacity: .45; }
.sl.dim { opacity: .22; }
.sl.now { background: #E8EEEA; box-shadow: inset 0 0 0 2px #577A6E; }
.sl .now-tag { position: absolute; right: 8px; top: 6px; font-size: 12px; color: #577A6E; font-weight: 700; margin: 0; }
.d-r { background: #505150; }
@media (max-width: 1024px) { .week { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .now-card { grid-template-columns: 1fr; grid-template-areas: "k" "main" "next" "btns"; padding: 22px 20px; }
  .now-main { font-size: 17px; }
  .now-btns { justify-items: stretch; margin-top: 10px; }
  .week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .day { flex: 0 0 72%; scroll-snap-align: start; }
  .docfilter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px; scrollbar-width: none; }
  .df { flex: none; }
}

.sl-n { display: grid; line-height: 1.3; white-space: nowrap; }
.sl-n small { font-size: 12px; color: #5C5D5B; }
.df-k { white-space: nowrap; flex: none; }
@media (max-width: 767px) { .now-main { font-size: 16px; } .now-card { padding: 20px 18px; } }

/* ===== 常見問題 ===== */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-i { background: #fff; border-radius: 12px; border: 1px solid rgba(206,202,193,.8); transition: box-shadow .3s; }
.faq-i[open] { box-shadow: 0 14px 30px -20px rgba(52,69,60,.4); }
.faq-i summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; color: #505150; font-weight: 500; min-height: 44px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid #577A6E; border-bottom: 2px solid #577A6E; transform: rotate(45deg); transition: transform .3s; }
.faq-i[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-i summary:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; border-radius: 12px; }
.faq-i p { margin: 0; padding: 0 22px 20px; color: #505150; }
.mo .faq-i[open] p { animation: tabin .45s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 767px) { .faq-in { grid-template-columns: 1fr; gap: 24px; } }
.now-main .nm-i { white-space: nowrap; }
.now-main .nm-i + .nm-i::before { content: "｜"; opacity: .55; margin: 0 .3em; }
@media (max-width: 767px) { .now-main .nm-i { display: block; } .now-main .nm-i + .nm-i::before { content: none; } }

/* 門診區：長者可讀（r12） */
.sl-t { font-size: 14px; }
.sl-t small { font-size: 14px; }
.sl-d { font-size: 16px; }
.sl-n small { font-size: 13px; }
.sl .now-tag { font-size: 13px; }
.day-date { font-size: 15px; }
.now-note { grid-area: note; margin: 6px 0 0; font-size: 14px; opacity: .85; }
.now-card { grid-template-areas: "k btns" "main btns" "next btns" "note btns"; }
.swipe-hint { display: none; }
@media (max-width: 767px) {
  .now-card { grid-template-areas: "k" "main" "next" "note" "btns"; }
  .swipe-hint { display: block; margin: 0 0 8px; font-size: 14px; color: #505150; }
}

/* ===== 評論區 v4：原文節錄三分頁＋小綠人 ===== */
.voices { background: linear-gradient(180deg, var(--paper) 0%, #E3DDD1 100%); }
.rv { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-top: 8px; }
.rv-sum { position: relative; overflow: hidden; background: #577A6E; color: #fff; border-radius: 18px; padding: 34px 30px 28px; display: flex; flex-direction: column; }
.rv-sum::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(206,202,193,.22), transparent 70%); pointer-events: none; }
.rv-k { margin: 0 0 6px; font-size: 15px; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.rv-score { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.rv-num { font-family: Inter, sans-serif; font-weight: 600; font-size: 72px; line-height: 1; letter-spacing: -.02em; }
.rv-stars { color: #E9C77B; font-size: 22px; letter-spacing: 3px; }
.rv-n { font-size: 18px; margin: 10px 0 18px; }
.rv-dist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.rv-dist li { display: grid; grid-template-columns: 38px 1fr 24px; gap: 10px; align-items: center; font-size: 14px; }
.rv-dist i { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.rv-dist i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #E9C77B; border-radius: 999px; transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.mo .rv:not(.in) .rv-dist i::after { transform: scaleX(0); }
.rv-dist b { font-weight: 500; text-align: right; }
.rv-btns { margin-top: auto; display: grid; gap: 12px; justify-items: start; }
.rv-btns .btn { width: 100%; }
.rv-date { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.85); }
.rv-main { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 10px 28px 22px; min-width: 0; }
.rv-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--bone); padding-top: 34px; }
.rv-tab { background: none; border: 0; cursor: pointer; min-height: 52px; padding: 10px 6px 14px; font: inherit; font-size: 17px; color: var(--ink); display: grid; justify-items: center; gap: 0; }
.rv-tab .t-s { display: none; }
.rv-tab.on { color: #577A6E; font-weight: 700; }
.rv-tab::after { content: ""; display: block; }
.rv-tabs::after { content: ""; position: absolute; left: calc(var(--i, 0) * 33.333%); bottom: -1px; width: 33.333%; height: 3px; background: #577A6E; border-radius: 3px; transition: left .7s cubic-bezier(.45,0,.25,1); }
.rv-tab:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: -3px; border-radius: 8px; }
.rv-gm { position: absolute; top: 2px; left: calc(var(--i, 0) * 33.333% + 16.666% - 11px); width: 22px; height: 35px; fill: #577A6E; transition: left .7s cubic-bezier(.45,0,.25,1); pointer-events: none; }
.rv-gm .leg { transform-origin: 50% 0; transform-box: fill-box; }
.rv-gm.walking .l1 { animation: legA .35s ease-in-out 2 alternate; }
.rv-gm.walking .l2 { animation: legA .35s ease-in-out 2 alternate-reverse; }
.rv-p { padding-top: 22px; }
.mo .rv-p:not([hidden]) { animation: tabin .5s cubic-bezier(.2,.7,.2,1); }
.rv-track { list-style: none; margin: 0; padding: 4px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: 2px; border-radius: 12px; }
.rv-c { scroll-snap-align: start; }
.rv-c figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--paper); border-radius: 14px; padding: 22px 22px 18px; position: relative; }
.rv-c figure::before { content: "“"; position: absolute; right: 18px; top: 4px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--bone); }
.rv-tp { margin: 0 0 10px; font-size: 13px; color: var(--warm-ink); letter-spacing: .04em; }
.rv-q { margin: 0 0 18px; flex: 1; }
.rv-q p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--ink); }
.rv-q mark { background: linear-gradient(transparent 58%, rgba(233,199,123,.55) 58%); color: inherit; padding: 0 1px; }
.rv-f { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--bone); }
.rv-av { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 16px; }
.rv-who { display: grid; line-height: 1.35; min-width: 0; }
.rv-who b { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-who small { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.rv-st { color: #C9A24E; font-size: 12px; letter-spacing: 1px; margin-left: 6px; }
.rv-src { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.rv-src a { color: #577A6E; }
.rv-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; }
.rv-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bone); background: #fff; color: #577A6E; font-size: 22px; cursor: pointer; transition: background .25s, color .25s; }
.rv-nav button:hover { background: #577A6E; color: #fff; }
.rv-nav button:disabled { opacity: .35; cursor: default; background: #fff; color: #577A6E; }
.rv-nav button:focus-visible { outline: 3px solid var(--warm-ink); outline-offset: 2px; }
.rv-count { font-family: Inter, sans-serif; font-size: 14px; color: var(--ink-2); min-width: 52px; text-align: center; }
.rv-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); max-width: 64em; }
@media (max-width: 1024px) { .rv { grid-template-columns: 1fr; } .rv-sum { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } .rv-sum > * { grid-column: auto; } }
@media (max-width: 767px) {
  .rv-sum { display: flex; padding: 26px 22px 22px; border-radius: 14px; }
  .rv-num { font-size: 60px; }
  .rv-main { padding: 4px 14px 18px; border-radius: 14px; }
  .rv-tab { font-size: 15px; }
  .rv-tab .t-l { display: none; } .rv-tab .t-s { display: block; }
  .rv-track { grid-auto-columns: 88%; gap: 12px; }
  .rv-q p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .rv-gm, .rv-tabs::after { transition: none; } .rv-gm.walking .leg { animation: none; } }

/* ===== 逛一圈：小綠人插畫為主、實景小窗在右下（10/14） ===== */

.rv-tab { grid-auto-flow: column; align-items: center; justify-content: center; gap: 8px; }
.rv-tab .t-n { font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #E3DDD1; color: #505150; line-height: 20px; }
.rv-tab.on .t-n { background: #577A6E; color: #fff; }

/* ===== 10/14 借鏡 cis-a：生活情境入口（1A） ===== */
.lf { background: #fff; border: 1px solid rgba(206,202,193,.8); border-radius: 16px; padding: 32px 36px; margin: 0 0 48px; box-shadow: 0 18px 40px -30px rgba(52,69,60,.4); }
.lf-h { font-size: 22px; color: #577A6E; font-weight: 500; letter-spacing: .04em; margin: 0 0 4px; }
.lf-sub { color: #5C5D5B; font-size: 16px; margin: 0 0 22px; }
.lf-gs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.lf-q { font-size: 14px; color: #96503C; letter-spacing: .08em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #CECAC1; }
.lf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-c { font: inherit; font-size: 15px; line-height: 1.4; color: #3B5348; background: #EAE5DA; border: 1px solid #CECAC1; border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.lf-c:hover { background: #E8EEEA; border-color: #749986; }
.lf-c[aria-expanded="true"] { background: #577A6E; border-color: #577A6E; color: #fff; }
.lf-c:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
.lf-out { display: none; margin-top: 24px; padding: 24px 26px; border-radius: 12px; background: #E8EEEA; outline: none; }
.lf-out.on { display: block; }
.lf-i { display: none; }
.lf-i.on { display: block; }
.no-js .lf-out, .no-js .lf-i { display: block; }
.mo .lf-out.on .lf-i.on { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.lf-it { font-size: 19px; color: #3B5348; font-weight: 500; margin: 0 0 10px; }
.lf-i dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 28px; }
.lf-i dt { font-size: 13px; color: #96503C; letter-spacing: .08em; margin-bottom: 4px; }
.lf-i dd { margin: 0; font-size: 16px; line-height: 1.75; }
.lf-warn { margin: 16px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff; border-left: 4px solid #96503C; font-size: 15px; line-height: 1.7; }
.lf-warn b { display: inline-block; margin-right: 10px; color: #96503C; }
.lf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(87,122,110,.25); }
.lf-foot p { flex: 1 1 100%; margin: 0; font-size: 14px; color: #5C5D5B; }
@media (max-width: 1024px) { .lf-gs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .lf { padding: 22px 18px; margin-bottom: 36px; border-radius: 14px; }
  .lf-h { font-size: 20px; }
  .lf-gs { grid-template-columns: 1fr; gap: 16px; }
  .lf-out { padding: 18px 16px; }
  .lf-i dl { grid-template-columns: 1fr; gap: 12px; }
  .lf-foot .btn { flex: 1 1 100%; }
}

/* ===== 復健報到倒數（2A） ===== */
.rehab-card { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "k pill main" "note note note"; align-items: center; gap: 6px 16px; background: #fff; border: 1px solid #CECAC1; border-left: 6px solid #577A6E; border-radius: 14px; padding: 18px 24px; margin: -8px 0 24px; }
.rh-k { grid-area: k; margin: 0; font-size: 15px; letter-spacing: .12em; color: #577A6E; font-weight: 500; }
.rh-pill { grid-area: pill; margin: 0; padding: 2px 12px; border-radius: 999px; font-size: 14px; background: #E3DDD1; color: #505150; white-space: nowrap; }
.rh-pill.open { background: #577A6E; color: #fff; }
.rh-pill.open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; }
.mo .rh-pill.open::before { animation: rhBlink 2s ease-in-out infinite; }
@keyframes rhBlink { 50% { opacity: .25; } }
.rh-main { grid-area: main; margin: 0; font-size: 17px; color: #3B5348; }
.rh-main b { color: #96503C; font-weight: 700; }
.rh-note { grid-area: note; margin: 4px 0 0; font-size: 14px; color: #5C5D5B; }
@media (max-width: 767px) {
  .rehab-card { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k pill" "main main" "note note"; padding: 16px 18px; justify-items: start; }
  .rh-pill { justify-self: end; }
}

/* ===== 今天欄位與時段狀態（3A） ===== */
.day.today { background: #EEF3F0; }
.day.today .sl:not(.sl-off) { background: #fff; }
.day.today .sl.now { background: #E8EEEA; }
.sl .now-tag.st-up { color: #577A6E; font-weight: 500; }
.sl .now-tag.st-done { color: #6B706B; font-weight: 400; }
.sl .now-tag.st-off { color: #6B706B; font-weight: 400; }
.sl.done { opacity: .6; }

/* ===== 中英雙語區塊標題＋背景巨字（5B） ===== */
.has-bgw { position: relative; }
.has-bgw > .wrap { position: relative; z-index: 1; }
.bgw { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bgw span { position: absolute; top: 40px; right: -2vw; font-family: Inter, sans-serif; font-weight: 600; font-size: clamp(120px, 19vw, 300px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: rgba(116,153,134,.07); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.sec-en { margin: 0 0 30px; font-family: Inter, sans-serif; font-weight: 500; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; letter-spacing: .01em; color: #749986; white-space: nowrap; }
.sec-kids .sec-en { color: #8FAA9E; }
@media (max-width: 1099px) { .sec-en { display: none; } .sec-head { display: block; } }
@media (max-width: 767px) { .bgw span { top: 24px; font-size: 96px; } }

/* ===== 首屏標題裁切滑入（6B） ===== */
.hero-h1 .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero-h1 .in { display: inline-block; }
.mo .hero-h1 { animation: none; }
.mo .hero-h1 .in { animation: lineUp 1.2s cubic-bezier(.16,1,.3,1) both; }
.mo .hero-h1 .ln:nth-child(1) .in { animation-delay: .75s; }
.mo .hero-h1 .ln:nth-child(2) .in { animation-delay: .89s; }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }

/* ===== 桌機右側快捷鈕（7A） ===== */
.qa { display: none; }
@media (min-width: 768px) {
  .qa { position: fixed; right: 16px; top: 50%; z-index: 55; display: grid; gap: 8px; justify-items: end; transform: translate(0, -50%); transition: opacity .35s, transform .35s; }
  .qa.hide { opacity: 0; transform: translate(24px, -50%); pointer-events: none; visibility: hidden; }
  .qa a { display: flex; align-items: center; justify-content: flex-end; height: 48px; max-width: 48px; overflow: hidden; border-radius: 999px; background: #577A6E; color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(30,40,35,.6); transition: max-width .4s cubic-bezier(.16,1,.3,1), background .2s; }
  .qa a:first-child { background: #3B5348; }
  .qa a:hover, .qa a:focus-visible { max-width: 220px; }
  .qa a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #96503C; }
  .qa .qa-t { padding: 0 2px 0 18px; }
  .qa svg { flex: none; width: 48px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@media (prefers-reduced-motion: reduce) { .qa, .qa a { transition: none; } }

/* ===== v3 資訊架構（10/14 晚） ===== */
/* 今天狀態列 */
.today { background: #fff; border-bottom: 1px solid #CECAC1; }
.today-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding: 16px 0; }
.td-k { margin: 0; font-size: 14px; letter-spacing: .14em; color: #96503C; font-weight: 500; }
.td-k span { margin-left: 8px; color: #505150; letter-spacing: .04em; font-weight: 400; }
.td-i { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: #3B5348; line-height: 1.6; }
.td-i b { flex: none; font-weight: 500; font-size: 13px; color: #fff; background: #577A6E; border-radius: 999px; padding: 0 10px; }
.td-i .open { color: #577A6E; font-weight: 700; }
.td-more { margin-left: auto; font-size: 15px; white-space: nowrap; }
.today-in { flex-wrap: nowrap; }
@media (max-width: 1280px) { .today-in { flex-wrap: wrap; } }
@media (max-width: 767px) {
  .today-in { display: grid; gap: 6px; padding: 14px 0; }
  .td-i { font-size: 14px; }
  .td-more { margin-left: 0; }
}

/* 找到您的需求 */
.find { background: var(--paper); }
.tabs-f { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; position: static; }
.tabs-f .tab { grid-template-columns: 1fr; }
.fw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fw-t { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 120px; text-align: left; font: inherit; cursor: pointer; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(206,202,193,.9); box-shadow: 0 10px 26px -22px rgba(52,69,60,.5); transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
.fw-t:hover { border-color: #749986; transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(52,69,60,.5); }
.fw-t:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
.fw-en { font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #5C5D5B; }
.fw-n { font-size: 19px; color: #3B5348; font-weight: 500; line-height: 1.4; }
.fw-a { position: absolute; right: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: #577A6E; background: #E8EEEA; transition: transform .3s, background .3s, color .3s; }
.fw-t[aria-expanded="true"] { background: #577A6E; border-color: #577A6E; }
.fw-t[aria-expanded="true"] .fw-n, .fw-t[aria-expanded="true"] .fw-en { color: #fff; }
.fw-t[aria-expanded="true"] .fw-a { transform: rotate(45deg); background: #fff; }
.fw-i { display: none; }
.fw-i.on { display: block; }
.no-js .fw-out, .no-js .fw-i { display: block; }
.mo .fw-out.on .fw-i.on { animation: rise .5s cubic-bezier(.2,.7,.2,1) both; }
.fw-i dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 28px; }
.fw-i dt { font-size: 13px; color: #96503C; letter-spacing: .08em; margin-bottom: 4px; }
.fw-i dd { margin: 0; font-size: 16px; line-height: 1.75; }
.fw-cond { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.fw-cond li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #749986; margin-right: 10px; vertical-align: middle; }
.fw-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.fw-act .tab-next { margin: 0; }
.fw-out .lf-foot { margin-top: 18px; }
.find .lf { margin: 0; }
.fw-kids { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 28px; border-radius: 14px; background: #E8EEEA; color: #3B5348; text-decoration: none; transition: background .25s; }
.fw-kids:hover { background: #DCE6E0; }
.fw-kids:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
.fw-kids-k { font-size: 14px; letter-spacing: .12em; color: #fff; background: #96503C; border-radius: 999px; padding: 2px 14px; }
.fw-kids-t { font-size: 17px; }
.fw-kids-a { font-size: 22px; color: #577A6E; transition: transform .25s; }
.fw-kids:hover .fw-kids-a { transform: translateX(4px); }
@media (max-width: 767px) { .fw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fw-t:last-child { grid-column: 1 / -1; min-height: 72px; } }
.doors { grid-template-columns: repeat(3, minmax(0, 250px)); }
.door-go { background: rgba(255,255,255,.16) !important; border: 1px solid rgba(255,255,255,.55); }
.door-go .door-k, .door-go .door-t, .door-go .door-a { color: #fff !important; }
@media (max-width: 767px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .door-go { grid-column: 1 / -1; } .door-go .door-t { display: none; } }
@media (max-width: 767px) {
  .tabs-f { margin: 0 0 20px; border-radius: 14px; display: grid; }
  .tabs-f .tab { min-width: 0; }
  .fw-grid { gap: 10px; }
  .fw-t { min-height: 96px; padding: 14px; gap: 10px; }
  .fw-n { font-size: 17px; }
  .fw-a { right: 10px; top: 10px; width: 24px; height: 24px; }
  .fw-i dl { grid-template-columns: 1fr; gap: 12px; }
  .fw-act .tab-next, .fw-act .btn { width: 100%; justify-content: center; }
  .fw-kids { grid-template-columns: 1fr auto; padding: 18px; gap: 10px 14px; }
  .fw-kids-k { justify-self: start; grid-column: 1 / -1; }
  .fw-kids-t { font-size: 16px; }
}

/* 衛教文章 */

.afs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }

@media (max-width: 767px) {
  .afs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .afs::-webkit-scrollbar { display: none; }
  
  
  
}
/* 門診與交通相接：兩區之間不留大段空白 */
#hours { padding-bottom: 64px; }

/* ===== 首屏：走進嘉誼（10/15） ===== */
.hero-stage { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hs { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 2s cubic-bezier(.4,0,.2,1), filter 2s cubic-bezier(.4,0,.2,1), visibility 0s 2s; filter: blur(10px) saturate(.9); }
.hs.on { opacity: 1; visibility: visible; filter: none; transition: opacity 2s cubic-bezier(.4,0,.2,1), filter 2s cubic-bezier(.4,0,.2,1), visibility 0s; z-index: 1; }
.hs.out { visibility: visible; opacity: 0; filter: blur(6px) brightness(1.06); z-index: 0; transition: opacity 2s cubic-bezier(.4,0,.2,1), filter 2s cubic-bezier(.4,0,.2,1), visibility 0s 2s; }
.hero .hs picture { position: absolute; inset: 0; transform: scale(1.09); transition: transform 9s cubic-bezier(.2,.6,.3,1); }
.hero .hs.on picture { transform: scale(1); }
.hero .hs:not(:first-child) picture img { object-position: 50% 55%; animation: none !important; }
.hero .hs:not(:first-child)::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(31,42,37,.5) 0%, rgba(31,42,37,.22) 45%, rgba(31,42,37,0) 70%), linear-gradient(0deg, rgba(31,42,37,.35), rgba(31,42,37,0) 35%); }
@media (max-width: 767px) { .hero .hs:not(:first-child)::after { background: linear-gradient(180deg, rgba(31,42,37,.45), rgba(31,42,37,.1) 45%, rgba(31,42,37,.5)); } }
.hero-veil { position: absolute; inset: 0; z-index: 1; background: #1f2a25; opacity: 0; pointer-events: none; }
.hero::before { z-index: 1; }
.hero > .tag { z-index: 3; transition: opacity .6s; }
.hero-in { z-index: 3; }
.mo .hero-stage { transform: translate3d(0, calc(var(--hp, 0) * 22%), 0) scale(calc(1 + var(--hp, 0) * .06)); }
.mo .hero-veil { opacity: calc(var(--hp, 0) * .75); }
.mo .hero-in { opacity: calc(1 - var(--hp, 0) * 1.7); transform: translate3d(0, calc(var(--hp, 0) * -70px), 0); filter: blur(calc(var(--hp, 0) * 8px)); }
.hero-nav { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1120px) / 2)); bottom: 26px; display: flex; align-items: center; gap: 14px; }
.hero-nav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.hn-b { display: grid; gap: 7px; min-width: 64px; padding: 6px 2px; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; color: rgba(255,255,255,.72); transition: color .4s; }
.hn-l { font-size: 13px; letter-spacing: .1em; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hn-bar { display: block; height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.hn-bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hn-b.on { color: #fff; }
.hn-b.on .hn-bar i { transform: scaleX(1); }
.hero.run .hn-b.on .hn-bar i { animation: hnFill var(--hdur, 7000ms) linear both; }
.hn-b.done .hn-bar i { transform: scaleX(1); opacity: .55; }
@keyframes hnFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hn-b:hover { color: #fff; }
.hn-b:focus-visible, .hn-pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #96503C; border-radius: 6px; }
.hn-pause { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(31,42,37,.35); color: #fff; cursor: pointer; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hn-pause svg { width: 14px; height: 14px; fill: currentColor; }
.hn-pause .pl { display: none; }
.hn-pause.paused .pa { display: none; }
.hn-pause.paused .pl { display: block; }
.hero > .tag { top: 96px; bottom: auto; right: max(24px, calc((100vw - 1120px) / 2)); }
.door-go { background: rgba(31,42,37,.5) !important; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mo .door:nth-child(3) { animation-delay: 1.5s; }
@media (max-width: 1024px) { .hn-l { font-size: 12px; } .hn-b { min-width: 52px; } }
@media (max-width: 767px) {
  .hero-nav { left: 12px; right: 12px; top: 10px; bottom: auto; gap: 10px; }
  .hero-nav ol { flex: 1; gap: 4px; }
  .hero-nav li { flex: 1; }
  .hn-b { min-width: 0; width: 100%; padding: 8px 0; }
  .hn-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hn-pause { width: 30px; height: 30px; }
  .hero-in { padding-top: 84px; }
  .hero > .tag { top: 48px; bottom: auto; right: 12px; left: auto; max-width: calc(100% - 24px); font-size: 12px; }
  .hero .hs:not(:first-child) picture img { object-position: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) { .hs, .hs.on, .hs.out, .hero .hs picture { transition: none !important; filter: none; } }

/* ===== 合併提案：嘉誼怎麼治療（10/15） ===== */
.care-sec .band { padding-bottom: 72px; }
.band-lead { color: rgba(255,255,255,.9); font-size: 18px; max-width: 32em; margin: 14px 0 0; line-height: 1.8; }
.j-go { margin-top: 14px; font: inherit; font-size: 14px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: background .25s, color .25s; }
.j-go:hover { background: #fff; color: #3B5348; }
.j-go:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #96503C; }
.care-body { padding-top: 72px; }
.care-body .lead { margin-bottom: 32px; }
.osteo-out { margin-top: 64px; }
.care-fit { margin: 48px auto 20px; max-width: 34em; text-align: center; font-size: 16px; color: #5C5D5B; }
.care-fit::before { content: ""; display: block; width: 1px; height: 40px; margin: 0 auto 18px; background: #749986; }
@media (max-width: 767px) { .care-body { padding-top: 48px; } .band-lead { font-size: 16px; } .j-go { width: 100%; } }

/* ===== 桌機兩側直欄（10/15，≥1200px） ===== */
.rail { display: none; }
@media (min-width: 1200px) {
  body { padding-left: 72px; padding-right: 72px; }
  .qa { display: none !important; }
  .rail { position: fixed; top: 0; bottom: 0; z-index: 70; width: 72px; display: flex; flex-direction: column; align-items: center; background: #EAE5DA; }
  .rail-l { left: 0; border-right: 1px solid rgba(206,202,193,.9); padding: 22px 0 26px; }
  .rail-r { right: 0; border-left: 1px solid rgba(206,202,193,.9); padding: 26px 0 22px; }
  .rl-brand { display: grid; justify-items: center; gap: 16px; color: #577A6E; text-decoration: none; }
  .rl-mark { width: 40px; color: #577A6E; }
  .rl-mark svg { display: block; width: 100%; height: auto; }
  .rl-mark .jj path { fill: currentColor; }
  .rl-vert { writing-mode: vertical-rl; font-size: 13px; letter-spacing: .28em; color: #577A6E; }
  .rl-cur { margin: auto 0 18px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; color: #505150; }
  .rl-cur b { font-family: Inter, sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .08em; color: #96503C; writing-mode: horizontal-tb; }
  .rl-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .rl-nav a { position: relative; display: grid; place-items: center; width: 40px; height: 22px; text-decoration: none; }
  .rl-nav i { width: 6px; height: 6px; border-radius: 3px; background: #C9C3B8; transition: height .35s cubic-bezier(.16,1,.3,1), background .35s; }
  .rl-nav a:hover i { background: #749986; }
  .rl-nav a.on i { height: 18px; background: #577A6E; }
  .rl-nav span { position: absolute; left: 44px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; font-size: 13px; color: #fff; background: #3B5348; border-radius: 6px; padding: 3px 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .rl-nav a:hover span, .rl-nav a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  .rl-nav a:focus-visible { outline: 3px solid #96503C; outline-offset: 0; border-radius: 6px; }
  .rr-brand { margin: 0; writing-mode: vertical-rl; font-size: 14px; letter-spacing: .32em; color: #577A6E; }
  .rr-list { margin: auto 0; display: grid; gap: 10px; justify-items: end; width: 100%; padding-right: 12px; }
  .rr-b { display: flex; align-items: center; justify-content: flex-end; height: 48px; max-width: 48px; overflow: hidden; border-radius: 999px; background: #577A6E; color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 22px -14px rgba(30,40,35,.6); transition: max-width .45s cubic-bezier(.16,1,.3,1), background .2s; }
  .rr-b.rr-main { background: #3B5348; }
  .rr-b:hover, .rr-b:focus-visible { max-width: 220px; }
  .rr-b:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
  .rr-t { padding: 0 2px 0 18px; }
  .rr-b svg { flex: none; width: 48px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .rr-top { display: grid; justify-items: center; gap: 2px; color: #577A6E; text-decoration: none; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .rr-top.show { opacity: 1; pointer-events: auto; }
  .rr-top-t { font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .2em; }
  .rr-top:focus-visible { outline: 3px solid #96503C; outline-offset: 4px; border-radius: 6px; }
  .hero-nav { right: max(24px, calc((100vw - 144px - 1120px) / 2)); }
  .hero > .tag { right: max(24px, calc((100vw - 144px - 1120px) / 2)); }
}
@media (prefers-reduced-motion: reduce) { .rr-b, .rl-nav i, .rl-nav span { transition: none; } }

/* ===== B 案：三道 J 資料夾分頁（10/15） ===== */
.care-sec .band { padding-bottom: 0; }
.care-sec .band::after { display: none; }
.care-sec .band-top { margin-bottom: 44px; }
.jtabs { gap: 14px; align-items: stretch; }
.jtabs li { padding-top: 0; border-top: 0; opacity: 1 !important; transform: none !important; }
.jtabs li::before { display: none; }
.jt { position: relative; display: grid; align-content: start; gap: 4px; width: 100%; height: 100%; text-align: left; font: inherit; cursor: pointer; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); border-bottom: 0; border-radius: 16px 16px 0 0; padding: 22px 24px 26px; transition: background .35s, color .35s, border-color .35s; }
.jt:hover { background: rgba(255,255,255,.12); }
.jt .j-en { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.82) !important; }
.jt-n { position: absolute; right: 22px; top: 18px; font-family: Inter, sans-serif; font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.jt-h { font-size: 22px; font-weight: 500; line-height: 1.45; margin-top: 2px; }
.jt-s { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.88); }
.jt-k { margin-top: 12px; justify-self: start; font-size: 13px; letter-spacing: .08em; padding: 2px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); }
.jt-k::after { content: " ↓"; }
.jt.on { background: #EAE5DA; color: #3B5348; border-color: #EAE5DA; }
.jt.on .j-en { color: #96503C !important; }
.jt.on .jt-n { color: #96503C; }
.jt.on .jt-s { color: #505150; }
.jt.on .jt-k { border-color: #577A6E; background: #577A6E; color: #fff; }
.jt.on .jt-k::after { content: "　目前顯示"; }
.jt:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #96503C; }
.care-body { padding-top: 56px; }
@media (max-width: 767px) {
  .care-sec .band-top { margin-bottom: 28px; }
  .jtabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px; }
  .jt { padding: 14px 10px 16px; border-radius: 12px 12px 0 0; gap: 2px; }
  .jt .j-en { font-size: 9px; letter-spacing: .1em; }
  .jt-n, .jt-s, .jt-h { display: none; }
  .jt-k, .jt.on .jt-k { display: block; margin: 4px 0 0; padding: 0; border: 0; background: none; color: inherit; font-size: 16px; font-weight: 500; letter-spacing: .04em; }
  .jt-k::after, .jt.on .jt-k::after { content: none; }
  .care-body { padding-top: 36px; }
}

/* 寬螢幕：頁首不放標誌，選單靠左、預約鈕靠右 */
@media (min-width: 1200px) {
  .hd-logo { display: none; }
  .hd-nav { margin-left: 0; }
  .hd-cta { margin-left: auto; }
}

/* ===== 細節優化（10/15）：注射區改淺色質感卡 ===== */
.regen.regen-soft { background: #fff; color: #505150; border: 1px solid rgba(206,202,193,.9); box-shadow: 0 30px 60px -44px rgba(52,69,60,.45); }
.regen.regen-soft::after { display: none; }
.regen.regen-soft::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #749986, #577A6E); }
.regen.regen-soft .regen-h { color: #3B5348 !important; }
.regen.regen-soft .eyebrow-light, .regen.regen-soft .regen-sub { color: #96503C !important; }
.regen.regen-soft .regen-lead, .regen.regen-soft .regen-disc, .regen.regen-soft .care-note, .regen.regen-soft .opts-note, .regen.regen-soft .opt-h span, .regen.regen-soft .opt dd, .regen.regen-soft .choose4 span, .regen.regen-soft .regen-flow span:not(.rf-n) { color: #505150 !important; }
.regen.regen-soft .regen-opts b, .regen.regen-soft .regen-flow b, .regen.regen-soft .care-line b, .regen.regen-soft .choose4 b, .regen.regen-soft .opt-h b { color: #3B5348 !important; }
.regen.regen-soft .regen-opts li, .regen.regen-soft .care, .regen.regen-soft .opt { border-color: rgba(206,202,193,.9) !important; }
.regen.regen-soft .choose4 li { background: #EAE5DA !important; border-color: rgba(206,202,193,.9) !important; }
.regen.regen-soft .rf-n { background: #577A6E !important; color: #fff !important; border-color: #577A6E !important; }
.regen.regen-soft .care-line i { background: #fff; border-color: #749986; }
.regen.regen-soft .care-line::before { background: linear-gradient(90deg, rgba(116,153,134,.3), #749986); }
.regen.regen-soft details.opts { background: #EAE5DA; border-radius: 12px; border: 1px solid rgba(206,202,193,.9); }
.regen.regen-soft details.opts summary { color: #3B5348 !important; }
.regen.regen-soft .opt dt { color: #96503C !important; }
.regen.regen-soft details.opts { padding: 0 20px; margin-top: 4px; }
.regen.regen-soft .choose4 b::before { color: #577A6E; opacity: 1; }

/* ===== 10/15 實景上版與三區質感 ===== */
/* 交通：門面插畫直式完整呈現整棟建築 */
.map-ill-v img { aspect-ratio: 4 / 5; object-position: 50% 60%; }
@media (min-width: 1025px) { .visit { align-items: center; } .map-ill-v { max-width: 460px; justify-self: end; width: 100%; } }
@media (max-width: 767px) { .map-ill-v img { aspect-ratio: 4 / 4.2; } }

/* 第一次來：四步驟照片卡 */
.first.first-photo { display: block; }
.first-photo .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: k; }
.first-photo .steps4 li { padding-left: 0; display: grid; align-content: start; gap: 8px; }
.first-photo .steps4 li::before { position: absolute; left: 12px; top: 12px; z-index: 3; width: 34px; height: 34px; background: #fff; color: #3B5348; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.st-img { position: relative; margin: 0 0 8px; border-radius: 12px; overflow: hidden; }
.st-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.st-ph:hover .st-img img { transform: scale(1.035); }
.first-photo .steps4 h4 { font-size: 19px; }
.first-photo .steps4 p { font-size: 15px; line-height: 1.75; }
@media (max-width: 1024px) { .first-photo .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* 注射選項：全寬兩欄 */
.regen .opts-wide { grid-column: 1 / -1; }
.regen.regen-soft .opts-wide { padding: 0 28px; }
.opts-wide .opt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding-bottom: 8px; }
.opts-wide .opt { padding: 20px 0; }
.opts-wide .opt dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 1024px) { .opts-wide .opt-list { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .opts-wide .opt dl { grid-template-columns: 1fr; } .regen.regen-soft .opts-wide { padding: 0 16px; } }

/* 門診時間：今天的門診與復健並排 */
.now-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin: 8px 0 28px; align-items: stretch; }
.now-pair .now-card { margin: 0; }
.now-pair .rehab-card { margin: 0; grid-template-columns: 1fr; grid-template-areas: "k" "pill" "main" "note"; align-content: center; justify-items: start; border-left-width: 1px; border-top: 6px solid #577A6E; padding: 26px 28px; }
.now-pair .rh-main { font-size: 18px; line-height: 1.6; }
@media (max-width: 1024px) { .now-pair { grid-template-columns: 1fr; } }

/* 常見問題：編號、字級 */
.faq-list { counter-reset: fq; }
.faq-i summary { counter-increment: fq; font-size: 17px; padding-left: 64px; color: #3B5348; }
.faq-i summary::before { content: counter(fq, decimal-leading-zero); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-family: Inter, sans-serif; font-size: 13px; letter-spacing: .06em; color: #96503C; }
.faq-i:hover { border-color: #749986; }
.faq-i p { padding-left: 64px; }
@media (max-width: 767px) { .faq-i summary { padding-left: 52px; font-size: 16px; } .faq-i summary::before { left: 16px; } .faq-i p { padding-left: 22px; } }

/* 頁尾 */
.ft.ft2 { background: #2F4239; padding: 80px 0 120px; color: rgba(255,255,255,.86); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ft-mark { display: block; width: 64px; color: #EAE5DA; margin-bottom: 16px; }
.ft-mark svg { display: block; width: 100%; height: auto; }
.ft-mark .jj path { fill: currentColor; }
.ft-mark .jj rect { fill: #EAE5DA; opacity: .5; }
.ft-name { margin: 0; color: #fff; font-size: 22px; letter-spacing: .14em; }
.ft-name span { display: block; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .24em; color: rgba(255,255,255,.7); margin-top: 4px; }
.ft-line { margin: 18px 0 0; color: #EAE5DA; letter-spacing: .3em; font-size: 15px; }
.ft-h { margin: 0 0 12px; font-size: 13px; letter-spacing: .2em; color: #C9D6CF; }
.ft-col p { margin: 0 0 10px; font-size: 15px; line-height: 1.8; }
.ft-col a, .ft-col nav a { color: #fff; text-decoration: none; }
.ft-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-col nav { display: grid; gap: 6px; font-size: 15px; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 12px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ft-legal { padding-top: 24px; }
.ft-legal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.78); }
.ft2 .legal-notice { margin: 18px 0 0; font-size: 14px; border-color: rgba(255,255,255,.3); }
.ft2 .ft-c { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.ft2 a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 1024px) { .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ft.ft2 { padding: 56px 0 110px; } .ft-top { grid-template-columns: 1fr; gap: 28px; } .ft-cta .btn { flex: 1 1 100%; } }

/* ===== r12 修正 ===== */
.fw-i dl .fw-ck { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #fff; border-left: 4px solid #749986; }
.doc-hours { margin-top: 12px; justify-self: start; font: inherit; font-size: 14px; color: #3B5348; background: transparent; border: 1px solid #749986; border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background .25s, color .25s; }
.doc-hours:hover { background: #577A6E; border-color: #577A6E; color: #fff; }
.doc-hours:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }

/* ===== r13 修正 ===== */
.sl .now-tag, .sl .now-tag.st-up, .sl .now-tag.st-done, .sl .now-tag.st-off { position: static; justify-self: start; display: inline-block; margin: 4px 0 0; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 20px; background: #E8EEEA; }
.sl.now .now-tag { background: #577A6E; color: #fff; }
/* 4) 平板（≤900px）頁首改用選單鈕，避免六個選單項與預約鈕擠成兩行 */
@media (max-width: 900px) {
  .hd-nav, .hd-cta { display: none; }
  .mnav { display: block; position: relative; margin-left: auto; }
  .mnav summary { list-style: none; cursor: pointer; color: #505150; border: 1px solid #505150; border-radius: 999px; padding: 6px 14px; font-size: 15px; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav nav { position: absolute; right: 0; top: 46px; width: 200px; display: grid; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 8px 0; }
  .mnav nav a { padding: 12px 20px; color: var(--green-ink); text-decoration: none; font-size: 17px; }
}

/* ===== r14 修正：小字一律深綠（舒行綠只作色塊）、手機首屏控制放大 ===== */
a, .btn-ghost, .tab-next, .tlink:not(.tlink-light), .rv-src a, .sl .now-tag, .sl .now-tag.st-up, .sl .now-tag.st-done, .sl .now-tag.st-off { color: #3B5348; }
.sl.now .now-tag { color: #fff; }
.rv-av { background: #577A6E; color: #fff; }
.sl-n a { color: inherit; text-decoration: underline; text-decoration-color: rgba(59,83,72,.35); text-underline-offset: 3px; }
.sl-n a:hover { text-decoration-color: #3B5348; }
.hn-pause:disabled { opacity: .55; cursor: default; }
@media (max-width: 767px) {
  .hero-nav { top: 4px; }
  .hn-b { min-height: 44px; align-content: center; padding: 0; }
  .hn-pause { width: 44px; height: 44px; }
  .hero > .tag { top: 56px; }
  .hero-in { padding-top: 100px; }
}

/* ===== r15 修正：深綠底小字實白 ===== */
.band-lead, .jt .jt-s, .jt-n, .rv-k, .rv-date, .eyebrow-light, .now-note, .now-k, .now-next { color: #fff; }
.jt .j-en { color: #fff !important; }
.now-note { opacity: 1; }
.jt.on .jt-s { color: #505150; }
.jt.on .jt-n { color: #96503C; }
.hn-l { color: #fff; }
.hn-b:not(.on) .hn-l { opacity: .9; }

/* ===== r16 修正 ===== */
/* 首屏：只在文字後方加柔光暗區（隨文字一起移動），照片其餘部分維持原亮度。驗算：七張圖眉標／副標 ≥5.6、主標 ≥6.7 */
.hero-eyebrow { position: relative; }
.hero-eyebrow::before { content: ""; position: absolute; z-index: -1; left: -243px; top: -79px; width: 880px; height: 356px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(31,42,37,.55) 55%, rgba(31,42,37,0) 100%); }
.door-go { background: rgba(31,42,37,.78) !important; }
.hero-nav { padding: 6px 12px; border-radius: 12px; background: rgba(31,42,37,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-nav .hn-bar { background: rgba(255,255,255,.4); }
@media (max-width: 767px) {
  .hero-eyebrow::before { left: -60px; top: -40px; width: 520px; height: 300px; }
  .hero::before { background: linear-gradient(180deg, rgba(31,42,37,.78) 0%, rgba(31,42,37,.62) 40%, rgba(31,42,37,.2) 60%, rgba(31,42,37,0) 74%); }
  .hero-nav { padding: 0 8px; }
}
/* 直欄小字一律深綠 */
@media (min-width: 1200px) { .rl-vert, .rr-brand, .rr-top { color: #3B5348; } }

/* ===== r19 排版再優化 ===== */
#team .docs { margin-top: 8px; }
.who.who-band { margin: 40px 0 0; padding: 0; background: transparent; border-top: 1px solid rgba(206,202,193,.9); }
.who-band .four-h { margin: 22px 0 16px; font-size: 14px; letter-spacing: .14em; color: #96503C; }
.who-band dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.who-band dl div { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 0 20px 0 0; margin-right: 20px; border-right: 1px solid rgba(206,202,193,.9); }
.who-band dl div:last-child { border-right: 0; margin-right: 0; }
.who-band dt { font-size: 16px; color: #3B5348; }
.who-band dd { font-size: 15px; line-height: 1.75; color: #505150; }
@media (max-width: 1024px) { .who-band dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; } .who-band dl div:nth-child(2) { border-right: 0; margin-right: 0; } }
@media (max-width: 767px) { .who-band dl { grid-template-columns: 1fr; } .who-band dl div { border-right: 0; margin: 0; padding: 0 0 14px; border-bottom: 1px solid rgba(206,202,193,.9); } }
/* 醫師卡：按鈕對齊卡片底部 */
.doc { display: flex; flex-direction: column; }
.doc .doc-hours { margin: auto 24px 0; align-self: flex-start; }
.doc .doc-f { margin-bottom: 16px; }
/* 待院方確認 */
.todo { display: inline-block; margin-left: 4px; padding: 0 10px; border-radius: 999px; font-size: 12px; line-height: 22px; letter-spacing: .06em; border: 1px dashed currentColor; opacity: .85; white-space: nowrap; vertical-align: 1px; }

/* ===== r20 排版與內容質感 ===== */
/* 1 首屏：兩個族群是主角，「直接預約」退為窄的行動入口 */
@media (min-width: 768px) { .doors { grid-template-columns: repeat(2, minmax(0, 250px)) minmax(150px, 180px); } .door { box-shadow: 0 16px 36px -28px rgba(35,34,32,.35); } }
/* 2 今天列：固定欄位 */
@media (min-width: 901px) { .today-in { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 28px; align-items: center; } }
/* 3 找需求：去卡片化，改平面索引 */
.fw-grid { gap: 0 24px; }
.fw-t { box-shadow: none; border: 0; border-bottom: 1px solid rgba(35,34,32,.12); border-radius: 0; min-height: 104px; background: transparent; padding: 18px 8px; }
.fw-t:hover { transform: none; box-shadow: none; background: rgba(232,238,234,.58); }
.fw-t[aria-expanded="true"] { border-radius: 10px; border-bottom-color: transparent; }
/* 4 嘉誼怎麼治療：收窄、注射段落留白 */
.care-body > .wrap { max-width: 1040px; }
.regen-soft { padding: 48px clamp(28px, 4vw, 56px); }
.opts-wide { margin-top: 20px; }
/* 6 團隊：引言與專長對齊同一基線 */
@media (min-width: 901px) { .doc-q { min-height: 5.4em; } .doc-f { min-height: 3.2em; } }
/* 7 第一次來：內文不過小 */
.first-photo .steps4 p { font-size: 16px; line-height: 1.75; }
/* 8 逛一圈：與上一區分界 */

/* 9 評論：去儀表板感 */
.rv-dist { display: none; }
.rv-q mark { background: linear-gradient(transparent 66%, rgba(116,153,134,.24) 66%); color: inherit; }
/* 10 衛教主題：兩欄、多一點呼吸 */
@media (min-width: 1025px) { .acs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ac { padding: 26px 28px; min-height: 170px; } }
/* 11 常見問題：左側導言固定 */
@media (min-width: 901px) { .faq-in > div:first-child { position: sticky; top: 104px; align-self: start; } }
/* 12 門診：只突出今天 */
.day { box-shadow: none; }
.day.today { box-shadow: 0 18px 36px -24px rgba(35,34,32,.4); }
.sl { padding: 10px; }
/* 13 交通：細分隔線 */
.facts div { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
.facts div:first-child { border-top: 0; }
/* 15 頁尾：法定資訊兩欄 */
@media (min-width: 901px) { .ft-legal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } .ft-legal li:nth-child(5), .ft-legal li:nth-child(6) { grid-column: 1 / -1; } }

/* ===== r22 J 形指標（嘉誼標誌第三道 J；顏色依 CIS：復悅橘＝眉標、舒行綠＝內文清單、柔骨白深階＝未選） ===== */
:root { --jmark: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22406.9%20226.4%2066.9%2089.6%22%3E%3Cpath%20transform%3D%22matrix%281%2C0%2C0%2C-1%2C436.7015%2C226.409%29%22%20d%3D%22M0%200V-50.94C0-65.464-13.239-77.722-29.759-76.752V-89.554H-17.24-4.963-4.959-4.949C18.222-89.547%2037.071-72.227%2037.071-50.94V0Z%22/%3E%3C/svg%3E"); }
.eyebrow::before { width: 8px; height: 11px; border-radius: 0; margin-right: 10px; vertical-align: -1px; background: #B7664F; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
.eyebrow-light::before { background: #EAE5DA; }
.ticks li { padding-left: 24px; }
.ticks li::before { left: 2px; top: .42em; width: 10px; height: 14px; border: 0; transform: none; background: #577A6E; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
.fw-cond li::before { width: 8px; height: 11px; border-radius: 0; vertical-align: -1px; background: #749986; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
@media (min-width: 1200px) {
  .rl-nav i { width: 9px; height: 12px; border-radius: 0; background: #C9C3B8; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; transition: width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), background .35s; }
  .rl-nav a:hover i { background: #749986; }
  .rl-nav a.on i { width: 13px; height: 18px; background: #577A6E; }
}

/* ===== r23 今天門診卡 ===== */
.now-pair { grid-template-columns: 1fr; gap: 12px; }
.now-pair .rehab-card { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "k pill main" "note note note"; align-items: center; justify-items: start; border-top-width: 1px; border-left: 6px solid #577A6E; padding: 18px 28px; }
.now-pair .rh-main { font-size: 17px; }
@media (max-width: 767px) { .now-pair .rehab-card { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k pill" "main main" "note note"; padding: 16px 18px; } }
.now-card { grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "k btns" "next btns" "main btns" "note btns"; gap: 0 48px; padding: 32px 40px; align-items: start; }
.now-k { font-size: 14px; letter-spacing: .16em; margin: 0 0 6px; }
.now-next { margin: 0 0 18px; padding: 0; border: 0; font-size: 22px; line-height: 1.5; }
.now-next:empty { display: none; }
.now-next b { display: inline-block; margin-right: 12px; padding: 0 12px; border-radius: 999px; background: #EAE5DA; color: #3B5348; font-size: 14px; font-weight: 500; line-height: 26px; vertical-align: 3px; }
.now-rows { display: grid; gap: 0; margin: 0; font-size: 17px; }
.nr { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); }
.nr:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.nr-t b { font-weight: 500; margin-right: 10px; }
.nr-t small, .nr-d small { font-size: 14px; color: #fff; opacity: .9; }
.nr-d small { margin-left: 8px; }
.nr-s { font-size: 13px; padding: 0 10px; border-radius: 999px; line-height: 24px; border: 1px solid rgba(255,255,255,.5); white-space: nowrap; }
.nr-now .nr-s { background: #EAE5DA; color: #3B5348; border-color: #EAE5DA; font-weight: 700; }
.nr-done { opacity: .62; }
.nr-off .nr-d small { margin-left: 0; }
.now-note { grid-area: note; margin: 14px 0 0; font-size: 13px; }
.now-btns { grid-area: btns; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.2); }
.now-btns .btn { width: 100%; min-height: 56px; font-size: 17px; }
.now-book { font-weight: 700; }
.now-tel { flex-direction: column; gap: 0; line-height: 1.3; }
.now-tel span { font-family: Inter, sans-serif; font-size: 14px; letter-spacing: .04em; opacity: .95; }
.now-tip { margin: 2px 0 0; font-size: 13px; text-align: center; color: #fff; }
@media (max-width: 1024px) { .now-card { grid-template-columns: 1fr; grid-template-areas: "k" "next" "main" "note" "btns"; padding: 26px 24px; } .now-btns { padding: 20px 0 0; margin-top: 18px; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); } }
@media (max-width: 767px) { .now-next { font-size: 19px; } .nr { grid-template-columns: 6.6em minmax(0, 1fr) auto; gap: 10px; } .nr-t small { display: block; } .nr-d small { display: block; margin-left: 0; } }

/* ===== r24 使用者體驗 ===== */
@media (max-width: 560px) {
  .first-photo .steps4 { grid-template-columns: 1fr; gap: 28px; }
  .first-photo .steps4 li { grid-template-columns: 128px minmax(0, 1fr); grid-template-areas: "photo title" "photo copy"; column-gap: 14px; row-gap: 4px; align-items: start; }
  .first-photo .st-img { grid-area: photo; margin: 0; }
  .first-photo .steps4 h4 { grid-area: title; margin: 0; }
  .first-photo .steps4 p { grid-area: copy; margin: 0; font-size: 15px; }
}
@media (max-width: 767px) {
  .mo .hero-eyebrow, .mo .hero-sub, .mo .door, .mo .hero-h1 .in { animation: none !important; }
  .tabs .tab, .doc-hours { min-height: 44px; }
  .doc-hours { padding-top: 10px; padding-bottom: 10px; }
  .ft-legal ul { font-size: 14px; line-height: 1.85; }
}
@media (min-width: 1025px) { .rv-sum { align-self: start; } .rv-btns { margin-top: 28px; } }

/* ===== r25 頁尾精簡 ===== */
.ft-legal ul { display: grid; gap: 6px 36px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.82); }
.ft-legal li b { color: #fff; font-weight: 500; margin-right: 4px; }
@media (min-width: 901px) { .ft-legal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-legal li { grid-column: auto !important; } .ft-legal li.ft-wide { grid-column: 1 / -1 !important; } }
.ft-row { display: block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ft-legal .ft-wide { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.72); }
.ft2 .legal-notice { font-size: 13px; padding: 10px 16px; color: rgba(255,255,255,.82); }

/* ===== r26 「為孩子」品牌卡 ===== */
.fw-kids.fk { position: relative; overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 0 36px; padding: 0 40px 0 0; margin-top: 36px; border-radius: 18px; background: #E8EEEA; text-decoration: none; color: #3B5348; transition: background .3s, box-shadow .3s; }
.fw-kids.fk::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 220px; height: 300px; background: #749986; opacity: .12; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; pointer-events: none; }
.fw-kids.fk:hover { background: #DFE8E3; box-shadow: 0 22px 44px -30px rgba(52,69,60,.45); }
.fk-img { align-self: stretch; overflow: hidden; }
.fk-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fk:hover .fk-img img { transform: scale(1.04); }
.fk-body { position: relative; z-index: 1; display: grid; gap: 8px; padding: 30px 0; }
.fk-eb { font-family: Inter, "Noto Sans TC", sans-serif; font-size: 12px; letter-spacing: .16em; color: #96503C; }
.fk-h { font-size: 26px; font-weight: 500; letter-spacing: .04em; color: #3B5348; line-height: 1.4; }
.fk-t { font-size: 16px; line-height: 1.8; color: #505150; max-width: 34em; }
.fk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fk-chips i { font-style: normal; font-size: 14px; padding: 4px 14px; border-radius: 999px; background: #fff; color: #3B5348; border: 1px solid rgba(116,153,134,.45); }
.fk-go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 22px; border-radius: 999px; background: #577A6E; color: #fff; font-size: 16px; font-weight: 500; transition: background .25s; }
.fk:hover .fk-go { background: #3B5348; }
.fk-go span { transition: transform .25s; }
.fk:hover .fk-go span { transform: translateX(4px); }
.fw-kids.fk:focus-visible { outline: 3px solid #96503C; outline-offset: 3px; }
@media (max-width: 1024px) { .fw-kids.fk { grid-template-columns: 180px minmax(0, 1fr); padding-right: 28px; } .fk-go { grid-column: 2; justify-self: start; margin: 0 0 28px; } .fk-body { padding-bottom: 14px; } }
@media (max-width: 767px) {
  .fw-kids.fk { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .fk-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .fk-body { padding: 22px 20px 12px; }
  .fk-h { font-size: 22px; }
  .fk-go { grid-column: 1; margin: 4px 20px 22px; justify-content: center; }
}

/* ===== r27 醫師照片版位 ===== */
.doc-img img { object-position: 50% 18%; }

.cta-box.cta-kid { grid-template-columns: 220px minmax(0, 1.3fr) minmax(220px, 280px); align-items: center; }
.cta-doc { margin: 0; border-radius: 12px; overflow: hidden; align-self: stretch; }
.cta-doc img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 900px) {  .cta-box.cta-kid { grid-template-columns: 1fr; } .cta-doc img { aspect-ratio: 16 / 10; min-height: 0; } }

/* ===== r28 使用者體驗 ===== */
@media (max-width: 767px) {
  .ft-legal .ft-wide { font-size: 14px; line-height: 1.85; }
  .td-more, .rv-src a, .faq .tlink, #visit .facts a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ===== r29 ===== */
@media (min-width: 768px) and (max-width: 1199px) { .qa { display: none !important; } }
@media (min-width: 768px) and (max-width: 900px) { .hd-cta { display: inline-flex; margin-left: auto; } .mnav { margin-left: 12px; } }
#doc-h .doc-img { overflow: hidden; }
#doc-h .doc-img img { transform: scale(1.12); transform-origin: 50% 18%; }

/* ===== r30 平板 ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .hd-cta, .mnav summary, .hn-b, .af, .doc-hours { min-height: 44px; }
  .hd-cta, .mnav summary { display: inline-flex; align-items: center; }
  .hn-pause { width: 44px; height: 44px; }
  .mo .hero-eyebrow, .mo .hero-h1, .mo .hero-h1 .in, .mo .hero-sub, .mo .door { animation: none !important; }
}

/* ===== r31 平板次要連結 ===== */
@media (min-width: 768px) and (max-width: 1199px) {
  .lf-c, .td-more, .rv-src a, .rv-btns .tlink, .faq .tlink, #visit .facts a, .ft-col a, .sl-n a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ===== r35 院方重點 ===== */
.hero-sub2 { color: #fff; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .12em; margin: -24px 0 36px; opacity: .95; }
@media (max-width: 767px) { .hero-sub2 { margin: 8px 0 0; font-size: 14px; letter-spacing: .06em; } }
/* 三階段路徑 */
.path3 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 20px; margin: 8px 0 22px; padding: 16px 20px; border: 1px solid rgba(80,81,80,.18); border-radius: 12px; }
.path3-h { margin: 0; font-size: 15px; letter-spacing: .16em; color: #3B5348; font-weight: 700; }
.path3-pre { margin: 0; font-size: 16px; }
.path3-pre b { display: inline-block; margin-right: 10px; padding: 0 10px; border-radius: 999px; background: #3B5348; color: #fff; font-size: 13px; font-weight: 500; }
.card-step { margin: 0 0 4px; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .2em; color: #96503C; }
@media (max-width: 767px) { .path3 { grid-template-columns: 1fr; } }
/* 注射選項直接展開 */
.regen .opts-open { grid-column: 1 / -1; background: #F7F4EE; border: 1px solid rgba(80,81,80,.14); border-radius: 14px; padding: 26px 28px 18px; margin-top: 8px; }
.opts-h { margin: 0 0 6px; font-size: 20px; color: #3B5348; font-weight: 500; letter-spacing: .04em; }
.opts-sub { margin: 0 0 18px; font-size: 16px; color: #505150; }
.opts-open .opt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opts-open .opt { background: #fff; border: 1px solid rgba(80,81,80,.14) !important; border-radius: 12px; padding: 18px 18px 14px; }
.opts-open .opt-h { display: grid; gap: 6px; margin: 0 0 8px; }
.opts-open .opt-h span { font-size: 15px !important; line-height: 1.7; }
.opt-more summary { cursor: pointer; font-size: 14px; color: #3B5348; list-style: none; padding: 6px 0; border-top: 1px dashed rgba(80,81,80,.25); margin-top: 6px; }
.opt-more summary::-webkit-details-marker { display: none; }
.opt-more summary::after { content: " ＋"; }
.opt-more[open] summary::after { content: " －"; }
.opt-more dl { display: grid; gap: 8px; margin: 8px 0 4px; }
.opt-more dl div { display: grid; gap: 2px; }
.opt-more dd { margin: 0; font-size: 15px !important; }
@media (max-width: 1024px) { .opts-open .opt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .opts-open .opt-list { grid-template-columns: 1fr; } .regen .opts-open { padding: 20px 16px 12px; } }
/* 品牌故事 3D 圖組 */
.story-3d { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s3 { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -36px rgba(35,34,32,.5); }
.s3 img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.s3-a { grid-column: 1 / -1; }
.s3-a img { aspect-ratio: 16 / 10; }
.s3-cap { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: #5C5D5B; text-align: right; }
/* Recover joy, together. 標語帶：淡底＋細黑線 */
.rj { background: #EAE5DA; padding: 88px 0 80px; }
.rj-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 32px 48px; border-top: 1px solid #3B5348; padding-top: 40px; }
.rj-en { margin: 0; font-family: Inter, sans-serif; font-weight: 500; font-size: clamp(44px, 6vw, 88px); line-height: 1.02; letter-spacing: -.01em; color: #577A6E; }
.rj-side { border-top: 1px solid #3B5348; padding-top: 18px; }
.rj-zh { margin: 0 0 16px; font-size: 20px; letter-spacing: .1em; color: #3B5348; }
.rj-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rj-links a { color: #3B5348; font-size: 16px; text-decoration: none; border-bottom: 1px solid #3B5348; padding-bottom: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.rj-links a:hover { color: #96503C; border-color: #96503C; }
@media (max-width: 767px) { .rj { padding: 56px 0; } .rj-in { grid-template-columns: 1fr; } }
/* 右欄下拉選單 */
.rr-menu { display: none; }
@media (min-width: 1200px) {
  .rr-menu { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border: 1px solid rgba(80,81,80,.3); border-radius: 12px; background: #fff; cursor: pointer; }
  .rr-bars { display: grid; gap: 4px; }
  .rr-bars i { display: block; width: 18px; height: 2px; background: #3B5348; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .rr-menu[aria-expanded="true"] .rr-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .rr-menu[aria-expanded="true"] .rr-bars i:nth-child(2) { opacity: 0; }
  .rr-menu[aria-expanded="true"] .rr-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .rr-menu:focus-visible { outline: 3px solid #96503C; outline-offset: 2px; }
  .rr-drawer { position: fixed; top: 0; right: 72px; bottom: 0; z-index: 69; width: 320px; padding: 40px 32px; background: #EAE5DA; border-left: 1px solid rgba(80,81,80,.2); box-shadow: -24px 0 48px -30px rgba(35,34,32,.4); display: flex; flex-direction: column; gap: 18px; }
  .rr-drawer[hidden] { display: none; }
  .rd-en { margin: 0; font-family: Inter, sans-serif; font-size: 26px; color: #577A6E; border-bottom: 1px solid #3B5348; padding-bottom: 16px; }
  .rr-drawer nav { display: grid; }
  .rr-drawer nav a { padding: 12px 0; border-bottom: 1px solid rgba(80,81,80,.15); color: #3B5348; text-decoration: none; font-size: 17px; }
  .rr-drawer nav a:hover { color: #96503C; }
}
/* 交通地圖 */
.map-card { position: relative; background: #fff; border-radius: 14px; padding: 12px; }
.map-card > img:first-child { width: 100%; height: auto; aspect-ratio: 900 / 676; object-fit: contain; border-radius: 8px; }
.map-card .map-door { position: absolute; right: -14px; bottom: -18px; width: 30%; aspect-ratio: 4 / 5; object-fit: cover; border: 4px solid #fff; border-radius: 10px; box-shadow: 0 16px 32px -18px rgba(0,0,0,.5); }
.map-card .map-btn { left: 20px; bottom: 20px; }
@media (max-width: 767px) { .map-card .map-door { right: 8px; bottom: -14px; width: 28%; } }

/* ===== cis 白水正本色票＋閱讀字放大＋類別標題 J（參考廠商 CIS A 版） ===== */
/* 卡片：浮在柔骨白頁底上，用白色（不改） */
/* ── ② 閱讀字：主要內文 18px、次要說明 16px；按鈕、選單、頁籤、標籤、日期、表格維持原樣 ──
   html body + !important：蓋過各區與手機版的個別字級 */
html body { font-size: 18px; }
html body :is(.lead, .sub, .sub-tight, .sub-tight2, .card p, .card-b p, .lf-sub, .lf-i dd, .fw-i dd, .fw-ck dd, .lf-warn, .fk-t, .ticks li, .tabp li, .regen-lead, .opts dd, .opt dd, .progress-txt p, .care-fit, .start p, .stations p, .doc-q, .doc-s, .rv-q p, .st-ph p, .steps4 p, .first-photo .steps4 p, .faq-i p, .life li, .know li, .diff-fit, .band-lead, .review-line, .space li, .four li span, .ask4 span, .choose4 span, .who-band dd, .df) {
  font-size: 18px !important;
}
html body :is(.note, .lf-foot p, .regen-disc, .regen-sub, .care-note, .opts-note, .rv-note, .rh-note, .now-note, .tiny, .opt-h span) {
  font-size: 16px !important;
}
/* 內文放大後，卡片標題至少 20px，免得比底下的字小 */
html body :is(.card h4, .card-b h4, .stations h4, .st-ph h4, .opt-h b) {
  font-size: 20px !important;
}

/* ── ③ 類別標題前加綠色 J（標誌第三道 J，與全站指標同一個形）：部位九格、三種治療卡、注射選項 ──
   J 在左、文字整組靠右；標題換行時第二行對齊文字，不回到 J 底下。大小跟著字級走 */
.fw-n, .card-b h4, .opt-h b {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .4em;
  align-items: start;
}
.fw-n::before, .card-b h4::before, .opt-h b::before {
  content: "";
  width: .58em;
  height: .94em;
  margin-top: .25em;
  background: #749986;
  -webkit-mask: var(--jmark) center / contain no-repeat;
  mask: var(--jmark) center / contain no-repeat;
}
.fw-t[aria-expanded="true"] .fw-n::before { background: #fff; }

/* ── 換成柔骨白頁底後，對比不足的幾處（逐一驗算 ≥4.5；大字 ≥3） ── */
.sec-en { color: #577A6E; }                       /* 背景英文大字：舒行綠 2.52 → 穩行綠 3.79 */
.step-k { color: #8A4836; }                       /* 復悅橘小字 4.42 → 5.2 */
.day-h b { color: #4A6557; }                      /* 週表星期 4.24 → 5.08 */
.sl-off .sl-d { color: #6B6D6A; }                 /* 休診「休」3.36 → 4.6 */
.jt:not(.on) { background: rgba(0,0,0,.08); }     /* 綠帶未選分頁白字 4.23 → 5.1 */
/* ===== r36 ===== */
.path3 { grid-template-columns: 1fr; gap: 12px; }
.path3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.path3-steps li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid rgba(80,81,80,.14); }
.path3-steps b { font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .18em; color: #96503C; font-weight: 600; }
.path3-steps span { font-size: 18px; color: #3B5348; font-weight: 500; }
.path3-steps small { font-size: 16px; color: #505150; line-height: 1.6; }
@media (max-width: 767px) { .path3-steps { grid-template-columns: 1fr; } }
.path3-h, .opt-more summary, .s3-cap { font-size: 16px !important; }
@media (max-width: 767px) { .hero-sub2 { font-size: 16px; } }
.rr-drawer { display: none; }
@media (min-width: 1200px) { .rr-drawer:not([hidden]) { display: flex; } }
.map-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; overflow: hidden; }
.map-card > img:first-child { grid-column: 1 / -1; }
.map-card .map-btn { position: static; grid-column: 1; justify-self: start; margin-left: 4px; }
.map-card .map-door { position: static; grid-column: 2; width: 88px; border-width: 0; box-shadow: none; border-radius: 8px; }
@media (max-width: 767px) { .map-card .map-door { width: 72px; } }

/* ===== r37 ===== */
.map-card .map-btn, .map-card .map-door { grid-row: 2; }
.map-card .map-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #3B5348; color: #fff; font-weight: 500; }
.map-card .map-btn:hover, .map-card .map-btn:focus-visible { background: #2c4037; color: #fff; }
.map-card > img:first-child { border-radius: 10px; background: #E9E4D8; }
/* 首屏：兩行同字級讓「是」上下對齊，嘉一行用細字退一階 */
.hero-h1 { white-space: normal; }
.hero-h1 .ln { display: block; }
.hero-h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.18; }
.hero-h1 .ln-s { font-weight: 300; opacity: .9; }
.hero-en { color: rgba(255,255,255,.88); font: 500 clamp(14px, 1.1vw, 17px)/1.4 Inter, sans-serif; letter-spacing: .2em; margin: 14px 0 0; }
.mo .hero-en { animation: rise .9s cubic-bezier(.2,.7,.2,1) .9s both; }
@media (prefers-reduced-motion: reduce) { .mo .hero-en { animation: none !important; } }
@media (max-width: 767px) { .hero-en { font-size: 13px; margin-top: 8px; } }
/* 輪播導覽的品牌前綴 */
.hn-k { margin: 0; color: #fff; font-size: 13px; letter-spacing: .2em; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.45); display: inline-flex; align-items: center; gap: 8px; }
.hn-k::before { content: ""; width: 9px; height: 12px; background: #fff; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
@media (max-width: 1024px) { .hn-k { display: none; } }
.band-pair { margin: 6px 0 14px; color: rgba(255,255,255,.82); font: 500 14px/1.5 Inter, sans-serif; letter-spacing: .12em; }
@media (min-width: 1200px) { .rr-drawer { overflow-y: auto; overscroll-behavior: contain; } }
@media (max-width: 767px) { .sl-n a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; } }

/* ===== r38 ===== */
/* 首屏：門口慢慢推近大門 */
.hero .hs:first-child picture { transform-origin: 69% 64%; }
.mo .hero.run .hs:first-child.on picture { transform: scale(1.12); transition: transform var(--hdur, 7000ms) cubic-bezier(.45,0,.55,1); }
.hs.snap, .hs.snap picture { transition: none !important; filter: none !important; }
/* 自動門 */
.hero-door { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
.hero-door.show { display: block; }
.hero-door i { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; transition: transform 1.6s cubic-bezier(.65,0,.25,1); }
.hero-door i:first-child { left: 0; box-shadow: inset -1px 0 0 rgba(255,255,255,.35); }
.hero-door i:last-child { right: 0; box-shadow: inset 1px 0 0 rgba(255,255,255,.35); }
.hero-door img { position: absolute; top: 0; width: 200%; height: 100%; object-fit: cover; max-width: none; }
.hero-door i:first-child img { left: 0; } .hero-door i:last-child img { right: 0; }
.hero-door.open i:first-child { transform: translateX(-100%); } .hero-door.open i:last-child { transform: translateX(100%); }
/* 圖說卡：毛玻璃，像窗貼 */
.hero-cap { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1120px) / 2)); bottom: 96px; width: 320px; padding: 16px 20px 18px; border-radius: 14px;
  background: rgba(31,42,37,.46); border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: #fff; display: grid; gap: 4px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hc-n { font: 500 12px/1 Inter, sans-serif; letter-spacing: .18em; opacity: .85; display: inline-flex; align-items: center; gap: 8px; }
.hc-n::before { content: ""; width: 8px; height: 11px; background: #fff; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
.hc-n b { font-weight: 700; font-size: 14px; }
.hc-t { font-size: 20px; font-weight: 500; letter-spacing: .1em; }
.hc-s { font-size: 16px; line-height: 1.6; opacity: .95; }
.mo .hero-cap.in { animation: hcIn .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1200px) { .hero-cap { right: max(24px, calc((100vw - 144px - 1120px) / 2)); } }
@media (max-width: 1100px) { .hero-cap { width: auto; max-width: 300px; bottom: 88px; } .hc-s { display: none; } }
@media (max-width: 767px) { .hero-cap { left: 12px; right: auto; top: 46px; bottom: auto; max-width: none; padding: 5px 12px; border-radius: 999px; grid-auto-flow: column; align-items: center; gap: 10px; }
  .hc-n { font-size: 11px; } .hc-n b { font-size: 12px; } .hc-t { font-size: 14px; letter-spacing: .06em; } .hero > .tag { top: 84px; } .hero-in { padding-top: 104px; } }
@media (prefers-reduced-motion: reduce) { .hero-door { display: none !important; } .hero .hs:first-child picture { transform: none !important; } }
/* 注射品項列 */

 
.opt { scroll-margin-top: 110px; }
.opt:target { box-shadow: 0 0 0 2px #749986; border-radius: 12px; }
.opt-more dl { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; }
.opt-more dl > div { display: grid; gap: 2px; }
/* 醫療團隊合照 */
.team3 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 8px 0 36px; }
.team3-img { margin: 0; }
.team3-img img { display: block; width: 100%; height: auto; border-radius: 16px; }
.team3-img figcaption { margin-top: 10px; font-size: 16px; color: #505150; letter-spacing: .06em; }
.team3-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.team3-facts li { display: grid; gap: 4px; padding: 16px 20px; border-radius: 12px; background: #fff; border-left: 4px solid #749986; }
.team3-facts b { font-size: 20px; color: #3B5348; font-weight: 500; letter-spacing: .06em; }
.team3-facts span { font-size: 16px; color: #505150; line-height: 1.6; }
@media (max-width: 900px) { .team3 { grid-template-columns: 1fr; } }
/* 地圖 picture */
.map-card > picture { grid-column: 1 / -1; display: block; }
.map-card > picture img { display: block; width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; border-radius: 10px; background: #E9E4D8; }

/* ===== r39 頁尾標誌 ===== */
.ft-lock { display: flex; align-items: center; gap: 18px; color: #EAE5DA; }
.ft-lm { width: 92px; height: auto; flex: none; }
.ft-lw { display: grid; gap: 8px; padding-left: 18px; border-left: 1px solid rgba(234,229,218,.35); }
.ft-cn { width: 150px; height: auto; }
.ft-en { width: 124px; height: auto; color: #B9CCBF; }
.ft-line { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(234,229,218,.18); font-size: 18px; letter-spacing: .3em; color: #EAE5DA; }
@media (max-width: 767px) { .ft-lm { width: 76px; } .ft-cn { width: 128px; } .ft-en { width: 108px; } }

/* ===== r40 依療程找 ===== */
.tabs-f { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 767px) { .tabs-f .tab small { display: none; } .tabs-f .tab em { font-size: 10px; letter-spacing: .1em; } }
.tx { background: #fff; border-radius: 20px; padding: 36px 40px 30px; }
.tx-gs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.tx-g { display: grid; align-content: start; gap: 14px; }
.tx-gh { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(80,81,80,.14); }
.tx-gh img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.tx-k { margin: 0; font: 500 12px/1.4 Inter, sans-serif; letter-spacing: .16em; color: #96503C; text-transform: uppercase; }
.tx-gh h3 { margin: 2px 0 4px; font-size: 22px; font-weight: 500; color: #3B5348; letter-spacing: .06em; }
.tx-gh p:last-child { margin: 0; font-size: 16px; color: #505150; line-height: 1.6; }
.tx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tx-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px 12px 34px; position: relative;
  border-radius: 12px; background: #F6F3EC; color: #2f3a35; text-decoration: none; transition: background .25s, box-shadow .25s; }
.tx-i::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 12px; margin-top: -6px; background: #749986; -webkit-mask: var(--jmark) center / contain no-repeat; mask: var(--jmark) center / contain no-repeat; }
.tx-i b { grid-column: 1; font-size: 18px; font-weight: 500; letter-spacing: .03em; }
.tx-i span { grid-column: 1; font-size: 16px; color: #505150; line-height: 1.55; }
.tx-i i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 15px; color: #3B5348; white-space: nowrap; }
.tx-i:hover, .tx-i:focus-visible { background: #EEF3EF; box-shadow: inset 0 0 0 1px #749986; }
.tx-note { margin: 22px 0 0; font-size: 16px; color: #505150; }
@media (max-width: 900px) { .tx-gs { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .tx { padding: 24px 18px 20px; } .tx-gh { grid-template-columns: 88px minmax(0, 1fr); } .tx-gh img { width: 88px; height: 66px; } .tx-i i { display: none; } }
.card { scroll-margin-top: 110px; }

/* ===== r41 ===== */
.hn-k::before { content: none; }
.hn-k { gap: 10px; }
.hn-mk { width: 30px; height: auto; color: #fff; flex: none; }
.hn-b { min-width: 72px; }

/* ===== r42 ===== */
.doc-s2 { margin: 2px 0 0; font-size: 15px; line-height: 1.6; color: #505150; }
.card-sub { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(80,81,80,.12); display: grid; gap: 10px; }
.card-sub li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; scroll-margin-top: 120px; transition: background .4s, box-shadow .4s; }
.card-sub b { font-size: 16px; font-weight: 500; color: #3B5348; }
.card-sub span { font-size: 15px; line-height: 1.6; color: #505150; }
.card-sub li:target, .card-sub li:focus { background: #EEF3EF; box-shadow: inset 0 0 0 1px #749986; outline: none; }
.tx-back { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; background: #3B5348; color: #fff; text-decoration: none; font-size: 16px; box-shadow: 0 8px 24px -8px rgba(31,42,37,.5); }
.tx-back[hidden] { display: none; }
.tx-back:hover, .tx-back:focus-visible { background: #2c4037; }
@media (max-width: 767px) { .tx-back { bottom: 76px; } }
.ft-legal li b { display: inline-block; margin-right: 10px; color: #fff; font-weight: 500; }

/* ===== r43 快速聯絡＋右欄英文 ===== */
.rr-brand { writing-mode: horizontal-tb !important; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rr-brand .rb-zh { writing-mode: vertical-rl; }
.rr-brand .rb-en { writing-mode: vertical-rl; font: 500 11px/1 Inter, sans-serif; letter-spacing: .22em; color: #749986; }
.rr-k { margin: 0 0 2px; width: 48px; text-align: center; font-size: 12px; letter-spacing: .2em; color: #577A6E; }
.rr-list { gap: 8px; }
.rr-b svg, .qa a svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rr-b .rr-t, .qa-t { white-space: nowrap; display: inline-flex; align-items: baseline; gap: 8px; }
.rr-b small, .qa-t small { font: 500 13px/1 Inter, sans-serif; letter-spacing: .04em; opacity: .85; }
.rr-b:hover, .rr-b:focus-visible { max-width: 260px; }
.rr-b:nth-child(5) { background: #6F8F80; }
.rr-b:nth-child(6) { background: #fff; color: #3B5348; box-shadow: inset 0 0 0 1px rgba(59,83,72,.35); }
@media (max-width: 767px) { .mbar { grid-template-columns: 1.25fr 1.25fr 1fr 1fr; } .mbar a { font-size: 15px; } }

/* ===== r44 精簡＋閱讀舒適 ===== */
/* 第一次來：實景橫滑 */
.first-strip { margin-top: 40px; }
#first { padding-bottom: 56px; }
@media (max-width: 767px) { #first { padding-bottom: 40px; } }
.fs-h { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-size: 20px; font-weight: 500; color: #3B5348; letter-spacing: .06em; }
.fs-h span { font-size: 16px; font-weight: 400; color: #505150; letter-spacing: 0; }
.fs-list { list-style: none; margin: 0; padding: 0 0 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.fs-list li { scroll-snap-align: start; }
.fs-list figure { margin: 0; }
.fs-list img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #E9E4D8; }
.fs-list figcaption { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #505150; }
.fs-list figcaption b { display: block; font-size: 17px; font-weight: 500; color: #3B5348; }
@media (max-width: 767px) { .fs-list { grid-auto-columns: 62%; } .fs-h { flex-direction: column; gap: 2px; } }
/* 注射流程折疊 */
.regen-more { margin-top: 24px; border-radius: 14px; background: #F6F3EC; }
.regen-more > summary { cursor: pointer; list-style: none; display: grid; gap: 4px; padding: 18px 56px 18px 22px; position: relative; font-size: 19px; font-weight: 500; color: #3B5348; min-height: 44px; }
.regen-more > summary::-webkit-details-marker { display: none; }
.regen-more > summary span { font-size: 16px; font-weight: 400; color: #505150; }
.regen-more > summary::after { content: "＋"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #3B5348; }
.regen-more[open] > summary::after { content: "－"; }
.regen-more > :not(summary) { margin: 0 22px 22px; }
/* 醫師卡縮短 */
.doc img { aspect-ratio: 4 / 3; object-position: 50% 16%; }
@media (max-width: 767px) {
  .docs { gap: 14px; }
  .doc { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; padding: 16px; align-items: start; }
  .doc .doc-img { grid-row: 1 / span 3; align-self: center; }
  .doc > .doc-q, .doc > .doc-f, .doc > .doc-s2, .doc > .doc-hours { grid-column: 1 / -1 !important; }
  .doc > .doc-s2 { margin-top: 10px; }
  .doc .doc-q { margin-top: 14px; }
  .doc img { width: 104px; aspect-ratio: 4 / 5; margin: 0; border-radius: 10px; }
  .doc > :not(.doc-img) { grid-column: 2; padding: 0; }
  .doc h3 { font-size: 20px; }
  .doc .doc-hours { margin: 8px 0 0; }
  .cta-kid .cta-doc { display: none; }
  .ft-nav { display: none; }
}
/* 閱讀舒適：行距、最小字級、行長 */
body { line-height: 1.85; }
.lead, .sub, .lf-sub, .regen-lead, .band-lead, #story p { max-width: 40em; }
p, li, dd { text-wrap: pretty; }
.tiny, .card-sub span, .doc-s2, .ft-legal ul, .ft-legal .ft-wide, .legal-notice, .opts-note, .note, .s3-cap, .team3-img figcaption, .rv-src, .care-note, .tx-i i { font-size: 16px !important; line-height: 1.75; }
/* 長輩會讀的資訊一律 ≥16px；純裝飾英文 ≥12px */
.doc-f, .doc-r, .doc-hours, .step-k, .path-k, .now-k, .now-tip, .rh-k, .rh-pill, .rv-k, .rv-date, .rv-count, .day-date, .door-a, .door-k, .four-h, .swipe-hint, .tab-next, .tlink, .rv-tp, .hc-t, .sample-card dd, .sample-card dt, .sample-h span, .sample figcaption, .fk-chips i, .rv-who small, .sl-n small, .sl-t small, .nr-d small, .nr-t small, .now-btns .btn span, .td-i span, .td-k span, .story-end span, .band-pair { font-size: 16px !important; }
.eyebrow, .hero-eyebrow { font-size: 14px !important; }
.j-en, .tabs-f em, .fw-en, .fk-eb, .jtag, .hc-n { font-size: 12px !important; }
.now-tag, .rv-st, .todo { font-size: 14px !important; }


/* ===== r45 ===== */
.doc > .doc-img { padding: 0 !important; }
@media (max-width: 767px) {
  .doc .doc-img { grid-column: 1; width: 104px; }
  .mbar { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .mbar a { font-size: 16px; line-height: 1.3; white-space: nowrap; }
}
.hero-eyebrow, .hero-sub2, .sl .now-tag { font-size: 16px !important; }
.sl .now-tag { line-height: 26px; }
.rr-b:nth-child(5) { background: #577A6E; }


/* ===== r46 醫師卡 ===== */
#doc-h .doc-img img { transform: none; }  /* 舊照片補構圖用的放大，同系列新照不需要 */
.doc-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.doc .doc-tags { padding: 0 26px; }
.doc-tags li { padding: 4px 12px; border-radius: 999px; background: #EEF3EF; color: #3B5348; font-size: 16px; line-height: 1.6; }
.doc-for { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: #505150; }
.doc-for b { display: block; font-weight: 500; color: #96503C; letter-spacing: .04em; }
.doc-cv { margin: 12px 0 16px; padding-top: 12px !important; border-top: 1px solid rgba(80,81,80,.12); font-size: 16px; line-height: 1.7; color: #6b6c6a; }
.doc .doc-cv { margin-left: 26px; margin-right: 26px; padding-left: 0 !important; padding-right: 0 !important; }
.doc-s2 { font-size: 16px !important; }
@media (max-width: 767px) {
  .doc > .doc-tags, .doc > .doc-for, .doc > .doc-cv { grid-column: 1 / -1 !important; }
  .doc .doc-tags { padding: 0; }
  .doc .doc-cv { margin-left: 0; margin-right: 0; }
}


/* ===== r47 醫師卡學經歷 ===== */
.doc-lead { margin: 14px 0 0; font-size: 16px; line-height: 1.8; color: #2f3a35; }
.doc .doc-lead { padding: 0 26px; }
.doc-cv2 { margin: 14px 0 16px; padding-top: 12px; border-top: 1px solid rgba(80,81,80,.12); display: grid; gap: 8px; }
.doc .doc-cv2 { margin-left: 26px; margin-right: 26px; }
.doc-cv2 div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; }
.doc-cv2 dt { font-size: 15px; color: #96503C; letter-spacing: .04em; }
.doc-cv2 dd { margin: 0; font-size: 16px; line-height: 1.65; color: #505150; }
@media (max-width: 767px) {
  .doc > .doc-lead, .doc > .doc-cv2 { grid-column: 1 / -1 !important; }
  .doc .doc-lead { padding: 0; } .doc .doc-cv2 { margin-left: 0; margin-right: 0; }
}


/* ===== r48 ===== */
/* 左欄 J：由上到下淺→深 */
@media (min-width: 1200px) {
  .rl-nav li:nth-child(1) i { background: #D8D2C6; } .rl-nav li:nth-child(2) i { background: #CBC8BB; } .rl-nav li:nth-child(3) i { background: #BEC2B4; }
  .rl-nav li:nth-child(4) i { background: #B0B9AB; } .rl-nav li:nth-child(5) i { background: #A2B0A2; } .rl-nav li:nth-child(6) i { background: #94A799; }
  .rl-nav li:nth-child(7) i { background: #869E90; } .rl-nav li:nth-child(8) i { background: #789487; } .rl-nav li:nth-child(9) i { background: #6A8A7D; }
  .rl-nav li:nth-child(10) i { background: #5D8073; } .rl-nav li:nth-child(n+11) i { background: #4F7569; }
  .rl-nav a.on i { background: #3B5348 !important; }
}
/* 3D 漫遊 */
.s3g-w { margin-bottom: 56px; }
.s3g-h { display: grid; gap: 6px; margin-bottom: 18px; }
.s3g-h .h2 { margin: 0; }
.s3g-sub { margin: 0; font-size: 17px; color: #505150; }
.s3g { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 10px; }
.s3g ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(760px, 86%); gap: 16px; }
.s3g li { scroll-snap-align: start; }
.s3g figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -36px rgba(35,34,32,.5); }
.s3g img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 619; object-fit: cover; }
.s3g figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; background: rgba(31,42,37,.62); color: #fff; font-size: 15px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.s3g figcaption b { font-size: 17px; font-weight: 500; letter-spacing: .06em; }
.s3g-w .s3-cap { margin: 8px 0 0; text-align: right; font-size: 16px; color: #6b6c6a; }
.story-in { grid-template-columns: minmax(0, 760px) !important; justify-content: center; }
.ft-b2 { margin-left: 14px; }
/* 常見問題分類 */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; background: none; box-shadow: none; padding: 0; }
.faq-tabs .tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(80,81,80,.22); background: #fff; color: #505150; font-size: 16px; }
.faq-tabs .tab small { font: 500 13px/1 Inter, sans-serif; color: #96503C; }
.faq-tabs .tab.on { background: #3B5348; border-color: #3B5348; color: #fff; }
.faq-tabs .tab.on small { color: #EAE5DA; }
.faq-tabs .tab::after { content: none !important; }
@media (max-width: 767px) { .faq-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .faq-tabs .tab { flex: none; } }
