/* K-Walk 손님 화면(가게 한 장 · 첫 화면 = 지도 · 공공 장소 · 도움말 · 2단계 · 사장님 · 마스터) — 11-28 2단계 디자인(결정 61 검정 · 핑크 + 흰 · 62 · 시안 _작업/시안-1127/).
   색 · 글꼴 바탕은 ../assets/site.css(흰 · 검정 · 핑크 — 시험이 값을 고정). 여기는 자리 · 꼴.
   원칙(가이드 0절): 흐름이 먼저 · 핑크로 채운 단추는 한 화면에 하나(첫 화면 = 「To my stay」) · 검정은 구조, 흰 바탕은 숨 쉴 곳.
   모서리: 0 목록 줄 · 6 단추 · 입력 · 썸네일 · 14 시트 위만 · 원은 지도 핀 · 지도 위 동그란 단추만. 그림자는 지도 위에 뜬 것에만(--float).
   갈래는 색이 아니라 글자 + 선 그림으로(갈래 아홉 색 · 3D 그림은 안 씀). 사진 없는 곳 = 검정 네모 + 한글 원명 네 글자.
   폭: 폰(375~) 먼저 → 768 목록 | 지도 2단 · 가게 한 장 2단 → 1024 위 막대에 탭. 손가락 칸 44px 이상 · 본문 16px · 보조 글 12px 이상.
   인라인 style 없음(공개판 CSP style-src 'self'). 바깥 글꼴 · 그림 0. */
:root {
  --tab-h: 62px;
  --top-h: 52px;
  --display: -0.02em;      /* 큰 제목 자간(세리프 없음 — 결정 62 안 B) */
  /* 옛 이름(별칭 — talk.css 가 씀 · 이 파일의 새 규칙은 쓰지 않음) */
  --green-deep: var(--ink);
  --green-wash: var(--fill);
  --r-md: var(--r-btn);
}

/* 갈래 표시: 색 대신 검정 하나(옛 클래스 이름만 남음 — 지도 점 · 목록 아이콘이 씀) */
.pl-cat-eat, .pl-cat-hot, .pl-cat-stay, .pl-cat-shop, .pl-cat-beauty, .pl-cat-do, .pl-cat-night, .pl-cat-move, .pl-cat-live { --cat: var(--ink); }

.note { font-size: 0.9375rem; }

/* ── 위 막대(로고 · 계정 · 언어 · PC 에서는 탭) ── */
/* 손님 화면은 viewport-fit=cover — 노치 · 둥근 모서리(safe-area)만큼 위 · 옆을 띄움(없는 기기는 0) */
.pl-top { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.pl-top-in, .pl.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.pl-top-in { max-width: 80rem; margin: 0 auto; padding-top: 4px; padding-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: var(--top-h); }
/* 로고(결정 60 · 4-7): 작게 판 아이콘 28px + 각진 글자 17px. 파일은 assets/logo/ 한 곳(이름이 바뀌면 그 파일만 · 결정 63) */
.pl-brand { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; flex: none; color: var(--ink); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.pl-brand .kw-icon { display: block; width: 28px; height: 28px; flex: none; }
.pl-brand .kw-word { display: block; height: 22px; width: auto; } /* kmapping(결정 63): 아래로 내린 p · g 만큼 판이 커져 22px = 옛 17px 와 같은 글자 몸통 */
/* 폰(400px 아래): 글자가 kwalk 의 두 배 폭이라 22px 이면 위 막대가 두 줄로 접혀 장소 한 장의 저장 단추가 탭 막대 밑으로 감 — 16px(폭 약 80px)로 한 줄 유지 */
@media (max-width: 400px) { .pl-brand .kw-word { height: 16px; } }
/* 머리를 그대로 둔 옛 화면(상담 화면 등)의 점 자리 = 작은 로고 아이콘 */
.pl-brand-dot { display: inline-block; width: 24px; height: 24px; flex: none; background: url(../assets/logo/icon.svg) no-repeat center / contain; }
.pl-top .langs { margin-left: auto; padding: 0; gap: 0; flex: none; }
/* 언어: 글자 단추 · 지금 언어는 검정 굵게 + 핑크 밑줄(시안 ①) */
.pl-top .langs button { flex: none; min-height: 44px; padding: 0 8px; border: 0; border-radius: 0; background: none; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.pl-top .langs button[aria-pressed="true"] { background: none; color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--pink); }

/* 탭: 폰 · 태블릿은 아래 고정 검정 띠(고른 탭 = 핑크 · 검정 위 6:1), PC(1024~)는 위 막대 안 */
.pl-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding: 0 4px env(safe-area-inset-bottom, 0px);
  background: var(--ink);
}
.pl-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; text-decoration: none; color: var(--muted-on-ink); font-size: 0.75rem; font-weight: 500; position: relative; }
.pl-tab .pl-ico { position: relative; z-index: 1; width: 22px; height: 22px; }
.pl-tab span { position: relative; z-index: 1; }
.pl-tab[aria-current="page"] { color: var(--pink); font-weight: 700; }
.pl-tab[aria-current="page"] .pl-ico { stroke-width: 2.3; }
.pl-tab:focus-visible { outline-offset: -4px; }
body[data-page="go"] .pl-tabbar { display: none; }

.pl-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.pl { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 40px); }
.pl.wrap { max-width: 80rem; }
body[data-sheet="true"] { overflow: hidden; }

.pl-band { margin: 10px 0 8px; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--r-btn); font-size: 0.875rem; font-weight: 600; }
.pl-band p { margin: 0; }
.pl-band-warn { margin-top: 6px !important; color: #FFD7E6; }

.pl-head { padding: 20px 0 4px; max-width: 44rem; }
.pl-head h1 { margin: 0; font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: var(--display); }
.pl-head p { margin: 8px 0 0; }
.pl-h2 { margin: 0 0 10px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }

.pl-coming { margin: 20px 0; padding: 18px; background: var(--fill); border: 0; border-left: 4px solid var(--ink); border-radius: 0; max-width: 44rem; }
.pl-coming h2 { margin: 0 0 6px; }
.pl-coming p { margin: 0; }

/* ── 찾기 칸: 흰 칸 · 검정 1.5px 테두리 · 모서리 6 · 오른쪽 검정 「Search」 단추(시안 ①) ── */
.pl-q { position: relative; margin: 16px 0 0; max-width: 40rem; }
.pl-q > .pl-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink); pointer-events: none; width: 20px; height: 20px; stroke-width: 2; }
.pl-q-input {
  width: 100%; min-height: 52px; padding: 0 20px 0 44px;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 0; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--ink);
  -webkit-appearance: none; appearance: none;
}
.pl-q-input::placeholder { color: var(--muted); font-weight: 400; }
.pl-q-input:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.pl-intro.is-search .pl-head h1 { font-size: clamp(1.625rem, 6vw, 2.25rem); }

.pl-season { display: flex; align-items: center; min-height: 52px; margin: 14px 0 0; padding: 12px 18px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }

/* ── 사진 띠(pub/featured.json · 11-28 지도 시트 안 · 가로 넘김 · 사진 아래 늘 출처 한 줄) — 자료가 없으면 비어 숨음 ── */
.pl-feat { margin: 24px 0 0; min-width: 0; }
.pl-feat:empty { display: none; }
.pl-feat-list { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.pl-feat-item { flex: 0 0 min(64%, 240px); scroll-snap-align: start; min-width: 0; }
.pl-feat-a { display: block; min-height: 44px; color: var(--ink); text-decoration: none; }
.pl-feat-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-btn); background: var(--fill); }
.pl-feat-name { display: block; margin: 6px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pl-feat-ko { display: block; margin: 2px 0 0; font-size: 0.8125rem; line-height: 1.35; overflow-wrap: anywhere; }
.pl-feat-cat { display: block; margin: 2px 0 0; font-size: 0.875rem; color: var(--muted); }
.pl-feat-by { margin-top: 4px; }

.pl-help-link { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 4px 16px; min-height: 52px; background: var(--fill); border-radius: var(--r-btn); font-weight: 600; }
.pl-help-link a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.pl-ours-h { margin-top: 36px; font-size: 1.5rem; letter-spacing: var(--display); }

/* ── 종류 줄(우리 가게) ── */
.pl-kinds { display: flex; gap: 8px; margin: 14px 0 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pl-kinds button {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px;
  border: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r-btn); background: var(--paper); font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.pl-kind-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--fill); color: var(--ink); }
.pl-kind-ico .pl-ico { width: 20px; height: 20px; }
.pl-kinds button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pl-kinds button[aria-pressed="true"] .pl-kind-ico { background: var(--pink); color: var(--on-pink); }

