/* drchoice.site 전용 디자인 (11-05) — '한눈에 보는 표'. 첫 화면 자체가 표: 줄 = 시술, 칸 = 궁금한 점.
   남색 잉크 + 형광펜 노랑 하나 — 칸에 손을 대면 그 줄과 칸 머리에 형광펜이 그어진다. 글꼴은 SUIT 하나. */
:root {
  --paper: #FFFFFF;
  --ground: #F4F5F8;
  --ink: #1B2440;
  --ink-2: #4A5370;
  --ink-3: #687089;
  --rule: #DADDE6;
  --mark: #FFE14D;
  --mark-soft: #FFF6C7;
  --link: #2B46A6;
  --font: 'SUIT Variable', 'SUIT', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 광고 표시 — 모든 페이지 맨 위 (지우지 말 것) */
.ad-band { background: var(--ink); color: #E6E9F2; font-size: 13px; line-height: 1.55; padding: 9px 20px; text-align: center; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.mark { display: grid; grid-template-columns: 8px 8px; gap: 2px; }
.mark i { width: 8px; height: 8px; background: var(--ink); }
.mark i:nth-child(2) { background: var(--mark); box-shadow: inset 0 0 0 1.5px var(--ink); }
.nav { display: flex; gap: 2px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 7px 12px; border-radius: 4px; white-space: nowrap; }
.nav a:hover { background: var(--ground); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--mark); color: var(--ink); }

/* 표 위치 표시 — 네 칸 중 이 글의 칸에 형광펜 (카드·글 머리·시술 페이지) */
.pos { display: inline-grid; grid-template-columns: repeat(4, 9px); gap: 2px; vertical-align: middle; }
.pos i { width: 9px; height: 9px; box-shadow: inset 0 0 0 1.5px #A3A9BB; }
.pos.p1 i:nth-child(1), .pos.p2 i:nth-child(2), .pos.p3 i:nth-child(3), .pos.p4 i:nth-child(4) { background: var(--mark); box-shadow: inset 0 0 0 1.5px var(--ink); }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; line-height: 1.4; }
.addr .rowl { font-weight: 800; color: var(--ink); }
.coll { font-weight: 600; color: var(--ink-2); background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 2px; }
.date { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sec-title { font-size: 26px; }

/* 첫 화면 — 제목과 표 */
.hero { padding: 52px 0 80px; }
.hero-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.18; letter-spacing: -0.04em; }
.hero .lede { margin-top: 12px; font-size: 19px; color: var(--ink-2); }
.hero .tally { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); text-align: right; margin-left: auto; } /* 제목이 길어 줄이 넘어가도 오른쪽 끝 (영어판) */
.how-to { margin-top: 36px; font-size: 15.5px; color: var(--ink-2); }

