/* ===== WENZHOU CULTURAL TOURISM — MUSEUM EDITORIAL STYLES ===== */

/* ── Primitive Tokens ── */
:root {
  --seed-primary: #8E2F2F;
  --seed-secondary: #4E7464;
  --seed-accent: #1A2A3A;
  --seed-bg: #F7F3EA;
  --seed-surface: #FFFFFF;
  --seed-fg: #1E1C18;
  --seed-highlight: #B28A3E;
  --seed-water: #5B9EA6;
  --seed-radius: 4px;
  --heading-weight: 500;
  --section-padding: 80px;

  /* Semantic Tokens */
  --bg: var(--seed-bg);
  --surface: var(--seed-surface);
  --fg: var(--seed-fg);
  --muted: #7A7166;
  --muted-light: #A8A096;
  --border: #D7CFC1;
  --accent: var(--seed-primary);
  --accent-light: color-mix(in srgb, var(--seed-primary) 10%, transparent);
  --secondary: var(--seed-secondary);
  --secondary-light: color-mix(in srgb, var(--seed-secondary) 10%, transparent);
  --highlight: var(--seed-highlight);
  --highlight-light: color-mix(in srgb, var(--seed-highlight) 14%, transparent);
  --danger-bg: #FEE2E2;
  --danger: #DC2626;
  --dark-room: #151515;
  --sky-mid: #EDE8DD;
  --sky-warm: #E4DDD0;
  --font-base-size: 16px;

  /* Radius */
  --radius-sm: var(--seed-radius);
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 50px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(30,28,24,0.06);
  --shadow-md: 0 4px 12px rgba(30,28,24,0.08);
  --shadow-lg: 0 8px 24px rgba(30,28,24,0.10);

  /* Typography */
  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', 'STSong', Georgia, serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --seed-bg: #1A1816;
  --seed-surface: #252220;
  --seed-fg: #E8E4DC;
  --muted: #9B9488;
  --muted-light: #6B655C;
  --border: #3A3632;
  --accent-light: color-mix(in srgb, var(--seed-primary) 18%, transparent);
  --secondary-light: color-mix(in srgb, var(--seed-secondary) 18%, transparent);
  --highlight-light: color-mix(in srgb, var(--seed-highlight) 20%, transparent);
  --danger-bg: #3B1C1C;
  --dark-room: #0F0E0C;
  --sky-mid: #22201C;
  --sky-warm: #2A2722;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}
[data-theme="dark"] .top-nav {
  background: rgba(26,24,22,0.96);
}
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #1A1816 0%, #252220 100%);
}
[data-theme="dark"] .site-footer {
  background: #151311;
  border-color: #2A2722;
}
[data-theme="dark"] .footer-info-overlay {
  background: rgba(0,0,0,0.7);
}
[data-theme="dark"] .admin-login {
  background: var(--seed-bg);
}
[data-theme="dark"] .admin-body {
  background: var(--seed-bg);
}
[data-theme="dark"] img {
  opacity: 0.92;
}
[data-theme="dark"] .nav-search-dropdown {
  background: var(--seed-surface);
  border-color: var(--border);
}
/* Theme toggle button */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; color: var(--muted); flex-shrink: 0;
  transition: all 0.2s; margin-left: 8px;
}
.theme-toggle:hover {
  color: var(--fg); border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--font-base-size); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
}

/* ── Top Navigation ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: rgba(247,243,234,0.96);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.top-nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
}
.nav-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-brand-logo { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; letter-spacing: 0.02em;
}
.nav-desktop-links {
  display: none; align-items: center; gap: 32px; list-style: none;
}
.nav-desktop-links a {
  text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 450; letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-desktop-links a:hover,
.nav-desktop-links a.active { color: var(--fg); }
.nav-cta {
  display: none; align-items: center; gap: 6px;
  padding: 7px 18px;
  background: var(--fg); color: var(--bg);
  border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
  cursor: pointer; text-decoration: none;
  transition: all var(--transition); font-family: var(--font-body);
}
.nav-cta:hover { background: var(--accent); color: white; }

/* ── Bottom Tab Bar (Mobile) ── */
.bottom-tabs {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: stretch;
  background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted);
  font-size: 10px; font-weight: 450; letter-spacing: 0.02em;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.bottom-tab svg { width: 20px; height: 20px; }
.bottom-tab.active { color: var(--accent); }
.bottom-tab:hover { color: var(--fg); }

/* ── Page Container ── */
.page { padding-top: 56px; min-height: 100vh; }

/* ── Section Layout ── */
.section {
  padding: var(--section-padding) 20px;
  max-width: 1100px; margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 550;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em; line-height: 1.15;
  color: var(--fg); margin-bottom: 12px;
}
.section-desc {
  font-size: 15px; color: var(--muted);
  max-width: 600px; line-height: 1.7;
}
.section-header { margin-bottom: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 24px; border: none;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-body); text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: white; }
.btn-secondary {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--muted); padding: 8px 0; }
.btn-ghost:hover { color: var(--fg); }
.btn-full { width: 100%; }

