
:root {
  --bg: #f3e9e6;
  --pane: #fbf6f4;
  --ink: #24262b;
  --ink2: #4d4f57;
  --rose: #b88a86;
  --rose-l: #e6d3cf;
  --ac: #4637a6;
  --ac2: #36298a;
  --ac-l: #e7e3f6;
  --on: #ffffff;
  --gr: #34373d;
  --line: rgba(36, 38, 43, .16);
  --scrim: rgba(36, 38, 43, .84);
  --barh: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
  scroll-padding-bottom: calc(var(--barh) + 16px);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
}
html:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif; }
html:lang(zh) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* ko·ja keep-all 은 반드시 overflow-wrap anywhere 와 함께(긴 낱말·주소가 칸을 뚫지 않게) */
html:lang(ko) body, html:lang(ja) body { word-break: keep-all; overflow-wrap: anywhere; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--barh) + env(safe-area-inset-bottom, 0px));
}
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--ac); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
/* 큰 제목 공통: 줄바꿈 허용 + anywhere + clamp */
h1, h2, h3 { font-weight: 800; white-space: normal; overflow-wrap: anywhere; }
html:lang(ko) :is(h1, h2, h3), html:lang(ja) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
.wh1-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wh1-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wh1-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none; }
.wh1-skip:focus { top: 8px; }
.wh1-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- D3: 상단 최소 머리(모바일은 상호만) ---------- */
.wh1-top { border-bottom: 1px solid var(--line); }
.wh1-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 6px 20px; }
.wh1-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; color: var(--ink); font-size: 17px; font-weight: 800; text-decoration: none; }
.wh1-brand span { overflow-wrap: anywhere; }
.wh1-mark { display: block; width: 28px; height: 28px; flex: none; }
.wh1-topnav { display: none; }

/* ---------- A6: 약도 중심 히어로 ---------- */
.wh1-hero { padding: 16px 0 8px; }  /* 머리 아래 빈 띠 16px(24px 이하) */
.wh1-hero-grid { display: grid; gap: 18px; }
.wh1-hero-text { display: grid; gap: 12px; justify-items: start; align-content: start; min-width: 0; }
.wh1-lang { display: flex; flex-wrap: wrap; margin: 0 0 0 -8px; }
.wh1-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; color: var(--ink2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.wh1-lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ac); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.wh1-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink2); }
.wh1-h1 { margin: 0; line-height: 1.08; letter-spacing: -.02em; max-width: 100%; }
.wh1-h1-place { display: block; margin-bottom: 6px; font-size: clamp(16px, 4.4vw, 20px); font-weight: 700; color: var(--ink2); letter-spacing: 0; }
.wh1-h1-name { display: block; font-size: clamp(40px, 12vw, 84px); font-weight: 800; color: var(--ink); }
.wh1-lead { margin: 0; font-size: clamp(15px, 4vw, 17px); line-height: 1.6; color: var(--ink2); }
/* T015 r9: 괄호 표지(지도 기준)는 한 덩이 — 넘치면 그 앞에서 줄이 바뀐다(ja 320/110 keep-all 넘침 6px) */
.wh1-lead-note { display: inline-block; }
.wh1-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.wh1-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-width: 100%; padding: 0 20px; border: 1.5px solid var(--ac); border-radius: 2px;
  background: var(--ac); color: var(--on); font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.wh1-btn:hover { background: var(--ac2); border-color: var(--ac2); }
.wh1-btn-line { background: transparent; color: var(--ac); }
.wh1-btn-line:hover { background: var(--ac-l); color: var(--ac2); }
/* 약도: 선 하나(대화역 -> 가게)와 점 넷. 범례는 HTML 목록(글자는 SVG 안에 두지 않는다 — 좁은 폭 넘침 방지) */
.wh1-map { margin: 0; min-width: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.wh1-map-svg { display: block; width: 100%; height: auto; }
.wh1-legend ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.wh1-legend li { position: relative; padding-left: 20px; min-width: 0; }
.wh1-legend li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; }
.wh1-k-venue { color: var(--ink); font-weight: 800; }
.wh1-k-venue::before { background: var(--ac); }
.wh1-k-st::before { border-radius: 50%; background: var(--rose); }
.wh1-k-far::before { border-radius: 50%; border: 3px solid var(--rose); }
.wh1-k-note { padding-left: 0 !important; }
.wh1-k-note::before { display: none; }
/* 2:1 사진 띠: overflow hidden 상자 — 안의 캡션은 반드시 줄바꿈 */
.wh1-band { position: relative; margin: 16px 0 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rose-l); }
.wh1-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.wh1-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 2px 8px; background: var(--scrim); color: #fff; font-size: 12px; line-height: 1.5;
  white-space: normal; overflow-wrap: anywhere; }

