/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-dark: #1a1a1f;
  --color-darker: #111116;
  --color-header: #2d2d35;
  --color-blue: #00a2e8;
  --color-blue-dark: #0088c7;
  --color-green: #8bc34a;
  --color-green-bright: #a4d233;
  --color-yellow: #ffd54f;
  --color-gold: #d4a843;
  --color-white: #ffffff;
  --color-gray: #999;
  --color-gray-light: #ccc;
  --color-border: #444;
  --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Pacifico', cursive;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--color-darker);
  color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Utility Nav ===== */
.utility-nav {
  background: var(--color-header);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.utility-nav .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
  gap: 0;
}

.utility-nav a {
  font-size: 12px;
  color: var(--color-gray-light);
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s;
}

.utility-nav a:last-child { border-right: none; }
.utility-nav a:hover { color: var(--color-white); }

/* ===== Main Header ===== */
.main-header {
  position: relative;
  z-index: 100;
  background: rgba(0,0,0,0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-main {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--color-white);
}

.logo-sub {
  font-family: var(--font-script);
  font-size: 16px;
  color: var(--color-gold);
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav > li { position: relative; }

.main-nav > li > a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}

.main-nav > li > a:hover { color: var(--color-blue); }
.main-nav > li > a.nav-active { color: var(--color-green-bright); }

.main-nav .badge-new {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: #e53935;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.main-nav .has-sub:hover .sub-menu { display: block; }

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-header);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  min-width: 140px;
  z-index: 200;
  padding: 6px 0;
}

.sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.sub-menu li a:hover { background: rgba(255,255,255,0.08); color: var(--color-blue); }

.app-download {
  flex-shrink: 0;
}

.app-download img {
  height: 36px;
  border-radius: 6px;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  padding: 40px 20px 180px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.search-box {
  display: flex;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.region-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-blue);
  color: white;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.region-btn:hover { background: var(--color-blue-dark); }

.region-btn svg { width: 12px; height: 12px; fill: white; }

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: white;
  padding: 0 16px;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  padding: 14px 0;
  background: transparent;
}

.search-input-wrap input::placeholder { color: #aaa; }

.search-btn {
  padding: 4px;
  color: #666;
  transition: color 0.2s;
}

.search-btn:hover { color: var(--color-blue); }

.search-btn svg { width: 22px; height: 22px; fill: currentColor; }

.hashtags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hashtags a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.hashtags a:hover { color: var(--color-blue); }

/* ===== Category Stats (Circles) ===== */
.category-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 20px 30px;
}

.category-stats-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.stat-item:hover { transform: translateY(-4px); }

.stat-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-item.active .stat-circle,
.stat-item:hover .stat-circle {
  border-color: var(--color-green-bright);
  box-shadow: 0 0 20px rgba(164,210,51,0.4);
}

.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
}

/* ===== Section Common ===== */
.section {
  padding: 50px 0;
}

.section-dark { background: var(--color-darker); }
.section-black { background: #000; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
}

.section-title .highlight { color: var(--color-blue); }

.more-link {
  font-size: 13px;
  color: var(--color-gray);
  transition: color 0.2s;
}

.more-link:hover { color: var(--color-white); }

/* ===== New & Update Carousel ===== */
.update-carousel {
  position: relative;
  overflow: hidden;
}

.update-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
}

.update-card {
  flex: 0 0 calc(20% - 13px);
  min-width: 180px;
  cursor: pointer;
}

.update-card:hover .update-thumb img { transform: scale(1.05); }

.update-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #333;
}

