/* ==========================================================================
   Séoul Atelier · 중국측 1차 피드백 반영 (2026-10-23)
   - sa12.css 다음에 불러오기
   - 가격 범위 · 고민별 가이드 · 후기 블록 · 원장 프로필 · 병원 탭 · AI 참고 구간 · 연락처 인증
   ========================================================================== */

/* ---------- 1. 가격 범위 ---------- */
.c-range { font-size: .74em; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.c-pnote, .pc-note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.card.dark .c-pnote { color: var(--dark-muted); }
.pc-note { margin-top: 18px; }
.side-unit br + * { display: block; }
.tiers { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; display: grid; gap: 2px; box-shadow: inset 1px 0 0 var(--line); }
.tiers li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.tiers li em { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--bronze); }
.tiers li b { font: 500 14px/1.3 "Cormorant Garamond", serif; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tiers li s { margin-left: 6px; font: 400 12px var(--sans); color: var(--muted); }
.side-list.cl-prices .clp { box-shadow: inset 0 -1px 0 var(--line); }
.side-list.cl-prices .clp:last-child { box-shadow: none; }
.side-list.cl-prices .clp > a { box-shadow: none; }
.cl-price li > .tiers { margin: -6px 0 10px; }
.pkg-sum .rng, .pc-price .rng, .side-price .rng { font-size: .72em; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.side-price, .pc-price, .pkg-sum, .c-sum { overflow-wrap: anywhere; }

/* ---------- 2. 고민별 ---------- */
.h-worry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.h-worry b { font: 500 20px/1 var(--serif); color: var(--bronze); }
.h-worry em { font-style: normal; color: var(--muted); }
.wg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.wg-card { width: 100%; height: 100%; display: grid; align-content: start; gap: 8px; padding: 22px 22px 20px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s, background .3s; }
.wg-card[aria-pressed="true"] { background: var(--ink); color: #f7f3ee; box-shadow: none; }
@media (hover: hover) { .wg-card:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1px var(--gold); } }
.wg-no { font: 500 22px/1 var(--serif); color: var(--bronze); }
.wg-card[aria-pressed="true"] .wg-no { color: var(--gold); }
.wg-ask { font: 500 17px/1.45 var(--serif); }
.wg-kind { font-size: 13px; letter-spacing: .02em; color: var(--bronze); }
.wg-card[aria-pressed="true"] .wg-kind { color: var(--gold); }
.wg-what { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.wg-tx { font-size: 13px; line-height: 1.6; color: var(--muted); }
.wg-card[aria-pressed="true"] .wg-what, .wg-card[aria-pressed="true"] .wg-tx { color: #d8d0c4; }
.wg-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--line); font-size: 13px; }
.wg-card[aria-pressed="true"] .wg-meta { box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.wg-meta > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.wg-meta small { font-size: 12px; color: var(--muted); }
.wg-card[aria-pressed="true"] .wg-meta small { color: var(--dark-muted); }
.tx-worry { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tx-worry button { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px; font-size: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--gold-line); text-align: left; }
.tx-worry button b { font: 500 15px/1 var(--serif); color: var(--bronze); }
@media (hover: hover) { .tx-worry button:hover { box-shadow: inset 0 0 0 1px var(--gold); } }

/* ---------- 3. 후기 블록 ---------- */
.rev-sec .h-head h2 .rev-n { font: 500 .6em/1 "Cormorant Garamond", serif; color: var(--bronze); vertical-align: .3em; }
.rev-filter { display: grid; gap: 12px; margin-bottom: 24px; }
.rev-tagf { display: flex; flex-wrap: wrap; gap: 6px; }
.rev-tagf button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; font-size: 13px; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.rev-tagf button small { font: 500 13px/1 "Cormorant Garamond", serif; color: var(--muted); }
.rev-tagf button[aria-pressed="true"] { background: var(--bronze); color: #fff; box-shadow: none; }
.rev-tagf button[aria-pressed="true"] small { color: #f3e6cf; }
.rev-kw { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 12px; color: var(--bronze); }
.rev-empty { display: grid; justify-items: center; gap: 14px; padding: 44px 20px; text-align: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.rev-empty svg { width: 28px; height: 36px; color: var(--gold); fill: currentColor; }
.rev-empty p { margin: 0; max-width: 34em; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ---------- 4. 원장 홈 (프로필 → 수치 → 후기 → 시술) ---------- */
.dr-ig { display: grid; grid-template-columns: clamp(120px, 22vw, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.dr-ig-pic { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--gold-line), 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.dr-ig-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dr-ig-body { display: grid; gap: 16px; min-width: 0; }
.dr-ig-name { display: grid; gap: 4px; margin: 0; }
.dr-ig-name b { font: 500 clamp(24px, 3vw, 32px)/1.2 var(--serif); }
.dr-ig-name span { font-size: 14px; color: var(--muted); }
.dr-ig-name a { color: var(--bronze); }
.dr-ig-stats { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); text-align: center; }
.dr-ig-stats li { display: grid; gap: 4px; }
.dr-ig-stats li + li { box-shadow: inset 1px 0 0 var(--line); }
.dr-ig-stats b { font: 500 26px/1 "Cormorant Garamond", serif; font-variant-numeric: lining-nums; }
.dr-ig-stats span { font-size: 13px; color: var(--muted); }
.dr-ig-bio { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.dr-ig-bio li::before { content: "· "; color: var(--bronze); }
.dr-ig-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dr-fav[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--bronze); color: var(--bronze); }
.dr-ig .note { margin: 0; }
@media (max-width: 640px) {
  .dr-ig { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dr-ig-pic { width: 150px; }
  .dr-ig-name, .dr-ig-bio { justify-items: center; }
  .dr-ig-btns { justify-content: center; }
}

/* ---------- 5. 병원 홈: 상단 요약 · 탭 ---------- */
.pg-sec.cl-top { padding-top: 8px; padding-bottom: 0; }
.cl-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 40px; padding: 22px 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cl-score { display: flex; gap: 28px; }
.cl-score span { display: grid; gap: 4px; }
.cl-score small { font-size: 12px; color: var(--muted); }
.cl-score b { font: 500 30px/1 "Cormorant Garamond", serif; }
.cl-score-wait { margin: 0; align-self: center; font-size: 14px; line-height: 1.7; color: var(--muted); }
.cl-key { margin: 0; display: grid; gap: 10px; }
.cl-key div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; font-size: 14px; }
.cl-key dt { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.cl-key dt svg { width: 16px; height: 16px; flex: none; }
.cl-key dd { margin: 0; line-height: 1.6; }
.cl-tabs-wrap { position: sticky; top: var(--nav-h, 64px); z-index: 5; margin-top: 28px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 -1px 0 var(--line); }
.cl-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tabs button { flex: 1 0 auto; display: inline-flex; justify-content: center; align-items: center; gap: 8px; height: 52px; padding: 0 18px; font-size: 15px; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; transition: color .3s, box-shadow .3s; }
.cl-tabs button small { font: 500 14px/1 "Cormorant Garamond", serif; }
.cl-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.cl-wf { margin-bottom: 18px; }
@media (max-width: 760px) {
  .cl-sum { grid-template-columns: 1fr; padding: 18px; }
  .cl-key div { grid-template-columns: 1fr; gap: 2px; }
  .cl-tabs button { padding: 0 12px; font-size: 14px; }
}

/* ---------- 6. AI: 참고 구간 · 처짐 세부 · 입문형/집중형 ---------- */
.idx .ibar::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.9) calc(50% - 1px) 50%, transparent 50%),
              linear-gradient(90deg, transparent calc(70% - 1px), rgba(255,255,255,.9) calc(70% - 1px) 70%, transparent 70%); }
.idx li em { display: grid; gap: 2px; }
.idx .band { font-size: 12px; font-style: normal; font-weight: 500; letter-spacing: .02em; }
.idx .band.good { color: var(--ok); }
.idx .band.mid { color: var(--bronze); }
.idx .band.care { color: var(--care); }
.idx li.sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 10px 10px 86px; }
.idx .sag { display: grid; gap: 1px; padding: 6px 10px; font-size: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.idx .sag small { font-size: 12px; color: var(--muted); }
.idx .sag b { font-weight: 500; font-size: 13px; }
.idx .sag i { font: 500 12px/1 "Cormorant Garamond", serif; font-style: normal; color: var(--muted); }
.idx .sag.lv1 b { color: var(--bronze); }
.idx .sag.lv2 b { color: var(--care); }
.idx .sag.na b { color: var(--muted); font-weight: 400; }
.ai-band-note { margin: 10px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
@media (max-width: 640px) { .idx li.sub { padding-left: 6px; } }
.ai-rec-list .tiers2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.ai-rec-list .tiers2 a { display: grid; gap: 2px; padding: 8px 10px; font-size: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ai-rec-list .tiers2 small { font-size: 12px; color: var(--bronze); }
.ai-rec-list .tiers2 em { font-style: normal; font-size: 13px; color: var(--ink-2); }
@media (hover: hover) { .ai-rec-list .tiers2 a:hover { box-shadow: inset 0 0 0 1px var(--gold); } }

/* ---------- 7. 연락처 인증 (AI 측정 전) ---------- */
.lead { display: grid; gap: 14px; }
.lead-h { display: grid; gap: 4px; margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.lead-h b { font: 500 20px/1.35 var(--serif); color: var(--ink); }
.lead-f { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.lead-f input, .lead-ph select { height: 46px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-2); }
.lead-f input:focus-visible, .lead-ph select:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--bronze); }
.lead-ph { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
.lead-ph select { padding-right: 8px; font-size: 14px; }
.lead-consent { display: grid; gap: 6px; padding: 12px 14px; font-size: 13px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lead-consent label { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; color: var(--ink-2); }
.lead-consent label:first-child { padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--line); }
.lead-consent input { margin-top: 3px; accent-color: var(--bronze); flex: none; }
.lead-consent details { margin: -2px 0 2px 24px; font-size: 12px; color: var(--muted); }
.lead-consent summary { cursor: pointer; width: max-content; }
.lead-consent details p { margin: 6px 0 0; line-height: 1.7; }
.lead-row { display: flex; justify-content: space-between; gap: 12px; }
.lead-row button[disabled] { opacity: .5; }
.lead-err { min-height: 1em; margin: 0; font-size: 13px; color: var(--care); }
.lead-err:empty { display: none; }
.lead-dev { margin: 0; padding: 8px 10px; font-size: 13px; color: var(--warn-ink); background: var(--warn-bg); }
.lead-ok { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; padding: 10px 12px; font-size: 13px; line-height: 1.6; color: var(--ok); background: #eef2ea; }
.lead-ok svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

/* ---------- 8. 중국어 화면 글꼴: 한글 · 라틴은 자체 호스팅 Noto, 한자는 중국 시스템 글꼴로 일관되게 ---------- */
html.sa10[lang^="zh"] { --sans: "Noto Sans KR", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

/* ---------- 9. 피부 분석 맵 카드: 제목 길이와 상관없이 같은 크기, 쉬운 설명 + 동연령 구간 ---------- */
html.sa10 { --ok: #3f6a4c; }
.map-grid { grid-auto-rows: 1fr; }
.map-grid li { display: grid; }
.map-grid button { height: 100%; grid-template-columns: minmax(0, 1fr); align-content: start; }
.map-grid b { min-width: 0; }
.mg-pic .mg-tag { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 1px 8px; font: 500 12px/1.7 var(--sans); font-style: normal; background: #fbeedb; color: #93611c; }
.mg-pic .mg-tag.good { background: #e7efe8; color: var(--ok); }
.mg-pic .mg-tag.mid { background: #f3ede2; color: var(--bronze); }
.mg-pic .mg-tag.care { background: #f6e4dd; color: var(--care); }
.map-grid small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
.map-grid button:disabled .mg-pic { background: #efe9e0; }
.map-grid button:disabled .mg-pic i { color: var(--muted); }
.map-grid button:disabled b { color: var(--muted); }
.am-sub { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.mi-verdict { margin: 0 0 4px; font-size: 14px; font-weight: 500; line-height: 1.55; color: var(--ink); }

/* ---------- 10. 머무는 곳: 지하철 아이콘 + 서울 지하철 안내판과 같은 노선 색 · 번호 ---------- */
.r-row .rl { gap: 6px; }
.r-row .rl svg { width: 15px; height: 15px; flex: none; }
.r-row .rlb { display: inline-flex; gap: 4px; }
.r-row .rl .rlb i { width: 19px; height: 19px; margin: 0; display: inline-grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font: 600 12px/1 var(--sans); font-style: normal; }
.r-row .rl .rlb i.ln-name { width: auto; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 500; }

/* ---------- 11. 상담 단계: 함께 오는 인원 (선택) ---------- */
.pax { display: grid; gap: 10px; margin-top: 28px; }
.cs-panel .pax { margin-top: 0; }
.pax-head { display: flex; align-items: baseline; gap: 8px; }
.pax-head b { font-weight: 500; font-size: 15px; }
.pax-head small { font-size: 12px; color: var(--muted); }
.pax-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(max-content, 1.15fr); gap: 6px; }   /* 마지막 '5人以上 · 5명 이상'은 글자 폭만큼 (360px에서 두 줄로 깨지지 않게) */
.pax-chips button { min-height: 44px; padding: 0 6px; font-size: 14px; white-space: nowrap; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; }
.pax-chips button[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.pax .pax-more { grid-column: auto; grid-row: auto; align-self: start; justify-self: start; }
.pax .pax-more[hidden] { display: none; }
.pax-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pax.dark .pax-head small, .pax.dark .pax-note { color: var(--dark-muted); }
.pax.dark .pax-chips button { background: rgba(255, 255, 255, .04); color: var(--dark-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.pax.dark .pax-chips button[aria-checked="true"] { background: #c9ae7e; color: #1c1a17; }

/* ---------- 12. 추천 일정: 머무는 날을 바꾸면 바로 바뀌는 하루하루 일정 · 글자 크기 4단계(15 · 14 · 13.5 · 12.5) ---------- */
#ch-days .days-core { gap: 18px; }
.stay-sum { display: grid; gap: 10px; }
.stay-st { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.stay-st.ok { color: var(--ok); }
.stay-st.warn { color: var(--care); }
.stay-st .text-link { font-size: 13px; }
.stay-why { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stay-why li { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); background: #f3ede2; }
.stay-why li b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.stay-tl::before { content: none; }
.stay-tl li:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 35px; bottom: -11px; width: 1px; background: var(--line-2); }   /* 날짜 표시끼리만 잇는 선 */
.stay-tl li { grid-template-columns: 64px minmax(0, 1fr); align-items: start; padding: 10px 0; }
.stay-tl li b { min-width: 48px; height: 24px; margin-top: 1px; padding: 0 7px; font: 600 12px/1 var(--sans); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.stay-tl li > div { display: grid; gap: 2px; min-width: 0; }
.stay-tl li .st-t, .stay-tl li.go .st-t, .stay-tl li.end .st-t { font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.stay-tl li .st-d, .stay-tl li.go .st-d, .stay-tl li.end .st-d { font-size: 14px; font-weight: 400; line-height: 1.65; color: var(--muted); }
.stay-tl li .st-d span { display: block; color: inherit; font-weight: inherit; }
.stay-tl li.free b { background: #e7efe8; color: var(--ok); box-shadow: none; }
.stay-tl li.warn .st-t { color: var(--care); }
#stay.quiet .stay-tl li { animation: none; }
.stay-note { margin: 0; font-size: 13px; line-height: 1.6; }

/* ---------- 13. 같이 받으면 좋은 시술: 이름표가 층 글자를 덮지 않게 · 카드끼리 줄 맞춤 · 가격 한 줄 ---------- */
.cb-layers { height: auto; grid-template-rows: none; }
.cb-layers i { min-height: 22px; justify-content: space-between; gap: 6px; padding: 0 8px; font-size: 12px; line-height: 1.3; }
.cb-layers i.on { color: var(--ink); font-weight: 500; }
.cb-layers i .sw + .sw { margin-left: -2px; }
.cb-layers i.a::after, .cb-layers i.b::before { content: none; }
.sw { display: inline-block; flex: none; width: 10px; height: 10px; vertical-align: -1px; }
.sw.a { background: var(--ink); }
.sw.b { background: var(--gold); }
.cb-layers i > span:first-child { margin-right: auto; }
.cb-name > span, .cb-name > b { display: inline-flex; align-items: center; gap: 6px; }
.cb-why { flex: none; }
.cb-facts { font-size: 13px; align-content: start; }
.cb-price { display: grid; gap: 2px; }
.cb-price .cb-plabel { font-size: 12px; color: var(--muted); }
.cb-price b { font: 600 16px/1.35 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cb-price small { font-size: 12px; line-height: 1.55; color: var(--muted); }
.cb-price em { margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); }
@supports (grid-template-rows: subgrid) {
  /* 카드 안 5줄(층 그림 · 이름 · 설명 · 정보 · 가격+버튼)을 옆 카드와 같은 높이로 */
  .cb-list { row-gap: 10px; }
  .cb-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
  .cb-foot { align-self: end; }
}
.st-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; }
.st-tags small { flex-basis: 100%; font-size: 12px; line-height: 1.5; color: var(--muted); }
.stay-tl li .st-tags span { padding: 2px 8px; font-size: 14px; font-weight: 400; line-height: 1.6; background: #f3ede2; color: var(--ink-2); }
.stay-tl li .st-tags.spot span { background: #e7efe8; color: #2f4431; }
.stay-tl li .st-tags.avoid span { background: #f6e4dd; color: var(--care); }
.stay-tl li .st-d, .stay-tl li.go .st-d, .stay-tl li.end .st-d { font-size: 14px; line-height: 1.6; }

/* ---------- 14. 비교 카드: 세 장 같은 폭 · 사진 · 이름 · 위치 · 가격 줄을 옆 카드와 같은 높이로 ---------- */
.card:not(.dark) .c-src { color: var(--muted); }   /* 밝은 카드에서 대비 1.6 → 7 */
@media (min-width: 960px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px 18px; align-items: stretch; }
  @supports (grid-template-rows: subgrid) {
    .cards > .card { display: grid; grid-row: span 9; grid-template-rows: subgrid; }
    .cards:not(:has(.c-away)) > .card { grid-row: span 8; }
    .cards:not(:has(.c-away)) .c-slot { display: none; }
    .cards > .card > .shell, .cards > .card > .shell > .core { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
    .cards > .card > .shell > .core { gap: 20px 0; align-content: start; }
    .cards .card .btn { margin-top: 0; align-self: end; }
  }
}
.stay-tl li .st-tags.ok span { background: #e7efe8; color: var(--ok); }

/* ---------- 15. 사후 케어: 날짜별 체크리스트 (PC 두 칸: 왼쪽 그날 상태 고정 · 오른쪽 할 일 / 모바일 한 칸) ---------- */
.care-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 16px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.care-sum > div { display: grid; gap: 4px; align-content: start; padding: 16px 18px; background: #fbfaf6; }
.care-sum dt { font-size: 12px; line-height: 1.5; color: var(--bronze); }
.care-sum dd { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.care-days { display: flex; gap: 6px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.care-days::-webkit-scrollbar { display: none; }
.care-days button { position: relative; flex: 1 0 auto; min-width: 64px; height: 44px; padding: 0 14px; font: 500 14px/1 var(--sans); font-variant-numeric: lining-nums tabular-nums; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); transition: background-color .25s, color .25s; }
.care-days button.key::after { content: ""; position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-line); }
.care-days button[aria-selected="true"] { background: var(--ink); color: #f7f3ee; box-shadow: none; }
.care-days button[aria-selected="true"].key::after { background: #c9ae7e; }
@media (hover: hover) { .care-days button:not([aria-selected="true"]):hover { background: #f3ede2; } }
.care-day { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.cd-now { position: sticky; top: calc(var(--nav-h, 64px) + 16px); display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); background: #1c1a17; color: #f7f3ee; }
.cd-now small { font-size: 12px; letter-spacing: .04em; color: #c9ae7e; }
.cd-now > b { font: 600 clamp(40px, 4vw, 56px)/1.05 var(--sans); font-variant-numeric: lining-nums tabular-nums; }
.cd-now > p { margin: 0; font: 400 clamp(18px, 1.6vw, 22px)/1.55 var(--serif); color: #f7f3ee; }
.cd-prog { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px 10px; margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.cd-prog > span:first-child { font-size: 14px; color: #cfc6b9; }
.cd-prog > b { justify-self: end; font: 600 20px/1 var(--sans); font-variant-numeric: tabular-nums; }
.cd-prog > b i { font-style: normal; font-weight: 400; color: #a39a8d; }
.cd-prog .cd-bar { display: block; grid-column: 1 / -1; height: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.cd-prog .cd-bar i { display: block; height: 100%; background: #c9ae7e; transform-origin: left; transition: transform .5s var(--ease); }
.cd-clear { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #cfe0d0; }
.cd-clear svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.cd-list { display: grid; gap: 12px; }
.cd-list section { padding: clamp(18px, 2.4vw, 26px); background: #fbfaf6; box-shadow: inset 0 0 0 1px rgba(28, 26, 23, .08); }
html.sa10 .cd-list h3 { margin: 0 0 6px; font-size: 18px !important; line-height: 1.4; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; }
.todo li + li { border-top: 1px solid var(--line); }
.todo .ck { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; padding: 13px 0; text-align: left; cursor: pointer; }
.todo .box { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .25s, box-shadow .25s; }
.todo .box svg { width: 14px; height: 14px; color: #1c1a17; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s var(--spring); }
.todo li.on .box { background: #c9ae7e; box-shadow: none; }
.todo li.on .box svg { opacity: 1; transform: none; }
.todo .tx { display: grid; gap: 2px; min-width: 0; }
.todo .tx b { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); transition: color .25s; }
.todo .tx small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.todo .no .tx small { color: var(--care); }
.todo li.on .tx b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(94, 85, 74, .45); }
@media (hover: hover) { .todo li:not(.on) .ck:hover .box { box-shadow: inset 0 0 0 1.5px var(--bronze); } }
.cd-list .cd-ok { background: #eef3ec; box-shadow: inset 0 0 0 1px #d5e3d3; }
html.sa10 .cd-ok h3 { color: var(--ok); }
.cd-ok ul, .cd-flag ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.cd-ok li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #2f4431; }
.cd-ok li svg { width: 16px; height: 16px; flex: none; margin-top: 4px; }
.cd-list .cd-flag { background: #f6ebe4; box-shadow: inset 3px 0 0 var(--care); }
html.sa10 .cd-flag h3 { color: var(--care); }
.cd-flag li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.cd-flag li i { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; font: 700 13px/1 var(--sans); font-style: normal; background: var(--care); color: #fff; }
.cd-flag .btn { margin-top: 18px; }
.care-src { margin-top: 18px; max-width: 68ch; }
@media (max-width: 959px) {
  .care-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care-day { grid-template-columns: minmax(0, 1fr); }
  .cd-now { position: static; }
}

/* ---------- 16. 글자 체계 (2026-10-24 · Codex 검토 반영) ----------
   크기: 12(주석) · 13(작은 라벨) · 14(라벨 · 단위) · 16(본문) · 18(이름) · 20(가격) + 섹션 제목 · 페이지 제목 두 단계
   숫자 · 가격은 산세리프 고정폭 숫자(장식 세리프 숫자는 1을 I처럼 읽힘) · 한국어 · 중국어는 글자 간격 0 · 입력칸 16px(iOS 확대 방지) */
html.sa10 { --fs-section: clamp(24px, 1.1rem + 1.1vw, 34px); --fs-page: clamp(30px, 1.4rem + 1.9vw, 48px); }

/* 제목: 화면마다 따로 놀던 크기를 두 단계로 */
html.sa10 .h-head h2, html.sa10 .sec-head h2, html.sa10 .worry h2, html.sa10 .consult h2, html.sa10 .h-ai h2, html.sa10 .cmp-head h3 { font-size: var(--fs-section) !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
html.sa10 .pg-title { font-size: var(--fs-page) !important; line-height: 1.3 !important; }
html.sa10 .tx-block h3, html.sa10 .care-dd h3, html.sa10 .proc h3, html.sa10 .flow h3 { font-size: 20px !important; line-height: 1.45 !important; }

/* 본문 · 설명: 16 / 1.75 */
html.sa10 .tx-why, html.sa10 .wg-what, html.sa10 .cb-why, html.sa10 .cl-intro, html.sa10 .care-cell p, html.sa10 .proc p, html.sa10 .flow p, html.sa10 .c-intro, html.sa10 .cmp-desc p { font-size: 16px; line-height: 1.75; }
html.sa10 .h-head p, html.sa10 .pg-lead { font-size: 16px !important; line-height: 1.75 !important; }
html.sa10 .dr-ig-bio, html.sa10 .do, html.sa10 .dont, html.sa10 .risk, html.sa10 .checks, html.sa10 .flagbox ul { font-size: 16px; }
html.sa10 .do li, html.sa10 .dont li, html.sa10 .risk li, html.sa10 .checks li, html.sa10 .flagbox li { line-height: 1.65; }

/* 이름: 세리프는 유지(톤앤매너), 크기 · 간격만 통일 */
html.sa10 .tx-body > b, html.sa10 .doc-body > b, html.sa10 .cl-body > b { font-size: 18px; line-height: 1.45; letter-spacing: 0; }
html.sa10 .c-name { font-size: clamp(24px, 2vw, 30px); line-height: 1.3; letter-spacing: 0; }
html.sa10 .cb-head h4 { font-size: 20px; letter-spacing: 0; }

/* 숫자 · 가격: 산세리프 고정폭 */
html.sa10 .tx-price, html.sa10 .pc-price, html.sa10 .side-price, html.sa10 .pkg-sum, html.sa10 .plist li a b, html.sa10 .tiers li b, html.sa10 .idx .s,
html.sa10 .ai-age output, html.sa10 .trip output, html.sa10 .trip output.sa10-latin, html.sa10 .dr-ig-stats b, html.sa10 .tl li b, html.sa10 .c-sum, html.sa10 .chips-tab button small {
  font-family: var(--sans) !important; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; letter-spacing: 0; }
html.sa10 .tx-price { font-size: 20px; font-weight: 600; line-height: 1.3; }
html.sa10 .pc-price { font-size: 22px; font-weight: 600; line-height: 1.3; }
html.sa10 .side-price { font-size: 32px; font-weight: 600; line-height: 1.2; }
html.sa10 .pkg-sum { font-size: clamp(32px, 3vw, 44px); font-weight: 600; line-height: 1.15; }
html.sa10 .c-sum { font-size: clamp(26px, 2.2vw, 32px); font-weight: 600; line-height: 1.2; }
html.sa10 .plist li a b { font-size: 18px; font-weight: 600; }
html.sa10 .tiers li b { font-size: 16px; font-weight: 600; }
html.sa10 .idx .s, html.sa10 .ai-age output, html.sa10 .dr-ig-stats b { font-size: 20px; font-weight: 600; }
html.sa10 .trip output, html.sa10 .trip output.sa10-latin { font-size: 24px; font-weight: 600; }
html.sa10 .tl li b { font-size: 14px; font-weight: 600; letter-spacing: 0; }
html.sa10 .rng, html.sa10 .c-range { font-size: inherit; }
/* 단위 · 조건: 최저 · 최고 단위가 다르면 줄을 나눔 (unitHTML) */
.u-lo, .u-hi, .u-n { display: block; }
html.sa10 .pc-unit, html.sa10 .side-unit, html.sa10 .tiers li small, html.sa10 .c-lines li small, html.sa10 .plist li a small, html.sa10 .cl-price small { font-size: 14px; line-height: 1.5; }

/* 너무 작던 글자: 정보는 12px 이상 */
html.sa10 .ai-rec-list .lv, html.sa10 .idx .band, html.sa10 .am-hl b small, html.sa10 .tiers li em, html.sa10 .cb-layers i { font-size: 12px; }
html.sa10 .r-row .rl .rlb i { width: 20px; height: 20px; font-size: 12px; }
html.sa10 .r-row .rl .rlb i.ln-name { width: auto; font-size: 12px; }
html.sa10 .r-row .rl .rlb i[style*="#f5a200"], html.sa10 .r-row .rl .rlb i[style*="#bdb092"], html.sa10 .r-row .rl .rlb i[style*="#77c4a3"] { color: #1c1a17; }   /* 밝은 노선색은 검은 글자 */

/* 잘리던 글자 펼치기 */
html.sa10 .map-grid b span { white-space: normal; overflow: visible; text-overflow: clip; }
html.sa10 .map-grid small { -webkit-line-clamp: unset; display: block; overflow: visible; }
html.sa10 .ai-rec-list a span { white-space: normal; }
html.sa10 .tx-rec { white-space: normal; font-size: 13px; }

/* 고민 카드 시술 목록: ' · ' 한 줄 대신 칩 */
.wg-tx { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.wg-tx i { padding: 2px 8px; font-style: normal; font-size: 13px; line-height: 1.6; background: #f3ede2; color: var(--ink-2); }

/* 대비 부족 */
html.sa10 .card.dark .c-sum em { color: var(--dark-muted); }
html.sa10 .pkg-lines li small { font-size: 13px; color: rgba(237, 230, 220, .78); }
html.sa10 .gl-row.real .gl-cell b.ok { color: #a9c9ab !important; }
html.sa12 .cs-msg small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
html.sa12 .cs-head h2::before { color: var(--bronze); }
html.sa12 .cs-steps li b::before { color: var(--bronze); }
html.sa12:lang(zh) .cs-steps li span { word-break: normal; }

/* 한국어 · 중국어 버튼 글자 간격 */
html.sa10 .btn, html.sa10 .ai-btn, html.sa10 .cb-add { letter-spacing: .01em; }
html.sa10[lang^="zh"] .btn, html.sa10[lang^="zh"] .ai-btn, html.sa10[lang^="zh"] .cb-add { letter-spacing: 0; }

/* 입력칸 16px */
html.sa10 .lead-f input, html.sa10 .lead-ph select, html.sa10 #csMsg { font-size: 16px; }

/* 긴 주석은 한 줄 70자 안팎 */
html.sa10 .pg-sec .note, html.sa10 .cb-note, html.sa10 .cmp-note, html.sa10 .criteria { max-width: 72ch; }

/* 모바일 시술 목록: 2열 작은 카드 → 썸네일 + 이름 · 설명 · 가격 한 줄형 */
@media (max-width: 600px) {
  html.sa10 .tx-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.sa10 .tx-grid .tx-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  html.sa10 .tx-grid .art { aspect-ratio: auto; height: 100%; min-height: 132px; }
  html.sa10 .tx-grid .art b { font-size: 28px; left: 12px; bottom: 8px; }
  html.sa10 .tx-grid .art em { display: none; }
  html.sa10 .tx-grid .tx-body { padding: 14px 16px; gap: 4px; }
  html.sa10 .tx-grid .tx-why { display: block; font-size: 14px; line-height: 1.6; -webkit-line-clamp: unset; overflow: visible; }
  html.sa10 .tx-grid .tx-meta { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; padding-top: 10px; }
  html.sa10 .tx-grid .tx-price { font-size: 18px; }
}
/* 남아 있던 장식 세리프 숫자도 산세리프 고정폭으로 */
html.sa10 .side-list em, html.sa10 .side-stay b, html.sa10 .cl-price em, html.sa10 .pkg-lines b, html.sa10 .pkg-stay b, html.sa10 .dr-nums b, html.sa10 .delta b,
html.sa10 .am-hl b, html.sa10 .demo-bars b, html.sa10 .cl-score b, html.sa10 .cl-tabs button small, html.sa10 .rev-tagf button small, html.sa10 .idx .sag i, html.sa10 .rev-n {
  font-family: var(--sans) !important; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
html.sa10 .side-list em, html.sa10 .cl-price em, html.sa10 .pkg-lines b { font-size: 16px; line-height: 1.3; }
html.sa10 .side-stay b, html.sa10 .pkg-stay b, html.sa10 .dr-nums b { font-size: 32px; line-height: 1.1; }
html.sa10 .cl-score b { font-size: 24px; }
/* 홈 가격 카드: 단위 설명 길이가 달라도 가격은 같은 줄(카드 아래)에 */
html.sa10 .price-cell { grid-template-rows: auto auto 1fr auto; }
html.sa10 .price-cell .pc-price { align-self: end; }
.nobr { white-space: nowrap; }
/* 비교 카드 시술별 가격: 금액은 한 줄, 단위 설명이 대신 줄바꿈 */
html.sa10 .c-lines li > span:last-child { flex: none; white-space: nowrap; text-align: right; }
html.sa10 .c-lines li > span:first-child { min-width: 0; }
