/*
 * 파크골프타운 테마.
 * 색: 잔디 초록 하나(누를 것에만) + 색 안 섞인 회색. 간격 4px 단위, 모서리 8/14.
 * 꾸밈 기준: 골프 스코어카드처럼 가는 선으로 나눈 표와 또렷한 숫자.
 */

:root {
	--pg-ink: #17201b;
	--pg-sub: #56625b;
	--pg-faint: #8b958f;
	--pg-line: #e3e8e5;
	--pg-line-strong: #cfd6d2;
	--pg-bg: #fff;
	--pg-soft: #f4f6f5;
	--pg-brand: #0e8748;
	--pg-brand-ink: #0a6b39;
	--pg-brand-weak: #e7f4ec;
	--pg-star: #f2a31b;
	--pg-warn: #c2410c;
	--pg-r: 8px;
	--pg-r-lg: 14px;
	--pg-head: 60px;
	--pg-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--pg-head) + 16px); }
body {
	margin: 0;
	font-family: var(--pg-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--pg-ink);
	background: var(--pg-bg);
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--pg-brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.pg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--pg-ink); color: #fff; border-radius: var(--pg-r); }
.pg-skip:focus { top: 8px; }
.pg-wrap { width: 100%; max-width: 1128px; margin: 0 auto; padding: 0 20px; }
.pg-ico { flex: none; }
.pg-main { min-height: 60vh; }

/* ── 머리글 ───────────────────────────── */
.pg-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--pg-line); backdrop-filter: saturate(1.4) blur(8px); }
.pg-head__in { display: flex; align-items: center; gap: 8px; height: var(--pg-head); }
.pg-logo { display: flex; align-items: center; flex: none; margin-right: 12px; }
.pg-logo__img { height: 32px; width: auto; }
.pg-logo__text { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--pg-brand-ink); }
.pg-nav { display: none; align-items: center; gap: 2px; }
.pg-nav__link { padding: 8px 10px; border-radius: var(--pg-r); font-size: 15px; font-weight: 600; color: var(--pg-sub); white-space: nowrap; }
.pg-nav__link:hover { color: var(--pg-ink); background: var(--pg-soft); }
.pg-nav__link.is-on { color: var(--pg-brand-ink); }
.pg-nav__region { color: var(--pg-ink); }
.pg-head__search { display: none; flex: 1; justify-content: flex-end; min-width: 0; }
.pg-head__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pg-r); color: var(--pg-ink); }
.pg-head__btn:hover { background: var(--pg-soft); }
.pg-head__btn--search { margin-left: auto; }
.pg-head.is-searching .pg-head__search { display: flex; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 20px 12px; background: #fff; border-bottom: 1px solid var(--pg-line); }
.pg-head.is-searching .pg-search--head { max-width: none; }

.admin-bar .pg-head { top: 46px; }
@media (min-width: 783px) { .admin-bar .pg-head { top: 32px; } }
@media (max-width: 600px) { .admin-bar .pg-head { top: 0; } }
@media (min-width: 900px) {
	.pg-nav { display: flex; }
	.pg-head__search { display: flex; }
	.pg-head__btn--search, .pg-head__btn--menu { display: none; }
}

/* ── 검색창 ───────────────────────────── */
.pg-search { position: relative; display: flex; align-items: center; width: 100%; }
.pg-search__ico { position: absolute; left: 14px; display: grid; color: var(--pg-faint); pointer-events: none; }
.pg-search__input { width: 100%; height: 42px; padding: 0 14px 0 40px; font: inherit; font-size: 15px; color: var(--pg-ink); background: var(--pg-soft); border: 1px solid transparent; border-radius: 21px; -webkit-appearance: none; appearance: none; }
.pg-search__input::placeholder { color: var(--pg-faint); }
.pg-search__input:focus { outline: none; background: #fff; border-color: var(--pg-brand); box-shadow: 0 0 0 3px var(--pg-brand-weak); }
.pg-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pg-search--head { max-width: 300px; }
.pg-search--hero .pg-search__input { height: 58px; padding: 0 108px 0 52px; font-size: 17px; background: #fff; border: 1.5px solid var(--pg-ink); border-radius: 12px; }
.pg-search--hero .pg-search__input:focus { border-color: var(--pg-brand); }
.pg-search--hero .pg-search__ico { left: 18px; color: var(--pg-ink); }
.pg-search__go { position: absolute; right: 7px; height: 44px; padding: 0 22px; font-weight: 700; color: #fff; background: var(--pg-brand); border-radius: 8px; }
.pg-search__go:hover { background: var(--pg-brand-ink); }

.pg-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: min(420px, 60vh); overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--pg-line-strong); border-radius: 12px; box-shadow: 0 12px 32px rgba(23, 32, 27, .12); text-align: left; }
.pg-suggest__item { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: var(--pg-r); }
.pg-suggest__item.is-on, .pg-suggest__item:hover { background: var(--pg-soft); }
.pg-suggest__name { font-weight: 600; }
.pg-suggest__name mark { background: none; color: var(--pg-brand-ink); }
.pg-suggest__sub { margin-left: auto; flex: none; font-size: 13px; color: var(--pg-faint); }
.pg-suggest__all { display: block; padding: 10px 12px; font-size: 14px; color: var(--pg-sub); border-top: 1px solid var(--pg-line); margin-top: 4px; }
.pg-suggest__none { padding: 14px 12px; font-size: 14px; color: var(--pg-sub); }

/* ── 서랍(지역·종류) ─────────────────── */
.pg-drawer { position: fixed; inset: 0; z-index: 60; }
.pg-drawer__back, .pg-dialog__back { position: absolute; inset: 0; background: rgba(23, 32, 27, .45); }
.pg-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); padding: 8px 20px 32px; overflow: auto; background: #fff; }
.admin-bar .pg-drawer__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .pg-drawer__panel { top: 32px; } }
.pg-drawer__top { display: flex; align-items: center; justify-content: space-between; height: 52px; font-size: 17px; }
.pg-drawer__regions { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.pg-drawer__regions a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-bottom: 1px solid var(--pg-line); font-weight: 600; }
.pg-drawer__regions b { font-weight: 500; font-size: 14px; color: var(--pg-faint); font-variant-numeric: tabular-nums; }
.pg-drawer__regions a:hover span { color: var(--pg-brand-ink); }
.pg-drawer__label { display: block; margin: 28px 0 4px; font-size: 17px; }
.pg-drawer__types a { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--pg-line); color: var(--pg-ink); }
.pg-drawer__types .pg-ico { color: var(--pg-faint); }