/* ── Hero Section ── */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 60px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 20, 0.25) 0%,
    rgba(15, 25, 20, 0.30) 40%,
    rgba(15, 25, 20, 0.40) 70%,
    rgba(15, 25, 20, 0.50) 100%
  );
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 680px; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 550; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px); background: rgba(255,255,255,0.08);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 56px);
  font-weight: var(--heading-weight);
  line-height: 1.1; letter-spacing: -0.025em;
  color: #fff; margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-title em {
  font-style: normal; color: #ffd97a;
}
.hero-subtitle {
  font-size: clamp(15px, 3vw, 18px);
  color: rgba(255,255,255,0.82); line-height: 1.7;
  margin-bottom: 36px; max-width: 520px;
  margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero .btn-primary { background: #fff; color: #1a2e1f; }
.hero .btn-primary:hover { background: #ffd97a; color: #1a2e1f; }
.hero .btn-secondary { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.3); }
.hero .btn-secondary:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.01em; color: #fff;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.7);
  margin-top: 4px; letter-spacing: 0.04em;
}
.hero-qr-card {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-top: 24px; padding: 16px 20px 12px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}
.hero-qr-card:hover { background: rgba(255,255,255,0.18); }
.hero-qr-img {
  width: 120px; height: 120px; border-radius: 6px; overflow: hidden;
  background: #fff; padding: 6px;
}
.hero-qr-img img { width: 100%; height: 100%; display: block; }
.hero-qr-label {
  font-size: 12px; color: rgba(255,255,255,0.85);
  margin-top: 10px; font-weight: 600; letter-spacing: 0.05em;
}
.hero-qr-url {
  font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px;
}

/* ── Featured Attractions (Editorial Layout) ── */
.featured-item {
  display: flex; gap: 32px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: opacity var(--transition);
}
.featured-item:hover { opacity: 0.85; }
.featured-item:last-child { border-bottom: none; }
.featured-item.reverse { flex-direction: row-reverse; }
.featured-img {
  width: 45%; aspect-ratio: 16/10;
  border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0;
  background: var(--surface);
}
.featured-img svg { width: 100%; height: 100%; }
.featured-info { flex: 1; min-width: 0; }
.featured-category {
  font-size: 11px; font-weight: 550; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--secondary);
  margin-bottom: 8px;
}
.featured-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 10px;
}
.featured-desc {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  margin-bottom: 14px; max-width: 65ch;
}
.featured-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--muted);
}
.featured-meta-item { display: flex; align-items: center; gap: 4px; }
.featured-meta-item svg { width: 14px; height: 14px; }

/* ── Category Entrance ── */
.category-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.category-card {
  display: block; padding: 32px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); text-decoration: none; color: inherit;
  transition: all var(--transition); text-align: center;
}
.category-card:hover { border-color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.category-card-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.category-card-icon svg { width: 24px; height: 24px; }
.category-card-icon.nature { background: var(--secondary-light); color: var(--secondary); }
.category-card-icon.culture { background: var(--accent-light); color: var(--accent); }
.category-card-icon.island { background: color-mix(in srgb, var(--seed-water) 14%, transparent); color: var(--seed-water); }
.category-card-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.category-card-count { font-size: 13px; color: var(--muted); }

/* Region Entrance Grid */
.region-entrance-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.region-entrance-card {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); text-decoration: none; color: inherit;
  transition: all var(--transition); overflow: hidden;
}
.region-entrance-card:hover { border-color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.region-entrance-icon {
  width: 80px; height: 50px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--bg);
}
.region-entrance-icon svg { width: 100%; height: 100%; }
.region-entrance-info { flex: 1; min-width: 0; }
.region-entrance-label {
  font-size: 11px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 2px;
}
.region-entrance-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em;
}
.region-entrance-count { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Scenic Detail Page ── */
.page-hero {
  padding: 40px 20px 32px; text-align: center;
  max-width: 680px; margin: 0 auto;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.page-hero-desc { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Search */
.hero-search {
  position: relative; max-width: 480px; width: 100%;
  margin: 24px auto 0;
}
.hero-search-input {
  width: 100%; padding: 14px 20px 14px 48px;
  border: none; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.95); color: var(--fg);
  font-size: 15px; font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  outline: none; transition: box-shadow var(--transition);
}
.hero-search-input::placeholder { color: #999; }
.hero-search-input:focus { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.hero-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: #999; pointer-events: none;
}
.search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-height: 320px; overflow-y: auto; z-index: 100;
  display: none;
}
.search-dropdown.active { display: block; }
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; cursor: pointer; transition: background 0.15s;
  text-decoration: none; color: inherit; border-bottom: 1px solid #f0f0f0;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: #f5f7f5; }
.search-item-img {
  width: 48px; height: 48px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0; background: #eee;
}
.search-item-img img { width: 100%; height: 100%; object-fit: cover; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-name { font-size: 14px; font-weight: 600; color: var(--fg); }
.search-item-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.search-empty { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* Nav search (compact) */
.nav-search {
  position: relative; margin-left: 12px;
}
.nav-search-input {
  padding: 6px 12px 6px 32px; border: 1px solid var(--border);
  border-radius: var(--radius-pill); background: var(--bg);
  font-size: 13px; font-family: var(--font-body); color: var(--fg);
  width: 160px; outline: none; transition: width 0.3s, border-color 0.2s;
}
.nav-search-input:focus { width: 220px; border-color: var(--primary); }
.nav-search-input::placeholder { color: var(--muted); }
.nav-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--muted); pointer-events: none;
}
.nav-search .search-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; left: auto;
  width: 320px;
}
@media (max-width: 539px) {
  .nav-search { display: none; }
}

/* Filter Bar */
.filter-bar {
  display: flex; gap: 8px; margin-bottom: 32px;
  flex-wrap: wrap; padding-bottom: 4px;
}
.filter-chip {
  padding: 7px 16px; border: 1px solid var(--border);
  background: var(--surface); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 450; color: var(--muted);
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-body); white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.02em;
}
.filter-chip:hover { border-color: var(--fg); color: var(--fg); }
.filter-chip.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Attraction Cards Grid */
.attractions-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.attraction-card {
  background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  cursor: pointer; transition: all var(--transition);
}
.attraction-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.attraction-card.selected { border-color: var(--primary); }
.card-image {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-category {
  position: absolute; bottom: 10px; left: 10px;
  padding: 3px 10px; background: rgba(0,0,0,0.55);
  color: #fff; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 550; letter-spacing: 0.02em;
}
.card-body { padding: 16px; }
.card-title-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 8px;
}
.card-title { font-size: 16px; font-weight: 600; color: var(--fg); }
.card-rating {
  display: flex; align-items: center; gap: 3px;
  font-size: 13px; font-weight: 550; color: var(--highlight);
  flex-shrink: 0;
}
.card-rating svg { width: 14px; height: 14px; }
.card-desc {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.card-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted);
}
.card-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.card-action { display: flex; }
.add-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 14px; border: 1px solid var(--primary);
  background: transparent; color: var(--primary);
  border-radius: var(--radius-pill); font-size: 12px;
  font-weight: 550; cursor: pointer; transition: all var(--transition);
  font-family: var(--font-body);
}
.add-btn:hover { background: var(--primary); color: #fff; }
.add-btn svg { width: 14px; height: 14px; }
.attraction-card.selected .add-btn {
  background: var(--primary); color: #fff;
}

/* Scenic Detail Card (Full-width editorial) */
.scenic-card {
  padding: 48px 0; border-bottom: 1px solid var(--border);
}
.scenic-card:last-child { border-bottom: none; }
.scenic-card-img {
  width: 100%; aspect-ratio: 21/9;
  border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: 28px; background: var(--surface);
}
.scenic-card-img svg { width: 100%; height: 100%; }
.scenic-card-header { margin-bottom: 20px; }
.scenic-card-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.scenic-tag {
  font-size: 11px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--muted);
}
.scenic-tag.category { border-color: var(--secondary); color: var(--secondary); }
.scenic-card-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 8px;
}
.scenic-card-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--highlight);
}
.scenic-card-rating svg { width: 15px; height: 15px; }
.scenic-card-body { max-width: 65ch; }
.scenic-card-body p {
  font-size: 15px; line-height: 1.75; color: var(--fg);
  margin-bottom: 16px;
}
.scenic-card-body .sub-heading {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.01em; margin: 28px 0 12px;
  color: var(--fg);
}
.scenic-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 24px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.info-label {
  font-size: 11px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.info-value { font-size: 14px; font-weight: 450; color: var(--fg); }
.scenic-card-actions {
  margin-top: 20px; display: flex; gap: 12px; align-items: center;
}

/* ── Detail Page ── */
.detail-breadcrumb {
  padding: 16px 20px 0; max-width: 1100px; margin: 0 auto;
  font-size: 13px; color: var(--muted);
}
.detail-breadcrumb a {
  color: var(--muted); text-decoration: none;
  transition: color var(--transition);
}
.detail-breadcrumb a:hover { color: var(--fg); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb-current { color: var(--fg); font-weight: 450; }

.detail-hero {
  padding: 24px 20px 0; max-width: 1100px; margin: 0 auto;
}
.detail-hero-img {
  width: 100%; aspect-ratio: 21/9;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface);
}
.detail-hero-img svg { width: 100%; height: 100%; }

.detail-header {
  padding: 32px 20px 0; max-width: 780px; margin: 0 auto;
}
.detail-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: 10px;
}
.detail-rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--highlight);
  margin-bottom: 14px;
}
.detail-intro {
  font-size: 16px; line-height: 1.75; color: var(--muted);
}

