/* The first page, type D (2026-11-07, the team's pick: 타입 D · 지금 색 · 등급 섞기 · 지도 왼쪽 · 동네 칠하기 · 먹색 실선).
   Moved from the design lab (lab/src/designs.css, 배치 9) into the site. landing-d.js builds the page when html.ld-on is set
   (landing-d-boot.js: wide screens only; phones keep the first page as it was until their own sample is chosen).
   --ld-* are the colour slots the settings can change (accent = buttons and key words, panel = pale faces). */
:root { --ld-band: #222222; --ld-band-2: #2E2E2E; --ld-band-line: #3A3A3A; --ld-on-band: #FFFFFF; --ld-on-band-2: #BDBDBD; --ld-pop: #FF385C;
  --ld-accent: #E00B41; --ld-on-accent: #FFFFFF; --ld-panel: #F7F7F7; --ld-alt: #FFE45C; --ld-on-alt: #222222; }
html.ld-on section.hero, html.ld-on .promise, html.ld-on .poll-band { display: none; }
.ld-en .r2-snap-map .r2-cg { grid-template-columns: 200px minmax(0, 1fr); }
.ld-en .r2-radar { width: 200px; }
.dz.ld-en .r2-copy h1 { font-size: clamp(36px, 3.6vw, 52px); }
.r2-band-in.soon { cursor: default; }
.dz { background: var(--ww-bg); color: var(--ww-ink); }
.dz h1 em, .dz h2 em { font-style: normal; }
/* the colour sets carry heading touches of their own (an offset print shadow, a highlighter); inside a layout the layout decides */
.dz h1, .dz h2 { text-shadow: none !important; }
.dz h1 em, .dz h2 em { background: none !important; text-shadow: none !important; }
.dz-stat span { display: block; font-size: 13px; color: var(--ww-muted); }
.dz-stat b { font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dz .hero-map { margin: 0; }
.dz .hero-map .map-card { background: #fff; color: #222; --ww-ink: #222; --ww-muted: #6A6A6A; --ww-body: #3F3F3F; --ww-line-soft: #EBEBEB; --ww-bg: #fff; }

/* ===== r2 세이지 + 진홍 ===== */
.r2-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding-top: 48px; padding-bottom: 48px; align-items: start; }
.r2-copy .dz-mono { color: var(--ww-muted); margin: 0 0 18px; }
.r2-copy h1 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 64px); line-height: 1.12; font-weight: 900; letter-spacing: -0.04em; }
.r2-copy h1 em { color: var(--ld-accent) !important; }
.r2-lead { margin: 0 0 28px; font-size: 19px; color: var(--ww-body); }
.r2-search { min-height: 62px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.r2-search button { min-height: 52px; padding: 0 22px; font-size: 17px; }
.r2-chips { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 14px; color: var(--ww-muted); }
.r2-chips span { padding-right: 10px; border-right: 1px solid var(--ww-line); }
.r2-chips button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ld-panel); color: var(--ww-ink); font: 600 14px var(--ww-sans); cursor: pointer; }
.r2-chips button[aria-pressed="true"] { background: var(--ww-ink); color: var(--ww-bg); }
.r2-all { display: inline-flex; align-items: center; gap: 8px; color: var(--ld-accent); font-weight: 800; font-size: 18px; text-decoration: none; }
.r2-snap { padding: 28px; border-radius: 24px; background: var(--ld-panel); }
.r2-snap > .dz-mono { margin: 0; color: var(--ww-body); } .r2-snap h2 { margin: 6px 0 18px; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.r2-snap-card { padding: 24px; border-radius: 16px; background: #fff; color: #222; --ww-muted: #6A6A6A; }
.r2-snap-k { margin: 0; color: #6A6A6A; font-size: 11px !important; }
.r2-snap-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.r2-snap-h b { font-size: 30px; letter-spacing: -0.03em; }
.r2-pill { padding: 4px 12px; border: 1.5px solid var(--ld-accent); border-radius: 999px; color: var(--ld-accent); font-size: 13px; font-weight: 700; }
.r2-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #EBEBEB; }
.r2-grid .dz-stat { padding: 14px 0; border-bottom: 1px solid #EBEBEB; } .r2-grid .dz-stat:nth-child(odd) { border-right: 1px solid #EBEBEB; } .r2-grid .dz-stat:nth-child(even) { padding-left: 20px; }
.r2-years { margin: 12px 0; font-size: 13px; color: #6A6A6A; }
.r2-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ld-accent); font-weight: 800; }
.r2-steps { border-top: 1px solid var(--ww-line-soft); border-bottom: 1px solid var(--ww-line-soft); }
.r2-steps-in { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 32px; padding-bottom: 32px; }
.r2-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 0 28px; border-left: 1px solid var(--ww-line-soft); color: var(--ww-ink); text-decoration: none; }
.r2-step:first-child { border-left: 0; padding-left: 0; }
.r2-no { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ld-panel); font-weight: 900; }
.r2-step b { font-size: 21px; } .r2-step small { font-size: 15px; color: var(--ww-muted); line-height: 1.5; }
.r2-two-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 44px; padding-bottom: 44px; }
.r2-two-in > div + div { padding-left: 48px; border-left: 1px solid var(--ww-line-soft); }
.r2-ask-h { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.r2-ask-ic { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 16px; background: var(--ld-panel); }
.r2-two .dz-mono { margin: 0 0 4px; color: var(--ww-muted); } .r2-two h2 { margin: 0 0 6px; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; } .r2-two p { margin: 0; color: var(--ww-body); }
.r2-checks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.r2-checks span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.r2-checks svg { padding: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--ld-panel); box-sizing: border-box; }
.r2-band { padding-bottom: 40px; }
.r2-band-in { display: flex; align-items: center; gap: 24px; padding: 26px 32px; border-radius: 20px; background: var(--ld-panel); color: var(--ww-ink); text-decoration: none; }
.r2-band-in b { flex: 1; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; padding-left: 24px; border-left: 1px solid var(--ww-line-strong); }
.r2-band-in span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