/* ── 버튼·알약 ───────────────────────── */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; font-size: 16px; font-weight: 700; border-radius: var(--pg-r); border: 1px solid transparent; white-space: nowrap; }
.pg-btn--fill { color: #fff; background: var(--pg-brand); }
.pg-btn--fill:hover { background: var(--pg-brand-ink); }
.pg-btn--line { color: var(--pg-ink); background: #fff; border-color: var(--pg-line-strong); }
.pg-btn--line:hover { border-color: var(--pg-ink); }
.pg-btn--block { display: flex; width: 100%; }
.pg-mini { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 30px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--pg-sub); background: var(--pg-soft); border-radius: 6px; }
.pg-mini:hover { color: var(--pg-ink); background: var(--pg-line); }
.pg-chips, .pg-regions { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--pg-sub); background: #fff; border: 1px solid var(--pg-line-strong); border-radius: 19px; white-space: nowrap; }
.pg-chip b { font-weight: 500; font-size: 13px; color: var(--pg-faint); font-variant-numeric: tabular-nums; }
.pg-chip:hover { color: var(--pg-ink); border-color: var(--pg-ink); }
.pg-chip.is-on { color: #fff; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-chip.is-on b { color: rgba(255, 255, 255, .7); }
.pg-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; font-size: 13px; font-weight: 700; color: var(--pg-brand-ink); background: var(--pg-brand-weak); border-radius: 6px; }
.pg-tag--plain { color: var(--pg-sub); background: var(--pg-soft); }

/* ── 첫 화면 ─────────────────────────── */
.pg-hero { padding: 44px 0 8px; }
.pg-hero__in { max-width: 860px; margin-left: auto; margin-right: auto; }
.pg-hero__count { font-size: 15px; font-weight: 600; color: var(--pg-brand-ink); }
.pg-hero__count b { font-variant-numeric: tabular-nums; }
.pg-hero__title { margin-top: 8px; font-size: clamp(27px, 5.2vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.pg-hero__desc { margin: 10px 0 24px; font-size: 17px; color: var(--pg-sub); }
.pg-hero__types { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 20px; border-top: 1px solid var(--pg-ink); border-bottom: 1px solid var(--pg-line); }
.pg-hero__types li + li { border-left: 1px solid var(--pg-line); }
.pg-hero__types a { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px 16px; }
.pg-hero__types span { font-size: 13px; font-weight: 600; color: var(--pg-sub); }
.pg-hero__types b { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pg-hero__types a:hover { background: var(--pg-soft); }
.pg-hero__types a:hover b { color: var(--pg-brand-ink); }
@media (max-width: 640px) {
	.pg-hero { padding-top: 28px; }
	.pg-hero__desc { font-size: 16px; }
	.pg-hero__types { display: block; border-bottom: 0; }
	.pg-hero__types li + li { border-left: 0; }
	.pg-hero__types li { border-bottom: 1px solid var(--pg-line); }
	.pg-hero__types a { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 13px 4px; }
	.pg-hero__types span { font-size: 16px; font-weight: 700; color: var(--pg-ink); }
	.pg-hero__types b { font-size: 18px; }
	.pg-search--hero .pg-search__input { padding-right: 86px; font-size: 16px; }
	.pg-search__go { padding: 0 16px; }
}

.pg-sec { padding: 44px 0 0; }
.pg-sec:last-of-type { padding-bottom: 8px; }
.pg-sec--flush { padding-top: 56px; }
.pg-sec__head { margin-bottom: 18px; }
.pg-sec__head--more { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pg-sec__title { font-size: 22px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.pg-sec__desc { margin-top: 2px; font-size: 15px; color: var(--pg-sub); }
.pg-more { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: 14px; font-weight: 600; color: var(--pg-sub); }
.pg-more:hover { color: var(--pg-brand-ink); }

/* 지역 순위표 */
.pg-board { columns: 2; column-gap: 40px; border-top: 1px solid var(--pg-ink); }
.pg-board li { break-inside: avoid; }
.pg-board__row { display: grid; grid-template-columns: 28px 64px 1fr auto; align-items: center; gap: 8px; padding: 13px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-board__rank { font-size: 13px; font-weight: 600; color: var(--pg-faint); font-variant-numeric: tabular-nums; }
.pg-board__name { font-size: 17px; font-weight: 700; }
.pg-board__bar { display: block; height: 6px; background: var(--pg-soft); border-radius: 3px; overflow: hidden; }
.pg-board__bar i { display: block; height: 100%; background: var(--pg-brand); border-radius: 3px; opacity: .85; }
.pg-board__num { min-width: 56px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-board__num small { margin-left: 1px; font-size: 13px; font-weight: 500; color: var(--pg-faint); }
.pg-board__row:hover { background: var(--pg-soft); }
.pg-board__row:hover .pg-board__name { color: var(--pg-brand-ink); }
@media (max-width: 760px) { .pg-board { columns: 1; } }

/* ── 골프장 카드 ─────────────────────── */
.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 640px) { .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1000px) { .pg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; } }
.pg-card { display: block; }
.pg-card__pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pg-soft); border-radius: 12px; }
.pg-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pg-card:hover .pg-card__img { transform: scale(1.04); }
.pg-card__blank { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pg-line-strong); }
.pg-card__body { display: flex; flex-direction: column; padding: 10px 2px 0; }
.pg-card__tags { font-size: 13px; font-weight: 700; color: var(--pg-brand-ink); }
.pg-card__name { margin-top: 1px; font-size: 16px; line-height: 1.4; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-card:hover .pg-card__name { text-decoration: underline; text-underline-offset: 3px; }
.pg-card__addr { margin-top: 2px; font-size: 14px; color: var(--pg-sub); }
.pg-card__meta { margin-top: 2px; font-size: 13px; color: var(--pg-faint); }
.pg-card__meta b { font-weight: 600; color: var(--pg-sub); font-variant-numeric: tabular-nums; }

/* 한 줄 목록 */
.pg-rows { border-top: 1px solid var(--pg-ink); }
.pg-rows--2 { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
@media (min-width: 760px) { .pg-rows--2 { grid-template-columns: 1fr 1fr; } }
.pg-row { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-row__main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pg-row__name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-row__sub { font-size: 14px; color: var(--pg-sub); }
.pg-row__rank { width: 22px; font-weight: 700; color: var(--pg-brand-ink); font-variant-numeric: tabular-nums; }
.pg-row .pg-ico { color: var(--pg-line-strong); }
.pg-row:hover { background: var(--pg-soft); }
.pg-row:hover .pg-ico { color: var(--pg-ink); }

/* ── 경로 ─────────────────────────────── */
.pg-crumb { padding: 16px 0 12px; font-size: 14px; color: var(--pg-sub); }
.pg-crumb ol { display: flex; flex-wrap: wrap; }
.pg-crumb li + li::before { content: "›"; margin: 0 8px; color: var(--pg-line-strong); }
.pg-crumb a:hover { color: var(--pg-ink); text-decoration: underline; }
.pg-crumb [aria-current] { color: var(--pg-ink); font-weight: 600; }

/* ── 목록 화면 ───────────────────────── */
.pg-list { padding-bottom: 24px; }
.pg-list__head { padding: 20px 0 20px; }
.pg-crumb + .pg-list__head { padding-top: 4px; }
.pg-list__title { font-size: clamp(25px, 4.4vw, 32px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.pg-list__count { margin-top: 2px; font-size: 15px; color: var(--pg-sub); }
.pg-list__count b { color: var(--pg-brand-ink); font-variant-numeric: tabular-nums; }
.pg-list__desc { margin-top: 10px; max-width: 720px; color: var(--pg-sub); }
.pg-regions { margin-bottom: 14px; max-height: 132px; overflow: auto; padding-bottom: 2px; }
.pg-filter { display: flex; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 24px; border-top: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); overflow-x: auto; scrollbar-width: none; }
.pg-filter::-webkit-scrollbar { display: none; }
.pg-filter__label { flex: none; font-size: 14px; font-weight: 700; color: var(--pg-sub); }
.pg-filter .pg-chips { flex-wrap: nowrap; }
.pg-filter .pg-chip { height: 34px; font-size: 14px; }
.pg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 16px; }
.pg-pager .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--pg-sub); border-radius: var(--pg-r); }
.pg-pager a.page-numbers:hover { color: var(--pg-ink); background: var(--pg-soft); }
.pg-pager .current { color: #fff; background: var(--pg-ink); }
.pg-empty { max-width: 560px; margin: 0 auto; padding: 56px 0 72px; text-align: center; }
.pg-empty strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.pg-empty > p { margin: 6px 0 22px; color: var(--pg-sub); }
.pg-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px !important; }

/* ── 골프장 글 ───────────────────────── */
.pg-shots { display: grid; gap: 6px; border-radius: var(--pg-r-lg); overflow: hidden; }
.pg-shots__item { position: relative; display: block; overflow: hidden; background: var(--pg-soft); cursor: zoom-in; }
.pg-shots__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pg-shots__item:hover img { transform: scale(1.03); }
.pg-shots--1 .pg-shots__item { aspect-ratio: 16 / 9; max-height: 440px; width: 100%; }
.pg-shots--2 { grid-template-columns: 1fr 1fr; }
.pg-shots--2 .pg-shots__item { aspect-ratio: 4 / 3; }
.pg-shots--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.3 / 1; }
.pg-shots--3 .pg-shots__item:first-child { grid-row: 1 / 3; }
.pg-shots__more { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(23, 32, 27, .72); border-radius: 6px; }
@media (max-width: 640px) {
	.pg-place > .pg-wrap > .pg-shots { margin: 0 -20px; border-radius: 0; }
	.pg-shots--3 { aspect-ratio: 1.6 / 1; }
}

.pg-place__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 24px; }
@media (min-width: 1000px) { .pg-place__cols { grid-template-columns: minmax(0, 1fr) 320px; } }
.pg-place__side { display: none; }
@media (min-width: 1000px) { .pg-place__side { display: block; } }
.pg-side { position: sticky; top: calc(var(--pg-head) + 20px); display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--pg-line-strong); border-radius: var(--pg-r-lg); }
.pg-side__name { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.pg-side__addr { margin-bottom: 8px; font-size: 14px; color: var(--pg-sub); }
.pg-side__toc { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--pg-line); }
.pg-side__toc a { display: block; padding: 7px 0; font-size: 15px; color: var(--pg-sub); }
.pg-side__toc a:hover { color: var(--pg-brand-ink); }

.pg-title__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pg-title__h { font-size: clamp(25px, 4.6vw, 34px); line-height: 1.28; font-weight: 800; letter-spacing: -.03em; }
.pg-title__pre, .pg-title__post { font-size: .56em; font-weight: 600; letter-spacing: -.01em; color: var(--pg-sub); }
.pg-title__pre { display: block; margin-bottom: 2px; }
.pg-title__post { display: block; margin-top: 6px; font-weight: 500; color: var(--pg-faint); }
.pg-title__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 12px; font-size: 14px; color: var(--pg-sub); }
.pg-title__meta b { color: var(--pg-ink); font-variant-numeric: tabular-nums; }
.pg-title__rate { display: inline-flex; align-items: center; gap: 5px; }