.detail-quick-info {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin: 32px 20px 0;
  max-width: 780px; margin-left: auto; margin-right: auto;
  background: var(--border); border-radius: var(--radius-md); overflow: hidden;
}
.quick-info-item {
  padding: 18px 20px; background: var(--surface);
}

.detail-content {
  max-width: 780px; margin: 0 auto;
  padding: 40px 20px 0;
}
.detail-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.detail-section:last-child { border-bottom: none; }
.detail-section-label {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.detail-section-marker {
  display: inline-block; width: 3px; height: 20px;
  background: var(--accent); border-radius: 2px;
}
.detail-section-body p {
  font-size: 15px; line-height: 1.85; color: var(--fg);
}

.detail-actions {
  max-width: 780px; margin: 0 auto;
  padding: 24px 20px 0;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}

.detail-nearby {
  max-width: 780px; margin: 0 auto;
  padding: 48px 20px 0;
}
.detail-nearby-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 20px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.detail-nearby-subtitle {
  font-size: 13px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.detail-nearby-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}

.detail-same-region {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.same-region-card {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); text-decoration: none; color: inherit;
  transition: all var(--transition);
}
.same-region-card:hover { border-color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.same-region-img {
  width: 80px; height: 50px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--bg);
}
.same-region-img svg { width: 100%; height: 100%; }
.same-region-info { flex: 1; min-width: 0; }
.same-region-name {
  font-size: 15px; font-weight: 500;
  margin-bottom: 2px;
}
.same-region-meta { font-size: 12px; color: var(--muted); }

/* ── Footer ── */
.site-footer {
  background: var(--dark-room); color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px; margin-bottom: 64px;
}
.footer-content { max-width: 1100px; margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: white;
}
.footer-brand svg { width: 24px; height: 24px; }
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500; letter-spacing: 0.02em;
}
.footer-about { font-size: 13px; line-height: 1.6; margin-bottom: 28px; max-width: 400px; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col-title {
  font-size: 11px; font-weight: 550; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-btn {
  background: none; border: none; color: rgba(255,255,255,0.65);
  font-size: 13px; font-family: var(--font-body);
  cursor: pointer; padding: 0; transition: color var(--transition);
}
.footer-btn:hover { color: white; }
.footer-info { color: rgba(255,255,255,0.65); font-size: 13px; }
.footer-bottom {
  max-width: 1100px; margin: 28px auto 0;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; text-align: center; color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

/* ── Secondary Page Styles ── */

/* Region Group */
.region-group {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.region-group:first-child { border-top: none; padding-top: 0; }
.region-header { margin-bottom: 36px; }
.region-meta {
  display: flex; align-items: center; gap: 16px;
  margin-top: 16px; padding-top: 12px;
}
.region-count {
  font-size: 13px; font-weight: 500; color: var(--fg);
  letter-spacing: 0.02em;
}
.region-tip {
  font-size: 12px; color: var(--muted);
  padding: 3px 10px;
  background: var(--highlight-light);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

/* Summary Card Grid (scenic listing page) */
.summary-card-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.summary-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  text-decoration: none; color: inherit;
  transition: all var(--transition);
}
.summary-card:hover { border-color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.summary-card-img {
  width: 160px; aspect-ratio: 16/10;
  border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
  background: var(--bg);
}
.summary-card-img svg { width: 100%; height: 100%; }
.summary-card-body { flex: 1; min-width: 0; }
.summary-card-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.summary-card-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.summary-card-desc {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.summary-card-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--muted); margin-bottom: 8px;
}
.summary-card-rating { display: flex; align-items: center; gap: 3px; color: var(--highlight); font-weight: 500; }
.summary-card-ticket { font-size: 12px; }
.summary-card-cta {
  font-size: 13px; font-weight: 500; color: var(--accent);
  letter-spacing: 0.02em;
}

.aux-notice {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 13px; color: var(--muted);
}
.aux-notice svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--highlight); }

/* Dining */
.dining-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dining-card {
  background: var(--surface); border-radius: var(--radius-md);
  padding: 20px; border: 1px solid var(--border);
  transition: all var(--transition);
}
.dining-card:hover { box-shadow: var(--shadow-sm); border-color: transparent; }
.dining-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.dining-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dining-icon.lunch { background: var(--highlight-light); }
.dining-icon.dinner { background: var(--accent-light); }
.dining-icon svg { width: 18px; height: 18px; }
.dining-name { font-size: 15px; font-weight: 500; }
.dining-type { font-size: 12px; color: var(--muted); }
.dining-dishes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dining-dish { padding: 2px 10px; background: var(--bg); border-radius: var(--radius-pill); font-size: 12px; color: var(--muted); }
.dining-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.dining-rating { display: flex; align-items: center; gap: 3px; color: var(--highlight); font-weight: 500; }
.dining-rating svg { width: 13px; height: 13px; }
.dining-near-tag {
  display: inline-block; padding: 2px 8px; margin-top: 8px;
  background: var(--secondary-light); color: var(--secondary);
  border-radius: var(--radius-pill); font-size: 11px; font-weight: 500;
}
.dining-section-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.01em;
}
.dining-section-title svg { width: 20px; height: 20px; }
.dining-section-title.lunch-title { color: color-mix(in srgb, var(--seed-highlight) 50%, var(--fg)); }
.dining-section-title.dinner-title { color: var(--accent); }
.dining-tip {
  background: var(--surface); border-radius: var(--radius-md);
  padding: 18px; border: 1px solid var(--border);
  margin-bottom: 24px; display: flex; gap: 14px; align-items: flex-start;
}
.dining-tip svg { width: 22px; height: 22px; color: var(--highlight); flex-shrink: 0; margin-top: 2px; }
.dining-tip-text { font-size: 14px; color: var(--muted); line-height: 1.6; }
.dining-tip-text strong { color: var(--fg); }
.dining-page-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Planner (simplified) */
.hotel-input-bar {
  background: var(--surface); border-radius: var(--radius-md);
  padding: 12px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.hotel-input-row { display: flex; align-items: center; gap: 10px; }
.hotel-input-row svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hotel-input-row input {
  flex: 1; border: none; outline: none;
  font-size: 15px; font-family: var(--font-body);
  background: transparent; color: var(--fg); padding: 8px 0; min-width: 0;
}
.hotel-input-row input::placeholder { color: var(--muted-light); }
.hotel-quick-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hotel-quick-tag {
  padding: 5px 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 12px; color: var(--muted);
  cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
}
.hotel-quick-tag:hover { border-color: var(--fg); color: var(--fg); }
.planner-summary {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-bottom: 16px;
}
.summary-card {
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 14px; border: 1px solid var(--border); text-align: center;
}
.summary-value {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
}
.summary-value.primary { color: var(--accent); }
.summary-value.secondary { color: var(--secondary); }
.summary-value.water { color: var(--seed-water); }
.summary-label { font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }

/* Timeline */
.timeline-container {
  background: var(--surface); border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 20px; min-height: 200px;
}
.timeline-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.timeline-empty svg { width: 48px; height: 48px; margin-bottom: 12px; color: var(--border); }
.timeline-empty-title { font-size: 16px; font-weight: 500; color: var(--fg); margin-bottom: 6px; }
.timeline-empty-desc { font-size: 13px; line-height: 1.5; }
.timeline-item { display: flex; gap: 16px; position: relative; }
.timeline-left { display: flex; flex-direction: column; align-items: center; width: 28px; flex-shrink: 0; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; z-index: 2; }
.timeline-dot.hotel { background: var(--accent); }
.timeline-dot.attraction { background: var(--secondary); }
.timeline-dot.dining { background: var(--highlight); }
.timeline-dot.return { background: var(--muted); }
.timeline-dot.travel { width: 8px; height: 8px; background: transparent; border: 2px solid var(--border); }
.timeline-line { width: 2px; flex: 1; min-height: 24px; background: var(--border); }
.timeline-line.dashed {
  background: repeating-linear-gradient(to bottom, var(--border) 0px, var(--border) 4px, transparent 4px, transparent 8px);
}
.timeline-right { flex: 1; padding-bottom: 18px; }
.timeline-time { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 3px; letter-spacing: 0.02em; }
.timeline-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.timeline-subtitle { font-size: 12px; color: var(--muted); line-height: 1.5; }
.timeline-tag {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 500; margin-top: 4px;
}
.timeline-tag.play { background: var(--secondary-light); color: var(--secondary); }
.timeline-tag.travel { background: var(--bg); color: var(--muted); }
.timeline-tag.dining { background: var(--highlight-light); color: color-mix(in srgb, var(--seed-highlight) 40%, var(--fg)); }
.timeline-tag.dishes { background: transparent; padding: 0; color: var(--muted); font-weight: 400; margin-top: 4px; }
.timeline-remove {
  position: absolute; top: 0; right: 0;
  width: 20px; height: 20px; border: none;
  background: transparent; color: var(--muted);
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all var(--transition);
}
.timeline-item:hover .timeline-remove { opacity: 1; }
.timeline-remove:hover { background: var(--danger-bg); color: var(--danger); }
.timeline-remove svg { width: 12px; height: 12px; }

/* Picker */
.picker-section { margin-top: 24px; }
.picker-title { font-size: 14px; font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
.picker-title svg { width: 16px; height: 16px; color: var(--accent); }
.picker-list { display: flex; flex-direction: column; gap: 8px; }
.picker-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
}
.picker-item:hover { border-color: var(--fg); }
.picker-item.selected { border-color: var(--accent); background: var(--accent-light); }
.picker-item-img { width: 44px; height: 44px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.picker-item-img svg { width: 100%; height: 100%; }
.picker-item-info { flex: 1; min-width: 0; }
.picker-item-name { font-size: 14px; font-weight: 500; }
.picker-item-meta { font-size: 12px; color: var(--muted); }
.picker-check {
  width: 20px; height: 20px; border: 2px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all var(--transition);
}
.picker-item.selected .picker-check { background: var(--accent); border-color: var(--accent); }
.picker-check svg { width: 11px; height: 11px; color: white; opacity: 0; }
.picker-item.selected .picker-check svg { opacity: 1; }
.picker-region-group { margin-bottom: 20px; }
.picker-region-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--fg);
  padding: 8px 12px; margin-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.picker-region-header svg { color: var(--accent); flex-shrink: 0; }
.picker-region-count {
  margin-left: auto; font-size: 11px; font-weight: 500;
  color: var(--muted); background: var(--bg);
  padding: 2px 8px; border-radius: var(--radius-pill);
}

@media (max-width: 539px) {
  .summary-card { flex-direction: column; }
  .summary-card-img { width: 100%; aspect-ratio: 16/9; }
  .featured-item { flex-direction: column !important; gap: 16px; padding: 28px 0; }
  .featured-img { width: 100%; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; animation: fadeInUp 0.5s ease forwards; }
.fade-in:nth-child(2) { animation-delay: 0.08s; }
.fade-in:nth-child(3) { animation-delay: 0.16s; }
.fade-in:nth-child(4) { animation-delay: 0.24s; }

/* ── Responsive: Tablet+ ── */
@media (min-width: 540px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .region-entrance-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-quick-info { grid-template-columns: repeat(4, 1fr); }
  .detail-nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-same-region { grid-template-columns: repeat(2, 1fr); }
  .dining-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dining-page-grid { grid-template-columns: repeat(2, 1fr); }
  .planner-summary { grid-template-columns: repeat(4, 1fr); }
  .hero-actions { flex-direction: row; justify-content: center; }
  .scenic-info-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Responsive: Desktop ── */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .top-nav { height: 60px; padding: 0 32px; }
  .nav-desktop-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .bottom-tabs { display: none; }
  .page { padding-top: 60px; }
  .section { padding: var(--section-padding) 32px; }
  .region-entrance-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .attractions-grid { grid-template-columns: repeat(3, 1fr); }
  .dining-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dining-page-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-container { padding: 28px; }
  .hotel-input-bar { flex-direction: row; align-items: center; }
  .hotel-input-row { flex: 1; }
  .site-footer { margin-bottom: 0; }
  .footer-content { display: flex; gap: 48px; }
  .footer-about { margin-bottom: 0; }
}

@media (min-width: 1024px) {
  .section { padding: var(--section-padding) 48px; }
  .hero { min-height: 90vh; }
  .scenic-card-img { aspect-ratio: 5/2; }
}

/* ===== ADMIN BACKEND STYLES ===== */

/* Login Gate */
.admin-body { padding-bottom: 0; }
.admin-login {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
}
.admin-login-card {
  width: 100%; max-width: 400px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 32px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.admin-login-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
}
.admin-login-icon svg { width: 32px; height: 32px; }
.admin-login-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.admin-login-desc {
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
}
.admin-login-form {
  display: flex; flex-direction: column; gap: 14px;
}
.admin-login-error {
  font-size: 13px; color: var(--danger); text-align: center;
}

/* Form Elements */
.admin-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--fg); background: var(--surface);
  transition: border-color var(--transition);
  outline: none;
}
.admin-input:focus { border-color: var(--accent); }
.admin-textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--fg); background: var(--surface);
  resize: vertical; line-height: 1.6;
  transition: border-color var(--transition);
  outline: none;
}
.admin-textarea:focus { border-color: var(--accent); }

