/* 캠핑타임 — 갈색 관광안내 표지판(시설 칩)과 숲색 강조. 사진 없이 정보가 주인공 */
:root {
  --paper: #f5f6f3; --surface: #ffffff; --ink: #1a211d; --muted: #5d6862; --line: #dce1dc;
  --pine: #1f5a43; --pine-soft: #e3eee8; --sign: #5b3a1e; --sign-ink: #ffffff;
  --wrap: 820px; --r-lg: 14px; --r-sm: 8px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0f1412; --surface: #161c19; --ink: #e6ece8; --muted: #9aa69f; --line: #26302b; --pine: #6cc59b; --pine-soft: #183026; --sign: #7a4e2a; }
}
:root[data-theme="dark"] { --paper: #0f1412; --surface: #161c19; --ink: #e6ece8; --muted: #9aa69f; --line: #26302b; --pine: #6cc59b; --pine-soft: #183026; --sign: #7a4e2a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif; word-break: keep-all; }
a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.cp-top { background: var(--surface); border-bottom: 1px solid var(--line); }
.cp-top-in { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.cp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; }
.cp-brand:hover { text-decoration: none; }
.cp-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--sign); color: #fff; }
.cp-q { margin-left: auto; flex: 0 1 240px; min-width: 0; }
.cp-q input { width: 100%; font: inherit; font-size: 15px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); }

.cp-crumb { margin-top: 16px; font-size: 13px; color: var(--muted); }
.cp-hero { padding: 20px 0 4px; }
.cp-hero h1 { margin: 0; font-size: clamp(24px, 6vw, 32px); line-height: 1.3; letter-spacing: -0.02em; }
.cp-hero--home h1 { font-size: clamp(28px, 7vw, 38px); }
.cp-lead { margin: 12px 0 0; max-width: 62ch; }
.cp-meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.cp-note { font-size: 13px; color: var(--muted); }
/* 지역 제목을 표지판처럼 */
.cp-plate { display: inline-block; padding: 2px 12px 4px; border-radius: 8px; background: var(--sign); color: var(--sign-ink); }
.cp-count { color: var(--muted); font-weight: 600; font-size: .8em; font-variant-numeric: tabular-nums; }

.cp-bigq { display: flex; gap: 8px; margin-top: 16px; max-width: 560px; }
.cp-bigq input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.cp-bigq button, .cp-btn { font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: var(--r-sm); background: var(--pine); color: #fff; cursor: pointer; white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cp-bigq button, :root:not([data-theme="light"]) .cp-btn:not(.cp-btn--ghost) { color: #0f1412; } }
.cp-btn:hover { text-decoration: none; filter: brightness(1.08); }
.cp-btn--ghost, :root .cp-btn.cp-btn--ghost { background: transparent; color: var(--pine); border: 1px solid var(--line); }
.cp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.cp-stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.cp-stats li { display: flex; flex-direction: column; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cp-stats span { font-size: 12px; color: var(--muted); }
.cp-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }

/* 시설 표지판 칩 — 갈색 바탕 흰 글씨(관광안내 표지) */
.cp-signs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.cp-sign { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--sign); color: var(--sign-ink); font-size: 12px; font-weight: 600; line-height: 1.6; }

.cp-sec { margin-top: 32px; }
.cp-sec h2 { margin: 0 0 10px; font-size: 19px; }
.cp-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cp-card { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cp-card[hidden] { display: none; }
.cp-card h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.cp-card h3 a { color: var(--ink); }
.cp-line { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.cp-filter { position: sticky; top: 0; z-index: 2; margin: 24px -16px 0; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cp-fbtns { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cp-fbtn { flex: none; font: inherit; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.cp-fbtn small { color: var(--muted); font-variant-numeric: tabular-nums; }
.cp-fbtn[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.cp-fbtn[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.cp-fmeta { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 30px; flex-wrap: wrap; }
.cp-fq { font: inherit; font-size: 13px; padding: 4px 10px; width: 170px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.cp-fcount { margin: 0; font-size: 13px; color: var(--muted); }
.cp-freset { font: inherit; font-size: 13px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.cp-freset:hover { border-color: var(--pine); }
.cp-empty { margin-top: 16px; padding: 24px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.cp-empty p { margin: 0 0 12px; }

.cp-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; }
.cp-chips a:hover { border-color: var(--pine); text-decoration: none; }
.cp-chips small { color: var(--muted); font-variant-numeric: tabular-nums; }

/* 홈: 시도 표지판 */
.cp-region-signs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.cp-region-signs a { display: flex; flex-direction: column; gap: 2px; min-height: 68px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--sign); color: var(--sign-ink); }
.cp-region-signs a:hover { text-decoration: none; filter: brightness(1.12); }
.cp-region-signs b { font-size: 17px; }
.cp-region-signs span { font-size: 13px; opacity: .85; font-variant-numeric: tabular-nums; }
.cp-themes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.cp-themes a { display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); }
.cp-themes a:hover { border-color: var(--pine); text-decoration: none; }
.cp-themes b { display: block; }
.cp-themes span { font-size: 13px; color: var(--muted); }

.cp-facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cp-facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 16px; }
.cp-facts div + div { border-top: 1px solid var(--line); }
.cp-facts dt { color: var(--muted); font-size: 14px; }
.cp-facts dd { margin: 0; }
.cp-st { padding: 14px 16px; background: var(--pine-soft); border-radius: var(--r-lg); }
.cp-st h2 { font-size: 17px; }
.cp-st p { margin: 0; }
.cp-intro { margin: 0; padding: 0 0 0 14px; border-left: 3px solid var(--line); color: var(--ink); }
.cp-intro p { margin: 0; }
.cp-intro footer { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cp-near { list-style: none; margin: 0; padding: 0; }
.cp-near li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cp-near span { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cp-faq { margin: 0; }
.cp-faq dt { font-weight: 600; margin-top: 14px; }
.cp-faq dd { margin: 4px 0 0; max-width: 65ch; }
.cp-plain { padding-left: 20px; } .cp-plain li { margin: 6px 0; }

.cp-ad { margin: 32px 0; min-height: 270px; padding-top: 12px; border-top: 1px solid var(--line); }
.cp-ad-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.cp-card + .cp-ad, .cp-list + .cp-ad { margin-top: 40px; }

.cp-card.ap-hp, .cp-hp { position: absolute; left: -9999px; }
.cp-form { display: grid; gap: 12px; margin-top: 16px; max-width: 520px; }
.cp-form label { display: grid; gap: 4px; font-size: 14px; }
.cp-form input, .cp-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.cp-card[role] { margin-top: 16px; }

.cp-foot { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cp-foot p { margin: 6px 0; } .cp-family { line-height: 2; }
@media (max-width: 420px) { .cp-facts div { grid-template-columns: 6em 1fr; } .cp-q { flex-basis: 150px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
