@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@400;700&display=swap');

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; }
.font-korean { font-family: 'Noto Sans KR', sans-serif; }

/* ── Hero ─────────────────────────────────────────────── */
.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -10px;
  background:
    linear-gradient(to bottom, rgba(20,60,140,0.18) 0%, rgba(10,30,90,0.30) 100%),
    url('../images/seoul.jpg') center/cover no-repeat;
  filter: blur(4px);
  z-index: 0;
}

/* ── Navbar ───────────────────────────────────────────── */
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.10); }

/* ── Section headers ──────────────────────────────────── */
.section-title {
  background: linear-gradient(135deg, #111827, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B9BD2;
  margin-bottom: 10px;
}

/* ── Transport cards ──────────────────────────────────── */
.transport-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 2px solid #E5E7EB;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.transport-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); }
.transport-card.recommended { border-color: #16A34A; }
.transport-card.not-recommended { border-color: #EF4444; }

.card-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  background: #16A34A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.card-badge.bad { background: #EF4444; }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }

.option-box {
  background: #F9FAFB;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #E5E7EB;
}
.option-box .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ── Metro map ────────────────────────────────────────── */
.metro-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #fff;
}
.metro-map-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.metro-map-scroll:active { cursor: grabbing; }
.metro-map-scroll img {
  display: block;
  height: 420px;
  width: auto;
  max-width: none;
}
.metro-map-caption {
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  padding: 12px 20px;
  font-size: 0.8rem;
  color: #6B7280;
}
.metro-highlight {
  display: inline-block;
  background: #DBEAFE;
  color: #1E3A8A;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* ── Filter buttons ───────────────────────────────────── */
.filter-btn {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: #6B9BD2; color: #6B9BD2; }
.filter-btn.active { background: #6B9BD2; border-color: #6B9BD2; color: #fff; }

/* ── Food cards ───────────────────────────────────────── */
.food-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.food-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.food-card.hidden { display: none !important; }

.food-img-wrap {
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.food-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.food-card:hover .food-img-wrap img { transform: scale(1.07); }

.food-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.korean-name {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #6B9BD2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 3px;
  transition: opacity 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.korean-name::after {
  content: '📋';
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.korean-name:hover::after { opacity: 1; }
.korean-name:hover { opacity: 0.75; }
.korean-name:active { opacity: 0.5; }

.food-english { font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 7px; }

.food-desc {
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}

.food-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
  margin-top: auto;
}
.price { font-weight: 700; color: #16A34A; font-size: 0.82rem; }
.spice-level { font-size: 0.75rem; font-weight: 600; color: #EA580C; white-space: nowrap; }
.maps-link { font-size: 0.72rem; color: #3B82F6; text-decoration: none; font-weight: 500; }
.maps-link:hover { text-decoration: underline; }

/* ── Minseon's Pick ───────────────────────────────────── */
.minseon-pick { margin-top: 8px; margin-bottom: 8px; }
.minseon-pick-toggle {
  background: none; border: none; cursor: pointer;
  font-size: 0.74rem; font-weight: 600; color: #D97706;
  padding: 4px 0; display: flex; align-items: center; gap: 4px;
}
.minseon-pick-toggle::after {
  content: '▸'; font-size: 0.7rem; transition: transform 0.2s;
}
.minseon-pick-toggle.open::after { transform: rotate(90deg); }
.minseon-pick-body {
  margin-top: 6px; padding: 8px 10px;
  background: #FFFBEB; border-radius: 6px; border: 1px solid #FDE68A;
}
.minseon-pick-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 3px 0; font-size: 0.76rem;
}
.minseon-pick-item + .minseon-pick-item { border-top: 1px solid #FDE68A; padding-top: 6px; margin-top: 4px; }
.pick-name { font-weight: 600; color: #92400E; }
.pick-english { font-weight: 400; color: #B45309; font-size: 0.7rem; }
.pick-map-link { font-size: 0.7rem; color: #3B82F6; text-decoration: none; font-weight: 500; white-space: nowrap; }
.pick-map-link:hover { text-decoration: underline; }
.food-card.has-pick { box-shadow: 0 0 0 2px #FDE68A; }



/* ── Food Guide IG Style ─────────────────────────────── */
.food-guide-ig-section {
  background: #FAFAF8;
  padding: 64px 16px 48px;
}
.food-guide-ig-shell {
  max-width: 1200px;
  margin: 0 auto;
}
.food-guide-ig-hero {
  margin-bottom: 32px;
}
.food-guide-ig-hero h2 {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111827;
}
.food-guide-ig-hero p {
  max-width: 720px;
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.6;
  color: #6B7280;
}
.food-guide-ig-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.filter-btn-ig {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E5E7EB;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn-ig:hover {
  border-color: #111827;
}
.filter-btn-ig.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.food-grid-ig {
  column-count: 2;
  column-gap: 12px;
}
.food-card-ig {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.food-card-ig:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.food-card-ig:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}
.food-card-ig.hidden {
  display: none !important;
}
.food-card-ig-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #E5E7EB;
  aspect-ratio: 4 / 3;
}
.food-card-ig:nth-child(4n + 1) .food-card-ig-img,
.food-card-ig:nth-child(4n) .food-card-ig-img {
  aspect-ratio: 3 / 4;
}
.food-card-ig:nth-child(4n + 2) .food-card-ig-img,
.food-card-ig:nth-child(4n + 3) .food-card-ig-img {
  aspect-ratio: 4 / 3;
}
.food-card-ig-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.food-card-ig:hover .food-card-ig-img img {
  transform: scale(1.04);
}
.food-card-ig-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.1));
}
.food-card-ig-korean {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.food-card-ig-english {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.food-card-ig-info {
  padding: 14px 4px 4px;
}
.food-card-ig-name {
  display: block;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.food-card-ig-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: #6B7280;
}
.food-card-ig-tags,
.food-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.food-card-ig-tags {
  margin-top: 12px;
}
.food-tag-ig {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 500;
}
.food-card-ig-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.food-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}
.food-modal-backdrop[hidden] {
  display: none !important;
}
.food-modal {
  position: relative;
  width: min(100%, 600px);
  max-width: 600px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0,0,0,0.28);
}
.food-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(17,24,39,0.72);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.food-modal-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: 24px 24px 0 0;
}
.food-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}
.food-modal-korean {
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}
.food-modal-english {
  margin-top: -8px;
  font-size: 1.125rem;
  color: #6B7280;
}
.food-modal-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}
.food-modal-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4B5563;
}
.food-modal-pick-slot[hidden] {
  display: none !important;
}
.food-modal-pick-slot .minseon-pick {
  margin: 0;
  padding: 16px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 18px;
}
.food-modal-pick-slot .minseon-pick-toggle {
  padding: 0 0 10px;
  cursor: default;
  pointer-events: none;
  font-size: 0.85rem;
}
.food-modal-pick-slot .minseon-pick-toggle::after {
  display: none;
}
.food-modal-pick-slot .minseon-pick-body {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.food-modal-pick-slot .minseon-pick-item {
  font-size: 0.82rem;
  padding: 0;
}
.food-modal-pick-slot .minseon-pick-item + .minseon-pick-item {
  margin-top: 10px;
  padding-top: 10px;
}
.food-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.food-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.food-modal-btn:hover {
  transform: translateY(-1px);
}
.food-modal-btn.primary {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
}
.food-modal-btn.secondary {
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #111827;
}
body.food-modal-open {
  overflow: hidden;
}
@media (min-width: 768px) {
  .food-grid-ig {
    column-count: 3;
    column-gap: 24px;
  }
}
@media (min-width: 1200px) {
  .food-grid-ig {
    column-count: 4;
  }
}
@media (max-width: 1023px) {
  .food-guide-ig-hero h2 {
    font-size: 48px;
  }
}
@media (max-width: 767px) {
  .food-guide-ig-section {
    padding-top: 56px;
  }
  .food-guide-ig-hero h2 {
    font-size: 40px;
    line-height: 1.05;
  }
  .food-guide-ig-hero p {
    font-size: 18px;
  }
  .food-modal-actions {
    grid-template-columns: 1fr;
  }
  .food-modal-body {
    padding: 20px;
  }
  .food-modal-korean {
    font-size: 1.75rem;
  }
}

/* ── COEX cards ───────────────────────────────────────── */
.coex-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #E5E7EB;
}
.coex-card h3 { font-size: 1.05rem; font-weight: 700; color: #111827; margin-bottom: 10px; }
.coex-card p { font-size: 0.83rem; color: #6B7280; line-height: 1.65; margin-bottom: 12px; }
.coex-link { font-size: 0.78rem; color: #3B82F6; text-decoration: none; font-weight: 500; }
.coex-link:hover { text-decoration: underline; }
.highlight-card { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border-color: #BFDBFE; }
.app-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.app-badge {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.72rem;
  background: #fff;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 12px;
  color: #1D4ED8;
  font-weight: 500;
}

/* ── Activity cards ───────────────────────────────────── */
.activity-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }

.activity-img-wrap {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.activity-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.activity-card:hover .activity-img-wrap img { transform: scale(1.05); }

.activity-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.activity-img-badge.free { background: rgba(22,163,74,0.85); }
.activity-img-badge.paid { background: rgba(220,38,38,0.8); }

.activity-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.activity-body h3 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 6px; }
.activity-body p { font-size: 0.78rem; color: #6B7280; line-height: 1.55; margin-bottom: 10px; flex: 1; }

.korean-tag {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.7rem;
  color: #6B7280;
  background: #F3F4F6;
  padding: 1px 8px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 400;
}

.activity-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.activity-meta span { font-size: 0.67rem; background: #F3F4F6; padding: 3px 8px; border-radius: 10px; color: #4B5563; }
.activity-link { font-size: 0.72rem; color: #3B82F6; text-decoration: none; font-weight: 600; align-self: flex-start; }
.activity-link:hover { text-decoration: underline; }

/* ── Day trip cards ───────────────────────────────────── */
.daytrip-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: transform 0.22s, box-shadow 0.22s;
}
.daytrip-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.12); }

.daytrip-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.daytrip-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.daytrip-card:hover .daytrip-img-wrap img { transform: scale(1.06); }

.daytrip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.daytrip-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  color: #fff;
}
.daytrip-overlay-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.daytrip-overlay-content .korean-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.85rem;
  opacity: 0.85;
}

.trip-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.daytrip-body {
  padding: 20px;
}
.daytrip-body p { font-size: 0.82rem; color: #6B7280; line-height: 1.6; margin-bottom: 14px; }
.daytrip-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.daytrip-highlights span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.72rem;
  background: #EFF6FF;
  color: #6B9BD2;
  border: 1px solid #BFDBFE;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.daytrip-link { font-size: 0.78rem; color: #3B82F6; font-weight: 600; text-decoration: none; }
.daytrip-link:hover { text-decoration: underline; }

/* ── Hiking: subway line pills ───────────────────────── */
.subway-pill {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
  letter-spacing: 0.01em;
}
.line-2   { background: #3CB54A; }
.line-3   { background: #EF7C1C; }
.line-5   { background: #8B50A4; }
.line-8   { background: #E6186C; }
.line-9   { background: #BFA22E; }
.line-gyj { background: #77C4A3; }

/* ── Hiking: access rating badges ────────────────────── */
.access-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: 'Noto Sans KR', sans-serif;
}
.access-best     { background: #DCFCE7; color: #14532D; }
.access-great    { background: #D1FAE5; color: #065F46; }
.access-ok       { background: #FEF9C3; color: #713F12; }
.access-far      { background: #FEE2E2; color: #991B1B; }
.access-distant  { background: #F3F4F6; color: #6B7280; }

/* ── Tip cards ────────────────────────────────────────── */
.tip-card { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid #E5E7EB; }
.tip-icon { font-size: 1.75rem; margin-bottom: 10px; line-height: 1; }
.tip-card h4 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.tip-card p { font-size: 0.79rem; color: #6B7280; line-height: 1.6; }

/* ── Hiking row toggles ───────────────────────────────── */
.hike-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.hike-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.hike-toggle-btn:hover { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.hike-toggle-btn.open { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.hike-detail-row td { background: #F8FAFC; }
.hike-detail-box {
  border-left: 3px solid #3B82F6;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  background: #EFF6FF;
  font-size: 0.8rem;
  color: #1E3A5F;
  line-height: 1.65;
}

/* ── Hiking table links & meetup button ───────────────── */
.hike-trail-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #15803D;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.hike-trail-link:hover { background: #DCFCE7; color: #166534; }
.hike-meetup-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1D4ED8;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.hike-meetup-btn:hover, .hike-meetup-btn.open { background: #DBEAFE; color: #1E40AF; }
.hike-meetup-row td { background: #F8FAFF; border-top: 1px solid #DBEAFE; }

/* ── Collapsible section panels ───────────────────────── */
.section-collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.section-collapse-btn:hover { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.section-collapse-body { overflow: hidden; transition: opacity 0.2s ease; }
.section-collapse-body.collapsed { display: none; }

/* ── Metro modal controls ─────────────────────────────── */
.metro-ctrl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  backdrop-filter: blur(6px);
}
.metro-ctrl:hover { background: rgba(255,255,255,0.28); }

/* ── Admin delete button ──────────────────────────────── */
.meetup-delete-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  opacity: 0.4;
  padding: 0 2px;
  transition: opacity 0.15s;
}
.meetup-delete-btn:hover { opacity: 1; }

/* ── Toast ────────────────────────────────────────────── */
#copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}

/* ── Meetup panels ────────────────────────────────────── */
.meetup-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 7px 12px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4B5563;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.meetup-toggle-btn:hover { background: #EFF6FF; border-color: #BFDBFE; color: #6B9BD2; }

.meetup-panel {
  margin-top: 8px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  background: #FAFAFA;
  font-size: 0.72rem;
}
.meetup-list {
  padding: 8px 10px;
  max-height: 220px;
  overflow-y: auto;
}
.meetup-entry {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.meetup-entry:last-child { margin-bottom: 0; }
.meetup-entry-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.meetup-name { font-weight: 700; color: #111827; font-size: 0.75rem; }
.meetup-time { color: #6B9BD2; font-weight: 600; font-size: 0.68rem; white-space: nowrap; }
.meetup-meta { color: #4B5563; margin-bottom: 2px; }
.meetup-contact { color: #6B7280; font-style: italic; word-break: break-all; }
.meetup-empty, .meetup-loading { display: block; color: #9CA3AF; text-align: center; padding: 10px 0; }

.meetup-add-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #E5E7EB;
  padding: 8px;
  font-size: 0.72rem;
  color: #6B9BD2;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.meetup-add-btn:hover { background: #EFF6FF; }

.meetup-form {
  padding: 10px 12px;
  border-top: 1px solid #E5E7EB;
  background: #fff;
}
.meetup-input {
  display: block;
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  margin-bottom: 6px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.meetup-input:focus { border-color: #6B9BD2; }
textarea.meetup-input { resize: vertical; }
.meetup-form-btns { display: flex; gap: 6px; }
.meetup-submit-btn {
  flex: 1;
  background: #6B9BD2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.meetup-submit-btn:hover { background: #5585BF; }
.meetup-submit-btn:disabled { background: #9CA3AF; cursor: not-allowed; }
.meetup-cancel-btn {
  background: #F3F4F6;
  color: #6B7280;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.meetup-cancel-btn:hover { background: #E5E7EB; }

/* ── Suggest-Activity card ────────────────────────────── */
.suggest-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #fff 60%);
  border: 2px dashed #FCD34D;
}
.suggest-icon { font-size: 2.4rem; margin-bottom: 8px; line-height: 1; }
.suggest-title { font-size: 1rem; font-weight: 700; color: #6B9BD2; margin-bottom: 6px; }
.suggest-desc { font-size: 0.78rem; color: #6B7280; line-height: 1.5; margin-bottom: 12px; }
.suggest-submit-btn { flex: none; width: 100%; margin-top: 4px; }
#suggest-list { margin-top: 12px; }
#suggest-list > p {
  font-size: 0.68rem;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ── Community Board ─────────────────────────────────── */
.board-post {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.board-post:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.board-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.board-post-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.board-post-time {
  font-size: 0.68rem;
  color: #9CA3AF;
}
.board-post-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.4;
}
.board-post-content {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.board-post-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
}

.board-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.18s;
}
.board-like-btn:hover { border-color: #93C5FD; background: #EFF6FF; color: #6B9BD2; }
.board-like-btn.liked { border-color: #93C5FD; background: #EFF6FF; color: #6B9BD2; cursor: default; }
.board-like-btn:disabled { opacity: 0.6; }
.heart-icon { font-size: 0.9rem; }
.like-count { font-variant-numeric: tabular-nums; }

.board-reply-toggle {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.board-reply-toggle:hover { background: #F3F4F6; color: #374151; }

/* Replies section */
.board-replies-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}
.board-replies-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.board-reply {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 6px;
}
.board-reply:last-child { margin-bottom: 0; }
.board-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.board-reply-content {
  font-size: 0.78rem;
  color: #4B5563;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Board forms */
.board-input {
  display: block;
  width: 100%;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.board-input:focus { border-color: #6B9BD2; }
textarea.board-input { resize: vertical; }

.board-submit-btn {
  background: #6B9BD2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.board-submit-btn:hover { background: #5585BF; }
.board-submit-btn:disabled { background: #9CA3AF; cursor: not-allowed; }

.board-reply-submit {
  padding: 6px 14px;
  font-size: 0.75rem;
}

/* Create post (details/summary) */
.board-create-summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px dashed #E5E7EB;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6B9BD2;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
  list-style: none;
}
.board-create-summary::-webkit-details-marker { display: none; }
.board-create-summary:hover { border-color: #93C5FD; background: #EFF6FF; }
details[open] .board-create-summary { border-color: #6B9BD2; border-style: solid; border-radius: 12px 12px 0 0; }

.board-create-form-inner {
  background: #fff;
  border: 2px solid #6B9BD2;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 16px 22px 20px;
}

/* Sort buttons */
.board-sort-btn {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.18s;
}
.board-sort-btn:hover { border-color: #6B9BD2; color: #6B9BD2; }
.board-sort-btn.active { background: #6B9BD2; border-color: #6B9BD2; color: #fff; }

/* Loading & empty states */
.board-loading {
  display: block;
  color: #9CA3AF;
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
}
.board-empty {
  display: block;
  color: #9CA3AF;
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
}

/* ── Detail page ─────────────────────────────────────── */
.detail-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}
.detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  color: #fff;
}
.detail-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.detail-korean {
  font-size: 1.1rem;
  opacity: 0.8;
}

.detail-back {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6B9BD2;
  text-decoration: none;
  margin-bottom: 20px;
  transition: opacity 0.15s;
}
.detail-back:hover { opacity: 0.7; }

.detail-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #F3F4F6;
}
.detail-section:last-child { border-bottom: none; }

.detail-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.detail-desc {
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 16px;
}

.detail-price {
  display: inline-block;
  background: #F0FDF4;
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.detail-meta-item {
  font-size: 0.78rem;
  background: #F3F4F6;
  padding: 5px 12px;
  border-radius: 10px;
  color: #4B5563;
  font-weight: 500;
}

.detail-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.detail-maps-btn:hover { background: #DBEAFE; border-color: #93C5FD; }

.detail-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-tips li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 0.85rem;
  color: #4B5563;
  line-height: 1.55;
  border-bottom: 1px dashed #F3F4F6;
}
.detail-tips li:last-child { border-bottom: none; }
.detail-tips li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #6B9BD2;
  font-size: 0.7rem;
  top: 10px;
}

.detail-meetup-entry {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.detail-meetup-entry:last-child { margin-bottom: 0; }

.detail-add-meetup-btn {
  display: block;
  width: 100%;
  background: #EFF6FF;
  border: 1.5px dashed #BFDBFE;
  padding: 10px;
  font-size: 0.82rem;
  color: #6B9BD2;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border-radius: 10px;
  transition: background 0.15s, border-color 0.15s;
}
.detail-add-meetup-btn:hover { background: #DBEAFE; border-color: #93C5FD; }

.detail-meetup-form {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px;
  margin-top: 8px;
}

.detail-cancel-btn {
  background: #F3F4F6;
  color: #6B7280;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.detail-cancel-btn:hover { background: #E5E7EB; }

/* Detail table */
.detail-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  white-space: nowrap;
}
.detail-table th {
  background: #F3F4F6;
  color: #374151;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #E5E7EB;
}
.detail-table td {
  padding: 10px 14px;
  color: #4B5563;
  border-bottom: 1px solid #F3F4F6;
  white-space: normal;
}
.detail-table tr:last-child td { border-bottom: none; }
.detail-table tr:hover td { background: #F9FAFB; }

/* Clickable cards */
.activity-card[data-activity-id],
.food-card[data-food-id],
.food-card-ig[data-food-id] {
  cursor: pointer;
}

/* ── Advertisement zones ──────────────────────────────── */
.ad-zone {
  min-height: 90px;
}
.ad-zone--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border: 1px dashed #D1D5DB;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #FAFAFA, #FAFAFA 10px, #F3F4F6 10px, #F3F4F6 20px);
  color: #9CA3AF;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Mobile: compact 2-up card layout ─────────────────── */
@media (max-width: 639px) {
  /* Activity cards */
  .activity-img-wrap { height: 120px; }
  .activity-img-badge { font-size: 0.58rem; padding: 2px 7px; top: 8px; left: 8px; }
  .activity-body { padding: 11px 12px 13px; }
  .activity-body h3 { font-size: 0.85rem; margin-bottom: 4px; }
  .activity-body p { font-size: 0.72rem; line-height: 1.45; margin-bottom: 8px; }
  .korean-tag { display: inline-block; margin-left: 0; margin-top: 2px; font-size: 0.62rem; }
  .activity-meta { gap: 4px; margin-bottom: 8px; }
  .activity-meta span { font-size: 0.6rem; padding: 2px 6px; }
  .activity-link { font-size: 0.68rem; }

  /* Day trip cards */
  .daytrip-img-wrap { height: 130px; }
  .daytrip-overlay-content { padding: 10px 12px; }
  .daytrip-overlay-content h3 { font-size: 1rem; }
  .daytrip-overlay-content .korean-sub { font-size: 0.72rem; }
  .trip-badge { font-size: 0.6rem; padding: 3px 8px; top: 8px; right: 8px; }
  .daytrip-body { padding: 12px; }
  .daytrip-body p { font-size: 0.72rem; line-height: 1.45; margin-bottom: 10px; }
  .daytrip-highlights { gap: 4px; margin-bottom: 10px; }
  .daytrip-highlights span { font-size: 0.62rem; padding: 2px 8px; }
  .daytrip-link { font-size: 0.7rem; }

  /* Food (Instagram-style) cards */
  .food-card-ig { margin-bottom: 12px; }
  .food-card-ig-overlay { padding: 12px; }
  .food-card-ig-korean { font-size: 1.1rem; }
  .food-card-ig-english { font-size: 0.8rem; }
  .food-card-ig-info { padding: 8px 2px 2px; }
  .food-card-ig-name { font-size: 0.88rem; }
  .food-card-ig-sub { font-size: 0.76rem; }
  .food-card-ig-badge { font-size: 0.62rem; padding: 4px 8px; top: 10px; left: 10px; }
}