/* Dashboard Layout */
.admin-dash { min-height: 100vh; background: var(--bg); }
.admin-main { min-height: calc(100vh - 56px); }

/* Top Bar */
.admin-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 56px;
  background: rgba(247,243,234,0.96);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 8px;
}
.admin-topbar-left {
  display: flex; align-items: center; gap: 12px;
}
.admin-topbar-tag {
  font-size: 11px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
  padding: 3px 10px; border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
}
.admin-topbar-right {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.admin-topbar-btn { padding: 6px 14px; font-size: 13px; }
.admin-btn-danger { color: var(--danger) !important; }
.admin-btn-danger:hover { color: var(--danger) !important; }
.admin-btn-danger-bg { background: var(--danger) !important; color: white !important; }
.admin-btn-danger-bg:hover { opacity: 0.9; }

/* Summary Bar */
.admin-summary {
  display: flex; gap: 16px; padding: 20px;
  max-width: 900px; margin: 0 auto;
}
.admin-summary-item {
  flex: 1; padding: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); text-align: center;
}
.admin-summary-value {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  color: var(--fg); letter-spacing: -0.01em;
}
.admin-summary-label {
  font-size: 12px; color: var(--muted);
  margin-top: 4px; letter-spacing: 0.02em;
}

/* Content Area */
.admin-content {
  max-width: 900px; margin: 0 auto;
  padding: 0 20px 60px;
}