.chart-wrap { scroll-margin-top: 120px; margin-top: 14px; overflow-x: auto; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); }
.chart { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; }
.chart th, .chart td { text-align: left; vertical-align: top; }
.chart thead th { background: var(--ink); color: #FFFFFF; padding: 16px 18px 15px; border-left: 1px solid #3A4466; transition: background-color .12s ease, color .12s ease; }
.chart thead th:first-child { border-left: 0; }
.chart .corner { width: 188px; font-size: 14px; font-weight: 600; color: #B9C0D6; vertical-align: bottom; }
.chart .ql { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.chart .qd { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; line-height: 1.5; color: #B9C0D6; }
.chart tbody th { position: sticky; left: 0; z-index: 1; width: 188px; padding: 16px 18px; background: var(--paper); border-top: 1px solid var(--rule); transition: background-color .12s ease; }
.chart tbody th a { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; }
.chart tbody th a:hover { text-decoration: underline; text-underline-offset: 4px; }
.chart tbody th .n { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart td { padding: 14px 18px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); transition: background-color .12s ease; }
.chart tbody tr:first-child th, .chart tbody tr:first-child td { border-top: 0; }
.chart td ul { list-style: none; margin: 0; padding: 0; }
.chart td li + li { margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--rule); }
.chart td a { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; }
.chart td a:hover, .chart td a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.chart td .none { display: block; color: #BBC0CE; font-size: 18px; line-height: 1.2; }
/* 넓은 화면 — 표를 내려 읽는 동안 칸 머리가 헤더 아래 붙어 있게 (가로 스크롤 상자를 풀어야 붙는다) */
@media (min-width: 961px) {
  .chart-wrap { overflow: visible; }
  .chart thead th { position: sticky; top: 66px; z-index: 2; }
  .chart thead th:first-child { border-top-left-radius: 4px; }
  .chart thead th:last-child { border-top-right-radius: 4px; }
}
/* 칸에 손을 대면 — 그 칸, 그 줄 머리, 그 칸 머리에 형광펜 */
.chart td:not(.empty):hover, .chart td:not(.empty):focus-within { background: var(--mark-soft); }
.chart tbody tr:has(td:not(.empty):hover, td:not(.empty):focus-within) th { background: var(--mark); }
.chart:has(td.c1:not(.empty):hover, td.c1:not(.empty):focus-within) thead .q1,
.chart:has(td.c2:not(.empty):hover, td.c2:not(.empty):focus-within) thead .q2,
.chart:has(td.c3:not(.empty):hover, td.c3:not(.empty):focus-within) thead .q3,
.chart:has(td.c4:not(.empty):hover, td.c4:not(.empty):focus-within) thead .q4 { background: var(--mark); color: var(--ink); }
.chart:has(td.c1:not(.empty):hover, td.c1:not(.empty):focus-within) thead .q1 .qd,
.chart:has(td.c2:not(.empty):hover, td.c2:not(.empty):focus-within) thead .q2 .qd,
.chart:has(td.c3:not(.empty):hover, td.c3:not(.empty):focus-within) thead .q3 .qd,
.chart:has(td.c4:not(.empty):hover, td.c4:not(.empty):focus-within) thead .q4 .qd { color: var(--ink-2); }

/* 줄 목록 (새 글·시술 페이지·관련 글) — 왼쪽에 표 위치, 오른쪽에 글 */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rows .card { border-bottom: 1px solid var(--rule); }
.card > a { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 32px; padding: 20px 0; }
.card .addr { grid-row: 1 / span 3; align-self: start; padding-top: 4px; }
.card h3, .card .ex, .card .date { grid-column: 2; }
.card h3 { font-size: 19px; line-height: 1.45; font-weight: 700; }
.card .ex { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .date { display: block; margin-top: 6px; }
.card > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.latest { padding: 72px 0 72px; background: var(--ground); }
.latest .rows { margin-top: 22px; }

/* 병원 안내 — 표 밖 글자 띠 */
.visit { padding: 64px 0 68px; }
.visit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.visit h2 { font-size: 26px; }
.visit-head p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
.all { font-size: 14.5px; font-weight: 700; color: var(--link); }
.all:hover { text-decoration: underline; text-underline-offset: 3px; }
.visit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.visit li a { display: block; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.visit .t { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; }
.visit .ex { display: -webkit-box; margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--ink-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.visit .date { display: block; margin-top: 6px; }
.visit li a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* 전체 글 — 표 */
.archive { padding: 72px 0 96px; background: var(--ground); scroll-margin-top: 70px; }
.list { margin-top: 22px; width: 100%; border-collapse: collapse; background: var(--paper); border: 2px solid var(--ink); }
.list thead th { padding: 11px 16px; background: var(--ink); color: #FFFFFF; font-size: 13.5px; font-weight: 700; text-align: left; }
.list td { padding: 12px 16px; border-top: 1px solid var(--rule); vertical-align: top; font-size: 15px; line-height: 1.5; }
.list .d { width: 120px; white-space: nowrap; }
.list .r { width: 160px; font-weight: 700; }
.list .k { width: 140px; color: var(--ink-2); }
.list .t a { font-weight: 500; }
.list .t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.list tbody tr:hover { background: var(--mark-soft); }

/* 시술·태그·목록 페이지 */
.sec-hero { padding: 44px 0 40px; background: var(--ground); border-bottom: 1px solid var(--rule); }
.crumb { font-size: 13.5px; color: var(--ink-3); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb span[aria-hidden] { margin: 0 9px; color: #A9AFC0; }
.sec-hero h1 { margin-top: 14px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.16; letter-spacing: -0.04em; }
.sec-hero .sub { margin-top: 10px; font-size: 18px; color: var(--ink-2); max-width: 36em; }
.sec-hero .count { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }
.row-view { padding: 44px 0 96px; }
.cell { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 32px; padding: 26px 0; border-top: 2px solid var(--ink); }
.cell-head h2 { margin-top: 10px; font-size: 21px; }
.cell-head p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.cell .rows { border-top: 0; }
.cell .rows .card:last-child { border-bottom: 0; }
.cell .card > a { grid-template-columns: minmax(0, 1fr); padding: 0 0 18px; }
.cell .card + .card > a { padding-top: 18px; }
.cell .card .addr { display: none; }
.cell .card h3, .cell .card .ex, .cell .card .date { grid-column: 1; }
.cell.empty .cell-head h2 { color: var(--ink-3); }
.cell .none { align-self: center; font-size: 15px; color: var(--ink-3); }
.other-rows { margin-top: 24px; padding-top: 26px; border-top: 2px solid var(--ink); }
.other-rows h2 { font-size: 17px; }
.other-rows ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.other-rows a { display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 4px; font-size: 15px; font-weight: 700; }
.other-rows .n { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.other-rows a:hover { border-color: var(--ink); }
.other-rows a[aria-current] { background: var(--mark); border-color: var(--ink); }
.grid-list { padding: 40px 0 96px; }
.pager { margin-top: 48px; display: flex; justify-content: center; gap: 6px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; font-size: 14px; }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* 글 페이지 */
.post-head { padding: 34px 0 34px; background: var(--ground); border-bottom: 1px solid var(--rule); }
.post-head .wrap { max-width: 1120px; }
.addr.big { margin-top: 20px; font-size: 15px; gap: 6px 12px; }
.addr.big .pos { grid-template-columns: repeat(4, 12px); }
.addr.big .pos i { width: 12px; height: 12px; }
.post-head h1 { margin-top: 12px; max-width: 22em; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.32; letter-spacing: -0.035em; }
.post-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.post-layout { max-width: 1120px; margin: 0 auto; padding: 36px 28px 88px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.rail { position: sticky; top: 88px; display: grid; gap: 28px; }
.rail h2 { font-size: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.rail ul { list-style: none; margin: 0; padding: 0; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; }
.toc li a { display: block; padding: 6px 0 6px 14px; border-left: 3px solid var(--rule); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.toc li a:hover, .toc li a.on { border-left-color: var(--ink); color: var(--ink); }
.rail .more li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.45; }
.rail .more .coll, .rail .more .rowl { display: inline-block; margin-bottom: 3px; font-size: 12.5px; }
.rail .more .rowl { font-weight: 800; }
.rail .more .t { display: block; }
.rail .more a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.back { font-size: 14.5px; font-weight: 700; color: var(--link); }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }

.post-body { font-size: 17.5px; line-height: 1.88; color: #283049; max-width: 40em; }
.post-body > * + * { margin-top: 1.15em; }
.post-body > aside.site-disclosure { margin: 0 0 1.6em !important; }
.post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 19px; line-height: 1.8; color: var(--ink); }
.post-body h1, .post-body h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.42; scroll-margin-top: 90px; display: flex; gap: 12px; align-items: baseline; }
.post-body h2::before, .post-body h1::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--mark); box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-2px); }
.post-body h3 { margin-top: 1.9em; font-size: 19.5px; line-height: 1.45; }
.post-body h2 + *, .post-body h3 + * { margin-top: .7em; }
.post-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(43, 70, 166, .35); }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; } .post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--ink-3); }
.post-body figure { margin: 2em 0; }
.post-body figure img, .post-body > img, .post-body p img { width: 100%; border-radius: 6px; }
/* 로고 — 흰 글씨 로고와 검은 글씨 로고가 둘 다 보이게 중간 회색 바탕 (어두운 바탕이면 검은 로고가 사라진다) */
.post-body img[alt*="로고"], .post-body img[alt*="logo" i] { width: auto; max-width: min(100%, 320px); padding: 20px 28px; background: #7F8A94; border-radius: 6px; }
.post-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.post-body blockquote { margin: 1.6em 0; padding: .6em 1.2em; border-left: 3px solid var(--ink); background: var(--ground); color: var(--ink-2); }
.post-body .overflow-x-auto { overflow-x: auto; margin: 1.8em 0; border: 2px solid var(--ink); border-radius: 6px; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.post-body th, .post-body td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); min-width: 5.5em; }
.post-body thead th { background: var(--ink); color: #FFFFFF; font-weight: 700; white-space: nowrap; }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body details { border-top: 1px solid var(--rule); padding: 12px 0; }
.post-body summary { cursor: pointer; font-weight: 700; }
.post-body p[class*="border-t"], .post-body .disclaimer { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.post-body small { font-size: 13.5px; color: var(--ink-3); }

.post-foot { margin-top: 48px; max-width: 40em; }
.post-foot .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-foot .tags a { font-size: 13.5px; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink-2); }
.post-foot .tags a:hover { border-color: var(--ink); color: var(--ink); }
.pn { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--rule); padding-top: 20px; }
.pn a { display: block; }
.pn small { display: block; font-size: 13px; color: var(--ink-3); }
.pn span { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.pn a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.pn .next { text-align: right; }
.sources { margin-top: 40px; max-width: 40em; padding: 20px 22px; background: var(--ground); border-radius: 6px; font-size: 14px; }
.sources h2 { font-size: 16px; }
.sources ol { margin: 10px 0 0; padding-left: 1.2em; }
.related { padding: 64px 0 96px; background: var(--ground); border-top: 1px solid var(--rule); }
.related .rows { margin-top: 22px; }

/* 푸터 */
.foot { background: var(--ink); color: #B9C0D6; padding: 56px 0 40px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.foot .brand { color: #FFFFFF; }
.foot .mark i { background: #FFFFFF; }
.foot .mark i:nth-child(2) { background: var(--mark); box-shadow: none; }
.foot .about-site { margin-top: 14px; max-width: 28em; }
.foot h2 { font-size: 14px; color: #FFFFFF; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot li .n { color: #8A93AE; margin-left: 2px; }
.foot a:hover { color: #FFFFFF; text-decoration: underline; }
.foot .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot .disclosure { margin-top: 40px; padding-top: 20px; border-top: 1px solid #343E5E; color: #DDE1EC; font-size: 13px; line-height: 1.6; }
.foot .copy { margin-top: 10px; font-size: 12.5px; color: #8A93AE; }

@media (max-width: 1040px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rail { position: static; }
  .rail .toc { display: none; }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card > a, .cell { grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; }
}
/* 작은 화면 — 표를 시술마다 한 덩어리로 펴고, 빈 칸은 숨긴다 (칸 이름은 칸마다 위에) */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .top .wrap { gap: 12px; height: 58px; }
  .brand { font-size: 18px; }
  .nav { font-size: 14px; }
  .nav a { padding: 6px 8px; }
  .hero { padding: 32px 0 56px; }
  .hero .lede { font-size: 17px; }
  .hero .tally { text-align: left; margin-left: 0; }
  .how-to { display: none; }
  .chart-wrap { margin-top: 28px; scroll-margin-top: 70px; }
  .chart-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .chart { min-width: 0; display: block; }
  .chart thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chart tbody, .chart tr { display: block; }
  .chart tr { margin-top: 14px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
  .chart tbody th { position: static; display: flex; width: auto; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; background: var(--ink); color: #FFFFFF; border: 0; }
  .chart tbody th .n { color: #B9C0D6; margin: 0; }
  .chart tbody tr:has(td:not(.empty):hover, td:not(.empty):focus-within) th { background: var(--ink); }
  .chart td { display: block; padding: 12px 16px; border: 0; border-top: 1px solid var(--rule); }
  .chart tbody tr td:nth-child(2) { border-top: 0; }
  .chart td::before { content: attr(data-q); display: inline-block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 2px; }
  .chart td.empty { display: none; }
  .chart tbody tr:first-child td { border-top: 1px solid var(--rule); }
  .card > a, .cell { grid-template-columns: minmax(0, 1fr); }
  .card .addr { grid-row: auto; padding-top: 0; margin-bottom: 6px; }
  .card h3, .card .ex, .card .date { grid-column: 1; }
  .card h3 { font-size: 17.5px; }
  .cell-head { margin-bottom: 14px; }
  .visit ul { grid-template-columns: minmax(0, 1fr); }
  .list thead { display: none; }
  .list, .list tbody, .list tr { display: block; }
  .list { border-width: 2px 0 0; background: none; }
  .list tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .list td { display: inline; padding: 0; border: 0; font-size: 13.5px; }
  .list .d, .list .r, .list .k { width: auto; }
  .list .r, .list .k { margin-left: 8px; }
  .list .t { display: block; margin-top: 4px; font-size: 15.5px; }
  .list tbody tr:hover { background: none; }
  .post-layout { padding: 24px 20px 56px; }
  .post-body { font-size: 16.5px; }
  .post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 17.5px; }
  .post-body h1, .post-body h2 { font-size: 22px; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn .next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 11-05 다국어 — 언어 고르기(머리말 오른쪽, 펼치는 목록) */
.langs { position: relative; flex: none; font-size: 14px; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink-2); cursor: pointer; white-space: nowrap; font-weight: 600; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { border-color: var(--ink); color: var(--ink); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 140px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--ink); border-radius: 4px; box-shadow: 0 10px 28px rgba(27, 36, 64, .16); }
.langs a { display: block; padding: 7px 10px; border-radius: 3px; color: var(--ink); }
.langs a:hover { background: var(--ground); }
.langs a[aria-current] { font-weight: 800; background: var(--mark); }
.top .nav { min-width: 0; }
@media (max-width: 760px) {
  .top .wrap { gap: 8px; }
  .brand { min-width: 0; font-size: 16px; }
  .langs summary { padding: 5px 8px; }
}
/* 일본어·중국어: keep-all 은 한자·가나 사이 줄바꿈을 막는다 → 보통 줄바꿈 + 그 언어 글꼴 */
:lang(ja), :lang(zh) { word-break: normal; line-break: strict; }
html:lang(ja) { --font: 'Noto Sans JP', 'SUIT Variable', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif; }
html:lang(zh) { --font: 'Noto Sans SC', 'SUIT Variable', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; }

/* 11-05 일본어 — 낱말(구) 단위로 줄바꿈 (지원 브라우저만, 나머지는 보통 줄바꿈) */
:lang(ja) { word-break: auto-phrase; }

/* 11-05 여러 병원 공용 — 병원이 둘 이상일 때 목록 카드마다 '광고 · 병원 이름' (글 첫머리 광고 표시와 같은 호박색) */
.mag-ad{display:block;width:fit-content;margin:.3rem 0 .2rem;padding:1px 7px;border:1px solid #e7c873;border-radius:3px;background:#fffbeb;color:#78350f;font-size:.75rem;font-weight:600;line-height:1.5;letter-spacing:0}