/* ── 동네 띠(11-26 원본 동네.json 20곳 · 11-28 지도 시트 첫 구역 — 결정 59 둘째): 흰 칸 · 손님 언어 이름 크게 · 한글 작게 · 곳 수 ── */
.pl-stations { margin: 24px 0 0; }
.pl-hood-wrap { position: relative; }
.pl-areas {
  position: relative; display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  padding: 2px var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter));
  /* 끝 쪽 흐림 = "더 있음"(JS 가 data-start · data-end 를 맞춤 — 처음은 오른쪽만 흐림) */
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 44px), transparent 100%);
}
.pl-areas::-webkit-scrollbar { display: none; }
.pl-areas[data-start="false"] {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
}
.pl-areas[data-start="false"][data-end="true"] {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 100%);
}
.pl-areas[data-start="true"][data-end="true"] { -webkit-mask-image: none; mask-image: none; }
.pl-areas[data-drag="true"] { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pl-stn {
  position: relative; flex: 0 0 auto; min-width: 96px; max-width: 10rem; min-height: 44px; scroll-snap-align: start;
  display: grid; justify-items: start; align-content: start; gap: 1px; padding: 10px 12px;
  border: 0; border-radius: var(--r-btn); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; color: var(--ink); text-align: left; cursor: pointer;
}
.pl-stn-dot { display: none; }
/* 손님 언어 이름 = 큰 글씨(「・」 마다 한 줄) · 한글 = 작은 보조 줄 */
.pl-stn-name { display: grid; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
.pl-stn-ws { display: grid; }
.pl-stn-w { display: block; }
html[lang="en"] .pl-stn-name { font-size: 0.9375rem; letter-spacing: 0; overflow-wrap: normal; }
html[lang="en"] .pl-stn-n { white-space: normal; }
.pl-stn-ko { margin-top: 2px; font-size: 0.75rem; font-weight: 400; line-height: 1.2; color: var(--muted); word-break: keep-all; }
.pl-stn-n { font-size: 0.8125rem; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.pl-stn.is-empty .pl-stn-name { color: var(--muted); }
/* 고른 동네: 검정 채움(색만으로 뜻을 전하지 않음 — aria-pressed 같이) */
.pl-stn[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.pl-stn[aria-pressed="true"] .pl-stn-ko, .pl-stn[aria-pressed="true"] .pl-stn-n { color: var(--muted-on-ink); }
.pl-stn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
/* 화살표: PC(마우스)에서만 — 폰 · 태블릿은 손가락으로 넘김 */
.pl-hood-arrow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .pl-hood-arrow {
    display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -26px; padding: 0 0 3px;
    border: 0; border-radius: 50%; background: var(--paper); color: var(--ink);
    font: inherit; font-size: 1.75rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: var(--float), inset 0 0 0 1.5px var(--ink);
  }
  .pl-hood-arrow.is-prev { left: -8px; }
  .pl-hood-arrow.is-next { right: -8px; }
  .pl-hood-arrow[disabled] { display: none; }
  .pl-areas { cursor: grab; }
}
/* 고른 동네: 이름 + 지도 · 찾기 단추 */
.pl-hood-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; padding: 12px 14px; background: var(--fill); border-radius: var(--r-btn); }
.pl-hood-pick-h { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.pl-hood-pick-h .note { margin: 0; }
.pl-hood-pick-h strong { font-size: 1.125rem; font-weight: 700; }
.pl-hood-pick-h .pl-stn-ko { font-size: 0.8125rem; }
.pl-hood-go { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-hood-go > a { gap: 6px; text-decoration: none; }
.pl-hood-go .pl-ico { width: 18px; height: 18px; }

/* ── 필터 칩 · 결과 수 ── */
.pl-results { margin: 20px 0 0; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--paper); color: var(--ink);
  font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pl-chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pl-chip[aria-pressed="true"] { background: var(--ink); box-shadow: none; color: var(--paper); }
.pl-count-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; min-height: 44px; }
.pl-count { margin: 0; font-weight: 700; }
.pl-clear { min-height: 44px; border: 0; background: none; padding: 0 4px; font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); cursor: pointer; }
.pl-clear[data-on="false"] { visibility: hidden; }

/* ── 가게 카드 · 장소 줄 ── */
.pl-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 0; }
.pl-card { position: relative; min-width: 0; }
.pl-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 56px 14px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  text-decoration: none; color: var(--ink);
}
.pl-item:hover .pl-item-name { text-decoration: underline; text-underline-offset: 3px; }
.pl-item-body { display: grid; align-content: start; gap: 2px; min-width: 0; }
.pl-item-name { font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pl-item-ko { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.pl-item-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--muted); font-size: 0.875rem; margin-top: 2px; }
.pl-empty { padding: 18px; background: var(--card); border: 2px dashed var(--line); border-radius: var(--r-btn); }
.pl-empty p { margin: 0; }

.pl-save {
  position: absolute; top: 10px; right: 0; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-btn); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); cursor: pointer;
}
.pl-save .pl-ico { width: 24px; height: 24px; }
.pl-save[aria-pressed="true"] .pl-ico, .pl-save-btn[aria-pressed="true"] .pl-ico, .pl-save-chip[aria-pressed="true"] .pl-ico { fill: var(--pink); stroke: var(--ink); } /* 저장됨 = 핑크 채움 + 모양(색만으로 뜻을 전하지 않음 — aria-pressed · 글자 같이) */