.pg-stars { position: relative; display: inline-flex; vertical-align: -2px; line-height: 0; }
.pg-stars__off, .pg-stars__on { display: inline-flex; white-space: nowrap; }
.pg-stars__off { color: var(--pg-line-strong); }
.pg-stars__on { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--pg-star); }
.pg-stars svg { flex: none; }

.pg-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.pg-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 8px 4px; font-size: 14px; font-weight: 700; color: var(--pg-ink); background: var(--pg-soft); border-radius: 12px; text-align: center; }
.pg-act:hover { background: var(--pg-line); }
.pg-act--main { color: #fff; background: var(--pg-brand); }
.pg-act--main:hover { background: var(--pg-brand-ink); }
@media (min-width: 640px) {
	.pg-act { flex-direction: row; gap: 8px; min-height: 52px; font-size: 15px; }
}

/* 스코어카드 꼴 기본 정보 표 */
.pg-card-score { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-top: 1px solid var(--pg-ink); }
.pg-card-score__cell { padding: 14px 4px 15px; border-bottom: 1px solid var(--pg-line); min-width: 0; }
.pg-card-score__cell:nth-child(even) { padding-left: 4px; }
.pg-card-score__cell:nth-child(odd):not(.pg-card-score__cell--wide) { padding-left: 20px; border-left: 1px solid var(--pg-line); }
.pg-card-score__cell--wide { grid-column: 1 / -1; }
.pg-card-score dt { font-size: 13px; font-weight: 600; color: var(--pg-faint); }
.pg-card-score dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pg-card-score dd a:hover { color: var(--pg-brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-card-score .is-open { color: var(--pg-brand-ink); }
.pg-card-score .is-closed { color: var(--pg-warn); }
.pg-card-score dd small { display: block; font-size: 13px; font-weight: 500; color: var(--pg-sub); }
@media (min-width: 640px) {
	.pg-card-score { grid-template-columns: repeat(4, 1fr); }
	.pg-card-score__cell:nth-child(n):not(.pg-card-score__cell--wide) { padding-left: 16px; border-left: 1px solid var(--pg-line); }
	.pg-card-score__cell:nth-child(2) { padding-left: 4px !important; border-left: 0 !important; }
	.pg-card-score dd { font-size: 16px; }
}

.pg-block { padding-top: 44px; }
.pg-block__title { margin-bottom: 14px; font-size: 21px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.pg-fine { margin-top: 10px; font-size: 14px; color: var(--pg-faint); }

.pg-prose { font-size: 17px; line-height: 1.78; color: #2a332e; }
.pg-prose > * + * { margin-top: 1.05em; }
.pg-prose p:empty { display: none; }
.pg-prose h2, .pg-prose h3 { margin-top: 1.7em; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; color: var(--pg-ink); }
.pg-prose h2 { font-size: 21px; }
.pg-prose h3 { font-size: 18px; }
.pg-prose a { color: var(--pg-brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-prose ul, .pg-prose ol { padding-left: 1.2em; }
.pg-prose ul { list-style: disc; }
.pg-prose ol { list-style: decimal; }
.pg-prose li + li { margin-top: .3em; }
.pg-prose img { border-radius: 12px; }
.pg-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pg-prose th, .pg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--pg-line); text-align: left; }

.pg-hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--pg-ink); }
.pg-hours th, .pg-hours td { padding: 13px 4px; border-bottom: 1px solid var(--pg-line); text-align: left; vertical-align: top; }
.pg-hours th { width: 96px; font-weight: 600; color: var(--pg-sub); }
.pg-hours__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-hours__note { display: block; font-size: 14px; color: var(--pg-sub); }
.pg-hours tr.is-today th { color: var(--pg-brand-ink); }
.pg-hours tr.is-today th::after { content: "오늘"; margin-left: 6px; padding: 1px 6px; font-size: 12px; font-weight: 700; color: var(--pg-brand-ink); background: var(--pg-brand-weak); border-radius: 4px; }

.pg-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--pg-ink); column-gap: 24px; }
@media (min-width: 640px) { .pg-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-feat li { display: flex; align-items: center; gap: 8px; padding: 12px 4px; border-bottom: 1px solid var(--pg-line); font-weight: 600; }
.pg-feat .pg-ico { color: var(--pg-brand); }

.pg-addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pg-addr__text { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 700; }
.pg-addr__text .pg-ico { margin-top: 3px; color: var(--pg-brand); }
.pg-map { position: relative; aspect-ratio: 16 / 9; max-height: 380px; width: 100%; overflow: hidden; background: var(--pg-soft); border: 1px solid var(--pg-line); border-radius: 12px; }
.pg-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-map__wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--pg-faint); }
@media (max-width: 640px) { .pg-map { aspect-ratio: 4 / 3; } }
.pg-maplinks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pg-maplinks .pg-btn { font-size: 15px; padding: 0 8px; }
.pg-info { margin-top: 18px; border-top: 1px solid var(--pg-line); }
.pg-info > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-info dt { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--pg-sub); }
.pg-info dt .pg-ico { align-self: center; }
.pg-info dd { font-weight: 700; text-align: right; }
.pg-info dd a { color: var(--pg-brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.pg-faq { border-top: 1px solid var(--pg-ink); }
.pg-faq details { border-bottom: 1px solid var(--pg-line); }
.pg-faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 4px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::before { content: "Q"; flex: none; color: var(--pg-brand); font-weight: 800; }
.pg-faq summary span { flex: 1; }
.pg-faq summary .pg-ico { margin-top: 4px; color: var(--pg-faint); transform: rotate(90deg); transition: transform .2s; }
.pg-faq details[open] summary .pg-ico { transform: rotate(-90deg); }
.pg-faq details p { padding: 0 28px 20px 26px; color: #2a332e; line-height: 1.75; }

/* 방문자 평가 */
.pg-rv { border-top: 1px solid var(--pg-ink); }
.pg-rv__sum { display: flex; align-items: center; gap: 32px; padding: 22px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-rv__score { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; min-width: 120px; }
.pg-rv__score strong { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pg-rv__score small { font-size: 13px; color: var(--pg-sub); }
.pg-rv__dist { flex: 1; display: grid; gap: 5px; max-width: 360px; }
.pg-rv__dist li { display: grid; grid-template-columns: 30px 1fr 26px; align-items: center; gap: 8px; font-size: 13px; color: var(--pg-sub); font-variant-numeric: tabular-nums; }
.pg-rv__dist i { display: block; height: 6px; background: var(--pg-soft); border-radius: 3px; overflow: hidden; }
.pg-rv__dist i b { display: block; height: 100%; background: var(--pg-star); border-radius: 3px; transition: width .4s ease; }
.pg-rv__dist em { font-style: normal; text-align: right; }
.pg-rv__none { padding: 20px 4px 0; color: var(--pg-sub); }
.pg-rv__form { padding: 22px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-rv__ask { font-weight: 700; }
.pg-rv__pick { display: flex; align-items: center; gap: 2px; margin-top: 8px; }
.pg-rv__pick button { display: grid; place-items: center; width: 44px; height: 44px; color: var(--pg-line-strong); transition: color .12s, transform .12s; }
.pg-rv__pick button.is-on { color: var(--pg-star); }
.pg-rv__pick button:active { transform: scale(.88); }
.pg-rv__picked { margin-left: 10px; font-weight: 700; color: var(--pg-sub); }
.pg-rv__more { display: grid; gap: 10px; margin-top: 12px; max-width: 560px; }
.pg-rv__more textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--pg-ink); background: #fff; border: 1px solid var(--pg-line-strong); border-radius: var(--pg-r); resize: vertical; }
.pg-rv__more textarea:focus { outline: none; border-color: var(--pg-brand); box-shadow: 0 0 0 3px var(--pg-brand-weak); }
.pg-rv__more .pg-btn { justify-self: start; }
.pg-rv__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pg-rv__msg { margin-top: 12px; font-weight: 600; color: var(--pg-brand-ink); }
.pg-rv__msg.is-bad { color: var(--pg-warn); }
.pg-rv__item { padding: 16px 4px; border-bottom: 1px solid var(--pg-line); }
.pg-rv__item.is-new { animation: pg-flash 1.6s ease-out; }
@keyframes pg-flash { from { background: var(--pg-brand-weak); } }
.pg-rv__head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pg-sub); }
.pg-rv__date { margin-left: auto; color: var(--pg-faint); font-variant-numeric: tabular-nums; }
.pg-rv__text { margin-top: 6px; }
@media (max-width: 560px) { .pg-rv__sum { gap: 16px; } .pg-rv__score { min-width: 96px; } .pg-rv__score strong { font-size: 38px; } }

/* 휴대폰 아래 고정 버튼 */
.pg-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--pg-line); transform: translateY(110%); transition: transform .22s ease; }
.pg-bar.is-on { transform: none; }
.pg-bar__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; font-size: 15px; font-weight: 700; color: var(--pg-ink); background: var(--pg-soft); border-radius: var(--pg-r); white-space: nowrap; }
.pg-bar__btn--main { flex: 1.4; color: #fff; background: var(--pg-brand); }
@media (min-width: 1000px) { .pg-bar { display: none; } }
@media (max-width: 999px) { .single .pg-foot { padding-bottom: 84px; } }

/* ── 일반 페이지(약관 등) ───────────── */
.pg-page { max-width: 800px; padding-top: 44px; padding-bottom: 24px; }
.pg-page__head { padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--pg-ink); }
.pg-page__title { font-size: clamp(27px, 4.8vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.pg-page__date { margin-top: 6px; font-size: 14px; color: var(--pg-faint); font-variant-numeric: tabular-nums; }
.pg-prose--page { font-size: 16px; }
.pg-prose--page h2 { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--pg-line); font-size: 20px; }
.pg-prose--page > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ── 문의하기 ─────────────────────────── */
.pg-ask { padding-top: 44px; padding-bottom: 24px; }
.pg-ask__head { max-width: 640px; margin-bottom: 32px; }
.pg-ask__eyebrow { font-size: 15px; font-weight: 600; color: var(--pg-brand-ink); }
.pg-ask__title { margin-top: 6px; font-size: clamp(27px, 4.8vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.pg-ask__desc { margin-top: 8px; font-size: 17px; color: var(--pg-sub); }
.pg-ask__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .pg-ask__cols { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.pg-form { display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--pg-ink); }
.pg-form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .pg-form__row--2 { grid-template-columns: 1fr 1fr; } }
.pg-field { display: grid; gap: 6px; }
.pg-field > span { font-size: 15px; font-weight: 700; }
.pg-field > span b { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--pg-brand-ink); }
.pg-field input, .pg-field select, .pg-field textarea { width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--pg-ink); background: #fff; border: 1px solid var(--pg-line-strong); border-radius: var(--pg-r); -webkit-appearance: none; appearance: none; }
.pg-field textarea { padding: 13px 14px; line-height: 1.6; resize: vertical; }
.pg-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356625b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.pg-field input::placeholder, .pg-field textarea::placeholder { color: var(--pg-faint); }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: none; border-color: var(--pg-brand); box-shadow: 0 0 0 3px var(--pg-brand-weak); }
.pg-field.is-bad input, .pg-field.is-bad select, .pg-field.is-bad textarea { border-color: var(--pg-warn); }
.pg-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--pg-sub); cursor: pointer; }
.pg-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pg-brand); }
.pg-check.is-bad span { color: var(--pg-warn); }
.pg-form__send { justify-self: start; min-width: 160px; min-height: 52px; }
.pg-form__msg { font-weight: 600; color: var(--pg-brand-ink); }
.pg-form__msg.is-bad { color: var(--pg-warn); }
.pg-form.is-done .pg-form__msg { padding: 14px 16px; background: var(--pg-brand-weak); border-radius: var(--pg-r); }
.pg-ask__guide { align-self: start; padding-top: 24px; border-top: 1px solid var(--pg-ink); }
.pg-ask__guide h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pg-ask__guide ol { margin-top: 8px; counter-reset: ask; }
.pg-ask__guide li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--pg-line); counter-increment: ask; }
.pg-ask__guide li::before { content: counter(ask); position: absolute; left: 2px; top: 14px; font-weight: 800; color: var(--pg-brand); font-variant-numeric: tabular-nums; }
.pg-ask__guide li span { font-size: 14px; color: var(--pg-sub); }
.pg-ask__note { margin-top: 16px; font-size: 14px; color: var(--pg-faint); }

