
/* 다듬기 층 (_tools/polish_v9.py, 박원장 261027) */
/* A1 오시는 길 쪽: 메인의 짙은 #location 규칙이 새어 흰 글씨가 됨 → 이 쪽은 밝은 바탕에 맞게 */
html body section#location:not(.loc) h2{color:#1D1D1F!important}
html body section#location:not(.loc) .maps .btn-line{color:#1D1D1F!important;background:#fff!important;border:1px solid #D2D2D7!important}
html body section#location:not(.loc) .maps .btn-line:hover{background:#F5F5F7!important}
/* C FAQ 'Q01' 배지 숨김(질문 글이 앞 칸까지 쓰게) · '이런 분께' 목록 번호 → 작은 점 */
summary > .qn{display:none!important}
summary:has(> .qn){grid-template-columns:1fr auto!important}
details:has(> summary > .qn) > :not(summary){padding-left:0!important;margin-left:0!important}
#for ol > li{grid-template-columns:18px 1fr!important}#for ol > li > span.n{font-size:0!important;line-height:0!important;width:6px!important;height:6px!important;min-width:0!important;padding:0!important;border-radius:50%!important;background:#1D1D1F!important;align-self:center!important;color:transparent!important;border:0!important}
/* D 옛 따뜻한 톤 → 쿨톤 */
.hrs-board .hb-top{background:#F5F5F7!important}
.doc .dhl{background:none!important;border-left:0!important;padding-left:0!important;font-weight:600!important}
article.ev .tag{background:#fff!important;color:#1D1D1F!important;border:1px solid #1D1D1F!important}
.ct-pf a{background:#F5F5F7!important}
.ex-herb figure,section.fc figure{background-color:#F5F5F7!important}
/* 폰 섹션 위아래 여백 72·56px → 48px (박원장 261027 "간격을 줄이는 건 어때") — 히어로·짧은 띠(#other)는 그대로 */
@media (max-width:760px){html body section[id]:not(.n9-hero):not(#other):not(.other):not(#top),html body main > section:not([id]):not(.n9-hero):not(.other){padding-top:48px!important;padding-bottom:48px!important}html body section:not(.n9-hero){--sec-pad:48px}}
/* 메인 '어떤 고민으로 오셨나요?' PC 높이 줄이기 (박원장 261027 "너무 세로로 넓다") — 글·링크는 그대로, 목록 줄만 촘촘하게. 큰 사진 카드를 낮은 띠로 줄인 것은 원장 "이게 줄은 건 별론데"로 되돌림 */
@media (min-width:761px){html body #ways .n9-svc{margin-top:32px}html body #ways .n9-svc dl{gap:6px}html body #ways .n9-svc dl > div{grid-template-columns:44px 1fr!important;gap:2px 16px;padding:8px 14px 8px 10px!important}html body #ways .n9-svc .th{width:44px;height:44px;border-radius:9px}}
/* 메인 히어로 글자 위계·여백 (박원장 261027 시안 A, 261030 영문 구호 뺌) — 영상은 그대로, 한글 제목이 주인공. 하위 쪽 히어로와 같은 클래스라 메인(#heroVid 있는 쪽)에만 */
@media (min-width:761px){html:has(#heroVid) body .n9-hero .n9-mk{font-size:13px!important;letter-spacing:.16em!important;color:rgba(255,255,255,.8)!important}html:has(#heroVid) body .n9-hero .n9-en{font-size:clamp(48px,4.4vw,66px)!important;line-height:1!important;margin-top:26px!important;letter-spacing:-.005em!important}html:has(#heroVid) body .n9-hero h1{font-size:clamp(44px,4.4vw,68px)!important;font-weight:650!important;letter-spacing:-.04em!important;line-height:1.18!important;margin-top:22px!important;max-width:9.6em!important}html:has(#heroVid) body .n9-hero .n9-sub{font-size:18px!important;line-height:1.6!important;color:rgba(255,255,255,.88)!important;margin-top:18px!important}html:has(#heroVid) body .n9-hero .n9-btns{margin-top:40px!important;gap:12px!important}html:has(#heroVid) body .n9-hero .n9-btns .btn{min-height:54px!important;padding:0 32px!important;font-size:16px!important}}
@media (max-width:760px){html:has(#heroVid) body .n9-hero .n9-en{font-size:38px!important;margin-top:18px!important}html:has(#heroVid) body .n9-hero h1{font-size:36px!important;line-height:1.2!important;letter-spacing:-.04em!important;margin-top:14px!important}html:has(#heroVid) body .n9-hero .n9-sub{font-size:16px!important;color:rgba(255,255,255,.88)!important}}
/* 메인 섹션마다 주인공 다르게 (박원장 261027 시안 B — 의료진 얼굴 키우기는 "다 잘림" 으로 뺌). PC만, 폰은 그대로
   연구 = 짙은 띠 위 큰 숫자 · 이벤트 = 가격을 제목 위로 크게 */
@media (min-width:761px){html:has(#heroVid) body #study{background:#1D1D1F!important}html:has(#heroVid) body #study h2,html:has(#heroVid) body #study .n9-lead,html:has(#heroVid) body #study p,html:has(#heroVid) body #study b,html:has(#heroVid) body #study .n9-src *,html:has(#heroVid) body #study .n9-num,html:has(#heroVid) body #study .n9-num small,html:has(#heroVid) body #study a.more{color:#fff!important}html:has(#heroVid) body #study .n9-num span{color:#EFA530!important}html:has(#heroVid) body #study .n9-cap,html:has(#heroVid) body #study .n9-note,html:has(#heroVid) body #study .n9-src small,html:has(#heroVid) body #study .n9-src span{color:rgba(255,255,255,.62)!important}html:has(#heroVid) body #study b.hl{background:none!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.5)}html:has(#heroVid) body #study svg text{fill:rgba(255,255,255,.62)!important}html:has(#heroVid) body #study svg line,html:has(#heroVid) body #study svg .gl line,html:has(#heroVid) body #study svg .gl path{stroke:rgba(255,255,255,.14)!important}}
/* SHORT3-BEGIN */
/* 폰 긴 섹션 3곳 줄이기 (박원장 261027 시안 "아주 좋고 아크로컷 연구는 더 줄여도 됨") — 메인 다이어트·오시는 길·아크로컷 연구, 글은 그대로 */
@media (max-width:760px){
  /* ① 메인 다이어트: 단계 번호와 제목 한 줄, 링크 두 개 나란히, 위고비 칸 여백·글 크기 줄임 */
  html:has(#heroVid) body #diet .v7-diet-g .phw{padding-bottom:18px!important}
  html:has(#heroVid) body #diet .v7-diet-g .ph{height:120px!important}
  html:has(#heroVid) body #diet aside.v7-glp figure.gp svg{max-height:96px!important}
  html:has(#heroVid) body #diet p.txt{margin-top:12px!important;font-size:15px!important;line-height:1.65!important}
  html:has(#heroVid) body #diet ol.v7-flow{margin-top:18px!important}
  html:has(#heroVid) body #diet ol.v7-flow{gap:12px!important}
  html:has(#heroVid) body #diet ol.v7-flow li{padding-bottom:2px!important}
  html:has(#heroVid) body #diet ol.v7-flow li > .st{display:inline-block!important;margin-right:8px!important;vertical-align:baseline}
  html:has(#heroVid) body #diet ol.v7-flow li > h3{display:inline!important;font-size:16px!important;margin:0!important}
  html:has(#heroVid) body #diet ol.v7-flow li > p{margin-top:3px!important;font-size:13.5px!important;line-height:1.55!important}
  html:has(#heroVid) body #diet .v7-dlinks{display:flex!important;flex-wrap:wrap;gap:4px 20px;margin-top:6px}
  html:has(#heroVid) body #diet aside.v7-glp{margin-top:32px!important;padding:20px 16px 0!important}
  html:has(#heroVid) body #diet aside.v7-glp h3{font-size:20px!important;margin-top:4px!important}
  html:has(#heroVid) body #diet aside.v7-glp p.m{font-size:14.5px!important;line-height:1.6!important;margin-top:10px!important}
  html:has(#heroVid) body #diet aside.v7-glp .lt{padding-bottom:14px!important}
  html:has(#heroVid) body #diet aside.v7-glp a.more{margin-top:10px!important}
  html:has(#heroVid) body #diet aside.v7-glp figure.gp{padding:12px 12px 8px!important}
  html:has(#heroVid) body #diet aside.v7-glp figure.gp figcaption{font-size:13px!important}
  html:has(#heroVid) body #diet aside.v7-glp p.gn{font-size:13px!important;line-height:1.5!important;margin-top:4px!important}
  html:has(#heroVid) body #diet aside.v7-glp .ft{padding:8px 16px 12px!important}
  html:has(#heroVid) body #diet aside.v7-glp .ft p.src{font-size:10.5px!important;line-height:1.45!important}

  /* ② 오시는 길: 표 줄 간격, 지도 단추 낮게, 걸어오실 때 촘촘하게 */
  /* 폰: 구글 지도 상자는 빼고(아래 약도 + 네이버지도·구글맵 단추가 같은 일을 함) */
  html:has(.lc-steps) body #location .gmap{display:none!important}
  html:has(.lc-steps) body #location p.lc-cap{font-size:15px!important;line-height:1.65!important}
  html:has(.lc-steps) body #location dl{margin-top:18px!important}
  html:has(.lc-steps) body #location dl > div{padding:7px 0!important}
  html:has(.lc-steps) body #location dl dd{font-size:15px!important;line-height:1.5!important}
  html:has(.lc-steps) body #location dl dd small,html:has(.lc-steps) body #location dl dd span,html:has(.lc-steps) body #location dl dd em{font-size:13px!important;line-height:1.45!important}
  html:has(.lc-steps) body #location .maps{margin-top:16px!important}
  html:has(.lc-steps) body #location .maps .btn{min-height:40px!important;height:40px!important}
  html:has(.lc-steps) body #location .lc-steps{margin-top:28px!important}
  html:has(.lc-steps) body #location .lc-steps h3{font-size:18px!important}
  html:has(.lc-steps) body #location .lc-steps li{padding:11px 0!important}
  html:has(.lc-steps) body #location .lc-steps li span{font-size:15px!important;line-height:1.5!important}

  /* ③ 아크로컷 연구: 카드 안 여백·글 크기, 수치 줄 간격 */
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts{margin-top:18px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts li{padding:8px 6px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts p.s{font-size:12px!important;line-height:1.4!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper{margin-top:18px!important;padding:14px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper h3{font-size:20px!important;margin-top:8px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.d{font-size:14px!important;line-height:1.6!important;margin-top:6px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.an-lb{margin-top:10px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper ul.nums{margin-top:8px!important;padding-top:8px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper ul.nums b{font-size:24px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.anote{font-size:12px!important;line-height:1.45!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.src{margin-top:6px!important;font-size:10.5px!important;line-height:1.4!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .two2{margin-top:14px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .two2 .mini{padding:14px!important}
  /* 폰: 막대 그림은 빼고 바로 아래 큰 숫자(−44.1% · −38.9%)로 — 같은 수치라 */
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper > figure,html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper figure:has(img[src*="cut_study_chart"]){display:none!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini figure img{height:108px!important;width:100%!important;object-fit:contain!important}
  /* 더 줄이기(원장 "아크로컷 연구는 더 줄여도 됨") */
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .hd6 p.d6-p{font-size:15px!important;margin-top:8px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts{margin-top:14px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts li{padding:6px 4px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts p.k{font-size:12px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts b{margin-top:2px!important;font-size:14px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study ul.facts p.s{margin-top:2px!important;font-size:11.5px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper{margin-top:14px!important;padding:12px 14px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.tag,html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini p.tag{font-size:12px!important;padding:3px 10px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper h3{font-size:18px!important;margin-top:6px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.d{font-size:13.5px!important;line-height:1.55!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.an-lb{display:inline-block;margin-top:8px!important;font-size:12.5px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper ul.nums b{font-size:22px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper ul.nums span{font-size:12px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .paper p.anote{font-size:10.5px!important;line-height:1.4!important;margin-top:4px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .two2 .mini{padding:12px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini ul.pl li{font-size:10.5px!important;padding:1px 0!important;line-height:1.45!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini p.an-lb{margin-top:8px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini ul.nums{margin-top:8px!important;padding-top:8px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study .mini p.ch{font-size:10.5px!important;margin-top:4px!important}
  html:has(link[rel=canonical][href$="/acro-cut"]) body #study p.foot{margin-top:8px!important;font-size:10.5px!important;line-height:1.45!important}
}
/* SHORT3-END */
/* 작성·감수 줄의 수정일은 항상 자기 줄에 — 폰에서 줄바꿈이 사라져 '신논현 최근 / 수정 …' 로 읽히던 것 (261030) */
p.by time{display:block}
/* 오시는 길 폰 1.3장 안으로 (박원장 261030, 스킬 설치 창) — 약도는 화면 폭 그대로, 표 왼쪽 칸을 좁혀 글이 덜 접히게 */
@media (max-width:760px){
  html:has(.lc-steps) body #location{padding-top:32px!important;padding-bottom:32px!important}
  html:has(.lc-steps) body #location h2{font-size:24px!important}
  html:has(.lc-steps) body #location p.lc-cap{margin-top:8px!important;font-size:13.5px!important;line-height:1.55!important}
  html:has(.lc-steps) body #location dl{margin-top:12px!important}
  html:has(.lc-steps) body #location dl > div{grid-template-columns:56px 1fr!important;gap:0 8px!important;padding:5px 0!important}
  html:has(.lc-steps) body #location dl dt{font-size:13px!important;padding-top:0!important}
  html:has(.lc-steps) body #location dl dd{font-size:13.5px!important;line-height:1.45!important}
  html:has(.lc-steps) body #location dl dd small,html:has(.lc-steps) body #location dl dd span,html:has(.lc-steps) body #location dl dd em{font-size:12px!important;line-height:1.4!important}
  html:has(.lc-steps) body #location .maps{margin-top:10px!important}
  html:has(.lc-steps) body #location .maps .btn{min-height:44px!important;height:44px!important}
  html:has(.lc-steps) body #location .lc-steps{margin-top:14px!important;gap:12px!important}
  html:has(.lc-steps) body #location .lc-steps h3{font-size:16px!important;padding-bottom:6px!important}
  html:has(.lc-steps) body #location .lc-steps li{padding:6px 0!important;grid-template-columns:28px 1fr!important}
  html:has(.lc-steps) body #location .lc-steps li span{font-size:13.5px!important;line-height:1.45!important}
  html:has(.lc-steps) body #location .lc-steps li span small,html:has(.lc-steps) body #location .lc-steps li span em{font-size:12px!important}
}
/* SHORT7-BEGIN */
/* 폰 긴 섹션 7곳 더 줄이기 (박원장 261027 "이런 식으로 줄여봐" → 시안 확정 "7곳도 시안대로 넣고") — 글은 그대로, 여백·글 크기·배치만 */
@media (max-width:760px){
  /* GLP-1 이후 관리 · 근거 */
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .rec2{margin-top:22px!important;padding:16px 14px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .rec2 p.tag{font-size:12.5px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .g2{margin-top:10px!important;gap:10px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .g2 ul.lg li{font-size:12.5px!important;line-height:1.4!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .g2 ul.lg li *{font-size:inherit!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .st p.b146 b{font-size:54px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .st p.b146{font-size:14.5px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .g2 svg{max-height:130px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .st p.b146{padding-bottom:10px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .st ul li{padding-top:4px!important;padding-bottom:4px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence ul.nt{margin-top:12px!important;padding-top:10px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .bk2{margin-top:12px!important;padding:14px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .bk2 h3{font-size:17px!important}
  html:has(link[rel=canonical][href$="/diet-glp1-maintenance"]) body #evidence .bk2 p.gds{font-size:13.5px!important;line-height:1.55!important}
  /* 메인 · 전후 사진 + 후기 */
  html:has(#heroVid) body #reviews .n9-cases{margin-top:0!important}
  html:has(#heroVid) body #reviews .n9-head{margin-bottom:14px!important}
  html:has(#heroVid) body #reviews .n9-cinfo p.part{font-size:22px!important}
  html:has(#heroVid) body #reviews .n9-cinfo p.cap{margin-top:4px!important;font-size:13.5px!important}
  html:has(#heroVid) body #reviews .n9-cinfo ul.n9-clist{margin-top:12px!important}
  html:has(#heroVid) body #reviews .n9-cinfo p.hint{margin-top:6px!important;font-size:10.5px!important}
  html:has(#heroVid) body #reviews .sian-strip{margin-top:24px!important}
  html:has(#heroVid) body #reviews .v7-strip{padding:14px 0!important}
  html:has(#heroVid) body #reviews .v7-strip .tot b{font-size:34px!important}
  html:has(#heroVid) body #reviews p.v7-meta{margin-top:8px!important}
  /* 프로그램 안내 · 진행 일정 */
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important;margin-top:10px!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tlb{margin-top:22px!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .wg svg{max-height:90px!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tph{padding:8px 0!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tph img.pd{height:56px!important;width:auto!important;max-height:56px!important;object-fit:contain!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tph b{margin-top:2px!important;font-size:20px!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tph p.rx{margin-top:4px!important}
  html:has(link[rel=canonical][href$="/diet-program-guide"]) body #timeline .tph p{margin-top:4px!important;font-size:13px!important;line-height:1.5!important}
  /* 슈링크 · 팁 5가지: 깊이(mm)를 왼쪽, 설명을 오른쪽 */
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .g{margin-top:18px!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .g ul{display:block!important;grid-template-columns:none!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .g ul > li{width:auto!important;border-bottom:1px solid var(--line,#e5e5ea);display:grid!important;grid-template-columns:72px 1fr!important;gap:0 12px!important;align-items:start!important;padding:10px 0!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .g ul > li > b{font-size:24px!important;line-height:1.2!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips .g ul > li > div{font-size:13.5px!important;line-height:1.5!important}
  html:has(link[rel=canonical][href$="/shurink-universe"]) body #tips figure figcaption{font-size:10.5px!important;padding:6px 10px!important}
  /* 아크로 다이어트 · 처방(S캡슐·맞춤탕약) */
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6two{margin-top:22px!important;gap:10px!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6two p.t{font-size:13.5px!important;line-height:1.5!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6two dl.rx-cmp{margin-top:8px!important;padding-top:8px!important;font-size:12.5px!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6two a.more{margin-top:8px!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6-note2{margin-top:20px!important;padding-top:16px!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6-note2 h4{padding-top:6px!important;font-size:16px!important}
  html:has(link[rel=canonical][href$="/diet-herbal-medicine"]) body #prescription .d6-note2 p{font-size:13.5px!important;line-height:1.55!important}
  /* 안전성 · 설문 */
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important;margin-top:10px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey .s6g{margin-top:20px!important;gap:10px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey .s6c{padding:16px 14px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey .s6c h3{padding-bottom:10px!important;font-size:16px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey ul.s6v{height:130px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey ul.s6v li{height:130px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #survey p.d6-note{margin-top:12px!important}
  /* 안전성 · 카카오톡 케어 */
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care .hd6 p.d6-p{font-size:14.5px!important;line-height:1.6!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care .tlw{margin-top:18px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ol.tl6 li{padding-bottom:10px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ol.tl6 li p.stp{display:inline-block!important;margin:0 8px 0 0!important;font-size:12px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ol.tl6 li h3{display:inline!important;font-size:16px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ol.tl6 li > p:not(.stp){margin-top:3px!important;font-size:13.5px!important;line-height:1.5!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care p.tool6-h{margin-top:22px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ul.tool6{margin-top:10px!important}
  html:has(link[rel=canonical][href$="/diet-safety-care"]) body #care ul.tool6 li{padding:10px!important}
  /* 두통 · 진행 과정 */
  html:has(link[rel=canonical][href$="/headache/headache"]) body #process-3 .pg-steps{margin-top:18px!important}
  html:has(link[rel=canonical][href$="/headache/headache"]) body #process-3 .pg-steps ol li{padding:10px 0!important}
  html:has(link[rel=canonical][href$="/headache/headache"]) body #process-3 .pg-steps ol li > div{font-size:13.5px!important;line-height:1.5!important}
  html:has(link[rel=canonical][href$="/headache/headache"]) body #process-3 figure.pg-side img{max-height:150px!important;width:100%!important;object-fit:cover!important}
}
/* SHORT7-END */
/* DESIGN31-BEGIN */
/* 메인 정돈(박원장 261031 "중간안으로 넣어"): 색·모서리·그림자·제목·여백 규칙을 하나로. 금색·문구·사진은 그대로 */
html:has(#heroVid){--ink:#1d1d1f;--ink-2:#424245;--ink-3:#6e6e73;--ap-muted:#6e6e73}
html:has(#heroVid) body{letter-spacing:-.01em}
/* 제목: 크기 하나, 자간·행간 통일, 왼쪽 정렬 통일 */
html:has(#heroVid) body section h2{letter-spacing:-.03em!important;line-height:1.16!important;word-break:keep-all}
html:has(#heroVid) body #ways .n9-head,html:has(#heroVid) body #ways h2{text-align:left!important;margin-left:0!important}
/* 모서리: 큰 카드 18 · 사진 14 · 작은 칩 8 */
html:has(#heroVid) body a.evc,html:has(#heroVid) body aside.v7-glp,html:has(#heroVid) body .n9-way,html:has(#heroVid) body .n9-cmp,html:has(#heroVid) body .n9-svc dl>div{border-radius:18px!important}
html:has(#heroVid) body #diet .ph,html:has(#heroVid) body figure.gp,html:has(#heroVid) body .n9-chart,html:has(#heroVid) body .n9-src,html:has(#heroVid) body #content .th,html:has(#heroVid) body #location img{border-radius:14px!important}
html:has(#heroVid) body #ways img.th,html:has(#heroVid) body #event .tag,html:has(#heroVid) body #reviews .lb{border-radius:8px!important}
/* 그림자: 카드에서 뺌, 테두리 한 줄로 */
html:has(#heroVid) body aside.v7-glp{box-shadow:none!important;border:1px solid rgba(0,0,0,.08)!important}
html:has(#heroVid) body aside.v7-glp::before{display:none!important}
html:has(#heroVid) body a.evc{box-shadow:none!important}
html:has(#heroVid) body #study img,html:has(#heroVid) body .n9-hero img.jr{box-shadow:none!important}
/* 장식 세리프 정리 */
html:has(#heroVid) body #ways .n9-way .en{font-family:var(--f)!important;font-weight:600!important;letter-spacing:-.03em!important;font-size:clamp(34px,3.2vw,46px)!important}
html:has(#heroVid) body #space figcaption{font-family:var(--f)!important;font-style:normal!important;font-size:13px!important}
@media (min-width:761px){
  /* 여백: 섹션 위아래 104 하나로 */
  html:has(#heroVid) body section[id]:not(.n9-hero){padding-top:104px!important;padding-bottom:104px!important;--sec-pad:104px}
  /* PC 떠 있는 단추 뺌 — 머리에 같은 단추가 늘 있음, 글을 가리던 것 */
  html:has(#heroVid) body nav.mbar{display:none!important}
  /* 위아래 칸 사이 */
  html:has(#heroVid) body section h2+.n9-lead{margin-top:12px!important}
}

/* 금색 중간안 — 글자로 읽는 시술 이름만 검정, 나머지 금색 포인트는 유지 */
html:has(#heroVid) body #ways .n9-svc dt a{color:#1d1d1f!important}
html:has(#heroVid) body #ways .n9-svc dt a::after{color:#EFA530!important}
html:has(#heroVid) body #doctors .n9-team a{color:#424245!important}
/* 의료진 사진 — 머리 위 흰 여백을 조금 두고 덜 확대. PC 는 칸 78% 폭(사진 끝이 칸 끝과 맞게). 스크롤 효과로 움직이면 잘리므로 transform 끔 */
html:has(#heroVid) body #doctors .n9-teamph{width:78%!important;margin-left:auto!important;margin-right:auto!important;aspect-ratio:998/700!important;height:auto!important;overflow:hidden!important;background:#fff!important}
html:has(#heroVid) body #doctors .n9-teamph img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 40%!important;transform:none!important;translate:none!important;scale:none!important}
@media (max-width:760px){html:has(#heroVid) body #doctors .n9-teamph{width:100%!important;aspect-ratio:3/2!important}html:has(#heroVid) body #doctors .n9-teamph img{object-position:50% 36%!important}}
@media (min-width:761px){html:has(#heroVid) body #doctors .n9-team{width:78%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}}
/* DESIGN31-END */
/* FOOT-BEGIN 폰 출처·주의·각주 아주 작게 (박원장 261027) */
@media (max-width:760px){html:not(#_) body main p.d6-note,html:not(#_) body section p.d6-note,html:not(#_) body main p.warn,html:not(#_) body section p.warn,html:not(#_) body main p.src,html:not(#_) body section p.src,html:not(#_) body main .n9-src small,html:not(#_) body section .n9-src small,html:not(#_) body main .n9-src span,html:not(#_) body section .n9-src span,html:not(#_) body main ul.nt li,html:not(#_) body section ul.nt li,html:not(#_) body main span.n9-note,html:not(#_) body section span.n9-note,html:not(#_) body main p.n9-note,html:not(#_) body section p.n9-note,html:not(#_) body main p.tm-note,html:not(#_) body section p.tm-note,html:not(#_) body main p.tm-note a,html:not(#_) body section p.tm-note a,html:not(#_) body main .ed-cite,html:not(#_) body section .ed-cite,html:not(#_) body main .ed-cite b,html:not(#_) body section .ed-cite b,html:not(#_) body main a.sc-paper span.jn,html:not(#_) body section a.sc-paper span.jn,html:not(#_) body main a.sc-paper span.doi,html:not(#_) body section a.sc-paper span.doi,html:not(#_) body main p.ch,html:not(#_) body section p.ch,html:not(#_) body main p.foot,html:not(#_) body section p.foot,html:not(#_) body main p.anote,html:not(#_) body section p.anote,html:not(#_) body main p.small-note,html:not(#_) body section p.small-note,html:not(#_) body main p.ex-note,html:not(#_) body section p.ex-note,html:not(#_) body main p.nt,html:not(#_) body section p.nt,html:not(#_) body main p.v7-meta,html:not(#_) body section p.v7-meta,html:not(#_) body main p.v7-meta span,html:not(#_) body section p.v7-meta span,html:not(#_) body main #qa details ol li,html:not(#_) body section #qa details ol li,html:not(#_) body main #study .mini ul.pl li,html:not(#_) body section #study .mini ul.pl li,html:not(#_) body main .ft p.src,html:not(#_) body section .ft p.src{font-size:10.5px!important;line-height:1.45!important;letter-spacing:0!important}}
/* 후기 모음 플랫폼 카드: 로고 + 이름만 (박원장 261028) */
html body #platform .pf-intro{margin-top:14px!important}
html body #platform .ct-pf{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:12px!important;margin-top:28px!important}
html body #platform .ct-pf > a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:24px 10px!important;text-align:center!important;border-radius:16px!important}
html body #platform .ct-pf > a figure{margin:0!important;width:56px!important;height:56px!important;flex:none!important}
html body #platform .ct-pf > a > div{display:contents!important}
html body #platform .ct-pf > a p,html body #platform .ct-pf > a .go{display:none!important}
html body #platform .ct-pf > a h3{font-size:15px!important;font-weight:650!important;margin:0!important;line-height:1.3!important}
@media (max-width:760px){html body #platform .ct-pf{grid-template-columns:repeat(3,1fr)!important;gap:8px!important}html body #platform .ct-pf > a{padding:16px 6px!important;gap:8px!important}html body #platform .ct-pf > a figure{width:44px!important;height:44px!important}html body #platform .ct-pf > a h3{font-size:13px!important}}
/* card-cool-261028: 맞춤 라인시술 온다·슈링크 카드 — 쿨톤 사진 전체가 보이게(contain), 사진 배경색과 칸 배경 맞춤 (박원장 261028) */
html body .fc-mt .mc figure:has(img[src*="_cool"]){background:#EFF0F4!important;height:200px!important}
html body .fc-mt .mc figure img[src*="_cool"]{object-fit:contain!important;object-position:50% 100%!important}
/* FOOT-END */
