/* 올위캠프 시안 공통 — 색 · 글꼴 · 부품. 화면은 이 파일의 이름(mc-*)만 쓴다. style-guide.html 이 이 파일의 견본이다.
   모드: html[data-mode="light|dark|red"] — app.js 가 정한다. 색은 모두 아래 변수로(색만으로 뜻을 나타내지 않는다 → 배지는 아이콘 + 글자). */

:root, html[data-mode="light"] {
  --bg: #f5f1e8;          /* 따뜻한 종이 */
  --surface: #ffffff;
  --surface-2: #ece6d8;   /* 흙빛 옅은 면 */
  --line: #d6cdb9;
  --text: #17201b;
  --muted: #4b554f;       /* 바탕 위 7:1 이상 */
  --primary: #1d4d33;     /* 깊은 숲 초록 */
  --primary-strong: #12341f;
  --on-primary: #ffffff;
  --primary-soft: #dde9df;
  --accent: #b9481a;      /* 모닥불 주황(흰 글자 4.5:1 이상) */
  --accent-soft: #fbe3d3;
  --ok: #1a6b3c;   --ok-soft: #dcefe2;
  --warn: #7a4d00; --warn-soft: #fff0cc;
  --bad: #a51d14;  --bad-soft: #fde2df;
  --none: #4f5753; --none-soft: #e7e7e3;
  --info: #1f4f86; --info-soft: #dde8f6;
  --star: #2b2f6b; --star-soft: #e3e4f6;
  --shadow: 0 1px 2px rgb(23 32 27 / .08), 0 4px 16px rgb(23 32 27 / .06);
  --img-filter: none;
  color-scheme: light;
}
html[data-mode="dark"] {
  --bg: #0f1512; --surface: #18201b; --surface-2: #212b25; --line: #34413a;
  --text: #edf1ec; --muted: #b9c3bc;
  --primary: #7cc79a; --primary-strong: #a3dcb9; --on-primary: #0b1a11; --primary-soft: #1d3326;
  --accent: #ff9a5c; --accent-soft: #3a2316;
  --ok: #7fd6a0; --ok-soft: #173023; --warn: #ffd27a; --warn-soft: #362a10;
  --bad: #ff9b92; --bad-soft: #3a1714; --none: #c3c9c5; --none-soft: #2a302d;
  --info: #9cc3f5; --info-soft: #172a40; --star: #c5c8ff; --star-soft: #23264a;
  --shadow: 0 1px 2px rgb(0 0 0 / .4);
  --img-filter: brightness(.85);
  color-scheme: dark;
}
/* 별 보기 레드 모드 — 밤눈을 지키는 붉은 단색. 상태 구분은 아이콘 · 글자 · 테두리 모양으로만 */
html[data-mode="red"] {
  --bg: #000000; --surface: #0d0000; --surface-2: #170302; --line: #4a0d08;
  --text: #ff3b2e; --muted: #c22b20;
  --primary: #ff3b2e; --primary-strong: #ff5a4e; --on-primary: #000000; --primary-soft: #240504;
  --accent: #ff3b2e; --accent-soft: #240504;
  --ok: #ff3b2e; --ok-soft: #1a0302; --warn: #ff3b2e; --warn-soft: #1a0302;
  --bad: #ff3b2e; --bad-soft: #1a0302; --none: #c22b20; --none-soft: #120201;
  --info: #ff3b2e; --info-soft: #1a0302; --star: #ff3b2e; --star-soft: #1a0302;
  --shadow: none;
  --img-filter: grayscale(1) sepia(1) saturate(6) hue-rotate(-40deg) brightness(.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
img, svg.mc-img { filter: var(--img-filter); }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-lucide], .mc-ico { width: 20px; height: 20px; flex: none; stroke-width: 2; }

/* 틀 — 모바일 먼저(390) → 768 → 1280 */
.mc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.mc-stack > * + * { margin-top: 12px; }
.mc-section { padding: 20px 0; }
.mc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mc-section-head h2 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mc-more { font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; gap: 2px; }
.mc-grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .mc-wrap { padding: 0 24px; } .mc-grid-2 { grid-template-columns: 1fr 1fr; } .mc-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .mc-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* 머리 막대 */
.mc-top { position: sticky; top: 0; z-index: 20; background: var(--primary-strong); color: #fff; padding-top: env(safe-area-inset-top); }
html[data-mode="dark"] .mc-top { background: #0b100d; border-bottom: 1px solid var(--line); }
html[data-mode="red"] .mc-top { background: #000; color: var(--text); border-bottom: 1px solid var(--line); }
.mc-top-in { display: flex; align-items: center; gap: 8px; height: 56px; }
.mc-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none; color: inherit; margin-right: auto; }
.mc-logo small { font-weight: 500; font-size: 12px; opacity: .8; }
.mc-logo .mc-mascot { width: 36px; height: 36px; }
.mc-iconbtn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.mc-iconbtn:hover { background: rgb(255 255 255 / .1); }
.mc-back { margin-left: -8px; }

/* 머리 막대 안 검색칸(검색 결과 화면) */
.mc-top .mc-search { flex: 1; min-width: 0; min-height: 44px; border: 0; color: var(--text); }
.mc-top .mc-search input { height: 44px; font-size: 16px; }

/* 모드 빠른 전환 — 모든 화면 머리 막대 */
.mc-modes { display: inline-flex; border: 1px solid rgb(255 255 255 / .35); border-radius: 12px; overflow: hidden; }
html[data-mode="red"] .mc-modes { border-color: var(--line); }
.mc-modes button { min-width: 40px; height: 40px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; cursor: pointer; }
.mc-modes button[aria-pressed="true"] { background: rgb(255 255 255 / .2); }
html[data-mode="red"] .mc-modes button[aria-pressed="true"] { background: var(--primary-soft); }
.mc-modes .mc-modes-label { display: none; }
@media (min-width: 768px) { .mc-modes .mc-modes-label { display: inline; } }

/* 버튼 — 최소 48px */
.mc-btn { min-height: 48px; padding: 0 18px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; }
.mc-btn-primary { background: var(--primary); color: var(--on-primary); }
.mc-btn-primary:hover { background: var(--primary-strong); }
.mc-btn-accent { background: var(--accent); color: #fff; }
html[data-mode="red"] .mc-btn-accent { color: #000; }
.mc-btn-line { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.mc-btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.mc-btn-danger { background: var(--bad); color: #fff; border-color: var(--bad); }
html[data-mode="dark"] .mc-btn-danger, html[data-mode="red"] .mc-btn-danger { color: #000; }
.mc-btn-block { width: 100%; }
.mc-btn-sm { min-height: 40px; font-size: 14px; padding: 0 12px; } /* 표 · 칩 안에서만, 둘레 여백으로 48 확보 */

/* 칩 · 토글 */
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
.mc-chip { min-height: 44px; max-width: 100%; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.mc-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.mc-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 14px; background: var(--primary-soft); color: var(--text); }
.mc-switch b { display: block; font-size: 15px; }
.mc-switch small { color: var(--muted); font-size: 13px; }
.mc-toggle { position: relative; width: 52px; height: 32px; flex: none; border-radius: 999px; background: var(--line); border: 0; cursor: pointer; }
.mc-toggle::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.mc-toggle[aria-checked="true"] { background: var(--primary); }
.mc-toggle[aria-checked="true"]::after { transform: translateX(20px); background: var(--on-primary); }
.mc-toggle:disabled { opacity: .45; cursor: not-allowed; }

/* 카드 */
.mc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mc-card-body { padding: 14px 16px; }
.mc-card-title { font-size: 17px; font-weight: 700; }
.mc-card-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
a.mc-card { display: block; text-decoration: none; color: inherit; }
.mc-photo { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.mc-photo svg { width: 100%; height: 100%; display: block; }
.mc-photo .mc-photo-tag { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: rgb(0 0 0 / .6); color: #fff; }
/* 실제 사진(결정 10.22) — 고캠핑 · 관광공사 1유형 · 관리자 사진. 못 불러오면 그림(svg)이 그대로 보임 */
.mc-photo.has-photo { overflow: hidden; }
.mc-photo img.mc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-photo .mc-photo-by { position: absolute; right: 8px; bottom: 8px; z-index: 3; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: rgb(0 0 0 / .6); color: #fff; pointer-events: none; }
html[data-mode="red"] .mc-photo .mc-photo-by { background: #000; color: var(--text); }
.mc-photo.has-photo .mc-photo-tag { display: none; }
.mc-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 64px; border-top: 1px solid var(--line); }
.mc-row:first-child { border-top: 0; }
.mc-row-main { flex: 1; min-width: 0; }
.mc-row-title { font-weight: 700; font-size: 16px; }
.mc-row-sub { font-size: 14px; color: var(--muted); }

/* 배지 — 아이콘 + 글자, 색만으로 구분하지 않는다 */
.mc-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 2px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 1.5px solid currentColor; background: var(--surface); white-space: nowrap; }
.mc-badge [data-lucide] { width: 16px; height: 16px; }
.mc-badge-ok   { color: var(--ok);   background: var(--ok-soft); }
.mc-badge-warn { color: var(--warn); background: var(--warn-soft); border-style: dashed; }
.mc-badge-bad  { color: var(--bad);  background: var(--bad-soft); }
.mc-badge-none { color: var(--none); background: var(--none-soft); border-style: dotted; }
.mc-badge-info { color: var(--info); background: var(--info-soft); }
.mc-badge-star { color: var(--star); background: var(--star-soft); }
.mc-badge-accent { color: var(--accent); background: var(--accent-soft); }
.mc-badge-plain { color: var(--muted); border-color: var(--line); }
/* 출처 · 기준일 — 모든 정보 아래 */
.mc-source { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.mc-source [data-lucide] { width: 14px; height: 14px; }
.mc-source b { font-weight: 700; }
.mc-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); color: var(--text); }
.mc-note [data-lucide] { margin-top: 2px; }
/* 짧은 알림(토스트) — 저장했어요 등. 아래 막대 · 탭 위에 잠깐, 화면 낭독기는 role=status 로 읽음 */
.mc-toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 8px; width: min(calc(100% - 32px), 420px); pointer-events: none; }
@media (min-width: 1280px) { .mc-toasts { bottom: 96px; } }
.mc-toast { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 12px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 15px; box-shadow: var(--shadow); }
.mc-toast-error { background: var(--bad-soft); color: var(--bad); border: 2px solid var(--bad); }

/* 별 보기 지수 */
.mc-star { display: flex; align-items: center; gap: 14px; }
.mc-star-score { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--star); color: #fff; font-weight: 800; font-size: 24px; flex: none; line-height: 1; text-align: center; }
html[data-mode="dark"] .mc-star-score, html[data-mode="red"] .mc-star-score { color: #000; }
.mc-star-score small { display: block; font-size: 11px; font-weight: 600; }
.mc-star-dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.mc-star-dots i { width: 14px; height: 14px; display: inline-block; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: var(--star); }
.mc-star-dots i.off { background: var(--line); }

/* 지도 자리표시(키 없이) */
.mc-map { position: relative; background: var(--surface-2); border-radius: 16px; overflow: hidden; min-height: 240px; }
.mc-map svg.mc-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-map-label { position: absolute; right: 8px; bottom: 8px; font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.mc-pin { position: absolute; transform: translate(-50%, -100%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--primary); color: var(--on-primary); border: 2px solid var(--surface); box-shadow: var(--shadow); }
.mc-pin > * { rotate: 45deg; width: 18px; height: 18px; }
.mc-pin-pet { background: var(--accent); }
.mc-pin-safe { background: var(--bad); }
.mc-pin-shop { background: var(--info); }
.mc-pin-count { width: 44px; height: 44px; border-radius: 50%; rotate: 0deg; transform: translate(-50%, -50%); font-weight: 800; font-size: 15px; background: var(--primary-strong); color: #fff; }
.mc-pin-count > * { rotate: 0deg; }

/* 아래 고정 행동 막대 — 길찾기 · 전화 · 저장(엄지 닿는 곳) */
.mc-actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(0 0 0 / .08); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.mc-actionbar-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px; }
.mc-actionbar .mc-btn { padding: 0 8px; }
.mc-has-actionbar { padding-bottom: 96px; }
/* 아래 탭(목록 화면) */
.mc-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mc-tabbar-in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); } /* 6칸(커뮤니티 더함 2026-11-20) — 360px 에서 한 칸 60px */
.mc-tabbar a { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; min-width: 0; overflow: hidden; }
.mc-tabbar a[aria-current="page"] { color: var(--primary); }
.mc-tabbar a.mc-tab-safe { color: var(--bad); }
.mc-has-tabbar { padding-bottom: 84px; }
@media (min-width: 1280px) { .mc-tabbar { display: none; } .mc-has-tabbar { padding-bottom: 0; } }
/* 「맨 위로」 단추 — 플러그인 glitter-scroll_top(namdaemun)이 body 에 붙임. 모양만 우리 것으로(색 · 48px · 아래 막대 위). 나타나고 숨는 것은 플러그인 몫 */
#glitter-scroll-top-root { position: fixed; right: 16px !important; left: auto !important; bottom: calc(96px + env(safe-area-inset-bottom)) !important; z-index: 31 !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 48px; min-height: 48px; padding: 0 16px !important;
  border: 0; border-radius: 999px; background: var(--primary) !important; color: #fff !important; font: inherit !important; font-size: 14px !important; font-weight: 700 !important;
  box-shadow: var(--shadow) !important; cursor: pointer; }
#glitter-scroll-top-root[hidden] { display: none; }
#glitter-scroll-top-root svg { width: 20px; height: 20px; flex: none; }
#glitter-scroll-top-root:focus-visible { outline: 3px solid var(--accent) !important; outline-offset: 3px; }
html[data-mode="red"] #glitter-scroll-top-root { color: #000 !important; }
@media (max-width: 640px) { #glitter-scroll-top-root { padding: 0 !important; } #glitter-scroll-top-root .glitter-scroll-top-label { display: none; } }
@media (min-width: 1280px) { #glitter-scroll-top-root { bottom: 24px !important; right: 24px !important; } }

/* 아래에서 올라오는 시트(길찾기 선택) */
.mc-sheet-back { position: fixed; inset: 0; z-index: 40; background: rgb(0 0 0 / .5); display: none; }
.mc-sheet-back.open { display: block; }
.mc-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--surface); border-radius: 20px 20px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; transform: translateY(110%); transition: transform .2s; }
.mc-sheet:not(.open) { visibility: hidden; }
.mc-sheet.open { transform: none; }
.mc-sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 12px; }

/* 광고 자리 — 콘텐츠와 다르게 · 높이 미리 확보 · 「광고」 표시. 발표 모드에서 숨김 가능 */
.mc-ad { min-height: 100px; border: 2px dashed var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: repeating-linear-gradient(45deg, transparent 0 10px, var(--surface-2) 10px 20px); position: relative; }
.mc-ad::before { content: "광고"; position: absolute; top: 6px; left: 8px; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: var(--muted); color: var(--bg); }
html.mc-no-ads .mc-ad { display: none; }

/* 입력 */
.mc-search { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--surface); border: 2px solid var(--primary); }
.mc-search input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; height: 52px; outline: none; }
.mc-search input::placeholder { color: var(--muted); }
.mc-field { display: block; }
.mc-field span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mc-input { width: 100%; height: 52px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; padding: 0 14px; }
.mc-input:focus { border-color: var(--primary); outline: none; }

/* 마스코트 */
.mc-mascot { width: 72px; height: 72px; flex: none; }
.mc-empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.mc-empty .mc-mascot { width: 96px; height: 96px; margin: 0 auto 8px; display: block; }

/* 시안 표시 · 바닥글 */
.mc-foot { padding: 24px 0 32px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; }
/* 바닥글 — 모든 사용자 화면(partials/_footer · 시안은 app.js). 약관 줄 · 로고 · 사업자 정보 · 자료 문구 · 저작권.
   화면 끝(</main> 뒤)에 오므로 옅은 면을 아래로 끝까지 칠해 아래 막대 여백까지 덮음 */
.mc-foot-site { margin-top: 48px; padding: 0 0 36px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax -100vmax); }
.mc-foot-site p { margin: 0; }
.mc-foot-links { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 4px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mc-foot-links a { display: inline-flex; align-items: center; min-height: 48px; color: var(--text); text-decoration: none; }
.mc-foot-links a:hover { text-decoration: underline; }
.mc-foot-links a + a::before { content: ""; width: 1px; height: 12px; margin: 0 14px; background: var(--line); }
.mc-foot-links b { font-weight: 800; }
.mc-foot-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin: 12px 0 8px; color: var(--text); text-decoration: none; font-size: 16px; }
.mc-foot-brand .mc-mascot { width: 32px; height: 32px; }
.mc-foot-brand b { font-weight: 800; letter-spacing: -.01em; }
/* 사업자 정보(관리자 「사업자 정보」 — 보이는 순서대로): 모바일은 한 줄에 하나, PC 는 이어서 | 로 나눔 */
.mc-foot-biz { display: grid; gap: 2px; margin: 0 0 16px; font-size: 12.5px; }
.mc-foot-biz p { display: flex; gap: 8px; min-width: 0; }
.mc-foot-biz span:first-child { flex: none; color: var(--muted); }
.mc-foot-biz span:last-child { min-width: 0; overflow-wrap: anywhere; color: var(--text); }
@media (min-width: 768px) {
  .mc-foot-biz { display: flex; flex-wrap: wrap; gap: 2px 0; }
  .mc-foot-biz p + p::before { content: ""; align-self: center; width: 1px; height: 11px; margin: 0 8px 0 10px; background: var(--line); }
  .mc-foot-biz p { gap: 6px; }
}
.mc-foot-note { display: grid; gap: 4px; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.mc-foot-copy { margin-top: 14px !important; font-size: 12px; letter-spacing: .01em; }
.mc-foot-copy + .mc-foot-copy { margin-top: 4px !important; }
.mc-foot-links a:focus-visible, .mc-foot-brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.mc-sample { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--muted); color: var(--muted); }
html.mc-present .mc-present-hide { display: none !important; }

/* 팝업 · 공지 띠 — 모듈 glitter-popup(namdaemun · 주거알리미에서 가져옴, 고치지 않음)이 그누보드 기본 템플릿의 Tailwind 클래스로 그림.
   우리 템플릿에는 Tailwind 가 없어 그 모듈이 쓰는 클래스만 여기서 우리 색(라이트 · 다크 · 레드)으로. dark: 변형은 변수가 대신함 */
#glitter_popup_bars .border-b { border-bottom: 1px solid var(--line); background: var(--accent-soft, var(--surface-2)); color: var(--text); }
#glitter_popup_bars .max-w-7xl { max-width: 1280px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
#glitter_popup_bars .flex-1 { flex: 1; min-width: 0; }
#glitter_popup_bars .shrink-0 { display: flex; align-items: center; gap: 8px; flex: none; }
.fixed.inset-0 { position: fixed; inset: 0; display: flex; justify-content: center; padding: 16px; }
.fixed.inset-0.items-center { align-items: center; } .fixed.inset-0.items-start { align-items: flex-start; } .fixed.inset-0.items-end { align-items: flex-end; }
.fixed.inset-0.pointer-events-none { pointer-events: none; }
.bg-black\/50 { background: rgb(0 0 0 / .5); }
.pointer-events-auto.rounded-xl { pointer-events: auto; max-width: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 12px 40px rgb(0 0 0 / .3); }
.rounded-xl > .justify-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 4px 16px; background: var(--surface-2); flex: none; }
.rounded-xl > .border-b { border-bottom: 1px solid var(--line); }
.rounded-xl > .border-t { border-top: 1px solid var(--line); }
.rounded-xl > .flex-1 { flex: 1; min-height: 0; padding: 16px; overflow: auto; font-size: 15px; line-height: 1.6; }
.rounded-xl .truncate { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.rounded-xl .ml-auto { margin-left: auto; }
.rounded-xl img, #glitter_popup_bars img { max-width: 100%; height: auto; display: block; }
.rounded-xl a, #glitter_popup_bars a { color: var(--primary-strong); font-weight: 700; }
#glitter_popup_bars button, .rounded-xl button { min-height: 48px; min-width: 48px; padding: 0 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#glitter_popup_bars button:hover, .rounded-xl button:hover { text-decoration: underline; }
#glitter_popup_bars .btn-icon svg, .rounded-xl .btn-icon svg { width: 22px; height: 22px; }
#glitter_popup_bars button:focus-visible, .rounded-xl button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* 계정 부품 — 머리 막대 오른쪽, 알림 옆(partials/_account · 시안은 app.js 가 같은 꼴로 끼움). 따로 막대를 두지 않음(운영자 지시 2026-10-17).
   PC(768 이상): 언어 ▾ · 로그인 · 회원가입 / 이름 ▾. 모바일: 사람 단추 하나 — 펼침 안에 로그인 · 회원가입(또는 관리자 · 내 정보 · 로그아웃)과 언어 */
.mc-acc { display: flex; align-items: center; gap: 2px; flex: none; }
.mc-acc > a, .mc-dd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 48px; min-height: 48px; padding: 0 8px; border: 2px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.mc-acc svg { width: 20px; height: 20px; flex: none; }
.mc-acc .mc-dd-btn svg[class*="chevron"], .mc-acc .mc-dd-btn [data-lucide="chevron-down"] { width: 16px; height: 16px; opacity: .8; }
.mc-acc > a:hover, .mc-acc .mc-dd-btn:hover { background: rgb(255 255 255 / .1); }
.mc-dd { position: relative; }
.mc-dd-btn[aria-expanded="true"] { border-color: rgb(255 255 255 / .55); }
html[data-mode="red"] .mc-dd-btn[aria-expanded="true"] { border-color: var(--line); }
.mc-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--primary-strong); color: #fff; font-size: 14px; font-weight: 800; flex: none; }
.mc-top .mc-dd-btn .mc-avatar { background: #fff; color: var(--primary-strong); }
html[data-mode="dark"] .mc-top .mc-dd-btn .mc-avatar { background: var(--primary); color: var(--on-primary); }
html[data-mode="red"] .mc-avatar, html[data-mode="red"] .mc-top .mc-dd-btn .mc-avatar { background: var(--primary); color: #000; }
.mc-dd-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-dd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 160px; margin: 0; padding: 4px 0; list-style: none; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgb(0 0 0 / .16); overflow: hidden; }
.mc-dd-wide { min-width: 240px; padding: 0; }
.mc-dd-menu a, .mc-dd-menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; font: inherit; font-size: 15px; text-align: left; text-decoration: none; cursor: pointer; }
.mc-dd-menu svg { width: 20px; height: 20px; flex: none; }
.mc-dd-menu > :first-child, .mc-dd-menu > li:first-child > button { border-top: 0; }
.mc-dd-menu a:hover, .mc-dd-menu button:hover { background: var(--surface-2); }
.mc-dd-menu button[aria-current="true"] { font-weight: 800; box-shadow: inset 4px 0 0 var(--primary-strong); }
.mc-dd-menu .mc-dd-out { color: #b42318; }
html[data-mode="dark"] .mc-dd-menu .mc-dd-out { color: #ff8a80; }
html[data-mode="red"] .mc-dd-menu .mc-dd-out { color: var(--text); }
.mc-dd-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.mc-dd-head .mc-avatar { width: 48px; height: 48px; font-size: 18px; }
.mc-dd-head b { display: block; font-size: 16px; } .mc-dd-head small { color: var(--muted); font-size: 13px; }
/* 펼침 안 언어(모바일만) — 한 줄에 나란히 */
.mc-dd-langs { display: flex; border-top: 1px solid var(--line); background: var(--surface-2); }
.mc-dd-menu .mc-dd-langs button { flex: 1; justify-content: center; padding: 0 6px; border-top: 0; font-size: 14px; }
.mc-dd-menu .mc-dd-langs button + button { border-left: 1px solid var(--line); }
.mc-dd-menu .mc-dd-langs button[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--primary-strong); background: var(--surface); }
.mc-acc a:focus-visible, .mc-dd-btn:focus-visible, .mc-dd-menu :is(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (max-width: 767px) {
  .mc-acc-pc { display: none !important; }
  .mc-acc .mc-dd-name, .mc-acc .mc-dd-user > svg:last-child, .mc-acc .mc-dd-user > i:last-child { display: none; }
}
@media (min-width: 768px) { .mc-acc-guest, .mc-dd-langs { display: none !important; } }
/* 마이페이지 — 제목 · 탭(partials/_mypage_tabs) · 내 정보 카드(시안 35) */
.mc-page-title { font-size: 22px; font-weight: 800; margin: 18px 0 8px; }
.mc-mytabs { display: flex; gap: 2px; overflow-x: auto; margin: 0 0 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.mc-mytabs::-webkit-scrollbar { display: none; }
.mc-mytabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.mc-mytabs a svg { width: 18px; height: 18px; }
.mc-mytabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--primary-strong); }
.mc-mytabs a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.my-card { padding: 20px 16px; }
.my-head { display: flex; align-items: center; gap: 14px; }
.my-av { width: 64px; height: 64px; font-size: 24px; }
.my-who { min-width: 0; }
.my-who h2 { margin: 0; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.my-who h2 small { font-size: 15px; font-weight: 600; color: var(--muted); }
.my-who p { margin: 2px 0 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.my-rows { display: grid; gap: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.my-rows p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.my-rows p span:first-child { color: var(--muted); }
.my-rows p span:last-child { font-weight: 700; text-align: right; }
.my-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.my-sub { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.my-form { display: grid; gap: 14px; }
.my-note { margin: 0; color: var(--muted); font-size: 14px; }
.my-pw { position: relative; } .my-pw .mc-iconbtn { position: absolute; right: 2px; bottom: 2px; color: var(--muted); }
.my-out { margin: 0; text-align: right; }
/* 글자에 밑줄 단추를 쓰지 않음 — 작은 테두리 단추(운영자 10.17). 위아래 4px 둘레로 누르는 곳 48 */
.my-linkbtn, .my-terms, .cm-report, .cm-cmt-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin: 4px 0; padding: 0 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
/* 마이페이지 반반(알림 화면 .nt-cols 처럼) — 768 이상 같은 너비 두 칸: 윗줄 내 정보 | 계정(로그아웃 · 본인인증 · 회원 탈퇴), 아랫줄 마케팅 · 정보 동의 | 쿠키 동의. 모바일은 차례대로(내 정보 → 동의 둘 → 계정) */
.my-grid { display: grid; gap: 12px; align-items: start; }
@media (min-width: 768px) { .my-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; } .my-grid > .my-side { grid-column: 2; grid-row: 1; } }
.my-side .mc-btn { width: 100%; }
.my-side .my-note { margin-top: 8px; }
.my-danger { border-color: var(--bad); }
.my-danger .my-sub { display: flex; align-items: center; gap: 8px; color: var(--bad); }
.my-danger .my-sub svg { width: 22px; height: 22px; flex: none; }
.my-warn { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.my-warn-list { display: grid; gap: 8px; margin: 12px 0; padding: 14px; list-style: none; border-radius: 12px; background: var(--surface-2); font-size: 15px; }
.my-warn-list li { display: flex; align-items: flex-start; gap: 8px; }
.my-warn-list svg { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--bad); }
.my-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 700; cursor: pointer; }
.my-check input { width: 22px; height: 22px; flex: none; accent-color: var(--bad); }
.mc-btn-danger-line { background: var(--surface); color: var(--bad); border-color: var(--bad); }
.my-sheet-tall { max-height: 90vh; overflow-y: auto; }
/* 내 정보 칸 모두 · 사진 · 동의(시안 35) */
img.my-av { object-fit: cover; background: var(--surface-2); }
.my-empty { color: var(--muted); font-weight: 400 !important; }
.my-rows p span:last-child { min-width: 0; overflow-wrap: anywhere; }
.my-texts { padding: 12px 0 0; display: grid; gap: 12px; font-size: 15px; }
.my-texts p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.my-texts .my-tl { color: var(--muted); margin-bottom: 4px; }
.my-photo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.my-photo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.my-photo-btns label { position: relative; }
.my-photo-btns input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.my-photo-btns label:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.my-photo .my-note { margin-top: 6px; }
.my-fs { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; min-width: 0; }
.my-fs legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.my-fs + .my-fs { padding-top: 14px; border-top: 1px solid var(--line); }
.my-zip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
/* 주소 검색 단추는 다음 우편번호 플러그인이 끼워 넣음(그 Tailwind 클래스 대신 우리 단추 모양) */
.my-zip-btn button { min-height: 52px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--primary); background: var(--surface); color: var(--primary); font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.my-zip-btn button:disabled { opacity: .45; cursor: not-allowed; }
.my-ta { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.my-consents { display: grid; gap: 8px; margin-bottom: 12px; }
.my-consents .mc-switch > div { min-width: 0; }
.my-consents .mc-switch small { display: block; }
.my-renew { flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.my-cookies { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.my-cookies li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.my-cookies li > div { flex: 1 1 180px; min-width: 0; }
.my-cookies b { display: block; font-size: 15px; }
.my-cookies small { color: var(--muted); font-size: 13px; }
.my-rows-top { margin-top: 0; }
/* 뒤로 단추가 있는 머리 막대는 420 아래에서 로고를 마스코트만(글자는 화면 낭독기용으로 남김) */
/* 휴대폰: 거르기 · 탭 · 바로가기 막대가 있는 화면은 머리 막대와 그 막대를 붙이지 않고 내용과 같이 흘러감 — 붙이면 지도 · 목록이 너무 작게 보임(운영자 2026-10-22). 템플릿은 extra.css 끝에도 */
@media (max-width: 767px) {
  body:has(.filters, .col-tabs, .jump) .mc-top { position: relative; }
  body .filters, body .col-tabs, body .jump { position: static; }
  body .mapview .mc-map { height: calc(100dvh - 156px - env(safe-area-inset-bottom)); } /* 아래 탭 막대(60) + 위 96 — 위쪽을 잡아 화면을 올리고 내릴 수 있게 */
}
@media (max-width: 419px) { .mc-back + .mc-logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* 좁은 폰(400 미만): 머리 막대에 로고 · 모드 · 알림 · 계정이 한 줄에 들어가게 — 로고 글자는 줄바꿈 없이, 모드 단추 36px */
.mc-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-logo { min-width: 0; }
.mc-top-in > .mc-modes, .mc-top-in > .mc-iconbtn { flex: none; }
@media (max-width: 399px) {
  .mc-top-in { gap: 4px; }
  .mc-logo { gap: 6px; font-size: 15px; }
  .mc-logo .mc-mascot { width: 30px; height: 30px; }
  .mc-modes button { min-width: 34px; padding: 0 5px; }
}
/* 캠핑장 커뮤니티(시안 03 · style-guide) — 휴대폰은 상세 맨 아래 카드, 1280 이상 오른쪽 요약 아래 */
.cm-filter { padding: 10px 16px 4px; }
.cm-filter .mc-chip { font-size: 14px; }
.cm-post { padding: 14px 16px; border-top: 1px solid var(--line); }
.cm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.cm-meta b { color: var(--text); font-size: 14px; }
.cm-post p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; }
.cm-reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border-left: 4px solid var(--primary); }
.cm-reply.ed { border-left-color: var(--accent); }
.cm-reply p { margin-top: 4px; font-size: 14px; }
.cm-foot { padding: 0 16px 14px; display: grid; gap: 8px; }
.cm-ta { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.cm-count { font-size: 14px; font-weight: 700; color: var(--muted); }
.nt-more { margin-top: 12px; }
/* 검색 지도 장소 카드(시안 02) — 캠핑장 카드 사진 자리에 종류 아이콘 · 카카오맵 · 전화 단추 */
.map-ico { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.map-ico svg { width: 26px; height: 26px; }
.map-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.map-acts .mc-btn { min-height: 48px; }
.sheet-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.sheet-list a:hover { background: var(--surface-2); }
/* 길찾기 시트 — 카카오내비(휴대폰에서만 실제로 열림) · 「늘 이 앱으로」(이 기기 기억) · 기본 앱 「기본」 배지 */
.sheet-list .nav-note, .sheet-list .nav-def { margin-left: auto; }
.sheet-list .nav-note { font-size: 13px; font-weight: 400; color: var(--muted); }
.nav-keep { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 4px 8px; font-weight: 700; cursor: pointer; }
.nav-keep input { width: 22px; height: 22px; margin: 0; accent-color: var(--primary); flex: none; }
.nav-keep small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.nav-reset { margin: 4px 8px 8px; } /* 알림 목록 「더 보기」(시안 19) */
/* 캠핑장 평점 — 별 보기(남색 --star)와 헷갈리지 않게 모닥불 주황 별 + 글자 「평점」 */
.cm-rating { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 16px 6px; font-size: 14px; color: var(--muted); }
.cm-rating b { color: var(--text); font-size: 16px; }
.cm-rating svg, .cm-score svg, .cm-score-pick svg { width: 16px; height: 16px; color: var(--accent); fill: currentColor; flex: none; }
.cm-score { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--text); }
.cm-score-pick .mc-chip { min-width: 52px; justify-content: center; }
.cm-cmts { margin-top: 4px; }
.cm-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.cm-acts > .cm-cmt-toggle { margin-right: auto; } /* 댓글은 왼쪽, 신고 · 고치기 · 지우기는 오른쪽에 모음(운영자 10.17) */
.cm-cmts ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); }
.cm-cmts li { padding: 8px 0 0; }
.cm-cmts li p { margin: 2px 0 0; font-size: 14px; }
.cm-cmt-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 8px; }
.cm-pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 14px 16px 4px; border-top: 1px solid var(--line); }
.cm-pg { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 48px; min-height: 48px; padding: 0 10px; border-radius: 12px; border: 2px solid var(--line); color: var(--text); font-weight: 700; text-decoration: none; }
.cm-pg[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.cm-pg[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.cm-pg-info { margin: 0; padding: 0 16px 12px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 400px) { .cm-pg span:not(:only-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .cm-pg { min-width: 44px; padding: 0 6px; } }
.cm-post p { white-space: pre-line; overflow-wrap: anywhere; }
.cm-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.cm-photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.cm-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.cm-sheet-h { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.cm-kinds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cm-kinds .mc-chip { justify-content: center; }
.cm-file { position: relative; overflow: hidden; }
.cm-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cm-files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.cm-files li { display: flex; justify-content: space-between; align-items: center; }
.cm-err { color: var(--bad); border-color: var(--bad); }
/* 쿠키 동의 띠(sirsoft-gdpr 확장 user_global_overlay — 바탕 레이아웃 `.gdpr-slot` 안, style-guide 「쿠키 동의 띠」).
   플러그인은 고치지 않고 그 Tailwind 클래스를 이 칸 안에서만 우리 색 변수로 — 다크 · 레드 모드는 변수가 바꿈(dark: 는 안 씀).
   밑줄 글자 단추는 테두리 단추로(규칙 03), 누르는 곳 48px */
.gdpr-slot .fixed { position: fixed; }
.gdpr-slot .z-50 { z-index: 60; } /* 아래 막대(30) · 시트보다 위 */
.gdpr-slot .bottom-4 { bottom: calc(16px + env(safe-area-inset-bottom)); }
.gdpr-slot .left-4 { left: 16px; } .gdpr-slot .right-4 { right: 16px; }
.gdpr-slot .inset-x-4 { left: 16px; right: 16px; }
.gdpr-slot .top-1\/2 { top: 50%; } .gdpr-slot .-translate-y-1\/2 { transform: translateY(-50%); }
.gdpr-slot .max-w-md { max-width: 448px; } .gdpr-slot .mx-auto { margin-left: auto; margin-right: auto; }
.gdpr-slot .min-w-0 { min-width: 0; }
.gdpr-slot .bottom-4.left-4.right-4 { max-width: 720px; margin: 0 auto; }
.gdpr-slot .rounded { border-radius: 10px; } .gdpr-slot .rounded-lg { border-radius: 16px; }
.gdpr-slot .shadow-lg { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.gdpr-slot .bg-white { background: var(--surface); }
.gdpr-slot .bg-transparent { background: transparent; }
.gdpr-slot .border { border: 1px solid var(--line); } .gdpr-slot .border-t { border-top: 1px solid var(--line); }
.gdpr-slot .divide-y > * + * { border-top: 1px solid var(--line); }
.gdpr-slot .flex { display: flex; } .gdpr-slot .inline-flex { display: inline-flex; }
.gdpr-slot .flex-col { flex-direction: column; } .gdpr-slot .flex-wrap { flex-wrap: wrap; }
.gdpr-slot .flex-1 { flex: 1 1 0%; } .gdpr-slot .flex-shrink-0 { flex-shrink: 0; }
.gdpr-slot .items-center { align-items: center; } .gdpr-slot .items-start { align-items: flex-start; }
.gdpr-slot .justify-between { justify-content: space-between; } .gdpr-slot .justify-end { justify-content: flex-end; }
.gdpr-slot .gap-1 { gap: 4px; } .gdpr-slot .gap-2 { gap: 8px; } .gdpr-slot .gap-3 { gap: 12px; }
.gdpr-slot .space-y-1 > * + * { margin-top: 4px; } .gdpr-slot .space-y-3 > * + * { margin-top: 12px; }
.gdpr-slot .px-1\.5 { padding-left: 6px; padding-right: 6px; } .gdpr-slot .py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
.gdpr-slot .px-2 { padding-left: 8px; padding-right: 8px; } .gdpr-slot .px-4 { padding-left: 16px; padding-right: 16px; }
.gdpr-slot .py-1 { padding-top: 4px; padding-bottom: 4px; } .gdpr-slot .py-2 { padding-top: 8px; padding-bottom: 8px; }
.gdpr-slot .py-3 { padding-top: 12px; padding-bottom: 12px; } .gdpr-slot .py-4 { padding-top: 16px; padding-bottom: 16px; }
.gdpr-slot .pt-2 { padding-top: 8px; } .gdpr-slot .pt-4 { padding-top: 16px; }
.gdpr-slot .mt-1 { margin-top: 4px; } .gdpr-slot .mt-2 { margin-top: 8px; } .gdpr-slot .mt-3 { margin-top: 12px; } .gdpr-slot .mt-4 { margin-top: 16px; }
.gdpr-slot .mr-1 { margin-right: 4px; }
@media (min-width: 640px) { .gdpr-slot .sm\:px-6 { padding-left: 24px; padding-right: 24px; } .gdpr-slot .sm\:py-4 { padding-top: 16px; padding-bottom: 16px; } }
.gdpr-slot h3, .gdpr-slot p { margin: 0; }
.gdpr-slot .text-xs { font-size: 13px; } .gdpr-slot .text-sm { font-size: 15px; }
.gdpr-slot .leading-relaxed { line-height: 1.6; }
.gdpr-slot .font-medium { font-weight: 600; } .gdpr-slot .font-semibold { font-weight: 700; }
.gdpr-slot .text-gray-900 { color: var(--text); }
.gdpr-slot .text-gray-500, .gdpr-slot .text-gray-600, .gdpr-slot .text-gray-700 { color: var(--muted); }
.gdpr-slot .text-white { color: #fff; }
.gdpr-slot .text-blue-600 { color: var(--primary); }
.gdpr-slot .text-amber-600, .gdpr-slot .text-amber-700, .gdpr-slot .text-amber-800, .gdpr-slot .text-amber-900 { color: var(--warn); }
.gdpr-slot .text-red-700 { color: var(--bad); }
.gdpr-slot .bg-amber-100 { background: var(--warn-soft); } .gdpr-slot .border-amber-300 { border-color: var(--warn); }
.gdpr-slot .bg-red-100 { background: var(--bad-soft, var(--warn-soft)); }
.gdpr-slot .opacity-70 { opacity: .7; }
.gdpr-slot svg { width: 18px; height: 18px; }
.gdpr-slot .h-5 { height: 22px; } .gdpr-slot .w-5 { width: 22px; }
.gdpr-slot input[type="checkbox"] { accent-color: var(--primary); margin: 0; }
.gdpr-slot .cursor-pointer { cursor: pointer; }
.gdpr-slot a { min-height: 40px; }
/* 단추 — 주된 것(파랑 · 주황)은 mc-btn 색, 나머지는 테두리 단추. 밑줄 글자 단추도 테두리 단추로(규칙 03) */
.gdpr-slot button { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; justify-content: center; text-decoration: none; }
.gdpr-slot button.underline { background: var(--surface); color: var(--text); }
.gdpr-slot button.bg-white { color: var(--text); }
.gdpr-slot button.bg-blue-600 { background: var(--primary); border-color: var(--primary); color: #fff; }
.gdpr-slot button.bg-amber-600 { background: var(--accent); border-color: var(--accent); color: #fff; }
.gdpr-slot button:hover { filter: brightness(.95); }
.gdpr-slot button:disabled { opacity: .5; cursor: not-allowed; }
.gdpr-slot button:focus-visible, .gdpr-slot a:focus-visible, .gdpr-slot input:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gdpr-slot a.underline, .gdpr-slot a.hover\:underline { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }

/* 다국어(시안 45) — 영어 · 일본어일 때 머리 막대 아래 한 줄: 수집 자료는 한국어 원문 그대로 */
.mc-i18n-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.45; }
.mc-i18n-note svg { flex: none; width: 16px; height: 16px; }

/* 시안 46 화면 효과 — 효과마다 html.fx-<번호> 가 붙어야 켜짐(효과 고르기 판). 라이브러리 없음.
   기기 「움직임 줄이기」면 움직이는 것은 모두 멈춤(맨 아래). 안전 정보 칸 · 아래 막대 「안전」에는 효과 없음. */

/* 사진 꼴(img.mc-img · .mc-photo-by · .has-photo)은 base.css — 실제 템플릿과 같이 씀 */

/* ── 1 첫 화면 사진 슬라이드 · 2 켄 번스 · 4 스크롤 시차 ── */
.hero-art .fx-par { position: absolute; inset: 0; }
.hero-art img.mc-img { opacity: 0; transition: opacity 1.6s ease; }
.hero-art img.mc-img.on { opacity: 1; }
html.fx-2 .hero-art img.mc-img.on { animation: fx-kb 18s ease-in-out infinite alternate; }
@keyframes fx-kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
html.fx-4 .hero-art .fx-par { translate: 0 var(--fx-py, 0px); }
@supports (animation-timeline: scroll()) {
  html.fx-4 .hero-art .fx-par { translate: none; animation: fx-par linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  @keyframes fx-par { from { translate: 0 0; } to { translate: 0 90px; } }
}
.hero-art .fx-par { inset: -60px 0 0; } /* 시차로 내려가도 빈 곳 없게 위로 여유 */

/* ── 16 휴대폰 · 태블릿 첫 화면에도 사진(글 뒤 배경, 어둡게 덮어 글 대비 유지) ── */
.hero { position: relative; overflow: hidden; }
.hero-in { position: relative; z-index: 2; }
@media (max-width: 1279px) {
  html.fx-16 .hero { padding-bottom: 28px; }
  html.fx-16 .hero-in { position: static; } /* 사진이 .hero 전체를 덮게(.hero 기준) */
  html.fx-16 .hero-in > .mc-stack { position: relative; z-index: 2; }
  html.fx-16 .hero-art { display: block; position: absolute; inset: 0; z-index: 0; border-radius: 0; aspect-ratio: auto; }
  html.fx-16 .hero-art::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgb(8 20 12 / .78), rgb(8 20 12 / .62) 45%, rgb(8 20 12 / .86)); }
  html.fx-16[data-mode="red"] .hero-art::after { background: rgb(0 0 0 / .8); }
  html.fx-16 .hero-art .mc-photo-by { bottom: 6px; z-index: 4; }
  html:not(.fx-16) .hero-art { display: none; }
}

/* ── 3 시각에 따른 하늘 빛(한국 시각) — 레드 모드는 붉은 단색을 지키려고 끔 ── */
.fx-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1s, background 1s; }
html.fx-3:not([data-mode="red"]) .fx-sky { opacity: 1; }
html[data-sky="morning"] .fx-sky { background: linear-gradient(180deg, rgb(255 168 140 / .38), rgb(255 214 170 / .12) 60%, transparent); }
html[data-sky="day"] .fx-sky { background: linear-gradient(180deg, rgb(150 205 255 / .22), transparent 70%); }
html[data-sky="sunset"] .fx-sky { background: linear-gradient(180deg, rgb(120 60 150 / .38), rgb(255 120 60 / .34) 55%, rgb(255 170 80 / .16)); }
html[data-sky="night"] .fx-sky { background: linear-gradient(180deg, rgb(8 14 50 / .62), rgb(10 16 40 / .35)); }
.hero-art .fx-sky { z-index: 3; }

/* ── 9 밤하늘 별 반짝임 + 별똥별(밤 시각 · 다크 · 레드에서) ── */
.fx-stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }
html.fx-9[data-sky="night"] .fx-stars, html.fx-9[data-mode="dark"] .fx-stars, html.fx-9[data-mode="red"] .fx-stars { display: block; }
.fx-stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .8; animation: fx-tw var(--d, 3s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.fx-stars i.b { width: 3px; height: 3px; box-shadow: 0 0 6px #fff; }
html[data-mode="red"] .fx-stars i { background: var(--text); box-shadow: none; }
@keyframes fx-tw { from { opacity: .15; } to { opacity: .95; } }
.fx-stars .fx-shoot { position: absolute; top: 12%; left: 70%; width: 110px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, transparent); opacity: 0; rotate: 160deg; animation: fx-shoot 9s ease-in 2s infinite; }
html[data-mode="red"] .fx-stars .fx-shoot { background: linear-gradient(90deg, var(--text), transparent); }
@keyframes fx-shoot { 0%, 88% { opacity: 0; translate: 0 0; } 90% { opacity: 1; } 100% { opacity: 0; translate: -260px 90px; } }

/* ── 10 반딧불 · 모닥불 불티(첫 화면 canvas) ── */
.fx-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; display: none; }
html.fx-10 .fx-canvas { display: block; }

/* ── 5 스크롤하면 카드가 차례로 떠오름 ── */
@supports (animation-timeline: view()) {
  html.fx-5 .fx-reveal { animation: fx-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  @keyframes fx-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
}
/* 대체(사파리 등) — IntersectionObserver 가 .fx-pre → .fx-in */
html.fx-5 .fx-reveal.fx-pre { opacity: 0; translate: 0 28px; }
html.fx-5 .fx-reveal.fx-in { opacity: 1; translate: 0 0; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }

/* ── 6 화면 전환(같은 문서 View Transitions) — 상세 미리보기 ── */
.fx-detail { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.fx-detail .mc-photo { aspect-ratio: 16 / 9; max-height: 52vh; width: 100%; }
.fx-detail-in { padding: 16px; max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.fx-detail h2 { margin: 0; font-size: 24px; }
.fx-detail .fx-acts { display: flex; gap: 8px; flex-wrap: wrap; }
::view-transition-old(fx-photo), ::view-transition-new(fx-photo) { animation-duration: .45s; height: 100%; object-fit: cover; overflow: hidden; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* ── 7 카드 기울기(PC 마우스만) + 빛 반사 ── */
@media (hover: hover) and (pointer: fine) {
  html.fx-7 main .mc-card { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; position: relative; }
  html.fx-7 main .mc-card.fx-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 10px 28px rgb(0 0 0 / .18); transition: transform .06s linear, box-shadow .25s; }
  html.fx-7 main .mc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .28), transparent 55%); z-index: 4; }
  html.fx-7 main .mc-card.fx-tilt::after { opacity: 1; }
  html.fx-7[data-mode="red"] main .mc-card::after { display: none; }
}

/* ── 8 누를 때 물결 · 살짝 눌림 ── */
html.fx-8 .fx-press { position: relative; overflow: hidden; transition: scale .12s ease; }
html.fx-8 .fx-press:active { scale: .97; }
.fx-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .22; scale: 0; animation: fx-rip .55s ease-out forwards; z-index: 5; }
@keyframes fx-rip { to { scale: 1; opacity: 0; } }

/* ── 11 마스코트 꼬리 흔들기 · 눈 깜빡임 · 귀 쫑긋 ── */
.mc-mascot .fx-tail { display: none; }
html.fx-11 .mc-mascot { overflow: visible; }
html.fx-11 .mc-mascot .fx-tail { display: inline; transform-origin: 70px 72px; transform-box: view-box; animation: fx-wag .5s ease-in-out infinite alternate; }
@keyframes fx-wag { from { rotate: -14deg; } to { rotate: 16deg; } }
html.fx-11 .mc-mascot .fx-eye { transform-box: fill-box; transform-origin: center; animation: fx-blink 4.2s infinite; }
@keyframes fx-blink { 0%, 92%, 100% { scale: 1 1; } 95% { scale: 1 .1; } }
html.fx-11 .mc-mascot .fx-ear-l { transform-box: view-box; transform-origin: 26px 32px; animation: fx-ear 3.4s ease-in-out infinite; }
html.fx-11 .mc-mascot .fx-ear-r { transform-box: view-box; transform-origin: 70px 32px; animation: fx-ear 3.4s ease-in-out .2s infinite; }
@keyframes fx-ear { 0%, 80%, 100% { rotate: 0deg; } 86% { rotate: -8deg; } 92% { rotate: 5deg; } }

/* ── 13 불러오는 동안 반짝이는 뼈대 ── */
html.fx-13 .mc-photo.fx-wait::before, html.fx-13.fx-loading .mc-photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: fx-shim 1.2s linear infinite; }
html.fx-13.fx-loading main :is(.mc-card-title, .mc-card-sub, .mc-badges, .mc-star-score, .mc-row-title, .mc-row-sub, .petbar b, .petbar span) { color: transparent !important; border-radius: 6px; background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%) !important; background-size: 200% 100% !important; animation: fx-shim 1.2s linear infinite; }
html.fx-13.fx-loading main :is(.mc-badges, .mc-star-score) > * { visibility: hidden; }
@keyframes fx-shim { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ── 14 가로 목록 스냅 + 진행 점(휴대폰 · 태블릿) ── */
.fx-dots { display: none; justify-content: center; gap: 6px; margin-top: 10px; }
.fx-dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .25s, background .25s; }
.fx-dots i.on { width: 22px; background: var(--primary); }
@media (max-width: 1279px) {
  html.fx-14 .hscroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  html.fx-14 .hscroll::-webkit-scrollbar { display: none; }
  html.fx-14 .hscroll > .mc-card { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  html.fx-14 .fx-dots { display: flex; }
}
@media (min-width: 768px) and (max-width: 1279px) { html.fx-14 .hscroll > .mc-card { flex-basis: 42%; } }

/* ── 15 머리 막대 유리 흐림(스크롤하면) ── */
html.fx-15.fx-scrolled .mc-top { background: rgb(18 52 31 / .72); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
html.fx-15.fx-scrolled[data-mode="dark"] .mc-top { background: rgb(11 16 13 / .7); }
html.fx-15.fx-scrolled[data-mode="red"] .mc-top { background: rgb(0 0 0 / .78); }
.mc-top { transition: background .3s; }

/* ── 17 사진 서서히 선명해짐(흐림 → 선명) ── */
html.fx-17 main .mc-photo > img.mc-img { filter: var(--img-filter) blur(14px); scale: 1.06; transition: filter .7s ease, scale .7s ease; }
html.fx-17 main .mc-photo > img.mc-img.loaded { filter: var(--img-filter); scale: 1; }

/* ── 18 스크롤 진행 막대 ── */
.fx-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 30; background: var(--accent); transform-origin: 0 50%; scale: var(--fx-p, 0) 1; display: none; pointer-events: none; }
html.fx-18 .fx-progress { display: block; }
@supports (animation-timeline: scroll()) {
  html.fx-18 .fx-progress { animation: fx-prog linear both; animation-timeline: scroll(root); }
  @keyframes fx-prog { from { scale: 0 1; } to { scale: 1 1; } }
}

/* ── 효과 고르기 판 ── */
.fx-fab { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45; box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.fx-panel { position: fixed; z-index: 50; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 12px 40px rgb(0 0 0 / .3); display: flex; flex-direction: column;
  left: 0; right: 0; bottom: 0; max-height: 78vh; border-radius: 20px 20px 0 0; padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .fx-panel { left: auto; right: 16px; bottom: 16px; width: 400px; max-height: calc(100vh - 32px); border-radius: 16px; } }
.fx-panel-head { display: flex; align-items: center; gap: 8px; padding: 6px 0 8px; }
.fx-panel-head h2 { margin: 0; font-size: 18px; flex: 1; }
.fx-panel-acts { display: flex; flex-wrap: wrap; gap: 0 8px; }
.fx-note { font-size: 13px; color: var(--muted); margin: 4px 0; }
.fx-note.fx-rm-note { color: var(--warn); font-weight: 700; }
.fx-list { list-style: none; margin: 4px 0 0; padding: 0; overflow: auto; overscroll-behavior: contain; }
.fx-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.fx-no { width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.fx-list b { display: block; font-size: 15px; }
.fx-list small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.fx-sub { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 0 6px; }
.fx-tog[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.fx-list li.fx-out { grid-template-columns: 32px minmax(0, 1fr); }
.fx-list li.fx-out .fx-no { background: var(--surface-2); color: var(--muted); }
.fx-sub .cm-report[aria-pressed="true"] { border-color: var(--primary); }

/* ── 기기 「움직임 줄이기」 — 움직이는 것은 모두 멈춤(빛 · 유리 · 배경 사진 · 스냅은 그대로) ── */
@media (prefers-reduced-motion: reduce) {
  html[class*="fx-"] *, html[class*="fx-"] *::before, html[class*="fx-"] *::after { animation: none !important; transition-duration: 0s !important; }
  html.fx-5 .fx-reveal.fx-pre { opacity: 1; translate: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ===== 템플릿 전용 — 시안의 인라인 style 과 화면별 <style> 을 클래스로 옮긴 것(CSP · 레이아웃 문법상 인라인 style 을 쓰지 않음) ===== */
/* 스타일 가이드(시안 style-guide.html 의 <style>) */
.sg h2 { font-size: 20px; font-weight: 800; margin: 32px 0 6px; }
.sg .lead { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.sg .lead-top { margin-top: 16px; }
.sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sw > div { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); font-size: 13px; }
.sw i { display: block; height: 56px; }
.sw span { display: block; padding: 6px 10px; }
.sw code { color: var(--muted); font-size: 12px; }
.sw-primary { background: var(--primary); } .sw-primary-strong { background: var(--primary-strong); } .sw-accent { background: var(--accent); }
.sw-bg { background: var(--bg); } .sw-surface-2 { background: var(--surface-2); } .sw-text { background: var(--text); }
.sw-ok { background: var(--ok); } .sw-warn { background: var(--warn); } .sw-bad { background: var(--bad); }
.sw-none { background: var(--none); } .sw-info { background: var(--info); } .sw-star { background: var(--star); }
.sg .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.type p { margin: 6px 0; }
.sg .t-28 { font-size: 28px; font-weight: 800; } .sg .t-19 { font-size: 19px; font-weight: 700; } .sg .t-16 { font-size: 16px; }
.sg .t-14 { font-size: 14px; color: var(--muted); } .sg .t-125 { font-size: 12.5px; color: var(--muted); }
.sg .mc-source.mt-12 { margin-top: 12px; }
.sg .demo-label { font-size: 14px; }
.sg .mc-badges.mt-6 { margin-top: 6px; }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.rules { font-size: 14px; color: var(--muted); padding-left: 18px; margin: 8px 0 0; }
.modes3 { display: grid; gap: 12px; }
.modes3 iframe { width: 100%; height: 300px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
@media (min-width: 1280px) { .modes3 { grid-template-columns: repeat(3, 1fr); } }
.sg .icon-text { color: var(--text); }
.sg .mc-badge.badge-tile { border-radius: 12px; min-height: 44px; }
.sg .mc-btn.btn-48 { min-height: 48px; }
.sg .mc-card-body .mc-badges { margin-top: 8px; }
.sg .mc-map.h-200 { min-height: 200px; }
.sg .pin-1 { left: 20%; top: 55%; } .sg .pin-2 { left: 36%; top: 45%; } .sg .pin-3 { left: 52%; top: 60%; } .sg .pin-4 { left: 68%; top: 42%; } .sg .pin-5 { left: 84%; top: 58%; }
.sg .mc-empty.empty-left { padding: 0; text-align: left; }
.sg .mc-empty.empty-left b { color: var(--text); }
.mc-note.note-warn { background: var(--warn-soft); color: var(--warn); border: 2px solid var(--warn); }
/* 시안은 글자 사이 띄어쓰기로 떨어뜨린 곳 — 부품 트리에는 띄어쓰기 글자가 없어 여백으로 */
.mc-star b + .mc-star-dots { margin-left: 4px; }
/* 견본 칸 이름 — 레이아웃 문법상 글자를 span 으로 감싸서, 시안 .sw span(블록 · 여백)이 안쪽에 또 먹지 않게 */
.sw span span { display: inline; padding: 0; }
/* 카카오 지도 — 지도 칸이 mc-map 크기를 채우고, 핀은 시안 mc-pin 그대로(카카오 오버레이가 위치를 잡으므로 절대 위치 · 이동 보정은 끔) */
.kmap .kmap-canvas { position: absolute; inset: 0; }
.kmap > :not(.kmap-canvas) { z-index: 2; }
.kmap > .kmap-ph { position: absolute; inset: 0; z-index: 1; margin: 0; border-radius: inherit; }
.mc-pin.kmap-pin { position: relative; left: auto; top: auto; transform: none; border: 0; cursor: pointer; padding: 0; }

/* ===== 검색 결과(시안 02 의 <style>) — body[data-view] 대신 .sp.is-map / .is-list ===== */
.sp .searchbar { display: flex; align-items: center; gap: 4px; padding: 8px 0; }
.sp .filters .mc-search { margin-bottom: 10px; }
.sp .filters { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0 4px; border-bottom: 1px solid var(--line); }
.sp .seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.sp .seg-top { margin-top: 10px; }
.sp .seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.sp .seg button[aria-pressed="true"] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.sp .count { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 12px 0 4px; }
.sp .count b { color: var(--text); }
.sp .count select { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; padding: 0 8px; }
.sp .res { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px; text-decoration: none; color: inherit; }
.sp .res.res-sm { grid-template-columns: 72px 1fr; }
.sp .res-sm .res-title { font-size: 16px; }
.sp .res .mc-photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.sp .res-title { font-weight: 800; font-size: 17px; }
.sp .res-meta { font-size: 13.5px; color: var(--muted); margin: 2px 0 8px; }
.sp .res-why { font-size: 13px; color: var(--muted); margin-top: 6px; }
.sp .mapview { display: none; }
.sp.is-map .listview { display: none; }
.sp.is-map .mapview { display: block; }
.sp .mapview .mc-map { height: calc(100vh - 372px - env(safe-area-inset-bottom)); min-height: 380px; } /* 아래 탭 막대에 안 가리게(시안도 같이 고침) */
.sp .map-cats { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; }
.sp .map-cats .mc-chip { box-shadow: var(--shadow); }
.sp .map-card { position: absolute; left: 10px; right: 10px; bottom: 34px; z-index: 2; }
.sp .map-note { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; white-space: nowrap; }
.sp .map-note svg { width: 16px; height: 16px; }
.sp .legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--muted); padding: 8px 0; }
.sp .legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sp .legend i.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.sp .dot-camp { background: var(--primary); } .sp .dot-pet { background: var(--accent); } .sp .dot-count { background: var(--primary-strong); }
.sp .sw-ico { width: 16px; height: 16px; vertical-align: -2px; }
.sp .sheet-h { font-size: 17px; font-weight: 800; margin: 4px 0 8px; }
.sp .sheet-sub { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.sp .mc-sheet .mc-btn-block { margin-top: 12px; }
.sp .mc-stack > .mc-btn-block { margin-top: 12px; }
/* 주변 장소(/camps/:slug/places)도 검색과 같은 .sp — 제목 줄 · 「여정에 추가」는 작은 테두리 단추로 판정 배지 줄 오른쪽(운영자 10.21) */
.sp .ctx { padding: 2px 0 10px; }
.sp .ctx h1 { font-size: 22px; font-weight: 800; }
.sp .ctx p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sp .pl-card { position: relative; }
.sp .pl-card .mc-badges { min-height: 48px; align-items: center; padding-right: 128px; }
.sp .res-acts { position: absolute; right: 12px; bottom: 12px; }
.sp .res-acts .cm-report { margin: 4px 0; white-space: nowrap; }
.mc-chip[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
@media (min-width: 1280px) {
  .sp .layout { display: grid; grid-template-columns: 520px 1fr; gap: 24px; align-items: start; }
  .sp .seg { display: none; }
  .sp .listview, .sp .mapview { display: block !important; }
  .sp .mapview { position: sticky; top: 72px; }
  .sp .mapview .mc-map { height: calc(100vh - 120px); }
}

/* ===== 캠핑장 상세(시안 03 의 <style>) — .dp 안에서만 ===== */
.dp .top-title { font-weight: 700; margin-right: auto; }
.dp .cover { aspect-ratio: 16/9; max-height: 360px; width: 100%; }
.dp .head { padding: 16px 0 8px; }
.dp .head h1 { font-size: 24px; font-weight: 800; }
.dp .addr { color: var(--muted); font-size: 15px; margin: 4px 0 10px; }
.dp .jump { position: sticky; top: 56px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0 2px; }
.dp .jump .mc-chips { gap: 6px; }
.dp .jump .mc-chip { min-height: 40px; font-size: 14px; padding: 0 12px; text-decoration: none; }
.dp .jump .mc-chip.safe { color: var(--bad); border-color: var(--bad); }
.dp .stack-top { margin-top: 12px; }
.dp .card-h, .wa #stay .card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.dp .card-h h2, .wa #stay .card-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.dp .verdict { display: flex; gap: 12px; align-items: center; margin: 12px 16px; padding: 12px; border-radius: 14px; background: var(--warn-soft); border: 2px dashed var(--warn); }
.dp .verdict b { font-size: 18px; color: var(--warn); display: flex; align-items: center; gap: 6px; }
.dp .verdict small { display: block; font-size: 14px; color: var(--text); }
/* 시안은 「조건 확인 필요」 하나만 — 나머지 판정은 배지와 같은 색으로(실선) */
.dp .verdict-allowed { background: var(--ok-soft); border: 2px solid var(--ok); } .dp .verdict-allowed b { color: var(--ok); }
.dp .verdict-not_allowed { background: var(--bad-soft); border: 2px solid var(--bad); } .dp .verdict-not_allowed b { color: var(--bad); }
.dp .verdict-unknown { background: var(--none-soft); border: 2px solid var(--none); } .dp .verdict-unknown b { color: var(--none); }
.dp .conds { list-style: none; margin: 0; padding: 0 16px 8px; }
.dp .conds li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dp .conds li svg { margin-top: 2px; flex: none; }
.dp .conds .c-ok { color: var(--ok); } .dp .conds .c-warn { color: var(--warn); } .dp .conds .c-none { color: var(--none); } .dp .conds .c-bad { color: var(--bad); }
.dp .conds small { display: block; color: var(--muted); font-size: 13px; }
.dp .conds-top { padding-top: 6px; }
.dp .body-flush { padding-top: 0; }
.dp .body-grid { padding-top: 0; display: grid; gap: 8px; }
.dp .btn-gap { margin-top: 10px; }
.dp .src-pad { padding: 0 16px 14px; }
.dp .row-link, .wa #stay .row-link { text-decoration: none; color: inherit; }
.dp .place-ico.hl { background: var(--primary); color: var(--on-primary); }
.dp .stay-foot, .wa .stay-foot { padding-top: 0; }
.dp .stay-go, .wa .stay-go { width: 18px; height: 18px; color: var(--muted); flex: none; }
.dp .place-ico, .wa #stay .place-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.dp .dist { font-weight: 800; font-size: 14px; white-space: nowrap; }
/* 안전 정보 칸(시안 03) — 붉은 테두리 · 전화 단추 */
.dp .safe-card { border: 2px solid var(--bad); }
.dp .safe-card .card-h h2, .dp .safe-more { color: var(--bad); }
.dp .call { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bad); color: #fff; flex: none; text-decoration: none; }
html[data-mode="dark"] .dp .call, html[data-mode="red"] .dp .call { color: var(--bg); }
.dp .badges-gap { margin-top: 4px; }
.dp .safe-btn { color: var(--bad); border-color: var(--bad); }
/* 관광지 상세의 안전 정보 줄(시안 07) */
.dp .safe-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 64px; border: 2px solid var(--bad); border-radius: 16px; background: var(--surface); text-decoration: none; color: inherit; }
.dp .safe-link > svg:first-child { color: var(--bad); }
.dp .safe-link-main { flex: 1; }
.dp .safe-link b { color: var(--bad); display: block; }
.dp .safe-link small { color: var(--muted); font-size: 13px; }
.dp .side { margin-top: 12px; }
.dp .side-sum { display: none; }
.dp .side-map { min-height: 180px; }
.dp .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dp .mc-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.dp .mc-btn[aria-pressed="true"] svg { fill: currentColor; }
.dp .sheet-h { font-size: 18px; margin-bottom: 12px; }
.dp .sheet-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.dp .sheet-list a:hover { background: var(--surface-2); }
@media (min-width: 768px) { .dp .head h1 { font-size: 28px; } }
@media (min-width: 1280px) {
  .dp .cover-wrap { max-width: 1200px; margin: 16px auto 0; border-radius: 20px; overflow: hidden; }
  .dp .layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  /* 요약 + 커뮤니티(최신 글 1개)가 함께 따라옴 — 화면보다 길면 칸 안에서 내림. 그림과 사이 16px(운영자 10.17) */
  .dp .side { position: sticky; top: 72px; margin-top: 16px; max-height: calc(100vh - 88px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .dp .side:has(.mc-sheet.open) { z-index: 45; } /* 따라오는 칸은 따로 쌓여 그 안 글쓰기 시트가 바로가기 막대(10) 아래로 갔음 — 열린 동안만 위로 */
  .dp .side-sum { display: block; margin-bottom: 16px; }
  .dp .mc-actionbar { display: none; }
  .dp.mc-has-actionbar { padding-bottom: 0; }
}

/* ===== 로그인 · 회원가입(시안 21 의 <style>) — .lg 안에서만 ===== */
.lg .top-title { font-weight: 700; margin-right: auto; }
.lg .lg-box { max-width: 440px; margin: 0 auto; padding: 20px 0 40px; }
.lg .lg-hello { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.lg .lg-hello h1 { font-size: 22px; font-weight: 800; }
.lg .lg-hello p { color: var(--muted); font-size: 14px; }
.lg .lg-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin-bottom: 16px; }
.lg .lg-tabs button { min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.lg .lg-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); outline: 2px solid var(--primary); }
.lg .lg-form { display: grid; gap: 14px; }
.lg .lg-pw { position: relative; }
.lg .lg-pw .mc-input { padding-right: 56px; }
.lg .lg-pw .mc-iconbtn { position: absolute; right: 2px; bottom: 2px; color: var(--muted); }
.lg .lg-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.lg .lg-hint-up { margin-top: -8px; }
.lg .lg-ico { width: 14px; height: 14px; vertical-align: -2px; }
.lg .lg-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; cursor: pointer; }
.lg .lg-check input { width: 22px; height: 22px; flex: none; accent-color: var(--primary); }
.lg .lg-check label { display: contents; cursor: pointer; }
/* 시안은 「보기」가 링크 — 같은 모양의 단추(창을 띄우므로) */
.lg .lg-view, .lg .lg-linkbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin: 4px 0; padding: 0 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; } /* 밑줄 글자 단추 대신(운영자 10.17) */
.lg .lg-view { margin-left: auto; }
.lg .lg-req { font-size: 12px; font-weight: 800; color: var(--accent); }
.lg .lg-opt { font-size: 12px; font-weight: 700; color: var(--muted); }
.lg .lg-agree { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; background: var(--surface); }
.lg .lg-agree .lg-check + .lg-check { border-top: 1px solid var(--line); }
.lg .lg-agree .lg-all { font-weight: 800; }
.lg .lg-sum { cursor: pointer; font-weight: 700; min-height: 48px; }
.lg .lg-table-wrap { padding: 0 12px 12px; }
.lg .lg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lg .lg-table th, .lg .lg-table td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
.lg .lg-table th { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.lg .lg-acts { display: grid; gap: 10px; margin-top: 14px; } /* 간편 로그인(카카오 · 네이버)은 안 씀(운영자 10.21) — 자리째 뺌 */
.lg .lg-center { justify-content: center; margin-top: 16px; }
.lg .lg-err { margin-bottom: 14px; color: var(--bad); background: var(--bad-soft); }
.lg .sheet-h { font-size: 18px; font-weight: 800; margin: 8px 0 12px; }
.lg .lg-links { display: flex; justify-content: center; gap: 16px; font-size: 14px; color: var(--muted); }
.lg .lg-sub { font-size: 20px; font-weight: 800; margin: 4px 0 6px; }
.lg .lg-lead { margin: 0 0 14px; }
.lg .lg-policy { max-height: 60vh; overflow: auto; font-size: 14px; margin-bottom: 12px; }
.lg .lg-policy h2, .lg .lg-policy h3 { font-size: 16px; font-weight: 800; margin: 14px 0 6px; }
.lg .lg-policy p, .lg .lg-policy li { margin: 0 0 6px; }
.lg .lg-policy ul, .lg .lg-policy ol { padding-left: 20px; }
@media (min-width: 1280px) { .lg .lg-box { padding-top: 48px; } }

/* ===== 내 정보(시안 09 의 <style>) — .pf 안에서만. body 여백은 감싸는 칸에 ===== */
.pf .pf-title { font-size: 22px; font-weight: 800; padding: 18px 0 4px; }
.pf .pf-lead { color: var(--muted); font-size: 15px; }
.pf .pf-top { margin-top: 16px; }
.pf .pf-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.pf .pf-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
/* 시안의 반려동물 줄(div) — 여러 마리면 눌러 고르는 단추라 단추 모양을 걷어 냄. 고른 것은 왼쪽 굵은 선(색만으로 구분하지 않음) */
.pf .pf-pet { display: flex; gap: 12px; align-items: center; padding: 12px 16px; width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pf .pf-pet + .pf-pet { border-top: 1px solid var(--line); }
.pf .pf-pet[aria-pressed="true"] { box-shadow: inset 4px 0 0 var(--primary); }
.pf .pf-pet .mc-mascot { width: 56px; height: 56px; }
.pf .pf-pet b { font-size: 17px; }
.pf .pf-form, .pf .pf-in { display: grid; gap: 14px; }
.pf .pf-form { padding: 4px 16px 16px; }
.pf .pf-form-top { padding-top: 12px; }
.pf .pf-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pf .pf-form legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.pf .pf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pf .pf-opt { position: relative; }
.pf .pf-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pf .pf-opt > span { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.pf .pf-opt input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-strong); box-shadow: inset 0 0 0 1px var(--primary); }
html[data-mode="dark"] .pf .pf-opt input:checked + span, html[data-mode="red"] .pf .pf-opt input:checked + span { color: var(--primary); }
.pf .pf-opt input:checked + span::before { content: "✓"; font-weight: 900; }
.pf .pf-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pf .pf-kg { display: flex; align-items: center; gap: 8px; max-width: 220px; margin-top: -8px; }
.pf .pf-kg .mc-input { text-align: right; }
.pf .pf-kg b { flex: none; }
.pf .pf-cl-sub { padding: 4px 16px 8px; }
.pf .pf-check { list-style: none; margin: 0; padding: 0; }
.pf .pf-check li { border-top: 1px solid var(--line); display: flex; align-items: center; }
.pf .pf-check label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px; cursor: pointer; font-size: 15px; }
.pf .pf-check input { width: 22px; height: 22px; flex: none; accent-color: var(--primary); }
.pf .pf-check small { display: block; color: var(--muted); font-size: 13px; }
.pf .pf-check input:checked ~ div { color: var(--muted); text-decoration: line-through; }
.pf .pf-del { flex: none; margin-right: 8px; color: var(--muted); }
.pf .pf-add { display: grid; gap: 10px; margin-bottom: 10px; }
.pf .pf-menu .mc-row { width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.pf .pf-save { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 29; padding: 8px 16px; background: var(--bg); border-top: 1px solid var(--line); }
.pf .pf-save .mc-btn { max-width: 560px; margin: 0 auto; display: flex; }
.pf.mc-has-tabbar { padding-bottom: 150px; }
@media (min-width: 768px) { .pf .pf-save { position: static; padding: 0; background: none; border: 0; } .pf .pf-save .mc-btn { max-width: 360px; margin: 0 0 0 auto; } }
@media (min-width: 768px) { .pf .pf-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; } .pf .pf-cols > * + * { margin-top: 0; } }
@media (min-width: 1280px) {
  .pf.mc-has-tabbar { padding-bottom: 80px; }
  .pf .pf-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* ===== 메인(시안 01 의 <style>) — .mn 안에서만 ===== */
.mn .hero { background: var(--primary-strong); color: #fff; padding: 8px 0 24px; }
html[data-mode="dark"] .mn .hero { background: #0b100d; }
html[data-mode="red"] .mn .hero { background: #000; color: var(--text); }
.mn .hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mn .hero h1 { font-size: 26px; font-weight: 800; }
.mn .hero h1 em { font-style: normal; color: #ffc49a; }
html[data-mode="red"] .mn .hero h1 em { color: var(--text); }
.mn .hero p { opacity: .9; font-size: 15px; }
.mn .hero-art { display: none; }
/* 시안은 a 에 인라인 style(밑줄 · 색 없앰), 안쪽 div 는 flex:1 */
.mn .petbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.mn .petbar .mc-mascot { width: 56px; height: 56px; }
.mn .petbar-main { flex: 1; }
.mn .petbar b { display: block; font-size: 16px; }
.mn .petbar span { font-size: 14px; color: var(--muted); }
.mn .hscroll { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mn .hscroll .mc-card { text-decoration: none; color: inherit; }
.mn .hscroll .mc-card-body { padding: 10px 12px; }
.mn .hscroll .mc-card-title { font-size: 15px; }
.mn .badges-top { margin-top: 8px; }
@media (min-width: 768px) { .mn .hero h1 { font-size: 32px; } }
@media (min-width: 1280px) {
  .mn .hero { padding: 32px 0 40px; }
  .mn .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .mn .hero h1 { font-size: 40px; }
  .mn .hero-art { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; position: relative; }
  .mn .hscroll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== 관광지 · 맛집 상세(시안 07 의 <style>) — 캠핑장 상세 .dp 를 같이 쓰고, 시안 07 에만 있는 목록(.info)만 ===== */
.pl .cover { max-height: 340px; }
.pl .info { list-style: none; margin: 0; padding: 6px 16px 4px; }
.pl .info li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pl .info li:first-child { border-top: 0; }
.pl .info li > svg { margin-top: 2px; color: var(--muted); flex: none; }
.pl .info small { display: block; color: var(--muted); font-size: 13px; }
.pl .info .mc-badges { margin-top: 4px; }
.pl .info .c-ok { color: var(--ok); } .pl .info .c-warn { color: var(--warn); } .pl .info .c-none { color: var(--none); } .pl .info .c-bad { color: var(--bad); }

/* ===== 축제 · 행사 상세(시안 43 의 <style>) — .dp .pl 을 같이 쓰고 시안 43 에만 있는 것만 ===== */
.fe .trip-ctx { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.fe .trip-ctx > svg { flex: none; }
.fe .fe-btns { padding-top: 0; display: grid; gap: 8px; }
.fe .fe-trip { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.fe .prog { margin: 0; padding: 8px 16px 4px; white-space: pre-line; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.fe .prog-more { margin: 4px 16px 14px; }
@media (max-width: 1279px) { .fe .side { display: none; } } /* 시안 43 — 휴대폰 · 태블릿은 아래 막대가 대신 */

/* ===== 안전 정보(시안 04 의 <style>) — .sf 안에서만. 광고 · 유료 상단 노출 없음 ===== */
.sf .top-title { font-weight: 700; margin-right: auto; }
.sf .ctx { padding: 14px 0 4px; }
.sf .ctx h1 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--bad); }
.sf .ctx p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sf .stack-top { margin-top: 8px; }
.sf .alertbar { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); border: 2px solid var(--warn); font-weight: 600; }
.sf .alertbar > svg { flex: none; margin-top: 2px; }
.sf .alertbar a { font-weight: 800; color: inherit; display: inline-flex; align-items: center; min-height: 48px; }
.sf .alertbar small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.sf .subj { display: flex; align-items: center; gap: 8px; }
.sf .subj > span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.sf .subj .mc-chip { min-height: 40px; font-size: 14px; }
.sf .subj .mc-chips { padding-bottom: 2px; }
.sf .sos { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bad-soft); border: 2px solid var(--bad); }
.sf .sos-txt { flex: 1; min-width: 0; font-size: 14px; }
.sf .sos-txt b { display: block; font-size: 16px; color: var(--bad); }
.sf .sos .mc-btn { background: var(--bad); color: #fff; min-width: 108px; font-size: 18px; }
html[data-mode="red"] .sf .sos .mc-btn { color: #000; }
.sf .filters { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0 6px; border-bottom: 1px solid var(--line); margin-top: 12px; }
.sf .filters .mc-switch { margin-top: 6px; }
.sf .petnote { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--text); }
.sf .petnote a { font-weight: 700; color: var(--accent); margin-left: auto; white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; }
.sf .card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 4px; }
.sf .card-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sf .card-h > span { font-size: 13px; color: var(--muted); }
.sf .sf-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; align-self: flex-start; margin-top: 2px; }
.sf .sf-row { align-items: flex-start; }
.sf .sf-meta { font-size: 14px; color: var(--muted); }
.sf .sf-meta b { color: var(--text); }
.sf .nowrap { white-space: nowrap; }
.sf .sf-row .mc-badges { margin-top: 6px; }
.sf .sf-row .mc-source { margin-top: 4px; }
.sf .sf-call { width: 64px; min-height: 64px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--bad); color: #fff; flex: none; text-decoration: none; font-size: 13px; font-weight: 700; }
html[data-mode="red"] .sf .sf-call { color: #000; }
.sf .sf-closed .mc-row-title { color: var(--muted); }
.sf .safe-card { border: 2px solid var(--bad); }
.sf .side { display: none; }
.sf .off-m:empty { display: none; } /* 오프라인 저장 — 휴대폰은 본문(옆 칸이 안 보임), PC 는 옆 칸 */
.sf .side-map { min-height: 300px; }
.sf .sos-line { color: var(--bad); border-color: var(--bad); }
@media (min-width: 768px) { .sf .ctx h1 { font-size: 26px; } .sf .lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; } .sf .lists > * + * { margin-top: 0; } .sf .lists .wide { grid-column: 1 / -1; } }
@media (min-width: 1280px) {
  .sf .layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .sf .side { display: block; position: sticky; top: 72px; }
  .sf .off-m { display: none; }
}

/* ===== 가는 길 필수 장소(시안 05 의 <style>) — .es 안에서만 ===== */
.es .top-title { font-weight: 700; margin-right: auto; }
.es .ctx { padding: 14px 0 4px; }
.es .ctx h1 { font-size: 22px; font-weight: 800; }
.es .ctx p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.es .filters { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0 4px; border-bottom: 1px solid var(--line); }
.es .brand { display: flex; align-items: center; gap: 8px; }
.es .brand > span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.es .brand .mc-chip { min-height: 40px; font-size: 14px; }
.es .stack-top { margin-top: 12px; }
.es .holiday { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); border: 2px dashed var(--warn); font-size: 14px; }
.es .holiday b { color: var(--warn); display: block; font-size: 15px; }
.es .holiday b.inline { display: inline; font-size: inherit; }
.es .holiday > svg { color: var(--warn); margin-top: 2px; flex: none; }
.es .holiday .mc-source { margin-top: 4px; }
.es .picks { display: grid; gap: 12px; }
.es .pick { border: 2px solid var(--primary); text-decoration: none; color: inherit; }
.es .pick .es-row { border-top: 0; }
.es .pick-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--primary); padding: 12px 16px 0; }
.es .pick-late { border-color: var(--info); }
.es .pick-late .pick-h { color: var(--info); }
.es .card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 4px; }
.es .card-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.es .card-h > span { font-size: 13px; color: var(--muted); }
.es a.mc-row { text-decoration: none; color: inherit; }
.es .es-row { align-items: flex-start; }
.es .es-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; margin-top: 2px; }
.es .es-ico.hl { background: var(--primary); color: var(--on-primary); }
.es .es-row .mc-badges { margin-top: 6px; }
.es .es-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.es .es-dist { font-weight: 800; font-size: 14px; white-space: nowrap; }
.es .es-end svg { width: 16px; height: 16px; color: var(--muted); }
.es .brand-tag, .dp .brand-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: var(--primary-soft); color: var(--primary); margin-right: 4px; vertical-align: 1px; }
.es .src-pad { padding: 0 16px 14px; }
.es .side { display: none; }
.es .side-map { min-height: 320px; }
@media (min-width: 768px) { .es .ctx h1 { font-size: 26px; } .es .picks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1280px) {
  .es .layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .es .side { display: block; position: sticky; top: 72px; }
}

/* ===== 근처 주차장(시안 08 의 <style>) — .pkp 안에서만 ===== */
.pkp .top-title { font-weight: 700; margin-right: auto; }
.pkp .ctx { padding: 14px 0 4px; }
.pkp .ctx h1 { font-size: 22px; font-weight: 800; }
.pkp .ctx p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.pkp .filters { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.pkp .count { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 12px 0 4px; }
.pkp .count b { color: var(--text); }
.pkp .count select { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; padding: 0 8px; }
.pkp .pk { padding: 14px 16px; }
.pkp .pk-top { display: flex; align-items: flex-start; gap: 12px; }
.pkp .pk-ico, .dp .pk-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.pkp .pk-ico.free { background: var(--ok); color: #fff; }
html[data-mode="dark"] .pkp .pk-ico.free, html[data-mode="red"] .pkp .pk-ico.free { color: #000; }
.pkp .pk-dist { font-weight: 800; font-size: 14px; white-space: nowrap; margin-left: auto; }
.pkp .pk .mc-badges { margin-top: 6px; }
.pkp .pk-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin-top: 10px; font-size: 14px; }
.pkp .pk-facts div { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.pkp .pk-facts small { display: block; color: var(--muted); font-size: 12px; }
.pkp .pk-facts .unk { border-style: dotted; color: var(--muted); }
.pkp .pk-facts .live { border: 1.5px dashed var(--warn); }
.pkp .pk-facts .live small { color: var(--warn); font-weight: 700; }
.pkp .pk-note { margin-top: 10px; }
.pkp .pk-act { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.pkp .side { display: none; }
.pkp .side-map { min-height: 340px; }
.pkp .sheet-h { font-size: 18px; margin-bottom: 12px; }
.pkp .sheet-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.pkp .sheet-list a:hover { background: var(--surface-2); }
@media (min-width: 768px) { .pkp .ctx h1 { font-size: 26px; } .pkp .pk-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
  .pkp .layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
  .pkp .side { display: block; position: sticky; top: 72px; }
}
/* 관광지 상세의 근처 주차장 칸 · 길찾기 목적지(시안 07) */
.dp .pk-sub { padding: 4px 16px 0; }
.dp .pk-row { align-items: flex-start; }
.dp .pk-ico { margin-top: 2px; }
.dp .pk-row .mc-badges { margin-top: 6px; }
.dp .pk-go { flex: none; align-self: center; min-height: 48px; }
.dp .dest { display: grid; gap: 8px; margin: 0 0 12px; border: 0; padding: 0; }
.dp .dest label { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; }
.dp .dest label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.dp .dest input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.dp .dest small { display: block; font-size: 13px; color: var(--muted); }

/* ===== 주유소 · 충전소(시안 06 의 <style>) — .fu 안에서만 ===== */
.fu .top-title { font-weight: 700; margin-right: auto; }
.fu .ctx { padding: 14px 0 4px; }
.fu .ctx h1 { font-size: 22px; font-weight: 800; }
.fu .ctx p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.fu .mycar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--primary-soft); }
.fu .mycar > div { flex: 1; min-width: 0; font-size: 14px; }
.fu .mycar b { font-size: 16px; }
.fu .mycar .muted { color: var(--muted); }
.fu .mycar a { font-weight: 700; color: var(--primary); min-height: 48px; display: inline-flex; align-items: center; white-space: nowrap; }
.fu .filters { position: sticky; top: 56px; z-index: 10; background: var(--bg); padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.fu .fuel-chips > span { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; align-self: center; }
.fu .count { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 12px 0 4px; }
.fu .count b { color: var(--text); }
.fu .count select { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; padding: 0 8px; }
.fu .best { border: 2px solid var(--accent); }
.fu .best-h { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--accent); padding: 12px 16px 0; }
.fu .best .fu-row, .fu .mc-card > .fu-row:first-child { border-top: 0; }
.fu a.fu-row { text-decoration: none; color: inherit; }
.fu .fu-row { align-items: flex-start; }
.fu .fu-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; margin-top: 2px; }
.fu .fu-row .mc-badges { margin-top: 6px; }
.fu .price { text-align: right; flex: none; }
.fu .price b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.fu .price small { display: block; font-size: 12.5px; color: var(--muted); }
.fu .best .price b { color: var(--accent); font-size: 24px; }
.fu .other { font-size: 13px; color: var(--muted); margin-top: 2px; }
.fu .seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-bottom: 8px; }
.fu .seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.fu .seg button[aria-pressed="true"] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.fu .ev-stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.fu .ev-stat div { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 8px; font-size: 12.5px; color: var(--muted); }
.fu .ev-stat b { display: flex; align-items: center; gap: 4px; font-size: 15px; color: var(--text); }
.fu .ev-stat svg { width: 16px; height: 16px; }
.fu .ev-stat .on { border-color: var(--ok); } .fu .ev-stat .on b { color: var(--ok); }
.fu .ev-stat .busy { border-style: dashed; }
.fu .ev-stat .unk { border-style: dotted; }
.fu .live { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--warn); font-weight: 700; margin-top: 6px; }
.fu .live svg { width: 14px; height: 14px; flex: none; }
.fu .ev-camp { background: var(--info-soft); }
.fu .ev-camp .muted { color: var(--muted); }
.fu .ev-best { border-color: var(--info); }
.fu .ev-best .best-h { color: var(--info); }
.fu .evview { display: none; }
.fu.view-ev .oilview { display: none; }
.fu.view-ev .evview { display: block; }
@media (min-width: 768px) { .fu .ctx h1 { font-size: 26px; } }
@media (min-width: 1280px) {
  .fu .layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .fu .ctx, .fu .mycar-wrap, .fu .filters { grid-column: 1 / -1; }
  .fu .filters { position: static; }
  .fu .seg { display: none; }
  .fu .oilview, .fu .evview, .fu.view-ev .oilview { display: block; }
}
.dp .fuel-sub { padding: 4px 16px 0; }
/* 특보 막대 · 날씨 · 별 보기(시안 03 의 <style>) */
.dp .near-sw { padding-bottom: 0; }
.dp .alertbar { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-soft); color: var(--warn); border: 2px solid var(--warn); font-weight: 600; }
.dp .alertbar > svg { flex: none; margin-top: 2px; }
.dp .alertbar a { font-weight: 800; color: inherit; min-height: 32px; display: inline-flex; align-items: center; }
.dp .wx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 16px; text-align: center; }
.dp .wx > div { background: var(--surface-2); border-radius: 12px; padding: 10px 4px; font-size: 13px; color: var(--muted); }
.dp .wx b { display: block; font-size: 20px; color: var(--text); }
.dp .basis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0 16px 14px; font-size: 14px; }
.dp .basis > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dp .basis small { display: block; color: var(--muted); font-size: 12px; }
.dp .star-h { font-size: 17px; }
.dp .star-hint { font-size: 14px; color: var(--muted); }
/* 별 보기 레드 모드(시안 14 의 <style>) — .rm 안에서만 */
.rm { font-size: 18px; }
.rm .top-title { font-weight: 700; margin-right: auto; }
.rm .rm-main { max-width: 640px; padding-bottom: 32px; }
.rm .rm-hero { text-align: center; padding: 24px 0 8px; }
.rm .rm-hero h1 { font-size: 20px; font-weight: 700; }
.rm .rm-score { font-size: 96px; font-weight: 800; line-height: 1; margin: 12px 0 4px; letter-spacing: -.03em; }
.rm .rm-score small { font-size: 28px; font-weight: 600; }
.rm .rm-level { font-size: 24px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.rm .rm-level .mc-star-dots i { width: 20px; height: 20px; }
.rm .rm-best { margin-top: 10px; font-size: 18px; }
.rm .rm-best svg { vertical-align: -4px; }
.rm .rm-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; }
.rm .rm-box h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.rm .rm-hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.rm .rm-hour { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; font-size: 15px; display: grid; gap: 6px; justify-items: center; }
.rm .rm-hour b { font-size: 18px; }
.rm .rm-hour.best { border: 2.5px solid var(--text); }
.rm .rm-hour.best::before { content: "최적"; font-size: 12px; font-weight: 800; }
.rm .rm-moon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; text-align: center; }
.rm .rm-moon > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 4px; }
.rm .rm-moon small { display: block; font-size: 14px; color: var(--muted); }
.rm .rm-moon b { font-size: 26px; }
.rm .rm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rm .rm-list li { display: flex; gap: 12px; align-items: flex-start; }
.rm .rm-list svg { width: 24px; height: 24px; margin-top: 2px; flex: none; }
.rm .rm-legend { font-size: 14px; color: var(--muted); margin-top: 8px; }
.rm .mc-source { font-size: 14px; }
.rm .rm-foot { justify-content: center; }

/* 특보 + 대체 캠핑장(시안 12 의 <style>) — .wa 안에서만 */
.wa .top-title { font-weight: 700; margin-right: auto; }
.wa .wa-alert { border: 2px solid var(--warn); background: var(--warn-soft); border-radius: 16px; padding: 16px; margin-top: 16px; }
.wa .wa-alert h1 { font-size: 22px; font-weight: 800; color: var(--warn); display: flex; align-items: center; gap: 8px; }
.wa .wa-alert h1 svg { width: 26px; height: 26px; }
.wa .wa-alert.calm { border-color: var(--line); background: var(--surface); }
.wa .wa-alert.calm h1 { color: var(--text); }
.wa .wa-lead { margin-top: 6px; font-weight: 600; }
.wa .wa-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: 15px; }
.wa .wa-dl .dt { color: var(--muted); font-weight: 600; }
.wa .wa-dl .dd { font-weight: 600; }
.wa .wa-affect { display: flex; gap: 12px; align-items: center; }
.wa .wa-affect .mc-photo { width: 72px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; }
.wa .wa-alt { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
.wa .wa-alt .mc-photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.wa .wa-alt-title { font-weight: 800; font-size: 17px; }
.wa .wa-alt-meta { font-size: 13.5px; color: var(--muted); margin: 2px 0 6px; }
.wa .wa-alt-acts { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.wa .wa-alt-acts .mc-btn { padding: 0 8px; font-size: 15px; }
.wa .wa-alt-acts .one { grid-column: 1 / -1; }
.wa .wa-sub { margin: -6px 0 10px; }
.wa .wa-head { margin-top: 8px; }
.wa .wa-safe { border: 2px solid var(--bad); }
.wa .wa-safe h2 { font-size: 18px; font-weight: 800; color: var(--bad); display: flex; gap: 8px; align-items: center; }
.wa .wa-safe .call { background: var(--bad); color: var(--surface); }
.wa .wa-safe .all { color: var(--bad); border-color: var(--bad); }
.wa .wa-side { margin-top: 16px; }
@media (min-width: 768px) { .wa .wa-alts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .wa .wa-alts > * + * { margin-top: 0; } }
@media (min-width: 1280px) { .wa .wa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; } .wa .wa-side { position: sticky; top: 72px; } }
.wa .body-flush { padding-top: 0; }

/* ===== 모아보기(시안 13 의 <style>) — .cl 안에서만. 탭은 :target 대신 주소마다(aria-current) ===== */
.cl .col-tabs { position: sticky; top: 56px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.cl .col-tabs-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cl .col-tabs a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.cl .col-tabs a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.cl .col-h1 { font-size: 22px; font-weight: 800; }
.cl .col-h2 { font-size: 17px; font-weight: 800; margin: 16px 0 10px; }
.cl .col-h2-icon { display: flex; gap: 8px; align-items: center; margin: 0; }
.cl .col-side { padding-top: 0; }
.cl .col-legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cl .col-legend > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.cl .col-legend .mc-badge { margin-bottom: 4px; }
.cl .col-pet { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.cl .col-pet .mc-mascot { width: 48px; height: 48px; }
.cl .col-pet div { flex: 1; } .cl .col-pet b { display: block; } .cl .col-pet span { font-size: 14px; color: var(--muted); }
.cl .mc-grid .mc-card { text-decoration: none; color: inherit; }
.cl .col-badges { margin-top: 8px; }
.cl .col-why { font-size: 14px; color: var(--muted); margin-top: 6px; }
.cl .col-ranks { list-style: none; margin: 0; padding: 0; }
.cl .col-rank { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; }
.cl .col-sub { display: block; }
.cl .col-sub .mc-star-dots { margin-right: 4px; }
.cl .col-no { font-weight: 800; font-size: 15px; color: var(--muted); width: 22px; flex: none; padding-top: 24px; text-align: center; }
.cl .col-basis { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.cl .col-basis > span { display: inline-flex; align-items: center; gap: 4px; }
.cl .col-basis [data-lucide] { width: 15px; height: 15px; }
.cl .col-method-card { margin-top: 12px; }
.cl .col-method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl .col-method li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cl .col-method small { display: block; color: var(--muted); font-size: 13px; }
.cl .mc-note .grow { flex: 1; }
@media (min-width: 1280px) { .cl .col-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; } .cl .col-legend { grid-template-columns: minmax(0, 1fr); } }

/* 메인 별 보기 Top3(시안 01) */
.mn .mc-star-card { text-decoration: none; color: inherit; }
.mn .mc-star-lv { margin-top: 4px; }
.mn .mc-star-lv .mc-star-dots { margin-right: 4px; }

/* ===== 여정 플래너 · 내 여정(시안 10 의 <style>) — .pl 안에서만. 편집 모드는 body[data-edit] 대신 _local.edit(data-if) ===== */
.pl .trip-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.pl .trip-row { text-decoration: none; color: inherit; }
/* 내 여정 줄 — 링크(아이콘 · 이름 · 화살표) + 「지우기」 단추(운영자 2026-10-21). 링크 안에 단추를 넣을 수 없어 둘로 나눔 */
.pl .trip-item { gap: 8px; }
.pl .trip-item .trip-row { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 48px; }
.pl .trip-item .cm-report { flex: none; white-space: nowrap; }
.pl .pl-head { padding: 16px 0 8px; }
.pl .pl-head h1 { font-size: 22px; font-weight: 800; }
.pl .pl-sub { color: var(--muted); font-size: 15px; margin: 2px 0 10px; }
.pl .pl-chip-link { text-decoration: none; }
.pl .pl-course-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 0; }
.pl .pl-course-head h2 { font-size: 18px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.pl .pl-course-sub { padding: 2px 16px 4px; }
.pl .pl-day { font-size: 16px; font-weight: 800; padding: 14px 16px 6px; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.pl .pl-list { list-style: none; margin: 0; padding: 0; }
.pl .pl-stop { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; align-items: start; position: relative; }
.pl .pl-stop::before { content: ""; position: absolute; left: 33px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.pl .pl-list > .pl-stop:first-child::before { top: 24px; }
.pl .pl-list > .pl-stop:last-child::before { bottom: calc(100% - 24px); }
.pl .pl-num { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font-weight: 800; font-size: 14px; }
.pl .pl-num [data-lucide] { width: 18px; height: 18px; }
.pl .pl-stop.camp .pl-num { background: var(--primary); color: var(--on-primary); }
.pl .pl-stop.auto .pl-num { border-style: dashed; }
.pl .pl-name { font-weight: 700; font-size: 16px; }
.pl a.pl-name { color: inherit; }
.pl .pl-meta { font-size: 13.5px; color: var(--muted); }
.pl .pl-gap { margin-top: 4px; }
.pl .pl-stop .mc-badges { margin-top: 4px; }
.pl .pl-go { min-height: 44px; }
.pl .pl-park { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--info); margin-top: 4px; }
.pl .pl-park [data-lucide] { width: 16px; height: 16px; }
.pl .pl-dest { margin-top: 6px; }
.pl .pl-edit { display: flex; gap: 4px; }
.pl .pl-edit .mc-iconbtn { border: 1.5px solid var(--line); background: var(--surface); }
.pl .pl-edit .pl-del { color: var(--bad); }
.pl .pl-add { display: flex; margin: 4px 16px 12px 62px; min-height: 48px; border: 2px dashed var(--line); border-radius: 12px; align-items: center; justify-content: center; gap: 6px; color: var(--primary); background: transparent; font: inherit; font-weight: 700; cursor: pointer; width: calc(100% - 78px); }
.pl .pl-src { padding-top: 4px; }
.pl .pl-map { min-height: 220px; }
.pl .pl-map-side { min-height: 260px; }
.pl .pl-bar { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 29; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 12px; }
.pl .pl-bar-in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; }
.pl .pl-bar-in.one { grid-template-columns: minmax(0, 1fr); }
/* 360px 에서 1fr 칸(약 109px)에 「더하기」가 두 줄로 — 아래 막대(.mc-actionbar)처럼 옆 여백 8px · 한 줄 */
.pl .pl-bar .mc-btn { padding: 0 8px; white-space: nowrap; }
.pl.mc-has-tabbar { padding-bottom: 150px; }
.pl .pl-side { display: none; }
.pl .sheet-h { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.pl .sheet-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.pl .sheet-list a:hover { background: var(--surface-2); }
@media (min-width: 1280px) {
  .pl .pl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
  .pl .pl-side { display: block; position: sticky; top: 72px; }
  .pl .pl-map-m, .pl .pl-bar { display: none; }
  .pl.mc-has-tabbar { padding-bottom: 0; }
}
/* 메인 바로가기 · 저장한 여정(시안 01) */
.mn .journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mn .journey a { background: var(--surface); color: var(--text); border-radius: 14px; padding: 12px 8px; text-align: center; text-decoration: none; font-size: 14px; font-weight: 700; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); }
.mn .journey a small { font-weight: 500; font-size: 12px; color: var(--muted); }
.mn .journey a [data-lucide] { color: var(--primary); width: 24px; height: 24px; }
.mn .trip-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.mn .trip-row { text-decoration: none; color: inherit; }
.mn .info-line { display: flex; align-items: baseline; gap: 12px; }
.mn .info-line .mc-row-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mn .info-line .mc-row-sub { flex: none; white-space: nowrap; }
.pl .pl-token { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin: 8px 0; overflow-wrap: anywhere; }
.pl .sheet-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.pl .sheet-list button:hover { background: var(--surface-2); }
.pl .pl-unshare { color: var(--bad); }

/* ===== 공유된 여정(시안 11 의 <style>) — .st 안에서만 ===== */
.st .st-head { padding: 10px 0 6px; }
.st .st-head h1 { font-size: 24px; font-weight: 800; }
.st .st-who { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 6px; }
.st .st-day { font-size: 16px; font-weight: 800; padding: 14px 16px 6px; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.st .st-list { list-style: none; margin: 0; padding: 0 0 6px; }
.st .st-stop { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px; align-items: center; }
.st .st-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--primary); color: var(--primary); font-weight: 800; font-size: 14px; background: var(--surface); }
.st .st-num [data-lucide] { width: 18px; height: 18px; }
.st .st-stop.camp .st-num { background: var(--primary); color: var(--on-primary); }
.st .st-name { font-weight: 700; }
.st a.st-name { color: inherit; }
.st .st-meta { font-size: 13.5px; color: var(--muted); }
.st .st-badges { margin-top: 4px; }
.st .st-go { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--primary); display: grid; place-items: center; cursor: pointer; }
.st .st-src { padding-top: 0; }
.st .st-safe, .st .st-bar-safe { color: var(--bad); border-color: var(--bad); }
.st .st-intro { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.st .st-intro .mc-mascot { width: 56px; height: 56px; flex: none; }
.st .st-intro b { display: block; font-size: 16px; }
.st .st-intro p { font-size: 14px; color: var(--muted); }
.st .st-make { border: 0; background: transparent; font: inherit; cursor: pointer; padding: 0; min-height: 44px; }
.st .st-side { margin-top: 12px; }
.st .st-side-go { margin-top: 12px; }
.st .st-map { min-height: 220px; }
.st .sheet-h { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.st .st-sheet a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; border-radius: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.st .st-sheet a:hover { background: var(--surface-2); }
@media (min-width: 1280px) {
  .st .st-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
  .st .st-side { position: sticky; top: 72px; }
  .st .st-map { min-height: 420px; }
  .st .mc-actionbar { display: none; }
  .st.mc-has-actionbar { padding-bottom: 0; }
}
/* 오프라인 저장 칸(시안 10 pl-off) — 아직 안 받은 때는 같은 모양에 기본 색(저장됨 초록과 구분 — 글자도 다름) */
.pl .pl-off { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--ok-soft); border: 1.5px solid var(--ok); color: var(--text); font-size: 14px; }
.pl .pl-off > [data-lucide] { color: var(--ok); flex: none; }
.pl .pl-off b { display: block; font-size: 15px; }
.pl .pl-off .mc-iconbtn { margin-left: auto; color: var(--ok); flex: none; }
.pl .pl-off.pl-off-no { background: var(--surface); border-color: var(--line); }
.pl .pl-off.pl-off-no > [data-lucide], .pl .pl-off.pl-off-no .mc-iconbtn { color: var(--primary); }
.trip-off { margin-top: 4px; }

/* ===== 알림(시안 19 의 <style>) — .nt 안에서만. 탭 칸 hidden 대신 .is-off(PC 는 두 칸 나란히) ===== */
.nt .top-title { font-weight: 700; margin-right: auto; }
.nt .nt-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin: 16px 0 12px; }
.nt .nt-tabs button { min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.nt .nt-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); outline: 2px solid var(--primary); }
.nt .nt-count { min-height: 22px; padding: 0 6px; }
.nt .nt-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.nt .nt-item:first-child { border-top: 0; }
.nt .nt-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.nt .nt-item.safe .nt-ico { background: var(--warn-soft); color: var(--warn); border: 2px solid var(--warn); }
.nt .nt-item.unread { background: var(--primary-soft); }
.nt .nt-title { font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nt .nt-item:not(.unread) .nt-title { font-weight: 600; color: var(--muted); }
.nt .nt-new { font-size: 12px; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: var(--accent); color: #fff; }
html[data-mode="red"] .nt .nt-new { color: #000; }
.nt .nt-body { font-size: 14px; color: var(--muted); margin-top: 2px; }
.nt .nt-time { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.nt .nt-set .mc-switch { background: transparent; border-radius: 0; border-top: 1px solid var(--line); padding: 10px 16px; min-height: 64px; }
.nt .nt-set .mc-switch:first-of-type { border-top: 0; }
.nt .nt-set .nt-grp-wrap .mc-switch:first-of-type { border-top: 1px solid var(--line); } /* 시안은 맨 위 하나만 선 없음 — 종류 묶음 칸 안에서도 선 */
.nt .nt-set .mc-switch b { display: flex; align-items: center; gap: 6px; }
.nt .nt-grp { font-size: 13px; font-weight: 800; color: var(--muted); padding: 14px 16px 4px; }
.nt .nt-quiet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0 16px 14px; }
.nt .nt-panel.is-off { display: none; }
@media (min-width: 1280px) {
  .nt .nt-tabs { display: none; }
  .nt .nt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 16px; }
  .nt .nt-panel.is-off { display: block; }
}

/* ===== 지역 SEO(시안 20 의 <style>) — .sr 안에서만. 시안 인라인 style(배지 위 여백 · 목록 설명 글자)은 클래스로 ===== */
.sr .sr-main { max-width: 760px; }
.sr .sr-crumb { font-size: 14px; color: var(--muted); padding: 12px 0 0; }
.sr .sr-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.sr .sr-crumb li + li::before { content: "›"; margin-right: 4px; }
.sr .sr-crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.sr .sr-main h1 { font-size: 26px; font-weight: 800; margin: 4px 0 10px; }
.sr .sr-lead { font-size: 17px; line-height: 1.7; }
.sr .sr-upd { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); margin-top: 10px; }
.sr .sr-upd > span { display: inline-flex; align-items: center; gap: 4px; }
.sr .sr-upd [data-lucide] { width: 16px; height: 16px; }
.sr .sr-count { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sr .sr-count th, .sr .sr-count td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); }
.sr .sr-count td { text-align: right; font-weight: 800; }
.sr .sr-list { list-style: none; margin: 0; padding: 0; }
.sr .sr-list > li { padding: 16px 0; border-top: 1px solid var(--line); }
.sr .sr-list h3 { font-size: 18px; font-weight: 800; }
.sr .sr-list h3 a { display: inline-flex; min-height: 44px; align-items: center; color: var(--primary); }
.sr .sr-list p { font-size: 15px; margin-top: 6px; }
.sr .sub, .sr .sr-list .sub { color: var(--muted); font-size: 14px; margin-top: 0; }
.sr .sr-badges { margin-top: 6px; }
.sr .sr-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sr .sr-links a { text-decoration: none; }
.sr .sr-main h2 { font-size: 20px; font-weight: 800; margin: 28px 0 10px; }

/* ===== QR 현장 안내(시안 15 의 <style> · 인라인 style) — .qp 안에서만 ===== */
.qp .qr-main { max-width: 640px; padding-bottom: 24px; }
.qp .qr-hero { display: flex; gap: 12px; align-items: center; padding: 16px 0 4px; }
.qp .qr-hero-in { flex: 1; }
.qp .qr-hero h1 { font-size: 22px; font-weight: 800; }
.qp .qr-hero p { color: var(--muted); font-size: 14px; }
.qp .qr-hero-ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.qp .qr-sos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.qp .qr-sos a { min-height: 64px; flex-direction: column; gap: 2px; font-size: 15px; }
.qp .qr-sos a small { font-weight: 600; font-size: 12px; }
.qp .qr-119 { background: var(--bad); color: var(--bg); }
.qp .qr-sos-line { color: var(--bad); border-color: var(--bad); }
.qp .qr-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 4px; }
.qp .qr-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.qp .qr-safe { border: 2px solid var(--bad); }
.qp .qr-safe .qr-h h2, .qp .qr-safe-more { color: var(--bad); }
.qp .qr-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.qp .qr-call { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bad); color: var(--bg); flex: none; text-decoration: none; }
.qp .qr-dist { font-weight: 800; font-size: 14px; white-space: nowrap; }
.qp .qr-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 16px 0; }
.qp .qr-info > div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.qp .qr-info small { display: block; color: var(--muted); font-size: 12px; }
.qp .qr-info b { display: block; font-size: 16px; }
.qp .qr-small-ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.qp .qr-sub { display: block; }
.qp .qr-pet { margin-top: 2px; }
.qp .qr-gap { margin-top: 10px; }
.qp .qr-warn { margin: 8px 16px 0; background: var(--warn-soft); color: var(--warn); border: 2px solid var(--warn); }
.qp .qr-night { display: flex; gap: 14px; align-items: center; padding: 8px 16px; }
.qp .qr-night-h { font-size: 17px; }
.qp .qr-night-p { font-size: 14px; color: var(--muted); }
.qp .qr-src { padding: 0 16px 14px; }
.qp .qr-flush { padding-top: 0; }
.qp .qr-badges { margin-top: 4px; }
.qp a.mc-row, .qp .qr-link { text-decoration: none; color: inherit; }
.qp .qr-join { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--primary-soft); }
.qp .qr-join .mc-mascot { width: 56px; height: 56px; }
.qp .qr-join > div { flex: 1; font-size: 14px; } .qp .qr-join b { display: block; font-size: 15px; }
.qp .qr-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.qp .qr-foot { justify-content: center; }

