/* 오스시자로 — 흰 바탕 + 장미빛 빨강(로고의 해) + 벚꽃 분홍 + 민트 보조 (디자인/시안2 기준) */
:root {
  --white: #FFFFFF; --blush: #FFF4F6; --blush-2: #FDE7EC;
  --rose: #D8283F; --rose-ink: #B01A30; --sakura: #F59BB0; --sakura-soft: #FCDDE5;
  --mint: #2FB38E; --mint-ink: #1E8A6B; --mint-soft: #E2F6EF;
  --sky: #3E8ED0; --sky-soft: #E6F1FB;
  --ink: #2D2D34; --sub: #5F6170; --muted: #8A8C99; --line: #F0E1E6; --line-2: #E6D3DA;
  --r: 20px; --top: 54px;
  --round: 'NanumSquareRound', 'Pretendard Variable', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif; font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; } button { font: inherit; color: inherit; cursor: pointer; }
#app:focus { outline: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3, .round { font-family: var(--round); letter-spacing: -.02em; }

/* ---------- 상단 ---------- */
.top { position: sticky; top: 0; z-index: 1000; height: var(--top); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.top-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 36px; }
body.full .top-in { max-width: none; padding: 0 24px; }
.logo img { height: 36px; display: block; }
.logo { flex: none; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a { position: relative; padding: 6px 14px; border-radius: 999px; font-family: var(--round); font-weight: 800; font-size: 16px; text-decoration: none; color: var(--sub); }
.nav a:hover { background: var(--blush); color: var(--ink); }
.nav a.on { color: var(--rose); background: var(--blush); }
.nav a.on::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--rose); }
.nav a.soon { color: #B9BBC6; cursor: default; }
.nav a.soon small { font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 600; margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: #F2F3F6; }
.nav a.soon:hover { background: none; }
.tabbar { display: none; }

/* ---------- 공통 조각 ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.bd { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #F3F3F6; color: #555866; }
.bd.ko { background: var(--mint-soft); color: var(--mint-ink); }
.bd.en { background: var(--sky-soft); color: var(--sky); }
.bd.walk { background: var(--sakura-soft); color: var(--rose-ink); }
.conds { display: flex; flex-wrap: wrap; gap: 5px; }
.cond { display: inline-flex; padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; background: #FFF6DB; color: #7A5A00; }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--rose); }
.crumb i { font-style: normal; color: #D5C3CA; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-family: var(--round); font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid var(--rose); background: var(--white); color: var(--rose); }
.btn.fill { background: var(--rose); color: #fff; }
.btn.mint { border-color: var(--mint); color: var(--mint-ink); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.sun { position: absolute; border-radius: 50%; background: var(--rose); pointer-events: none; }
.petal { position: absolute; width: 18px; height: 14px; background: var(--sakura); border-radius: 80% 10% 80% 10%; opacity: .75; pointer-events: none; }
.foot { padding: 32px 0 44px; background: var(--blush); font-size: 14px; color: var(--sub); }
.foot p { margin: 4px 0; } .foot-logo { height: 34px; margin-bottom: 8px; opacity: .9; }
.foot-small { color: var(--muted); }
body.full .foot { display: none; }
.empty { padding: 40px 20px; text-align: center; color: var(--sub); }
.notice { margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: #FFF6DB; color: #7A5A00; font-size: 14px; font-weight: 600; }
.offline { padding-top: 80px; } .offline h1 { font-size: 22px; } .offline img { display: block; margin: 0 auto 12px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; z-index: 4000; pointer-events: none; }

/* 가격 말풍선 핀 (값에 따라 색을 바꾸지 않음 — 순위처럼 보이지 않게) */
.ppin { position: relative; display: inline-flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); white-space: nowrap; }
.ppin .tag { padding: 5px 11px 4px; border-radius: 12px; background: #fff; border: 2px solid var(--rose); color: var(--ink); font-family: var(--round); font-weight: 800; font-size: 14px; line-height: 1.15; text-align: center; box-shadow: 0 2px 6px rgba(45,45,52,.18); transition: transform .12s, background .12s; cursor: pointer; }
.ppin .tag small { display: block; font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); }
.ppin .tail { width: 10px; height: 10px; margin-top: -6px; background: #fff; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg); }
.ppin.ask .tag { border-color: #B5B7C2; color: var(--sub); font-size: 13px; }
.ppin.ask .tail { border-color: #B5B7C2; }
.ppin.hot .tag, .ppin.picked .tag { background: var(--rose); color: #fff; transform: scale(1.12); }
.ppin.hot .tag small, .ppin.picked .tag small { color: #FFD9E0; }
.ppin.hot .tail, .ppin.picked .tail { background: var(--rose); }
.leaflet-marker-icon.hot-wrap { z-index: 9999 !important; }
.pcl { display: grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--mint-ink); font-family: var(--round); font-weight: 800; font-size: 14.5px; border: 2.5px solid var(--mint); box-shadow: 0 2px 6px rgba(0,0,0,.18); transform: translate(-50%, -50%); cursor: pointer; white-space: nowrap; }
.pcl.hot { background: var(--mint); color: #fff; }
.leaflet-container { font-family: inherit; background: #F2F3F0; }
/* 바탕 지도를 조금 옅게 해서 가격 핀이 먼저 보이게 */
.leaflet-tile-pane { filter: saturate(.55) brightness(1.03); }
.leaflet-bar { border: 0 !important; box-shadow: 0 1px 4px rgba(0,0,0,.28) !important; border-radius: 8px !important; overflow: hidden; }
.leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; font-size: 20px !important; color: #555 !important; }
.leaflet-container .leaflet-control-attribution { font-size: 13px; }
.leaflet-tooltip.nm-tip { font-family: inherit; font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 10px; border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.gmap-tip { position: absolute; left: 0; bottom: 56px; transform: translateX(-50%); background: #fff; color: var(--ink); font-family: inherit; font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.22); white-space: nowrap; pointer-events: none; z-index: 10000; }
.pcl + .gmap-tip { bottom: 28px; }

/* ================= 첫 화면 ================= */
.v-home .hero { position: relative; overflow: hidden; background: var(--blush); border-bottom: 1.5px solid var(--line); }
.v-home .hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.v-home .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--rose-ink); }
.v-home .kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.v-home .hero h1 { margin: 16px 0 0; font-size: 46px; line-height: 1.25; font-weight: 800; }
.v-home .hero h1 em { font-style: normal; color: var(--rose); }
.v-home .hero p { margin: 14px 0 0; font-size: 18px; color: var(--sub); max-width: 560px; }
.v-home .facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.v-home .fact { padding: 10px 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.v-home .fact b { display: block; font-family: var(--round); font-size: 22px; color: var(--ink); line-height: 1.2; }
.v-home .fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.v-home .mascot { position: relative; justify-self: center; }
.v-home .mascot img { width: 300px; height: auto; display: block; position: relative; z-index: 1; }
.v-home .bubble { position: absolute; z-index: 2; left: -40px; top: 6px; padding: 10px 16px; border-radius: 18px; background: #fff; border: 2px solid var(--rose); font-family: var(--round); font-weight: 800; font-size: 16px; color: var(--ink); }
.v-home .bubble::after { content: ''; position: absolute; right: 26px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg); }
.v-home .hero .sun.big { width: 340px; height: 340px; right: 40px; top: 30px; opacity: .08; }
.v-home section.pick { padding: 44px 0 20px; }
.sec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; }
.sec-h h2 { margin: 0; font-size: 26px; font-weight: 800; }
.sec-h span { color: var(--muted); font-size: 15px; }
.v-home .pick-grid { display: grid; grid-template-columns: 1fr 520px; gap: 28px; align-items: start; }
.v-home .cities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-home .city { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; transition: border-color .12s, background .12s; }
.v-home .city:hover, .v-home .city.hot { border-color: var(--rose); background: var(--blush); }
.v-home .city .dot { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-2); color: var(--rose); font-family: var(--round); font-weight: 800; font-size: 15px; }
.v-home .city.hot .dot, .v-home .city:hover .dot { background: var(--rose); color: #fff; }
.v-home .city .nm { font-family: var(--round); font-weight: 800; font-size: 19px; line-height: 1.3; }
.v-home .city .ja { font-size: 14px; color: var(--muted); }
.v-home .city .go { margin-left: auto; color: #CDB8C0; font-size: 20px; }
.v-home .city.zero .dot { background: #F2F3F6; color: #A3A5B0; }
.v-home .city.zero .nm { color: var(--sub); }
.v-home .jp { position: relative; height: 560px; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); }
.v-home .jpmap { position: absolute; inset: 0; }
.ctag { position: relative; }
.ctag svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.ctag .d { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--rose); border: 2.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); z-index: 1; }
.ctag .p { pointer-events: auto; position: absolute; z-index: 2; transform: translate(-50%, -50%); white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); box-shadow: 0 2px 6px rgba(0,0,0,.12); font-family: var(--round); font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: none; color: var(--ink); }
.ctag .p b { color: var(--rose); margin-left: 5px; }
.ctag.hot .p { background: var(--rose); color: #fff; border-color: var(--rose); }
.ctag.hot .p b { color: #FFD9E0; }
.ctag.none .d { background: #A3A5B0; } .ctag.none .p { color: var(--muted); font-size: 13px; font-weight: 700; } .ctag.none .p b { color: var(--muted); }
.odot { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid var(--rose); }
.v-home section.guide { padding: 36px 0 56px; }
.v-home .g-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.v-home .g { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; min-height: 168px; border-radius: 18px; background: var(--blush); text-decoration: none; transition: background .12s; overflow: hidden; }
.v-home .g:hover { background: var(--blush-2); }
.v-home .g-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: #fff; font-family: var(--round); font-weight: 800; font-size: 15px; }
.v-home .g-t { font-family: var(--round); font-weight: 800; font-size: 17px; margin-top: 6px; }
.v-home .g-s { font-size: 14px; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= 도시 화면 ================= */
body.full { overflow: hidden; }
.v-city.shell { display: grid; grid-template-columns: 520px 1fr; height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); }
.v-city .panel { display: flex; flex-direction: column; min-height: 0; background: #fff; border-right: 1.5px solid var(--line); }
.v-city .head { padding: 16px 24px 12px; border-bottom: 1.5px solid var(--line); }
.v-city .head h1 { margin: 6px 0 0; font-size: 28px; font-weight: 800; line-height: 1.3; }
.v-city .head h1 span { font-size: 18px; color: var(--rose); margin-left: 6px; }
.v-city .basis { margin: 6px 0 10px; padding: 8px 12px; border-radius: 12px; background: var(--blush); font-size: 14px; color: var(--sub); }
.v-city .basis b { color: var(--ink); }
.v-city .row-l { font-size: 13px; font-weight: 800; color: var(--muted); margin: 8px 0 5px; }
.v-city .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.v-city .chip { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14.5px; font-weight: 700; color: var(--sub); }
.v-city .chip small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.v-city .chip[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.v-city .chip[aria-pressed="true"] small { color: #FFD9E0; }
.v-city .chip.area[aria-pressed="true"] { background: var(--mint-soft); border-color: var(--mint); color: var(--mint-ink); }
.v-city .chip.area[aria-pressed="true"] small { color: var(--mint-ink); }
.v-city .order { margin: 10px 0 0; font-size: 14px; color: var(--sub); }
.v-city .list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 24px 24px; -webkit-overflow-scrolling: touch; }
.v-city .grp { position: sticky; top: 0; z-index: 2; margin: 0 -24px; padding: 12px 24px 6px; background: linear-gradient(#fff 80%, rgba(255,255,255,0)); font-family: var(--round); font-weight: 800; font-size: 15px; }
.v-city .grp small { font-size: 13px; font-family: 'Pretendard Variable', sans-serif; color: var(--muted); font-weight: 600; margin-left: 4px; }
.v-city .item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; transition: border-color .12s, background .12s; }
.v-city .item:hover, .v-city .item.hot { border-color: var(--rose); background: var(--blush); }
.v-city .item > div { min-width: 0; }
.v-city .nm { font-family: var(--round); font-weight: 800; font-size: 17px; line-height: 1.35; }
.v-city .meta { font-size: 14.5px; color: var(--sub); margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-city .pr { text-align: right; white-space: nowrap; }
.v-city .pr .y { font-family: var(--round); font-weight: 800; font-size: 19px; color: var(--ink); line-height: 1.2; }
.v-city .pr .w { font-size: 14px; color: var(--sub); }
.v-city .pr .u { font-size: 13px; color: var(--muted); }
.v-city .pr.ask .y { font-size: 15px; color: var(--muted); }
.v-city .item .conds { grid-column: 1 / 3; }
.v-city .end { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--blush); font-size: 14px; color: var(--sub); overflow: hidden; }
.v-city .end img { width: 54px; float: right; margin: -6px -4px 0 8px; }
.v-city .none-box { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--blush); color: var(--sub); }
.v-city .none-box p { margin: 0 0 12px; }
.v-city .none-box small { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.v-city .mapbox { position: relative; }
.v-city .map { position: absolute; inset: 0; }
.v-city .m-top { position: absolute; left: 16px; top: 16px; z-index: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.v-city .seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.v-city .seg span { padding: 5px 10px; font-size: 14px; font-weight: 700; color: var(--sub); }
.v-city .seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 800; color: var(--sub); }
.v-city .seg button.on { background: var(--rose); color: #fff; }
.v-city .m-btn { padding: 9px 14px; border-radius: 999px; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.25); font-size: 14.5px; font-weight: 800; }
.v-city .legend { position: absolute; left: 16px; bottom: 16px; z-index: 600; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 1px 4px rgba(0,0,0,.2); font-size: 14px; color: var(--sub); }
.v-city .legend .lt { padding: 2px 8px; border: 2px solid var(--rose); border-radius: 8px; font-family: var(--round); font-weight: 800; color: var(--ink); font-size: 13px; }
.v-city .legend .lc { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px; border-radius: 999px; background: #fff; border: 2px solid var(--mint); color: var(--mint-ink); font-weight: 800; font-size: 13px; }
.v-city .sheet-handle { display: none; }
.v-city .note-m { display: none; margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--sub); }
.v-city .basis-m { display: none; }

/* ================= 병원 화면 ================= */
.v-clinic.page { padding: 18px 0 56px; }
.v-clinic .hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 10px 0 22px; }
.v-clinic .hd h1 { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.3; }
.v-clinic .hd .ja { margin: 2px 0 10px; font-size: 15px; color: var(--muted); }
.v-clinic .hd .btns { display: flex; gap: 8px; flex: none; }
.v-clinic .cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.v-clinic .box { min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; padding: 22px 24px; margin-bottom: 18px; }
.v-clinic .box h2 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.v-clinic .box h2 small { font-family: 'Pretendard Variable', sans-serif; font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.v-clinic .calc { border: 2px solid var(--sakura-soft); background: linear-gradient(#FFF8FA, #fff 60%); }
.v-clinic .q { font-size: 15px; font-weight: 800; color: var(--sub); margin: 0 0 8px; }
.v-clinic .q span { font-weight: 600; color: var(--muted); }
.v-clinic .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.v-clinic .opt { min-width: 76px; min-height: 46px; padding: 8px 16px; border-radius: 14px; border: 2px solid var(--line-2); background: #fff; font-family: var(--round); font-weight: 800; font-size: 16px; color: var(--sub); }
.v-clinic .opt[aria-pressed="true"] { border-color: var(--rose); background: var(--rose); color: #fff; }
.v-clinic .opt small { display: block; font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 600; opacity: .85; }
.v-clinic .res { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: end; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.v-clinic .res .lbl { grid-column: 1 / 3; font-size: 15px; font-weight: 700; color: var(--sub); }
.v-clinic .res .lbl b { color: var(--ink); }
.v-clinic .res .how { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: 999px; background: var(--sky-soft); color: var(--sky); font-size: 14px; font-weight: 800; }
.v-clinic .res .how.con { background: #FFF6DB; color: #7A5A00; }
.v-clinic .res .y { font-family: var(--round); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.01em; }
.v-clinic .res .w { font-size: 20px; font-weight: 800; color: var(--sub); text-align: right; }
.v-clinic .res .conds { grid-column: 1 / 3; margin-top: 4px; }
.v-clinic .res.none .y { font-size: 22px; color: var(--muted); }
.v-clinic .rate { margin: 10px 2px 0; font-size: 14px; color: var(--sub); }
.v-clinic .orig { margin-top: 12px; font-size: 14px; color: var(--muted); }
.v-clinic .orig summary { cursor: pointer; font-weight: 700; color: var(--sub); }
.v-clinic .orig p { margin: 6px 0 0; padding: 8px 12px; border-radius: 10px; background: #F7F7F9; font-family: 'Meiryo', sans-serif; color: #555866; }
.v-clinic table { width: 100%; border-collapse: collapse; font-size: 15px; }
.v-clinic th { text-align: left; font-size: 13px; font-weight: 800; color: var(--muted); padding: 0 8px 8px; border-bottom: 1.5px solid var(--line); }
.v-clinic td { padding: 10px 8px; border-bottom: 1px solid #F5ECEF; vertical-align: top; }
.v-clinic td.num { font-family: var(--round); font-weight: 800; white-space: nowrap; }
.v-clinic td.num small { display: block; font-family: 'Pretendard Variable', sans-serif; font-weight: 600; font-size: 13px; color: var(--muted); }
.v-clinic tr.on td { background: var(--blush); }
.v-clinic .cond-m { display: none; }
.v-clinic .tnote { margin: 10px 0 0; font-size: 14px; color: var(--sub); }
.v-clinic .rows { display: grid; grid-template-columns: 120px 1fr; gap: 0; margin: 0; }
.v-clinic .rows dt, .v-clinic .rows dd { margin: 0; padding: 11px 0; border-bottom: 1px solid #F5ECEF; font-size: 15px; }
.v-clinic .rows dt { font-weight: 800; color: var(--muted); font-size: 14px; }
.v-clinic .rows dd .sub { color: var(--muted); }
.v-clinic .note { padding: 14px 16px; border-radius: 14px; background: #F7F7F9; font-size: 15px; color: #45474F; margin: 0 0 10px; }
.v-clinic .note b { display: block; font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.v-clinic .srcs { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.v-clinic .srcs a { color: var(--sky); font-weight: 600; margin-right: 8px; }
.v-clinic .side { position: sticky; top: calc(var(--top) + 18px); }
.v-clinic .mini { height: 260px; border-radius: var(--r); border: 1.5px solid var(--line); overflow: hidden; margin-bottom: 14px; }
.v-clinic .taxi { position: relative; padding: 18px 20px; border-radius: var(--r); background: var(--blush); }
.v-clinic .taxi .t { font-family: var(--round); font-weight: 800; font-size: 16px; padding-right: 64px; }
.v-clinic .taxi .addr { margin: 10px 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff; font-family: 'Meiryo', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.v-clinic .taxi img { position: absolute; right: 12px; top: -22px; width: 70px; }
.v-clinic .taxi .row { display: flex; gap: 8px; }
.v-clinic .taxi .row .btn { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 15px; }
.v-clinic .chk { margin-top: 14px; font-size: 14px; color: var(--sub); }
.v-clinic .chk a { color: var(--sky); font-weight: 700; }
/* 댓글 */
.v-clinic .cm .help { margin: 0 0 10px; font-size: 14px; color: var(--sub); }
.v-clinic .cm .c-row { display: flex; gap: 8px; margin-bottom: 8px; }
.v-clinic .cm input:not([name="website_hp"]) { flex: 1; min-width: 0; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); font: inherit; font-size: 15px; }
.v-clinic .cm textarea { width: 100%; min-height: 92px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); font: inherit; font-size: 15px; resize: vertical; }
.v-clinic .cm input:focus, .v-clinic .cm textarea:focus { outline: 2px solid var(--sakura); border-color: var(--sakura); }
.v-clinic .cm .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v-clinic .cm .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 12px; font-size: 14px; color: var(--muted); }
.v-clinic .cm .btn { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.v-clinic .cm .c-msg { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--rose-ink); }
.v-clinic .cm .c-msg.ok { color: var(--mint-ink); }
.v-clinic .cmt { padding: 12px 0; border-top: 1px solid #F5ECEF; font-size: 15px; white-space: pre-wrap; }
.v-clinic .cmt .who { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); white-space: normal; }
.v-clinic .cmt .who b { color: var(--sub); }
.v-clinic .link-btn { border: 0; background: none; padding: 0 4px; font-size: 13px; color: var(--muted); text-decoration: underline; }
.v-clinic .cm-list { margin-top: 14px; }
.v-clinic .cm-empty { font-size: 14px; color: var(--muted); padding: 10px 0; }

/* ================= 가이드 ================= */
.v-guide .ghero { position: relative; background: var(--blush); overflow: hidden; }
.v-guide .ghero .wrap { position: relative; padding-top: 34px; padding-bottom: 30px; }
.v-guide .ghero h1 { margin: 0; font-size: 34px; font-weight: 800; }
.v-guide .ghero p { margin: 8px 0 0; font-size: 17px; color: var(--sub); max-width: 640px; }
.v-guide .ghero img { position: absolute; right: 48px; bottom: -8px; width: 150px; }
.v-guide .gl { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 30px 0 60px; align-items: start; }
.v-guide .toc { position: sticky; top: calc(var(--top) + 24px); display: flex; flex-direction: column; gap: 4px; }
.v-guide .toc a { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 16px; color: var(--sub); }
.v-guide .toc a b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sakura-soft); color: var(--rose-ink); font-size: 14px; }
.v-guide .toc a:hover, .v-guide .toc a.on { background: var(--blush); color: var(--ink); }
.v-guide .toc a.on b { background: var(--rose); color: #fff; }
.v-guide .sec { scroll-margin-top: calc(var(--top) + 20px); margin-bottom: 26px; padding: 26px 28px; border: 1.5px solid var(--line); border-radius: var(--r); }
.v-guide .sec h2 { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-size: 23px; font-weight: 800; }
.v-guide .sec h2 b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 16px; }
.v-guide .sum { margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; background: var(--blush); font-size: 16.5px; font-weight: 600; color: var(--ink); }
.v-guide .its { margin: 0; padding: 0; list-style: none; }
.v-guide .its li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid #F5ECEF; font-size: 16px; }
.v-guide .its li:last-child { border-bottom: 0; }
.v-guide .its li::before { content: ''; position: absolute; left: 4px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--sakura); }
.v-guide .its li .k { font-weight: 800; }
.v-guide .its li.unk { color: var(--sub); }
.v-guide .its li.unk::before { background: #C9CBD4; }
.v-guide .its li.unk .k { display: inline-block; margin-right: 4px; padding: 0 8px; border-radius: 6px; background: #F2F3F6; color: #555866; font-size: 14px; }
.v-guide .ph { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.v-guide .pc { padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.v-guide .pc .ja { word-break: normal; line-break: strict; font-family: 'Meiryo', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.45; }
.v-guide .pc .rd { font-size: 14px; color: var(--muted); margin-top: 4px; }
.v-guide .pc .ko { font-size: 15.5px; font-weight: 700; color: var(--rose-ink); margin-top: 2px; }
.v-guide .src { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.v-guide .src a { color: var(--sky); font-weight: 600; margin-right: 10px; }
.v-guide .g-help { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--mint-soft); font-size: 15.5px; }
.v-guide .g-help b { font-family: var(--round); font-size: 17px; color: var(--mint-ink); }

/* ================= 휴대폰 ================= */
@media (max-width: 959px) {
  :root { --top: 44px; }
  .wrap { padding: 0 18px; }
  .top-in, body.full .top-in { padding: 0 16px; gap: 12px; }
  .logo img { height: 28px; }
  .nav { display: none; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .tabbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1.5px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--muted); }
  .tabbar a i { font-style: normal; font-size: 19px; line-height: 1; }
  .tabbar a.on { color: var(--rose); }
  .tabbar a.soon { color: #C3C5CE; }

  .v-home .hero .wrap { grid-template-columns: 1fr 120px; gap: 8px; padding-top: 24px; padding-bottom: 22px; }
  .v-home .hero h1 { font-size: 28px; margin-top: 12px; }
  .v-home .hero p { font-size: 15.5px; }
  .v-home .kicker { font-size: 13px; padding: 5px 11px; }
  .v-home .facts { grid-column: 1 / 3; margin-top: 14px; gap: 8px; }
  .v-home .fact { padding: 8px 12px; } .v-home .fact b { font-size: 18px; }
  .v-home .mascot { align-self: start; margin-top: 30px; } .v-home .mascot img { width: 120px; }
  .v-home .bubble { display: none; }
  .v-home .hero .sun.big { width: 180px; height: 180px; right: -40px; top: 10px; }
  .v-home section.pick { padding: 26px 0 8px; }
  .sec-h h2 { font-size: 21px; } .sec-h span { font-size: 13.5px; }
  .v-home .pick-grid { grid-template-columns: 1fr; }
  .v-home .jp { display: none; }
  .v-home .city { padding: 13px 12px; gap: 10px; }
  .v-home .city .dot { width: 36px; height: 36px; font-size: 14px; }
  .v-home .city .nm { font-size: 17px; } .v-home .city .ja { font-size: 13px; }
  .v-home .city .go { display: none; }
  .v-home .g-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .v-home .g { min-height: 0; padding: 16px 14px; }
  .v-home .g-s { display: none; }
  .v-home .g:last-child:nth-child(odd) { grid-column: 1 / 3; }

  .v-city.shell { display: block; position: relative; height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); }
  .v-city .mapbox { position: absolute; inset: 0; }
  .v-city .panel { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 700; border-right: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 20px rgba(45,45,52,.14); transition: height .2s; }
  .v-city .panel.tall { height: 88%; }
  .v-city .panel.low { height: 128px; }
  .v-city .sheet-handle { display: block; width: 100%; height: 22px; border: 0; background: none; padding: 8px 0 0; }
  .v-city .sheet-handle::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 3px; background: #DCCFD4; margin: 0 auto; }
  .v-city .head { padding: 2px 16px 10px; }
  .v-city .head .crumb, .v-city .head .basis, .v-city .head .row-l, .v-city .areas, .v-city .order { display: none; }
  .v-city .head h1 { font-size: 20px; margin: 2px 0 8px; } .v-city .head h1 span { font-size: 15px; }
  .v-city .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .v-city .chip { flex: none; font-size: 14px; padding: 5px 11px; }
  .v-city .list { padding: 0 16px 16px; }
  .v-city .grp { margin: 0 -16px; padding: 10px 16px 4px; font-size: 14.5px; }
  .v-city .item { padding: 12px 13px; gap: 3px 10px; }
  .v-city .nm { font-size: 16px; } .v-city .meta { font-size: 13.5px; margin-bottom: 4px; }
  .v-city .pr .y { font-size: 17px; } .v-city .pr .w { font-size: 13px; }
  .v-city .item .badges { display: none; }
  .v-city .m-top { left: 10px; top: 10px; right: 10px; }
  .v-city .seg span { display: none; }
  .v-city .seg button { padding: 5px 10px; font-size: 14px; }
  .v-city .m-btn, .v-city .legend { display: none; }
  .v-city .note-m { display: block; }
  .v-city .leaflet-bottom.leaflet-right { bottom: auto; top: 150px; }
  .v-city .basis-m { display: block; position: absolute; left: 10px; top: 58px; z-index: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 1px 4px rgba(0,0,0,.2); font-size: 13px; font-weight: 700; color: var(--sub); }

  .v-clinic.page { padding: 12px 0 32px; }
  .v-clinic .hd { display: block; margin: 6px 0 16px; }
  .v-clinic .hd h1 { font-size: 24px; }
  .v-clinic .hd .btns { margin-top: 12px; }
  .v-clinic .hd .btns .btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: 15px; }
  .v-clinic .cols { display: flex; flex-direction: column; }
  .v-clinic .cols > div { display: contents; }
  .v-clinic .cols .box { order: 3; } .v-clinic .cols .calc { order: 1; } .v-clinic .side { order: 2; margin-bottom: 14px; }
  .v-clinic .box { padding: 18px 16px; margin-bottom: 14px; }
  .v-clinic .box h2 { font-size: 18px; }
  /* 가격 버튼: 도시 화면 용량 버튼 모양, 높이 40px(대표님 2026-11-15) */
  .v-clinic .opts { gap: 7px; }
  .v-clinic .opt { flex: none; min-width: 0; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border-width: 1.5px; font-size: 15px; line-height: 1.2; }
  .v-clinic .opt small { display: inline; font-size: 13px; margin-left: 4px; }
  .v-clinic .res { padding: 16px; }
  .v-clinic .res .y { font-size: 32px; }
  .v-clinic .res .w { font-size: 17px; }
  .v-clinic .side { position: static; }
  .v-clinic .mini { height: 200px; }
  .v-clinic .rows { grid-template-columns: 96px 1fr; }
  .v-clinic table { font-size: 14.5px; }
  .v-clinic .hide-m { display: none; }
  .v-clinic .cond-m { display: block; margin-top: 3px; font-family: 'Pretendard Variable', sans-serif; font-weight: 600; font-size: 13px; color: #7A5A00; white-space: normal; }

  .v-guide .ghero .wrap { padding-top: 22px; padding-bottom: 22px; }
  .v-guide .ghero h1 { font-size: 26px; }
  .v-guide .ghero p { font-size: 15.5px; padding-right: 86px; }
  .v-guide .ghero img { right: 10px; width: 90px; }
  .v-guide .gl { display: block; padding: 0 0 30px; }
  .v-guide .toc { position: sticky; top: var(--top); z-index: 20; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -18px 14px; padding: 10px 18px; background: #fff; border-bottom: 1.5px solid var(--line); }
  .v-guide .toc a { flex: none; padding: 7px 12px; font-size: 15px; border: 1.5px solid var(--line-2); border-radius: 999px; }
  .v-guide .toc a b { width: 22px; height: 22px; font-size: 13px; }
  .v-guide .sec { padding: 18px 16px; margin-bottom: 16px; scroll-margin-top: calc(var(--top) + 70px); }
  .v-guide .sec h2 { font-size: 20px; }
  .v-guide .sum { font-size: 15.5px; padding: 12px 14px; }
  .v-guide .its li { font-size: 15.5px; }
  .v-guide .ph { grid-template-columns: 1fr; }
  .v-guide .pc .ja { font-size: 18px; }
}

/* 도시 화면: 용량은 목록 머리, 지도 위에는 최저가 띠와 고른 병원 카드만 */
.v-city .title-row { display: flex; align-items: center; gap: 8px; }
.v-city .title-row h1 { flex: 1; min-width: 0; }
.v-city .list-toggle { display: none; }
.v-city .all-btn { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 700; color: var(--sub); }
.v-city .doses { align-items: center; margin-top: 10px; }
.v-city .doses .chip { font-family: var(--round); font-weight: 800; }
.v-city .dose-note { font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 4px; white-space: nowrap; }
.v-city .cheap { position: absolute; left: 16px; top: 16px; z-index: 600; display: flex; align-items: center; gap: 14px; max-width: 460px; width: calc(100% - 90px); padding: 10px 14px 10px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--rose); box-shadow: 0 2px 10px rgba(45,45,52,.18); text-align: left; }
.v-city .cheap[hidden], .v-city .sel[hidden] { display: none; }
.v-city .cheap .lb { font-family: var(--round); font-weight: 800; font-size: 16px; color: var(--ink); line-height: 1.25; }
.v-city .cheap .lb small, .v-city .cheap .pv small { display: block; font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); }
.v-city .cheap .pv { margin-left: auto; font-family: var(--round); font-weight: 800; font-size: 20px; color: var(--rose); text-align: right; line-height: 1.2; white-space: nowrap; }
.v-city .cheap .go { font-size: 22px; color: var(--muted); }
.v-city .sel { position: absolute; left: 16px; bottom: 16px; z-index: 650; width: 400px; max-width: calc(100% - 32px); padding: 16px 18px 18px; border-radius: 20px; background: #fff; box-shadow: 0 6px 24px rgba(45,45,52,.22); }
.v-city .sel .x { position: absolute; right: 8px; top: 6px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); }
.v-city .sel .s-top { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding-right: 26px; }
.v-city .sel .s-top > div { min-width: 0; }
.v-city .sel .conds { margin-top: 8px; }
.v-city .sel .btn { width: 100%; margin-top: 12px; min-height: 48px; }
@media (max-width: 959px) {
  .v-city .list-toggle { display: inline-flex; border: 0; background: var(--rose); color: #fff; border-radius: 999px; padding: 7px 14px; font-family: var(--round); font-weight: 800; font-size: 14px; }
  .v-city .all-btn { display: none; }
  .v-city .panel.low { height: 160px; }
  .v-city .head .basis { display: none; }
  .v-city .doses { flex-wrap: nowrap; margin: 0 0 8px; }
  .v-city .panel.low .filters, .v-city .panel.low .note-m { display: none; }
  .v-city .panel { overflow: hidden; }
  .v-city .cheap { left: 10px; top: 10px; width: calc(100% - 70px); padding: 8px 12px; gap: 10px; }
  .v-city .cheap .lb { font-size: 15px; } .v-city .cheap .pv { font-size: 18px; }
  .v-city .sel { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; z-index: 800; }
  .v-city .leaflet-bottom.leaflet-right { top: 80px; }
}

/* 맨 위 로고 줄의 최저가 (도시 화면에서만 보임) */
.top-cheap { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 520px; padding: 5px 8px 5px 14px; border-radius: 999px; border: 2px solid var(--rose); background: #fff; font-family: var(--round); font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; }
.top-cheap[hidden] { display: none; }
.top-cheap .lb { color: var(--sub); }
.top-cheap .ds { font-size: 13px; color: var(--muted); }
.top-cheap b { color: var(--rose); font-size: 17px; }
.top-cheap .wn { font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 700; color: var(--sub); overflow: hidden; text-overflow: ellipsis; }
.top-cheap .go { color: var(--muted); font-size: 18px; line-height: 1; }
@media (max-width: 959px) {
  .top-cheap { max-width: calc(100% - 84px); padding: 3px 6px 3px 10px; gap: 5px; font-size: 13.5px; border-width: 1.5px; }
  .top-cheap .ds { display: none; }
  .top-cheap b { font-size: 15px; }
  .top-cheap .wn { font-size: 13px; }
  .v-city .leaflet-bottom.leaflet-right { top: 100px; }
}

/* 위쪽 ☰ 메뉴 (휴대폰) */
.menu-btn, .mmenu { display: none; }
.top { position: sticky; }
@media (max-width: 959px) {
  .tabbar { display: none !important; }
  .top-in { position: relative; }
  .menu-btn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: auto; border: 0; border-radius: 10px; background: none; font-size: 22px; line-height: 1; color: var(--ink); }
  .top-cheap:not([hidden]) ~ .menu-btn { margin-left: 4px; }
  .top-cheap { max-width: calc(100% - 84px - 40px); }
  .mmenu { position: absolute; right: 10px; top: calc(100% + 6px); z-index: 2000; display: flex; flex-direction: column; min-width: 180px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(45,45,52,.2); }
  .mmenu[hidden] { display: none; }
  .mmenu a { padding: 12px 14px; border-radius: 10px; font-family: var(--round); font-weight: 800; font-size: 16px; text-decoration: none; color: var(--ink); }
  .mmenu a.on { color: var(--rose); background: var(--blush); }
  .mmenu a.soon { color: #B9BBC6; }
  .mmenu a.soon small { font-family: 'Pretendard Variable', sans-serif; font-size: 13px; margin-left: 6px; }
  .v-city .sheet-handle, .v-city .title-row { touch-action: none; }
  .v-city .sheet-handle { height: 26px; cursor: grab; }
}

/* 최저가 색 */
.top-cheap { background: linear-gradient(90deg, #D8283F, #EE5A78); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(216,40,63,.28); }
.top-cheap .lb, .top-cheap .ds, .top-cheap .go { color: rgba(255,255,255,.9); }
.top-cheap b { color: #fff; }
.top-cheap .wn { color: rgba(255,255,255,.88); }
.ppin .tag { position: relative; }
.ppin.best .tag { background: var(--mint); border-color: var(--mint-ink); color: #fff; }
.ppin.best .tag small { color: #E2F6EF; }
.ppin.best .tail { background: var(--mint); border-color: var(--mint-ink); }
.ppin.best .bb { position: absolute; left: 50%; top: -13px; transform: translateX(-50%); padding: 0 7px; border-radius: 999px; background: var(--mint-ink); color: #fff; font-style: normal; font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 800; line-height: 20px; white-space: nowrap; }
.ppin.best.hot .tag, .ppin.best.picked .tag { background: var(--rose); border-color: var(--rose); }
.ppin.best.hot .tail { background: var(--rose); border-color: var(--rose); }
.pcl.best { background: var(--mint); color: #fff; border-color: var(--mint-ink); }
@media (max-width: 480px) {
  .top-cheap { gap: 4px; padding: 3px 5px 3px 9px; letter-spacing: -0.3px; }
  .top-cheap .lb { font-size: 13px; }
  .top-cheap .wn { letter-spacing: -0.4px; }
}
@media (max-width: 360px) { .top-cheap .wn { display: none; } }

/* 지도 병원 카드: 이름 줄에 "자세히 ›", 카드 전체 누르기 */
.v-city .sel { cursor: pointer; }
.v-city .sel .s-hd { display: flex; align-items: center; gap: 8px; margin: -2px -8px 6px 0; }
.v-city .sel .s-hd .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-city .sel .s-hd .more { flex: none; font-size: 14px; font-weight: 700; color: var(--sub); }
.v-city .sel .s-hd .x { position: static; flex: none; width: 32px; height: 32px; }
.v-city .sel .s-top { padding-right: 0; }

/* 휴대폰 로고 크게(대표님 2026-11-15), 최저가 줄이 넘치면 원화 숨김 */
.top-cheap.tight .wn { display: none; }
@media (max-width: 959px) {
  :root { --top: 52px; }
  .logo img { height: 36px; }
  .top-cheap { max-width: calc(100% - 106px - 40px); }
}
.top-cheap.tighter .ct { display: none; }
/* 영문 로고(일본어·영어판)는 가로가 길어서 휴대폰에서 조금 낮게 */
@media (max-width: 959px) {
  html:not([lang="ko"]) .logo img { height: 30px; }
  html:not([lang="ko"]) .top-cheap { max-width: calc(100% - 142px - 40px); }
}

/* ===== 첫 화면 새 구성(정 과장 시안3, 대표님 2026-11-15) ===== */
.h3 .top-hero { background: var(--blush); border-bottom: 1.5px solid var(--line); padding: 20px 0; }
.h3 .top-hero-in { display: flex; align-items: center; gap: 16px; }
.h3 .top-hero img { width: 78px; height: auto; flex: none; display: block; }
.h3 .top-hero-copy { min-width: 0; flex: 1; }
.h3 .top-hero-copy h1 { margin: 0; font-size: 33px; line-height: 1.25; font-weight: 800; }
.h3 .top-hero-copy h1 em { font-style: normal; color: var(--rose); }
.h3 .stat-bar { display: inline-flex; align-items: center; margin-top: 9px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; white-space: nowrap; max-width: 100%; }
.h3 .stat-bar span { padding: 4px 12px; font-size: 14px; font-weight: 700; color: var(--sub); }
.h3 .stat-bar span + span { border-left: 1px solid var(--line); }
.h3 .stat-bar b { color: var(--ink); font-weight: 800; }
.h3 section.pick { padding: 24px 0 12px; }
.h3 .pick-grid { grid-template-columns: 1fr 500px; gap: 24px; align-items: stretch; }
.h3 .city-stack { display: flex; flex-direction: column; gap: 18px; }
.h3 .grp-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-family: var(--round); font-size: 16px; font-weight: 800; color: var(--sub); }
.h3 .grp-label small { font-family: 'Pretendard Variable', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); }
.h3 .major-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h3 .major { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px 16px; border-radius: 18px; border: 2px solid var(--sakura-soft); background: linear-gradient(180deg, #FFF9FB 0%, #fff 100%); text-decoration: none; color: inherit; transition: border-color .12s, background .12s; }
.h3 .major:hover, .h3 .major.hot { border-color: var(--rose); background: var(--blush); }
.h3 .major-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h3 .major .nm { font-family: var(--round); font-weight: 800; font-size: 22px; line-height: 1.2; }
.h3 .major .cnt { padding: 4px 10px; border-radius: 999px; background: var(--rose); color: #fff; font-family: var(--round); font-weight: 800; font-size: 14px; white-space: nowrap; }
.h3 .major-info { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.h3 .tag-ko { padding: 2px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-size: 13px; font-weight: 700; }
.h3 .tag-pr { font-family: var(--round); font-size: 15px; font-weight: 800; color: var(--rose); white-space: nowrap; }
.h3 .minor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.h3 .minor { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: border-color .12s, background .12s; }
.h3 .minor:hover, .h3 .minor.hot { border-color: var(--rose); background: var(--blush); }
.h3 .minor .nm { font-family: var(--round); font-weight: 800; font-size: 16.5px; min-width: 0; }
.h3 .minor .rt { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.25; }
.h3 .minor .cnt { font-family: var(--round); font-weight: 800; font-size: 14.5px; color: var(--sub); white-space: nowrap; }
.h3 .minor .pr { font-family: var(--round); font-weight: 800; font-size: 13.5px; color: var(--rose); white-space: nowrap; }
.h3 .minor.zero { background: #FAFAFB; }
.h3 .minor.zero .nm { color: var(--sub); }
.h3 .minor.zero .cnt { color: var(--muted); font-size: 13.5px; }
.h3 .minor.wide { grid-column: 1 / 3; }
.h3 .jp { height: auto; min-height: 460px; }
.h3 section.guide { padding: 24px 0 46px; }
.h3 .g-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.h3 .g { flex-direction: row; align-items: center; gap: 10px; min-height: 0; padding: 15px 14px; border-radius: 16px; }
.h3 .g-n { flex: none; width: 28px; height: 28px; font-size: 13.5px; }
.h3 .g-t { margin-top: 0; font-size: 15.5px; line-height: 1.3; }
@media (max-width: 959px) {
  .h3 .top-hero { padding: 13px 0; }
  .h3 .top-hero-in { gap: 11px; }
  .h3 .top-hero img { width: 52px; }
  .h3 .top-hero-copy h1 { font-size: 20.5px; }
  .h3 .stat-bar { margin-top: 6px; border-radius: 10px; }
  .h3 .stat-bar span { padding: 3px 8px; font-size: 13px; }
  .h3 section.pick { padding: 15px 0 6px; }
  .h3 .pick-grid { grid-template-columns: 1fr; }
  .h3 .city-stack { gap: 14px; }
  .h3 .grp-label { font-size: 15px; margin-bottom: 8px; }
  .h3 .major-grid { grid-template-columns: 1fr; gap: 8px; }
  .h3 .major { flex-direction: row; align-items: center; padding: 13px 14px; border-radius: 15px; }
  .h3 .major .nm { font-size: 19px; }
  .h3 .major .cnt { font-size: 13.5px; padding: 3px 9px; }
  .h3 .major-info { justify-content: flex-end; }
  .h3 .minor-grid { gap: 7px; }
  .h3 .minor { padding: 10px 12px; }
  .h3 .minor .nm { font-size: 15.5px; }
  .h3 .jp { display: none; }
  .h3 section.guide { padding: 18px 0 30px; }
  .h3 .g-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .h3 .g { padding: 12px; border-radius: 14px; gap: 8px; }
  .h3 .g:last-child { grid-column: 1 / 3; }
  .h3 .g-n { width: 24px; height: 24px; font-size: 13px; }
  .h3 .g-t { font-size: 14.5px; }
}

/* ===== 문의 ===== */
.v-contact .wrap { max-width: 640px; padding-top: 32px; padding-bottom: 56px; }
.v-contact h1 { margin: 0 0 8px; font-size: 28px; }
.v-contact .lead { margin: 0 0 20px; color: var(--sub); line-height: 1.6; }
.q-form { display: grid; gap: 14px; }
.q-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.q-form label small { font-weight: 600; color: var(--muted); font-size: 13px; }
.q-form textarea, .q-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; font: inherit; font-size: 16px; background: #fff; }
.q-form textarea { min-height: 180px; resize: vertical; }
.q-form textarea:focus, .q-form input:focus { outline: none; border-color: var(--rose); }
.q-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-form .pv { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.q-form .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.q-form .len { font-size: 13px; color: var(--muted); }
.q-msg { color: var(--rose); font-weight: 700; font-size: 14px; min-height: 1em; }
.q-done { display: grid; justify-items: center; gap: 8px; padding: 30px 10px; text-align: center; }
.q-done img { width: 110px; height: auto; }
.q-done b { font-size: 19px; }
.q-done span { color: var(--sub); }
@media (max-width: 959px) { .v-contact .wrap { padding-top: 22px; } .v-contact h1 { font-size: 24px; } }

/* 언어 바꾸기 (PC: 메뉴 줄 오른쪽 끝, 휴대폰: ☰ 메뉴 아래) */
.nav .langs { margin-left: auto; display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: #F4F4F6; }
.nav .langs a { padding: 4px 10px; font-size: 13px; font-family: 'Pretendard Variable', sans-serif; font-weight: 700; color: var(--sub); }
.nav .langs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(45,45,52,.12); }
.nav .langs a.on::after { display: none; }
.mmenu .langs { display: flex; gap: 4px; margin-top: 4px; padding-top: 8px; border-top: 1px solid #EEE; }
.mmenu .langs a { flex: 1; padding: 8px 6px; text-align: center; font-family: 'Pretendard Variable', sans-serif; font-size: 14px; font-weight: 700; color: var(--sub); }
.mmenu .langs a.on { color: var(--ink); background: #F4F4F6; }
:lang(ja) body, :lang(en) body { word-break: normal; overflow-wrap: anywhere; }
:lang(ja) body { font-family: 'Pretendard Variable', Pretendard, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif; }
.nb { display: inline-block; }
/* 영어·일본어: 도시 이름이 중간에서 끊기지 않게, 자리가 모자라면 병원 수를 아래 줄로 */
.major .nm { white-space: nowrap; }
:lang(en) .major-hd, :lang(ja) .major-hd { flex-wrap: wrap; row-gap: 4px; }
.mmenu .langs a { white-space: nowrap; padding-left: 2px; padding-right: 2px; }
/* 일본어·영어판: 작은 도시 칸에서 도시 이름이 중간에 끊기지 않게(넘치면 가격이 아래 줄로) */
html:not([lang="ko"]) .h3 .minor { flex-wrap: wrap; column-gap: 6px; row-gap: 2px; padding: 12px 13px; }
html:not([lang="ko"]) .h3 .minor .nm { white-space: nowrap; font-size: 15.5px; }
html:not([lang="ko"]) .h3 .minor .rt { margin-left: auto; }

/* 휴대폰 위쪽 Language 버튼(☰ 왼쪽, 대표님 2026-11-15). 도시 화면처럼 최저가 띠가 있으면 숨기고 ☰ 메뉴에서 고름 */
.lang-btn, .lmenu { display: none; }
@media (max-width: 959px) {
  .lang-btn { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-left: auto; height: 34px; padding: 0 11px 0 9px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-family: 'Pretendard Variable', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); }
  .lang-btn svg { width: 16px; height: 16px; color: var(--sub); }
  .lang-btn[aria-expanded="true"] { border-color: var(--rose); }
  .lang-btn ~ .menu-btn { margin-left: 2px; }
  .top-cheap:not([hidden]) ~ .lang-btn { display: none; }
  .top-cheap:not([hidden]) ~ .lang-btn ~ .menu-btn { margin-left: 4px; }
  .lmenu { position: absolute; right: 50px; top: calc(100% + 6px); z-index: 2000; display: block; min-width: 160px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(45,45,52,.2); }
  .lmenu[hidden] { display: none; }
  .lmenu .langs { display: flex; flex-direction: column; }
  .lmenu .langs a { padding: 12px 14px; border-radius: 10px; font-family: var(--round); font-weight: 800; font-size: 16px; text-decoration: none; color: var(--ink); }
  .lmenu .langs a.on { color: var(--rose); background: var(--blush); }
}

/* 병원 화면 작은 지도: 휴대폰은 고정하고 지도 전체를 누르면 구글 지도로(대표님 2026-11-15) */
.v-clinic .mini-wrap { position: relative; margin-bottom: 14px; }
.v-clinic .mini-wrap .mini { margin-bottom: 0; }
.v-clinic .mini-open { position: absolute; right: 10px; top: 10px; z-index: 5; text-decoration: none; }
.v-clinic .mini-open span { display: inline-block; padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(45,45,52,.18); font-family: var(--round); font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; }
@media (max-width: 959px) {
  .v-clinic .mini-open { inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 10px 10px 0 0; border-radius: var(--r); }
}
/* 가격 알아보기: "약"을 작게 금액 앞에 붙여 한 줄로, 좁으면 원화만 아래 줄로 */
.v-clinic .res { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
.v-clinic .res .lbl, .v-clinic .res .conds { flex-basis: 100%; }
.v-clinic .res .y { white-space: nowrap; }
.v-clinic .res .y .ap { font-size: .55em; margin-right: 4px; color: var(--sub); }
.v-clinic .res .w { margin-left: auto; }
.v-clinic .res.none .y { white-space: normal; }

/* 온라인 진료 거르기 안내 */
.f-note { margin: 8px 0 2px; padding: 9px 12px; border-radius: 12px; background: #FFF6DB; color: #7A5A00; font-size: 14px; font-weight: 600; line-height: 1.5; }
.f-note[hidden] { display: none; }
.v-city .panel.low .f-note { display: none; }

/* 병원에 일본어로 물어보기 */
.ask-ja .aq { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 10px 0 12px; }
.ask-ja .aq label { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.ask-ja .aq input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--rose); }
.ask-ja .ja-box { white-space: pre-wrap; word-break: normal; line-break: strict; padding: 14px 16px; border-radius: 14px; background: #F7F7F9; border: 1.5px solid var(--line); font-size: 15px; line-height: 1.7; font-family: 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', 'Pretendard Variable', sans-serif; }
.ask-ja .row { margin-top: 10px; display: flex; justify-content: flex-end; }
.ask-ja .row .btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 959px) { .ask-ja .aq { grid-template-columns: 1fr; } }
/* 일본어 글은 띄어쓰기가 없어서 keep-all이면 쉼표에서만 줄이 바뀜 → 일본어 부분은 보통 줄바꿈 */
:lang(ja) { word-break: normal; line-break: strict; }

/* 병원 공식 LINE·카톡 버튼(대표님 2026-11-15) */
.btn.line { border-color: #06C755; background: #06C755; color: #fff; }
.btn.kakao { border-color: #FEE500; background: #FEE500; color: #191919; }
.v-clinic .hd .btns { flex-wrap: wrap; justify-content: flex-end; max-width: 520px; }
.v-clinic .chat-note { margin: 8px 0 0; font-size: 13.5px; color: var(--sub); }
.ask-ja .row { gap: 8px; flex-wrap: wrap; }
@media (max-width: 959px) {
  .v-clinic .hd .btns { max-width: none; }
  .v-clinic .hd .btns .btn.line, .v-clinic .hd .btns .btn.kakao { flex-basis: 100%; }
  .ask-ja .row .btn { flex: 1; }
}

/* LINE·카톡 로고(병원 이름 줄 오른쪽, 목록 카드 이름 옆) */
.v-clinic .h1row { display: flex; align-items: center; gap: 10px; }
.v-clinic .h1row h1 { flex: 0 1 auto; min-width: 0; }
.v-clinic .chat-ico { flex: none; display: inline-flex; gap: 8px; margin-left: auto; }
.v-clinic .chat-ico .ci { display: block; width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 6px rgba(45,45,52,.15); }
.v-clinic .chat-ico svg, .chat-mk svg { display: block; width: 100%; height: 100%; }
.chat-mk { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: -3px; }
.chat-mk svg { width: 18px; height: 18px; }
.btn.line svg, .btn.kakao svg { width: 22px; height: 22px; border-radius: 6px; }
@media (min-width: 960px) { .v-clinic .chat-ico { margin-left: 4px; } }
/* 문의 글 칸의 LINE·카톡 버튼: 흰 바탕에 로고 그대로, 휴대폰은 복사 버튼 한 줄 + 로고 버튼 한 줄 */
.ask-ja .row .btn.line, .ask-ja .row .btn.kakao { background: #fff; color: var(--ink); white-space: nowrap; }
.ask-ja .row .btn.line { border-color: #06C755; }
.ask-ja .row .btn.kakao { border-color: #E9CF00; }
.ask-ja .row .btn { white-space: nowrap; }
@media (max-width: 959px) {
  .ask-ja .row [data-copy-ask] { flex-basis: 100%; }
  .ask-ja .row .btn.line, .ask-ja .row .btn.kakao { flex: 1; }
}

/* 좁은 휴대폰에서도 용량 버튼 한 줄 */
@media (max-width: 400px) { .v-clinic .opts { gap: 5px; } .v-clinic .opt { padding: 0 10px; } }
/* 영어는 기간 글자가 길어 버튼 안에서 두 줄로 쌓고 세 버튼을 한 줄에 */
@media (max-width: 959px) {
  :lang(en) .v-clinic .months .opt { flex: 1 1 0; flex-direction: column; padding: 4px 6px; }
  :lang(en) .v-clinic .months .opt small { margin-left: 0; }
}

/* 같은 건물이라 안 갈라지는 묶음: 누르면 병원 목록 */
.cl-list { position: absolute; left: 0; bottom: 24px; transform: translateX(-50%); width: 250px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.24); z-index: 10001; }
.cl-list[hidden] { display: none; }
.cl-it { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; }
.cl-it + .cl-it { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.cl-it:hover, .cl-it:active { background: #FFF3F6; }
.cl-it .n { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; white-space: normal; }
.cl-it b { flex: none; font-family: var(--round); font-size: 15px; font-weight: 800; color: var(--rose); white-space: nowrap; }
.cl-it b.ask { font-size: 13px; color: var(--muted); }
.cl-pop .leaflet-popup-content-wrapper { padding: 0; border-radius: 14px; }
.cl-pop .leaflet-popup-content { margin: 0; }
.cl-pop .cl-list { position: static; transform: none; box-shadow: none; }