/* ---------- 구역: C3 모자이크(1024+ 12칸) · E3 구분선형 ---------- */
.wh1-sec { padding: 36px 0 4px; }
.wh1-mos { display: grid; gap: 0 32px; }
.wh1-h2 { margin: 0 0 6px; font-size: clamp(24px, 6vw, 34px); line-height: 1.3; letter-spacing: -.01em; }
.wh1-blk { margin: 0; min-width: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.wh1-sec p { margin: 0; }
.wh1-rows { display: grid; gap: 10px; align-content: start; }
.wh1-big { font-size: clamp(17px, 4.6vw, 21px); line-height: 1.6; font-weight: 600; }
.wh1-big p { font-size: inherit; }
.wh1-gal { display: grid; gap: 16px; }
.wh1-ph { position: relative; overflow: hidden; margin: 0; min-width: 0; }
.wh1-ph img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.wh1-hours { font-size: clamp(20px, 5.4vw, 28px); font-weight: 800; line-height: 1.4; border-top: 3px solid var(--ac); }
/* 주소 + 복사 */
.wh1-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-top: 1px dashed var(--line); }
.wh1-addr-k { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--ink2); }
.wh1-addr strong { flex: 1 1 14em; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.wh1-floor { font-weight: 700; }
.wh1-ac { display: none; }
.js .wh1-ac { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ac);
  border-radius: 2px; background: transparent; color: var(--ac); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.wh1-ac .wh1-ic { width: 16px; height: 16px; grid-row: 1; grid-column: 1; }
.wh1-ac > span { grid-row: 1; grid-column: 2; }
.wh1-ac .wh1-l2 { visibility: hidden; }
.wh1-ac.is-ok .wh1-l1 { visibility: hidden; }
.wh1-ac.is-ok .wh1-l2 { visibility: visible; }
/* 길: 사각 점 목록 */
.wh1-way { list-style: none; display: grid; gap: 0; }
.wh1-way li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); }
.wh1-way li:last-child { border-bottom: 0; }
.wh1-way li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 10px; background: var(--rose); }
/* FAQ */
.wh1-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.wh1-qa summary::-webkit-details-marker { display: none; }
.wh1-qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; background: var(--ac-l); text-align: center; font-size: 20px; font-weight: 500; line-height: 28px; color: var(--ac2); }
.wh1-qa[open] summary::after { content: "\2212"; }
.wh1-qa p { margin: 8px 0 4px !important; color: var(--ink2); }
/* 연락 */
.wh1-contact { display: grid; gap: 10px; align-content: start; }
.wh1-telno { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 15px; color: var(--ink2); }
.wh1-telno a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(22px, 6vw, 26px); font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- 푸터(흑연 면) ---------- */
.wh1-foot { margin-top: 40px; background: var(--gr); color: #e9e6ea; padding: 36px 0 30px; font-size: 14px; line-height: 1.6; }
.wh1-foot a { color: #cfc8f4; }
.wh1-foot address { font-style: normal; display: grid; gap: 2px; color: #dcd9de; }
.wh1-foot-name { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 800; min-width: 0; }
.wh1-mark-s { width: 20px; height: 20px; }
/* g14-hit(T015, dev mail 7305): 확장 누름 영역을 음수 margin 으로 겹치지 않는다 — 옆 줄에 모서리가 덮였다. margin 0 + 위로 올림 */
.wh1-foot-tel { display: inline-block; padding: 11px 2px; margin: 0; position: relative; z-index: 1; }
.wh1-foot-nav { display: flex; flex-wrap: wrap; margin: 16px 0 12px -10px; }
.wh1-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #fff; text-decoration: none; }
.wh1-foot-legal p { margin: 0 0 8px; color: #dcd9de; }
.wh1-foot-legal .wh1-adult { color: #fff; }
/* 해시 줄: 아이콘+라벨을 감싼 바깥 묶음만 nowrap(변주 자리 안에는 nowrap 없음), 줄바꿈은 해시 칩 앞에서만 */
.wh1-proof-lab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; vertical-align: middle; }
.wh1-proof-lab .wh1-ic { width: 16px; height: 16px; color: #cfc8f4; }
.wh1-hash { display: inline-block; padding: 1px 8px; background: #23252a; color: #f0eef2; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.wh1-hash-long { display: block; max-width: 100%; margin-top: 4px; padding: 6px 10px; white-space: normal; overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.wh1-proofs { display: none; }
.js .wh1-proofs { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 4px 0 0 -4px; }
.wh1-linkbtn { display: none; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: #cfc8f4; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.js .wh1-linkbtn { display: inline-flex; }
.wh1-src { margin-top: 10px; }
.js .wh1-src { display: none; }
.wh1-src summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.wh1-src h3, .wh1-dlg h3 { margin: 16px 0 6px; font-size: 15px; }
.wh1-src dl, .wh1-dlg dl { margin: 0; }
.wh1-src dl > div, .wh1-dlg dl > div { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.wh1-src dd, .wh1-dlg dd { margin: 0; min-width: 0; }
/* g14-hit(T015, dev mail 7305): 확장 누름 영역을 음수 margin 으로 겹치지 않는다 — 옆 줄에 모서리가 덮였다. margin 0 + 위로 올림 */
.wh1-src dd a, .wh1-dlg dd a { display: inline-block; padding: 11px 0; margin: 0; position: relative; z-index: 1; }
.wh1-log { list-style: none; margin: 0; padding: 0; }
.wh1-log li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.wh1-law { margin: 0; padding-left: 1.3em; }
.wh1-law li { margin: 0 0 6px; }

/* ---------- 다이얼로그(밝은 면, 모서리 0) ---------- */
.wh1-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 0; background: var(--pane); color: var(--ink); }
.wh1-dlg[open] { display: flex; flex-direction: column; }
.wh1-dlg::backdrop { background: rgba(36, 38, 43, .55); }
.wh1-dlg a { color: var(--ac); }
.wh1-dlg dt { color: var(--ink2); }
.wh1-dlg dl > div, .wh1-dlg .wh1-log li { border-top-color: var(--line); }
.wh1-dlg .wh1-hash { background: #ece2df; color: var(--ink); }
.wh1-dlg-top { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-bottom: 1px solid var(--line); }
.wh1-dlg-top .wh1-ic { color: var(--ac); }
.wh1-dlg-top h2 { flex: 1; min-width: 0; margin: 0; font-size: 17px; }
.wh1-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.wh1-dlg-body { overflow: auto; padding: 4px 20px 14px; font-size: 14px; line-height: 1.6; }
.wh1-dlg-body > p { margin: 10px 0 0; color: var(--ink2); }
.wh1-dlg-foot { padding: 10px 20px 14px; border-top: 1px solid var(--line); }
.wh1-dlg-foot .wh1-btn { min-height: 44px; }

/* ---------- D3 하단 탭(1023px 이하): 구역 셋 + 강조 「전화」 칸 = 연락 바 ---------- */
.wh1-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 4px;
  min-height: var(--barh); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--pane); border-top: 1px solid var(--line); }
.wh1-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 44px; min-height: 52px;
  color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.wh1-tab .wh1-ic { width: 20px; height: 20px; }
.wh1-tab-tel { flex-direction: row; gap: 8px; background: var(--ac); color: var(--on); font-size: 16px; border-radius: 2px; }
.wh1-tab-tel:hover { background: var(--ac2); }

@media (min-width: 768px) {
  .wh1-band { aspect-ratio: 2 / 1; }
  .wh1-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wh1-h2, .wh1-s12, .wh1-s7, .wh1-s5 { grid-column: 1 / -1; }
  .wh1-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  html { scroll-padding-bottom: 16px; scroll-padding-top: 16px; }
  body { padding-bottom: 0; }
  .wh1-bar { display: none; }
  .wh1-topnav { display: flex; align-items: center; gap: 4px; }
  .wh1-tl { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
  .wh1-top-tel { min-height: 44px; margin-left: 8px; padding: 0 18px; font-size: 15px; }
  .wh1-top-in { padding: 8px 40px; }
  .wh1-wrap { padding: 0 40px; }
  .wh1-hero { padding: 20px 0 8px; }
  .wh1-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
  .wh1-hero-text { gap: 16px; }
  .wh1-band { margin-top: 24px; }
  .wh1-sec { padding: 56px 0 8px; }
  .wh1-mos { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .wh1-h2, .wh1-s12 { grid-column: span 12; }
  .wh1-s7 { grid-column: span 7; }
  .wh1-s6 { grid-column: span 6; }
  .wh1-s5 { grid-column: span 5; }
  .wh1-s4 { grid-column: span 4; }
  .wh1-sec p { font-size: 17px; }
  .wh1-big, .wh1-big p { font-size: 20px; }
  .wh1-h1-name { font-size: clamp(48px, 6vw, 84px); } /* T035: the 5fr text column is ~376px at 1024; 84px 「Gentleman」 broke mid-word (en/zh/ja) */
}

/* r9: hero 슬롯. 767 이하 4:5 사진을 4:3 틀에 center 60%, 768 이상 16:9 사진을 높이 clamp 틀에 center 60% */
.wh1-band { aspect-ratio: 4 / 3; }
.wh1-band img { object-position: center 60%; }
@media (min-width: 768px) { .wh1-band { aspect-ratio: auto; height: clamp(280px, 26vw, 400px); } .wh1-band img { object-position: center 60%; } }
/* r9: 같은 지역 링크 줄(푸터 메뉴와 같은 꼴) */
.wh1-foot-rel { display: flex; flex-wrap: wrap; margin: 0 0 12px -10px; }
.wh1-foot-rel a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #fff; text-decoration: none; }

/* r10: 3D 스테이지 띠 바탕(프리셋 wedom-rose 의 bg 와 같게). 인라인 style 없이 변수만 */
.s3d { --s3d-bg: #140810; --s3d-accent: #f06a98; }