/* ===== 월간 큐레이션(시안 16 의 <style> · 인라인 style) — .cu 안에서만 ===== */
.cu .top-title { font-weight: 700; margin-right: auto; }
.cu .cu-cover { aspect-ratio: 16/9; max-height: 380px; width: 100%; }
.cu .cu-main { max-width: 760px; }
.cu .cu-head { padding: 18px 0 4px; }
.cu .cu-kicker { font-size: 14px; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.cu .cu-head h1 { font-size: 26px; font-weight: 800; margin: 6px 0 8px; }
.cu .cu-meta { font-size: 14px; color: var(--muted); }
.cu .cu-lead { font-size: 17px; line-height: 1.7; }
.cu .cu-item { display: grid; }
.cu .cu-no { position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: var(--surface); color: var(--text); border: 2px solid var(--text); }
.cu .cu-item h2 a { display: inline-flex; min-height: 44px; align-items: center; }
.cu .cu-link { text-decoration: none; color: inherit; }
.cu .cu-badges { margin-top: 8px; }
.cu .cu-why { font-size: 15px; line-height: 1.65; margin-top: 8px; }
.cu .cu-why b { color: var(--primary); }
.cu .cu-cond { font-size: 14px; color: var(--muted); margin-top: 6px; }
.cu .cu-h2 { font-size: 18px; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.cu .cu-mb { margin-bottom: 10px; }
.cu .cu-pb0 { padding-bottom: 0; }
.cu .cu-std { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cu .cu-std li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cu .cu-std small { display: block; font-size: 13px; color: var(--muted); }
.cu .cu-share { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cu .cu-share .mc-btn:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .cu .cu-item { grid-template-columns: 260px minmax(0, 1fr); }
  .cu .cu-item .mc-photo { aspect-ratio: auto; height: 100%; min-height: 180px; }
  .cu .cu-head h1 { font-size: 32px; }
  .cu .cu-share { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cu .cu-share .mc-btn:last-child { grid-column: auto; }
}
@media (min-width: 1280px) { .cu .cu-cover-wrap { max-width: 1200px; margin: 16px auto 0; border-radius: 20px; overflow: hidden; } }
/* 메인 이달의 큐레이션(시안 01 인라인 style) */
.mn .mn-cu { text-decoration: none; color: inherit; display: block; }
.mn .mn-cu-art { aspect-ratio: 21/9; }



/* ===== 스탬프 지도(시안 17 의 <style> · 인라인 style) — .sm 안에서만 ===== */
.sm .top-title { font-weight: 700; margin-right: auto; }
.sm .sm-h1 { font-size: 22px; font-weight: 800; }
.sm .st-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.sm .st-sum div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 4px; font-size: 13px; color: var(--muted); }
.sm .st-sum b { display: block; font-size: 24px; color: var(--text); }
.sm .st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 420px; margin: 0 auto; }
.sm .st-tile { aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--line); background: var(--surface); display: grid; place-content: center; justify-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.sm .st-tile.on { border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary); }
.sm .st-tile.on svg { width: 18px; height: 18px; }
.sm .st-tile small { font-size: 11px; font-weight: 600; }
.sm .st-mapbox { background: var(--surface-2); border-radius: 16px; padding: 16px 12px 28px; position: relative; }
.sm .st-prog { list-style: none; margin: 0; padding: 0; }
.sm .st-prog li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; font-size: 15px; }
.sm .st-bar { height: 10px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.sm .st-bar i { display: block; height: 100%; background: var(--primary); width: 0; }
.sm .st-bar i.w20 { width: 20%; } .sm .st-bar i.w40 { width: 40%; } .sm .st-bar i.w60 { width: 60%; } .sm .st-bar i.w80 { width: 80%; } .sm .st-bar i.w100 { width: 100%; }
.sm .st-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sm .st-badge { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; }
.sm .st-badge b { display: block; font-size: 15px; }
.sm .st-badge small { color: var(--muted); font-size: 12px; }
.sm .st-medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent); color: #fff; }
html[data-mode="dark"] .sm .st-medal, html[data-mode="red"] .sm .st-medal { color: #000; }
.sm .st-badge.lock { border-style: dashed; color: var(--muted); }
.sm .st-badge.lock .st-medal { background: var(--surface-2); color: var(--muted); border: 2px dashed var(--line); }
.sm .st-scope { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; }
.sm .st-scope label { display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; cursor: pointer; }
.sm .st-scope input { width: 20px; height: 20px; accent-color: var(--primary); }
.sm .st-scope small { display: block; color: var(--muted); font-size: 13px; }
.sm .st-link { font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: var(--surface-2); padding: 10px 12px; border-radius: 10px; overflow-wrap: anywhere; }
.sm .st-who { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.sm .sm-chips { padding: 0; }
.sm .sm-m0 { margin: 0; }
.sm .sm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.sm .sm-link { text-decoration: none; color: inherit; }
.sm .sm-found { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sm .sm-pick { width: 100%; border: 0; background: var(--surface); text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sm .sm-shared { max-width: 640px; padding-bottom: 24px; }
@media (min-width: 1280px) { .sm .st-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; } }

/* ===== 광고 자리(PLAN 11장 · 3-9) — 켜진 자리만 그려짐. 「광고」 표시 · 콘텐츠와 다른 테두리 · 위아래 24px 이상(단추와 떨어지게) · 높이 미리 잡음(CLS) ===== */
.mc-ad-live { position: relative; margin: 24px 0; padding: 22px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); min-height: 280px; overflow: hidden; }
.mc-ad-live .mc-ad-label { position: absolute; top: 4px; left: 8px; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: var(--muted); color: var(--bg); }
.mc-ad-live ins.adsbygoogle { display: block; width: 100%; }
@media (min-width: 1024px) { .mc-ad-live { min-height: 130px; } }
html[data-mode="red"] .mc-ad-live, html.mc-no-ads .mc-ad-live { display: none; }
/* AdSense 가 채울 광고가 없다고 하면(unfilled — 승인 전 · 맞는 광고 없음) 칸째 숨김(카알리미와 같이). 날개는 상품만 남음 */
.mc-ad-live:has(ins[data-ad-status="unfilled"]) { display: none; }
.mc-ad-near { height: 1px; pointer-events: none; } /* 광고를 부를 때를 재는 점 — 자리를 거의 차지하지 않음 */

/* ===== 제휴 상품(플러그인 glitter-affiliate, 운영자 2026-10-22) — 옆 칸 빈 곳(.mc-aff) · 날개(.mc-wing). 광고와 같은 「광고」 표시 · 단추와 띄움 =====
   카드는 낮은 가로 줄(그림 왼쪽 · 이름 · 값). 플러그인 style 이 나중에 붙어 .prose 로 한 단계 더 좁혀 씀, 색은 우리 색(플러그인은 .dark 만 앎) */
.mc-aff { position: relative; margin-top: 24px; padding: 24px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mc-aff .mc-ad-label { position: absolute; top: 4px; left: 8px; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; background: var(--muted); color: var(--bg); }
.mc-aff .prose .ga-box, .mc-wing .prose .ga-box { margin: 0; }
.mc-aff .prose .ga-grid, .mc-wing .prose .ga-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.mc-aff .prose .ga-card, .mc-wing .prose .ga-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "img name" "img price"; column-gap: 10px; row-gap: 2px; min-height: 48px; padding: 6px; background: var(--surface); border-color: var(--line); color: var(--text); }
.mc-aff .prose .ga-img, .mc-wing .prose .ga-img { grid-area: img; aspect-ratio: 1 / 1; height: auto; align-self: center; background: #fff; }
.mc-aff .prose .ga-name, .mc-wing .prose .ga-name { grid-area: name; font-size: 13px; line-height: 1.3; }
.mc-aff .prose .ga-price, .mc-wing .prose .ga-price { grid-area: price; font-size: 14px; }
.mc-aff .prose :is(.ga-price del, .ga-badges, .ga-cta, .ga-note), .mc-wing .prose :is(.ga-price del, .ga-badges, .ga-cta, .ga-note) { display: none; }
.mc-aff .prose .ga-disclosure, .mc-wing .prose .ga-disclosure { padding: 6px 8px; margin: 0 0 6px; background: var(--warn-soft); border-left-color: var(--warn); }
.mc-aff .prose .ga-disclosure p, .mc-wing .prose .ga-disclosure p { font-size: 11px; line-height: 1.4; font-weight: 600; color: var(--text); }
.mc-aff .ga-search .ga-slot + .ga-slot { margin-top: 14px; }
.mc-aff .prose .ga-card[hidden] { display: none; }
.mc-aff .ga-skel .ga-card, .mc-wing .ga-skel .ga-card { height: 60px; background: var(--surface); border-color: var(--line); }
@media (min-width: 1280px) { :is(.side, .pl-side):has(.mc-aff) { max-height: calc(100vh - 88px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
/* 날개 — 넓은 화면(1600px 이상)에서만 본문(1200px) 양옆 176px, 머리 막대 아래에 붙어 따라다님. 넘치면 날개 안에서만 스크롤, 아래는 「맨 위로」 단추 자리 비움 */
.mc-wing { display: none; }
@media (min-width: 1600px) {
  .mc-wing { display: grid; gap: 10px; align-content: start; position: fixed; top: 76px; width: 176px; max-height: calc(100vh - 160px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; z-index: 4; }
  .mc-wing-l { left: calc(50% - 600px - 196px); }
  .mc-wing-r { right: calc(50% - 600px - 196px); }
  .mc-wing .prose .ga-card { grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding: 5px; }
  .mc-wing .prose .ga-name { font-size: 12px; }
  .mc-wing .prose .ga-price { font-size: 13px; }
  .mc-wing .mc-ad-live { margin: 0; padding: 22px 8px 8px; min-height: 630px; }
  .mc-wing ins.adsbygoogle { width: 160px; min-height: 600px; }
  /* 날개는 모든 화면(운영자 2026-10-22 — 안전 정보 · 알림 · 여정 편집에도). 로그인 · 오류 화면만 애드센스 칸을 뺌(애드센스 정책 — 로그인 · 오류 화면 광고 금지), 쿠팡 상품은 보임 */
  :root:has(.lg, main.mc-wrap > .mc-empty:first-child) .mc-wing :is(.mc-ad-live, .mc-ad-near) { display: none; }
}
html[data-mode="red"] :is(.mc-aff, .mc-wing), html.mc-no-ads :is(.mc-aff, .mc-wing) { display: none; }
/* 목록 반복을 감싼 칸(광고를 n번째 뒤에 끼우려고) — 상자 없이 아이들이 그대로 목록 · 그리드 칸이 됨 */
.mc-each { display: contents; }
.mc-stack > .mc-each > * { margin-top: 12px; }
.mc-stack > .mc-each:first-child > :first-child { margin-top: 0; }
.mc-stack > .mc-each > .mc-ad-live { margin: 24px 0; }
.mc-each > .mc-ad-live { grid-column: 1 / -1; }
/* 제휴 링크 표시(시안 26) — 링크 바로 아래 글자로 */
.aff-note { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.aff-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; padding: 1px 8px; border-radius: 6px; border: 1.5px solid var(--muted); color: var(--muted); }
.aff-tag svg { width: 14px; height: 14px; }

/* ===== 약관 · 방침(시안 32 의 <style>) — .pg 안에서만 ===== */
.pg .pg-wrap { max-width: 760px; }
.pg .pg-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); margin: 16px 0 12px; }
.pg .pg-tabs a { min-height: 48px; border-radius: 10px; color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pg .pg-body a { color: var(--primary-strong); font-weight: 700; }
.pg .pg-tabs a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); outline: 2px solid var(--primary); }
.pg h1 { font-size: 24px; font-weight: 800; margin: 8px 0 4px; }
.pg .pg-date { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.pg .pg-body { font-size: 15px; line-height: 1.7; padding: 4px 16px 16px; }
.pg .pg-body h2 { font-size: 17px; font-weight: 800; margin: 20px 0 8px; }
.pg .pg-body p, .pg .pg-body li { margin: 0 0 8px; }
.pg .pg-body ul, .pg .pg-body ol { padding-left: 20px; }
.pg .pg-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 12px; display: block; overflow-x: auto; }
.pg .pg-body th, .pg .pg-body td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.pg .pg-body th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }

/* 마이페이지 「내 글」(시안 42 · my_posts) */
.mpo .mp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mpo .mp-head h2 { font-size: 22px; font-weight: 800; }
.mpo .mp-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.mpo .mp-row:first-child { border-top: 0; }
.mpo .mp-main { display: grid; gap: 2px; min-width: 0; }
.mpo .mp-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mpo .mp-t b { font-weight: 800; overflow-wrap: anywhere; }
.mpo .mp-body { margin: 2px 0 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.mpo .mp-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (min-width: 768px) { .mpo .mp-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; } }
.mpo .mc-empty .mc-btn { margin-top: 12px; }

/* 공통 빈 상태(mc-empty) 마스코트 및 내용 가운데 정렬 */
.mc-empty { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; color: var(--muted); }
.mc-empty .mc-mascot { width: 96px; height: 96px; margin: 0 auto 12px; display: block; flex: none; }
.mc-empty b { display: block; font-size: 17px; margin-bottom: 4px; color: var(--text); }
.mc-empty span { font-size: 14px; max-width: 320px; line-height: 1.5; }
.mc-empty .mc-btn { margin-top: 16px; }

/* 바닥글은 내용이 짧아도 화면 맨 아래(운영자 지시 2026-10-22, /trips) — 바닥글을 둔 감싸개를 화면 높이 이상 · 세로 flex,
   내용과 바닥글 사이에 빈칸(::after)이 남는 높이를 채움. 바닥글 위 여백(48px)은 그대로. 자식은 width 100%(auto 여백 칸이 줄어들지 않게) */
:has(> .mc-foot-site) { min-height: 100dvh; display: flex; flex-direction: column; }
:has(> .mc-foot-site) > * { flex-shrink: 0; width: 100%; }
:has(> .mc-foot-site)::after { content: ""; flex: 1 0 0; order: 1; }
:has(> .mc-foot-site) > .mc-foot-site, :has(> .mc-foot-site) > .mc-foot-site ~ * { order: 2; }

/* 휴대폰: 거르기 · 탭 · 바로가기 막대를 붙이지 않음(운영자 2026-10-22 — base.css 의 같은 줄은 화면별 sticky 보다 약해서 여기에도). 머리 막대는 base.css */
@media (max-width: 767px) {
  .sp .filters, .sf .filters, .es .filters, .pkp .filters, .fu .filters, .cl .col-tabs, .dp .jump { position: static; }
  .sp .mapview .mc-map { height: calc(100dvh - 156px - env(safe-area-inset-bottom)); } /* 머리가 안 붙으니 지도를 크게 — 아래 탭 막대(60) + 위 96(화면을 잡아 올리고 내릴 자리) */
}

/* 화면 효과(시안 46 — effects.css) 첫 화면 겹(HeroFx) — 하늘 빛 · 별 · 반딧불을 .hero 전체에 */
.fx-hero { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* 쿠키 동의 띠 — 동의 여부를 받기 전에는 숨김(_user_base 주석) */
.gdpr-wait { display: none; }

/* 사장님 인증 · 사장님 대시보드(시안 28 · 29 — 시안 페이지 style 을 옮김) */
.bz .bz-narrow { max-width: 720px; margin: 0 auto; }
.bz .bz-h1 { font-size: 22px; font-weight: 800; }
.bz .card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.bz .card-h h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.bz .bz-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; counter-reset: s; }
.bz .bz-steps li { counter-increment: s; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 38px; position: relative; }
.bz .bz-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; translate: -50% 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: var(--surface); }
.bz .bz-steps li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: var(--on-primary); }
.bz .bz-steps li[aria-current="step"] { color: var(--primary); }
.bz .bz-steps li[aria-current="step"]::before { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.bz .bz-search { min-height: 52px; } .bz .bz-search input { height: 48px; }
.bz .bz-found { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.bz .bz-found[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.bz .bz-found:disabled { opacity: .6; cursor: not-allowed; }
.bz .bz-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); }
.bz .bz-found[aria-pressed="true"] .bz-dot { border-color: var(--primary); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 10px var(--primary); }
.bz .bz-found .mc-badges { margin-top: 4px; }
.bz .bz-map { position: relative; height: 220px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.bz .bz-pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; color: var(--bad); pointer-events: none; }
.bz .bz-pin [data-lucide] { width: 40px; height: 40px; }
.bz .bz-kb { margin: 0; padding: 12px 14px; list-style: none; display: grid; gap: 6px; border-radius: 14px; background: var(--surface-2); font-size: 15px; }
.bz .bz-kb li { display: flex; gap: 8px; align-items: flex-start; }
.bz .bz-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
/* 「인증 방법 자세히 보기」(기본 접힘 · 시안 28) */
.bz .bz-sum { display: flex; align-items: center; gap: 8px; min-height: 48px; cursor: pointer; font-weight: 800; list-style: none; }
.bz .bz-sum::-webkit-details-marker { display: none; }
.bz .bz-sum > span { flex: 1; }
.bz .bz-sum > :last-child { transition: rotate .2s; }
.bz .bz-guide[open] .bz-sum > :last-child { rotate: 180deg; }
.bz .bz-guide[open] .bz-sum { padding-bottom: 0; }
.bz .bz-h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin: 4px 0 0; }
.bz .bz-bar { position: sticky; bottom: 0; z-index: 3; display: grid; gap: 8px; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); margin: 16px -16px 0; }
.bz .bz-err { color: var(--bad); background: var(--bad-soft); }
.bz .bz-row { padding: 0; min-height: 48px; border: 0; }
.bz .bz-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.bz .bz-reject { border: 2px solid var(--bad); background: var(--bad-soft); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; }
.bz .bz-reject b { color: var(--bad); display: flex; align-items: center; gap: 6px; }
.bz .bz-reject p { font-size: 15px; }
.bz .bz-reject .mc-btn { justify-self: start; }
@media (min-width: 768px) { .bz .bz-bar { margin: 16px 0 0; border: 1px solid var(--line); border-radius: 16px; } }
@media (min-width: 1280px) { .bz .bz-lay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; } .bz .bz-lay > * + * { margin-top: 0; } }
.bz .bz-h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bz .mc-note b + span { margin-left: 4px; }
.bz .mc-btn:disabled { opacity: .5; cursor: not-allowed; }
.bz .bz-edit { border-top: 1px solid var(--line); padding-top: 12px; }
.bz .bz-ta { height: auto; min-height: 96px; padding-top: 10px; resize: vertical; }
.bz .bz-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.bz .bz-ph { position: relative; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bz .bz-ph img { width: 100%; height: 100%; object-fit: cover; }
.bz .bz-ph .mc-iconbtn { position: absolute; top: 2px; right: 2px; background: var(--surface); }
.bz .bz-danger { color: var(--bad); }
.dp .bz-intro { white-space: pre-line; }
.dp .bz-owner-ph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dp .bz-owner-ph img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 10px; }
.bz .bz-week { display: grid; gap: 6px; }
.bz .bz-wk { display: grid; grid-template-columns: 3.2em auto minmax(0, 1fr) minmax(0, 1fr); gap: 6px; align-items: center; }
.bz .bz-wk .mc-input { min-width: 0; padding: 0 8px; }
.bz .bz-off { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; font-size: 14px; }
.bz .bz-off input { width: 20px; height: 20px; accent-color: var(--primary); }
/* 사장님 대시보드 「최근 7일」 · 「QR 코드 스티커」(시안 29 .nums · .wk) — 막대 높이는 그 주 가장 큰 날 = h10 */
.bz .bz-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 16px; }
.bz .bz-nums div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.bz .bz-nums b { display: block; font-size: 24px; color: var(--text); font-variant-numeric: tabular-nums; }
.bz .bz-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 18px 16px 0; }
.bz .bz-bars > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.bz .bz-bars i { display: block; flex: none; width: 100%; max-width: 26px; height: 2px; background: var(--primary); border-radius: 6px 6px 2px 2px; }
.bz .bz-bars b { font-size: 11px; color: var(--text); }
.bz .bz-bars .h1 { height: 7px; } .bz .bz-bars .h2 { height: 14px; } .bz .bz-bars .h3 { height: 21px; } .bz .bz-bars .h4 { height: 28px; } .bz .bz-bars .h5 { height: 35px; }
.bz .bz-bars .h6 { height: 42px; } .bz .bz-bars .h7 { height: 49px; } .bz .bz-bars .h8 { height: 56px; } .bz .bz-bars .h9 { height: 63px; } .bz .bz-bars .h10 { height: 70px; }
.bz .bz-sname { padding: 12px 16px 0; font-weight: 700; }
.bz .mc-card-body .bz-sname { padding: 0; }
.bz .bz-src { padding: 0 16px 14px; margin-top: 8px; }
/* 패밀리 서비스(kbplatform-sso 확장 user_global_footer — 바닥글 맨 위). 플러그인 Tailwind 클래스는 우리 CSS 에 없어서 id 로 직접, 색은 변수(다크 · 레드는 변수가 바꿈) */
#kbsso_family_sites { padding: 20px 0 16px; border: 0; border-bottom: 1px solid var(--line); background: none; }
#kbsso_family_sites > div { max-width: none; margin: 0; padding: 0; }
#kbsso_family_sites > div > p { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--text); }
#kbsso_family_sites > div > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#kbsso_family_sites a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
#kbsso_family_sites a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
#kbsso_family_sites a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#kbsso_family_sites a > span:first-child { font-size: 14px; font-weight: 700; line-height: 1.35; }
#kbsso_family_sites a > span + span { font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { #kbsso_family_sites > div > div { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { #kbsso_family_sites > div > div { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1200px) { #kbsso_family_sites > div > div { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* 정보공유 목록 · 글(board · board_post) — 약관 화면(.pg) 꼴에 줄 링크 · 글자 글 줄바꿈만 */
.bd a.mc-row { text-decoration: none; color: inherit; }
.bd .bd-text { white-space: pre-line; }