/* 우리 가게 그림 자리: 카드(4:5 통째) 또는 한글 이름 글자 타일 */
.pl-thumb { position: relative; margin: 0; width: 96px; aspect-ratio: 4 / 5; border-radius: var(--r-btn); overflow: hidden; background: var(--line); }
.pl-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pl-thumb-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; background: rgba(0, 0, 0, 0.85); color: #FFFFFF; font-size: 0.75rem; line-height: 1.3; text-align: center; }
.pl-tile { position: relative; width: 96px; aspect-ratio: 4 / 5; border-radius: var(--r-btn); overflow: hidden; background: var(--ink); color: var(--paper); display: block; }
.pl-tile-cafe { background: var(--ink); }
.pl-tile-shop { background: var(--ink); }
/* 글자 타일 이름(11-26 본부 검토 4번): 손님 언어 이름 · 칸 안에서만 · 석 줄 넘으면 말줄임 · 동네 이름 줄과 안 겹침 */
.pl-tile-name { position: absolute; left: 8px; right: 8px; top: 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; text-overflow: ellipsis; max-height: calc(3 * 1.15em); font-size: 1rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: anywhere; word-break: normal; }
.pl-tile-area { position: absolute; left: 8px; right: 30px; bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.75rem; font-weight: 600; }
.pl-tile .pl-ico { position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; }
.pl-tile.big { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
.pl-tile.big .pl-tile-name { font-size: clamp(1.75rem, 8vw, 3.25rem); left: 20px; top: 16px; right: 20px; }
.pl-tile.big .pl-tile-area { left: 20px; right: 64px; bottom: 16px; font-size: 1rem; }
.pl-tile.big .pl-ico { right: 18px; bottom: 16px; width: 36px; height: 36px; }

/* 공공 장소 줄: 사진(정사각) 또는 갈래 그림 칸 · 출처 한 줄은 줄 아래 */
.pl-item.pl-pub-item { grid-template-columns: 80px 1fr; align-items: start; padding-right: 14px; } /* 11-29 네모 64 → 80(결정 66 카드의 매장명이 12px 이상으로 두 줄 읽히게 · 사진 · 한글 네모도 같은 폭) */
.pl-pub-thumb { width: 80px; height: 80px; flex: none; border-radius: var(--r-btn); object-fit: cover; background: var(--fill); display: block; }
/* 공공누리 제3유형(변경 금지) 사진: 자르지 않고 통째로 — 남는 곳은 바탕색(11-26 대표님 결정 ①) */
.pl-pub-thumb.is-whole, .pl-feat-img.is-whole, .pl-photo img.is-whole { object-fit: contain; background: var(--ink); } /* 공공누리 3유형: 통째로 · 남는 곳은 검은 띠(결정 54 · 가이드 5절) */
.pl-pub-ico { width: 80px; height: 80px; }
/* 누끼 + 매장명 카드(결정 66 · 배민 옛 꼴): 위 = 매장명(13px 굵게 · 두 줄 · 넘치면 말줄임) · 아래 = 업종 누끼(있을 때만) · 오른쪽 아래 작은 K-Mapping 표시(CSS 배경)
   바탕은 갈래마다 브랜드 안에서(옅은 핑크 · 회색 · 흰 · 검정) — 글자는 늘 검정 위 흰 또는 밝은 바탕 위 검정(핑크 위 흰 글자 안 씀) */
.pl-nk { position: relative; display: flex; flex-direction: column; justify-content: center; width: 80px; height: 80px; flex: none; padding: 6px 6px 16px; overflow: hidden; border-radius: var(--r-btn); background: var(--fill); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pl-nk.has-nk { justify-content: flex-start; }
.pl-nk-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; max-height: calc(2 * 1.2em); font-size: 0.8125rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; word-break: normal; }
.pl-nk-img { position: absolute; left: 50%; bottom: 2px; width: 60px; height: 46px; transform: translateX(-50%); object-fit: contain; }
.pl-nk::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; background: url(../assets/logo/icon.svg) no-repeat center / contain; }
.pl-nk-eat, .pl-nk-beauty { background: var(--pink-wash); box-shadow: none; }
.pl-nk-stay, .pl-nk-move, .pl-nk-live { background: var(--paper); }
.pl-nk-night { background: var(--ink); color: var(--paper); box-shadow: none; }
.pl-nk-night::after { box-shadow: 0 0 0 1px var(--muted-on-ink); border-radius: 3px; }
/* 누끼가 없는 키(대표님 11-29 B안): 업종 컷 작은 판만 네모 가득 — 매장명 띠 · K-Mapping 표시 없음(사진을 가리는 것 0) */
.pl-nk.is-cut { padding: 0; background: var(--fill); box-shadow: none; }
.pl-nk-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-nk.is-cut::after { content: none; }
/* 음식점 글자 칸(결정 67 ③): 사진 · 메뉴 그림 없는 음식점 — 옅은 핑크 바탕 · 우리 선 아이콘 + 음식 종류 낱말 · 여백 넉넉히 */
.pl-ft { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 80px; height: 80px; flex: none; margin: 0; padding: 10px 6px; border-radius: var(--r-btn); background: var(--pink-wash); color: var(--ink); text-align: center; }
.pl-ft .pl-ico { width: 24px; height: 24px; stroke-width: 1.6; opacity: 0.8; }
.pl-ft-word { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; max-width: 100%; font-size: 0.75rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; word-break: normal; }
.pl-ft.is-card { width: auto; height: auto; min-height: 104px; margin-bottom: 12px; gap: 8px; }
.pl-ft.is-card .pl-ico { width: 30px; height: 30px; }
.pl-ft.is-card .pl-ft-word { font-size: 0.875rem; }
.pl-ft.is-big { width: auto; height: auto; min-height: 200px; gap: 12px; padding: 28px var(--gutter); border-radius: 0; }
.pl-ft.is-big .pl-ico { width: 44px; height: 44px; stroke-width: 1.4; }
.pl-ft.is-big .pl-ft-word { font-size: 1.125rem; -webkit-line-clamp: 1; line-clamp: 1; }
.pl-photo-by { display: block; margin: 6px 0 0; font-size: 0.75rem; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.pl-photo-by a { color: var(--ink); font-weight: 600; }
/* 출처 · 라이선스 링크: 보이는 글자는 그대로, 누르는 자리만 44px(위아래 음수 여백으로 줄 높이는 안 바꿈 — 11-26 본부 검토 6번) */
.pl-photo-by a, .pl-sources a { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; margin: -14px 0; padding: 0 4px; text-align: center; vertical-align: middle; }
.pl-card .pl-item-by { margin: 4px 14px 0; }

.pl-price { display: inline-flex; font-weight: 700; letter-spacing: 0.02em; }
.pl-price-on { color: var(--ink); }
.pl-price-off { color: var(--line); }

/* 지금 영업 중 */
.pl-open { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; margin-top: 2px; }
.pl-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pl-open.is-open { color: var(--ink); }
.pl-open.is-open::before { background: var(--ink); box-shadow: 0 0 0 3px var(--fill); }
.pl-open.is-closed { color: var(--muted); }
.pl-open.is-closed::before { border: 2px solid var(--muted); width: 7px; height: 7px; }

/* 지수 자리 */
.pl-badge { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; background: var(--paper); border: 2px dashed var(--line); border-radius: var(--r-btn); }
.pl-badge.small { margin-top: 6px; padding: 0; border: 0; background: none; gap: 6px; }
.pl-badge-img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.pl-badge.small .pl-badge-img { width: 22px; height: 22px; }
.pl-badge-text { display: grid; line-height: 1.35; }
.pl-badge-on { border-style: solid; border-color: var(--ink); background: var(--card); }
.pl-badge.small.pl-badge-on { background: none; }
.pl-badge-stamps { display: flex; gap: 2px; flex: none; }
.pl-badge-text strong { font-size: 0.9375rem; }
.pl-badge.small .pl-badge-text strong { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.pl-badge.small.pl-badge-on .pl-badge-text strong { color: var(--ink); }
.pl-badge-text .note { font-size: 0.8125rem; }

/* ── 건물 목록(우리 가게) ── */
.pl-map { display: grid; gap: 24px; margin-top: 16px; }
.pl-map-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1rem; }
.pl-map-ko { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.pl-bldgs { list-style: none; margin: 0 0 0 12px; padding: 0 0 0 22px; border-left: 8px solid var(--ink); display: grid; gap: 10px; }
.pl-bldg { position: relative; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.pl-bldg::before { content: ""; position: absolute; left: -38px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 5px solid var(--ink); }
.pl-bldg-addr { margin: 0 0 6px; font-weight: 600; font-size: 0.9375rem; }
.pl-bldg-addr.is-unknown { color: var(--muted); }
.pl-floors { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pl-floors li { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.pl-floor { flex: none; min-width: 3.2em; padding: 2px 6px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; text-align: center; }
.pl-floors a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.pl-floor-ko { color: var(--muted); font-size: 0.875rem; }

/* ── 가게 한 장 ── */
.pl-back { margin: 4px 0 0; }
.pl-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pl-hero { margin: 0 calc(-1 * var(--gutter)); }
.pl-hero .note { padding: 0 var(--gutter); }
.pl-cards { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pl-cards img { flex: 0 0 82%; width: 82%; height: auto; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--card); }
.pl-shop-head { padding-top: 16px; }
.pl-shop-head h1 { margin: 0; font-size: clamp(1.625rem, 7vw, 2.25rem); line-height: 1.15; font-weight: 700; letter-spacing: var(--display); overflow-wrap: anywhere; }
.pl-shop-head h1 .ko { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; letter-spacing: 0; }
.pl-meta { color: var(--muted); margin: 8px 0 0; font-weight: 600; }
.pl-shop-now { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 8px 0 0; }
.pl-shop-now .pl-open { font-size: 1rem; margin: 0; }
.pl-range { font-weight: 700; font-size: 1rem; }

/* 단추 넷(같은 크기 칸) */
.pl-actions { display: grid; grid-template-columns: repeat(var(--acts, 4), minmax(0, 1fr)); gap: 0; margin: 14px 0 0; max-width: 34rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-act {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 60px; padding: 8px 2px;
  border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 0.8125rem; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; overflow-wrap: anywhere;
}
.pl-act .pl-ico { width: 24px; height: 24px; stroke-width: 1.9; }
.pl-act:hover { background: var(--fill); }
.pl-act-main { font-weight: 700; }
.pl-act[aria-pressed="true"] { font-weight: 700; }
.pl-toast { margin: 8px 0 0; min-height: 1.4em; font-size: 0.9375rem; font-weight: 600; }

.pl-sec { margin: 32px 0 0; max-width: 46rem; }
.pl-sec h2 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pl-sec h2::after { content: none; }

.pl-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.pl-facts dt { color: var(--muted); font-weight: 700; }
.pl-facts dd { margin: 0; font-weight: 600; }
.pl-unknown { color: var(--muted); font-style: normal; }
.pl-unknown::before { content: "— "; }

.pl-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-menu li { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.pl-menu-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pl-menu-top .pl-menu-name { flex: 1 1 auto; min-width: 0; }
.pl-menu-top .price { flex: none; }
.pl-menu-name { font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.pl-menu .price { font-size: 1.125rem; font-weight: 700; white-space: normal; text-align: right; }
.pl-approx { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 700; }
.pl-menu-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.pl-menu-ko { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.pl-menu .note { margin: 2px 0 0; }
.pl-pick { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pl-pick-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: inherit; font-size: 1.375rem; font-weight: 700; line-height: 1; cursor: pointer; }
.pl-pick-n { min-width: 1.5em; text-align: center; font-weight: 700; font-size: 1.125rem; }

/* 직원에게 보여 주기: 초록 칸 + 큰 한국어 화면 */
.pl-show { margin: 32px 0 0; padding: 20px 18px; background: var(--ink); color: var(--paper); border-radius: var(--r-btn); max-width: 46rem; position: relative; overflow: hidden; }
.pl-show::after { content: none; }
.pl-show h2 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.pl-show > p { margin: 6px 0 16px; position: relative; }
.pl-show-btn { width: 100%; background: var(--card); color: var(--ink); position: relative; z-index: 1; }

.pl-staff { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: #FFFFFF; overflow-y: auto; }
.pl-staff[data-open="false"] { display: none; }
.pl-staff-in { max-width: 40rem; margin: 0 auto; padding: 16px 20px 40px; display: grid; }
.pl-staff-close { justify-self: end; min-height: 48px; padding: 0 20px; border-radius: var(--r-btn); border: 2px solid #FFFFFF; background: transparent; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.pl-staff-close:focus-visible { outline-color: #FFFFFF; }
.pl-staff-shop { margin: 18px 0 0; font-size: 1.25rem; font-weight: 700; color: #C9D2CD; }
.pl-staff-h { margin: 4px 0 18px; font-size: 2rem; line-height: 1.25; font-weight: 700; }
.pl-staff-list { list-style: none; margin: 0; padding: 0; }
.pl-staff-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid #3F4643; }
.pl-staff-dish { font-size: 2.125rem; font-weight: 700; line-height: 1.2; }
.pl-staff-n { flex: none; font-size: 1.375rem; font-weight: 600; color: #C9D2CD; }
.pl-staff-please { margin: 22px 0 0; padding: 16px 18px; border-radius: var(--r-btn); background: var(--pink); color: var(--on-pink); font-size: 2rem; font-weight: 700; line-height: 1.25; }

/* SNS 칸 */
.pl-sns { display: grid; gap: 12px; }
.pl-sns blockquote { margin: 0; max-width: 100%; }
.pl-sns-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pl-sns-links a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); font-weight: 700; }
.pl-sns-item { display: grid; gap: 6px; }
.pl-sns-kind { display: inline-block; justify-self: start; padding: 2px 10px; border-radius: var(--r-btn); background: var(--paper); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.pl-sns-kind.is-guest { color: var(--ink); }
.pl-sns-kind.is-shop { color: var(--ink); background: #FFF6D6; border-color: #8A6A00; }
.pl-sns-card { flex-wrap: wrap; gap: 4px 10px; padding: 10px 14px !important; text-decoration: none; color: var(--ink); }
.pl-sns-pf { font-weight: 700; }
.pl-sns-h { color: var(--muted); font-size: 0.875rem; }
.pl-help-sns { margin: 12px 0 0; }
.pl-help-sns h3 { margin: 0 0 6px; font-size: 1rem; }

/* 길 찾기 칸 */
.pl-addr { margin: 0; display: grid; gap: 2px; padding: 14px; background: var(--fill); border: 0; border-radius: var(--r-btn); }
.pl-addr dt { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.pl-addr dd { margin: 0 0 8px; font-weight: 700; font-size: 1.125rem; user-select: all; }
.pl-addr dd:last-child { margin-bottom: 0; }
.pl-route { display: grid; gap: 8px; margin: 12px 0 0; }
.pl-route-btn { width: 100%; }
#route { scroll-margin-top: 16px; }

.pl-stamp { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 2px dashed var(--line); border-radius: var(--r-btn); }
.pl-stamp img { width: 76px; height: 76px; object-fit: contain; flex: none; }
.pl-stamp p { margin: 0; }

/* 확인 30일 넘음: 띠 + 값 흐리게 */
.pl-stale-band { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--card); border: 2px solid var(--danger); color: var(--danger); font-weight: 600; font-size: 0.9375rem; }
.pl-stale { opacity: 0.5; }

.pl-report { margin: 32px 0 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); max-width: 46rem; }
.pl-report p { margin: 0 0 10px; font-size: 0.9375rem; }
.pl-report .btn { width: 100%; min-height: 48px; font-size: 1rem; }
.pl-about-index { max-width: 46rem; }
.pl-about-index ol { margin: 8px 0; padding-left: 1.4em; }
.pl-about-index li { margin: 2px 0; }
.pl-ai { max-width: 46rem; }
.pl-owner { margin: 32px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.pl-owner a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ── 찾기 화면의 공공 장소 칸 · 지도 걸러 보기 ── */
.pl-pub { margin: 24px 0 0; }
.pl-pcats, .pl-mcats { flex-wrap: wrap; overflow: visible; }
.pl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--cat); margin-right: 8px; flex: none; }
.pl-chip[aria-pressed="true"] .pl-dot { box-shadow: 0 0 0 2px #FFFFFF; }
.pl-sel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 0; }
.pl-sel-row label { font-weight: 600; font-size: 0.9375rem; margin: 0; }
.pl-sel { min-height: 44px; padding: 0 10px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; max-width: 100%; }
/* 찾는 글이 있을 때: 결과가 찾기 칸 바로 아래 · 동네 띠 · 갈래 · 업종 · 구는 결과 밑 접힌 칸(11-26 1단계 고침 — 새 꼴 없이 숙소 접힘 칸과 같은 모양) */
.pl-filt { margin: 20px 0 0; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--card); }
.pl-filt > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1rem; }
.pl-filt > summary::-webkit-details-marker { display: none; }
.pl-filt > summary > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-filt > summary::after { content: "▾"; margin-left: auto; color: var(--muted); }
.pl-filt[open] { padding-bottom: 14px; }
.pl-filt[open] > summary::after { content: "▴"; }
.pl-filt .pl-stations { margin: 8px 0 0; }
.pl-pub-clear { margin: 8px 0 0; }
.pl-sel:disabled { opacity: 0.55; }
.pl-help-slot:empty { display: none; }
.pl-sample { display: inline-block; align-self: flex-start; justify-self: start; margin: 0 0 4px; padding: 1px 8px; border-radius: 6px; background: #FFF1C2; color: #5C4300; font-size: 0.75rem; font-weight: 700; border: 1px dashed #8A6A00; }
.pl-auto { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: var(--paper); color: var(--muted); font-size: 0.75rem; font-weight: 700; vertical-align: middle; border: 1px solid var(--line); letter-spacing: 0; }
/* 음식 종류 칩(먹기 갈래) */
.pl-cu-slot:empty { display: none; }
.pl-cus { margin: 10px 0 0; gap: 6px; }

/* ── 지도 탭: 지도 + 아래 시트(폰) / 목록 | 지도(768~) ── */
.pl-mapx { margin: 0; }
.pl-map-wrap {
  position: relative; margin: 12px calc(-1 * var(--gutter)) 0;
  height: calc(100svh - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 190px); min-height: 440px; max-height: 900px;
  overflow: hidden; background: var(--fill);
}
.pl-map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: #E9E9E9; }
.pl-map-soon { margin: 12px 0; }

.pl-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: block;
  bottom: var(--sheet-lift, 0px); /* 폰: 지도 칸 아래가 탭 막대 뒤 · 화면 밖일 때 그만큼 위로(place.js liftSheet — 11-26 본부 검토 2번) */
  height: min(50%, calc(100% - 16px - var(--sheet-lift, 0px))); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: var(--r-sheet) var(--r-sheet) 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
}
.pl-sheet[data-snap="peek"] { height: 120px; overflow: hidden; }
.pl-sheet[data-snap="full"] { height: calc(100% - 16px - var(--sheet-lift, 0px)); }
@media (prefers-reduced-motion: no-preference) { .pl-sheet { transition: height 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); } }
.pl-sheet-grip { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; width: 100%; min-height: 44px; border: 0; padding: 0; background: var(--paper); cursor: grab; touch-action: none; }
.pl-sheet-bar { width: 32px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.pl-sheet-grip:focus-visible { outline-offset: -4px; }
.pl-sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--gutter) 8px; }
.pl-sheet-h { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.pl-sheet-head .pl-count { font-size: 0.9375rem; color: var(--muted); text-align: right; }
.pl-sheet-list { margin: 0; padding: 0 var(--gutter) 12px; }
.pl-sheet-more { margin: 0; padding: 0 var(--gutter) 20px; }
.pl-sheet-more:empty { display: none; }
.pl-map-card:empty { display: none; }
.pl-map-card { position: relative; margin: 0 var(--gutter) 12px; padding: 14px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-btn); }
.pl-map-card-x { position: absolute; right: 8px; top: 8px; z-index: 1; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r-btn); background: var(--card); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; }

/* 지도 위 단추(MapLibre) — 손가락 칸 44px · 출처 칸은 시트에 가리지 않게 시트 위로 */
.pl-map-wrap .maplibregl-ctrl-group button { width: 44px; height: 44px; }
/* 지도 출처(OSM · Protomaps — ODbL 표시 · 링크는 늘 둠): 대표님 11-26 밤 "너무 커서 불편 · 자동으로 닫힘" → 처음엔 접힌 작은 ⓘ 알약(24px)만.
   글씨 12px · 누르는 자리 44px(손가락 칸 규칙)는 지킴 — 단추는 보이는 알약보다 크게 투명하게 겹침 · 펼친 뒤 링크도 44px 높이(위아래 음수 여백) */
.pl-map-wrap .maplibregl-ctrl-attrib { font-size: 0.75rem; line-height: 1.2; background: rgba(255, 255, 255, 0.8); }
.pl-map-wrap .maplibregl-ctrl-attrib-inner a { display: inline-block; min-height: 44px; line-height: 44px; margin: -14px 0; vertical-align: middle; }
.pl-map-wrap .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 24px; border-radius: 12px; margin: 0 6px 6px 0; }
.pl-map-wrap .maplibregl-ctrl-attrib.maplibregl-compact-show { display: flex; align-items: center; padding: 0 30px 0 10px; }
.pl-map-wrap .maplibregl-ctrl-attrib-button { width: 44px; height: 44px; top: -10px; right: -10px; border-radius: 22px; background-color: transparent; background-size: 16px 16px; background-repeat: no-repeat; background-position: center; }

/* 확대 단계: 멀리 = 구 수 단추 · 가까이 = 같은 건물 "n곳" 핀 · 내 위치 점 */
.pl-cl { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; padding: 4px 10px; border-radius: 999px; border: 2.5px solid #FFFFFF; background: var(--ink); color: var(--paper); font: inherit; line-height: 1.1; cursor: pointer; box-shadow: var(--float); }
.pl-cl.is-big { min-width: 60px; min-height: 60px; }
.pl-cl:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.pl-cl-n { font-size: 1rem; font-weight: 700; }
.pl-cl-gu { font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pl-bl { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2.5px solid #FFFFFF; background: var(--ink); color: #FFFFFF; font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; box-shadow: var(--float); white-space: nowrap; }
.pl-bl:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.pl-you { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--pink); box-shadow: 0 0 0 6px rgba(255, 46, 136, 0.25); }
.pl-bldg-card .pl-floors { margin: 10px 0 0; }
.pl-bldg-type { color: var(--muted); font-size: 0.875rem; }

/* 내 주변 */
.pl-near { margin: 8px 0 0; }
.pl-near:empty { display: none; }
.pl-near-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pl-near-row .note { margin: 0; flex: 1 1 16rem; }
.pl-near-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.pl-near-btn .pl-ico { width: 20px; height: 20px; }
.pl-near-list:empty, .pl-near-out:empty { display: none; }
.pl-near-out { margin: 12px 0 0; }
.pl-near-m { display: inline-block; justify-self: start; margin-top: 4px; padding: 1px 8px; border-radius: var(--r-btn); background: var(--fill); font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.pl-bldg-sec { margin: 32px 0 0; }

/* ── 공공 장소 카드(지도 카드) · 한 장 ── */
.pl-pc { padding-right: 76px; }
.pl-pc-name { margin: 0; font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.pl-pc-ko { margin: 2px 0 0; color: var(--muted); font-weight: 700; }
.pl-pc-meta { margin: 6px 0 0; font-size: 0.9375rem; color: var(--muted); font-weight: 600; }
.pl-pc-addr { margin: 6px 0 0; font-size: 0.9375rem; }
.pl-pc .pl-route { margin-top: 10px; }
.pl-pc .pl-route-btn { min-height: 48px; font-size: 1rem; }
.pl-pc-more { margin: 10px 0 0; font-weight: 700; }
.pl-pc-more a { display: inline-flex; align-items: center; min-height: 44px; }
.pl-pc .pl-photo, .pl-pc .pl-ctile, .pl-pc .pl-ft { margin: 0 -76px 12px 0; }

.pl-place { margin: 4px 0 0; }
.pl-place-hero { margin: 0 calc(-1 * var(--gutter)); }
.pl-place-name { margin: 0; font-size: clamp(1.625rem, 7vw, 2.25rem); line-height: 1.15; font-weight: 700; letter-spacing: var(--display); overflow-wrap: anywhere; }
.pl-place .pl-pc-ko { font-size: 1.125rem; margin-top: 6px; }
.pl-place .pl-pc-meta { font-size: 1rem; }
.pl-place > .pl-pc-more .btn { width: 100%; max-width: 34rem; }
.pl-sources { margin: 36px 0 0; max-width: 46rem; font-size: 0.875rem; color: var(--muted); }
.pl-sources ul { margin: 4px 0 0; padding-left: 1.2em; }
.pl-sources li:has(> a) { margin: 14px 0; }
.pl-sources a { color: var(--ink); font-weight: 600; padding: 0; text-align: left; }

/* 사진: 꽉 찬 머리 · 사진 띠(옆으로 넘김) · 사진 아래 늘 출처 한 줄 */
.pl-photo { margin: 0; }
.pl-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fill); }
.pl-photo.is-card img { aspect-ratio: 16 / 9; border-radius: var(--r-btn); }
.pl-photo.is-card .pl-photo-by { margin-bottom: 0; }
.pl-photo.is-big img { max-height: 62vh; }
.pl-photo.is-big .pl-photo-by { padding: 0 var(--gutter); }
.pl-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 4px; scrollbar-width: thin; }
.pl-strip .pl-photo { flex: 0 0 86%; scroll-snap-align: start; }
.pl-strip .pl-photo img { border-radius: var(--r-btn); }
.pl-strip .pl-photo.is-big .pl-photo-by { padding: 0 4px; }

/* 사진 없는 곳: 갈래 색 꽉 찬 그림 타일 */
.pl-ctile { position: relative; display: block; overflow: hidden; margin: 0; padding: 16px; min-height: 120px; border-radius: var(--r-btn); background: var(--ink); color: #FFFFFF; }
.pl-ctile-name { position: relative; z-index: 1; display: inline-block; max-width: 64%; padding: 2px 10px; border-radius: var(--r-btn); background: rgba(0, 0, 0, 0.22); font-size: 0.875rem; font-weight: 600; line-height: 1.4; }
.pl-ctile-art { display: none; }
.pl-ctile.is-card { min-height: 104px; margin-bottom: 12px; }
.pl-ctile.is-card .pl-ctile-art { width: 100px; height: 100px; }
.pl-ctile.is-big { min-height: 248px; border-radius: 0; padding: 22px var(--gutter); }
.pl-ctile.is-big .pl-ctile-name { font-size: 1rem; max-width: 70%; }
.pl-ctile.is-big .pl-ctile-art { width: 220px; height: 220px; right: -6px; bottom: -26px; }

/* ── 도움말 ── */
.pl-help-toc ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-help-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r-btn); background: var(--card); text-decoration: none; font-weight: 600; color: var(--ink); }
.pl-help-toc a:hover { background: var(--ink); color: #FFFFFF; }
.pl-help { max-width: 46rem; scroll-margin-top: 16px; }
.pl-help-soon { margin: 0; padding: 12px 14px; border: 2px dashed var(--line); border-radius: var(--r-btn); color: var(--muted); background: var(--card); }
.pl-help-src h3 { margin: 10px 0 2px; font-size: 0.9375rem; }
/* 출처 링크 = 손가락 칸 44px(글자 크기는 그대로 · 11-26 도움말 24편 넣은 뒤 반응형 시험) */
.pl-help-src ul { margin: 0; padding-left: 1.2em; }
.pl-help-src a { display: inline-flex; align-items: center; min-height: 44px; }

/* 운영자 줄(미리보기 경고 · 빌드 실패 까닭 — 한국어, 미리보기에서만) */
.pl-op { font-family: var(--font-ko); }

/* ── 사장님 쪽 한 장(owner.html · 한국어) — 깔끔 · 실용 ── */
.ow, .pl.wrap.ow { max-width: 48rem; }
.ow-head { padding: 28px 0 4px; }
.ow-for { margin: 0; font-weight: 700; color: var(--ink); }
.ow-head h1 { margin: 8px 0 0; font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.ow-head p { margin: 10px 0 0; }
.ow-sec { margin: 32px 0 0; }
.ow-sec h2 { margin: 0 0 12px; font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
.ow-sec h2::after { content: ""; display: block; width: 36px; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--ink); }
.ow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ow-list li { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.ow-list strong { display: block; }
.ow-steps { margin: 0 0 0 12px; padding: 0 0 0 26px; list-style: none; border-left: 6px solid var(--ink); display: grid; gap: 16px; counter-reset: ow; }
.ow-steps li { position: relative; counter-increment: ow; }
.ow-steps li::before { content: counter(ow); position: absolute; left: -45px; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 4px solid var(--ink); font-size: 0.875rem; font-weight: 700; }
.ow-dm { width: 100%; margin-top: 18px; }

/* 가입 문(join.html · 한국어) */
.jn { display: grid; gap: 16px; }
.jn[hidden], .jn-soon[hidden] { display: none; }
.jn-soon { padding: 14px 16px; border-radius: var(--r-btn); background: var(--card); border: 1px solid var(--line); }
.jn-soon p { margin: 0 0 12px; }
.jn-soon p:last-child { margin: 0; }
.jn-block { margin: 0; padding: 12px 14px; border-radius: var(--r-btn); background: #FDECEA; border-left: var(--rail) solid var(--danger); }
.jn-row { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.jn-row > label, .jn-row legend, .jn-two label { font-weight: 600; margin: 0; }
.jn-row legend { padding: 0; margin-bottom: 6px; }
.jn-row input[type="text"], .jn select { width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.jn-row input[type="text"]:focus-visible, .jn select:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; }
.jn-two { grid-template-columns: 1fr 1fr; gap: 10px; }
.jn-two > div { display: grid; gap: 6px; min-width: 0; }
.jn-chan { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.jn-chan label, .jn-agree label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; margin: 0; }
.jn-chan input, .jn-agree input { width: 20px; height: 20px; }
.jn-agree label { align-items: flex-start; }
.jn-agree input { margin-top: 5px; flex: none; }
.jn-sub { font-weight: 700; font-size: 0.875rem; margin-top: 4px; }
.jn-msg:empty { display: none; }
.jn-msg { margin: 0; padding: 10px 12px; border-radius: var(--r-btn); background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.jn-msg.is-fail { border-color: var(--danger); color: var(--danger); }
.jn-msg.is-soon { border-color: #8A6A00; background: #FFF6D6; color: #4A3800; }
.jn-msg.is-ok { border-color: var(--ink); background: var(--fill); }
.jn .btn { width: 100%; min-height: 52px; }

/* ── 2단계: 계정 단추 · 로그인 시트 · 후기 칸 · 내 페이지 · 도장 ──
   후기는 "누가 직접 가 봤나"가 먼저 — 쓴 사람 이름 옆 등급 배지(2호선 초록 단계)와 번역 표시. 별점 그림은 없다. */
.s2-slot { margin-left: auto; display: inline-flex; }
.s2-slot:not(:empty) + .langs { margin-left: 0; }
.s2-acct { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); border-radius: var(--r-btn); background: var(--card); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 700; text-decoration: none; cursor: pointer; max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s2-acct-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; }

.s2-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.6); }
.s2-sheet-in { position: relative; width: 100%; max-width: 30rem; max-height: 92vh; overflow: auto; padding: 30px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.s2-sheet-in::before { content: ""; position: absolute; top: 10px; left: 50%; width: 48px; height: 6px; margin-left: -24px; border-radius: 3px; background: var(--line-strong); }
.s2-sheet-in h2 { margin: 0 0 6px; font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; padding-right: 72px; }
.s2-sheet-in > p { margin: 0 0 16px; color: var(--muted); font-size: 0.9375rem; }
.s2-close { position: absolute; right: 10px; top: 16px; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.s2-provs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s2-prov { width: 100%; justify-content: space-between; gap: 10px; }
.s2-soon { font-size: 0.8125rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-btn); background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.s2-test { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border: 2px dashed var(--line); border-radius: var(--r-btn); }
.s2-label { display: grid; gap: 6px; font-weight: 600; margin: 0; }
.s2-input, .s2-ta { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.s2-ta { min-height: 140px; resize: vertical; line-height: 1.6; }
.s2-input:focus-visible, .s2-ta:focus-visible, .s2-acct:focus-visible, .s2-help:focus-visible, .s2-link:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.s2-sec .s2-write { margin: 12px 0 16px; padding: 16px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-btn); }
.s2-write > p { margin: 0 0 10px; }
.s2-write > p:last-child { margin-bottom: 0; }
.s2-need { padding-left: 10px; border-left: var(--rail) solid #C9A227; }
.s2-form { display: grid; gap: 10px; }
.s2-count { justify-self: end; font-size: 0.8125rem; color: var(--muted); }
.s2-check { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; min-height: 44px; margin: 0; }
.s2-check input { margin-top: 5px; width: 20px; height: 20px; flex: none; }
.s2-msg:empty, .s2-flash:empty { display: none; }
.s2-msg, .s2-flash { margin: 8px 0 0; font-weight: 600; }
.s2-flash { padding: 10px 12px; border-radius: var(--r-btn); background: var(--fill); border: 1px solid var(--ink); }
.s2-flash.is-fail { background: #FDECEA; border-color: var(--danger); color: var(--danger); }

.s2-revs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.s2-rev { padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.s2-rev.is-mine { border: 2px solid var(--ink); }
.s2-rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.s2-who { font-weight: 700; font-size: 1.0625rem; }
.s2-when { margin-left: auto; font-size: 0.8125rem; color: var(--muted); }
.s2-lv { display: inline-block; padding: 2px 10px; border-radius: var(--r-btn); font-size: 0.8125rem; font-weight: 700; border: 2px solid var(--ink); color: var(--ink); background: var(--card); }
.s2-lv-regular { background: var(--fill); }
.s2-lv-trusted { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.s2-lv-elite { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.s2-pr { display: inline-block; margin: 8px 0 0; padding: 2px 8px; border-radius: 6px; background: #FFF6D6; border: 1px solid #8A6A00; color: #4A3800; font-size: 0.8125rem; font-weight: 700; }
.s2-trd { margin: 10px 0 0; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.s2-rev-text, .s2-reply-text { margin: 4px 0 0; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.s2-rev > .s2-rev-text:first-of-type { margin-top: 10px; }
.s2-link { margin-top: 4px; padding: 0 2px; min-height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.s2-orig { display: none; margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--paper); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.s2-orig[data-open="true"] { display: block; }
.s2-orig-h { font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.s2-rev-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.s2-help { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-btn); background: var(--card); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.s2-help[aria-pressed="true"] { border-color: var(--ink); background: var(--fill); }
.s2-help[disabled] { cursor: default; }
.s2-help-msg { font-size: 0.875rem; color: var(--danger); font-weight: 600; }
.s2-reply { margin-top: 12px; padding: 10px 12px; border-left: 6px solid var(--ink); background: var(--paper); border-radius: 0 10px 10px 0; }
.s2-reply-h { margin: 0; font-weight: 700; font-size: 0.9375rem; }

.s2-me-head .s2-lv { font-size: 0.9375rem; }
.s2-mine { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s2-mine > li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.s2-mine > li.note { display: block; }
.s2-mine > li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.s2-mine-img { width: 36px; height: 36px; }
.s2-mine > li.s2-mine-rev { display: block; }
.s2-mine-rev p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.s2-mine-rev.is-hidden { border-color: var(--danger); }
.s2-out { margin-top: 28px; }

.s2-stamp-head h1 { font-size: clamp(2rem, 8vw, 3rem); }
.s2-stamp-shop { font-weight: 700; font-size: 1.25rem; }
.s2-press { width: 100%; max-width: 26rem; margin-top: 14px; min-height: 60px; font-size: 1.25rem; }
.s2-stamped { text-align: center; padding: 18px 0; display: grid; justify-items: center; gap: 6px; overflow: hidden; } /* 도장 찍힘 움직임(1.6배)이 폰에서 잠깐 가로로 넘치지 않게 */
.s2-stamped h1 { margin: 6px 0 0; font-size: clamp(2rem, 8vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; }
.s2-stamped p { margin: 0; }
.s2-stamped .btn { margin-top: 14px; }
.s2-stamp-img { width: 240px; height: 240px; animation: s2-in 420ms cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
@keyframes s2-in { from { transform: scale(1.6) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .s2-stamp-img { animation: none; } }

/* ── 사장님 · 마스터 화면(한국어) — 카드 줄 · 깔끔 · 실용 ── */
.tk-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.tk-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-weight: 600; }
.tk-tab[aria-current="page"] { background: var(--ink); color: var(--paper); }
.bo-card { margin: 14px 0 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-btn); }
.bo-card h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; }
.bo-card p { margin: 6px 0 0; }
.bo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.bo-row .btn { min-height: 44px; font-size: 0.9375rem; padding: 0 16px; }
.bo-code { display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #FFFFFF; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.125rem; letter-spacing: 0.06em; overflow-wrap: anywhere; }
.bo-once { margin: 10px 0 0; padding: 12px; border-radius: var(--r-btn); background: #FFF6D6; border: 1px solid #8A6A00; }
.bo-meta { font-size: 0.875rem; color: var(--muted); }
.bo-sel { min-height: 44px; padding: 0 10px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; font-size: 1rem; max-width: 100%; }
.bo-qr { display: grid; justify-items: center; gap: 8px; margin-top: 12px; padding: 18px; background: #FFFFFF; border: 2px solid var(--ink); border-radius: var(--r-btn); text-align: center; }
.bo-qr img { width: 220px; height: 220px; max-width: 100%; image-rendering: pixelated; }
.bo-qr-url { font-size: 0.8125rem; color: var(--muted); overflow-wrap: anywhere; max-width: 100%; }
.bo-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.bo-tabs button { min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r-btn); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.bo-tabs button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* ── 폰 좁은 폭: 위 막대가 넘치지 않게 ── */
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .pl-brand { font-size: 1.25rem; }
  .s2-acct { max-width: 5.5rem; padding: 0 10px; }
  /* 로고가 kmapping 으로 길어져(결정 63) 360px 에서 위 막대가 두 줄로 접힘 — 로고는 그대로 두고 언어 단추 여백 · 칸 사이만 줄임(11-28) */
  .pl-top-in { column-gap: 8px; }
  .pl-top .langs button { padding: 0 5px; }
}
/* 빈 로그인 자리(공개판 · 로그인 전)가 칸 사이 하나를 차지하지 않게 */
.s2-slot:empty { display: none; }
/* 아주 좁은 폰(340px 아래 · 320px 기기) */
@media (max-width: 340px) {
  .pl-top-in { column-gap: 4px; }
  .pl-top .langs button { padding: 0 3px; }
}
@media (max-width: 767px) {
  /* 지도 갈래 칩 · 음식 칩 · 업종 칩은 한 줄 옆 넘김 · 업종 · 구 고르기는 한 줄 두 칸(지도를 위로) */
  .pl-mcats, .pl-cus { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .pl-mcats .pl-chip, .pl-cus .pl-chip { flex: none; }
  .pl-mapx .pl-sel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .pl-mapx .pl-sel-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pl-mapx .pl-sel { width: 100%; }
  .pl-mapx .pl-map-card .pl-photo.is-card img { max-height: 160px; }
}

/* ── 768~: 목록 | 지도 2단 · 가게 한 장 · 장소 한 장 2단 · 갈래 3열 ── */
@media (min-width: 768px) {
  .pl-top { position: sticky; top: 0; }
  .pl-top .langs button { padding: 0 12px; font-size: 0.875rem; }
  .pl-sel-row label { display: inline-flex; align-items: center; min-height: 44px; }
  .pl-sel-row .pl-sel { width: auto; min-width: 200px; }
  .pl-areas { margin: 0; padding-left: 0; padding-right: 0; }
  .pl-stn { min-width: 72px; padding-right: 16px; }
  .pl-stn-name { font-size: 1.25rem; }
  html[lang="en"] .pl-stn-name { font-size: 1rem; }
  html[lang="en"] .pl-stn { width: auto; }
  html[lang="en"] .pl-stn-n { white-space: nowrap; }
  .pl-stn-ko, .pl-stn-n { font-size: 0.8125rem; }
  .pl-stn[aria-pressed="true"]::after { right: 16px; }
  .pl-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
  .pl-item { grid-template-columns: 112px 1fr; }
  .pl-thumb, .pl-tile { width: 112px; }

  /* 지도: 왼쪽 목록 칸 | 오른쪽 지도 */
  .pl-map-wrap { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); margin: 12px 0 0; height: calc(100vh - var(--top-h) - var(--tab-h) - 48px); min-height: 540px; border: 1px solid var(--line); border-radius: var(--r-sheet); }
  .pl-map-canvas { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100%; }
  .pl-sheet, .pl-sheet[data-snap="peek"], .pl-sheet[data-snap="full"] { position: relative; bottom: auto; grid-column: 1; grid-row: 1; height: 100%; overflow-y: auto; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); }
  .pl-sheet-grip { display: none; }
  .pl-sheet-head { position: sticky; top: 0; z-index: 2; padding-top: 14px; background: var(--paper); }
  .pl-sheet-list { grid-template-columns: 1fr; }

  /* 가게 한 장: 그림 | 이름 · 단추 */
  .pl-hero { margin: 0; }
  .pl-hero .note { padding: 0; }
  .pl-cards { padding: 0 0 6px; scroll-padding-inline: 0; }
  .pl-cards img { flex-basis: 100%; width: 100%; }
  .pl-hero .pl-tile.big { border-radius: var(--r-btn); aspect-ratio: 4 / 5; }
  .pl-shop-top { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 36px; align-items: start; margin-top: 8px; }
  .pl-shop-head { padding-top: 0; }
  .pl-shop-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .pl-shop-aside { position: sticky; top: calc(var(--top-h) + 16px); }
  .pl-staff-dish { font-size: 2.75rem; }

  /* 장소 한 장: 사진 | 이름 · 단추 · 길 찾기 */
  .pl-place { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .pl-place > * { grid-column: 2; }
  .pl-place > .pl-place-hero { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: calc(var(--top-h) + 16px); margin: 8px 0 0; }
  .pl-place > .pl-sample, .pl-place > .pl-sample + .note { grid-column: 1 / -1; }
  .pl-photo.is-big img, .pl-ctile.is-big { border-radius: var(--r-sheet); }
  .pl-photo.is-big .pl-photo-by { padding: 0 4px; }
  .pl-strip { padding: 0 0 4px; scroll-padding-inline: 0; }
  .pl-strip .pl-photo { flex-basis: 100%; }
  .pl-ctile.is-big { min-height: 380px; padding: 28px; }
  .pl-ctile.is-big .pl-ctile-art { width: 300px; height: 300px; }
  .pl-place .pl-place-head { padding-top: 8px; }

  .s2-sheet { align-items: center; }
  .s2-sheet-in { border-radius: var(--r-sheet); }
}

/* ── 1024~: 위 막대에 탭 · 넓은 화면 ── */
@media (min-width: 1024px) {
  .pl-top-in { flex-wrap: nowrap; }
  .pl-tabbar { position: static; height: auto; padding: 0; display: flex; gap: 4px; background: none; border: 0; box-shadow: none; margin-left: 20px; }
  .pl-tab { flex-direction: row; gap: 8px; padding: 0 14px; min-height: var(--top-h); font-size: 1rem; color: var(--muted); }
  .pl-tab[aria-current="page"] { color: var(--ink); }
  .pl-tab .pl-ico { width: 22px; height: 22px; }
  .pl-tab[aria-current="page"]::before { top: auto; bottom: 0; left: 14px; right: 14px; width: auto; height: 4px; margin: 0; border-radius: 0; background: var(--pink); content: ""; position: absolute; }
  .pl { padding-bottom: 72px; }
  .pl-map-wrap { height: calc(100vh - var(--top-h) - 120px); }
}
@media (prefers-reduced-motion: no-preference) {
  .pl-areas, .pl-cards, .pl-strip { scroll-behavior: smooth; }
}
@media print {
  .pl-top, .no-print, .bo-tabs, .pl-tabbar { display: none !important; }
  .bo-qr { border: 0; }
}

/* 찾기 0곳 · 구 안 고름(11-26 본부 검토 3번): 맨 위 큰 안내 + 구 고르기 단추 */
.pl-gu-pick:empty { display: none; }
.pl-gu-pick { margin: 14px 0 0; padding: 16px; background: var(--fill); border: 2px solid var(--ink); border-radius: var(--r-btn); }
.pl-gu-pick-h { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.pl-gu-pick .note { margin: 6px 0 12px; }
.pl-gu-pick-btn { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
/* 내 페이지 별명 칸(11-26 대표님 결정 54) */
.s2-nick { display: grid; gap: 8px; max-width: 28rem; }
.s2-nick .note { margin: 0; }
.s2-nick-row { margin: 4px 0 0; }
.s2-nick-msg:empty { display: none; }
/* ── 11-26 1단계(UX 고침 — 겉모습은 지금 꼴 그대로, 새 디자인은 2단계) ── */
/* 찾기 칸 단추: 첫 화면에서 치고 누르면 같은 글로 찾기 화면 · 찾기 화면은 자판 닫고 결과 */
.pl-q .pl-q-input { padding-right: 96px; }
.pl-q-go { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 44px; min-width: 44px; padding: 0 14px; border: 0; border-radius: 4px; background: var(--ink); color: var(--paper); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.pl-q-go:hover { background: var(--ink); }
/* 숙소로(첫 화면 · 지도 · 저장 탭 위) */
.pl-stay { margin: 14px 0 0; padding: 12px 14px; max-width: 40rem; background: var(--paper); border: 0; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--r-btn); }
.pl-stay.is-empty { box-shadow: inset 0 0 0 1px var(--line-strong); }
.pl-stay-h { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 1rem; }
.pl-stay-h .pl-ico { width: 22px; height: 22px; flex: none; }
.pl-stay-name { margin: 4px 0 0; font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.pl-stay-name .pl-item-ko { font-size: 0.875rem; }
.pl-stay .note { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); }
.pl-stay-go { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.pl-stay-go .pl-route-btn { min-height: 44px; padding: 6px 6px; font-size: 0.8125rem; line-height: 1.2; white-space: normal; }
.pl-stay-find { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--ink); }
.pl-stay-clear { min-height: 44px; margin-top: 2px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pl-stay[data-where="map"] { margin-top: 8px; }
/* 장소 한 장: 길찾기 셋을 이름 바로 아래 · 내 숙소로 정하기 · 시간 모름 */
.pl-place-go { margin: 14px 0 0; max-width: 34rem; }
.pl-place-go .pl-route { margin-top: 0; }
.pl-gnote { margin: 4px 0 0; font-size: 0.8125rem; color: var(--muted); }
.pl-hours-unk { margin: 12px 0 0; padding: 10px 12px; display: block; max-width: 34rem; border-radius: 0; background: var(--fill); border: 0; border-left: 4px solid var(--ink); color: var(--ink); font-size: 0.9375rem; font-weight: 400; }
.pl-pc .pl-hours-unk { margin-top: 8px; font-size: 0.8125rem; }
.pl-stay-row { margin: 12px 0 0; max-width: 34rem; }
.pl-stay-set { min-height: 48px; }
.pl-stay-set .pl-ico { width: 24px; height: 24px; }
.pl-stay-set[aria-pressed="true"] .pl-ico { fill: var(--pink); stroke: var(--ink); }
.pl-stay-row .note { margin: 4px 0 0; font-size: 0.8125rem; color: var(--muted); }
/* 공공 장소 줄: 오른쪽 위 저장 · 아래 네이버 길찾기(줄 링크 밖 형제) */
.pl-pub-row .pl-item.pl-pub-item { padding-right: 68px; min-height: 120px; }
.pl-pub-row > .pl-save { top: 14px; right: 0; }
.pl-row-go { position: absolute; top: 64px; right: 0; display: grid; justify-items: center; align-content: center; gap: 0; width: 64px; min-height: 48px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); text-decoration: none; font-size: 0.75rem; font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; }
.pl-row-go .pl-ico { width: 20px; height: 20px; }
.pl-row-go:hover { background: #333333; }
/* 지도 카드: 저장 · 자세히 한 줄 */
.pl-pc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; }
.pl-pc-row .pl-pc-more { margin: 0; }
.pl-save-chip { display: inline-flex; align-items: center; gap: 6px; }
.pl-save-chip .pl-ico { width: 18px; height: 18px; }
.pl-save-chip[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.pl-save-chip[aria-pressed="true"] .pl-ico { fill: var(--pink); stroke: var(--ink); }
/* 0곳 · 구가 필요할 때 동네 칩 */
.pl-hood-chips-box:empty { display: none; }
.pl-hood-chips-box { margin: 12px 0 0; }
.pl-hood-chips-h { margin: 0 0 6px; font-weight: 700; font-size: 1rem; }
.pl-hood-chips { flex-wrap: wrap; overflow: visible; gap: 6px; }
.pl-hood-chip { text-decoration: none; }
/* 저장 탭 · 지도 저장한 곳만 */
.pl-saved-map { margin: 14px 0 0; }
.pl-saved-map .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.pl-saved-map .pl-ico { width: 20px; height: 20px; }
.pl-saved-only { margin: 8px 0 0; font-weight: 600; }
.pl-saved-only a { display: inline-flex; align-items: center; min-height: 44px; }
.pl-home-pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--pink); background: var(--ink); color: #FFFFFF; box-shadow: var(--float); }
.pl-home-pin .pl-ico { width: 20px; height: 20px; }
/* 공공 장소 한 장 머리 그림: 화면 절반을 차지하지 않게(사진 없는 갈래 그림은 얇은 띠 · 사진은 화면 높이 40% 안) */
.pl-place-hero .pl-ft.is-big { min-height: 140px; }
.pl-place-hero .pl-ctile.is-big { min-height: 96px; padding: 14px var(--gutter); border-radius: 0; }
.pl-place-hero .pl-ctile.is-big .pl-ctile-art { width: 112px; height: 112px; right: 4px; bottom: -18px; }
.pl-place-hero .pl-photo.is-big img { height: 200px; max-height: 40vh; aspect-ratio: auto; object-fit: cover; background: var(--ink); border-radius: 0; } /* 시안 ②: 높이 200 · CC 사진은 채움(자르는 자리는 위키미디어 CC 만 — 가이드 5절) */
.pl-place-hero .pl-photo.is-big img.is-whole { object-fit: contain; } /* 공공누리 3유형: 통째 · 남는 곳 검은 띠(결정 54) */
.pl-pub-row.no-go .pl-item.pl-pub-item { min-height: 0; }
.pl-mach-type { display: inline-block; justify-self: start; margin: 2px 0 0; padding: 0 8px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
/* 지도 탭(폰): 숙소로 칸은 지도 위 접힌 한 줄 · 저장한 곳만 안내도 지도 위 */
.pl-stay.is-fold { padding: 0 14px; }
.pl-stay.is-fold > summary { min-height: 44px; cursor: pointer; list-style: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-stay.is-fold > summary::-webkit-details-marker { display: none; }
.pl-stay.is-fold > summary > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pl-stay.is-fold > summary::after { content: "▾"; margin-left: auto; color: var(--muted); }
.pl-stay.is-fold[open] { padding-bottom: 10px; }
.pl-stay.is-fold[open] > summary::after { content: "▴"; }

/* ════════ 11-28 2단계 부품(시안 _작업/시안-1127 · 가이드.md · 새 부품만 kw- 이름) ════════ */
/* 단추 꼴(가이드 4절): 주(검정) · 숙소(핑크 · 검정 글자 — 한 화면에 하나) · 곧 열림(회색 · 누를 수 없음) */
.kw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 0; border-radius: var(--r-btn); font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.kw-btn .pl-ico { width: 20px; height: 20px; stroke-width: 2; }
.kw-btn-pink { background: var(--pink); color: var(--on-pink); }
.kw-btn-off { width: 100%; background: var(--fill); color: var(--muted); cursor: not-allowed; }
.kw-soon-box { display: grid; gap: 10px; margin: 14px 0 0; padding: 14px; max-width: 34rem; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line-strong); }
.kw-soon { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.kw-soon b { color: var(--ink); font-weight: 600; }
.kw-soon-box .btn { width: 100%; }
.kw-soon-alt { display: inline-flex; gap: 8px; }
.kw-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; max-width: 34rem; }
.kw-two .btn { width: 100%; padding: 0 8px; }

/* ── 첫 화면 = 지도(폰: 지도가 머리 아래 ~ 아래 탭 위를 채움 · 찾기 칸 · 갈래 줄 · 숙소로가 지도 위에 뜸 · 시트가 아래 41%) ── */
#view > .pl-head:has(+ .pl-mapx), #view:has(> .pl-mapx) > .pl-head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl:has(.pl-mapx) { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
.pl-mapx .pl-map-wrap {
  position: relative; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; background: #E9E9E9;
  height: calc(100svh - var(--top-h) - 1px - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); min-height: 460px; max-height: none;
}
.kw-mapbar { position: absolute; z-index: 3; top: 10px; left: 12px; right: 12px; display: grid; gap: 8px; pointer-events: none; }
.kw-mapbar > * { pointer-events: auto; }
.kw-mapbar .pl-q { margin: 0; max-width: none; }
.kw-mapbar .pl-q-input { min-height: 52px; box-shadow: var(--float), inset 0 0 0 1.5px var(--ink); }
/* 갈래 한 줄: 이어 붙인 칸(segmented) · 옆으로 넘김 · 고른 칸 검정 채움(aria-pressed) */
.kw-filter.pl-mcats { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--paper); border-radius: var(--r-btn); box-shadow: var(--float); }
.kw-filter::-webkit-scrollbar { display: none; }
.kw-filter .kw-seg { flex: none; min-height: 44px; padding: 0 12px; border-radius: 0; box-shadow: none; border-left: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
.kw-filter .kw-seg:first-child { border-left: 0; }
.kw-filter .kw-seg[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
/* 지도 위 「To my stay」(핑크 하나) + Kakao · Google 작은 칸 · 내 위치 — 시트 바로 위 */
.kw-stay { position: absolute; z-index: 3; left: 12px; bottom: calc(41% + var(--sheet-lift, 0px) + 12px); display: flex; align-items: stretch; gap: 6px; max-width: calc(100% - 84px); }
.kw-stay .pl-stay-go { display: inline-flex; margin: 0; min-height: 48px; min-width: 0; padding: 0 14px 0 10px; justify-content: flex-start; box-shadow: var(--float); }
.kw-stay-t { display: grid; min-width: 0; line-height: 1.15; text-align: left; }
.kw-stay-t small { display: block; max-width: 9.5rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.75rem; font-weight: 500; }
.kw-stay-alt { display: grid; place-items: center; flex: none; min-width: 52px; min-height: 48px; padding: 0 8px; border-radius: var(--r-btn); background: var(--paper); color: var(--ink); box-shadow: var(--float), inset 0 0 0 1.5px var(--ink); font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.kw-locate-slot { position: absolute; z-index: 3; right: 12px; bottom: calc(41% + var(--sheet-lift, 0px) + 12px); }
.kw-locate-slot:empty { display: none; }
.kw-locate { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: var(--float), inset 0 0 0 1.5px var(--ink); cursor: pointer; }
.kw-locate .pl-ico { fill: var(--ink); stroke: none; }
.pl-map-wrap:has(.pl-sheet[data-snap="peek"]) :is(.kw-stay, .kw-locate-slot) { bottom: calc(120px + var(--sheet-lift, 0px) + 12px); }
.pl-map-wrap:has(.pl-sheet[data-snap="full"]) :is(.kw-stay, .kw-locate-slot) { visibility: hidden; }
/* 지도 부품(MapLibre) 단추: 위는 찾기 칸 · 갈래 줄 아래로, 아래는 시트 위로 */
.pl-mapx .maplibregl-ctrl-top-right { top: 116px; }
.pl-mapx .maplibregl-ctrl-bottom-right, .pl-mapx .maplibregl-ctrl-bottom-left { bottom: calc(41% + var(--sheet-lift, 0px)); }
.pl-mapx .pl-map-wrap:has(.pl-sheet[data-snap="peek"]) :is(.maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left) { bottom: calc(120px + var(--sheet-lift, 0px)); }
/* 지도를 못 그린 판(곧 열림): 지도 자리에 안내만 — 찾기 칸 아래에 */
.pl-map-wrap[data-soon="true"] .pl-map-canvas { display: grid; align-content: start; padding: 128px 16px 0; background: var(--fill); }
.pl-map-wrap[data-soon="true"] .pl-map-soon { margin: 0; }
/* 시트(모서리 14 위만 · 지도 위에 뜸) */
.pl-mapx .pl-sheet { height: min(41%, calc(100% - 16px - var(--sheet-lift, 0px))); background: var(--paper); border-radius: var(--r-sheet) var(--r-sheet) 0 0; box-shadow: 0 -8px 22px -14px rgba(0, 0, 0, 0.55); }
.pl-mapx .pl-sheet[data-snap="peek"] { height: 120px; }
.pl-mapx .pl-sheet[data-snap="full"] { height: calc(100% - 16px - var(--sheet-lift, 0px)); }
.pl-mapx .pl-sheet > :not(.pl-sheet-grip) { margin-left: var(--gutter); margin-right: var(--gutter); }
.pl-mapx .pl-sheet-grip { min-height: 44px; }
.kw-sheet-h2 { margin: 0 0 8px; font-size: 1.5rem; }
.pl-mapx .pl-stations { margin: 0; }
.kw-hood-pick:empty { display: none; }
.kw-hood-pick { margin: 4px 0 0; }
.kw-hood-search { gap: 6px; text-decoration: none; }
.kw-hood-search .pl-ico { width: 18px; height: 18px; }
.pl-mapx .pl-near { margin: 22px 0 0; }
.kw-near-soon { margin: 0; }
.pl-mapx .pl-feat, .pl-mapx .kw-ours { margin-top: 24px; }
.kw-onmap { margin-top: 24px; }
.pl-mapx .pl-sheet-head { padding: 0 0 4px; }
.pl-mapx .pl-sheet-list, .pl-mapx .pl-sheet-more { padding-left: 0; padding-right: 0; }
.pl-mapx .pl-map-card { margin-top: 0; margin-bottom: 16px; }
.kw-more { margin: 8px 0 0; }
.kw-sheet-tail { padding-bottom: 24px; }
.kw-sheet-tail > .pl-sources { margin-top: 24px; }

/* ── 목록 줄(시안 ③): 사진 없는 곳 = 검정 네모 + 한글 원명 네 글자(두 줄) · 시간 모름 한 줄 ── */
.pl-thumb-ko { display: grid; align-content: center; justify-items: start; width: 80px; height: 80px; flex: none; padding: 6px 8px; border-radius: var(--r-btn); overflow: hidden; background: var(--ink); color: var(--paper); font-family: var(--font-ko); font-size: 1.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.pl-thumb-ko > span { display: block; white-space: nowrap; }
.pl-item-name { font-size: 1.0625rem; font-weight: 700; }
.pl-item-hours { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); }
.pl-card .pl-item-by { margin: 4px 0 0; }
/* 광고 칸(결정 62 안 A): 옅은 핑크 바탕 + 검정 「Ad」 꼬리표 · 그 아래 「K-Walk list · Not paid」 머리로 자체 목록과 나눔. 자료가 없으면 칸째 숨음 */
.kw-ad:empty, .kw-list-h:empty { display: none; }
.kw-ad { margin: 12px calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter) 2px; background: var(--pink-wash); }
.kw-ad-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 0.875rem; color: var(--ink); }
.kw-ad-tag { display: inline-block; padding: 1px 7px; border-radius: 0; background: var(--ink); color: var(--paper); font-size: 0.8125rem; font-weight: 700; }
.kw-ad .pl-list { margin-top: 4px; }
.kw-ad .pl-item { border-bottom: 0; }
.kw-list-h { margin: 20px 0 0; }
.kw-list-h .pl-h2 { margin: 0; }
.kw-list-h .note { margin: 2px 0 0; }

/* ── 장소 한 장(시안 ②): 길찾기 한 줄 셋 · 단추 줄 · 주소 · 후기 · 묻기 ── */
.kw-mini-h { margin: 16px 0 8px; font-size: 0.9375rem; font-weight: 700; }
.pl-place-go .kw-mini-h { margin-top: 14px; }
.kw-route3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.kw-route3 .pl-route-btn { min-height: 48px; padding: 0 6px; font-size: 0.9375rem; line-height: 1.15; white-space: normal; text-align: center; }
.kw-route3 .pl-gnote { grid-column: 1 / -1; margin-top: 2px; }
.pl-actions[data-n="3"] { --acts: 3; }
.pl-actions[data-n="4"] { --acts: 4; }
.pl-actions[data-n="5"] { --acts: 5; }
.pl-actions .pl-act[hidden] { display: none; }
.pl-place .pl-sec, .pl-shop-main .pl-sec, .pl-shop-aside .pl-sec { margin-top: 28px; }
.kw-addr .pl-addr .note { margin: 0 0 4px; font-size: 0.8125rem; }
.pl-addr-ko { margin: 0; font-weight: 700; font-size: 1.125rem; user-select: all; }
.kw-reviews > p, .kw-ask > p { margin: 0; max-width: 34rem; }
.pl-place-hero .pl-strip { padding: 0; gap: 0; }
.pl-place-hero .pl-strip .pl-photo { flex-basis: 100%; }
.pl-place-hero .pl-photo.is-big .pl-photo-by { margin: 6px 0 0; }
.pl-pc .kw-route3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Me 탭 ── */
.kw-me-sec { margin-top: 24px; }
.kw-me-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-me-lang { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.kw-me-lang[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.kw-me-sec .btn { display: inline-flex; gap: 8px; }
.kw-me-sec .pl-stay { margin-top: 0; }

/* ── 사장님 자리 광고(owner-ad.html · 시안 ④) ── */
.ow-ad-sec { margin-top: 28px; }
.ow-ad-step { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; }
.ow-ad-step::after { content: none !important; }
.ow-ad-n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.875rem; font-weight: 700; }
.ow-ad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ow-ad-pick { min-height: 48px; padding: 0 6px; border: 0; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; word-break: keep-all; }
.ow-ad-pick[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.ow-ad-more { min-height: 44px; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ow-ad-more[hidden] { display: none; }
.ow-ad-preview { margin: 14px 0 0; padding: 12px; border-radius: var(--r-btn); background: var(--fill); }
.ow-ad-preview > .note { margin: 0; font-size: 0.8125rem; }
.ow-ad-preview .kw-ad { margin: 8px 0 0; padding: 10px 12px; }
.ow-ad-pv-name { margin: 8px 0 0; font-weight: 700; }
.ow-ad-preview .kw-ad .note { margin: 0; }
.ow-ad-terms { display: grid; gap: 8px; }
.ow-ad-term { display: flex; align-items: flex-start; gap: 12px; min-height: 64px; margin: 0; padding: 14px; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 400; cursor: pointer; }
.ow-ad-term[data-on="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.ow-ad-term input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.ow-ad-term b { display: block; font-weight: 700; }
.ow-ad-term .note { display: block; margin: 2px 0 0; font-size: 0.875rem; }
.ow-ad-sum { margin: 14px 0 0; padding: 18px 16px; border-radius: var(--r-btn); background: var(--ink); color: var(--paper); }
.ow-ad-sum p { margin: 0; }
.ow-ad-sum-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.ow-ad-sum-h strong { font-size: 1.625rem; font-weight: 700; }
.ow-ad-sum p + p { margin-top: 8px; color: var(--muted-on-ink); font-size: 0.875rem; }
.ow-ad-copy { width: 100%; }
.ow-ad-copied:empty { display: none; }
.ow-ad-copied { margin: 0; }
.ow-head h1 { font-weight: 700; }
.ow-sec h2::after { content: none; }
.tk-tab { font-weight: 600; }
.tk-tab[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--pink); border-radius: 0; }
.tk-tabs { gap: 0; }

/* ── 768~: 지도 = 왼쪽 시트(목록) | 오른쪽 지도 · 찾기 칸 · 갈래 줄 · 숙소로는 지도 칸 위 ── */
@media (min-width: 768px) {
  .pl-mapx .pl-map-wrap { display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); margin: 8px 0 0; height: calc(100vh - var(--top-h) - var(--tab-h) - 24px); min-height: 540px; border: 1px solid var(--line); border-radius: var(--r-btn); }
  .pl-mapx .pl-map-canvas { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100%; }
  .kw-mapbar { position: relative; grid-column: 2; grid-row: 1; align-self: start; top: auto; left: auto; right: auto; margin: 12px; max-width: 40rem; }
  .kw-stay, .kw-locate-slot { position: relative; grid-column: 2; grid-row: 1; align-self: end; bottom: auto; left: auto; right: auto; margin: 16px; }
  .kw-stay { justify-self: start; }
  .kw-locate-slot { justify-self: end; margin-bottom: 40px; }
  .pl-mapx .pl-sheet, .pl-mapx .pl-sheet[data-snap="peek"], .pl-mapx .pl-sheet[data-snap="full"] { position: relative; bottom: auto; grid-column: 1; grid-row: 1; height: 100%; overflow-y: auto; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); padding-top: 16px; }
  .pl-mapx .pl-map-wrap:has(.pl-sheet[data-snap="full"]) :is(.kw-stay, .kw-locate-slot) { visibility: visible; }
  .pl-mapx .maplibregl-ctrl-bottom-right, .pl-mapx .maplibregl-ctrl-bottom-left { bottom: 0; }
  .pl-mapx .pl-map-wrap:has(.pl-sheet[data-snap="peek"]) :is(.maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left) { bottom: 0; }
  .pl-map-wrap[data-soon="true"] .pl-map-canvas { padding-top: 132px; }
  .kw-ad { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1024px) {
  .pl-mapx .pl-map-wrap { height: calc(100vh - var(--top-h) - 32px); }
  .pl:has(.pl-mapx) { padding-bottom: 16px; }
}

/* 11-28 장소 한 장 · 가게 한 장 812 안(시안 ②): 이름 · 시간 모름 · 길찾기 셋 · 단추 줄이 스크롤 없이 */
.kw-filter .kw-seg { min-width: 44px; }
.pl-back { margin: 0; }
.pl-place .pl-place-head, .pl-shop-side .pl-shop-head { padding-top: 10px; }
.pl-place .pl-pc-ko { font-size: 1rem; margin-top: 2px; }
.pl-place .pl-pc-meta { margin-top: 4px; font-size: 0.9375rem; }
.pl-place .pl-hours-unk, .pl-shop-side .pl-hours-unk { margin-top: 8px; padding: 8px 12px; }
.pl-place-go .kw-mini-h { margin: 12px 0 6px; }
.pl-place .pl-actions, .pl-shop-side .pl-actions { margin-top: 10px; }
.pl-place-hero .pl-photo.is-big .pl-photo-by { margin: 4px 0 0; padding: 0 var(--gutter); line-height: 1.35; } /* 출처 · 라이선스는 늘 다 보임(자르지 않음) */
.pl-place .pl-act, .pl-shop-side .pl-act { min-height: 56px; padding: 6px 1px; gap: 3px; line-height: 1.12; }
.pl-place .pl-act .pl-ico, .pl-shop-side .pl-act .pl-ico { width: 22px; height: 22px; }
.pl-place-go .pl-gnote { margin-top: 0; }
.pl-place .pl-place-head { padding-top: 8px; }
.pl-place-go .kw-mini-h { margin: 10px 0 4px; }
.pl-place .pl-act, .pl-shop-side .pl-act { padding: 4px 1px; }
/* 고른 동네: 검정 채움 + 칸 맨 아래 핑크 막대(글자 줄을 가로지르지 않음 — 11-26 본부 검토 7번) */
.pl-stn[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 0 0 var(--r-btn) var(--r-btn); background: var(--pink); }
.kw-me-sec .btn { min-height: 48px; height: auto; padding: 8px 16px; line-height: 1.3; text-align: left; white-space: normal; }
.kw-stay .pl-stay-go { flex: 0 1 auto; }

/* 저장 꽉 참 알림 — 화면 아래에 떠 있음(아래 탭 위) */
.pl-toast-float { position: fixed; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 60; margin: 0; pointer-events: none; }
.pl-toast-float:empty { display: none; }
.pl-toast-float:not(:empty) { background: #111; color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
