﻿/* Pretendard — 자체 호스팅 (런타임 CDN 차단 환경 대응). Variable woff2 단일 파일로 400~900 커버. */
@font-face {
  font-family: 'Pretendard';
  src: url('./assets/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* ── 내추럴 그린 팔레트 ─────────────────────────────────────────────────
     sage·forest 그린 + warm beige/cream 표면. 친근하면서 고급스러운 톤. */
  --ink: #1c2620;         /* 딥 포레스트 잉크 */
  --muted: #6a7670;       /* 보조 텍스트 전용 (opacity 계층은 .text-* 클래스 참조) */
  --line: #e2e5da;        /* warm sage line */
  --panel: #fffefb;       /* 따뜻한 화이트 패널 */
  --surface: #f4f2ea;     /* warm cream 배경 */
  --surface-strong: #ece8dc; /* beige 강조 표면 */
  --green: #2c7a52;       /* 주 액센트: sage-forest 그린 */
  --green-dark: #1d5439;  /* 짙은 포레스트: 아이콘·강조 전용 */
  --green-soft: #5b9b73;  /* 부드러운 세이지: 보조 강조 */
  --gold: #b08a3c;        /* 그린피·별점·가격 전용 (warm brass) */
  --rust: #b3552f;        /* 주의/경고 상태 배지 전용 */
  --blue: #356f8f;        /* 정보 상태 배지·진행속도 전용 */
  --shadow: 0 20px 60px rgba(28, 38, 32, 0.10);
  --radius: 14px;
  --shadow-low: 0 1px 3px rgba(28, 38, 32, 0.05), 0 2px 8px rgba(28, 38, 32, 0.04);
  --shadow-mid: 0 4px 12px rgba(28, 38, 32, 0.06), 0 12px 28px rgba(28, 38, 32, 0.07);
  --shadow-high: 0 8px 20px rgba(28, 38, 32, 0.08), 0 20px 48px rgba(28, 38, 32, 0.11);
  --surface-tint-green: #eef5ef;
  --surface-tint-gold: #faf6ea;
  --surface-tint-blue: #eef4f7;
  --nav-h: 52px;             /* top-nav 고정 높이 */

  /* ── 타입 스케일 ─────────────────────────────────────────────────────────
     xs  11px — 캡션·날짜·배지 보조
     sm  12px — 태그·메타·서브라벨
     base 13px — 본문 기본
     sub  15px — 서브헤딩 (.sub-heading)
     md   18px — h3
     lg   22px — h2 영역 강조
     xl   28px — 코스명·히어로 헤드
     ──────────────────────────────────────────────────────────────────── */
  --fs-xs:   11px;
  --fs-sm:   12px;
  --fs-base: 13px;
  --fs-sub:  15px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;

  font-family:
    'Pretendard', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", sans-serif;
}

/* ── Plan 4: 타이포그래피 & 컬러 시스템 유틸리티 ──────────────────────────────
   폰트 계층: h3 18px → .sub-heading 15px → body 13px
   텍스트 투명도: .text-primary(100%) / .text-secondary(65%) / .text-caption(45%)
   컬러 역할: --green(주 액센트) / --gold(그린피 전용) / --rust(경고 배지) / --blue(정보 배지)
   ─────────────────────────────────────────────────────────────────────────── */

/* 서브헤딩 — h3(18px)와 본문(13px) 사이 중간 계층 */
.sub-heading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* 텍스트 투명도 계층 */
.text-primary   { color: var(--ink); opacity: 1; }
.text-secondary { color: var(--ink); opacity: 0.65; }
.text-caption   { color: var(--ink); opacity: 0.45; font-size: 12px; }

/* 컬러 역할 유틸리티 */
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold); }
.text-rust   { color: var(--rust); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--muted); }

/* Visual emphasis pass for course detail surfaces. */
.detail-hero,
.analysis-panel,
.real-fee-panel,
.photo-strip-panel,
.unlock-panel,
.feedback-panel {
  box-shadow: var(--shadow-high);
}

.metric {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-mid);
}

.metric::before {
  content: "상태";
  display: grid;
  min-width: 44px;
  height: 38px;
  padding: 0 8px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-tint-green);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.metric.price::before {
  content: "₩";
  background: var(--surface-tint-gold);
  color: #8b671c;
}

.metric.weekend::before {
  content: "주말";
  background: #fff0ea;
  color: var(--rust);
}

.metric.pace::before {
  content: "진행";
  background: var(--surface-tint-blue);
  color: var(--blue);
}

.metric.value::before {
  content: "가격";
  background: #eef6e8;
  color: #4d7638;
}

.metric.web::before {
  content: "평판";
  background: #e8efe9;
  color: var(--green-dark);
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--green);
}

.metric.price::after {
  background: var(--gold);
}

.metric.weekend::after {
  background: var(--rust);
}

.metric.pace::after {
  background: var(--blue);
}

.metric.value::after {
  background: #5f8f45;
}

.metric strong {
  font-size: 26px;
}

.bar-track {
  height: 12px;
  background: #edf2ee;
  box-shadow: inset 0 0 0 1px rgba(20, 85, 56, 0.06);
}

.real-fee-panel {
  background: #fffdf7;
}

.real-fee-summary div,
.real-fee-row {
  box-shadow: var(--shadow-mid);
}

.real-fee-row {
  position: relative;
  padding-left: 16px;
}

.real-fee-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: var(--gold);
}

.real-fee-row b {
  display: inline-grid;
  min-width: 76px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--surface-tint-gold);
  color: var(--green-dark);
}

.web-note {
  position: relative;
  box-shadow: var(--shadow-mid);
}

.provider-review {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-high);
  overflow: hidden;
}

.provider-review::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--green-dark);
}

.provider-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.provider-check-grid article {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(31, 122, 77, 0.14);
  border-radius: var(--radius);
  background: #f8fbf8;
}

.provider-check-grid b {
  color: var(--green-dark);
  font-size: 13px;
}

.provider-check-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.provider-source-link {
  margin: 8px 0 12px;
  font-size: 13px;
  color: #60706a;
}

.provider-source-link a {
  color: #126b4f;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 주변 맛집 표 (평점/리뷰/거리) */
.nearby-resto-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  font-size: 12.5px;
}
.nearby-resto-table th,
.nearby-resto-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(31, 122, 77, 0.12);
}
.nearby-resto-table thead th {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 11.5px;
  border-bottom: 1.5px solid rgba(31, 122, 77, 0.22);
  white-space: nowrap;
}
.nearby-resto-table tbody tr:last-child td { border-bottom: none; }
.nearby-resto-table .nr-name {
  color: var(--ink);
  font-weight: 500;
  width: 100%;
}
.nearby-resto-table .nr-name a {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 122, 77, 0.28);
}
.nearby-resto-table .nr-name a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.nearby-resto-table .nr-rating { color: var(--gold-dark, #b8860b); white-space: nowrap; }
.nearby-resto-table .nr-total,
.nearby-resto-table .nr-dist {
  color: rgba(31, 41, 31, 0.62);
  text-align: right;
  white-space: nowrap;
}
.nearby-resto-caption {
  margin: 6px 0 0;
  font-size: 11px;
  color: rgba(31, 41, 31, 0.45);
}

.provider-columns > div {
  background: var(--surface);
}

.provider-columns > div::before {
  content: "";
  display: block;
  width: 26px;
  height: 4px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--green);
}

.review {
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-mid);
}

.trust-badges em {
  border: 1px solid rgba(31, 122, 77, 0.18);
  background: #f7fbf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-base);   /* 13px 명시 — rem 기준점 통일 */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-logo,
.nav-links button,
.site-footer button {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.nav-logo {
  font-size: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-logo-mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.nav-logo-text {
  line-height: 1;
}

.brand-bar h1 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links button {
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.nav-links button:hover {
  background: var(--surface);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  height: calc(100vh - var(--nav-h)); /* nav 높이 제외 */
  overflow: hidden;           /* 양쪽 패널이 각자 독립 스크롤 */
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  height: 100%;
}

.brand-bar,
.map-topbar,
.detail-hero,
.section-title,
.list-header,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 리스트 헤더: 제목은 줄어들고, 정렬/관리 버튼은 '컨디션지수순'처럼 단어 중간 줄바꿈되지 않게 */
.list-header {
  gap: 8px;
}
.list-header > :first-child {
  min-width: 0;
}
.list-header .text-button {
  white-space: nowrap;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.85;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: var(--fs-xl);     /* 28px */
  line-height: 1.25;
  letter-spacing: -0.4px;
}

h2 {
  margin-bottom: 0;
  font-size: var(--fs-lg);     /* 22px */
  line-height: 1.3;
  letter-spacing: -0.3px;
}

h3 {
  margin-bottom: 0;
  font-size: var(--fs-md);     /* 18px */
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.icon-button,
.text-button,
.primary-button,
.secondary-button,
.chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  font-size: 20px;
}

.text-button {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.primary-button,
.secondary-button {
  min-height: 42px;
  font-weight: 850;
}

.primary-button {
  padding: 11px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.1s ease;
}

.primary-button:hover {
  background: var(--green-dark);
}

.primary-button:active {
  transform: scale(0.98);
}

/* 예약 CTA — 앵커를 버튼처럼, 예약 액션 강조 */
a.booking-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}
a.booking-cta:hover {
  background: var(--green-dark);
}

.secondary-button {
  padding: 10px 20px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  background: transparent;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.secondary-button:hover {
  background: var(--surface-tint-green);
}

.search-panel {
  display: grid;
  gap: 10px;
}

.search-panel label,
.review-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.filters,
.region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-filters {
  padding-top: 0;
}

/* 필터 그룹 라벨 — 사이드바 위계 */
.filter-group-label {
  margin: 6px 0 0;
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
}
.filter-group-label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
}

/* 모바일: 필터 칩 가로 스크롤 + 스냅 */
@media (max-width: 760px) {
  .filters,
  .region-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filters::-webkit-scrollbar,
  .region-filters::-webkit-scrollbar { display: none; }
  /* 랭킹 탭·매거진 카테고리 칩도 모바일에선 한 줄 스크롤 + 스냅 */
  .ranking-tabs,
  .magazine-category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ranking-tabs::-webkit-scrollbar,
  .magazine-category-chips::-webkit-scrollbar { display: none; }
  .ranking-tabs .chip,
  .magazine-category-chips .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .filters .chip,
  .region-filters .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

.chip {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--surface-tint-green);
}

.chip.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.list-header span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.reward-card,
.coverage-card,
.unlock-panel,
.verdict-panel,
.photo-strip-panel,
.credit-preview {
  border: 1px solid rgba(31, 122, 77, 0.2);
  border-radius: var(--radius);
  background: #edf6ef;
}

.reward-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.coverage-card {
  padding: 14px;
}

.reward-card strong,
.coverage-card strong,
.credit-preview strong {
  display: block;
  margin-bottom: 5px;
}

.reward-card span,
.coverage-card span,
.credit-preview span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* ── 후기 동기 배너: "네이버엔 별점 하나, 여기엔 다음 골퍼의 결정" ── */
.review-motive {
  padding: 13px 15px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef6f0 0%, #e6f1ea 100%);
  border: 1px solid rgba(31, 122, 77, 0.22);
}
.review-motive strong {
  display: block;
  font-size: var(--fs-sub);
  color: var(--green-dark);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.review-motive span {
  display: block;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* ── 인정 스트립: 내 등급 / 다음 등급까지 / 받은 도움돼요 ── */
.reviewer-recognition:empty {
  display: none;
}
.reviewer-recognition {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.reviewer-recognition .rr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.reviewer-recognition .rr-next {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.reviewer-recognition .rr-next b {
  color: var(--green-dark);
}
.reviewer-recognition .rr-stats {
  display: flex;
  gap: 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
  padding-top: 7px;
  border-top: 1px dashed var(--line);
}
.reviewer-recognition .rr-stats b {
  color: var(--ink);
  font-weight: 700;
}
.reviewer-recognition .rr-new {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.reviewer-recognition .rr-spark {
  font-size: 20px;
  line-height: 1.2;
}
.reviewer-recognition .rr-new b {
  display: block;
  font-size: var(--fs-base);
  color: var(--green-dark);
  margin-bottom: 3px;
}
.reviewer-recognition .rr-new span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}

.quick-photo-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 77, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.12), rgba(255, 255, 255, 0.78)),
    var(--surface);
}

.quick-photo-copy strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 3px;
}

.quick-photo-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.quick-photo-drop {
  position: relative;
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1.5px dashed rgba(31, 122, 77, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  cursor: pointer;
  text-align: center;
}

.quick-photo-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.quick-photo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.quick-photo-text {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 13px;
}

.quick-photo-preview {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
}

.quick-photo-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.quick-photo-comment {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.quick-photo-submit {
  width: 100%;
  justify-content: center;
}

/* ── 제출 직후 반영 카드: 후기 N→N+1 · 종합 X.X→Y.Y ── */
.share-reflect:empty {
  display: none;
}
.share-reflect {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  margin: 4px 0 2px;
  border-radius: var(--radius);
  background: var(--surface-tint-green);
  border: 1px solid rgba(31, 122, 77, 0.2);
}
.share-reflect .sr-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-base);
}
.share-reflect .sr-label {
  min-width: 64px;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.share-reflect .sr-line b {
  color: var(--ink);
  font-weight: 700;
}
.share-reflect .sr-by {
  font-size: var(--fs-xs);
  color: var(--green-dark);
  background: rgba(31, 122, 77, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}
.share-reflect .sr-delta {
  font-size: var(--fs-sm);
  font-weight: 700;
}
.share-reflect .sr-delta.up { color: var(--green); }
.share-reflect .sr-delta.down { color: var(--rust); }
.share-reflect .sr-delta.flat { color: var(--muted); font-weight: 600; }

.course-list {
  display: grid;
  gap: 10px;
}

.course-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
}

.course-card.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.12);
}

.course-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.course-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mini-score {
  display: grid;
  min-width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
}

.main-view {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: minmax(0, 1fr);  /* 컬럼이 콘텐츠 max-content로 늘어나 우측 영역이 화면 밖으로 밀리는 것 방지 */
  min-width: 0;
  height: 100%;
  overflow-y: auto;          /* 오른쪽 패널 독립 스크롤 */
  overflow-x: visible;       /* 카드 shadow·border 클리핑 방지 */
}

.map-view {
  position: relative;
  padding: 28px 24px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 22, 17, 0.88) 0%, rgba(12, 22, 17, 0.62) 100%),
    url("./assets/golf-review-hero.png") center / cover;
  border-bottom: 1px solid var(--line);
  min-height: 340px;
}

/* 지도 독립 섹션 */
.map-section {
  position: relative;
  background: #0a1a12;
  border-bottom: 1px solid rgba(47,158,99,0.18);
}
.map-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 6px;
}
.map-section-header .eyebrow {
  color: #2f9e63;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.map-section-hint {
  color: rgba(138,201,168,0.7);
  font-size: 12px;
}

.map-topbar {
  position: relative;
  z-index: 4;
  align-items: flex-start;
  flex-wrap: nowrap;      /* 데스크톱: 좌측 카피 + 우측 배너 한 줄 유지 (모바일은 아래 미디어쿼리에서 세로 스택) */
  gap: 20px;
}

.map-topbar .eyebrow,
.map-topbar h2,
.hero-wordmark-text,
.hero-wordmark-tagline,
.hero-copy {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.map-topbar h2 {
  max-width: 620px;
  font-size: 28px;
  line-height: 1.22;
  margin-top: 18px;
  word-break: keep-all;   /* 한글 어절 단위 줄바꿈 — '제대/로' 같은 단어 중간 끊김 방지 */
}

/* ── Hero Wordmark ───────────────────────────────────── */
.hero-brand-block {
  flex: 1 1 auto;      /* flex 아이템으로 공간 채움 */
  min-width: 0;        /* flex shrink 버그 방지 */
  display: block;      /* 블록 플로우 — column flex보다 안정적 */
}

.hero-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-wordmark-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.hero-wordmark-text {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.18),
    0 4px 24px rgba(0,0,0,0.32);
}

.hero-wordmark-tagline {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  text-transform: none;
}

/* ── Feature chips ───────────────────────────────────── */
.hero-feature-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(255,255,255,0.93);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 30px;
  padding: 5px 13px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.hero-br { display: none; }
@media (min-width: 900px) {
  .hero-br { display: inline; }
}

.hero-copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  word-break: keep-all;
}

.hero-copy.sub {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-direction: column;   /* 평가 버튼 위 · 매거진 배너 아래로 세로 정렬 */
  align-items: stretch;
  flex: 0 0 300px;          /* 우측 고정 폭 — 좌측 카피가 줄어들고 배너는 상단 우측에 고정 */
  gap: 10px;
}

/* 매거진 배너 — 히어로 우측 상단 디자인 배너 */
.magazine-quick-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 6px;
  width: 100%;
  max-width: 300px;
}

.magazine-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 15px 17px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%),
    rgba(12, 28, 20, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.magazine-banner::before {
  /* 좌측 골드 액센트 바 */
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold), #e3c878);
}

.mag-banner-glow {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 158, 99, 0.45) 0%, rgba(47, 158, 99, 0) 70%);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.magazine-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.magazine-banner:hover .mag-banner-glow {
  transform: scale(1.15);
  opacity: 0.85;
}

.magazine-banner:focus-visible {
  outline: 2px solid #2f9e63;
  outline-offset: 2px;
}

.mag-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mag-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffe7a8;
  text-transform: none;
}

.mag-banner-ico { font-size: 13px; }

.mag-banner-count {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.mag-banner-featured-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8ee0b3;
  margin-top: 2px;
}

.mag-banner-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.mag-banner-title:hover { color: #ffe7a8; }

.mag-banner-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.mag-banner-cat {
  color: #fff;
  font-weight: 700;
}

.mag-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #2f9e63;
  transition: gap 0.18s ease;
}

.magazine-banner:hover .mag-banner-cta { gap: 9px; }

/* 다음 읽을거리 (보조 링크) */
.mag-banner-next {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  transition: background 0.15s ease;
}

.mag-banner-next:hover { background: rgba(255, 255, 255, 0.13); }

.mag-banner-next-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.mag-banner-next-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 매거진 가로 스와이프 카드 스트립 — 옆으로 밀어 여러 편 보기 */
.mag-quick-strip {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mag-quick-strip::-webkit-scrollbar { display: none; }
.mag-quick-card {
  flex: 0 0 auto;
  width: 60%;
  max-width: 230px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  scroll-snap-align: start;
  transition: background 0.15s ease, transform 0.12s ease;
}
.mag-quick-card:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.mag-quick-cat {
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--gold, #e9c45f); text-transform: uppercase;
}
.mag-quick-title {
  font-size: 13px; font-weight: 700; line-height: 1.35; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mag-quick-meta { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

.hero-search {
  max-width: 720px;
  margin-top: 22px;
}

.hero-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.hero-search-box span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-dark);
  font-weight: 900;
}

.hero-search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.hero-search-box input::placeholder {
  color: #6a756f;
}

.hero-search-results {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}

.hero-search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.hero-search-results-header strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.hero-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}

.hero-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.12s, border-color 0.12s;
}

.hero-result-item:hover {
  background: var(--bg);
  border-color: var(--green);
}

.hero-result-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.hero-result-item small {
  font-size: 12px;
  color: var(--muted);
}