.dz-r2-map { --g1: var(--ww-grade-1); --g2: var(--ww-grade-2); --g3: var(--ww-grade-3); --g4: var(--ww-grade-4); --g5: var(--ww-grade-5); --t1: var(--ww-grade-on-1, #fff); --t2: var(--ww-grade-on-2, #222); --t3: var(--ww-grade-on-3, #222); --t4: var(--ww-grade-on-4, #222); --t5: var(--ww-grade-on-5, #fff); }
.dz-r2-map .r2-hero .wrap { max-width: 1360px; }
.dz-r2-map .r2-hero-in { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 36px; padding-top: 28px; padding-bottom: 32px; align-items: center; }
.dz-r2-map .r2-copy h1 { font-size: clamp(38px, 3.9vw, 56px); }
.dz-r2-map .r2-chips { flex-wrap: wrap; }
.r2-snap-map { padding: 12px; border-radius: 20px; }
.r2-map .hero-map { padding: 0 !important; min-height: 0 !important; background: transparent !important; border-radius: 0 !important; }
.r2-map .hero-map figcaption, .r2-map .map-card { display: none !important; }
.r2-map .city-map { display: block; width: 100%; height: auto; max-height: calc(100vh - 300px); min-height: 380px; }
.r2-map .city-map .areas path { fill: #FFFFFF; stroke: var(--r2m-line, #8A8A8A); stroke-width: 1; }
.r2-map .city-map .bia.r2-on path { stroke: #FFFFFF; stroke-width: 2.6; }   /* the chosen outline is drawn over it (.sel-area) */
.r2-map .swap-marks .mk { cursor: pointer; outline: none; }
.r2-map .swap-marks .dot { stroke: #FFFFFF; stroke-width: 1.5; }
.r2-map .swap-marks .numt { font: 800 10.5px var(--ww-sans, system-ui, sans-serif); pointer-events: none; }
.r2-map .swap-marks .nm { font: 600 11.5px var(--ww-sans, system-ui, sans-serif); fill: #161617; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; stroke-linejoin: round; cursor: pointer; }
.r2-map .swap-marks .ld { stroke: var(--r2m-lead, #161617); stroke-width: .9; fill: none; }
.r2-map .swap-marks .ring { fill: none; stroke: var(--ww-here, #FF385C); stroke-width: 2.8; opacity: 0; pointer-events: none; }
/* the chosen area (2026-11-08, coral A + ink edge, /lab/a11yfix): white band and a thin ink edge round the coral ring */
.r2-map .swap-marks .ring-w { fill: none; stroke: #FFFFFF; stroke-width: 2.6; opacity: 0; pointer-events: none; }
.r2-map .swap-marks .ring-e { fill: none; stroke: #161617; stroke-width: .9; opacity: 0; pointer-events: none; }
.r2-map .swap-marks .mk.on .ring-w, .r2-map .swap-marks .mk.on .ring-e { opacity: 1; }
.r2-map .swap-marks .mk:focus-visible .ring-w, .r2-map .swap-marks .mk:focus-visible .ring-e { opacity: 0; }
.r2-map .city-map .sel-area path { fill: none; stroke-linejoin: round; pointer-events: none; }
.r2-map .city-map .sel-area .sel-e { stroke: #161617; stroke-width: 7.6; }
.r2-map .city-map .sel-area .sel-w { stroke: #FFFFFF; stroke-width: 6; }
.r2-map .city-map .sel-area .sel-c { stroke: var(--ww-here, #FF385C); stroke-width: 2.6; }
.r2-map .swap-marks .hl { display: none; }
.r2-map .swap-marks .mk.on .ring, .r2-map .swap-marks .mk:focus-visible .ring { opacity: 1; }
.r2-map .swap-marks .mk[data-g="1"] .numt { fill: var(--t1); } .r2-map .swap-marks .mk[data-g="2"] .numt { fill: var(--t2); } .r2-map .swap-marks .mk[data-g="3"] .numt { fill: var(--t3); } .r2-map .swap-marks .mk[data-g="4"] .numt { fill: var(--t4); } .r2-map .swap-marks .mk[data-g="5"] .numt { fill: var(--t5); }
.r2-snap-map .r2-snap-card { margin-top: 10px; padding: 12px 16px 10px; border-radius: 12px; }
.r2-snap-map .r2-snap-k { display: none; }
.r2-snap-map .r2-snap-h { margin: 0 0 6px; }
.r2-snap-map .r2-snap-h b { font-size: 21px; }
.r2-snap-map .r2-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; }
.r2-snap-map .r2-grid .dz-stat { padding: 2px 0 2px 12px !important; border: 0 !important; border-left: 1px solid #EBEBEB !important; }
.r2-snap-map .r2-grid .dz-stat:first-child { padding-left: 0 !important; border-left: 0 !important; }
.r2-snap-map .r2-grid .dz-stat b, .r2-snap-map .r2-grid .dz-stat strong { font-size: 18px !important; }
.r2-snap-map .r2-years { display: inline-block; margin: 6px 12px 0 0; font-size: 12px; }
.r2-snap-map .r2-more { font-size: 14px; }

/* ===== 배치 9 타입 C: 후 카드 ===== */
.r2-hoo-card { --ww-ink: #161617; --ww-body: #3F3F3F; --ww-muted: #5F5F5F; --ww-line: #D5D5D5; --ww-bg: #FFFFFF; margin: 0 0 16px; padding: 18px; border: 1px solid var(--ld-panel); border-radius: 16px; background: #FFFFFF; color: #161617; box-shadow: 0 4px 16px rgba(0, 0, 0, .07); }
.r2-hc-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.r2-hc-h > div { flex: 1; min-width: 0; }
.r2-hc-h b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.r2-hc-h small { display: block; font-size: 13px; color: #5F5F5F; line-height: 1.4; }
.r2-hc-face { flex: none; display: block; width: 44px; height: 44px; }
.r2-hc-face svg { display: block; width: 44px; height: 44px; }
.r2-hc-ai { flex: none; align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: var(--ld-panel); color: #161617; font-size: 12px; font-weight: 700; }
.r2-hoo-card .hoo-ask { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; max-width: none; }
.r2-hoo-card .hoo-who { display: none; }
.r2-hoo-card .hoo-box { padding: 0; border: 0; background: none; }
.r2-hoo-card .hoo-box::before { display: none; }
.r2-hoo-card .hoo-ask-box { background: #FFFFFF; }
.r2-hoo-card .hoo-ask-chips button { min-height: 40px; background: #FFFFFF; color: #3F3F3F; border-color: #D5D5D5; }
.dz-r2-hoo .r2-two-in { grid-template-columns: 1fr; }
.dz-r2-hoo .r2-two-in > div + div { padding-left: 0; border-left: 0; }

/* 상권 자동 넘김 */
.r2-snap-map { position: relative; }
.r2-spin { position: absolute; z-index: 3; top: 18px; left: 18px; min-height: 44px; padding: 0 12px; border: 1px solid #BBBBBB; border-radius: 8px; background: #FFFFFF; color: #222222; font: 600 13px var(--ww-sans, system-ui, sans-serif); cursor: pointer; }
.r2-spin:hover { border-color: #222222; }
.r2-spin:focus-visible { outline: 2px solid #222222; outline-offset: 2px; }

/* 지도 왼쪽 비교 */
.dz-r2-map.r2-left .r2-hero-in { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.dz-r2-map.r2-left .r2-snap-map { order: -1; }
.r2-snap-map .r2-more { display: inline-flex; margin-top: 6px; }

/* 레이더와 지도 표현 */
.r2-walk path { fill-opacity: .3; stroke-opacity: .3; stroke-width: 32; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.r2-snap-map .r2-cg { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; }
.r2-radar { display: block; width: 170px; height: auto; }
.rd-g { fill: none; stroke: #DDDDDD; stroke-width: .8; }
.rd-avg { fill: rgba(120, 120, 120, .14); stroke: #777777; stroke-width: 1.2; stroke-dasharray: 3 2; }
.rd-a { fill: color-mix(in srgb, var(--ld-accent) 24%, transparent); stroke: var(--ld-accent); stroke-width: 2; stroke-linejoin: round; }
.rd-t { font: 600 9.5px var(--ww-sans, system-ui, sans-serif); fill: #3F3F3F; }
.rd-k { margin: 2px 0 0; font-size: 11.5px; color: #5F5F5F; text-align: center; }
.rd-k i { display: inline-block; width: 12px; height: 3px; margin: 0 3px 3px 6px; background: var(--ld-accent); }
.rd-k i.b { background: #777777; }
.r2-snap-map .r2-grid { grid-template-columns: 1fr 1fr; row-gap: 6px; }
.r2-snap-map .r2-grid .dz-stat:nth-child(3) { padding-left: 0 !important; border-left: 0 !important; }
.r2-map .city-map { max-height: calc(100vh - 362px); min-height: 340px; }

/* ===== 배치 9 타입 D: 타입 C 그대로 + 분석 미리보기 제목 + 시내 확대 (2026-11-05) ===== */
.dz-r2-e .wrap, html.ld-on .site-foot-in { max-width: 1360px; }
html.ld-on .top-in { max-width: 1168px; }   /* the bar as on every other page (1120 + 2 × 24), only the map below is wider (2026-11-14) */
.r2-eyebrow { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ww-muted); }
/* the title takes no height: it hangs in the map's empty corner, like a tab on the card */
.dz-r2-e .r2-snap-map .r2-pv-t { position: relative; top: 10px; z-index: 2; display: flex; align-items: center; width: fit-content; height: 38px; margin: -38px 0 0; padding: 0 8px 0 6px; border-radius: 0 12px 0 0; background: var(--ld-panel); font-size: 21px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.r2-pv-i { display: grid; place-items: center; width: 34px; height: 44px; margin: -3px 0; padding: 0; border: 0; background: none; color: inherit; cursor: help; }
.r2-pv-i i { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; font: 700 11px/1 var(--ww-sans, system-ui, sans-serif); font-style: normal; opacity: .65; }
.r2-pv-i:hover i, .r2-pv-i:focus-visible i { opacity: 1; }
.r2-pv-i:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; border-radius: 8px; }
.r2-pv-tip { position: absolute; left: 0; bottom: calc(100% + 4px); padding: 6px 10px; border-radius: 6px; background: #161617; color: #FFFFFF; font-size: 12.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.r2-pv-i:hover + .r2-pv-tip, .r2-pv-i:focus-visible + .r2-pv-tip { opacity: 1; }
/* a grade reads from its own colour, not from the page's accent (a red pill on a grade 1 area said the opposite) */
.dz-r2-e .r2-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 4px; border: 1px solid #D5D5D5; color: #161617; }
.dz-r2-e .r2-pill::before { content: attr(data-g); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; }
.dz-r2-e .r2-pill[data-g="1"]::before { background: var(--g1); color: var(--t1); } .dz-r2-e .r2-pill[data-g="2"]::before { background: var(--g2); color: var(--t2); } .dz-r2-e .r2-pill[data-g="3"]::before { background: var(--g3); color: var(--t3); } .dz-r2-e .r2-pill[data-g="4"]::before { background: var(--g4); color: var(--t4); } .dz-r2-e .r2-pill[data-g="5"]::before { background: var(--g5); color: var(--t5); }
/* the map's buttons, stacked in the empty corner */
.r2-map-ctl { position: absolute; z-index: 3; top: 18px; left: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.r2-map-ctl .r2-spin { position: static; }
.dz-r2-e .r2-zoom[aria-pressed="true"] { background: #161617; border-color: #161617; color: #FFFFFF; }
.dz-r2-e .r2-map .swap-marks { transition: opacity .14s; }
.dz-r2-e .r2-map [data-zoom] { cursor: zoom-in; }
.dz-r2-e .is-zoomed .r2-map [data-zoom], .dz-r2-e .zm-layer .mk { cursor: pointer; }
.dz-r2-e .r2-map .areas path, .dz-r2-e .r2-map .bia path, .dz-r2-e .r2-map .edges path, .dz-r2-e .r2-map .sel-area path { vector-effect: non-scaling-stroke; }
.dz-r2-e .r2-map text.mk { cursor: pointer; }
/* below: no half-empty line */
.dz-r2-e .r2-why { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
.dz-r2-e .r2-why h2, .dz-r2-e .r2-why > p { grid-column: 1; }
.dz-r2-e .r2-checks { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }

/* the zoomed map stays inside its own box */
.dz-r2-e .r2-map .city-map { overflow: hidden; border-radius: 12px; }

/* 타입 D: 지도 단추는 오른쪽 위 한 줄, 넘김은 아이콘 */
.dz-r2-e .r2-map-ctl { left: auto; right: 18px; flex-direction: row; align-items: center; }
.dz-r2-e .r2-spin-i { display: grid; place-items: center; width: 44px; padding: 0; }

/* 타입 D: 시내 점선 표시 */
.r2-near-box { fill: transparent; stroke: var(--r2m-lead, #161617); stroke-width: 1.3; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; cursor: zoom-in; pointer-events: all; transition: stroke-width .12s; }
.r2-near:hover .r2-near-box { stroke-width: 2; }
.is-zoomed .r2-near { display: none; }
/* 타입 D: 평소 지도 위에 떠 있는 단추 없음. 확대 표지는 점선 위, 멈춤·재생은 카드 제목 옆 */
.dz-r2-e .r2-pv-t .r2-spin-i { position: static; display: grid; place-items: center; width: 34px; height: 44px; min-height: 0; margin: -3px 0; padding: 0; border: 0; background: none; color: inherit; opacity: .75; }
.dz-r2-e .r2-pv-t .r2-spin-i:hover, .dz-r2-e .r2-pv-t .r2-spin-i:focus-visible { opacity: 1; }
.dz-r2-e .r2-pv-t .r2-spin-i:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; border-radius: 8px; }

/* 타입 D: 시내 확대는 지도 모서리 단추 하나. 자료를 가리지 않고 44px, 올리면 점선이 굵어짐 (2026-11-05) */
.dz-r2-e .r2-zoom { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #161617; color: #161617; background: #FFFFFF; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); transition: background .15s, color .15s; }
.dz-r2-e .r2-zoom:hover { background: #161617; color: #FFFFFF; }
.dz-r2-e .r2-zoom:focus-visible { outline: 2px solid #161617; outline-offset: 2px; }
.dz-r2-e .r2-zoom[aria-pressed="true"] { background: #161617; color: #FFFFFF; }
.dz-r2-e .near-on .r2-near-box { stroke-width: 2.4; }

/* 타입 D: 시내 표시 비교 (?near=). 먹색 단추 + 영역 표현 세 가지 (2026-11-05) */
.dz-r2-e { --near-stroke: #161617; --near-btn: #161617; --near-btn-t: #FFFFFF; --near-btn-h: #3A3A3D; }
.r2-near-fd { display: none; fill: none; stroke: var(--near-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.dz-r2-e:is(.near-ink, .near-wash, .near-finder) .r2-zoom { border-color: var(--near-btn); background: var(--near-btn); color: var(--near-btn-t); }
.dz-r2-e:is(.near-ink, .near-wash, .near-finder) .r2-zoom:hover { background: var(--near-btn-h); border-color: var(--near-btn-h); }
.near-ink .r2-near-box { stroke: var(--near-stroke); stroke-width: 2; stroke-dasharray: none; }
.near-wash .r2-near-box { fill: var(--near-stroke); fill-opacity: .1; stroke: var(--near-stroke); stroke-width: 1.2; stroke-dasharray: none; }
.near-wash .r2-near:hover .r2-near-box, .near-wash.dz-r2-e .near-on .r2-near-box { fill-opacity: .17; }
.near-finder .r2-near-box { stroke: none; }
.near-finder .r2-near-fd { display: inline; }
.near-finder .near-on .r2-near-fd, .near-finder .r2-near:hover .r2-near-fd { stroke-width: 4.5; }
.near-finder .near-on .r2-near-box { stroke: none; }
/* 좁은 창: 시내 단추는 아이콘만 (이름표를 가리지 않게) */
@media (max-width: 1240px) { .dz-r2-e .r2-zoom { justify-content: center; width: 44px; padding: 0; font-size: 0; gap: 0; } }

/* 레이더 이름표 툴팁 */
.rd-l { cursor: help; outline: none; }
.rd-l .rd-t { text-decoration: underline dotted; text-underline-offset: 2px; }
.rd-l:hover .rd-t, .rd-l:focus-visible .rd-t { fill: #161617; font-weight: 800; }
.rd-tip { position: absolute; z-index: 6; width: 270px; padding: 9px 12px; border-radius: 8px; background: #161617; color: #FFFFFF; font-size: 13px; font-weight: 500; line-height: 1.45; word-break: keep-all; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.rd-tip[hidden] { display: none; }

/* the turn button (2026-11-07, option C): a 32 px circle on a 44 px target, the rim fills over the 5 s to the next area */
.r2-spin-c { position: relative; display: inline-grid; margin: -3px 0 -3px 2px; }
.r2-spin-b { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: #222222; cursor: pointer; }
.r2-spin-b .r2-spin-rim, .r2-spin-b .r2-spin-prog { position: absolute; inset: 6px; width: 32px; height: 32px; }
.r2-spin-b .r2-spin-rim circle { fill: #FFFFFF; stroke: #BBBBBB; stroke-width: 1.5; transition: fill .12s; }
.r2-spin-b:hover .r2-spin-rim circle, .r2-spin-b:focus-visible .r2-spin-rim circle { fill: #EFEFEF; }
.r2-spin-b .r2-spin-prog { transform: rotate(-90deg); }
.r2-spin-b .r2-spin-prog circle { fill: none; stroke: #222222; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; }
.r2-spin-b .r2-spin-ico { position: relative; width: 12px; height: 12px; }
.r2-spin-b:focus-visible { outline: 2px solid #222222; outline-offset: 0; }
.r2-spin-tip { position: absolute; z-index: 4; left: calc(100% + 4px); top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 6px; background: #161617; color: #FFFFFF; font-size: 12.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; display: none; }
/* hidden, the tip still took room: on phones it pushed the page to 489px (591px in English) and the Hoo button off screen (2026-11-15) */
.r2-spin-b:hover + .r2-spin-tip, .r2-spin-b:focus-visible + .r2-spin-tip { display: block; }
.r2-spin-tip::after { content: ""; position: absolute; right: 100%; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right-color: #161617; }
.r2-spin-b:hover + .r2-spin-tip, .r2-spin-b:focus-visible + .r2-spin-tip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .r2-spin-b .r2-spin-rim circle, .r2-spin-tip { transition: none; } }
/* "지금 많이 보는 상권 TOP3" sits on its own line above the three chips (2026-11-07) */
.r2-chips { flex-wrap: wrap; }
.r2-chips > span { flex-basis: 100%; margin-bottom: -2px; padding-right: 0; border-right: 0; }

/* accessibility (2026-11-07): the preview heading holds only its words; the buttons sit beside it in the same row */
.r2-pv-h { margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; }
/* one stop per map area: a transparent 26 px press area, and a two-tone focus ring (white under ink) seen on any grade colour */
.r2-map .swap-marks .hit { fill: transparent; stroke: none; pointer-events: all; }
.r2-map .swap-marks .fring-w, .r2-map .swap-marks .fring { fill: none; opacity: 0; pointer-events: none; }
.r2-map .swap-marks .fring-w { stroke: #FFFFFF; stroke-width: 6.5; }
.r2-map .swap-marks .fring { stroke: #161617; stroke-width: 2.5; }
.r2-map .swap-marks .mk:focus-visible .fring-w, .r2-map .swap-marks .mk:focus-visible .fring { opacity: 1; }
.r2-map .swap-marks .mk:focus-visible .ring { opacity: 0; }

/* Hoo sits on the card's edge (2026-11-07, the owner chose C from reports/samples/landing/WhereWise_후표기·첫화면문구·근거체크_3안_v1.00.html):
   Hoo is the character, so the face is big and first; "AI 챗봇" stays a small tag. The card wears Hoo's own cream (--ww-hoo-*). */
.r2-hoo-card { position: relative; margin-top: 44px; padding-top: 52px; background: var(--ww-hoo-bg, #FFF9E8); border-color: var(--ww-hoo-line, #F1E2B3); }
.r2-hc-face { position: absolute; left: 18px; top: -42px; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--ww-hoo-bg, #FFF9E8); box-shadow: 0 4px 12px rgba(107, 90, 30, .18); }
.r2-hc-face svg { width: 62px; height: 62px; }
.r2-hc-hi { position: absolute; left: 116px; top: -24px; padding: 7px 14px; border-radius: 16px 16px 16px 4px; background: #161617; color: #FFFFFF; font-size: 15px; font-weight: 800; white-space: nowrap; }
.r2-hc-h small { color: var(--ww-hoo-ink, #6B5A1E); }
.r2-hc-ai { background: #FFFFFF; border: 1px solid var(--ww-hoo-line, #F1E2B3); }
.r2-hoo-card .hoo-ask-box { border-color: var(--ww-hoo-line, #F1E2B3); }
.r2-hoo-card .hoo-ask-chips button { border-color: var(--ww-hoo-line, #F1E2B3); }

/* the trust checks (2026-11-07, the owner chose 1안 형광펜 from the same sample): an ink disc with a highlighter-yellow tick, and the
   words over a highlighter stroke. The yellow is --ww-marker, the Beta highlighter, so no new colour joins the page. */
.r2-checks svg { background: var(--ww-ink, #222222); color: var(--ww-marker, #FFE45C); stroke-width: 3; }
.r2-checks span { font-weight: 900; background: linear-gradient(transparent 45%, var(--ww-marker, #FFE45C) 45% 92%, transparent 92%) no-repeat; background-size: calc(100% - 40px) 100%; background-position: right 0 top 0; padding-right: 4px; }

/* phones and narrow windows (2026-11-08): type D in one column — the words and Hoo first, then the map, then the preview */
@media (max-width: 960px) {
  .dz-r2-map .r2-hero-in, .dz-r2-map.r2-left .r2-hero-in, .r2-hero-in { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 24px; }
  .dz-r2-map.r2-left .r2-snap-map { order: 2; }
  .dz-r2-map .r2-copy h1, .dz.ld-en .r2-copy h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .r2-snap-map .r2-cg, .ld-en .r2-snap-map .r2-cg { grid-template-columns: minmax(0, 1fr); }
  .r2-snap-map .r2-grid { grid-template-columns: 1fr 1fr; }
  .r2-steps-in, .r2-two-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .r2-step { padding: 12px 0; border-left: 0; border-top: 1px solid var(--ww-line-soft); }
  .dz-r2-e .r2-map, .dz .hero-map { max-width: 100%; }
  /* the preview's title sits on its own line under the map's chips, not tucked over them */
  .dz-r2-e .r2-snap-map .r2-pv-t { top: 0; margin: 14px 0 6px; padding: 0; background: none; }
  /* "좋은 판단은…" and its three checks: one under the other (the side column squeezed the words to one letter a line) */
  .dz-r2-e .r2-why { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .dz-r2-e .r2-why > * { grid-column: 1 !important; grid-row: auto !important; }
  .r2-band-in { flex-wrap: wrap; gap: 10px 14px; padding: 20px; }
  .r2-band-in b { flex: 1 1 calc(100% - 64px); padding-left: 14px; font-size: 22px; }
  .r2-band-in span { flex-basis: 100%; color: var(--ww-muted); font-size: 14px; }
}