/* List View */
.admin-list-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.admin-list-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
}

/* Region Sections */
.admin-region-section {
  margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.admin-region-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--seed-secondary) 4%, var(--surface));
  border-bottom: 1px solid var(--border);
}
.admin-region-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
}
.admin-region-desc {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.admin-region-badge {
  font-size: 12px; font-weight: 500; color: var(--secondary);
  padding: 3px 10px; background: var(--secondary-light);
  border-radius: var(--radius-pill); white-space: nowrap;
}

/* Attraction Rows */
.admin-attr-list { }
.admin-attr-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  gap: 12px;
}
.admin-attr-row:last-child { border-bottom: none; }
.admin-attr-row:hover { background: color-mix(in srgb, var(--seed-highlight) 3%, var(--surface)); }
.admin-attr-info { flex: 1; min-width: 0; }
.admin-attr-name {
  font-size: 15px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.admin-custom-tag {
  font-size: 10px; font-weight: 550; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--highlight);
  padding: 1px 6px; border: 1px solid var(--highlight);
  border-radius: var(--radius-sm);
}
.admin-attr-meta {
  display: flex; gap: 12px; margin-top: 4px;
  font-size: 12px; color: var(--muted);
}
.admin-attr-actions {
  display: flex; gap: 8px; flex-shrink: 0;
}
.admin-small-btn {
  padding: 5px 12px; font-size: 12px;
}