.hero-result-item .fee {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-result-arrow {
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.hero-results-more {
  grid-column: 1 / -1;
  padding: 6px 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-search p,
.hero-search-hint {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  min-width: 90px;
}

.hero-proof-item strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.hero-proof-item span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.map-canvas {
  position: relative;       /* 절대위치 → 일반 흐름 */
  width: 100%;
  height: 380px;            /* Leaflet 실지도 — 전국이 보이는 높이 */
  border-radius: 0;
  overflow: hidden;
  background: #eef3f0;
  box-shadow: none;
  z-index: 0;               /* Leaflet 패널이 다른 섹션 위로 새지 않게 */
}
.map-canvas.local-map-no-tiles {
  background:
    linear-gradient(135deg, rgba(31, 126, 91, 0.08), rgba(30, 95, 116, 0.08)),
    #f4f8f5;
}
.map-canvas .leaflet-container {
  width: 100%;
  height: 100%;
  background: #eef3f0;
  font: inherit;
}

/* 마커 위 상시 표시 골프장 이름 라벨 — 가볍고 작게, 클릭은 통과 */
.map-canvas .leaflet-tooltip.map-label {
  background: rgba(255, 255, 255, 0.82);
  border: none;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 81, 50, 0.12);
  padding: 0 4px;
  font-size: 10px;
  line-height: 15px;
  font-weight: 600;
  color: #16321f;
  white-space: nowrap;
  pointer-events: auto;   /* 라벨(코스명) 클릭으로도 상세 열기 */
  cursor: pointer;
}
.map-canvas .leaflet-tooltip.map-label::before {
  display: none; /* 말풍선 꼬리 제거 */
}

.map-landmass {
  position: absolute;
  border: 1px solid rgba(20, 85, 56, 0.14);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.map-landmass.mainland {
  left: 17%;
  top: 12%;
  width: 68%;
  height: 74%;
  border-radius: 46% 54% 42% 48% / 32% 36% 54% 50%;
  transform: rotate(5deg);
}

.map-landmass.jeju-island {
  left: 9%;
  top: 82%;
  width: 22%;
  height: 10%;
  border-radius: 999px;
  transform: rotate(-8deg);
}

.map-command {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 85, 56, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(23, 33, 29, 0.12);
}

.map-command strong {
  color: var(--ink);
  font-size: 14px;
}

.map-command span {
  color: var(--muted);
  font-size: 12px;
}

.home-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);  /* 암묵 auto 컬럼 blowout 방지 */
  gap: 18px;
  padding: 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.home-section,
.review-cta {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-course-card,
.purpose-card,
.standard-grid article {
  min-width: 0;             /* grid blowout 방지 — 트랙 최솟값(0) 존중 */
  overflow: hidden;         /* 내부 콘텐츠 삐져나옴 방지 */
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.home-course-card,
.purpose-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  text-align: left;
}

.home-course-card:hover,
.purpose-card:hover {
  border-color: var(--green);
  box-shadow: 0 10px 26px rgba(23, 33, 29, 0.08);
}

.home-course-card span,
.purpose-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-course-card strong,
.purpose-card strong,
.standard-grid strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.home-course-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.home-card-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.home-card-meta b {
  color: var(--green-dark);
  font-size: 26px;
  line-height: 1;
}

.home-card-meta small {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row em {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.purpose-grid,
.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.standard-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.standard-grid article {
  padding: 14px;
}

.standard-grid p,
.review-cta p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.review-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
}

.review-cta h3 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer p.visitor-counter {
  font-size: 12px;
  color: var(--muted);
}
.site-footer p.visitor-counter b {
  color: var(--green-dark, #1a6b3a);
  font-weight: 800;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-footer button {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.site-footer a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.auth-dialog .form-status {
  min-height: 20px;
  color: var(--accent);
  font-weight: 700;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
  color: var(--ink);
}

.legal-page a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.legal-page h1 {
  margin: 28px 0 18px;
  font-size: 34px;
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.8;
}

.map-road {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: left center;
}

.pin {
  position: absolute;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 7px;
  row-gap: 1px;
  min-width: 112px;
  padding: 7px 8px;
  border: 1px solid rgba(20, 85, 56, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.15);
  color: var(--ink);
  text-align: left;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.pin:hover,
.pin.active {
  z-index: 4;
  border-color: var(--green);
  box-shadow: 0 18px 42px rgba(20, 85, 56, 0.22);
}

.pin b {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
  font-size: 16px;
}

.pin.active b {
  background: var(--rust);
}

.pin span {
  align-self: end;
  max-width: 86px;
  overflow: hidden;
  color: var(--green-dark);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pin small {
  align-self: start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.map-region-label {
  position: absolute;
  z-index: 2;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  transform: translate(-50%, -50%);
}

.detail-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.detail-hero,
.analysis-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.real-fee-panel {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

/* 내부 섹션 타이틀 (접힌 바디 안 h3) */
.inner-section-title {
  padding-top: 4px;
  margin-bottom: 10px;
}

.real-fee-list {
  display: grid;
  gap: 12px;
}

.real-fee-deal-card {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid #b8dec4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f3fbf5, #fff);
}

.real-fee-deal-card.muted {
  border-color: var(--line);
  background: var(--surface);
}

.real-fee-deal-card span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.real-fee-deal-card strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.real-fee-deal-card p,
.real-fee-deal-card small {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.real-fee-deal-card a {
  color: var(--green-dark);
  font-weight: 850;
}

.data-trust-panel {
  margin: 16px 0 18px;
  padding: 16px;
  border: 1px solid #d8eadf;
  border-radius: var(--radius);
  background: #fbfefd;
}

.data-trust-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.data-trust-head div {
  display: grid;
  gap: 3px;
}

.data-trust-head span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.data-trust-head strong {
  color: var(--ink);
  font-size: 16px;
}

.data-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.data-trust-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.data-trust-grid span,
.data-trust-grid small {
  color: var(--muted);
  font-size: 11.5px;
}

.data-trust-grid strong {
  color: var(--ink);
  font-size: 20px;
}

.data-trust-note {
  margin: 10px 0 0;
  color: #7c5b13;
  font-size: 12.5px;
  line-height: 1.5;
}

.data-trust-note.good {
  color: var(--muted);
}

.correction-dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  max-width: 520px;
  width: min(92vw, 520px);
  box-shadow: var(--shadow-strong);
}

.correction-dialog::backdrop {
  background: rgba(0, 0, 0, .35);
}

.correction-dialog-inner {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
}

.correction-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.correction-dialog label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.correction-dialog select,
.correction-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
}

.correction-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.price-evidence-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.price-evidence-legend span {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.price-evidence-legend b {
  color: var(--ink);
  font-size: 12px;
}

.real-fee-ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 110px 130px;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.real-fee-notice {
  padding: 10px 12px;
  border: 1px solid #efdca4;
  border-radius: var(--radius);
  background: #fff9e8;
  color: #7c5b13;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.real-fee-notice.muted {
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}

.real-fee-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.real-fee-summary.compact {
  padding-top: 2px;
}

.real-fee-summary div,
.real-fee-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.real-fee-summary div {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.real-fee-summary span,
.real-fee-row span,
.real-fee-summary small {
  color: var(--muted);
  font-size: 12px;
}

.real-fee-summary strong {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.real-fee-rows {
  display: grid;
  gap: 8px;
}

.real-fee-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 110px 130px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.real-fee-row > div:first-child {
  display: grid;
  gap: 4px;
}

.real-fee-row strong,
.real-fee-row b {
  color: var(--ink);
  font-size: 18px;
}

.real-fee-row b {
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1;
  text-align: right;
}

.real-fee-row em {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
}

.real-fee-row em.public-signal {
  background: #fff7e0;
  color: #7c5b13;
}

.real-fee-source-cell {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.real-fee-source-cell a,
.real-fee-source-cell span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.real-fee-source-cell a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.real-fee-row.empty {
  grid-template-columns: minmax(0, 1.3fr) 110px 130px;
  background: var(--surface);
}

.real-fee-range {
  color: var(--muted);
}

.unlock-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.verdict-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--surface-tint-gold);
  border-color: rgba(178, 138, 46, 0.28);
}

.verdict-panel h3 {
  margin-bottom: 6px;
}

.verdict-panel h3.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.verdict-toggle {
  margin-top: 6px;
  padding: 0;
  background: none;
  border: none;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.verdict-toggle:hover {
  text-decoration: underline;
}

.verdict-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.verdict-panel blockquote {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.5;
}

.verdict-panel blockquote.empty-quote {
  color: var(--muted);
  font-weight: 700;
}

.score-mix {
  display: grid;
  gap: 8px;
  min-width: 170px;
}

.score-mix span {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.photo-strip-panel {
  padding: 16px;
  background: var(--panel);
  border-color: var(--line);
}

.photo-strip {
  margin-top: 14px;
}

.photo-strip-row,
.photo-strip-more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.photo-strip-more {
  margin-top: 10px;
}

.photo-more-fold {
  margin-top: 10px;
}

.photo-more-fold summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.photo-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.photo-tile img {
  width: 100%;
  height: 82px;
  object-fit: cover;
}

.photo-tile span,
.empty-gallery {
  display: block;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.empty-gallery {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

/* 에디터 방문기 사진 구분 레이블 */
.photo-tile[data-source="editorial"] span {
  color: var(--green-dark);
  font-weight: 600;
}

/* 사진 타일 — 클릭 가능 */
.photo-tile {
  cursor: pointer;
}
.photo-tile:hover img {
  opacity: 0.88;
  transform: scale(1.03);
  transition: opacity 0.15s, transform 0.15s;
}
.photo-tile img {
  transition: opacity 0.15s, transform 0.15s;
}

@media (max-width: 520px) {
  .photo-strip-row,
  .photo-strip-more {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .photo-tile img {
    height: 62px;
  }

  .photo-tile span {
    padding: 7px 5px;
    font-size: 10px;
  }
}

/* ── 사진 라이트박스 ──────────────────────────────────── */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.photo-lightbox[hidden] { display: none; }

.plb-img-wrap {
  max-width: min(90vw, 900px);
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plb-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.plb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

.plb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.plb-close:hover { background: rgba(255,255,255,0.28); }

.plb-prev,
.plb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 48px;
  height: 64px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plb-prev { left: 12px; }
.plb-next { right: 12px; }
.plb-prev:hover,
.plb-next:hover { background: rgba(255,255,255,0.28); }

@media (max-width: 600px) {
  .plb-prev { left: 4px; }
  .plb-next { right: 4px; }
}

.unlock-panel h3 {
  margin-bottom: 6px;
}

.unlock-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reward-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.reward-steps span {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.score-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.score-stat {
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.score-stat span,
.round-item span,
.round-item small,
.ranking-list small {
  color: var(--muted);
  font-size: 12px;
}

.score-stat strong {
  display: block;
  margin: 7px 0 2px;
  font-size: 24px;
}

.round-list,
.ranking-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.round-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.round-item > strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
  font-size: 20px;
}

.round-item span,
.round-item small {
  display: block;
}

.ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ranking-list {
  padding-left: 0;
  list-style: none;
}

.ranking-card-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: start;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.ranking-card > span,
.ranking-card > b {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--green-dark);
  font-weight: 900;
}
.ranking-card > b { padding: 0 8px; }
.ranking-card > b .rank-unit {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 1px;
}

.ranking-card strong,
.ranking-card small,
.ranking-card p {
  display: block;
}

.ranking-card small,
.ranking-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.ranking-list li.me {
  border-color: rgba(31, 122, 77, 0.35);
  background: #edf6ef;
}

.ranking-list li > span {
  color: var(--green-dark);
  font-weight: 900;
}

.detail-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.score-block {
  display: grid;
  min-width: 150px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
  text-align: center;
}

.score-block span,
.score-block small {
  opacity: 0.78;
  font-size: 12px;
  font-weight: 800;
}

.score-block strong {
  font-size: 48px;
  line-height: 1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.share-row span {
  color: var(--muted);
  font-size: 13px;
}

.metric {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  font-size: 22px;
  white-space: nowrap;
}

.bar-track {
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-strong);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.metric.price .bar-fill {
  background: var(--gold);
}

.metric.weekend .bar-fill {
  background: var(--rust);
}

.metric.pace .bar-fill {
  background: var(--blue);
}

.metric.value .bar-fill {
  background: #5f8f45;
}

.metric.ev .bar-fill {
  background: #457b9d;
}

.metric.web .bar-fill {
  background: var(--green-dark);
}

.metric small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notice {
  margin: 14px 0;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.source-policy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.web-source-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 12px 0 8px;
}

.web-source-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.web-source-status {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.source-policy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.source-policy strong {
  width: 100%;
  color: var(--green-dark);
  font-size: 12px;
}

.source-policy span {
  padding: 5px 7px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.web-note-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.web-note {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.empty-web-notes {
  padding: 13px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.web-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.web-note strong {
  color: var(--green-dark);
  font-size: 12px;
}

.web-note-head span {
  padding: 4px 7px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.web-note p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.reputation-card {
  border-left: 4px solid var(--green);
}
.reputation-card.price-signal {
  border-left-color: #e07c00;
  background: #fffbf5;
}
.reputation-card.price-signal .web-note-title::before {
  content: "₩ ";
  color: #e07c00;
  font-weight: 900;
}

.web-note-title {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.web-note-tip {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.web-note-summary {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.web-note-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.web-note-link:hover { text-decoration: underline; }

.synth-source-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #087f5b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.synth-source-link:hover {
  text-decoration: underline;
}

/* ── 네이버 지도 진입점 ─────────────────────────────────────────── */
.naver-place-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(3, 199, 90, 0.35);
  border-radius: 12px;
  background: rgba(3, 199, 90, 0.06);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.naver-place-link:hover {
  background: rgba(3, 199, 90, 0.12);
  border-color: rgba(3, 199, 90, 0.55);
}
.naver-place-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #03c75a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.naver-place-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.naver-place-text strong { font-size: 13px; color: var(--ink); }
.naver-place-text small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.naver-place-arrow { margin-left: auto; color: #03c75a; font-weight: 800; }

/* ── 객관 데이터 카드 (표본수·출처 배지 · 허수 방지) ─────────────── */
.objective-data {
  margin: 18px 0 4px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-low);
}
.od-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.od-head h3 { margin: 0; font-size: var(--fs-md); color: var(--ink); letter-spacing: -0.01em; }
.od-disclaimer { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.od-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.od-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 12px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.od-label { font-size: var(--fs-sm); color: var(--ink); opacity: 0.65; font-weight: 600; }
.od-value { font-size: 22px; color: var(--ink); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.od-sub { font-size: var(--fs-xs); color: var(--muted); }
.od-badge {
  margin-top: 5px;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
}
.od-badge.od-verified { background: var(--surface-tint-green); color: var(--green-dark); }
.od-badge.od-soft     { background: var(--surface-tint-blue);  color: var(--blue); }
.od-badge.od-empty    { background: var(--surface-strong);     color: var(--muted); }
.od-naver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #03873f;
  text-decoration: none;
}
.od-naver:hover { text-decoration: underline; }
.od-naver-n {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: #03c75a; color: #fff;
  border-radius: 5px; font-weight: 900; font-size: 11px;
}

/* ── 실그린피 신뢰 카드 (호갱노노 실거래가 박스) ───────────────────── */
.real-greenfee-card {
  margin: 16px 0 4px;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-low);
}
.rg-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.rg-title { font-size: var(--fs-md); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 6px; }
.rg-sub { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.rg-rel { padding: 3px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 800; line-height: 1.5; }
.rg-rel.rg-high { background: var(--surface-tint-green); color: var(--green-dark); }
.rg-rel.rg-mid  { background: var(--surface-tint-blue);  color: var(--blue); }
.rg-rel.rg-low  { background: var(--surface-strong);     color: var(--muted); }
.rg-prices { display: flex; gap: 22px; margin-bottom: 10px; }
.rg-price { display: flex; flex-direction: column; gap: 2px; }
.rg-price span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.rg-price strong { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; }
.rg-price small { max-width: 220px; color: var(--ink-soft, var(--ink)); opacity: 0.82; font-size: 11px; font-weight: 700; line-height: 1.35; }
.rg-deal {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f8f3;
  border: 1px solid rgba(20, 125, 73, 0.18);
  display: grid;
  gap: 3px;
}
.rg-deal-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--green-dark, var(--green));
}
.rg-deal strong {
  font-size: 28px;
  line-height: 1;
  color: var(--green-dark, var(--green));
}
.rg-deal small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.rg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rg-tier { padding: 2px 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 800; line-height: 1.6; }
.rg-tier.rg-cheap  { background: var(--surface-tint-green); color: var(--green-dark); }
.rg-tier.rg-pricey { background: var(--surface-tint-rust, #fbeae6); color: var(--rust, #b8472b); }
.rg-tier.rg-level  { background: var(--surface-strong); color: var(--muted); }
.rg-sample, .rg-disc { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.rg-disc { color: var(--ink); opacity: 0.7; }
.rg-guard { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--rust, #b8472b); line-height: 1.5; }
.rg-source { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

.trust-alert-card {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #f2d3a6;
  background: #fff8ec;
  color: var(--ink);
}
.trust-alert-card strong {
  display: block;
  margin: 4px 0 5px;
  font-size: 15px;
  line-height: 1.4;
}
.trust-alert-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}
.trust-alert-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.trust-alert-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5dfb8;
  color: #8a6410;
  font-size: 11px;
  font-weight: 800;
}

/* ── 동급 포지셔닝 카드 (상세) ──────────────────────────────────── */
.peer-position-card {
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.pp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pp-title { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.pp-scope { font-size: var(--fs-xs); color: var(--muted); }
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 0; }
.pp-stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border-radius: 10px; background: var(--surface-strong, #f4f6f3);
  border: 1px solid transparent;
}
.pp-stat.pp-good { background: var(--surface-tint-green, #eaf4ee); border-color: rgba(31,122,77,.25); }
.pp-stat.pp-low { background: var(--surface-tint-rust, #fbeae6); border-color: rgba(184,71,43,.2); }
.pp-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.pp-rank { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1; }
.pp-rank span { font-size: 11px; font-weight: 600; margin-left: 1px; color: var(--muted); }
.pp-rank .pp-of { font-size: 12px; font-weight: 600; margin-left: 2px; color: var(--muted); opacity: 0.7; }
.pp-stat.pp-good .pp-rank { color: var(--green-dark, var(--green)); }
.pp-stat.pp-good .pp-rank .pp-of { color: var(--muted); }
.pp-sub { font-size: 10px; color: var(--muted); text-align: center; }
.pp-source { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* 동급 포지셔닝 — 상위 구장 펼쳐보기 */
.pp-top { margin: 10px 0 0; }
.pp-top > summary {
  cursor: pointer; list-style: none; font-size: var(--fs-xs); font-weight: 700;
  color: var(--green-dark, var(--green)); padding: 7px 10px; border-radius: 8px;
  background: var(--surface-strong, #f4f6f3); display: inline-flex; align-items: center; gap: 5px;
}
.pp-top > summary::-webkit-details-marker { display: none; }
.pp-top > summary::after { content: "▾"; font-size: 10px; opacity: .7; }
.pp-top[open] > summary::after { content: "▴"; }
.pp-top-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 0; }
.pp-top-label { display: block; font-size: 11px; font-weight: 700; color: var(--ink); margin: 0 0 5px; }
.pp-top-label small { font-weight: 500; color: var(--muted); font-size: 9.5px; }
.pp-top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-top-list li { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink); padding: 3px 5px; border-radius: 6px; }
.pp-top-list .pp-tn { width: 15px; text-align: center; font-weight: 700; color: var(--muted); flex: none; }
.pp-top-list .pp-tname { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-top-list .pp-tlink {
  background: none; border: none; padding: 0; margin: 0; font: inherit; text-align: left;
  color: var(--green-dark, var(--green)); cursor: pointer; text-decoration: underline;
  text-decoration-color: rgba(31,122,77,.3); text-underline-offset: 2px;
}
.pp-top-list .pp-tlink:hover { text-decoration-color: currentColor; }
.pp-top-list .pp-tval { flex: none; font-size: 10px; color: var(--muted); }
.pp-top-list li.pp-me { background: var(--surface-tint-green, #eaf4ee); font-weight: 700; }
.pp-top-list li.pp-me .pp-tn { color: var(--green-dark, var(--green)); }
.pp-top-list li.pp-me-tail { margin-top: 3px; border-top: 1px dashed rgba(0,0,0,.12); border-radius: 0 0 6px 6px; }
@media (max-width: 640px) { .pp-top-grid { grid-template-columns: 1fr; } }

/* ── 이 가격이면 어디? — 예산 탐색 코너 (홈) ───────────────────── */
.bf-controls { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
.bf-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-region-row { padding-top: 2px; border-top: 1px dashed var(--line); margin-top: 2px; }
.bf-day-row { padding-top: 2px; }
.bf-chip {
  padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--ink); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.bf-chip:hover { border-color: var(--green); }
.bf-chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.bf-result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bf-card {
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.bf-card:hover { border-color: var(--green); box-shadow: 0 4px 14px rgba(31,122,77,.12); }
.bf-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.bf-card-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.bf-card-region { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.bf-card-price { display: flex; align-items: center; gap: 8px; }
.bf-price-num { font-size: 20px; font-weight: 800; color: var(--green-dark, var(--green)); }
.bf-tier { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.bf-tier.bf-cheap { background: var(--surface-tint-green, #eaf4ee); color: var(--green-dark, var(--green)); }
.bf-tier.bf-pricey { background: var(--surface-tint-rust, #fbeae6); color: var(--rust, #b8472b); }
.bf-tier.bf-level { background: var(--surface-strong, #f4f6f3); color: var(--muted); }
.bf-card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); }
.bf-card-meta .bf-rel { margin-left: auto; }
.bf-empty { font-size: 12.5px; color: var(--muted); padding: 18px 4px; text-align: center; }
@media (max-width: 600px) {
  .bf-result-grid { grid-template-columns: 1fr 1fr; }
  .pp-rank { font-size: 19px; }
}

/* ── 구글맵 개별 리뷰 카드 (방문자 후기 토픽별 정리 섹션) ──────── */
.gmap-reviews-block { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.gmap-reviews-heading { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.gmap-review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.gr-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.gr-stars { color: #f5a623; font-size: 13px; }
.gr-stars-empty { color: #ddd; }
.gr-date { font-size: 11px; color: var(--muted); }
.gr-text { font-size: 13px; line-height: 1.6; color: var(--ink); margin: 0; white-space: pre-wrap; word-break: break-word; }
.gmap-reviews-more { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--accent); text-decoration: none; }
.gmap-reviews-more:hover { text-decoration: underline; }
.yt-empty { font-size: 13px; color: var(--muted); padding: 16px 0; }

/* ── YouTube 썸네일 그리드 ──────────────────────────────────────── */
.yt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.yt-grid-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(220, 0, 0, 0.15);
  background: #fff9f9;
  transition: box-shadow 0.15s;
}
.yt-grid-card:hover { box-shadow: 0 4px 16px rgba(200, 0, 0, 0.18); }
.yt-grid-thumb-wrap {
  position: relative;
  line-height: 0;
}
.yt-grid-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #eee;
}
.yt-grid-card .yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-grid-card:hover .yt-play-btn { background: #ff0000; }
.yt-grid-title {
  padding: 6px 8px 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-grid-date {
  padding: 2px 8px 6px;
  font-size: 11px;
  color: var(--muted);
}

/* ── YouTube card ──────────────────────────────────────────────── */
.yt-card {
  border-left-color: #ff0000;
  background: #fff9f9;
}
.yt-feature-card {
  padding: 0;
  border: 1px solid rgba(220, 0, 0, 0.18);
  border-left: 4px solid #ff0000;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(33, 20, 20, 0.08);
}
.yt-feature-card .web-note-head,
.yt-feature-card .web-note-title,
.yt-feature-card blockquote,
.yt-feature-card .web-note-summary,
.yt-feature-card .web-note-link {
  margin-left: 12px;
  margin-right: 12px;
}
.yt-feature-card .web-note-head {
  margin-top: 12px;
}
.yt-thumb-wrap {
  display: block;
  position: relative;
  margin: 8px 0;
  border-radius: 7px;
  overflow: hidden;
  line-height: 0;
}
.yt-feature-card .yt-thumb-wrap {
  margin: 0;
  border-radius: 0;
}
.yt-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #eee;
}
.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-thumb-wrap:hover .yt-play-btn { background: #ff0000; }
.yt-card .web-note-head strong { color: #cc0000; }
.yt-feature-card .web-note-title {
  font-size: 15px;
}
.yt-feature-card .web-note-link {
  display: inline-flex;
  margin-bottom: 12px;
}

/* ── Google Maps card ──────────────────────────────────────────── */
.gmap-card { border-left-color: #4285f4; background: #f8fbff; }
.gmap-card .web-note-head strong { color: #1a73e8; }
.gmap-stars {
  display: inline-block;
  margin-right: 5px;
  color: #fbbc04;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
}
.gmap-stars .gmap-stars-empty { color: #d0d0d0; }

/* ── Google Maps 종합평점 카드 ─────────────────────────────────── */
.gmap-rating-card { padding: 13px 14px; }
.gmap-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 8px;
}
.gmap-rating-score {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1a73e8;
  line-height: 1;
  min-width: 52px;
}
.gmap-rating-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gmap-rating-bar-wrap {
  height: 7px;
  background: #e0e8ff;
  border-radius: 4px;
  overflow: hidden;
}
.gmap-rating-bar {
  height: 100%;
  background: #4285f4;
  border-radius: 4px;
  transition: width .4s ease;
}
.gmap-rating-stars {
  color: #fbbc04;
  font-size: 15px;
  letter-spacing: 1px;
}
.gmap-rating-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.web-signal-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 14px;
  margin: 0 0 12px;
  border: 1px solid rgba(47, 158, 99, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbf8 0%, #eef7f1 100%);
}
.web-signal-summary strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  color: #173f2b;
}
.web-signal-summary span {
  font-size: 12px;
  color: var(--muted);
}
.web-signal-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 190px;
}
.web-signal-chips span,
.web-rep-chips em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(47, 158, 99, 0.18);
  color: #2b6545;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.web-signal-chips b {
  color: var(--green-dark, #1f7a4d);
}
.web-reputation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.web-rep-card {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-left: 4px solid #6b8f7a;
  border-radius: 8px;
  background: #fff;
}
.web-rep-card.has-price {
  border-left-color: #c8960c;
  background: #fffaf0;
}
.web-rep-card.rating {
  border-left-color: #4285f4;
  background: #f8fbff;
}
.web-rep-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.web-rep-source,
.web-rep-fresh {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 850;
}
.web-rep-source {
  background: #edf3ee;
  color: #276442;
}
.web-rep-fresh.fresh { background: #e7f6ed; color: #12733f; }
.web-rep-fresh.ok { background: #eef4ff; color: #2d5fba; }
.web-rep-fresh.stale { background: #f5eee8; color: #986132; }
.web-rep-fresh.unknown { background: #f1f1ef; color: #777; }
.web-rep-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
}
.web-rep-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}
.web-rep-quote,
.web-rep-summary {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
}
.web-rep-quote {
  color: #1c3d2b;
  font-weight: 750;
}
.web-rep-summary {
  color: var(--muted);
}
.web-rep-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green-dark, #1f7a4d);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.web-rep-card a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .web-signal-summary {
    flex-direction: column;
  }
  .web-signal-chips {
    justify-content: flex-start;
    min-width: 0;
  }
  .web-reputation-grid {
    grid-template-columns: 1fr;
  }
}

.web-note blockquote {
  margin: 8px 0;
  padding: 9px 10px;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: #edf6ef;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.source-status {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 7px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 850;
}

.source-status.included {
  background: #e6f2eb;
  color: var(--green-dark);
}

.source-status.excluded {
  background: #f6ece7;
  color: var(--rust);
}

.web-note small {
  display: block;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.web-note a {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.web-note .yt-thumb-wrap {
  display: block;
  width: 100%;
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: 0;
}

.keyword-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.provider-review {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.provider-review > strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
}

.provider-review p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.provider-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.provider-columns > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.provider-columns span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-tags em {
  padding: 6px 8px;
  border-radius: var(--radius);
  background: #e6f2eb;
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

ul {
  margin: 9px 0 0;
  padding-left: 18px;
}

li {
  margin: 7px 0;
  line-height: 1.45;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.review-photo {
  display: block;
  width: 100%;
  height: 160px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  object-fit: cover;
}

.review strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.trust-badges em {
  padding: 4px 7px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

/* 섹션 접이식(상세 위계 정리) — 무거운 보조 섹션은 기본 접힘 */
.section-fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
}
.section-fold > summary::-webkit-details-marker { display: none; }
.section-fold[open] > summary .toggle-chevron { transform: rotate(180deg); }
.section-fold .toggle-chevron { transition: transform 0.18s ease; }

/* 후기 카드 — 타수·체감 난이도 (난이도 실데이터) */
.review-score-diff {
  display: inline-block;
  margin-top: 3px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
}

/* 인증 배지 */
.verified-receipt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #e8f5ee, #d0eed9);
  border: 1px solid #76c795;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #1a6b3a;
}
.verified-photo {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #f0f6fb;
  border: 1px solid #aacef5;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #2e6f96;
}

.review span,
.review p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ── 인증 골퍼 등급제 ── */
.review strong {
  flex-wrap: wrap;
  align-items: center;
}
.review-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink, #1d2a23);
  font-size: 13px;
  font-weight: 800;
}
.golfer-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid transparent;
}
.golfer-tier-badge.tier-1 { background: #eef4f0; color: #4b6b58; border-color: #d6e6dc; }
.golfer-tier-badge.tier-2 { background: #eef3fb; color: #2e6f96; border-color: #c7ddf3; }
.golfer-tier-badge.tier-3 { background: #f3eefb; color: #6b3fa0; border-color: #ddccf2; }
.golfer-tier-badge.tier-4 { background: #fdf1e6; color: #c06a16; border-color: #f5d6b0; }
.golfer-tier-badge.tier-5 {
  background: linear-gradient(135deg, #fff4d6, #ffe39a);
  color: #8a5a00;
  border-color: #e9c45f;
  box-shadow: 0 1px 4px rgba(201, 156, 36, 0.25);
}
.review.review-featured {
  border-color: #c9ddd0;
  background: linear-gradient(180deg, #fbfdfc, var(--surface));
  box-shadow: 0 2px 10px rgba(40, 110, 70, 0.06);
}

/* 작성자 버튼 (프로필 진입) */
button.review-author {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
button.review-author:hover { text-decoration: underline; }

/* 배지 아이콘 (카드) */
.golfer-badges { display: inline-flex; gap: 2px; margin-left: 4px; }
.golfer-badge-icon { font-size: 12px; line-height: 1; cursor: help; }

/* 도움돼요 버튼 */
.review-actions { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.helpful-proof {
  font-size: var(--fs-xs, 11px);
  color: var(--green-dark);
  background: rgba(31, 122, 77, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
}
.helpful-proof b { font-weight: 800; }
.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid var(--line, #e3ece7);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark, #1a6b3a);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.helpful-btn:hover { background: #eef7f1; border-color: #9fcdb2; }
.helpful-btn.voted { background: #e8f5ee; border-color: #76c795; cursor: default; opacity: 0.85; }
.helpful-count {
  background: var(--green, #0a7a44);
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11px;
}

/* 공개 프로필 (진열장) */
.reviewer-profile-dialog { width: min(560px, calc(100vw - 32px)); }
.reviewer-profile { padding: 4px 2px; }
.profile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.profile-head h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 0; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  background: #f6faf8;
  border: 1px solid var(--line, #e3ece7);
  border-radius: 10px;
}
.profile-stat b { font-size: 18px; color: var(--green-dark, #1a6b3a); }
.profile-stat span { font-size: 11px; color: var(--muted, #6b7c73); text-align: center; }
.profile-progress {
  padding: 9px 12px;
  background: #eef7f1;
  border-radius: 10px;
  font-size: 13px;
  color: var(--green-dark, #1a6b3a);
  margin-bottom: 16px;
}
.profile-section-title { font-size: 13px; font-weight: 800; margin: 14px 0 8px; color: var(--ink, #1d2a23); }
/* ── 배지 진열장 (카탈로그형: 카테고리·등급·실루엣·대표지정) ── */
.badge-cabinet { display: flex; flex-direction: column; gap: 14px; max-height: 48vh; overflow-y: auto; padding-right: 4px; }
.badge-cat-title { font-size: 12px; font-weight: 800; color: var(--ink, #1d2a23); margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.badge-cat-title small { font-weight: 700; color: var(--muted, #6b7c73); font-size: 11px; }
.badge-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.badge-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 5px 9px;
  border: 1px solid var(--line, #e3ece7);
  border-radius: 11px;
  background: #fafbfa;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s, box-shadow 0.12s;
}
.badge-slot:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(20, 50, 35, 0.12); }
.badge-slot.locked { opacity: 0.45; filter: grayscale(0.85); }
.badge-slot.locked .badge-slot-icon { filter: grayscale(1) brightness(1.4); }
.badge-slot-icon { font-size: 22px; line-height: 1; }
.badge-slot-label { font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--ink, #1d2a23); }
.badge-slot-grade { font-size: 9px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; }
/* 등급 색 (Common < Rare < Epic < Legendary < Mythic) */
.grade-common.owned   { border-color: #cdd8d1; background: linear-gradient(180deg, #fbfdfc, #fff); }
.grade-common .badge-slot-grade { color: #7d8a83; }
.grade-rare.owned     { border-color: #8fc3e6; background: linear-gradient(180deg, #f1f8fd, #fff); }
.grade-rare .badge-slot-grade { color: #2e7fb8; }
.grade-epic.owned     { border-color: #c39be8; background: linear-gradient(180deg, #f7f1fd, #fff); }
.grade-epic .badge-slot-grade { color: #8a45c9; }
.grade-legendary.owned { border-color: #efc14e; background: linear-gradient(180deg, #fdf8e8, #fff); box-shadow: 0 0 0 1px rgba(239, 193, 78, 0.25) inset; }
.grade-legendary .badge-slot-grade { color: #c9920f; }
.grade-mythic.owned {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, #ff7a59, #ffb347, #d94f9e, #845ec2);
  background-size: 300% 300%; animation: mythicShimmer 4s ease infinite;
}
.grade-mythic.owned .badge-slot-label, .grade-mythic.owned .badge-slot-grade { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
@keyframes mythicShimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
/* 대표 배지 지정 표시 */
.badge-slot.rep { box-shadow: 0 0 0 2px var(--green, #0a7a44); }
.badge-rep-pin {
  position: absolute; top: -7px; right: -5px;
  background: var(--green, #0a7a44); color: #fff;
  font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.rep-hint { font-size: 11px; font-weight: 600; color: var(--muted, #6b7c73); }
/* 리뷰/댓글 카드 — 대표 배지 아이콘 등급색 테두리 */
.golfer-badge-icon.grade-rare { text-shadow: 0 0 4px rgba(46, 127, 184, 0.45); }
.golfer-badge-icon.grade-epic { text-shadow: 0 0 4px rgba(138, 69, 201, 0.5); }
.golfer-badge-icon.grade-legendary { text-shadow: 0 0 5px rgba(201, 146, 15, 0.6); }
.golfer-badge-icon.grade-mythic { text-shadow: 0 0 6px rgba(217, 79, 158, 0.7); }
/* 배지 획득 토스트 애니메이션 */
@keyframes badgePop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.badge-unlock-toast {
  animation: badgePop 0.5s cubic-bezier(0.22, 1.3, 0.5, 1) both;
  display: flex; align-items: center; gap: 11px;
  background: linear-gradient(135deg, #133a26, #1f7a4d); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.badge-unlock-icon { font-size: 30px; line-height: 1; flex-shrink: 0; }
.badge-unlock-icon.grade-legendary { text-shadow: 0 0 8px rgba(239, 193, 78, 0.9); }
.badge-unlock-icon.grade-mythic { text-shadow: 0 0 10px rgba(255, 160, 200, 0.95); }
.badge-unlock-text { font-size: 13px; line-height: 1.35; }
.badge-unlock-text b { font-size: 12px; opacity: 0.92; font-weight: 800; }
.badge-unlock-text small { opacity: 0.75; }

/* 배지 컬렉터 랭킹 */
.hof-badge-ranking { display: flex; flex-direction: column; gap: 6px; }
.hof-badge-row .hof-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hof-badge-rare { display: inline-flex; gap: 6px; font-size: 10px; font-weight: 800; }
.hof-badge-rare .grade-mythic { color: #d94f9e; }
.hof-badge-rare .grade-legendary { color: #c9920f; }
.hof-badge-rare .grade-epic { color: #8a45c9; }
.hof-points small { font-weight: 600; color: var(--muted, #6b7c73); }
.profile-courses { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-course-chip {
  padding: 4px 10px;
  background: #eef4f0;
  border-radius: 999px;
  font-size: 12px;
  color: var(--green-dark, #1a6b3a);
}
@media (max-width: 520px) {
  .profile-stats { grid-template-columns: repeat(3, 1fr); }
  .badge-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .badge-slot-label { font-size: 10px; }
}

.review-dialog {
  width: min(680px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-dialog::backdrop {
  background: rgba(23, 33, 29, 0.45);
}

.review-form {
  display: grid;
  gap: 16px;
}

.credit-preview {
  padding: 12px;
}

/* ── 핵심 5축 블록: 골퍼가 궁금한 것만 크게 ── */
.core-axes {
  display: grid;
  gap: 14px;
  padding: 15px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1.5px solid rgba(31, 122, 77, 0.28);
  box-shadow: var(--shadow-low);
}
.core-axes-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.core-axes .core-date,
.core-axes .core-revisit {
  display: grid;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
}
.core-slider {
  display: grid;
  gap: 6px;
}
.core-slider-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
}
.core-slider-head em {
  margin-left: auto;
  font-style: normal;
  font-weight: 800;
  font-size: var(--fs-sub);
  color: var(--green-dark);
  min-width: 18px;
  text-align: right;
}
.core-slider input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}
.core-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.core-slider-scale i { font-style: normal; }

/* ── 내 스코어 & 체감 난이도 (난이도 실데이터 수집) ── */
.score-difficulty {
  display: grid;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1.5px solid rgba(31, 122, 77, 0.18);
  box-shadow: var(--shadow-low);
}
.score-difficulty-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.score-difficulty-title small {
  font-weight: 500;
  color: var(--muted);
}
.sd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sd-field {
  display: grid;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 540px) {
  .sd-grid { grid-template-columns: 1fr; }
}

/* 컨디션 카드 — 코스 컨디션 옆 그린스피드 통합 표기 */
.vmetric .vm-gs {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── 추가 정보 접이식 ── */
.review-more {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 14px;
}
.review-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-more > summary::-webkit-details-marker { display: none; }
.review-more > summary::before {
  content: "＋";
  font-weight: 800;
  color: var(--green);
}
.review-more[open] > summary::before { content: "－"; }
.review-more[open] > summary { border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.review-more > *:last-child { margin-bottom: 14px; }

.form-grid,
.rating-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.review-form label {
  display: grid;
  gap: 7px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  color: var(--ink);
}

.photo-upload {
  padding: 12px;
  border: 1px dashed rgba(31, 122, 77, 0.36);
  border-radius: var(--radius);
  background: #f8fbf8;
}

.photo-upload span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.photo-preview {
  display: grid;
  min-height: 80px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.photo-preview img {
  width: 100%;
  max-height: 220px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.photo-preview .text-button {
  margin: 10px;
  justify-self: end;
}

.proof-box {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(31, 122, 77, 0.25);
  border-radius: var(--radius);
  background: #f8fbf8;
}

.proof-box legend {
  padding: 0 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.proof-box label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.proof-box input {
  width: auto;
}

.proof-box span {
  color: var(--muted);
  font-size: 12px;
}

.comment-hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tag-picker legend {
  padding: 0 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.tag-picker label {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tag-picker label:hover {
  border-color: var(--green);
}

/* 선택된 태그 — 녹색 칩으로 명확히 구분 (.chip.active와 동일 언어) */
.tag-picker label:has(input:checked) {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tag-picker input {
  width: auto;
  accent-color: var(--green);
}

.feedback-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.feedback-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.feedback-form textarea,
.feedback-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  color: var(--ink);
}

.feedback-form button,
.feedback-form .web-source-status {
  grid-column: 1 / -1;
}

.admin-review-list {
  display: grid;
  gap: 10px;
  max-height: 62vh;
  overflow: auto;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-metrics div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-metrics strong,
.admin-metrics span {
  display: block;
}

.admin-metrics strong {
  color: var(--green-dark);
  font-size: 22px;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 11px;
}

.admin-feedback-list {
  display: grid;
  gap: 8px;
}

.admin-feedback-list h4 {
  margin: 6px 0 0;
}

.collector-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.collector-actions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-green-fee-list {
  display: grid;
  gap: 10px;
}

.admin-subtitle > span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

.fee-signal.needs_review {
  border-color: #efdca4;
}

.fee-signal.approved {
  opacity: 0.68;
}

.text-button.danger {
  color: var(--rust);
}

.admin-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-review span,
.admin-review p {
  display: block;
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.data-source-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* ── 코스 구성 (27/36/45홀 구장 코스별 안내) ── */
.course-layout {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line, #e3e7e1);
  border-radius: 12px;
  background: var(--surface-soft, #f6f8f4);
}
.course-layout .cl-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink, #20271f);
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-layout .cl-holes {
  font-size: 12px;
  font-weight: 600;
  color: var(--green, #2f7d4f);
  background: rgba(47, 125, 79, 0.1);
  padding: 1px 8px;
  border-radius: 999px;
}
.course-layout .cl-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 6px;
}
.course-layout .cl-group:first-of-type { margin-top: 0; }
.course-layout .cl-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.course-layout .cl-tag.member { color: #8a5a00; background: rgba(214, 158, 46, 0.16); }
.course-layout .cl-tag.public { color: #2f7d4f; background: rgba(47, 125, 79, 0.14); }
.course-layout .cl-names {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.course-layout .cl-names em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink, #20271f);
  background: #fff;
  border: 1px solid var(--line, #e3e7e1);
  padding: 2px 9px;
  border-radius: 999px;
}
.course-layout .cl-nonames {
  font-size: 12px;
  color: var(--muted);
}
.course-layout .cl-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.course-layout .cl-course {
  padding: 9px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.course-layout .cl-course:first-of-type { border-top: 0; padding-top: 2px; }
.course-layout .cl-cname {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 3px;
}
.course-layout .cl-cdesc {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);  /* auto(min-content) 금지 → 넓은 자식이 컬럼을 늘려 화면 잘리는 문제 차단 */
    height: auto;             /* 모바일에선 세로 스택 — 높이 제한 해제 */
    overflow-x: hidden;       /* 잔여 가로 넘침 방지 */
  }

  /* 상세페이지 화면 잘림 수정: grid/flex 아이템 기본 min-width:auto(min-content)가
     metric-grid 등을 뷰포트(375)보다 넓은 448px로 부풀려 우측이 잘리던 문제.
     후손 min-width:0 → 셀 폭 존중하며 축소(가로 스크롤 카드는 width 지정이 우선이라 안전). */
  .detail-panel { min-width: 0; max-width: 100%; }
  .detail-panel * { min-width: 0; }

  .sidebar {
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-y: visible;
  }

  .main-view {
    height: auto;
    overflow-y: visible;
  }

  .course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-view {
    grid-template-rows: auto auto auto;
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-card-grid,
  .purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ── 모바일 컬럼 병합 재배치 ──────────────────────────────────────────
     데스크톱의 좌(사이드바)·우(메인뷰) 분할을 모바일에선 하나의 흐름으로 합친다.
     display:contents 로 두 컨테이너 박스를 없애 직계 섹션들을 app-shell 그리드의
     아이템으로 끌어올린 뒤 order 로 노출 순서를 재구성 → 우측 에디토리얼 피드가
     사이드바의 8만px 코스 목록 아래에 묻히지 않도록 한다. */
  .sidebar,
  .main-view {
    display: contents;
  }
  /* 부모 박스가 사라지므로 좌우 여백을 직계 섹션에 직접 부여 */
  .brand-bar,
  .search-panel,
  .coverage-card,
  .reward-card,
  .list-header,
  .course-list {
    padding-left: 22px;
    padding-right: 22px;
  }
  /* 노출 순서: 히어로 → 필터 → 에디토리얼/홈 피드 → 실시간 현장톡 배너 → 정보 카드 → 전체 목록 */
  .brand-bar              { order: 1; }
  .map-view               { order: 2; }
  .search-panel           { order: 3; }
  #heroSearchResults      { order: 4; }
  .editorial-visit-section { order: 5; }
  .map-section            { order: 6; }
  .home-sections          { order: 7; }
  #mainFieldTalk          { order: 8; }   /* 실시간 현장톡 한 줄 배너 — 맨 위 점유 금지, 홈 피드 아래로 */
  .coverage-card          { order: 9; }
  .reward-card            { order: 10; }
  .list-header            { order: 11; }
  .course-list            { order: 12; }
  /* 상세·매거진 패널은 활성화되면 최상단으로 */
  .detail-panel           { order: 0; }
  .magazine-panel         { order: 0; }
}

@media (max-width: 760px) {
  .top-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links button {
    padding: 10px 4px;
    background: var(--surface);
    font-size: 11.5px;
  }

  .sidebar,
  .map-view,
  .detail-panel,
  .home-sections {
    padding: 16px;
  }

  .editorial-visit-section {
    margin: 0;
  }
  .ev-banner-grid {
    grid-template-columns: 1fr;
  }
  .ev-banner-photo {
    height: 200px;
  }

  .brand-bar,
  .map-topbar,
  .detail-hero,
  .reward-card,
  .unlock-panel,
  .verdict-panel,
  .split-content,
  .keyword-columns,
  .provider-columns,
  .feedback-form,
  .form-grid,
  .rating-grid {
    grid-template-columns: 1fr;
  }

  .brand-bar,
  .map-topbar,
  .detail-hero,
  .section-title,
  .list-header,
  .dialog-actions {
    align-items: stretch;
  }

  .course-list,
  .metric-grid,
  .home-card-grid,
  .purpose-grid,
  .standard-grid,
  .real-fee-summary,
  .real-fee-ledger-head,
  .real-fee-row,
  .score-stat-grid,
  .photo-strip,
  .source-policy,
  .split-content {
    grid-template-columns: 1fr;
  }

  .search-panel {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 10px 16px;
    background: var(--panel);
  }

  /* 760px 이하에선 좌우 여백을 16px로 축소 (1080px 블록의 22px 오버라이드) */
  .brand-bar,
  .coverage-card,
  .reward-card,
  .list-header,
  .course-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sticky-review-button {
    position: sticky;
    top: 12px;
    z-index: 9;
  }

  .ranking-card,
  .admin-review,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .share-row,
  .review-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  /* 모바일: 좌측 카피 + 우측 배너를 세로 스택으로 (데스크톱 nowrap 해제) */
  .map-topbar {
    flex-direction: column;
  }

  .hero-actions {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }

  .magazine-quick-list {
    max-width: none;
  }

  .hero-actions button,
  .share-row button,
  .review-cta button {
    width: 100%;
  }

  .hero-search-box {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hero-search-box button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-search-box input {
    font-size: 16px;
  }

  .home-section,
  .review-cta {
    padding: 14px;
  }

  .site-footer div {
    justify-content: flex-start;
  }

  .ranking-card > span,
  .ranking-card > b {
    width: 100%;
  }

  .ranking-list li {
    grid-template-columns: 28px 1fr;
  }

  .ranking-list small {
    grid-column: 2;
  }

  .map-canvas {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    height: 420px;
    margin-top: 18px;
  }

  .map-command {
    max-width: calc(100% - 28px);
  }

  .pin {
    min-width: 118px;
    padding: 7px;
  }

  .pin b {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .pin span {
    max-width: 92px;
    font-size: 12px;
  }

  .real-fee-ledger-head {
    display: none;
  }

  .real-fee-row b {
    text-align: left;
  }

  .score-block {
    text-align: left;
  }

  .reward-steps {
    justify-content: flex-start;
  }
}

.metric {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-mid);
}

.metric.value::before {
  content: "V";
}

.metric strong {
  font-size: 26px;
}

.detail-hero,
.analysis-panel,
.real-fee-panel,
.photo-strip-panel,
.unlock-panel,
.feedback-panel {
  box-shadow: var(--shadow-high);
}

.real-fee-panel {
  background: #fffdf7;
}

.real-fee-summary div,
.real-fee-row,
.web-note,
.review,
.provider-review {
  box-shadow: var(--shadow-mid);
}

/* ── 뷰 전환: 홈 ↔ 골프장 상세 ── */
.detail-panel { display: none; }
.main-view.show-detail .detail-panel { display: grid; }
.main-view.show-detail .map-view,
.main-view.show-detail .map-section,
.main-view.show-detail .home-sections,
.main-view.show-detail .editorial-visit-section,
.main-view.show-detail #mainFieldTalk,
.main-view.show-detail #heroSearchResults { display: none !important; }

.detail-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  padding: 0 0 12px;
}
.detail-back-btn:hover { color: var(--green-dark); }

/* Strong visual treatment for MVP usability testing */
.detail-panel {
  background:
    linear-gradient(180deg, rgba(243, 246, 241, 0.4), rgba(255, 255, 255, 0)),
    var(--surface);
}

.detail-hero {
  border: 1px solid rgba(31, 122, 77, 0.18);
  background:
    linear-gradient(135deg, #ffffff 0%, var(--surface-tint-green) 62%, var(--surface-tint-gold) 100%);
}

.score-block {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(160deg, var(--green-dark) 0%, var(--green) 65%, var(--green-soft) 100%);
  box-shadow: 0 18px 38px rgba(20, 85, 56, 0.22);
}

.metric-grid {
  gap: 14px;
}

.metric {
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 248, 0.96));
  box-shadow: var(--shadow-high), inset 0 0 0 1px rgba(31, 122, 77, 0.12);
}

.metric-head {
  align-items: start;
}

.metric-head span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf6ef;
  color: var(--green-dark);
}

.metric strong {
  font-size: 30px;
  letter-spacing: 0;
}

.metric.price {
  background: linear-gradient(180deg, #fffdf7, #ffffff);
  box-shadow:
    0 16px 36px rgba(90, 66, 16, 0.12),
    inset 0 0 0 1px rgba(178, 138, 46, 0.18);
}

.metric.price .metric-head span {
  background: #fff4d4;
  color: #8b671c;
}

.metric.pace {
  box-shadow:
    0 16px 36px rgba(46, 111, 150, 0.12),
    inset 0 0 0 1px rgba(46, 111, 150, 0.18);
}

.metric.pace .metric-head span {
  background: var(--surface-tint-blue);
  color: var(--blue);
}

.bar-track {
  height: 14px;
  margin-top: 6px;
}

.bar-fill {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
}

.real-fee-panel {
  border: 1px solid rgba(178, 138, 46, 0.24);
  background:
    linear-gradient(135deg, #fffdf7 0%, #ffffff 56%, #f7fbf8 100%);
}

.real-fee-row {
  border: 0;
  background: #fff;
  box-shadow:
    0 12px 30px rgba(90, 66, 16, 0.08),
    inset 0 0 0 1px rgba(178, 138, 46, 0.14);
}

.real-fee-row b {
  justify-self: end;
  color: #8b671c;
  font-size: 22px;
  text-align: center;
}

.web-note {
  border: 0;
  background:
    linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow:
    0 14px 34px rgba(23, 33, 29, 0.09),
    inset 0 0 0 1px rgba(31, 122, 77, 0.12);
}

.web-note blockquote {
  border-left-width: 5px;
  background: #f0f8f2;
}

.provider-review {
  border: 0;
  background:
    linear-gradient(180deg, #ffffff, #f8faf8);
  box-shadow:
    0 16px 38px rgba(23, 33, 29, 0.1),
    inset 0 0 0 1px rgba(20, 85, 56, 0.12);
}

.provider-columns > div {
  border: 0;
  background: #f4f8f5;
  box-shadow: inset 0 0 0 1px rgba(31, 122, 77, 0.12);
}

.review {
  border: 0;
  background:
    linear-gradient(180deg, #ffffff, #f7fbf8);
  box-shadow:
    0 16px 34px rgba(23, 33, 29, 0.1),
    inset 0 0 0 1px rgba(31, 122, 77, 0.13);
}

.trust-badges em {
  background: #edf6ef;
}

/* Visual v3: replace letter badges with readable dashboard cards. */
.metric::before {
  display: none;
}

.metric {
  min-height: 154px;
  padding: 16px;
}

.metric-visual {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.metric-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 7px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(var(--green) var(--meter), #e4ebe6 0) border-box;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
}

.metric.price .metric-icon {
  background:
    linear-gradient(#fffdf7, #fffdf7) padding-box,
    conic-gradient(var(--gold) var(--meter), #efe7d1 0) border-box;
  color: #8b671c;
}

.metric.weekend .metric-icon {
  background:
    linear-gradient(#fff8f4, #fff8f4) padding-box,
    conic-gradient(var(--rust) var(--meter), #f1ded7 0) border-box;
  color: var(--rust);
}

.metric.pace .metric-icon {
  background:
    linear-gradient(#f8fcff, #f8fcff) padding-box,
    conic-gradient(var(--blue) var(--meter), #d9e7ef 0) border-box;
  color: var(--blue);
}

.metric.value .metric-icon {
  background:
    linear-gradient(#fbfff8, #fbfff8) padding-box,
    conic-gradient(#5f8f45 var(--meter), #dfead9 0) border-box;
  color: #4d7638;
}

.metric.web .metric-icon {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(var(--green-dark) var(--meter), #dfe7e1 0) border-box;
}

.metric .metric-head {
  display: grid;
  gap: 5px;
}

.metric .metric-head span {
  width: fit-content;
  min-height: 0;
}

.metric .metric-head strong {
  font-size: 32px;
  line-height: 1;
}

.metric small {
  min-height: 18px;
  padding-top: 2px;
}

.real-fee-panel .section-title h3,
.analysis-panel .section-title h3,
.photo-strip-panel .section-title h3 {
  font-size: 22px;
}

.web-note,
.review,
.provider-review,
.real-fee-row {
  transform: translateZ(0);
}

/* Hogaengnono-style usability pass: map first, price visible, decision fast. */
:root {
  --navy: #16332a;
  --cream: #fbfaf5;
  --mint: #e7f4ec;
  --orange: #ef7d35;
}

.top-nav {
  box-shadow: 0 10px 28px rgba(23, 33, 29, 0.08);
}

.nav-logo {
  font-size: 20px;
  letter-spacing: 0;
}

.nav-logo::after {
  content: "예약 전 검증";
  display: inline-grid;
  margin-left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.search-panel {
  position: sticky;
  top: 70px;
  z-index: 10;
  box-shadow: 0 16px 42px rgba(23, 33, 29, 0.1);
}

.search-box,
.hero-search-box {
  border-radius: 10px;
  border-color: rgba(31, 122, 77, 0.28);
}

.search-box:focus-within,
.hero-search-box:focus-within {
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.14), 0 20px 48px rgba(23, 33, 29, 0.12);
}

.course-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.course-card:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 77, 0.38);
  box-shadow: 0 16px 34px rgba(23, 33, 29, 0.1);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green);
  opacity: 0;
}

.course-card.active::before {
  opacity: 1;
}

.course-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.course-card-head strong {
  margin-bottom: 0;
}

.course-card-head em {
  flex: none;
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff4df;
  color: #8a560f;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.course-card-fee {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 9px;
  padding: 7px 9px;
  border-radius: var(--radius);
  background: #f7fbf8;
  border: 1px solid rgba(31, 122, 77, 0.12);
}

.course-card-fee b {
  color: var(--green-dark);
  font-size: 13px;
}

.course-card-fee small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.course-data-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.course-data-badge.seed {
  background: #f3f1ea;
  color: #6f6244;
}

.badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}

.badge-row .course-data-badge {
  margin-bottom: 0;
}

.course-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: 0;
}

.sibling-course-link {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 9px;
  border: 1px solid var(--green, #2f7d4f);
  border-radius: 999px;
  background: transparent;
  color: var(--green, #2f7d4f);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  transition: background 0.15s, color 0.15s;
}
.sibling-course-link:hover {
  background: var(--green, #2f7d4f);
  color: #fff;
}

.course-type-badge.public {
  background: #edf7ef;
  color: #246b3e;
}

.course-type-badge.member-open {
  background: #fff5e0;
  color: #7c4e00;
}

.course-type-badge.member-only {
  background: #fef0f0;
  color: #b52a2a;
}

.hole-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 4px;
  background: #eef2f7;
  color: #3a4a5e;
}

/* 검색 중 사이드바 - 카버리지/리워드 카드 숨김 */
.sidebar.has-search .coverage-card,
.sidebar.has-search .reward-card {
  display: none;
}

/* 3줄평 */
.three-line-review {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: #eef7ef;
  border-radius: 6px;
  border-left: 3px solid var(--green);
}
.three-line-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.three-line-num {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* 목적별 추천 섹션 */
.purpose-card-sections {
  display: grid;
  gap: 18px;
}

.mini-score {
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 85, 56, 0.18);
}

/* map-view min-height 제거 — mapCanvas 독립 섹션으로 분리됨 */

.map-topbar h2::after {
  content: "알뜰스마트골퍼";
  display: inline-grid;
  margin-left: 10px;
  transform: translateY(-4px);
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
}

.map-canvas {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.map-insight-bar {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 8px;
  max-width: calc(100% - 260px);
}

.map-insight-bar div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(20, 85, 56, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.1);
}

.map-insight-bar b {
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1;
}

.map-insight-bar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.pin {
  min-width: 106px;
  border-radius: 10px;
  border-color: rgba(20, 85, 56, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 13px 30px rgba(23, 33, 29, 0.18);
}

.pin b {
  background: var(--green-dark);
  color: #fff;
}

.pin.pin-good b {
  background: var(--orange);
}

.pin small {
  color: #8a560f;
  font-size: 10px;
  font-weight: 900;
}

.home-course-card {
  position: relative;
  min-height: 176px;
}

.home-course-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
}

.home-fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 2px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #fff9ea;
  border: 1px solid #f0dfb0;
}

.home-fee-line b {
  color: #7b4d10;
  font-size: 14px;
}

.home-fee-line small {
  color: #8a6a27;
  font-size: 11px;
  font-weight: 900;
}

/* 골프장 대표 사진 */
/* 히어로: 세로/가로 사진이 섞여 들어와도 잘리지 않게 — 흐린 배경 위에 전체 사진을 contain 으로 */
.course-hero-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--panel);
}
.course-hero-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.78) saturate(1.05);
  transform: scale(1.08);
  z-index: 0;
}
.course-hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(15,40,28,0.35) 100%);
  z-index: 1;
}
.course-hero-wrap:not([style*="--hero-bg"]) { display: none; }
.course-hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.course-hero-photo[src=""] { display: none; }

.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 85, 56, 0.96), rgba(22, 51, 42, 0.9)),
    var(--green-dark);
  color: #fff;
  border-color: transparent;
  border-radius: 0 0 12px 12px;
}

.detail-hero .eyebrow,
.detail-hero p,
.detail-hero .data-source-note,
.score-block span,
.score-block small {
  color: rgba(255, 255, 255, 0.82);
}

.detail-hero h2,
.score-block strong {
  color: #fff;
}

.score-block {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.decision-strip article {
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 77, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 33, 29, 0.08);
}

.decision-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.decision-strip strong {
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.15;
}

.decision-strip small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.decision-strip .text-button {
  justify-self: start;
  width: fit-content;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.real-fee-panel {
  border-color: #eddca6;
  background:
    linear-gradient(180deg, #fffdf7, #fff);
}

.real-fee-row {
  min-height: 68px;
}

.real-fee-source-cell em {
  background: #fff4df;
  color: #8a560f;
}

.review-cta {
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.96), rgba(20, 85, 56, 0.92));
  color: #fff;
}

.review-cta p,
.review-cta .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 900px) {
  .search-panel {
    position: static;
  }

  .map-insight-bar {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 14px;
    max-width: none;
  }

  .map-canvas {
    height: 320px;
  }

  .decision-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .price-evidence-legend {
    grid-template-columns: 1fr;
  }

  .data-trust-head,
  .correction-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .data-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-logo::after,
  .map-topbar h2::after {
    display: none;
  }

  .course-card {
    grid-template-columns: minmax(0, 1fr) 50px;
  }

  .course-card-fee {
    width: 100%;
    justify-content: space-between;
  }

  .map-view {
    padding: 18px;     /* min-height 제거 — 히어로 텍스트만 */
  }

  .map-canvas {
    height: 300px;
  }

  .pin {
    min-width: 86px;
    padding: 6px;
  }

  .pin span {
    max-width: 80px;
  }

  .map-insight-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-insight-bar div {
    padding: 8px 4px;
  }

  .decision-strip {
    grid-template-columns: 1fr;
  }

  .decision-strip article {
    min-height: 0;
  }

  .provider-check-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-dock {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 126px;  /* 2행 독(CTA 2개 + 네비 3개) 높이만큼 */
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgba(23, 33, 29, 0.12);
    backdrop-filter: blur(14px);
  }

  /* (B) 참여 CTA 2개 — 항상 하단 고정 */
  .dock-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dock-cta-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    border: 0;
    border-radius: 13px;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: -0.01em;
  }
  .dock-cta-big .dcb-ico { font-size: 18px; }
  .dock-cta-big.cta-fee { background: linear-gradient(135deg, #f3c34e, #e7a838); color: #3a2a00; }
  .dock-cta-big.cta-review { background: var(--green, #0a7a44); color: #fff; }
  .dock-cta-big:active { transform: translateY(1px); }

  /* 하단 네비 — 홈·검색·랭킹 */
  .dock-nav-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .dock-nav-row button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-height: 38px;
    padding: 3px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
  }
  .dock-nav-row button span { font-size: 10px; }
  .dock-nav-row button svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .dock-nav-row button.dock-active { color: var(--green); }
}

/* ============================================================
   FANCY REDESIGN: photos + brighter palette
   ============================================================ */

:root {
  --green: #0fa85e;
  --green-dark: #0a7a44;
  --gold: #e6a817;
  --surface: #f5f8f4;
  --surface-strong: #e6ede6;
  --line: #d4ddd4;
}

/* Sidebar brighter feel */
.sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f7faf6 100%);
}

/* ── Course card in sidebar with photo ── */
.course-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(10, 122, 68, 0.14);
}

.course-card.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 168, 94, 0.18), 0 12px 28px rgba(10, 122, 68, 0.14);
}

.course-card-photo {
  position: relative;
  height: 90px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-strong);
}

.course-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,60,30,0.45) 0%, rgba(10,60,30,0.1) 60%, transparent 100%);
}

.course-card-photo-score {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  border: 2px solid rgba(15,168,94,0.3);
}

.course-card.active .course-card-photo-score {
  background: var(--green-dark);
  color: #fff;
  border-color: transparent;
}

.course-card-body {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
  background: #fff;
  text-align: left;
}

.course-card-body > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Hide old mini-score (now in photo) */
.course-card > .mini-score {
  display: none;
}

/* ── Home section cards with photo header ── */
.home-course-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left;
}

.home-course-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 16px 40px rgba(10, 122, 68, 0.16);
}

.home-course-card::after {
  display: none;
}

.home-course-card-photo {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-strong);
  flex-shrink: 0;
}

.home-course-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 100%);
}

.home-course-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 12px;
}

.home-course-card-region {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.28);
}

.home-course-card-score {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  border: 2px solid rgba(15,168,94,0.25);
}

.home-course-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
}

.home-course-card-body strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.home-course-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ── Brighter chip/filter styles ── */
.chip.active {
  border-color: var(--green);
  background: linear-gradient(135deg, #d4f0e2, #e8f7ef);
  color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(15,168,94,0.18);
}

/* ── Hero section upgrade ── */
.map-view {
  background:
    linear-gradient(90deg, rgba(5,40,20,0.88) 0%, rgba(5,40,20,0.55) 45%, rgba(5,40,20,0.12) 100%),
    url("./assets/golf-review-hero.png") center / cover;
}

.map-topbar h2 {
  font-size: 36px;
  font-weight: 950;
}

/* ── Score block more vibrant ── */
.score-block {
  background: linear-gradient(160deg, #0a7a44 0%, #0fa85e 60%, #2e9f7d 100%);
  box-shadow: 0 18px 40px rgba(10,122,68,0.3);
}

/* ── Primary button upgrade ── */
.primary-button {
  background: linear-gradient(135deg, #0a7a44, #0fa85e);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(10,122,68,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10,122,68,0.36);
}

/* ── Nav upgrade ── */
.top-nav {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(23,33,29,0.06);
}

/* ── Coverage / reward cards ── */
.coverage-card,
.reward-card {
  border-color: rgba(15,168,94,0.22);
  background: linear-gradient(135deg, #edf9f2, #f5fdf8);
}

/* ── Detail hero panel ── */
.detail-hero {
  background: linear-gradient(135deg, rgba(5,50,25,0.97) 0%, rgba(10,90,50,0.93) 60%, rgba(30,80,60,0.90) 100%), var(--green-dark);
}

/* ── Section title eyebrow ── */
.eyebrow {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ── Ranking card hover ── */
.ranking-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(10,122,68,0.12);
  transform: translateY(-1px);
  transition: all 0.18s ease;
}

/* ── Map pin upgrade ── */
.pin b {
  background: linear-gradient(135deg, #0a7a44, #0fa85e);
}

.pin.pin-good b {
  background: linear-gradient(135deg, #c45e10, #ef7d35);
}

/* ── Review CTA section ── */
.review-cta {
  background: linear-gradient(135deg, #0a7a44 0%, #0fa85e 100%);
  box-shadow: 0 12px 32px rgba(10,122,68,0.22);
}

/* ── mini-score in map pins ── */
.mini-score {
  background: linear-gradient(135deg, #0a7a44, #0fa85e);
  color: #fff;
}

/* responsive: keep photo on small cards */
@media (max-width: 760px) {
  .course-card-photo {
    height: 70px;
  }

  .home-course-card-photo {
    height: 130px;
  }
}

/* ── Channel price comparison panel ── */
.channel-compare-panel {
  background: #fff;
  border: 1px solid #e2e8e4;
  border-radius: 14px;
  padding: 24px 20px 18px;
  margin: 20px 0;
}

.channel-compare-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 12px;
}

.channel-compare-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #f8faf9;
}

.channel-compare-row.channel-official {
  background: #fff8e6;
  border: 1px solid #e6a817;
}

.channel-compare-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2e22;
}

.channel-tag-official {
  display: inline-block;
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 700;
  background: #e6a817;
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  width: fit-content;
}

.channel-tag-saving {
  display: inline-block;
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 700;
  background: #0fa85e;
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  width: fit-content;
}

.channel-tag-daytime {
  display: inline-block;
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 600;
  background: #e8efe9;
  color: #3a6b4a;
  padding: 1px 6px;
  border-radius: 10px;
  width: fit-content;
}

.channel-compare-bar-wrap {
  background: #e8efe9;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}

.channel-compare-bar {
  height: 100%;
  background: linear-gradient(90deg, #0a7a44, #0fa85e);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.channel-official .channel-compare-bar {
  background: linear-gradient(90deg, #b87f10, #e6a817);
}

.channel-compare-price {
  text-align: right;
  white-space: nowrap;
}

.channel-compare-price strong {
  display: block;
  font-size: 0.95rem;
  color: #1a2e22;
}

.channel-compare-price small {
  font-size: var(--fs-sm);     /* 12px */
  color: #7a9a85;
}

.channel-compare-tip {
  font-size: 0.8rem;
  color: #4a7a5e;
  background: #f0faf4;
  border-left: 3px solid #0fa85e;
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .channel-compare-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .channel-compare-bar-wrap {
    grid-column: 1 / -1;
  }
}

/* --- styles.css refresh: course-card hover lift, score-block headline, mobile, section spacing --- */
.course-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-mid);
}

.course-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-high);
}

.score-block strong {
  font-size: 52px;
  font-weight: 900;
}

.detail-hero {
  padding: 22px;
  gap: 20px;
}

.detail-panel {
  gap: 22px;
}

.section-title {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .top-nav { padding: 10px 16px; }
  .provider-check-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { flex-direction: column; }
  .score-block strong { font-size: 44px; }
}

/* ── Smart Filter Dialog ── */
.smart-filter-dialog {
  width: min(520px, 95vw);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius, 10px);
  border: 1.5px solid var(--line);
  padding: 0;
}
.smart-filter-dialog .dialog-inner {
  padding: 24px;
}
.smart-filter-dialog .dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.smart-filter-dialog .dialog-header h2 {
  font-size: 18px;
  font-weight: 700;
}
.smart-filter-step {
  margin-bottom: 20px;
}
.smart-filter-step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.sf-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.smart-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 모바일: 칩을 가로 스크롤 + 스냅 */
@media (max-width: 760px) {
  .smart-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .smart-filter-chips::-webkit-scrollbar { display: none; }
  .smart-filter-chips .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}
.sf-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--green, #1a7a4a);
  color: #fff;
  border: none;
  border-radius: var(--radius, 10px);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.sf-submit-btn:hover {
  background: var(--green-dark, #155f38);
}
.smart-filter-results {
  padding-top: 4px;
}
.smart-filter-results.hidden { display: none; }
.smart-filter-body.hidden { display: none; }
.sf-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sf-back-btn {
  background: none;
  border: none;
  color: var(--green, #1a7a4a);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.sf-results-count {
  font-size: 13px;
  color: var(--muted);
}
.sf-results-grid {
  display: grid;
  gap: 10px;
}
/* ── CompactCard (buildCard variant: compact) ──────────────────────────────
   사용처: 스마트필터 결과(sfResultCard), 향후 랭킹 카드
   구 클래스(sf-result-*) 별칭도 유지 (하위호환)
   ─────────────────────────────────────────────────────────────────────────── */
.sf-result-card,
.compact-card {
  position: relative;
  text-align: left;
  padding: 12px 16px;
}

/* 순위 뱃지 */
.sf-result-rank,
.compact-card-rank {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 24px;
  height: 24px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 구장명 */
.sf-result-name,
.compact-card-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* 지역 · 그린피 */
.sf-result-region,
.sf-result-fee,
.compact-card-region,
.compact-card-fee {
  font-size: 12px;
  color: var(--muted);
  margin-right: 8px;
}

/* 이유 태그 영역 */
.sf-result-reasons,
.compact-card-reasons {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.sf-reason-tag {
  font-size: 11px;
  background: var(--surface-tint-green, #f0f7f2);
  color: var(--green-dark, #155f38);
  border-radius: 4px;
  padding: 2px 6px;
}

/* ── Smart Filter CTA Section ── */
.smart-filter-cta-section {
  background: linear-gradient(135deg, var(--surface-tint-green, #f0f7f2) 0%, #e8f5ee 100%);
  border-radius: var(--radius, 10px);
  border: 1.5px solid var(--green, #1a7a4a);
}
.smart-filter-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.smart-filter-cta-inner h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.smart-filter-cta-desc {
  font-size: 13px;
  color: var(--muted);
}

/* ── Magazine Panel ── */
.main-view.show-magazine .magazine-panel { display: block; }
.main-view.show-magazine .home-sections,
.main-view.show-magazine .map-view,
.main-view.show-magazine .map-section,
.main-view.show-magazine #mainFieldTalk,
.main-view.show-magazine .editorial-visit-section { display: none; }
.main-view:not(.show-magazine) .magazine-panel { display: none; }

/* ── Hall of Fame Panel (3단계) ── */
.main-view.show-halloffame .halloffame-panel { display: block; }
.main-view.show-halloffame .home-sections,
.main-view.show-halloffame .map-view,
.main-view.show-halloffame .map-section,
.main-view.show-halloffame .detail-panel,
.main-view.show-halloffame #heroSearchResults,
.main-view.show-halloffame #mainFieldTalk,
.main-view.show-halloffame .editorial-visit-section { display: none !important; }
.main-view:not(.show-halloffame) .halloffame-panel { display: none; }

/* ── Ranking Panel (독립 풀페이지) ── */
.main-view.show-ranking .ranking-page-panel { display: block; }
.main-view.show-ranking .home-sections,
.main-view.show-ranking .map-view,
.main-view.show-ranking .map-section,
.main-view.show-ranking .detail-panel,
.main-view.show-ranking #heroSearchResults,
.main-view.show-ranking #mainFieldTalk,
.main-view.show-ranking .editorial-visit-section { display: none !important; }
.main-view:not(.show-ranking) .ranking-page-panel { display: none; }

.ranking-page-panel {
  height: 100%;
  overflow-y: auto;
  padding: 24px;
}
.ranking-page-header { margin-bottom: 18px; }
.ranking-page-title { font-size: 24px; font-weight: 800; margin: 2px 0 4px; }
.ranking-page-sub { font-size: 13px; color: var(--muted); }
.ranking-page-tabs { margin-bottom: 16px; flex-wrap: wrap; }
.ranking-page-list { display: flex; flex-direction: column; gap: 8px; }
.ranking-empty { font-size: 13px; color: var(--muted); padding: 18px 4px; }

.halloffame-panel {
  height: 100%;
  overflow-y: auto;
  padding: 24px;
}
.hof-header { margin-bottom: 22px; }
.hof-title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.hof-sub { font-size: 13px; color: var(--muted); }
.hof-section { margin-bottom: 28px; }
.hof-section-title {
  font-size: 15px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line, #e4e8e4);
}
.hof-period { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.hof-month-list { display: flex; flex-direction: column; gap: 8px; }
.hof-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--line, #e4e8e4);
  border-radius: 12px; background: var(--card, #fff);
  transition: border-color .15s, transform .1s;
}
.hof-row:hover { border-color: var(--green, #2d6a4f); transform: translateX(2px); }
.hof-rank {
  flex: 0 0 32px; font-size: 15px; font-weight: 800;
  color: var(--muted); text-align: center;
}
.hof-rank.top { font-size: 20px; }
.hof-name { flex: 1 1 auto; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hof-points { flex: 0 0 auto; font-weight: 800; color: var(--green, #2d6a4f); }
.hof-masters {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.hof-master-card {
  cursor: pointer; text-align: center;
  padding: 18px 12px; border: 1px solid var(--gold, #c9a227);
  border-radius: 14px; background: linear-gradient(160deg, #fffdf5, #fff7e0);
  transition: transform .12s, box-shadow .15s;
}
.hof-master-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,162,39,.25); }
.hof-master-icon { font-size: 28px; }
.hof-master-name { font-weight: 800; margin-top: 6px; }
.hof-master-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hof-master-badges { margin-top: 8px; }
.hof-empty {
  padding: 22px 16px; border: 1px dashed var(--line, #d6dcd6);
  border-radius: 12px; color: var(--muted); font-size: 13px; text-align: center;
}

/* 이달의 평가 핀 (코스 상세) */
.review.review-pinned {
  border: 1.5px solid var(--gold, #c9a227);
  background: linear-gradient(180deg, #fffdf6, var(--card, #fff));
  position: relative;
}
.review-pin-badge {
  display: inline-block; font-size: 12px; font-weight: 800;
  color: #8a6d00; background: #fff3c4; border: 1px solid #e8cf6a;
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}

.magazine-panel {
  height: 100%;
  overflow-y: auto;
  padding: 24px;
}

.magazine-list-header {
  margin-bottom: 20px;
}
.magazine-list-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}
.magazine-list-sub {
  font-size: 13px;
  color: var(--muted);
}
.magazine-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.magazine-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.magazine-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: var(--radius, 10px);
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.18s, transform 0.18s;
}
.magazine-card:hover {
  box-shadow: var(--shadow-mid, 0 8px 28px rgba(23,33,29,0.12));
  transform: translateY(-2px);
}
.magazine-card-cover {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 16px;
  position: relative;
}
.magazine-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.magazine-card-category {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.22);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  width: fit-content;
}
.magazine-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.magazine-card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 7px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.magazine-card-excerpt {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
  word-break: keep-all;
}
.magazine-card-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: auto;
}

/* Magazine Article View */
.magazine-article-view {
  max-width: 680px;
  margin: 0 auto;
}
.mag-article-header {
  border-radius: var(--radius, 10px);
  padding: 40px 28px 32px;
  margin-bottom: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mag-article-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.mag-article-header > * {
  position: relative;
  z-index: 2;
}
/* 일러스트는 헤더 맨 뒤 (그라데이션·텍스트보다 아래) */
.mag-article-header > .magazine-illo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.magazine-card-cover .magazine-illo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.magazine-illo svg {
  width: 100%;
  height: 100%;
  display: block;
}
.magazine-illo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mag-article-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  margin: 10px 0 10px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
/* 본문 중간 스폿 일러스트 */
.mag-article-spot {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 1;
  background: #eaf6ef;
  border: 1px solid var(--line, #e3ece7);
}
.mag-article-spot svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mag-article-spot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mag-article-meta {
  font-size: 12px;
  opacity: 0.82;
  letter-spacing: 0.01em;
}
.mag-article-content {
  padding: 0 4px;
  max-width: 680px;
}
.mag-article-p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 18px;
  word-break: keep-all;
}
.mag-article-h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mag-article-quote {
  border-left: 4px solid var(--green, #1a7a4a);
  padding: 14px 20px;
  margin: 24px 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.8;
  color: var(--ink);
  background: var(--surface-tint-green, #f0f7f2);
  border-radius: 0 8px 8px 0;
  box-shadow: inset 0 0 0 0.5px rgba(26,122,74,.1);
}
.mag-related-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 28px 0 10px;
}
.mag-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── 에디터 섹션 헤더 ── */
.editorial-visit-section {
  margin-top: 0;         /* 히어로 아래 바로 붙지 않게 grid flow로만 처리 */
  padding: 28px 24px;   /* 히어로와 균일한 안쪽 여백 */
  background: var(--surface);
  border: none;
  border-radius: 0;
}

.ev-section-title { margin-bottom: 20px; }

.ev-section-hd { display: flex; flex-direction: column; gap: 6px; }

.ev-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  color: var(--green, #1a7a4a);
  background: rgba(26,122,74,0.10);
  border: 1px solid rgba(26,122,74,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  width: fit-content;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ev-section-badge::before { content: "✍️"; font-style: normal; }

.ev-section-title h3 {
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.ev-section-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ── 에디터 배너 카드 그리드 ── */
.ev-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3×2 = 6장 — 아래 섹션들과 동일 레이아웃 */
  gap: 16px;
}

.ev-list-controls {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.ev-more-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(31, 122, 77, 0.25);
  border-radius: 999px;
  background: var(--panel);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17, 35, 27, 0.08);
}

.ev-more-btn:hover {
  border-color: rgba(31, 122, 77, 0.45);
  background: rgba(31, 122, 77, 0.06);
}

@media (max-width: 1100px) {
  .ev-banner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 에디터 배너 카드 ── */
.ev-banner-card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.ev-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-mid);
  border-color: rgba(31,122,77,0.35);
}

/* 배너 사진 영역 */
.ev-banner-photo {
  position: relative;
  width: 100%;
  height: 180px; /* 3열 카드 폭에 맞춤 (기존 240px는 2열 기준) */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.ev-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.62) 100%
  );
}
.ev-banner-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.ev-banner-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--green);
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.ev-banner-date {
  font-size: 11px;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.ev-banner-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 12px;
  z-index: 1;
}
.ev-banner-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.ev-banner-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ev-banner-stars {
  font-size: 13px;
  color: #f5c518;
  letter-spacing: 1px;
}
.ev-banner-score {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

/* 배너 카드 텍스트 바디 */
.ev-banner-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ev-banner-headline {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ev-banner-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 방문기 읽기 버튼 */
.ev-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(31,122,77,0.08);
  border: 1px solid rgba(31,122,77,0.22);
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: fit-content;
}
.ev-read-btn:hover {
  background: rgba(31,122,77,0.16);
  border-color: rgba(31,122,77,0.45);
}

/* ── 방문기 읽기 CTA 버튼 (legacy) ── */
.ev-read-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green, #1a7a4a);
  background: rgba(26,122,74,0.08);
  border: 1px solid rgba(26,122,74,0.22);
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: fit-content;
}
.ev-read-link:hover {
  background: rgba(26,122,74,0.16);
  border-color: rgba(26,122,74,0.45);
}

/* ── Editorial Visit Cards ── */
.editorial-visit-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: var(--radius, 10px);
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  width: 100%;
}
.editorial-visit-card:hover {
  border-color: var(--green, #1a7a4a);
  box-shadow: var(--shadow-low, 0 2px 8px rgba(23,33,29,.06));
}
.editorial-visit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.editorial-visit-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--green, #1a7a4a);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
}
.editorial-visit-date {
  font-size: 11px;
  color: var(--muted);
}
.editorial-visit-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.editorial-visit-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.editorial-stars {
  font-size: 13px;
  color: #f5a623;
  letter-spacing: 1px;
}
.editorial-rating-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.editorial-visit-headline {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}
.editorial-visit-comment {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────────
   에디터 직접 방문 배너 (detail-panel 상단)
   ────────────────────────────────────────────────────────────────────────── */
.editorial-visit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-left: 3px solid #e8a117;
}

.ev-banner-inner {
  flex: 1;
  min-width: 0;
}

.ev-banner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8a117;
  margin-bottom: 4px;
}

.ev-banner-headline {
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.45;
  margin: 2px 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-banner-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #999;
}

.ev-banner-meta span:first-child {
  color: #e8a117;
  font-weight: 600;
}

.ev-banner-btn {
  flex-shrink: 0;
  background: #e8a117;
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.ev-banner-btn:hover,
.ev-banner-btn:active {
  background: #f5b81a;
}

/* ──────────────────────────────────────────────────────────────────────────
   에디터 방문기 전문 다이얼로그 (editorial-visit-dialog)
   ────────────────────────────────────────────────────────────────────────── */
.editorial-visit-dialog {
  max-width: 680px;
  width: min(96vw, 680px);
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-high);
}
.editorial-visit-dialog::backdrop {
  background: rgba(10, 20, 15, 0.55);
  backdrop-filter: blur(4px);
}

.ev-dialog-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 92vh;
}

/* 헤더 */
.ev-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  flex-shrink: 0;
}
.ev-dialog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ev-dialog-date {
  font-size: 12px;
  color: var(--muted);
}

/* 히어로 사진 */
.ev-dialog-hero {
  height: 220px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .ev-dialog-hero { height: 160px; }
}

/* 스크롤 영역 */
.ev-dialog-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 22px 24px 0;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 480px) {
  .ev-dialog-scroll { padding: 16px 18px 0; }
}

/* 별점 */
.ev-dialog-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ev-dialog-stars {
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 1px;
}
.ev-dialog-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

/* 제목 */
.ev-dialog-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 20px;
}
@media (max-width: 480px) {
  .ev-dialog-title { font-size: 17px; }
}

/* 본문 */
.ev-dialog-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}
.ev-dialog-body p {
  margin: 0 0 1.2em;
}
.ev-dialog-body p:empty { display: none; }

/* 말미 골프장 배너 */
.ev-course-banner {
  margin: 28px -24px 0;
  padding: 20px 24px;
  background: var(--surface-tint-green);
  border-top: 1.5px solid rgba(31, 122, 77, 0.15);
}
@media (max-width: 480px) {
  .ev-course-banner { margin: 20px -18px 0; padding: 16px 18px; }
}
.ev-course-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ev-course-banner-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 3px;
}
.ev-course-banner-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.ev-course-banner-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 13px;
}

.trending-rank-badge {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: var(--surface-tint-green, #f0f7f2);
  color: var(--green-dark, #155f38);
  border: 1.5px solid var(--green, #1a7a4a);
}
.trending-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.trending-region,
.trending-fee {
  font-size: 12px;
  color: var(--muted);
}

/* ── Leaflet 지도 핀 스타일 ── */
.lf-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18));
  transition: transform 0.12s, filter 0.12s;
}
.lf-pin:hover {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.28));
  z-index: 9999 !important;
}
.lf-pin b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--pin-color, #374151);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  line-height: 1;
}
.lf-pin span {
  max-width: 72px;
  font-size: 10px;
  font-weight: 600;
  color: #1f2937;
  background: rgba(255,255,255,0.92);
  border-radius: 3px;
  padding: 1px 4px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.lf-pin.pin-good b {
  background: var(--pin-color, #15803d);
  box-shadow: 0 0 0 3px rgba(21,128,61,0.2);
}
.lf-pin.lf-pin-active b {
  width: 40px;
  height: 40px;
  font-size: 14px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 4px 12px rgba(0,0,0,0.35);
  animation: pin-pulse 1.5s infinite;
}
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 4px 12px rgba(0,0,0,0.35); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0.6), 0 4px 16px rgba(0,0,0,0.4); }
}

/* 지역 레이블 */
.region-label-marker { background: transparent; border: none; }
.region-label-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* insight bar */
.lf-insight-inner {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 12px;
  color: #374151;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  white-space: nowrap;
}
.lf-insight-inner b {
  font-weight: 800;
  color: #111827;
  margin-right: 2px;
}
.lf-insight-inner span {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ── 날씨 예보 패널 ─────────────────────────────────────────── */
.weather-panel {
  background: var(--surface-tint-blue);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

/* 토글 버튼 — 항상 보이는 헤더 역할 */
.weather-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.weather-toggle-btn:hover {
  background: color-mix(in srgb, var(--blue) 6%, transparent);
}
.weather-toggle-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.weather-toggle-left .eyebrow {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--blue);
  opacity: 0.75;
}
.weather-toggle-summary {
  font-size: var(--fs-sm);    /* 12px */
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weather-toggle-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.weather-toggle-arrow .toggle-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.weather-toggle-arrow .toggle-chevron {
  font-size: 20px;
  display: inline-block;
  color: var(--muted);
  transition: transform 0.22s ease;
  line-height: 1;
}
.weather-panel:not(.collapsed) .weather-toggle-arrow .toggle-chevron {
  transform: rotate(180deg);
}

/* 패널 본문 — 펼침/접힘 */
.weather-panel-body {
  overflow: hidden;
  max-height: 2400px;   /* 충분히 큰 값 */
  padding: 0 16px 14px;
  transition: max-height 0.28s ease, padding-bottom 0.28s ease;
}
.weather-panel.collapsed .weather-panel-body {
  max-height: 0;
  padding-bottom: 0;
}

/* ── 실그린피 패널 — 날씨와 동일한 접힘 메커니즘 ─────────────────────────── */
.real-fee-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.real-fee-toggle-btn:hover {
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}
.real-fee-toggle-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.real-fee-toggle-left .eyebrow {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--gold, #b8861e);
  opacity: 0.9;
}
.real-fee-toggle-summary {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.real-fee-toggle-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.real-fee-toggle-arrow .toggle-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.real-fee-toggle-arrow .toggle-chevron {
  font-size: 20px;
  display: inline-block;
  color: var(--ink);
  transition: transform 0.22s ease;
  line-height: 1;
}
.real-fee-panel:not(.collapsed) .real-fee-toggle-arrow .toggle-chevron {
  transform: rotate(180deg);
}
/* 패널 본문 접힘 */
.real-fee-panel-body {
  overflow: hidden;
  max-height: 2400px;
  padding: 0 16px 16px;
  transition: max-height 0.32s ease, padding-bottom 0.28s ease;
}
.real-fee-panel.collapsed .real-fee-panel-body {
  max-height: 0;
  padding-bottom: 0;
}

/* 날씨 카드 — 하루 1행, 시간별 슬롯 가로 스크롤 */
.weather-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 10px;
}
.weather-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
}
.weather-card.weather-today {
  border-color: var(--blue);
  background: linear-gradient(135deg, #f0f6fb, #e6f0f8);
  box-shadow: 0 2px 8px rgba(46, 111, 150, 0.12);
}
/* 날짜 + 최고/최저 + 종합 판정 — 한 줄 */
.weather-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.weather-date {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 52px;
}
.weather-today .weather-date {
  color: var(--blue);
}
.weather-temp-range {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 600;
  font-size: 0.78rem;
}
.temp-sep { color: var(--muted); font-weight: 400; }
.temp-max { color: #c0392b; }
.temp-min { color: var(--blue); }
.weather-note {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--muted);
  margin-left: auto;
}
.weather-today .weather-note {
  color: var(--ink);
  font-weight: 500;
}
/* 시간별 슬롯 가로 스크롤 */
.weather-slots {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.weather-slots::-webkit-scrollbar { height: 3px; }
.weather-slots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.weather-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 64px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 4px 3px;
  border-radius: 6px;
}
/* 골프 특화 지표: 잔디 상태 / 바람(클럽) */
.slot-turf, .slot-wind {
  font-size: 10px; font-weight: 700;
  border-radius: 3px; padding: 1px 5px; white-space: nowrap;
}
.slot-turf.turf-dry  { background: #dcfce7; color: #15803d; }
.slot-turf.turf-damp { background: #fef9c3; color: #a16207; }
.slot-turf.turf-wet  { background: #dbeafe; color: #1d4ed8; }
.slot-wind.wind-calm   { color: var(--muted); }
.slot-wind.wind-light  { color: #0f766e; }
.slot-wind.wind-mid    { background: #fef3c7; color: #b45309; }
.slot-wind.wind-strong { background: #fee2e2; color: #b91c1c; }
.weather-slot:hover { background: var(--surface-tint-blue); }
.slot-label {
  font-size: var(--fs-xs);     /* 11px — 시간 레이블 */
  font-weight: 700;
  color: var(--muted);
}
.slot-icon  { font-size: 1.4rem; line-height: 1; }
.slot-temp  { font-size: var(--fs-sm); font-weight: 600; }  /* 12px */
.slot-rain  { font-size: var(--fs-xs); color: var(--muted); }  /* 11px */
.slot-rain.rain-high { color: #2563eb; font-weight: 700; }
/* 시간별 골프지수 */
.slot-gi {
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 4px;
  margin-top: 1px;
}
.slot-gi-great   { background: #dcfce7; color: #15803d; }
.slot-gi-good    { background: #d1fae5; color: #065f46; }
.slot-gi-ok      { background: #fef9c3; color: #854d0e; }
.slot-gi-caution { background: #ffedd5; color: #9a3412; }
.slot-gi-poor    { background: #fee2e2; color: #991b1b; }
/* 일별 골프지수 배지 */
.golf-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: auto;
}
.golf-index-badge em { font-style: normal; font-size: var(--fs-sm); font-weight: 500; }  /* 12px */
.gi-great   { background: #dcfce7; color: #15803d; }
.gi-good    { background: #d1fae5; color: #065f46; }
.gi-ok      { background: #fef9c3; color: #92400e; }
.gi-caution { background: #ffedd5; color: #9a3412; }
.gi-poor    { background: #fee2e2; color: #991b1b; }
/* fallback (미사용 클래스 — 제거하면 기존 캐시 영향 가능성) */
.weather-icon { font-size: 1.7rem; line-height: 1; }
.weather-cond { font-size: var(--fs-xs); color: var(--muted); }  /* 11px */
.weather-temp { display: flex; justify-content: center; gap: 5px; font-weight: 600; }
.weather-rain { font-size: var(--fs-xs); color: var(--muted); }  /* 11px */
.weather-rain.rain-high { color: #2563eb; font-weight: 600; }
.slot-cond  { font-size: var(--fs-xs); color: var(--muted); }    /* 11px */
.weather-loading,
.weather-error {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 12px 0;
}
.weather-panel .data-source-note {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--muted);
  margin-top: 4px;
}
/* 날씨 더보기 버튼 */
.weather-more-btn {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  padding: 8px 0;
  background: none;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--blue);
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.weather-more-btn:hover {
  background: var(--surface-tint-blue);
}

/* ============================================================
   관리자 패널
   ============================================================ */

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0f1a14;
  color: #e8f0eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
}
.admin-panel[hidden] { display: none !important; }

/* 헤더 */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #0a1210;
  border-bottom: 1px solid #1e3328;
  flex-shrink: 0;
}
.admin-header-left { display: flex; align-items: center; gap: 12px; }
.admin-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #0a7a44;
  color: #fff;
}
.admin-title { font-size: 17px; font-weight: 700; color: #fff; margin: 0; }
.admin-close-btn {
  background: #1e3328;
  border: 1px solid #2e4a38;
  color: #9fc9ad;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.admin-close-btn:hover { background: #2e4a38; color: #fff; }

/* 셸 레이아웃 */
.admin-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  flex: 1;
  overflow: hidden;
}

/* 좌측 네비 */
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 8px;
  background: #0a1210;
  border-right: 1px solid #1e3328;
  overflow-y: auto;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: none;
  background: none;
  color: #7caa8a;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.admin-nav-item:hover { background: #1a2e22; color: #c8e6cc; }
.admin-nav-item.active { background: #0a7a44; color: #fff; font-weight: 700; }
.admin-nav-icon { font-size: 16px; }

/* 우측 콘텐츠 */
.admin-content {
  overflow-y: auto;
  padding: 24px 28px;
}
.admin-loading { color: #7caa8a; font-size: 14px; padding: 40px 0; }

/* 탭별 공통 섹션 */
.admin-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.admin-section-sub {
  font-size: 13px;
  color: #7caa8a;
  margin: 0 0 20px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-search {
  flex: 1;
  min-width: 220px;
  padding: 9px 13px;
  border: 1px solid #2e4a38;
  border-radius: 8px;
  background: #1a2e22;
  color: #e8f0eb;
  font-size: 14px;
}
.admin-search::placeholder { color: #4a7a5a; }
.admin-search:focus { outline: none; border-color: #0a7a44; }

/* 테이블/카드 목록 */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.admin-data-section {
  border: 1px solid #1f3b2a;
  border-radius: 12px;
  padding: 14px;
  background: #0f1d15;
}
.admin-data-section h3 {
  margin: 0 0 10px;
  color: #e8f0eb;
  font-size: 15px;
}
.admin-data-section h3 small {
  margin-left: 8px;
  color: #7caa8a;
  font-size: 12px;
  font-weight: 500;
}
.admin-edit-form {
  margin: 0 0 18px;
  border-color: #0a7a44;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #1a2e22;
  border: 1px solid #2e4a38;
  border-radius: 10px;
  transition: border-color 0.15s;
}
.admin-row:hover { border-color: #0a7a44; }
.admin-row-main { flex: 1; min-width: 0; }
.admin-row-name { font-weight: 600; color: #e8f0eb; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-sub { font-size: 12px; color: #7caa8a; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* 버튼류 */
.admin-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #2e4a38;
  background: #1a2e22;
  color: #9fc9ad;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.admin-btn:hover { background: #2e4a38; color: #fff; }
.admin-btn.primary { background: #0a7a44; border-color: #0a7a44; color: #fff; }
.admin-btn.primary:hover { background: #0d9455; }
.admin-btn.danger { background: #3d1515; border-color: #6b2020; color: #f28b82; }
.admin-btn.danger:hover { background: #6b2020; color: #fff; }
.admin-btn.success { background: #1b4a2e; border-color: #2d7a4a; color: #7ecb9c; }
.admin-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* 폼 */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #1a2e22;
  border: 1px solid #2e4a38;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 20px;
}
.admin-form-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2e4a38;
}
.admin-field { display: flex; flex-direction: column; gap: 5px; }
.admin-field label { font-size: 12px; font-weight: 600; color: #7caa8a; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-field input,
.admin-field textarea,
.admin-field select {
  padding: 9px 12px;
  border: 1px solid #2e4a38;
  border-radius: 7px;
  background: #0f1a14;
  color: #e8f0eb;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus { outline: none; border-color: #0a7a44; }
.admin-field textarea { min-height: 90px; line-height: 1.5; }
.admin-form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }

/* 태그/뱃지 */
.admin-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: #1e3328;
  color: #7caa8a;
}
.admin-tag.approved { background: #1b4a2e; color: #7ecb9c; }
.admin-tag.pending  { background: #3d3010; color: #f0c060; }
.admin-tag.rejected { background: #3d1515; color: #f28b82; }

/* 알림 토스트 */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  z-index: 10100;
  animation: adminToastIn 0.25s ease;
  pointer-events: none;
}
.admin-toast.ok  { background: #0a7a44; }
.admin-toast.err { background: #a33030; }
@keyframes adminToastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 빈 상태 */
.admin-empty {
  text-align: center;
  padding: 48px 20px;
  color: #4a7a5a;
  font-size: 14px;
}

/* 적재 인사이트 탭 */
.ins-note { font-size: 12.5px; color: #5a7a68; margin: 0 0 14px; }
.ins-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.ins-card { background: #f3f8f4; border: 1px solid #dcebe0; border-radius: 10px; padding: 14px; }
.ins-card.warn { background: #fff8e8; border-color: #efdca4; }
.ins-card.danger { background: #fff1ef; border-color: #f1c1ba; }
.ins-card span { display: block; font-size: 12px; color: #5a7a68; margin-bottom: 6px; }
.ins-card strong { font-size: 20px; font-weight: 850; color: #1f4d33; }
.ins-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.ins-wide { grid-column: span 2; }
.ins-grid h4 { margin: 0 0 12px; font-size: 14px; color: #1f4d33; }
.ins-grid h4 small { font-weight: 600; color: #7caa8a; }
.ins-bar-row { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 8px; margin-bottom: 7px; font-size: 12.5px; }
.ins-bar-label { color: #3a5a48; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins-bar { background: #e6f0e9; border-radius: 5px; height: 10px; overflow: hidden; }
.ins-bar i { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.ins-bar-row b { text-align: right; font-weight: 800; color: #1f4d33; }
.ins-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ins-rank li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #eef4f0; font-size: 13px; counter-increment: r; }
.ins-rank li::before { content: counter(r); width: 20px; color: #7caa8a; font-weight: 800; }
.ins-rank li span { flex: 1; color: #2a4a38; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ins-rank li b { color: #1f4d33; font-weight: 800; }
.ins-quality-list,
.ins-correction-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.ins-quality-list li,
.ins-correction-list li {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid #eef4f0;
  font-size: 13px;
}
.ins-course-link {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: #1f4d33;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.ins-quality-list span {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ins-quality-list em {
  border-radius: 999px;
  padding: 3px 7px;
  background: #fff8e8;
  color: #7c5b13;
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
}
.ins-quality-list em.critical {
  background: #fff1ef;
  color: #9f2d20;
}
.ins-correction-list span {
  color: #1f4d33;
  font-weight: 850;
}
.ins-correction-list small {
  color: #5a7a68;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .ins-cards { grid-template-columns: repeat(2, 1fr); }
  .ins-grid { grid-template-columns: 1fr; }
  .ins-wide { grid-column: auto; }
}

/* 반응형 */
@media (max-width: 720px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid #1e3328;
    padding: 8px;
    overflow-x: auto;
  }
  .admin-nav-item { flex-direction: column; gap: 3px; font-size: 11px; padding: 8px 10px; min-width: 60px; text-align: center; }
  .admin-content { padding: 16px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-row { align-items: flex-start; flex-direction: column; }
  .admin-row-actions { width: 100%; flex-wrap: wrap; }
  .admin-row-actions .admin-btn { flex: 1; }
}

/* ── 구글맵 집대성 리뷰 ─────────────────────────────────────────────────────── */
.google-synth-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.google-synth-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  border-left: 4px solid var(--line);
}
.google-synth-item.synth-pos { border-left-color: var(--green-dark); }
.google-synth-item.synth-neg { border-left-color: #e05; }
.synth-topic-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.synth-icon { font-size: 15px; }
.synth-label { font-size: 13px; font-weight: 600; color: var(--text); }
.synth-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface-alt, #f4f4f4);
  padding: 2px 7px;
  border-radius: 10px;
}
.synth-date {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.synth-date::before {
  content: "🕔 ";
  font-size: 10px;
}
.synth-src {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.synth-src-naver { color: #03c75a; background: rgba(3, 199, 90, 0.12); }
.synth-src-google { color: #4285f4; background: rgba(66, 133, 244, 0.12); }
.synth-quote {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary, #444);
  font-style: normal;
  border-left: none;
}
.synth-attribution {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.synth-attribution a {
  color: var(--green-dark);
  text-decoration: none;
}
.synth-attribution a:hover { text-decoration: underline; }

/* ── 관리자: 평판 체크박스 ───────────────────────────────── */
.rep-item-chk {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--green-dark, #2d6a4f);
  flex-shrink: 0;
}
#repBulkDeleteBtn {
  transition: opacity .15s;
}
#repBulkDeleteBtn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
/* 선택된 row 하이라이트 */
#repItemList .admin-row:has(.rep-item-chk:checked) {
  background: #fff5f5;
  outline: 1px solid #ffaaaa;
  border-radius: 6px;
}

/* ============================================================
   UI 개선 패치 2026-05
   ============================================================ */

/* 컬러 역할 가이드
   --green: 주요 액션/CTA/긍정 상태
   --gold: 그린피/가격 정보 전용
   --rust: 주말/경고/음성 상태
   --blue: 진행속도 전용
*/

/* ── 타이포그래피 계층 보완 ── */
.sub-heading { font-size: 15px; font-weight: 600; color: var(--ink); }   /* h3(18px)↔본문(13px) 중간값 */
.text-primary   { opacity: 1;    }   /* 주 텍스트: 완전 불투명 */
.text-secondary { opacity: 0.65; }   /* 보조 텍스트 */
.text-caption   { font-size: 11px; color: var(--muted); opacity: 0.45; } /* 캡션: 최저 강조 */

/* ── 1. 지금 컨디션 요약 카드 ── */
.condition-verdict {
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
}
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.verdict-good  { background: var(--surface-tint-green); color: var(--green); }
.verdict-caution { background: #fefce8; color: #a16207; }
.verdict-warning { background: #fef2f2; color: #b91c1c; }
.verdict-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.vmetric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.vmetric svg { width: 16px; height: 16px; }
.verdict-summary {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── 2. 카드 컬러 인디케이터 바 ── */
/* course-card::before는 기존에 정의됨 — background와 opacity만 override */
.course-card::before {
  background: var(--card-indicator-color, var(--line));
  opacity: 0.7;
}
.course-card.active::before {
  opacity: 1;
}
.home-course-card::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--card-indicator-color, var(--line));
  z-index: 2;
  opacity: 0.85;
}

/* ── 3. 모바일 독 dock-cta ── */
@media (max-width: 760px) {
  .mobile-dock .dock-cta {
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(31, 122, 77, 0.35);
  }
}

/* ── 골프장어때 방문 후기 종합 블록 ── */
.synthesis-block {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.synthesis-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.synthesis-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 8px;
}
.synthesis-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* ── 방문 후기 종합 구조화 카드 (5축 + 장점/단점) ── */
.synthesis-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-low);
}
.synthesis-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.synthesis-head .synthesis-eyebrow { margin: 0; }
.synthesis-count {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green-dark);
  background: var(--surface-tint-green);
  padding: 2px 8px;
  border-radius: 999px;
}
.synthesis-count.low { color: var(--rust); background: #f6ece6; }
.synthesis-card .synthesis-body { font-size: 14px; line-height: 1.7; margin: 0 0 12px; }

.synthesis-axes {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.sx-axis {
  display: grid;
  grid-template-columns: 44px 1fr 34px auto;
  align-items: center;
  gap: 8px;
}
.sx-label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.sx-bar { height: 7px; background: var(--surface-strong); border-radius: 999px; overflow: hidden; }
.sx-fill { height: 100%; border-radius: 999px; }
.sx-fill.good { background: var(--green); }
.sx-fill.mid  { background: var(--gold); }
.sx-fill.low  { background: var(--rust); }
.sx-score { font-size: var(--fs-sm); font-weight: 800; color: var(--ink); text-align: right; }
.sx-n { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }

.synthesis-procon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.synthesis-procon b { display: block; font-size: var(--fs-sm); margin-bottom: 5px; }
.sx-pros b { color: var(--green-dark); }
.sx-cons b { color: var(--rust); }
.synthesis-procon ul { margin: 0; padding-left: 16px; }
.synthesis-procon li { font-size: var(--fs-base); line-height: 1.6; color: var(--ink); opacity: 0.85; }
@media (max-width: 520px) {
  .synthesis-procon { grid-template-columns: 1fr; gap: 10px; }
  .sx-axis { grid-template-columns: 40px 1fr 32px; }
  .sx-axis .sx-n { grid-column: 2 / -1; text-align: right; margin-top: -2px; }
}

/* ── 카카오맵 리뷰 섹션 ── */
.kakao-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.kakao-star-big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold, #d4a833);
  min-width: 3ch;
}
.kakao-star-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.kakao-star-bar {
  height: 100%;
  background: var(--gold, #d4a833);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.kakao-review-cnt {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}
.kakao-review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kakao-review-item {
  background: var(--surface, #f6f9f7);
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--gold, #d4a833);
}
.kakao-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.kakao-review-stars {
  color: var(--gold, #d4a833);
  font-size: 0.85rem;
  letter-spacing: -1px;
}
.kakao-review-date {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--muted);
}
.kakao-photo-cnt {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--muted);
}
.kakao-review-text {
  font-size: var(--fs-base);   /* 13px */
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  white-space: pre-wrap;
}
.kakao-attribution {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--muted);
  margin-top: 10px;
}
.kakao-attribution a {
  color: var(--green);
  text-decoration: underline;
}
.kakao-blog-reviews {
  margin-top: 18px;
}
.kakao-blog-title {
  display: block;
  margin: 5px 0 7px;
  color: var(--ink);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.kakao-blog-title:hover,
.kakao-blog-title:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

/* ── 최근 직접 리뷰 배너 (rdr) ── */
.recent-direct-review-section {}
.rdr-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.rdr-scroll-wrap::-webkit-scrollbar { display: none; }
.rdr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}
.rdr-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
}
.rdr-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--card-indicator-color, var(--green));
  border-radius: 4px 0 0 4px;
}
.rdr-card-inner {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  background: var(--surface, #f6f9f7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px 14px 18px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
}
.rdr-card-inner:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.rdr-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rdr-course-name {
  font-size: var(--fs-sub);    /* 15px */
  font-weight: 700;
  color: var(--ink);
}
.rdr-region {
  font-size: var(--fs-xs);     /* 11px */
  color: var(--muted);
  background: var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.rdr-date {
  font-size: var(--fs-xs);     /* 11px */
  color: var(--muted);
  margin-left: auto;
}
.rdr-stars {
  font-size: var(--fs-sm);     /* 12px */
  color: var(--gold, #d4a833);
  letter-spacing: -1px;
}
.rdr-comment {
  font-size: var(--fs-base);   /* 13px */
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rdr-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.rdr-tags em {
  font-style: normal;
  font-size: var(--fs-xs);     /* 11px */
  background: rgba(31,122,77,0.08);
  color: var(--green);
  border-radius: 4px;
  padding: 2px 6px;
}
@media (max-width: 760px) {
  .rdr-card { flex: 0 0 240px; }
  .rdr-card-inner { padding: 12px 12px 12px 16px; }
}

/* ── 에디터 방문기 빈 상태 (관리자 전용) ── */
.editorial-empty-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(31,122,77,0.06) 0%, rgba(31,122,77,0.02) 100%);
  border: 1.5px dashed var(--green, #1a7a4a);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  min-height: 80px;
}
.editorial-empty-cta p { margin: 0; letter-spacing: 0.01em; }

/* ═══════════════════════════════════════════════════════════════
   홈화면 시각 임팩트 개선 (2026-05-22)
   ═══════════════════════════════════════════════════════════════ */

/* 1. 섹션 eyebrow — 캡슐 뱃지 */
.section-title .eyebrow {
  display: inline-block;
  background: rgba(31, 122, 77, 0.10);
  color: var(--green);
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
  opacity: 1;
}

/* 2. home-section — 섹션별 시각 구분 */
.home-section {
  border: none;
  box-shadow: 0 2px 12px rgba(23, 33, 29, 0.07);
  border-radius: 14px;
}

/* 에디터 섹션 — main-view 직속, 히어로에서 자연스럽게 이어지도록 */
.editorial-visit-section {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  border-top: 3px solid var(--green);
}
.home-section:nth-child(even) {
  background: #f3f8f4;
}

/* 3. home-card-meta b — 점수 원형 배지 */
.home-card-meta b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(31, 122, 77, 0.3);
}

/* 4. home-course-card-photo — 하단 그라데이션 오버레이 강화 */
.home-course-card-photo {
  position: relative;
}
.home-course-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 20, 15, 0.55) 100%);
  border-radius: inherit;
}

/* 5. section-title h3 — 좌측 컬러 바 */
.section-title h3 {
  position: relative;
  padding-left: 12px;
}
.section-title h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: var(--green);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   CYBER-MODERN REDESIGN (2026-05-22)
   ═══════════════════════════════════════════════════════════════ */

/* ── 네온 변수 추가 ── */
:root {
  --neon: #2f9e63;
  --neon-dim: #00c060;
  --neon-glow: 0 0 10px rgba(47,158,99,.55), 0 0 28px rgba(47,158,99,.22);
  --dark-base: #08100d;
  --dark-card: rgba(255,255,255,0.055);
  --dark-card-border: rgba(255,255,255,0.10);
  --dark-text: #e2f5ec;
  --dark-muted: #6aaa88;
}

/* ── HOME SECTIONS 배경 — 내추럴 크림 ── */
.home-sections {
  background: var(--surface);
  border-bottom: none;
  gap: 22px;
}

/* ── 섹션 개별 카드 — 라이트 패널 ── */
.home-section,
.review-cta {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-low);
  padding: 22px 20px;
}
/* 짝수 섹션 미묘한 그린 틴트 */
.home-section:nth-child(even) {
  background: var(--surface-tint-green);
  border-color: rgba(47,158,99,0.16);
}

/* ── Eyebrow 배지 — 네온 ── */
.section-title .eyebrow {
  background: rgba(47,158,99,0.14);
  color: var(--neon);
  border: 1px solid rgba(47,158,99,0.28);
  font-size: var(--fs-xs);     /* 11px */
  font-weight: 800;
  letter-spacing: 0.10em;
}

/* ── 섹션 h3 — 솔리드 잉크 + 그린 액센트 바 ── */
.section-title h3 {
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  color: var(--ink);
  padding-left: 14px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-title h3::before {
  background: var(--green);
  box-shadow: none;
  width: 3.5px;
  border-radius: 2px;
}
/* 보조 span 색상 */
.section-title span { color: var(--muted); }

/* ────────────────────────────
   홈 코스 카드 — 글래스
──────────────────────────── */
.home-course-card {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.home-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47,158,99,0.45);
  box-shadow: var(--shadow-high);
}
.home-course-card-body {
  background: var(--panel);
}
.home-course-card-body strong { color: var(--ink); }
.home-course-card-body p     { color: var(--muted); }

/* 스코어 배지 — 네온 글로우 */
.home-course-card-score {
  background: var(--neon);
  color: #06100d;
  font-weight: 900;
  border: none;
  box-shadow: var(--neon-glow);
}

/* 지역 배지 */
.home-course-card-region {
  background: rgba(47,158,99,0.14);
  border-color: rgba(47,158,99,0.32);
  color: var(--green-dark);
}

/* ────────────────────────────
   태그 / 그린피 라인
──────────────────────────── */
.tag-row em {
  background: rgba(47,158,99,0.11);
  color: #2f9e63;
  border: 1px solid rgba(47,158,99,0.24);
  font-weight: 700;
  padding: 4px 9px;
}
.home-fee-line {
  background: var(--surface-tint-gold);
  border: 1px solid rgba(176,138,60,0.18);
  border-radius: 8px;
  padding: 6px 10px;
}
.home-fee-line b     { color: var(--gold); font-weight: 800; }
.home-fee-line small { color: var(--muted); }

.trending-name   { color: var(--ink); font-weight: 800; }
.trending-region { color: var(--muted); }
.trending-fee    { color: var(--gold); font-weight: 700; }

/* 트렌딩 랭크 배지 금/은/동 */
#trendingList .trending-card:nth-child(1) { border-color: rgba(201,151,26,.28); background: rgba(201,151,26,.06); }
#trendingList .trending-card:nth-child(2) { border-color: rgba(160,180,190,.22); background: rgba(160,180,190,.04); }
#trendingList .trending-card:nth-child(3) { border-color: rgba(184,112,58,.25); background: rgba(184,112,58,.05); }
#trendingList .trending-card:nth-child(1) .trending-rank-badge {
  background: linear-gradient(135deg,#c9971a,#f0c849);
  color: #06100d; border: none; box-shadow: 0 2px 8px rgba(201,151,26,.5);
}
#trendingList .trending-card:nth-child(2) .trending-rank-badge {
  background: linear-gradient(135deg,#8fa3b2,#c0d1db);
  color: #06100d; border: none;
}
#trendingList .trending-card:nth-child(3) .trending-rank-badge {
  background: linear-gradient(135deg,#b8703a,#dc9b6a);
  color: #fff; border: none;
}

/* ────────────────────────────
   목적별 추천 카드
──────────────────────────── */
.purpose-card {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.purpose-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,158,99,0.45);
  box-shadow: var(--shadow-mid);
}
.purpose-card strong { color: var(--ink); }
.purpose-card span   { color: var(--muted); }
.purpose-card[data-home-filter="beginner"] {
  background: rgba(74,130,220,0.07); border-color: rgba(74,130,220,0.22);
}
.purpose-card[data-home-filter="business"] {
  background: rgba(47,158,99,0.06); border-color: rgba(47,158,99,0.18);
}
.purpose-card[data-home-filter="green"] {
  background: rgba(0,180,80,0.07);  border-color: rgba(0,180,80,0.22);
}
.purpose-card[data-home-filter="value"] {
  background: rgba(210,165,40,0.07); border-color: rgba(210,165,40,0.20);
}

/* ────────────────────────────
   스탠다드 아티클
──────────────────────────── */
.standard-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-low);
}
.standard-grid article:nth-child(1) { border-top: 3px solid var(--green); }
.standard-grid article:nth-child(2) { border-top: 3px solid var(--gold); }
.standard-grid article:nth-child(3) { border-top: 3px solid var(--blue); }
.standard-grid strong { color: var(--ink); font-size: 15px; font-weight: 800; }
.standard-grid p      { color: var(--muted); }

/* ────────────────────────────
   맞춤 추천 CTA 배너 (네온 테두리)
──────────────────────────── */
.smart-filter-cta-section {
  border: 1px solid rgba(47,158,99,0.35);
  box-shadow: 0 0 40px rgba(47,158,99,0.10),
              inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ────────────────────────────
   Primary 버튼 / Chip 네온
──────────────────────────── */
.primary-button {
  background: linear-gradient(135deg, #268a52, #2f9e63);
  box-shadow: 0 4px 18px rgba(47,158,99,.35);
}
.chip.active {
  background: rgba(47,158,99,0.14);
  border-color: rgba(47,158,99,0.45);
  color: var(--neon);
  box-shadow: 0 0 10px rgba(47,158,99,0.15);
}

/* ════════════════════════════
   홈화면 비주얼 강화 2차 (2026-05-22)
   ════════════════════════════ */

/* ── 1. 트렌딩 랭킹 금/은/동 ── */
#trendingList .trending-card:nth-child(1) .trending-rank-badge {
  background: linear-gradient(135deg, #c9971a, #f0c849);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(201,151,26,.45);
  width: 26px;
  height: 26px;
  font-size: 12px;
}
#trendingList .trending-card:nth-child(2) .trending-rank-badge {
  background: linear-gradient(135deg, #8fa3b2, #c0d1db);
  color: #fff;
  border: none;
}
#trendingList .trending-card:nth-child(3) .trending-rank-badge {
  background: linear-gradient(135deg, #b8703a, #dc9b6a);
  color: #fff;
  border: none;
}
#trendingList .trending-card:nth-child(1) {
  border-color: rgba(201,151,26,.35);
  background: linear-gradient(120deg, rgba(201,151,26,.12) 0%, rgba(255,255,255,0.04) 100%);
}
#trendingList .trending-card:nth-child(2) {
  border-color: rgba(143,163,178,.30);
  background: linear-gradient(120deg, rgba(143,163,178,.09) 0%, rgba(255,255,255,0.03) 100%);
}
#trendingList .trending-card:nth-child(3) {
  border-color: rgba(184,112,58,.30);
  background: linear-gradient(120deg, rgba(184,112,58,.10) 0%, rgba(255,255,255,0.03) 100%);
}

/* ── 2. 목적별 추천 카드 컬러 ── */
.purpose-card[data-home-filter="beginner"] {
  background: linear-gradient(140deg, #edf4ff 0%, #dceeff 100%);
  border-color: #aacef5;
}
.purpose-card[data-home-filter="beginner"]:hover { border-color: #4f90d6; }
.purpose-card[data-home-filter="business"] {
  background: linear-gradient(140deg, #f0f7f3 0%, #ddeee5 100%);
  border-color: #9fcdb3;
}
.purpose-card[data-home-filter="business"]:hover { border-color: var(--green); }
.purpose-card[data-home-filter="green"] {
  background: linear-gradient(140deg, #e5f7ec 0%, #ccedda 100%);
  border-color: #76c795;
}
.purpose-card[data-home-filter="green"]:hover { border-color: var(--green); }
.purpose-card[data-home-filter="value"] {
  background: linear-gradient(140deg, #fffaec 0%, #fef0c0 100%);
  border-color: #ddc060;
}
.purpose-card[data-home-filter="value"]:hover { border-color: var(--gold); }

/* Purpose card icon prefix */
.purpose-card[data-home-filter="beginner"] strong::before { content: "🟢\00A0"; }
.purpose-card[data-home-filter="business"] strong::before { content: "⭐\00A0"; }
.purpose-card[data-home-filter="green"] strong::before   { content: "🌿\00A0"; }
.purpose-card[data-home-filter="value"] strong::before   { content: "💰\00A0"; }

/* ── 3. 스탠다드 그리드 아티클 상단 컬러 선 ── */
.standard-grid article:nth-child(1) { border-top: 3px solid var(--green); }
.standard-grid article:nth-child(2) { border-top: 3px solid var(--gold); }
.standard-grid article:nth-child(3) { border-top: 3px solid var(--blue); }
.standard-grid article strong {
  font-size: 15px;
  font-weight: 800;
}

/* ── 4. 홈 카드 스코어 배지 그린 버전 ── */
.home-course-card-score {
  background: var(--green);
  color: #fff;
  border: 2.5px solid rgba(255,255,255,0.7);
  box-shadow: 0 4px 16px rgba(10,122,68,.35);
}

/* ── 5. home-fee-line 그린 강조 ── */
.home-fee-line b {
  color: var(--green-dark);
  font-weight: 800;
}

/* ── 6. 태그 row — surface → 그린 틴트 캡슐 ── */
.tag-row em {
  background: var(--surface-tint-green);
  color: var(--green-dark);
  font-weight: 700;
  padding: 4px 9px;
}

/* ── 7. 섹션 헤더 eyebrow 글자 더 선명하게 ── */
.section-title .eyebrow {
  font-size: var(--fs-xs);     /* 11px */
  letter-spacing: 0.08em;
  font-weight: 800;
}

/* ── 8. home-section 패딩/간격 개선 ── */
.home-sections {
  gap: 20px;
}
.home-section {
  padding: 20px 18px;
}

/* ── 9. 실시간 트렌딩 trending-name 폰트 굵게 ── */
.trending-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.trending-region { color: var(--muted); }
.trending-fee {
  color: var(--gold);
  font-weight: 700;
}

/* ── 10. Smart Filter CTA — 더 눈에 띄는 배너 ── */
.smart-filter-cta-section {
  background: linear-gradient(135deg, #0a7a44 0%, #0fa85e 50%, #1dbf6b 100%);
  border-color: transparent;
  color: #fff;
}
.smart-filter-cta-section .eyebrow {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.smart-filter-cta-section h3,
.smart-filter-cta-section .smart-filter-cta-desc {
  color: #fff;
}
.smart-filter-cta-section .smart-filter-cta-desc {
  opacity: 0.88;
}
.smart-filter-cta-section .chip.active,
.smart-filter-cta-section #openSmartFilter {
  background: #fff;
  color: var(--green-dark);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.smart-filter-cta-section .chip.active:hover,
.smart-filter-cta-section #openSmartFilter:hover {
  background: #f0faf4;
}

/* ── 그린스피드 (2026-05-22) ── */

/* 컨디션 카드 4번째 메트릭 강조 */
.vmetric-speed { gap: 8px; }
.vmetric-speed strong { color: var(--neon, #2f9e63); }
.gs-ft {
  font-weight: 800;
  color: var(--neon, #2f9e63);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* 리뷰 폼 그린스피드 셀렉트 */
.gs-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gs-label select {
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s;
}
.gs-label select:focus {
  outline: none;
  border-color: var(--green);
}

/* 메트릭 그리드 스피드 배지 */
.metric::before[style*="스피드"],
.metric .metric-icon {
  font-size: 11px;
}

/* 예약 어필리에이트 링크 패널 (Task A) */
.reservation-links-panel { margin: 16px 0; }
/* 예약 오픈 선점 팁 — 수강신청형 예약 경쟁 구장 전용(코스별 정보) */
.booking-open-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fdf6e8, #faefd8);
  border: 1px solid #e8d5a8;
}
.booking-open-tip .bk-icon { font-size: 18px; line-height: 1.3; }
.booking-open-tip .bk-title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: #8a6410;
  margin-bottom: 3px;
}
.booking-open-tip p {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink);
}
.booking-open-tip p strong { color: #8a6410; }
.booking-open-tip .bk-check { color: var(--muted); }

/* 가성비 예약 팁 — 컴팩트 1줄(공통 문구 피로감 축소, 상세 최하단 배치) */
.res-tip-compact {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--line);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
}
.res-tip-compact strong { color: var(--green-dark, var(--green)); font-weight: 700; }
.res-tip-lead {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin: 10px 0 8px;
}
.res-tip-lead strong { color: var(--green-dark, var(--green)); }
.res-tip-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.res-tip-list li {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.res-tip-list li strong { color: var(--ink); font-weight: 700; }

.partner-cta-panel {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(20, 125, 73, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  box-shadow: 0 10px 24px rgba(26, 52, 39, 0.06);
}
.partner-cta-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
}
.partner-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 125, 73, 0.1);
  color: var(--green-dark, var(--green));
  font-size: 11px;
  font-weight: 800;
}
.partner-cta-head strong,
.b2b-insight-card strong {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
}
.partner-cta-head p,
.b2b-insight-card p,
.partner-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.partner-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.partner-action {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  display: grid;
  gap: 4px;
  color: inherit;
  min-height: 104px;
}
.partner-action:hover {
  border-color: rgba(20, 125, 73, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 52, 39, 0.08);
}
.partner-action.primary {
  border-color: rgba(20, 125, 73, 0.32);
  background: #f0f8f3;
}
.partner-action span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.partner-action strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}
.partner-action small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.partner-disclaimer {
  margin-top: 10px;
}

.b2b-insight-card {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}
.b2b-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.b2b-metric-row span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.b2b-metric-row b {
  color: var(--green-dark, var(--green));
  font-size: 16px;
  line-height: 1;
}

/* 골프장 관계자 반론권 (Task C) */
.course-claim-section {
  margin-top: 24px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.course-claim-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.course-claim-link:hover { color: var(--green); }
.claim-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .partner-action-grid,
  .b2b-metric-row {
    grid-template-columns: 1fr;
  }
  .partner-action {
    min-height: auto;
  }
}

/* ── 에디터 방문기 사진 업로드 ── */
.avf-photo-drop {
  width: 100%;
  min-height: 160px;
  border: 2px dashed var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.avf-photo-drop:hover,
.avf-photo-drop.avf-photo-dragover {
  border-color: var(--green);
  background: var(--surface-tint-green, #f0faf4);
}
.avf-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
  pointer-events: none;
}
.avf-photo-icon { font-size: 32px; line-height: 1; }
.avf-photo-placeholder small { font-size: 11px; opacity: 0.7; }
.avf-photo-preview-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.avf-photo-remove {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.1s, border-color 0.1s;
}
.avf-photo-remove:hover { color: var(--rust, #c0392b); border-color: var(--rust, #c0392b); }

/* ── 에디터 방문 카드 — 사진 레이아웃 ── */
.editorial-visit-card .editorial-visit-photo {
  width: 100%;
  height: 190px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.editorial-visit-card .editorial-visit-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.55) 100%
  );
}
.editorial-visit-card .editorial-visit-meta {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  margin: 0;
  z-index: 1;
}
.editorial-visit-card .editorial-visit-rating {
  position: absolute;
  bottom: 8px;
  right: 10px;
  margin: 0;
  z-index: 1;
}
.editorial-visit-card .editorial-visit-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
/* 카드 전체 flex 방향 세로 */
.editorial-visit-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ── 에디터 방문기 코스 검색 콤보박스 ── */
.avf-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.avf-search-wrap input[type="text"] {
  padding-right: 32px;
}
#avf_searchClear {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  line-height: 1;
}
#avf_searchClear:hover { background: var(--surface); color: var(--ink); }
.avf-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--panel);
  border: 1.5px solid var(--green);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  max-height: 260px;
  overflow-y: auto;
  z-index: 999;
}
.avf-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background 0.1s;
}
.avf-dd-item:last-child { border-bottom: none; }
.avf-dd-item:hover,
.avf-dd-item.avf-dd-hl {
  background: var(--surface-tint-green, #f0faf4);
}
.avf-dd-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.avf-dd-name mark {
  background: rgba(0,180,80,0.18);
  color: var(--green-dark, #0a7a44);
  border-radius: 2px;
  padding: 0 1px;
  font-weight: 800;
}
.avf-dd-region {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 8px;
}
.avf-dd-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.avf-selected-badge {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark, #0a7a44);
  background: var(--surface-tint-green, #f0faf4);
  border: 1px solid rgba(0,180,80,0.25);
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════
   에디터 방문 카드 — 다크 테마 가시성 강화 (2026-05-24)
   ════════════════════════════════════════════════════════ */
.editorial-visit-card {
  /* 다크 글래스 배경 위에서 눈에 잘 띄게 — 밝은 반투명 카드 */
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.13) 0%,
    rgba(200,255,230,0.09) 100%
  ) !important;
  border: 1.5px solid rgba(47,158,99,0.35) !important;
  border-top: 3px solid var(--neon, #2f9e63) !important;
  box-shadow:
    0 0 0 0.5px rgba(47,158,99,0.10),
    0 8px 28px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.editorial-visit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,158,99,0.70) !important;
  box-shadow:
    0 0 0 1px rgba(47,158,99,0.25),
    0 16px 44px rgba(0,0,0,0.55),
    0 0 24px rgba(47,158,99,0.12);
}

/* 에디터 방문 배지 — 네온 그린 */
.editorial-visit-badge {
  background: linear-gradient(120deg, #2a945a, #2f9e63) !important;
  color: #03160b !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  box-shadow: 0 0 8px rgba(47,158,99,0.45);
}

/* 날짜 텍스트 */
.editorial-visit-date {
  color: var(--dark-muted, #6aaa88) !important;
}

/* 골프장 이름 — 밝고 굵게 */
.editorial-visit-name {
  color: #e8fef3 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* 별점 영역 */
.editorial-stars {
  color: #f5c842 !important;
  filter: drop-shadow(0 0 3px rgba(245,200,66,0.5));
}
.editorial-rating-num {
  color: #f5c842 !important;
  font-weight: 800 !important;
}

/* 헤드라인 — 선명한 흰색 */
.editorial-visit-headline {
  color: #d0f0e2 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* 코멘트 본문 — 읽기 좋은 밝은 회색 */
.editorial-visit-comment {
  color: #8ac9a8 !important;
  font-size: 12px !important;
}

/* ════════════════════════════════════════════════════════
   지도 CSS 핀 맵 — 통계 바 + 다크 테마 핀 (2026-05-24)
   ════════════════════════════════════════════════════════ */

/* 지도 배경 (Leaflet 타일 로드 전 잠깐 보이는 바탕) */
.map-canvas {
  background-color: #eef3f0 !important;
}

/* 통계 바 — Leaflet 패널(zoom 컨트롤 z-index 1000) 위로 */
.map-stat-bar {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6,14,9,0.82);
  border: 1px solid rgba(47,158,99,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: #8ac9a8;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.map-stat-bar b { color: #2f9e63; font-weight: 800; margin-right: 2px; }
.map-stat-div   { color: rgba(47,158,99,0.25); }

/* 핀 다크 테마 */
.pin {
  background: rgba(8,18,12,0.88);
  border-color: rgba(47,158,99,0.35);
  color: #e0f5ec;
}
.pin b {
  background: rgba(0,180,80,0.75);
  color: #fff;
}
.pin span { color: #c0e8d0; }
.pin.pin-good b { background: #00c060; box-shadow: 0 0 8px rgba(0,192,96,.5); }
.pin.pin-ok   b { background: #c0a020; }
.pin.pin-low  b { background: #b04030; }
.pin.active   { border-color: #2f9e63; box-shadow: 0 0 0 2px rgba(47,158,99,.3); }
.pin.active b { background: #2f9e63; color: #03100a; }
.pin:hover    { border-color: #2f9e63; transform: translate(-50%,-50%) scale(1.12); }

/* ════════════════════════════════════════════════════════
   트렌딩 — 순위 리스트 (2026-05-24)
   ════════════════════════════════════════════════════════ */
/* ── 골프장 자체 할인 이벤트 모음 ───────────────────────────── */
.discount-event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.discount-event-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold, #c79a3a);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--surface, #fff);
}
.dev-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.dev-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dev-operator {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold, #c79a3a);
  letter-spacing: 0.02em;
}
.dev-title { font-size: 15px; font-weight: 800; color: var(--ink, #1c1c1c); line-height: 1.3; }
.dev-dday {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--green, #2f9e63);
  background: rgba(47, 158, 99, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}
.dev-dday.urgent { color: #c0392b; background: rgba(192, 57, 43, 0.1); }
.dev-period { font-size: 12px; color: var(--ink-soft, #6a6a6a); margin-top: 4px; }
.dev-courses {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dev-course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.dev-course-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #1c1c1c);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}
.dev-course-name.link { color: var(--green, #2f9e63); cursor: pointer; text-decoration: underline; }
.dev-course-price { font-size: 12.5px; color: var(--ink, #1c1c1c); font-weight: 700; white-space: nowrap; }
.dev-course-price em { font-style: normal; font-weight: 600; color: var(--ink-soft, #6a6a6a); margin-left: 6px; }
.dev-conditions {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.dev-conditions li {
  font-size: 11px;
  color: var(--ink-soft, #6a6a6a);
  background: var(--bg-soft, #f5f5f3);
  border-radius: 5px;
  padding: 2px 7px;
}
.dev-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.dev-phone { color: var(--ink-soft, #6a6a6a); }
.dev-source { color: var(--green, #2f9e63); font-weight: 700; text-decoration: none; }
.dev-source:hover { text-decoration: underline; }

.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.trending-list-item {
  border-bottom: 1px solid var(--line);
}
.trending-list-item:last-child { border-bottom: none; }

.trending-list-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.13s;
}
.trending-list-btn:hover {
  background: rgba(47, 158, 99, 0.07);
}

.trending-list-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  background: var(--surface);
  color: var(--muted);
}
.trending-list-rank.rank-gold   { background: #c8960c; color: #fff; }
.trending-list-rank.rank-silver { background: #8a9aaa; color: #fff; }
.trending-list-rank.rank-bronze { background: #9c6a3a; color: #fff; }

.trending-list-name {
  flex: 1;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1a2e22 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trending-list-btn:hover .trending-list-name {
  color: var(--green-dark) !important;
}

.trending-list-region {
  font-size: 11px !important;
  color: #5a7a65 !important;
  white-space: nowrap;
}
.trending-list-fee {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--green-dark) !important;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════
   에디터 방문기 — 다중 사진 + 썸네일 스트립 (2026-05-24)
   ════════════════════════════════════════════════════════ */

/* 카드 컨테이너: div로 변경 후 flex-column */
.editorial-visit-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  cursor: default !important;
  border-top: 3px solid var(--neon) !important;
}

/* 메인 사진 버튼 */
.ev-main-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ev-main-btn:hover .ev-photo-area {
  filter: brightness(1.07);
}

/* 사진 카운트 뱃지 */
.ev-photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 99px;
  pointer-events: none;
}

/* 썸네일 스트립 */
.ev-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(6,18,12,0.92);
  border-top: 1px solid rgba(47,158,99,0.12);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47,158,99,0.3) transparent;
}
.ev-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  opacity: 0.65;
}
.ev-thumb.active,
.ev-thumb:hover {
  border-color: #2f9e63;
  opacity: 1;
  transform: scale(1.06);
}

/* ── 어드민 다중 사진 업로드 ──────────────── */
.avf-multi-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px;
  border: 2px dashed rgba(47,158,99,0.3);
  border-radius: 10px;
  background: rgba(6,18,12,0.5);
  color: #8ac9a8;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.avf-multi-drop:hover,
.avf-multi-drop.avf-photo-dragover {
  border-color: #2f9e63;
  background: rgba(47,158,99,0.08);
}
.avf-multi-drop .avf-photo-icon { font-size: 24px; }
.avf-multi-drop small { color: rgba(138,201,168,0.6); font-size: 11px; }

.avf-multi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.avf-multi-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(47,158,99,0.25);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.avf-multi-thumb:hover {
  border-color: rgba(47,158,99,0.6);
}
.avf-multi-thumb.is-cover {
  border-color: var(--green, #2f9e63);
  box-shadow: 0 0 0 2px rgba(47,158,99,0.45);
}
.avf-multi-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avf-thumb-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.72);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  line-height: 1;
}
.avf-thumb-remove:hover { background: #b04030; }
.avf-thumb-main {
  position: absolute;
  bottom: 3px;
  left: 3px;
  background: rgba(47,158,99,0.85);
  color: #03100a;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Legal & trust pages */
.legal-page {
  width: 100%;
  margin: 0;
  background: #f6f7f4;
  border-top: 1px solid var(--line, #e3e1d8);
  padding: 34px 18px 42px;
  color: var(--ink, #1c1c1c);
}
.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line, #e3e1d8);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(31, 42, 34, 0.08);
  overflow: hidden;
}
.legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--line, #e3e1d8);
  background: linear-gradient(180deg, #ffffff 0%, #fafaf7 100%);
}
.legal-head h2 {
  margin: 4px 0 8px;
  font-size: 26px;
  letter-spacing: 0;
  color: var(--ink, #1c1c1c);
}
.legal-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted, #6f746d);
  line-height: 1.55;
}
.legal-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line, #e3e1d8);
  overflow-x: auto;
}
.legal-tabs .chip {
  flex: 0 0 auto;
}
.legal-article {
  display: none;
  padding: 26px 28px 32px;
  color: var(--ink, #1c1c1c);
}
.legal-article.active {
  display: block;
}
.legal-article h3 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: 0;
}
.legal-article h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  color: #173f2b;
}
.legal-article p,
.legal-article li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #40473f;
}
.legal-article ul {
  margin: 8px 0 0;
  padding-left: 20px;
}
.legal-article a {
  color: var(--green, #2f9e63);
  font-weight: 700;
}
.legal-updated {
  display: inline-flex;
  margin: 0 0 8px !important;
  padding: 5px 9px;
  border-radius: 5px;
  background: #edf6ef;
  color: #276442 !important;
  font-size: 12.5px !important;
  font-weight: 700;
}

@media (max-width: 760px) {
  .legal-page {
    padding: 18px 10px 28px;
  }
  .legal-shell {
    border-radius: 6px;
  }
  .legal-head {
    padding: 20px 16px 14px;
  }
  .legal-head h2 {
    font-size: 22px;
  }
  .legal-tabs {
    padding: 12px 16px;
  }
  .legal-article {
    padding: 20px 16px 26px;
  }
  .legal-article h3 {
    font-size: 21px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   현장톡 (커뮤니티) — 상세 섹션 + 메인 실시간 섹션
   ═══════════════════════════════════════════════════════════════ */
.field-talk-section { margin-top: 16px; }
.ft-new-form,
.ft-reply-form { display: flex; gap: 8px; align-items: center; }
.ft-new-form { margin: 12px 0 14px; flex-direction: column; align-items: stretch; }
.ft-new-row { display: flex; gap: 8px; align-items: center; }
.ft-new-form input,
.ft-reply-form input {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}
.ft-new-form input:focus,
.ft-reply-form input:focus { outline: none; border-color: var(--green-soft); }
.ft-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-tint-green);
}
.ft-rating-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.ft-rating-row select {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
}
.ft-rating-preview { margin-left: auto; }
.ft-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.ft-rating.compact { font-size: 11px; }
.ft-stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  letter-spacing: 0;
  color: #d1d5db;
}
.ft-star-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: #f6b73c;
  white-space: nowrap;
}
.ft-rating-num { color: var(--green-dark); }
.ft-rating-empty { font-size: 12px; color: var(--muted); }
.ft-list { display: flex; flex-direction: column; gap: 10px; }
.ft-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-tint-green);
  padding: 12px 14px;
}
.ft-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.ft-time { font-size: 12px; line-height: 1.25; color: var(--muted); }
.ft-replycount { margin-left: auto; font-size: 12px; color: var(--green-dark); font-weight: 600; }
.ft-badge {
  font-size: 11px; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 6px; padding: 1px 6px;
}
.ft-body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ft-replies { margin: 8px 0 6px; padding-left: 10px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.ft-reply { font-size: 13px; color: var(--ink); line-height: 1.45; }
.ft-reply .ft-time { margin-right: 4px; }
.ft-reply-form { margin-top: 8px; }
.ft-reply-form input { padding: 7px 10px; font-size: 13px; }
.ft-reply-form .text-button { white-space: nowrap; }
.ft-empty { font-size: 13px; color: var(--muted); padding: 14px 0; text-align: center; }
.ft-older { margin-top: 10px; }
.ft-older > summary { cursor: pointer; font-size: 13px; color: var(--green-dark); font-weight: 600; padding: 6px 0; }
.ft-older .ft-list { margin-top: 8px; }

/* 메인 실시간 현장톡 */
/* 실시간 현장톡 — 메인 한 줄 배너 (홈에서만 노출, 비-홈 뷰는 숨김) */
.ft-live-banner { margin: 12px 22px 0; }
.ft-banner-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line, #e3ece7);
  border-radius: 12px;
  background: linear-gradient(90deg, #f0faf4, #ffffff);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.ft-banner-inner:hover { border-color: #9fcdb2; background: #eef7f1; }
.ft-banner-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-dark, #1a6b3a);
  background: rgba(31, 122, 77, 0.1);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.ft-banner-course { flex: 0 0 auto; font-weight: 800; color: var(--ink, #1d2a23); white-space: nowrap; }
.ft-banner-body {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted, #5b6b62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-banner-time { flex: 0 0 auto; font-size: 11px; color: var(--muted, #8a978f); white-space: nowrap; }
.ft-banner-more { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--green, #0a7a44); white-space: nowrap; }
@media (max-width: 760px) {
  .ft-live-banner { margin: 10px 14px 0; }
  .ft-banner-time { display: none; }
  .ft-banner-body { font-size: 12px; }
}

.main-field-talk { margin-top: 16px; }
.main-field-talk .ft-sub { margin-top: 18px; }
.main-field-talk .ft-sub h4 { margin: 0 0 8px; font-size: 15px; color: var(--ink); }
.main-field-talk .ft-sub h4 small { font-weight: 400; color: var(--muted); font-size: 12px; }
.ft-live-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.ft-live-card {
  flex: 0 0 230px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 5px;
  text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 12px 13px;
  transition: border-color .15s, transform .15s;
}
.ft-live-card:hover { border-color: var(--green-soft); transform: translateY(-1px); }
.ft-live-card strong { font-size: 13px; color: var(--green-dark); }
.ft-live-body { font-size: 14px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ft-live-meta { font-size: 12px; color: var(--muted); margin-top: auto; }
.ft-hot { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-hot-chip {
  cursor: pointer; font-size: 13px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 6px 12px;
}
.ft-hot-chip:hover { border-color: var(--green-soft); }
.ft-hot-chip b { color: var(--green-dark); margin-left: 4px; }
@media (max-width: 640px) {
  .ft-new-row { flex-direction: column; align-items: stretch; }
  .ft-rating-row { align-items: flex-start; flex-direction: column; }
  .ft-rating-preview { margin-left: 0; }
}

/* 최근 30일 상태 요약 + 인기 태그 */
.review-summary-30d { margin-top: 16px; }
.rs-sample { font-size: 12px; color: var(--green-dark); font-weight: 600; }
.rs-sample.warn { color: var(--rust); }
.rs-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px; margin: 14px 0 4px;
}
.rs-cell {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-tint-green);
}
.rs-label { font-size: 12px; color: var(--muted); }
.rs-val { font-size: 18px; font-weight: 700; color: var(--ink); }
.rs-val i { font-size: 11px; font-weight: 500; color: var(--muted); font-style: normal; margin-left: 1px; }
.rs-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.rs-tags-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-right: 2px; }
.rs-tag {
  font-size: 12px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 4px 10px;
}
.rs-tag b { color: var(--green-dark); margin-left: 3px; }
@media (max-width: 640px) {
  .rs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 온라인 평판 카드(구글맵 평점·출처확인)를 종합 섹션으로 이동 — 위 토픽/네이버링크와 간격 */
.web-note-rep:not(:empty) { margin-top: 14px; }
/* 유튜브 영상 — '유튜브 후기' 섹션 폐지 후 종합 섹션에 썸네일로 통합 */
.yt-rep-block { margin-top: 14px; }
.yt-rep-heading {
  margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.yt-rep-heading::before { content: "▶"; color: #d33; font-size: 11px; }

/* 홈 최상단 "의사결정 TOP" — 돈 아끼는 화면 */
.decision-top { display: flex; flex-direction: column; gap: 16px; }
.dt-intro {
  font-size: 14px; font-weight: 600; color: var(--green-dark);
  background: var(--surface-tint-green); border-radius: 10px; padding: 10px 14px;
}
.dt-head { margin-bottom: 8px; }
.dt-head h3 { margin: 0; font-size: 16px; }
.dt-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.dt-card {
  flex: 0 0 150px; scroll-snap-align: start; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 12px 13px; transition: border-color .15s, transform .15s;
}
.dt-card:hover { border-color: var(--green-soft); transform: translateY(-1px); }
.dt-card strong { font-size: 14px; color: var(--ink); line-height: 1.3; }
.dt-card span { font-size: 13px; color: var(--muted); }
.dt-card.dt-val span { color: var(--green-dark); font-weight: 700; }
.dt-card.dt-disc span { color: var(--rust); font-weight: 700; }
.dt-card.dt-rep span { font-size: 12px; }

/* P0 신뢰: 최근 블로그 후기 카드 (품질 게이트 통과분만) */
.blog-reviews { margin-top: 14px; }
.blog-reviews-head { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.blog-reviews-head small { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 4px; }
.blog-review-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
  background: var(--surface-tint-green);
}
.blog-review-card:hover { border-color: var(--green-soft); }
.brc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.brc-src { font-size: 11px; font-weight: 700; color: #03c75a; }
.brc-date { font-size: 11px; color: var(--muted); }
.brc-quote { font-size: 13px; color: var(--ink); line-height: 1.5; margin: 0; }
.brc-more { font-size: 11px; color: var(--green-dark); font-weight: 600; margin-top: 4px; display: inline-block; }

/* 홈 "방금 인증된 실그린피" 피드 */
.cert-feed .section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cert-feed .cf-cta { white-space: nowrap; font-size: 13px; padding: 8px 14px; }
.cf-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; margin-top: 8px; }
.cf-card { flex: 0 0 150px; scroll-snap-align: start; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 11px 13px; }
.cf-card:hover { border-color: var(--green-soft); }
.cf-card strong { font-size: 13px; color: var(--green-dark); line-height: 1.3; }
.cf-fee { font-size: 16px; font-weight: 800; color: var(--ink); }
.cf-fee .cf-disc { font-size: 12px; font-weight: 700; color: var(--rust); font-style: normal; margin-left: 3px; }
.cf-meta { font-size: 11px; color: var(--muted); }
.cf-reward { font-size: 10.5px; font-weight: 700; color: var(--green-dark, var(--green)); }
.cf-empty { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* 홈 그린피 제보 허브 — 사용자 참여 플라이휠 */
.greenfee-report-hub {
  border: 1px solid rgba(31,122,77,.18);
  background: linear-gradient(180deg, rgba(234,244,238,.72), var(--panel));
}
.gfr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.gfr-head h3 { margin: 0; font-size: 20px; color: var(--ink); letter-spacing: 0; }
.gfr-head span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.gfr-main-cta { white-space: nowrap; }
.gfr-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.gfr-metrics article { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.78); padding: 12px; }
.gfr-metrics span { display: block; font-size: 11px; color: var(--muted); }
.gfr-metrics strong { display: block; margin-top: 3px; font-size: 19px; color: var(--green-dark, var(--green)); }
.gfr-metrics small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.gfr-body { display: grid; grid-template-columns: 1.35fr .9fr; gap: 12px; }
.gfr-panel { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px; min-width: 0; }
.gfr-panel > strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.gfr-list, .gfr-board { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.gfr-list button { width: 100%; border: 0; border-radius: 9px; background: var(--surface); padding: 9px 10px; text-align: left; cursor: pointer; display: grid; gap: 2px; }
.gfr-list button:hover { background: var(--surface-tint-green, #eaf4ee); }
.gfr-list b, .gfr-board b { font-size: 13px; color: var(--ink); }
.gfr-list span { font-size: 11px; color: var(--muted); }
.gfr-list em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green-dark, var(--green)); }
.gfr-board li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; font-size: 12px; }
.gfr-board span { width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-tint-green, #eaf4ee); color: var(--green-dark, var(--green)); font-weight: 800; }
.gfr-board em { font-style: normal; color: var(--muted); font-size: 11px; }
.gfr-empty { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 720px) {
  .gfr-head { flex-direction: column; }
  .gfr-main-cta { width: 100%; }
  .gfr-metrics, .gfr-body { grid-template-columns: 1fr; }
}

/* 실그린피 인증 — CTA + 모달 */
.greenfee-cert-dialog .gfc-course-row { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin-bottom: 4px; }
.greenfee-cert-dialog .gfc-photo { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin: 4px 0; }
.greenfee-cert-dialog .gfc-photo small, .greenfee-cert-dialog .gfc-member small { color: var(--muted); font-weight: 400; }
.greenfee-cert-dialog .gfc-photo-name { font-size: 12px; color: var(--green-dark); }
.greenfee-cert-dialog .gfc-member { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 6px 0 2px; }
.greenfee-cert-dialog .gfc-member input { width: auto; }
.greenfee-cert-dialog .gfc-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.greenfee-cert-dialog .gfc-radio { border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; margin: 0; min-width: 0; }
.greenfee-cert-dialog .gfc-radio legend { font-size: 11px; color: var(--muted); padding: 0 2px; }
.greenfee-cert-dialog .gfc-radio label { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; margin-right: 8px; white-space: nowrap; }
.greenfee-cert-dialog .gfc-radio input { width: auto; margin: 0; }
@media (max-width: 640px) { .greenfee-cert-dialog .gfc-quick { grid-template-columns: 1fr; } }
.cf-proof { font-style: normal; font-size: 11px; }
.greenfee-cert-dialog .gfc-photo { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin: 8px 0; }
.greenfee-cert-dialog .gfc-photo small, .greenfee-cert-dialog .gfc-member small { color: var(--muted); font-weight: 400; }
.greenfee-cert-dialog .gfc-photo-name { font-size: 12px; color: var(--green-dark); }
.greenfee-cert-dialog .gfc-member { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.greenfee-cert-dialog .gfc-member input { width: auto; }
.cf-proof { font-style: normal; font-size: 12px; }
.gfc-cta { width: 100%; margin-top: 12px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.gfc-cta small { font-size: 11px; font-weight: 400; opacity: .85; }
.greenfee-cert-dialog .gfc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.greenfee-cert-dialog .gfc-grid label, .greenfee-cert-dialog .gfc-comment { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink); }
.greenfee-cert-dialog .gfc-grid label small, .greenfee-cert-dialog .gfc-comment small { color: var(--muted); font-weight: 400; }
.greenfee-cert-dialog .gfc-comment { margin-bottom: 8px; }
@media (max-width: 520px) { .greenfee-cert-dialog .gfc-grid { grid-template-columns: 1fr; } }

/* 실그린피 행 — 공식가 대비 할인 표기 */
.real-fee-row .rf-official { display: block; font-size: 10px; font-weight: 500; color: var(--rust); margin-top: 1px; }

/* 대표(에디터) 직접 방문 리뷰 — 구조화 별도 영역 */
/* 가격격차 카드 — "같은 골프장 더 싸게" 핵심 (골드 강조) */
.price-gap-card { border: 1.5px solid var(--gold); border-radius: var(--radius); background: var(--surface-tint-gold); padding: 14px 16px; }
.pg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pg-eyebrow { font-size: 13px; font-weight: 800; color: var(--ink); }
.pg-day { font-size: 11px; font-weight: 700; color: var(--gold); background: var(--panel); border-radius: 999px; padding: 2px 9px; }
.pg-main { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; margin-bottom: 6px; }
.pg-official { color: var(--muted); text-decoration: line-through; }
.pg-arrow { color: var(--muted); }
.pg-lowest { font-weight: 800; color: var(--green-dark); }
.pg-saving { font-size: 18px; color: var(--rust); margin-bottom: 6px; }
.pg-saving strong { font-weight: 800; }
.pg-meta { font-size: 11px; color: var(--muted); margin: 0; }
/* 가격 정보 허브 — 출처별 비교 테이블 */
.ph-table { display: flex; flex-direction: column; gap: 4px; }
.ph-row { display: grid; grid-template-columns: 92px 78px 1fr; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.ph-row.ph-official { background: var(--surface); }
.ph-row.ph-best { border-color: var(--green); background: var(--surface-tint-green); }
.ph-label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.ph-price { font-size: 15px; font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.ph-price em { font-size: 12px; font-weight: 500; color: var(--muted); font-style: normal; }
.ph-row.ph-official .ph-price { color: var(--muted); }
.ph-sub { font-size: 11px; color: var(--muted); min-width: 0; }
.ph-note { font-size: 11px; color: var(--muted); margin: 9px 0 0; }
@media (max-width: 640px) { .ph-row { grid-template-columns: 76px 70px 1fr; } }

/* 홈 미니 레이더 그리드 (노캐디·플레이 인원 전 구장) */
.radar-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.radar-mini { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 9px 11px; cursor: pointer; min-width: 0; }
.radar-mini:hover { border-color: var(--green-soft); }
.radar-mini .rm-status { font-size: 14px; flex: 0 0 auto; }
.radar-mini .rm-name { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.radar-mini .rm-meta { font-size: 11px; color: var(--muted); flex: 0 0 auto; }
.radar-mini .rm-tags { display: flex; gap: 4px; flex: 0 0 auto; }
.radar-mini .rm-tags em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-dark); background: var(--surface-tint-green); border-radius: 5px; padding: 1px 6px; }
.radar-mini .rm-tags em.rm-src { color: var(--muted); background: var(--surface); font-weight: 600; }
@media (max-width: 640px) { .radar-mini-grid { grid-template-columns: 1fr; } }

/* 플레이 옵션 레이더 (노캐디 + 플레이 인원) */
.play-radars { display: flex; flex-direction: column; gap: 10px; }
.radar-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 12px 14px; }
.radar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.radar-title { font-size: 14px; font-weight: 800; color: var(--ink); }
.radar-status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.radar-status.rs-green { background: var(--surface-tint-green); color: var(--green-dark); }
.radar-status.rs-yellow { background: var(--surface-tint-gold); color: var(--gold); }
.radar-status.rs-gray { background: var(--surface); color: var(--muted); }
.radar-status.rs-red { background: #fbe9e4; color: var(--rust); }
.pr-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; margin: 0; }
.pr-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pr-row dt { flex: 0 0 78px; font-size: 12px; color: var(--muted); }
.pr-row dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.pr-est { font-size: 10.5px; font-weight: 700; color: var(--gold); background: var(--surface-tint-gold); border-radius: 4px; padding: 1px 5px; }
.radar-note { margin: 9px 0 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
/* 레이더 — "되나?"에 직접 답하는 헤드라인 + 보조 메타 */
.radar-headline { margin: 2px 0 3px; font-size: 14.5px; font-weight: 800; line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; }
.radar-headline.sm { font-size: 13.5px; font-weight: 750; }
.radar-headline b { color: var(--green-dark); font-weight: 850; }
.radar-meta { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.pc-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.pc-tab { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.pc-tab.active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.pc-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: var(--green); color: #fff; }
.pc-badge.est { background: #c9a227; color: #16140c; }
.pc-badge.none { background: transparent; color: var(--muted); font-weight: 600; }
.pc-tab.active .pc-badge { background: rgba(255, 255, 255, 0.28); color: #fff; }
.pc-panel-wrap:not(.active) { display: none; }
.pc-panel p { margin: 2px 0; font-size: 13px; color: var(--ink); }
.radar-report { margin-top: 8px; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; padding: 2px 0; text-decoration: underline; text-underline-offset: 2px; }
.radar-report:hover { color: var(--rust); }
.info-report-dialog .ir-reasons { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.ir-reason { text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ir-reason:hover { border-color: var(--rust); background: var(--surface-tint-gold); }
@media (max-width: 640px) { .pr-rows { grid-template-columns: 1fr; } }

/* 골프장어때 직접 리뷰 — AI 종합 분석과 시각적으로 명확히 분리 (딥그린 테두리 + 골드 배지) */
.rep-review {
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, var(--surface-tint-green), var(--surface-tint-green)) padding-box;
  box-shadow: var(--shadow-low);
}
.rr-badge { margin-bottom: 10px; }
.rr-badge span {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 800; letter-spacing: -0.2px;
  color: var(--green-dark);
  background: var(--surface-tint-gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 13px;
}
.rr-quote { margin-bottom: 10px; }
.rr-quote-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--gold); margin-bottom: 3px;
}
.rr-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px; margin: 8px 0 10px; padding: 10px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
}
.rr-meta > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.rr-meta dt { flex: 0 0 64px; font-size: 12px; color: var(--muted); }
.rr-meta dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.rr-sponsor { font-weight: 600; }
.rr-sponsor.on { color: var(--rust); }
.ext-breakdown { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 10px 13px; margin-bottom: 10px; }
.eb-head { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.eb-sources { display: flex; flex-wrap: wrap; gap: 5px 7px; margin-bottom: 5px; }
.eb-sources span { font-size: 11.5px; font-weight: 600; color: var(--green-dark); background: var(--surface-tint-green); border-radius: 6px; padding: 2px 8px; }
.eb-meta { font-size: 11px; color: var(--muted); }
.cov-summary { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cov-summary b { color: var(--rust); }
.cov-list { display: flex; flex-direction: column; gap: 4px; }
.cov-row { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; }
.cov-row.poor { border-color: var(--rust); background: #fbe9e4; }
.cov-name { flex: 1 1 auto; font-size: 13px; font-weight: 700; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cov-counts { font-size: 11px; color: var(--muted); flex: 0 0 auto; }
.cov-recollect { flex: 0 0 auto; border: 1px solid var(--green); background: var(--panel); color: var(--green-dark); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 700; cursor: pointer; }
.cov-recollect:hover { background: var(--surface-tint-green); }
/* 검색·필터 접기 토글 */
.search-collapse { float: right; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; padding: 2px 4px; }
.search-collapse:hover { color: var(--green-dark); }
.search-panel.collapsed .filter-group-label,
.search-panel.collapsed .filters,
.search-panel.collapsed .region-filters { display: none; }
.ai-stats { border: 1px solid var(--line); border-radius: 10px; background: var(--surface-tint-blue); padding: 11px 13px; margin-bottom: 12px; }
.ai-stats-head { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.ai-stats-head small { font-weight: 500; color: var(--muted); }
.ai-stats-grid { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ai-stats-grid span { font-size: 12.5px; color: var(--muted); }
.ai-stats-grid b { font-size: 14px; font-weight: 800; color: var(--blue); margin-right: 2px; }
.rr-disclosure {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.rr-disclosure p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }
.rr-disclosure p:first-child { color: var(--green-dark); font-weight: 600; }
.rr-body { display: flex; gap: 14px; }
.rr-photo { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.rr-text { min-width: 0; flex: 1; }
.rr-headline { display: block; font-size: 15px; color: var(--ink); line-height: 1.4; }
.rr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.rr-chip { font-size: 12px; color: var(--ink); background: var(--surface-strong); border-radius: 6px; padding: 3px 9px; }
.rr-chip i { font-style: normal; color: var(--muted); margin-right: 3px; }
.rr-chip.rr-yes { background: var(--surface-tint-green); color: var(--green-dark); }
.rr-summary { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 6px 0; }
.rr-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.rr-pros strong, .rr-cons strong { display: block; font-size: 12px; margin-bottom: 4px; }
.rr-pros strong { color: var(--green-dark); }
.rr-cons strong { color: var(--rust); }
.rr-proscons ul { margin: 0; padding-left: 16px; }
.rr-proscons li { font-size: 12px; color: var(--ink); line-height: 1.5; }
.rr-more { margin-top: 4px; }
@media (max-width: 640px) { .rr-body { flex-direction: column; } .rr-photo { width: 100%; height: 140px; } .rr-proscons { grid-template-columns: 1fr; } .rr-meta { grid-template-columns: 1fr; } }

/* P2 가격 인텔리전스: 90일 그린피 추이 */
.price-history-section { margin-bottom: 14px; }
.ph-legend { display: flex; gap: 14px; margin: 2px 0 8px; font-size: 12px; font-weight: 600; }
.ph-wd-key { color: var(--green-dark); }
.ph-we-key { color: var(--gold); }
.ph-chart { width: 100%; height: 90px; display: block; }
.ph-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ph-line.ph-wd { stroke: var(--green); }
.ph-line.ph-we { stroke: var(--gold); }
.ph-dot-wd { fill: var(--green); }
.ph-dot-we { fill: var(--gold); }
.ph-foot { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; }
.ph-low { color: var(--rust); font-weight: 600; }
.ph-low i { color: var(--muted); font-weight: 400; font-style: normal; }
.ph-dow { color: var(--green-dark); font-weight: 600; }
.ph-hint { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.ph-timing { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 2px; }
.ph-timing-label { font-size: 12px; font-weight: 700; color: var(--green-dark); }
.ph-timing > span:nth-child(2) { font-size: 13px; color: var(--ink); }
.ph-timing b { color: var(--green-dark); }
.ph-timing small { font-size: 11px; color: var(--muted); }

/* P1 핵심 지표: 컨디션지수(8축) + 가성비지수 */
.index-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px;
}
.index-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 14px 16px; border-top: 3px solid var(--line);
}
.index-card.idx-great { border-top-color: var(--green); }
.index-card.idx-good  { border-top-color: var(--green-soft); }
.index-card.idx-ok    { border-top-color: var(--gold); }
.index-card.idx-caution { border-top-color: #d9821f; }
.index-card.idx-poor  { border-top-color: var(--rust); }
.index-card.idx-nodata { border-top-color: var(--line); }
.idx-head { display: flex; align-items: center; justify-content: space-between; }
.idx-eyebrow { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.idx-grade { font-size: 12px; font-weight: 700; color: var(--green-dark); }
.idx-score { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; margin-top: 4px; }
.idx-score small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.idx-sub { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.idx-note { color: var(--green-dark); }
.idx-axes { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.idx-axis { display: grid; grid-template-columns: 44px 1fr 26px; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.idx-axis .idx-bar { height: 6px; background: var(--surface-strong); border-radius: 3px; overflow: hidden; }
.idx-axis .idx-bar i { display: block; height: 100%; background: var(--green-soft); }
.idx-axis b { color: var(--ink); font-weight: 700; text-align: right; }
.idx-formula { display: flex; gap: 8px; margin-top: 8px; }
.idx-formula span { font-size: 11px; color: var(--ink); background: var(--surface-tint-green); border-radius: 6px; padding: 3px 8px; }
.idx-empty { color: var(--muted); font-style: normal; }
@media (max-width: 640px) { .index-cards { grid-template-columns: 1fr; } }

/* "오늘 라운드?" 판정 카드 (날씨+실그린피+컨디션+현장톡 합성) */
.round-decision-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 14px 16px; margin-bottom: 14px;
}
.rd-verdict { display: flex; align-items: center; gap: 12px; }
.rd-verdict-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.rd-verdict strong { display: block; font-size: 17px; color: var(--ink); }
.rd-verdict span { font-size: 13px; color: var(--muted); }
.rd-verdict.rd-good   { --rd-accent: var(--green); }
.rd-verdict.rd-warn   { --rd-accent: var(--gold); }
.rd-verdict.rd-bad    { --rd-accent: var(--rust); }
.rd-good strong  { color: var(--green-dark); }
.rd-warn strong  { color: #a16207; }
.rd-bad strong   { color: var(--rust); }
.rd-signals {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.rd-signal {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface-tint-green); border-radius: 10px; padding: 8px 10px;
}
.rd-sig-label { font-size: 11px; color: var(--muted); }
.rd-sig-label i { font-style: normal; }
.rd-sig-val { font-size: 16px; font-weight: 700; color: var(--ink); }
.rd-sig-note { font-size: 11px; color: var(--green-dark); }
.rd-signal-talk { background: var(--surface-tint-blue); }
.rd-sig-talk { font-size: 12px; color: var(--ink); line-height: 1.35; }
@media (max-width: 640px) {
  .rd-signals { grid-template-columns: 1fr; }
}

/* 다중모델 예보 비교 (기상청/ECMWF/GFS) */
.forecast-compare {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 12px 16px; margin-bottom: 14px;
}
.fc-head { display: flex; flex-direction: column; gap: 1px; margin-bottom: 10px; }
.fc-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.fc-title .fc-split { color: var(--rust); }
.fc-title .fc-agree { color: var(--green-dark); }
.fc-note { font-size: 11px; color: var(--muted); }
.fc-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.fc-cell {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px;
}
.fc-model { font-size: 12px; color: var(--muted); }
.fc-val { font-size: 14px; font-weight: 700; padding: 1px 8px; border-radius: 5px; }
.fc-val.fc-dry   { color: var(--green-dark); background: #dcfce7; }
.fc-val.fc-light { color: #a16207; background: #fef9c3; }
.fc-val.fc-rain  { color: #1d4ed8; background: #dbeafe; }
.fc-val.fc-na    { color: var(--muted); }

/* 라운딩 인증 배지 (구조만) */
.round-verify-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600; border-radius: 6px;
  padding: 1px 7px; white-space: nowrap;
}
.round-verify-badge.verified { color: #fff; background: var(--green); }
.round-verify-badge.pending {
  color: var(--muted); background: var(--surface-strong);
  border: 1px dashed var(--line);
}
.round-verify-method { display: block; margin-top: 8px; font-size: 13px; }
.round-verify-method small { color: var(--muted); font-weight: 400; }
.round-verify-method select { display: block; margin-top: 4px; width: 100%; }

/* ──────────────────────────────────────────────────────────────────────────
   Golfjang Cockpit UI v1
   테슬라식 센터스크린 감각을 골프장어때의 가격·컨디션 데이터 화면에 맞춘 레이어.
   JS가 body.golf-cockpit 클래스를 부여하면 기존 기능은 그대로 두고 외형만 전환한다.
   ────────────────────────────────────────────────────────────────────────── */
body.golf-cockpit {
  color-scheme: dark;
  --ink: #eef6f0;
  --muted: #9aa9a0;
  --line: rgba(221, 235, 225, 0.13);
  --panel: rgba(18, 24, 22, 0.78);
  --surface: #090d0b;
  --surface-strong: rgba(255, 255, 255, 0.075);
  --green: #40d982;
  --green-dark: #72f0aa;
  --green-soft: #84c99e;
  --gold: #e7bd5b;
  --rust: #ff865f;
  --blue: #66b9ff;
  --surface-tint-green: rgba(64, 217, 130, 0.14);
  --surface-tint-gold: rgba(231, 189, 91, 0.16);
  --surface-tint-blue: rgba(102, 185, 255, 0.14);
  --shadow-low: 0 2px 10px rgba(0, 0, 0, .28);
  --shadow-mid: 0 12px 34px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.05);
  --shadow-high: 0 24px 70px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255,255,255,.06);
  --radius: 18px;
  background:
    linear-gradient(115deg, rgba(14, 24, 18, .96), rgba(5, 7, 8, 1) 42%, rgba(11, 17, 15, .98)),
    #070a09;
}

body.golf-cockpit::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.68), rgba(0,0,0,.08));
}

body.golf-cockpit .top-nav {
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(8, 12, 11, .84);
  box-shadow: 0 12px 38px rgba(0,0,0,.42);
}

body.golf-cockpit .nav-logo,
body.golf-cockpit .nav-links button,
body.golf-cockpit .site-footer button {
  color: var(--ink);
}

body.golf-cockpit .nav-logo::after {
  content: "PRICE COCKPIT";
  background: rgba(64, 217, 130, .12);
  border: 1px solid rgba(64,217,130,.26);
  color: var(--green-dark);
  box-shadow: inset 0 0 18px rgba(64,217,130,.06);
}

body.golf-cockpit .nav-logo-mark,
body.golf-cockpit .brand-mark {
  filter: drop-shadow(0 0 16px rgba(64, 217, 130, .28));
}

body.golf-cockpit .nav-links button {
  border: 1px solid transparent;
}

body.golf-cockpit .nav-links button:hover,
body.golf-cockpit .nav-links .nav-tab.active {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}

body.golf-cockpit .app-shell {
  background: rgba(0,0,0,.28);
}

body.golf-cockpit .sidebar {
  background:
    linear-gradient(180deg, rgba(22, 30, 27, .9), rgba(10, 13, 12, .94));
  border-right: 1px solid rgba(255,255,255,.1);
  box-shadow: 24px 0 80px rgba(0,0,0,.36);
}

body.golf-cockpit .sidebar::-webkit-scrollbar,
body.golf-cockpit .main-view::-webkit-scrollbar {
  width: 10px;
}

body.golf-cockpit .sidebar::-webkit-scrollbar-thumb,
body.golf-cockpit .main-view::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

body.golf-cockpit .brand-bar,
body.golf-cockpit .search-panel,
body.golf-cockpit .coverage-card,
body.golf-cockpit .reward-card,
body.golf-cockpit .list-header,
body.golf-cockpit .home-section,
body.golf-cockpit .review-cta,
body.golf-cockpit .analysis-panel,
body.golf-cockpit .real-fee-panel,
body.golf-cockpit .photo-strip-panel,
body.golf-cockpit .unlock-panel,
body.golf-cockpit .feedback-panel,
body.golf-cockpit .verdict-panel,
body.golf-cockpit .forecast-compare,
body.golf-cockpit .round-decision-card,
body.golf-cockpit .index-card,
body.golf-cockpit .provider-review,
body.golf-cockpit .review,
body.golf-cockpit .web-note,
body.golf-cockpit .greenfee-report-hub {
  border: 1px solid rgba(255,255,255,.105);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    rgba(16, 22, 20, .74);
  box-shadow: var(--shadow-mid);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.golf-cockpit .search-panel {
  border-color: rgba(64,217,130,.2);
}

body.golf-cockpit .eyebrow {
  color: var(--green-dark);
}

body.golf-cockpit .search-box,
body.golf-cockpit .hero-search-box,
body.golf-cockpit input,
body.golf-cockpit select,
body.golf-cockpit textarea {
  color: var(--ink);
  background: rgba(4, 7, 6, .58);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

body.golf-cockpit input::placeholder,
body.golf-cockpit textarea::placeholder {
  color: rgba(238,246,240,.42);
}

body.golf-cockpit .chip,
body.golf-cockpit .text-button,
body.golf-cockpit .secondary-button,
body.golf-cockpit .bf-chip {
  color: var(--ink);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.105);
}

body.golf-cockpit .chip:hover,
body.golf-cockpit .bf-chip:hover,
body.golf-cockpit .text-button:hover {
  border-color: rgba(64,217,130,.42);
  background: rgba(64,217,130,.09);
}

body.golf-cockpit .chip.active,
body.golf-cockpit .bf-chip.active,
body.golf-cockpit .primary-button {
  color: #03140c;
  border-color: rgba(64,217,130,.52);
  background: linear-gradient(180deg, #78f6ae, #35d176);
  box-shadow: 0 14px 34px rgba(64,217,130,.2), inset 0 1px 0 rgba(255,255,255,.45);
}

body.golf-cockpit .primary-button:hover {
  box-shadow: 0 18px 42px rgba(64,217,130,.28), inset 0 1px 0 rgba(255,255,255,.48);
}

body.golf-cockpit .course-card,
body.golf-cockpit .home-course-card,
body.golf-cockpit .purpose-card,
body.golf-cockpit .standard-grid article,
body.golf-cockpit .bf-card,
body.golf-cockpit .cf-card,
body.golf-cockpit .gfr-panel,
body.golf-cockpit .rdr-card,
body.golf-cockpit .ranking-card,
body.golf-cockpit .real-fee-row,
body.golf-cockpit .real-fee-summary div,
body.golf-cockpit .photo-tile,
body.golf-cockpit .gmap-review-card {
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.028)),
    rgba(13, 19, 17, .82);
  box-shadow: 0 16px 38px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.golf-cockpit .course-card:hover,
body.golf-cockpit .home-course-card:hover,
body.golf-cockpit .purpose-card:hover,
body.golf-cockpit .bf-card:hover,
body.golf-cockpit .cf-card:hover,
body.golf-cockpit .ranking-card:hover {
  transform: translateY(-2px);
  border-color: rgba(64,217,130,.38);
  box-shadow: 0 24px 54px rgba(0,0,0,.38), 0 0 0 1px rgba(64,217,130,.06) inset;
}

body.golf-cockpit .course-card.active {
  border-color: rgba(64,217,130,.58);
  box-shadow: 0 22px 56px rgba(64,217,130,.14), inset 0 0 0 1px rgba(64,217,130,.24);
}

body.golf-cockpit .course-card strong,
body.golf-cockpit .home-course-card strong,
body.golf-cockpit .purpose-card strong,
body.golf-cockpit .standard-grid strong,
body.golf-cockpit .coverage-card strong,
body.golf-cockpit .reward-card strong,
body.golf-cockpit .section-title h3,
body.golf-cockpit .detail-hero h2,
body.golf-cockpit .verdict-panel h3,
body.golf-cockpit .web-note strong,
body.golf-cockpit .provider-review b,
body.golf-cockpit .review strong {
  color: var(--ink);
}

body.golf-cockpit .course-card span,
body.golf-cockpit .home-course-card span,
body.golf-cockpit .home-course-card p,
body.golf-cockpit .purpose-card span,
body.golf-cockpit .standard-grid p,
body.golf-cockpit .coverage-card span,
body.golf-cockpit .reward-card span,
body.golf-cockpit .section-title span,
body.golf-cockpit .web-note p,
body.golf-cockpit .review p,
body.golf-cockpit .provider-review p {
  color: var(--muted);
}

body.golf-cockpit .tag-row em,
body.golf-cockpit .trust-badges em,
body.golf-cockpit .rr-chip,
body.golf-cockpit .idx-formula span {
  color: var(--green-dark);
  background: rgba(64,217,130,.12);
  border: 1px solid rgba(64,217,130,.18);
}

body.golf-cockpit .main-view {
  background:
    linear-gradient(180deg, rgba(12, 17, 15, .92), rgba(4, 6, 6, 1));
}

body.golf-cockpit .map-view {
  min-height: 370px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(112deg, rgba(8,11,11,.9), rgba(10,24,16,.68) 48%, rgba(6,8,8,.86)),
    url("./assets/golf-review-hero.png") center / cover;
  box-shadow: inset 0 -80px 120px rgba(0,0,0,.45);
}

body.golf-cockpit .map-view::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,217,130,.55), transparent);
}

body.golf-cockpit .hero-wordmark-text {
  color: #f7fff9;
  text-shadow: 0 0 28px rgba(64,217,130,.22), 0 2px 18px rgba(0,0,0,.5);
}

body.golf-cockpit .hero-wordmark-tagline,
body.golf-cockpit .hero-copy,
body.golf-cockpit .hero-search-hint {
  color: rgba(238,246,240,.72);
}

body.golf-cockpit .hero-actions {
  perspective: 900px;
}

body.golf-cockpit .magazine-quick-list,
body.golf-cockpit .hero-proof {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(8, 12, 11, .62);
  box-shadow: 0 18px 54px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}

body.golf-cockpit .hero-proof-item {
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
}

body.golf-cockpit .hero-proof-item strong,
body.golf-cockpit .bf-price-num,
body.golf-cockpit .home-card-meta b,
body.golf-cockpit .real-fee-row b,
body.golf-cockpit .real-fee-summary strong,
body.golf-cockpit .idx-score,
body.golf-cockpit .metric strong,
body.golf-cockpit .score-block strong {
  color: var(--green-dark);
  text-shadow: 0 0 20px rgba(64,217,130,.16);
}

body.golf-cockpit .map-section {
  padding: 18px 22px 26px;
  background:
    linear-gradient(180deg, rgba(5, 8, 7, .98), rgba(10, 15, 13, .94));
}

body.golf-cockpit .map-section-header {
  padding: 0 2px 12px;
}

body.golf-cockpit .map-canvas {
  min-height: 440px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: #08110d;
  box-shadow:
    0 38px 96px rgba(0,0,0,.52),
    0 0 0 1px rgba(64,217,130,.05),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}

body.golf-cockpit .map-canvas .leaflet-container {
  background: #07100c;
}

body.golf-cockpit .leaflet-control-zoom a,
body.golf-cockpit .leaflet-control-attribution {
  color: var(--ink) !important;
  background: rgba(10, 14, 13, .78) !important;
  border-color: rgba(255,255,255,.12) !important;
}

body.golf-cockpit .map-canvas .leaflet-tooltip.map-label {
  color: var(--ink);
  border-color: rgba(64,217,130,.32);
  background: rgba(7, 12, 10, .88);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

body.golf-cockpit .home-sections {
  background: transparent;
  border-bottom-color: rgba(255,255,255,.08);
}

body.golf-cockpit .home-section {
  position: relative;
  overflow: hidden;
}

body.golf-cockpit .home-section::before,
body.golf-cockpit .detail-hero::before,
body.golf-cockpit .real-fee-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  pointer-events: none;
}

body.golf-cockpit .greenfee-report-hub {
  background:
    linear-gradient(135deg, rgba(64,217,130,.16), rgba(255,255,255,.045) 44%, rgba(231,189,91,.08)),
    rgba(12, 18, 16, .82);
}

body.golf-cockpit .gfr-metrics article,
body.golf-cockpit .gfr-list button,
body.golf-cockpit .rd-signal,
body.golf-cockpit .provider-columns > div,
body.golf-cockpit .provider-check-grid article,
body.golf-cockpit .fc-cell {
  color: var(--ink);
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.055);
}

body.golf-cockpit .gfr-metrics strong,
body.golf-cockpit .cf-reward,
body.golf-cockpit .gfr-list em,
body.golf-cockpit .rd-sig-note {
  color: var(--green-dark);
}

body.golf-cockpit .detail-panel {
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(7, 11, 10, .98), rgba(4, 6, 6, 1));
}

body.golf-cockpit .main-view.show-detail .detail-panel {
  display: grid;
}

body.golf-cockpit .detail-back-btn {
  color: var(--green-dark);
}

body.golf-cockpit .course-hero-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 76px rgba(0,0,0,.48);
}

body.golf-cockpit .detail-hero {
  position: relative;
  border-color: rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(64,217,130,.1) 55%, rgba(231,189,91,.08)),
    rgba(15, 22, 19, .82);
  box-shadow: 0 26px 74px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
}

body.golf-cockpit .score-block {
  color: #06140d;
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(160deg, #7bf7b0, #39d77b 62%, #e7bd5b);
  box-shadow: 0 26px 62px rgba(64,217,130,.24), inset 0 1px 0 rgba(255,255,255,.42);
}

body.golf-cockpit .score-block span,
body.golf-cockpit .score-block small {
  color: rgba(3,20,12,.72);
}

body.golf-cockpit .metric-grid,
body.golf-cockpit .index-cards {
  perspective: 1000px;
}

body.golf-cockpit .metric {
  border: 1px solid rgba(255,255,255,.105);
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.028)),
    rgba(13, 19, 17, .82);
  box-shadow: 0 22px 54px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
}

body.golf-cockpit .metric:hover,
body.golf-cockpit .index-card:hover {
  transform: translateY(-2px);
}

body.golf-cockpit .metric-icon {
  background:
    linear-gradient(#0f1512, #0f1512) padding-box,
    conic-gradient(var(--green) var(--meter), rgba(255,255,255,.11) 0) border-box;
  box-shadow: 0 0 26px rgba(64,217,130,.14), inset 0 0 12px rgba(255,255,255,.06);
}

body.golf-cockpit .metric.price .metric-icon {
  background:
    linear-gradient(#14120c, #14120c) padding-box,
    conic-gradient(var(--gold) var(--meter), rgba(255,255,255,.11) 0) border-box;
}

body.golf-cockpit .bar-track,
body.golf-cockpit .idx-axis .idx-bar {
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

body.golf-cockpit .bar-fill,
body.golf-cockpit .idx-axis .idx-bar i {
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  box-shadow: 0 0 18px rgba(64,217,130,.22);
}

body.golf-cockpit .metric.price .bar-fill,
body.golf-cockpit .metric.weekend .bar-fill {
  background: linear-gradient(90deg, var(--gold), #ffd98a);
  box-shadow: 0 0 18px rgba(231,189,91,.24);
}

body.golf-cockpit .real-fee-panel {
  background:
    linear-gradient(135deg, rgba(231,189,91,.12), rgba(255,255,255,.045) 50%, rgba(64,217,130,.08)),
    rgba(13, 19, 17, .84);
}

body.golf-cockpit .real-fee-row::before {
  background: linear-gradient(180deg, var(--gold), var(--green));
}

body.golf-cockpit .real-fee-row b {
  background: rgba(231,189,91,.13);
  color: #ffd98a;
}

body.golf-cockpit .web-note blockquote,
body.golf-cockpit .web-note-summary,
body.golf-cockpit .empty-web-notes {
  color: var(--muted);
  background: rgba(255,255,255,.045);
}

body.golf-cockpit .web-note-link,
body.golf-cockpit .gmap-reviews-more,
body.golf-cockpit .brc-more {
  color: var(--green-dark);
}

body.golf-cockpit .photo-tile img,
body.golf-cockpit .home-course-card-photo,
body.golf-cockpit .ev-banner-photo,
body.golf-cockpit .rr-photo,
body.golf-cockpit .yt-thumb {
  filter: saturate(1.04) contrast(1.04);
}

body.golf-cockpit .site-footer {
  color: var(--muted);
  border-top-color: rgba(255,255,255,.09);
  background: rgba(7, 10, 9, .96);
}

body.golf-cockpit .admin-dialog,
body.golf-cockpit .review-dialog {
  color: var(--ink);
}

body.golf-cockpit dialog::backdrop {
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
}

@media (max-width: 920px) {
  body.golf-cockpit .app-shell {
    background: var(--surface);
  }
  body.golf-cockpit .map-canvas {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  body.golf-cockpit .top-nav {
    background: rgba(8, 12, 11, .94);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 16px;
  }
  /* 모바일: 7버튼 3열 그리드(≈3줄, 첫 화면 점유) → 가로 스크롤 1줄 칩으로 압축 */
  body.golf-cockpit .nav-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -16px;
    padding: 2px 16px;
  }
  body.golf-cockpit .nav-links::-webkit-scrollbar { display: none; }
  body.golf-cockpit .nav-links button {
    flex: 0 0 auto;
    white-space: nowrap;
    background: rgba(255,255,255,.06);
    padding: 7px 13px;
    font-size: 13px;
  }
  body.golf-cockpit .map-view {
    min-height: 0;
  }
  body.golf-cockpit .map-canvas {
    border-radius: 18px;
  }
  body.golf-cockpit .detail-panel,
  body.golf-cockpit .home-sections,
  body.golf-cockpit .map-section {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.golf-cockpit .course-card,
  body.golf-cockpit .home-course-card,
  body.golf-cockpit .purpose-card,
  body.golf-cockpit .bf-card,
  body.golf-cockpit .cf-card,
  body.golf-cockpit .ranking-card,
  body.golf-cockpit .metric,
  body.golf-cockpit .index-card {
    transition: none;
  }
}

/* Radar modules: keep no-caddie/player radar compact and single-line. */
.home-nocaddie,
.home-player-radar {
  min-width: 0;
}

@media (min-width: 761px) {
  .home-sections:has(#homeNoCaddie):has(#homePlayerRadar) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #homeRealFeeTop,
  #homeValueTop,
  #certFeed,
  #recentDirectReviewSection,
  #weeklyGoodList,
  .greenfee-report-hub,
  .home-sections > .home-section:not(.home-nocaddie):not(.home-player-radar) {
    grid-column: 1 / -1;
  }
}

/* ── 모바일 홈 개편: 가로 스와이프 + 레이더 하단 배치 (세로 스택 과밀 완화) ── */
@media (max-width: 760px) {
  /* 카드 섹션을 손가락으로 옆으로 밀어 보는 가로 스크롤로 (검색 결과 그리드는 제외) */
  .home-card-grid:not(.sf-results-grid),
  .radar-mini-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-card-grid:not(.sf-results-grid)::-webkit-scrollbar,
  .radar-mini-grid::-webkit-scrollbar { display: none; }
  .home-card-grid:not(.sf-results-grid) > * {
    flex: 0 0 auto;
    width: 74vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .radar-mini-grid > * {
    flex: 0 0 auto;
    width: 66vw;
    max-width: 240px;
    scroll-snap-align: start;
  }
  /* "골프장어때가 직접 다녀왔습니다" — 한 줄 가로 슬라이드 (2열 줄바꿈 → 1행 스와이프) */
  .ev-banner-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ev-banner-grid::-webkit-scrollbar { display: none; }
  .ev-banner-grid > .ev-banner-card {
    flex: 0 0 auto;
    width: 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
  /* 노캐디 · 2·3·5인 플레이 인원 레이더 → 메인 화면 하단으로 */
  .home-nocaddie  { order: 90; }
  .home-player-radar { order: 91; }
  /* 실시간 인기(지금 뜨는 골프장)도 상단 점유 금지 — 아래로 */
  #homeTrendingSection { order: 80; }
}

/* (A) 첫 화면 압축 — 접힌 섹션 숨김 + "더 보기" 버튼 (모바일에서 JS가 적용) */
.home-hidden-collapsed { display: none !important; }
.home-more-btn {
  display: none;
  width: 100%;
  margin: 2px 0 0;
  padding: 14px;
  border: 1px dashed var(--line, #d8e2dc);
  border-radius: 14px;
  background: #f4faf6;
  color: var(--green-dark, #1a6b3a);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.home-more-btn span { font-weight: 600; color: var(--muted, #6b7c73); margin-left: 4px; }
@media (max-width: 760px) {
  .home-more-btn { display: block; }
}

.home-nocaddie .section-title,
.home-player-radar .section-title,
.play-radars .section-title,
.radar-head {
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.home-nocaddie .section-title > div,
.home-player-radar .section-title > div,
.play-radars .section-title > div {
  min-width: 0;
}

.home-nocaddie .section-title h3,
.home-player-radar .section-title h3,
.play-radars .section-title h3,
.radar-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-nocaddie .section-title small,
.home-player-radar .section-title small,
.play-radars .section-title span,
.radar-status {
  flex: 0 0 auto;
  white-space: nowrap;
}

.radar-mini {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.radar-mini .rm-meta,
.radar-mini .rm-tags {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-mini .rm-tags em {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .home-nocaddie .section-title,
  .home-player-radar .section-title,
  .play-radars .section-title {
    align-items: center;
  }

  .home-nocaddie .section-title small,
  .home-player-radar .section-title small,
  .play-radars .section-title span {
    display: none;
  }
}

/* Cockpit contrast fix: light course-card bodies must use dark text. */
body.golf-cockpit .course-card-body,
body.golf-cockpit .home-course-card-body,
body.golf-cockpit .course-card-fee {
  --ink: #142019;
  --muted: #46564d;
  --green-dark: #10683d;
  color: #142019;
}

body.golf-cockpit .course-card-body strong,
body.golf-cockpit .home-course-card-body strong,
body.golf-cockpit .course-card-head strong,
body.golf-cockpit .course-card-fee b {
  color: #101a14;
  font-weight: 900;
}

body.golf-cockpit .course-card-body > span,
body.golf-cockpit .course-card-body span,
body.golf-cockpit .home-course-card-body p,
body.golf-cockpit .home-course-card-body span,
body.golf-cockpit .course-card-fee small {
  color: #46564d;
  font-weight: 700;
}

body.golf-cockpit .course-card-body .course-data-badge,
body.golf-cockpit .home-course-card-body .course-data-badge {
  color: #11683f;
  background: #e8f7ef;
  border-color: rgba(17, 104, 63, .18);
}

body.golf-cockpit .course-card-body .tag-row em,
body.golf-cockpit .home-course-card-body .tag-row em {
  color: #126b41;
  background: #edf8f2;
  border-color: rgba(18, 107, 65, .18);
}

body.golf-cockpit .course-card-photo-score,
body.golf-cockpit .home-course-card-score {
  color: #0f653c;
}

/* Cockpit detail contrast fix: light detail panels keep their own dark ink. */
body.golf-cockpit .detail-panel :where(
  .decision-strip article,
  .course-layout,
  .course-layout .cl-names em,
  .data-trust-panel,
  .data-trust-grid article,
  .rg-deal,
  .web-rep-card,
  .three-line-review,
  .google-synth-item,
  .synth-count,
  .partner-cta-panel,
  .partner-action,
  .booking-open-tip,
  .res-tip-compact,
  .res-tip-lead
) {
  --ink: #142019;
  --muted: #46564d;
  --green: #147d49;
  --green-dark: #10683d;
  --text: #142019;
  --text-secondary: #2c3d34;
  --text-muted: #56645c;
  color: #142019;
}

body.golf-cockpit .detail-panel :where(
  .decision-strip article,
  .course-layout,
  .data-trust-panel,
  .rg-deal,
  .web-rep-card,
  .three-line-review,
  .google-synth-item,
  .partner-cta-panel,
  .partner-action,
  .booking-open-tip,
  .res-tip-compact,
  .res-tip-lead
) :where(strong, b, h3, h4, dt, dd, .cl-title, .cl-cname, .synth-label, .web-rep-card strong, .partner-action strong) {
  color: #101a14;
}

body.golf-cockpit .detail-panel :where(
  .decision-strip article,
  .course-layout,
  .data-trust-panel,
  .rg-deal,
  .web-rep-card,
  .google-synth-item,
  .partner-cta-panel,
  .partner-action,
  .booking-open-tip,
  .res-tip-compact,
  .res-tip-lead
) :where(span, small, p, li, .cl-note, .cl-nonames, .cl-cdesc, .web-rep-summary, .synth-date, .synth-attribution, .partner-disclaimer) {
  color: #46564d;
}

body.golf-cockpit .detail-panel :where(.decision-strip article, .data-trust-grid article, .partner-action) span:first-child,
body.golf-cockpit .detail-panel :where(.data-trust-head span, .rg-deal-label, .partner-kicker, .web-rep-source, .synth-src-naver) {
  color: #10683d;
}

body.golf-cockpit .detail-panel :where(.booking-open-tip .bk-title, .booking-open-tip p strong, .booking-open-tip .bk-icon) {
  color: #8a6410;
}

body.golf-cockpit .detail-panel .booking-open-tip .bk-check {
  color: #5d5240;
}

body.golf-cockpit .detail-panel .synth-src-google {
  color: #285fae;
}

body.golf-cockpit .detail-panel :where(.synth-count, .web-rep-fresh.unknown) {
  color: #3d4a43;
  background: #eef2ef;
}

body.golf-cockpit .detail-panel :where(.web-rep-quote, .synth-quote, .three-line-item, .provider-review blockquote) {
  color: #1d2a23;
}

body.golf-cockpit .detail-panel .metric .metric-head span {
  color: #46564d;
}

body.golf-cockpit .detail-panel .metric .metric-head strong {
  color: var(--green-dark);
  text-shadow: 0 0 20px rgba(64, 217, 130, .18);
}

body.golf-cockpit .detail-panel .metric small {
  color: rgba(238, 246, 240, .72);
}

body.golf-cockpit .detail-panel .metric-icon {
  color: #10683d;
}

body.golf-cockpit .detail-panel .metric.price .metric-icon {
  color: #7a5915;
}

body.golf-cockpit .detail-panel .metric.pace .metric-icon,
body.golf-cockpit .detail-panel .metric.ev .metric-icon {
  color: #235d89;
}