.update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.update-distance {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-yellow);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.update-type {
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

.update-type.paid { color: var(--color-green-bright); }
.update-type.glamping { color: var(--color-blue); }
.update-type.wild { color: #ff9800; }

.update-name {
  font-size: 14px;
  font-weight: 500;
  margin-top: 2px;
  color: var(--color-gray-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.carousel-nav:hover { background: rgba(0,0,0,0.9); }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

/* ===== Notice & Banner ===== */
.notice-banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.notice-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-list li:last-child { border-bottom: none; }

.notice-date {
  font-size: 12px;
  color: var(--color-gray);
  white-space: nowrap;
}

.notice-list a {
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-list a:hover { color: var(--color-blue); }

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

.banner-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/5;
  background: linear-gradient(135deg, #333 0%, #555 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-gray);
  transition: opacity 0.2s;
}

.banner-item:hover { opacity: 0.85; }

/* ===== Camping Map Section ===== */
.map-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: start;
}

.map-sidebar .section-title { margin-bottom: 16px; }

.map-subtitle {
  font-size: 13px;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.korea-map {
  width: 100%;
  opacity: 0.9;
}

.korea-map path {
  fill: none;
  stroke: rgba(255,255,255,0.5);
  stroke-width: 1;
  transition: fill 0.2s, stroke 0.2s;
  cursor: pointer;
}

.korea-map path:hover,
.korea-map path.active {
  fill: rgba(0,162,232,0.3);
  stroke: var(--color-blue);
}

.map-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.map-count {
  background: var(--color-blue);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.map-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.map-pagination button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.map-pagination button:hover { border-color: var(--color-blue); color: var(--color-blue); }

.map-pagination .current {
  border-color: var(--color-white);
  color: var(--color-white);
  font-weight: 700;
}

.region-select {
  padding: 6px 12px;
  background: white;
  color: #333;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.map-register {
  font-size: 13px;
  color: var(--color-blue);
  font-weight: 700;
}

.map-register:hover { text-decoration: underline; }

.map-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.map-card {
  cursor: pointer;
  transition: transform 0.2s;
}

.map-card:hover { transform: translateY(-4px); }

.map-card-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #333;
}

.map-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-card-distance {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-yellow);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.map-card-type {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0,0,0,0.6);
}

.map-card-type.paid { color: var(--color-green-bright); }
.map-card-type.glamping { color: var(--color-blue); }

.map-card-info {
  padding: 10px 4px;
}

.map-card-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.map-card-location {
  font-size: 12px;
  color: var(--color-gray);
}

/* ===== Board Sections ===== */
.board-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.board-box {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.board-box .section-header { margin-bottom: 16px; }

.board-box .section-title { font-size: 18px; }

.board-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.board-list li:last-child { border-bottom: none; }

.board-list a {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.board-list a:hover { color: var(--color-blue); }

.board-count {
  font-size: 11px;
  color: var(--color-gray);
  flex-shrink: 0;
}

.board-empty {
  font-size: 13px;
  color: var(--color-gray);
  padding: 20px 0;
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-header);
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-links a {
  font-size: 12px;
  color: var(--color-gray-light);
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s;
}

.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: var(--color-white); }

.footer-info {
  font-size: 12px;
  color: var(--color-gray);
  line-height: 1.8;
}

.footer-info a { color: var(--color-gray-light); }
.footer-info a:hover { color: var(--color-blue); }

.footer-copy {
  margin-top: 16px;
  font-size: 11px;
  color: #666;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: rgba(45,45,53,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--color-blue); border-color: var(--color-blue); }

/* ===== Popup Modal ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup-overlay.show { opacity: 1; visibility: visible; }

.popup-modal {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: scale(0.9);
  transition: transform 0.3s;
}

.popup-overlay.show .popup-modal { transform: scale(1); }

.popup-body {
  background: #ffe082;
  padding: 24px;
  text-align: center;
}

.popup-illustration {
  font-size: 48px;
  margin-bottom: 12px;
}

.popup-body h3 {
  color: #333;
  font-size: 16px;
  margin-bottom: 12px;
}

.popup-body p {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.popup-footer {
  display: flex;
  border-top: 1px solid #eee;
}

.popup-footer button {
  flex: 1;
  padding: 14px;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.popup-footer button:hover { background: #f5f5f5; }
.popup-footer button + button { border-left: 1px solid #eee; }

/* ===== Wild Camping List Page ===== */
.wild-page { padding: 32px 0 60px; }

.wild-page-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.wild-page-title {
  font-size: 28px;
  font-weight: 700;
}

.wild-page-count {
  font-size: 16px;
  color: var(--color-gray-light);
}

.wild-page-count strong {
  color: var(--color-green-bright);
  font-size: 20px;
}

.wild-toolbar {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow-x: auto;
}

.wild-sort-tabs {
  display: flex;
  gap: 4px;
  min-width: max-content;
}

.wild-sort-tab {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-gray-light);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.wild-sort-tab:hover,
.wild-sort-tab.active {
  color: var(--color-white);
  border-bottom-color: var(--color-green-bright);
}

.wild-region-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.wild-region-btn {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--color-gray-light);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: all 0.2s;
}

.wild-region-btn:hover,
.wild-region-btn.active {
  color: var(--color-white);
  background: rgba(139,195,74,0.15);
  border-color: var(--color-green);
}

.wild-region-count {
  color: var(--color-gray);
  margin-left: 2px;
}

.wild-region-btn.active .wild-region-count {
  color: var(--color-green-bright);
}

.wild-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.wild-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wild-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.wild-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139,195,74,0.3);
}

.wild-card-thumb {
  position: relative;
  flex: 0 0 120px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
}

.wild-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wild-card-distance {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0,0,0,0.7);
  border-radius: 3px;
}

.wild-card-body {
  flex: 1;
  min-width: 0;
}

.wild-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.wild-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
}

.wild-tag-폐쇄,
.wild-tag-진입불가,
.wild-tag-야영금지 { background: rgba(229,57,53,0.2); color: #ef5350; }

.wild-tag-예약 { background: rgba(0,162,232,0.2); color: var(--color-blue); }

.wild-card-name {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wild-card-stats {
  font-size: 11px;
  color: var(--color-gray);
  flex-shrink: 0;
}

.wild-card-location {
  font-size: 12px;
  color: var(--color-green-bright);
  margin-bottom: 4px;
}

.wild-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--color-gray-light);
  margin-bottom: 2px;
}

.wild-difficulty {
  color: var(--color-gold);
}

.wild-phone { color: var(--color-blue); }

.wild-card-address {
  font-size: 11px;
  color: var(--color-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wild-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-gray);
}

.wild-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
}