.admin-empty-region {
  padding: 24px; text-align: center;
  font-size: 13px; color: var(--muted);
}

/* Form View */
.admin-form-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.admin-form-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em;
}
.admin-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
}
.admin-form-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-bottom: 16px;
}
.admin-form-grid-4 { grid-template-columns: 1fr; }
.admin-form-group { display: flex; flex-direction: column; gap: 6px; }
.admin-label {
  font-size: 13px; font-weight: 500; color: var(--fg);
  letter-spacing: 0.02em;
}
.admin-required { color: var(--danger); }
.admin-form-actions {
  display: flex; gap: 12px; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid var(--border);
}

/* Modal */
.admin-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.admin-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
}
.admin-modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.admin-modal-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.admin-modal-body {
  font-size: 14px; color: var(--muted);
  line-height: 1.6; margin-bottom: 20px;
}
.admin-modal-hint {
  font-size: 12px; color: var(--muted-light);
}
.admin-modal-actions {
  display: flex; gap: 12px; justify-content: flex-end;
}

/* Toast */
.admin-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  padding: 10px 24px;
  background: var(--fg); color: var(--bg);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 450;
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: all 0.3s ease;
  z-index: 300; pointer-events: none;
}
.admin-toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Admin responsive */
/* Tab Switcher */
.admin-tabs {
  display: flex; gap: 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.admin-tab {
  padding: 10px 24px; border: none; background: none;
  font-size: 14px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-body); letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.admin-tab:hover { color: var(--fg); }
.admin-tab.active {
  color: var(--fg); border-bottom-color: var(--accent);
}

/* Region Management List */
.admin-region-header-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0;
}
.admin-region-full-desc {
  font-size: 12px; color: var(--muted-light);
  margin-top: 4px; line-height: 1.5;
  max-width: 50ch;
}

@media (min-width: 540px) {
  .admin-form-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-form-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .admin-topbar { height: 60px; padding: 0 32px; }
  .admin-summary { padding: 24px 32px; }
  .admin-content { padding: 0 32px 60px; }
  .admin-form-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .admin-form { padding: 36px; }
}

/* ===== AD BANNER CAROUSEL (Frontend) ===== */
.ad-banner-container {
  max-width: var(--container, 1080px);
  margin: 0 auto;
  padding: 20px 20px 0;
}
.ad-banner-container.single .ad-carousel-dots,
.ad-banner-container.single .ad-carousel-arrow { display: none; }
.ad-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ad-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.ad-carousel-slide {
  flex: 0 0 100%;
  position: relative;
  min-width: 0;
}
.ad-banner {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}
a.ad-banner:hover .ad-banner-img { filter: brightness(1.05); }
.ad-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
}
.ad-banner-placeholder {
  width: 100%;
  aspect-ratio: 21 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--seed-surface), color-mix(in srgb, var(--seed-primary) 10%, var(--bg)));
  color: var(--fg);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
}
.ad-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.ad-banner-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}
.ad-banner-label {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.ad-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.ad-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.ad-carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
.ad-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
  z-index: 2;
  opacity: 0;
}
.ad-carousel:hover .ad-carousel-arrow { opacity: 1; }
.ad-carousel-arrow:hover { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.ad-carousel-arrow svg { width: 16px; height: 16px; stroke: var(--fg); stroke-width: 2.5; fill: none; }
.ad-carousel-prev { left: 12px; }
.ad-carousel-next { right: 12px; }
@media (max-width: 539px) {
  .ad-banner-img,
  .ad-banner-placeholder { aspect-ratio: 16 / 7; }
  .ad-banner-container { padding: 12px 12px 0; }
  .ad-banner-overlay { padding: 20px 16px 14px; }
  .ad-banner-title { font-size: 15px; }
  .ad-carousel-arrow { width: 30px; height: 30px; }
  .ad-carousel-arrow svg { width: 13px; height: 13px; }
}
/* ===== ADMIN: AD MANAGEMENT ===== */
.ad-position-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.ad-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.ad-list-item:hover { box-shadow: var(--shadow-sm); }
.ad-list-preview {
  width: 160px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-list-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ad-list-preview-empty {
  font-size: 12px;
  color: var(--muted);
}
.ad-list-info {
  flex: 1;
  min-width: 0;
}
.ad-list-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-list-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.ad-list-position {
  padding: 1px 8px;
  background: color-mix(in srgb, var(--seed-primary) 10%, transparent);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-weight: 500;
}
.ad-list-url {
  font-size: 11px;
  color: var(--muted-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}
.ad-status-on {
  color: var(--seed-highlight, #2a9d5c);
  font-weight: 550;
}
.ad-status-off {
  color: var(--muted);
  font-weight: 450;
}
.ad-list-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ad-image-preview {
  margin-top: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 120px;
}
.ad-image-preview img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  display: block;
}
.admin-form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 539px) {
  .ad-list-item { flex-direction: column; align-items: stretch; }
  .ad-list-preview { width: 100%; height: 80px; }
  .ad-list-actions { justify-content: flex-end; margin-top: 8px; }
}

/* ===== FOOTER INFO OVERLAY ===== */
.footer-info-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 500;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.footer-info-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; max-width: 560px; width: 100%; max-height: 80vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.footer-info-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 28px; color: var(--muted); cursor: pointer;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.footer-info-close:hover { background: var(--bg); }
.footer-info-card h3 {
  font-size: 20px; font-weight: 700; color: var(--fg);
  margin-bottom: 20px; padding-right: 30px;
}
.footer-info-card h4 {
  font-size: 14px; font-weight: 600; color: var(--primary);
  margin-bottom: 6px; margin-top: 16px;
}
.footer-info-card h4:first-child { margin-top: 0; }
.footer-info-card p {
  font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0;
}
.footer-info-section { margin-bottom: 4px; }
.footer-info-section:last-child { margin-bottom: 0; }

/* ===== CLICKABLE DINING CARDS ===== */
.dining-card-link {
  display: block; text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}
.dining-card-link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ===== SCENIC SORT BAR ===== */
.sort-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; margin-bottom: 8px;
}
.sort-bar-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.sort-btn {
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 500; background: transparent;
  border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; font-family: var(--font-body);
  transition: all 0.2s;
}
.sort-btn:hover { border-color: var(--primary); color: var(--primary); }
.sort-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== PLANNER DAY TABS & DRAG ===== */
.planner-day-tabs {
  display: flex; gap: 8px; padding: 12px 0; margin-bottom: 8px;
  flex-wrap: wrap;
}
.planner-day-tab {
  padding: 7px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; background: var(--surface);
  border: 1.5px solid var(--border); color: var(--muted);
  cursor: pointer; font-family: var(--font-body);
  transition: all 0.2s;
}
.planner-day-tab:hover { border-color: var(--primary); color: var(--primary); }
.planner-day-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.timeline-draggable {
  transition: opacity 0.2s, transform 0.15s;
}
.timeline-draggable:hover {
  background: color-mix(in srgb, var(--primary) 4%, transparent);
  border-radius: var(--radius-md);
}
.timeline-draggable[draggable="true"] .timeline-right {
  cursor: default;
}

/* ====== ADMIN SEARCH & SETTINGS ====== */
.admin-search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.admin-search-input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; color: var(--fg); outline: none;
  font-family: var(--font-body);
}
.admin-search-input::placeholder { color: var(--muted); }
.admin-search-count {
  font-size: 12px; color: var(--muted); white-space: nowrap;
}
.admin-settings-section {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.admin-settings-title {
  font-size: 16px; font-weight: 600; color: var(--fg);
  margin-bottom: 8px;
}
.admin-settings-desc {
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
}
.admin-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .admin-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.admin-stat-card {
  padding: 14px; background: color-mix(in srgb, var(--primary) 6%, var(--surface));
  border-radius: var(--radius-md); text-align: center;
}
.admin-stat-value { font-size: 22px; font-weight: 700; color: var(--primary); }
.admin-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.admin-chart-title {
  font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 12px;
}
.admin-chart-bars {
  display: flex; align-items: flex-end; gap: 8px; height: 90px; padding-bottom: 20px;
}
.admin-stat-bar-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative;
}
.admin-stat-bar {
  width: 100%; max-width: 40px; background: var(--primary);
  border-radius: 3px 3px 0 0; min-height: 2px;
  opacity: 0.75; transition: opacity 0.2s;
}
.admin-stat-bar-wrap:hover .admin-stat-bar { opacity: 1; }
.admin-stat-bar-label { font-size: 10px; color: var(--muted); }
.admin-stat-bar-value {
  position: absolute; top: -16px; font-size: 10px; font-weight: 600;
  color: var(--fg); opacity: 0; transition: opacity 0.2s;
}
.admin-stat-bar-wrap:hover .admin-stat-bar-value { opacity: 1; }
.admin-image-list { max-height: 400px; overflow-y: auto; }
.admin-image-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.admin-image-row:last-child { border-bottom: none; }
.admin-image-thumb {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--surface);
}
.admin-image-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.admin-image-missing {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; background: var(--border); color: var(--muted);
  font-size: 10px;
}
.admin-image-info { flex: 1; min-width: 0; }
.admin-image-name { font-size: 13px; font-weight: 600; color: var(--fg); }
.admin-image-meta { font-size: 11px; color: var(--muted); }
.admin-image-status {
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: var(--radius-pill); flex-shrink: 0;
}
.admin-image-status.has-image {
  background: color-mix(in srgb, var(--seed-highlight) 15%, transparent);
  color: var(--seed-highlight);
}
.admin-image-status.no-image {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
}

