:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f3efe7;
  --ink: #1c2421;
  --ink-muted: #56635d;
  --border: #e4ddd0;
  --primary: #134e4a;
  --primary-hover: #0f3f3c;
  --primary-soft: #e6f2f0;
  --seal: #b91c1c;
  --seal-soft: #fef2f2;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --gem-bg: #eef7f2;
  --gem-ink: #0f5132;
  --hub-bg: #eef2ff;
  --hub-ink: #3730a3;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(20, 35, 30, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 35, 30, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 25, 22, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-seal {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--seal);
  color: #fff;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
}

.brand-seal-btn {
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-seal-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.4);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-sub {
  font-size: 12px;
  color: var(--ink-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-select {
  appearance: auto;
  padding-right: 12px;
  font-family: inherit;
  outline: none;
}

.lang-select:focus {
  border-color: var(--primary);
}

.pill-accent {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pill-accent:hover {
  background: var(--primary-hover);
  color: #fff;
}

.pill-accent.is-pro {
  background: #14532d;
  border-color: #14532d;
}

/* Four-Season China Rice-Paper Ink-Wash Scroll Backdrop */
.season-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.scroll-panel {
  position: fixed;
  width: clamp(390px, 37vw, 640px);
  height: 52vh;
  background-repeat: no-repeat;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 0.80;
  transition: opacity 0.45s ease, transform 0.65s ease;
}

.quad-spring {
  top: 64px;
  left: 0;
  background-image: url("./assets/scroll-spring.jpg");
  background-position: left top;
  -webkit-mask-image: linear-gradient(to right, #000 76%, transparent 100%), linear-gradient(to bottom, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 76%, transparent 100%), linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.quad-summer {
  top: 64px;
  right: 0;
  background-image: url("./assets/scroll-summer.jpg");
  background-position: right top;
  -webkit-mask-image: linear-gradient(to left, #000 76%, transparent 100%), linear-gradient(to bottom, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 76%, transparent 100%), linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.quad-autumn {
  bottom: 0;
  left: 0;
  background-image: url("./assets/scroll-autumn.jpg");
  background-position: left bottom;
  -webkit-mask-image: linear-gradient(to right, #000 76%, transparent 100%), linear-gradient(to top, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 76%, transparent 100%), linear-gradient(to top, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.quad-winter {
  bottom: 0;
  right: 0;
  background-image: url("./assets/scroll-winter.jpg");
  background-position: right bottom;
  -webkit-mask-image: linear-gradient(to left, #000 76%, transparent 100%), linear-gradient(to top, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 76%, transparent 100%), linear-gradient(to top, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.season-backdrop.has-focus .scroll-panel {
  opacity: 0.24;
}

.season-backdrop.has-focus .scroll-panel.is-lit {
  opacity: 0.96;
  transform: scale(1.025);
}

.hero,
.affiliate-strip-wrap,
.main-content,
.footer {
  position: relative;
  z-index: 2;
}

/* Hero */
.hero {
  padding: 34px 0 20px;
  background: linear-gradient(180deg, rgba(244, 239, 229, 0.45) 0%, rgba(248, 246, 241, 0) 100%);
  border-bottom: none;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(19, 78, 74, 0.18);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.hero-title .highlight {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(185, 28, 28, 0.35);
  text-underline-offset: 6px;
}

.hero-desc {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Reverse Intent Panel */
.intent-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

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

.intent-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.link-btn {
  background: none;
  border: none;
  color: var(--seal);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.link-btn:hover {
  text-decoration: underline;
}

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intent-chip {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.intent-chip:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.intent-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(19, 78, 74, 0.25);
}

/* Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: 2fr repeat(5, minmax(118px, 1fr));
  gap: 10px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
  pointer-events: none;
}

.search-wrap input,
.select-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
  transition: border-color 0.15s ease;
}

.search-wrap input {
  padding-left: 36px;
}

.search-wrap input:focus,
.select-input:focus {
  border-color: var(--primary);
}

/* Affiliate Strip (Floating container bar so side scrolls flow cleanly) */
.affiliate-strip-wrap {
  padding: 4px 0 6px;
}

.affiliate-strip {
  background: #133936;
  color: #e6f4f1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Grand Semi-Transparent Realistic Ink-Wash Great Wall Horizon (Wide Full-Span Beneath Main Content) */
.great-wall-horizon {
  position: relative;
  z-index: 1;
  pointer-events: none;
  width: min(1480px, 90vw);
  height: 490px;
  margin: -115px auto -215px;
  overflow: visible;
}

.great-wall-canvas {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 46% 38% at 52% 38%, rgba(185, 28, 28, 0.09) 0%, transparent 72%),
    url("./assets/great-wall-panorama.jpg") center center / 100% auto no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.42;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.great-wall-horizon-pricing {
  width: min(1320px, 88vw);
  height: 360px;
  margin: -50px auto -150px;
}

.great-wall-horizon-pricing .great-wall-canvas {
  opacity: 0.28;
}

/* Dual-Mode Discovery Bar & Passive Vibe Panel */
.discovery-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.mode-tabs {
  display: inline-flex;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  gap: 4px;
  flex-wrap: wrap;
}

.mode-tab {
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mode-tab:hover {
  color: var(--primary);
}

.mode-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(19, 78, 74, 0.22);
}

.mode-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.weather-sync-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.offline-ready-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f5132;
  background: #ecfdf5;
  border: 1px solid rgba(15, 81, 50, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.offline-install-btn {
  border: 1px solid rgba(19, 78, 74, 0.3);
  background: var(--surface);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.offline-install-btn:hover {
  background: var(--primary);
  color: #fff;
}

.surprise-btn {
  border: 1px solid rgba(185, 28, 28, 0.28);
  background: var(--seal-soft);
  color: var(--seal);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.surprise-btn:hover {
  background: var(--seal);
  color: #fff;
}

.vibe-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vibe-group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.vibe-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vibe-chip:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.vibe-chip.active {
  background: var(--seal);
  border-color: var(--seal);
  color: #fff;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.22);
}

.vibe-chip-wx.active {
  background: #0f766e;
  border-color: #0f766e;
}

.vibe-chip-hub.active {
  background: #3730a3;
  border-color: #3730a3;
}

.surprise-spotlight {
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(185, 28, 28, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.climate-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid rgba(3, 105, 161, 0.16);
  white-space: nowrap;
}

.climate-pill-highland {
  background: #fff7ed;
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.2);
}

.affiliate-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.affiliate-copy {
  font-size: 13px;
}

.affiliate-copy span {
  opacity: 0.85;
  margin-left: 6px;
}

.affiliate-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.aff-chip {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #133936;
  background: #fde68a;
  padding: 6px 12px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.aff-chip:hover {
  transform: translateY(-1px);
  background: #fcd34d;
}

/* Main Results */
.main-content {
  padding: 26px 20px 50px;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.result-count {
  font-size: 16px;
  font-weight: 800;
}

.filter-summary {
  font-size: 13px;
  color: var(--ink-muted);
  margin-left: 8px;
}

.legend-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
}

.tier-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tier-gem {
  background: #16a34a;
}

.tier-hub {
  background: #4f46e5;
}

/* Cards Grid */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
  gap: 18px;
}

.place-card {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.place-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 78, 74, 0.4);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

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

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.badge-cat {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-gem {
  background: var(--gem-bg);
  color: var(--gem-ink);
}

.badge-hub {
  background: var(--hub-bg);
  color: var(--hub-ink);
}

.badge-pro {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--amber-soft);
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.card-title-en {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.card-title-zh {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.transit-box {
  background: var(--surface-soft);
  border-left: 3px solid var(--primary);
  padding: 8px 10px;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  color: var(--ink);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.price-main {
  font-size: 16px;
  font-weight: 800;
  color: var(--seal);
}

.price-cny {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  margin-left: 6px;
}

.price-compare {
  font-size: 12px;
  color: #0f5132;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
}

.why-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
}

.meta-tag {
  background: #f5f5f4;
  color: #44403c;
  padding: 3px 8px;
  border-radius: 6px;
}

.card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  gap: 8px;
}

.btn-primary,
.btn-secondary {
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  flex: 1;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lock {
  background: #78350f;
  color: #fff;
}

.btn-lock:hover {
  background: #5c280a;
}

.btn-full {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* Homepage Pricing Section */
.pricing-section {
  margin-top: 24px;
  padding-top: 20px;
}

.pricing-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px;
}

.pricing-section-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 850;
}

.pricing-section-head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.pricing-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.plan-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f0f9f7 0%, #ffffff 42%);
  box-shadow: var(--shadow-md);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
}

.plan-name {
  font-size: 16px;
  font-weight: 800;
}

.plan-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  margin: 8px 0 4px;
  line-height: 1.1;
}

.plan-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-desc {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  flex: 1;
}

@media (max-width: 860px) {
  .pricing-cards-3 {
    grid-template-columns: 1fr;
  }
}

/* Demand-Capture Banner */
.request-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #134e4a 0%, #0f3a37 100%);
  color: #f0fdfa;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.request-banner h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.request-banner p {
  margin: 0;
  font-size: 13.5px;
  opacity: 0.88;
  max-width: 680px;
}

.request-banner .btn-primary {
  background: #fde68a;
  color: #133936;
  border-color: #fde68a;
  padding: 11px 18px;
}

.request-banner .btn-primary:hover {
  background: #fcd34d;
}

/* Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 20, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 28px 16px;
}

.modal-card {
  width: 100%;
  max-width: 820px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin: auto 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--seal-soft);
  color: var(--seal);
}

.detail-body {
  padding: 26px 26px 32px;
}

.detail-header {
  padding-right: 40px;
  margin-bottom: 18px;
}

.detail-title {
  margin: 8px 0 4px;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

.detail-sub {
  font-size: 14px;
  color: var(--ink-muted);
}

.action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.detail-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.detail-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.info-tile {
  background: var(--surface-soft);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.info-tile .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.steps-list,
.pitfalls-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.pitfalls-box {
  background: var(--seal-soft);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.show-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.show-card-btn {
  text-align: left;
  background: var(--primary-soft);
  border: 1px solid rgba(19, 78, 74, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.show-card-btn:hover {
  background: var(--primary);
  color: #fff;
}

.show-card-btn .sc-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.show-card-btn .sc-preview {
  font-size: 12px;
  opacity: 0.85;
}

/* Ratings & Reviews */
.rating-summary-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.rating-big {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding-right: 16px;
}

.rating-big-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.rating-big-sub {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.bar-row {
  display: grid;
  grid-template-columns: 145px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.bar-track {
  height: 8px;
  background: #e5e0d5;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.review-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #fff;
}

.review-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.review-author {
  font-weight: 800;
  font-size: 14px;
}

.review-meta {
  font-size: 12px;
  color: var(--ink-muted);
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.review-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--gem-bg);
  color: var(--gem-ink);
  padding: 2px 8px;
  border-radius: 999px;
}

.review-comment {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink);
}

/* Review Form */
.review-form {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.review-form h4 {
  margin: 0 0 12px;
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13.5px;
  background: #fff;
  font-family: inherit;
}

.tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.tag-toggle {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.tag-toggle.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Fullscreen Flashcard (Taxi & Show-to-Staff) */
.flashcard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0b2926;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.flashcard-box {
  max-width: 760px;
  width: 100%;
  text-align: center;
  position: relative;
}

.flashcard-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
}

.flashcard-type {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fde68a;
  font-weight: 800;
  margin-bottom: 10px;
}

.flashcard-label {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.flashcard-zh {
  font-size: clamp(26px, 5.2vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  background: #ffffff;
  color: #111827;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
}

.flashcard-pinyin {
  font-size: 16px;
  color: #a7f3d0;
  margin-bottom: 10px;
}

.flashcard-sub {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.flashcard-tip {
  text-align: left;
  background: rgba(254, 243, 199, 0.14);
  border: 1px solid rgba(253, 230, 138, 0.45);
  color: #fef3c7;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.taxi-tip-banner {
  margin-top: 12px;
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  color: #78350f;
}

/* Local Netizen Buzz / Douyin Comments Decoded */
.buzz-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buzz-card {
  background: #fffdf8;
  border: 1px solid #e7dcc8;
  border-left: 4px solid var(--seal);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.buzz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.buzz-vibe {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--seal-soft);
  color: var(--seal);
  padding: 2px 9px;
  border-radius: 999px;
}

.buzz-en {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.buzz-zh {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--surface-soft);
  padding: 5px 9px;
  border-radius: 6px;
}

.card-buzz-preview {
  font-size: 12px;
  background: #fffaf0;
  border: 1px dashed #e5c99b;
  color: #6b3b12;
  padding: 6px 9px;
  border-radius: 8px;
  line-height: 1.4;
}

/* Paywall Modal */
.paywall-card {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  text-align: center;
  margin: auto 0;
  box-shadow: var(--shadow-lg);
}

.paywall-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.paywall-sub {
  color: var(--ink-muted);
  font-size: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.price-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.price-featured {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}

.price-tier {
  font-size: 13px;
  font-weight: 800;
}

.price-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin: 6px 0;
}

.price-note {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.paywall-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 10px 0 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 26px 0 36px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.disclaimer-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.disclaimer-box p {
  margin: 6px 0 0;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.access-code-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: #111827;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.grid-more-wrap {
  margin: 24px 0 12px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.grid-more-btn {
  padding: 11px 20px;
  font-size: 14px;
}

.grid-more-cta {
  flex: 0 0 auto;
  text-decoration: none;
  padding: 11px 20px;
  font-size: 14px;
}

/* =====================================================================
   Wakanda-Style Two-World Style-Mutation Entry Cinema (HTML5 Canvas)
   ===================================================================== */
.wakanda-intro {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
}

.wakanda-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.veil-core {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

.veil-rings {
  position: absolute;
  top: -12px;
  width: 140px;
  height: 140px;
}

.veil-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 212, 191, 0.48);
  animation: ringSpin 8s linear infinite;
}

.veil-ring-1 {
  border-style: dashed;
  border-color: rgba(251, 191, 36, 0.56);
}

.veil-ring-2 {
  inset: 10px;
  border-color: rgba(45, 212, 191, 0.65);
  animation-direction: reverse;
  animation-duration: 5.5s;
}

.veil-seal {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dc2626 0%, #991b1b 100%);
  color: #fff8ed;
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 16px;
  margin-bottom: 24px;
  box-shadow:
    0 0 0 2px rgba(254, 243, 199, 0.4),
    0 0 36px rgba(220, 38, 38, 0.72),
    0 0 72px rgba(45, 212, 191, 0.28);
  animation: sealCharge 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.veil-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #5eead4;
  margin-bottom: 10px;
  opacity: 0;
  animation: veilTextIn 0.55s ease 0.2s forwards;
}

.veil-title {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: 0.13em;
  color: #fffbeb;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
  opacity: 0;
  animation: veilTextIn 0.6s ease 0.45s forwards;
}

.veil-sub {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.85);
  opacity: 0;
  animation: veilTextIn 0.6s ease 0.75s forwards;
}

.veil-skip-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 260;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.62);
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.16s ease;
}

.veil-skip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.wakanda-intro.is-breaking {
  pointer-events: none;
}

.wakanda-intro.is-breaking .veil-core {
  transform: scale(1.22);
  opacity: 0;
}

.wakanda-intro.is-breaking .veil-skip-btn {
  opacity: 0;
}

/* Gentle sunlit watercolor bloom as the force-field sweeps over the resting layout (ZERO overlap!) */
body.intro-revealing .scroll-panel {
  animation: scrollBloom 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-revealing .great-wall-canvas {
  animation: wallBloom 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scrollBloom {
  0%   { opacity: 0.22; filter: saturate(1.25); }
  100% { opacity: 0.80; filter: saturate(1); }
}

@keyframes wallBloom {
  0%   { opacity: 0.15; transform: scale(1.035); }
  100% { opacity: 0.42; transform: scale(1); }
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sealCharge {
  0% { transform: scale(0.72); opacity: 0; }
  65% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes veilTextIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wakanda-intro {
    display: none !important;
  }
}

/* Tablet & Mobile Four-Season Interactive Miniature Scroll Ribbon (Hidden on desktop > 1120px) */
.mobile-seasons-ribbon {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.season-tile {
  position: relative;
  height: 76px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: #f7f5f0;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.season-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 245, 240, 0.08) 0%, rgba(28, 36, 33, 0.72) 100%);
  pointer-events: none;
}

.tile-spring { background-image: url("./assets/scroll-spring.jpg"); background-position: left 55%; }
.tile-summer { background-image: url("./assets/scroll-summer.jpg"); background-position: right 68%; }
.tile-autumn { background-image: url("./assets/scroll-autumn.jpg"); background-position: left 72%; }
.tile-winter { background-image: url("./assets/scroll-winter.jpg"); background-position: right 66%; }

.season-tile-tag,
.season-tile-sub {
  position: relative;
  z-index: 1;
  color: #fff;
  line-height: 1.2;
}

.season-tile-tag {
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.season-tile-sub {
  font-size: 10.5px;
  opacity: 0.9;
}

.season-tile.active {
  border-color: var(--seal);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 1460px) {
  .scroll-panel {
    width: clamp(290px, 31vw, 430px);
    opacity: 0.62;
  }
}

@media (max-width: 1120px) {
  .season-backdrop {
    display: none;
  }
  .mobile-seasons-ribbon {
    display: grid;
  }
}

@media (max-width: 900px) {
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .search-wrap,
  #sortSelect {
    grid-column: 1 / -1;
  }
  .rating-summary-box {
    grid-template-columns: 1fr;
  }
  .rating-big {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .topbar {
    position: relative;
  }
  .topbar-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }
  .brand-sub {
    display: none;
  }
  .topbar-actions {
    gap: 6px;
  }
  .pill-btn {
    padding: 6px 11px;
    font-size: 12px;
  }
  .great-wall-horizon {
    width: 100%;
    height: 220px;
    margin: -38px auto -74px;
  }
  .great-wall-canvas {
    background-size: cover;
  }
  .great-wall-horizon-pricing {
    width: 100%;
    height: 170px;
    margin: -22px auto -56px;
  }
}

@media (max-width: 560px) {
  .mobile-seasons-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .season-tile {
    height: 68px;
  }
  .places-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .detail-body {
    padding: 18px;
  }
}