/* ── 광고 ─────────────────────────────── */
.pg-ad { margin: 28px 0 0; text-align: center; overflow: hidden; }
.pg-ad__tag { display: block; margin-bottom: 4px; font-size: 11px; color: var(--pg-faint); text-align: left; }
@media (max-width: 767px) { .pg-ad--desktop { display: none; } }
@media (min-width: 768px) { .pg-ad--mobile { display: none; } }

/* ── 창(전화번호)·사진 크게 보기·알림 ─── */
.pg-dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.pg-dialog__box { position: relative; width: min(360px, 100%); padding: 28px 24px 24px; background: #fff; border-radius: 16px; text-align: center; animation: pg-pop .18s ease-out; }
@keyframes pg-pop { from { transform: scale(.96); } }
.pg-dialog__label { font-size: 14px; color: var(--pg-sub); }
.pg-dialog__num { margin: 4px 0 20px; font-size: 30px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pg-dialog__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pg-dialog__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--pg-faint); border-radius: var(--pg-r); }
.pg-dialog__x:hover { color: var(--pg-ink); background: var(--pg-soft); }

.pg-viewer { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(12, 16, 14, .94); }
.pg-viewer__stage { grid-column: 2; display: grid; place-items: center; height: 100%; min-width: 0; touch-action: pan-y; cursor: grab; }
.pg-viewer__stage.is-drag { cursor: grabbing; }
.pg-viewer__img { max-width: 100%; max-height: 86vh; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.pg-viewer__nav, .pg-viewer__x { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto; color: #fff; border-radius: 50%; }
.pg-viewer__nav:hover, .pg-viewer__x:hover { background: rgba(255, 255, 255, .14); }
.pg-viewer__nav--prev .pg-ico { transform: rotate(180deg); }
.pg-viewer__x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.pg-viewer__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
	.pg-viewer { grid-template-columns: 0 1fr 0; }
	.pg-viewer__nav { display: none; }
}

.pg-toast { position: fixed; left: 50%; bottom: 88px; z-index: 90; transform: translateX(-50%); padding: 11px 18px; font-size: 15px; font-weight: 600; color: #fff; background: rgba(23, 32, 27, .94); border-radius: 22px; white-space: nowrap; animation: pg-pop .18s ease-out; }

/* ── 바닥글 ───────────────────────────── */
.pg-foot { margin-top: 72px; padding: 36px 0 40px; background: var(--pg-soft); font-size: 14px; color: var(--pg-sub); }
.pg-foot__regions strong { display: block; margin-bottom: 8px; font-size: 15px; color: var(--pg-ink); }
.pg-foot__regions ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pg-foot__regions a:hover, .pg-foot__links a:hover { color: var(--pg-ink); text-decoration: underline; }
.pg-foot__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pg-line-strong); }
.pg-foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 12px; font-weight: 600; color: var(--pg-ink); }
.pg-foot__note { max-width: 720px; }
.pg-foot__copy { margin-top: 8px; color: var(--pg-faint); }

/* 프레스런 공유 버튼이 테마 폭을 넘지 않게 */
.pg-block--share > *:not(h2) { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