/* ====== PHOTO GALLERY ====== */
.gallery-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  padding: 16px 20px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gallery-item {
  flex: 0 0 280px; height: 200px; border-radius: var(--radius-lg);
  overflow: hidden; position: relative; cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}
.gallery-name { font-size: 15px; font-weight: 600; }
.gallery-meta { font-size: 11px; opacity: 0.8; margin-top: 2px; }
@media (min-width: 768px) {
  .gallery-item { flex: 0 0 340px; height: 240px; }
}
/* Lightbox */
.gallery-lightbox {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92); z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
}
.gallery-lightbox-img {
  max-width: 90vw; max-height: 75vh; object-fit: contain;
  border-radius: var(--radius-md); cursor: default;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.gallery-lightbox-caption {
  color: #fff; text-align: center; margin-top: 16px;
  font-size: 16px; font-weight: 500; opacity: 0.9;
}
.gallery-lightbox-close {
  position: absolute; top: 16px; right: 20px;
  color: #fff; font-size: 32px; cursor: pointer; opacity: 0.7;
  transition: opacity 0.2s;
}
.gallery-lightbox-close:hover { opacity: 1; }
.gallery-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 48px; cursor: pointer;
  background: none; border: none; opacity: 0.5;
  transition: opacity 0.2s; padding: 20px;
  font-family: var(--font-body);
}
.gallery-lightbox-nav:hover { opacity: 1; }
.gallery-lightbox-prev { left: 8px; }
.gallery-lightbox-next { right: 8px; }