.wild-page-num,
.wild-page-btn {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 13px;
  color: var(--color-gray-light);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: all 0.2s;
}

.wild-page-num:hover,
.wild-page-btn:hover,
.wild-page-num.active {
  color: var(--color-white);
  background: var(--color-green);
  border-color: var(--color-green);
}

.wild-card.is-map-active {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 1px rgba(255, 213, 79, 0.35);
}

.wild-map-panel {
  position: sticky;
  top: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px;
}

.wild-map-wrap {
  position: relative;
  margin-bottom: 12px;
}

.wild-map-canvas {
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 420px;
  border-radius: 6px;
  overflow: hidden;
  background: #1f2430;
}

.wild-map-note {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  background: rgba(255, 0, 0, 0.92);
  border-radius: 4px;
  pointer-events: none;
}

.wild-map-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wild-my-addr {
  font-size: 11px;
  color: var(--color-gray-light);
  line-height: 1.4;
  word-break: keep-all;
}

.wild-postcode-wrap {
  display: none;
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.wild-postcode-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.wild-map-tooltip {
  padding: 4px 8px;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  background: rgba(26, 26, 31, 0.88);
  border: 1px solid rgba(139, 195, 74, 0.8);
  border-radius: 4px;
  transform: translate(-50%, -100%);
}

.wild-map-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  font-size: 13px;
  color: var(--color-gray);
  text-align: center;
}

.wild-location-btn {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 6px;
  transition: background 0.2s;
}

.wild-location-btn:hover { background: var(--color-blue-dark); }

.wild-location-msg {
  font-size: 11px;
  color: var(--color-gray);
  margin-top: 8px;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .update-card { flex: 0 0 calc(25% - 12px); }
  .map-cards { grid-template-columns: repeat(2, 1fr); }
  .board-row { grid-template-columns: 1fr 1fr; }
  .wild-layout { grid-template-columns: 1fr; }
  .wild-map-panel { position: static; order: -1; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .main-nav > li > a { font-size: 12px; padding: 6px 8px; }
  .app-download { display: none; }

  .hero-title { font-size: 24px; }
  .category-stats-inner { gap: 16px; }
  .stat-circle { width: 80px; height: 80px; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 11px; }

  .update-card { flex: 0 0 calc(50% - 8px); }
  .notice-banner-row { grid-template-columns: 1fr; }
  .map-section { grid-template-columns: 1fr; }
  .map-cards { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 1fr; }
  .wild-list { grid-template-columns: 1fr; }
  .wild-card-thumb { flex: 0 0 100px; height: 75px; }
}

@media (max-width: 480px) {
  .category-stats-inner { flex-wrap: wrap; gap: 12px; }
  .stat-circle { width: 70px; height: 70px; }
  .update-card { flex: 0 0 80%; }
}
