/* Panama Cafe Map — 같은 미색 종이 위에 지도와 목록 */
.pmap { width: min(1100px, calc(100% - 28px)); margin: clamp(18px, 5vh, 56px) auto 120px; padding: clamp(20px, 3.4vw, 44px) clamp(18px, 3.4vw, 48px) 48px;
  background: var(--cd-paper); color: var(--cd-ink); box-shadow: 0 1px 6px rgba(0,0,0,.12); font-family: "Source Serif 4", "Noto Serif KR", serif; font-size: 16px; line-height: 1.7; }
.pmap .pg-top { margin-top: 0; }
.pmap .pg-title { margin-bottom: 26px; }
.pm-lead { max-width: 40em; margin: 0 auto; text-align: center; font-size: 15px; opacity: .85; word-break: keep-all; }
.pm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 30px; padding: 14px 0; border-top: 1px solid rgba(28,22,12,.35); border-bottom: 1px solid rgba(28,22,12,.15); font-size: 13px; }
.pm-near { all: unset; cursor: pointer; padding: 8px 14px; background: var(--cd-ink); color: var(--cd-paper); font-weight: 600; }
.pm-near[aria-pressed="true"] { background: #2f5a3d; }
.pm-regions { display: flex; flex-wrap: wrap; gap: 4px 14px; flex: 1; }
.pm-regions button { all: unset; cursor: pointer; opacity: .55; }
.pm-regions button[aria-pressed="true"] { opacity: 1; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.pm-regions small { margin-left: 4px; font-size: 11px; opacity: .7; }
.pm-bar input { width: 12em; padding: 6px 0; border: 0; border-bottom: 1px solid rgba(28,22,12,.35); background: transparent; font: inherit; font-size: 15px; outline: none; color: inherit; }
.pm-map { position: relative; height: min(62svh, 560px); margin-top: 18px; background: #d9d2ae; }
.pm-map.off { height: auto; background: none; }
.pm-wait { padding: 22px 0; text-align: center; font-size: 13px; opacity: .65; }
.pm-count { margin-top: 18px; font-size: 13px; opacity: .65; }
.pm-list { list-style: none; margin-top: 6px; border-top: 1px solid rgba(28,22,12,.55); }
.pm-row { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid rgba(28,22,12,.15); cursor: pointer; transition: background .2s; }
.pm-row:hover, .pm-row.on { background: rgba(28,22,12,.05); }
.pm-row.own b { text-decoration: underline; text-underline-offset: 4px; }
.pm-row .no { font-size: 13px; opacity: .55; padding-top: 3px; font-variant-numeric: tabular-nums; }
.pm-main b { font-weight: 600; font-size: 17px; }
.pm-main em { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-left: 10px; opacity: .55; }
.pm-main .addr { font-size: 13px; opacity: .7; margin-top: 2px; }
.pm-main .ev { font-size: 13.5px; margin-top: 6px; line-height: 1.55; word-break: keep-all; }
.pm-main .ev small { opacity: .55; margin-left: 4px; }
.pm-main a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28,22,12,.35); }
.pm-main .lk { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 12px; }
.pm-side { text-align: right; font-size: 12px; white-space: nowrap; }
.pm-side b { display: block; font-size: 16px; }
.pm-side small { opacity: .55; }
.pm-note { margin-top: 26px; font-size: 12px; opacity: .6; }
@media (max-width: 640px) { .pm-row { grid-template-columns: 2em 1fr; } .pm-side { grid-column: 2; text-align: left; } .pm-bar input { width: 100%; } }
/* 지도 위 표시 */
.pm-pin { width: 18px; height: 18px; border-radius: 50%; background: #1c160c; border: 3px solid #ebe4bc; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.pm-pin.own { background: #b4532a; }
.pm-me { width: 16px; height: 16px; border-radius: 50%; background: #2a78d6; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(42,120,214,.25); }
.pm-info { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: #ebe4bc; color: #1c160c; font: 13px/1.45 "Source Serif 4", "Noto Serif KR", serif; box-shadow: 0 2px 10px rgba(0,0,0,.25); max-width: 240px; }
.pm-info b { font-size: 14px; } .pm-info span { opacity: .7; font-size: 12px; } .pm-info a { color: inherit; font-size: 12px; margin-top: 3px; }
.pm-side .cf { display: block; font-style: normal; font-size: 11px; margin-top: 3px; opacity: .6; }
.pm-side .cf.high { opacity: .9; } .pm-side .cf.low { color: #a3321f; opacity: .85; }
.pm-main .ev small.nt { display: block; margin: 2px 0 0; color: #a3321f; opacity: .8; }
.pm-pin.approx { background: transparent; border-color: #1c160c; border-style: dashed; }
/* 지도 + 옆 패널 */
.pm-stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; margin-top: 18px; background: #d9d2ae; }
.pm-stage .pm-map { margin-top: 0; }
.pm-panel { position: relative; height: min(62svh, 560px); overflow-y: auto; padding: 22px 20px; border-left: 1px solid rgba(28,22,12,.25); background: var(--cd-paper); }
.pm-hint { font-size: 13px; opacity: .6; line-height: 1.6; }
.pm-card { position: relative; }
.pm-ctop { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; opacity: .75; }
.pm-ctop .cf.low { color: #a3321f; }
.pm-cname { display: block; margin-top: 14px; font-weight: 600; font-size: 22px; line-height: 1.3; word-break: keep-all; }
.pm-card em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; }
.pm-caddr { margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.pm-chours { margin-top: 6px; font-size: 13px; opacity: .8; }
.pm-cev { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(28,22,12,.25); font-size: 14.5px; line-height: 1.65; word-break: keep-all; }
.pm-csrc { margin-top: 6px; font-size: 12px; opacity: .7; }
.pm-cnote { margin-top: 8px; font-size: 12px; color: #a3321f; }
.pm-clinks { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(28,22,12,.25); font-size: 13.5px; font-weight: 600; }
.pm-card a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(28,22,12,.35); }
.pm-close { all: unset; cursor: pointer; margin-top: 22px; font-size: 12px; opacity: .6; text-decoration: underline; text-underline-offset: 3px; }
.pm-card.own .pm-cname { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b4532a; }
.pm-tip { display: flex; flex-direction: column; gap: 2px; max-width: 230px; padding: 8px 11px; background: #1c160c; color: #ebe4bc; font: 13px/1.4 "Source Serif 4", "Noto Serif KR", serif; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.pm-tip b { font-size: 14px; } .pm-tip span { font-size: 11px; opacity: .75; } .pm-tip i { font-style: normal; font-size: 11.5px; opacity: .85; margin-top: 3px; word-break: keep-all; }
.pm-map.off + .pm-panel { display: none; }
/* 좁은 화면: 정보는 지도 오른쪽 위에 겹쳐 뜬다(페이지가 아래로 밀리지 않게) */
.pm-stage { position: relative; }
@media (max-width: 860px) {
  .pm-stage { grid-template-columns: 1fr; }
  .pm-stage .pm-map { height: 62svh; }
  .pm-panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(300px, calc(100% - 64px)); height: auto; border: 0; padding: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.28); z-index: 5; }
  .pm-panel:not(.on) { display: none; }
  .pm-cname { font-size: 19px; }
}