/* ====== WEATHER WIDGET ====== */
.weather-strip {
  padding: 16px 20px;
  background: color-mix(in srgb, var(--seed-water) 8%, var(--surface));
  border-bottom: 1px solid var(--border);
}
.weather-strip-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  align-items: center;
}
@media (max-width: 640px) {
  .weather-strip-inner { grid-template-columns: 1fr; }
}
.weather-current {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.weather-loading { font-size: 13px; color: var(--muted); }
.weather-temp-big {
  font-size: 28px; font-weight: 700; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.weather-icon-big { font-size: 28px; line-height: 1; }
.weather-desc { font-size: 13px; color: var(--muted); }
.weather-details {
  display: flex; gap: 12px; font-size: 11px; color: var(--muted-light);
}
.weather-forecast {
  display: flex; gap: 12px; margin-left: 8px;
}
.weather-forecast-day {
  text-align: center; padding: 4px 10px;
  background: var(--surface); border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.weather-forecast-date { font-size: 10px; color: var(--muted); font-weight: 600; }
.weather-forecast-icon { font-size: 16px; line-height: 1.4; }
.weather-forecast-temp { font-size: 11px; color: var(--fg); font-weight: 600; }
.weather-season {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; background: var(--surface);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.weather-season-icon { font-size: 24px; flex-shrink: 0; }
.weather-season-info { flex: 1; min-width: 0; }
.weather-season-label { font-size: 13px; font-weight: 700; color: var(--fg); }
.weather-season-tip { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.weather-season-rec {
  font-size: 11px; color: var(--seed-water); margin-top: 4px;
  font-weight: 600;
}

/* ====== CHECK-IN / BADGE SYSTEM ====== */
.badge-toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface); border: 2px solid var(--seed-highlight);
  border-radius: var(--radius-lg); padding: 14px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 600; opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.badge-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.badge-toast-icon { font-size: 32px; }
.badge-toast-title { font-size: 11px; color: var(--seed-highlight); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.badge-toast-name { font-size: 16px; font-weight: 700; color: var(--fg); margin-top: 2px; }

/* Checkin page */
.checkin-hero { text-align: center; padding: 20px 0 12px; }
.checkin-stats {
  display: flex; justify-content: center; gap: 24px;
  margin: 16px 0;
}
.checkin-stat {
  text-align: center; padding: 16px 24px;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.checkin-stat-value { font-size: 28px; font-weight: 700; color: var(--primary); }
.checkin-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.badge-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; margin: 24px 0;
}
.badge-card {
  text-align: center; padding: 20px 12px;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.badge-card.earned {
  border-color: var(--seed-highlight);
  background: color-mix(in srgb, var(--seed-highlight) 6%, var(--surface));
}
.badge-card.locked { opacity: 0.45; }
.badge-card-icon { font-size: 36px; }
.badge-card-name { font-size: 14px; font-weight: 700; color: var(--fg); margin-top: 8px; }
.badge-card-desc { font-size: 11px; color: var(--muted); margin-top: 4px; }
.checkin-history-title {
  font-size: 16px; font-weight: 600; margin: 24px 0 12px;
}
.checkin-history-list { display: flex; flex-wrap: wrap; gap: 8px; }
.checkin-history-item {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 12px; color: var(--fg); text-decoration: none;
  transition: all 0.2s;
}
.checkin-history-item:hover { border-color: var(--primary); color: var(--primary); }
.checkin-history-check { color: var(--seed-highlight); font-weight: 700; }

/* ====== ADMIN FEATURED PANEL ====== */
.admin-featured-panel {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 12px 16px;
}


/* Announcement Marquee */
.announce-marquee {
  display: flex; align-items: center; gap: 12px;
  max-width: var(--max-width); margin: 12px auto 0;
  padding: 0 20px; overflow: hidden;
}
.announce-marquee-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 4px;
  background: var(--accent); color: white;
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.announce-marquee-label svg { width: 14px; height: 14px; }
.announce-marquee-track {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.announce-marquee-content {
  display: inline-flex; align-items: center; white-space: nowrap;
  animation: announceScroll 30s linear infinite;
}
.announce-marquee-item {
  font-size: 13px; color: var(--fg); white-space: nowrap;
  text-decoration: none; cursor: pointer; transition: color 0.2s;
}
.announce-marquee-item:hover { color: var(--accent); }
.announce-marquee-item .announce-tag {
  display: inline-block; padding: 1px 8px;
  background: var(--accent-light); color: var(--accent);
  border-radius: var(--radius-pill); font-size: 10px; font-weight: 600;
  font-style: normal; margin-right: 4px; vertical-align: middle;
}
.announce-marquee-sep {
  color: var(--border); font-size: 16px; margin: 0 12px; flex-shrink: 0;
}
@keyframes announceScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.announce-marquee:hover .announce-marquee-content {
  animation-play-state: paused;
}
@media (max-width: 539px) {
  .announce-marquee { padding: 0 12px; gap: 8px; }
  .announce-marquee-label { padding: 3px 10px; font-size: 11px; }
  .announce-marquee-item { font-size: 12px; }
}


/* Dining address & phone */
.dining-address,
.dining-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); margin-bottom: 4px;
}
.dining-address svg,
.dining-phone svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }
.dining-phone a:hover { color: var(--accent); text-decoration: underline; }


/* === A2HS Install Button === */
.a2hs-btn {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  display: none; align-items: center; gap: 10px;
  padding: 12px 24px; border: none; border-radius: 50px;
  background: linear-gradient(135deg, #8E2F2F, #B5453B);
  color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(142,47,47,0.35);
  cursor: pointer; z-index: 9999;
  font-family: inherit; letter-spacing: 0.5px;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.a2hs-btn:hover { box-shadow: 0 6px 28px rgba(142,47,47,0.45); transform: translateX(-50%) translateY(-2px); }
.a2hs-btn:active { transform: translateX(-50%) scale(0.97); }
.a2hs-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.a2hs-btn.show { display: flex; animation: a2hsSlideUp 0.5s ease; }
.a2hs-btn .a2hs-close {
  margin-left: 4px; width: 20px; height: 20px; opacity: 0.7;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.2);
}
.a2hs-btn .a2hs-close:hover { opacity: 1; background: rgba(255,255,255,0.3); }
@keyframes a2hsSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* iOS guide overlay */
.a2hs-ios-guide {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  padding: 20px 24px 34px; z-index: 9998;
  color: #fff; text-align: center;
  animation: a2hsSlideUp 0.4s ease;
}
.a2hs-ios-guide.show { display: block; }
.a2hs-ios-guide p { font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.a2hs-ios-guide .a2hs-ios-icon { display: inline-block; width: 22px; height: 22px; vertical-align: middle; margin: 0 4px; }
.a2hs-ios-guide button {
  padding: 10px 28px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px; background: rgba(255,255,255,0.15);
  color: #fff; font-size: 14px; cursor: pointer; margin-top: 8px;
}
@media (max-width: 400px) {
  .a2hs-btn { font-size: 14px; padding: 10px 18px; }
}
