:root {
  --ink: #17211d;
  --deep: #0f2a23;
  --paper: #fbfaf4;
  --field: #eef3e8;
  --line: rgba(23, 33, 29, 0.14);
  --oyster: #f3b53d;
  --brick: #d35b38;
  --river: #2f8a9a;
  --moss: #5c835f;
  --muted: #61706a;
  --shadow: 0 20px 60px rgba(15, 42, 35, 0.13);
  color-scheme: light;
}

.form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.form-consent input {
  width: auto !important;
  margin-top: 5px;
}

.form-submit-message {
  min-height: 1.6em;
  margin: 10px 0 0;
  color: var(--green, #0f2a23);
  font-size: 14px;
}

.editor-source-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid #d65b3b;
  color: #d65b3b;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.editor-submission-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.editor-submission-images img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 35, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 520;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: white;
  background: rgba(15, 42, 35, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  transform: rotate(45deg);
}

.brand-mark span {
  border-radius: 2px;
  background: var(--oyster);
}

.brand-mark span:nth-child(2) { background: var(--river); }
.brand-mark span:nth-child(3) { background: var(--moss); }
.brand-mark span:nth-child(4) { background: var(--brick); }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-submenu { display: none; }

.vitality-view-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 510;
  display: flex;
  justify-content: center;
  background: rgba(251, 250, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar:has(+ .vitality-view-nav) {
  margin-bottom: 45px;
}

.vitality-view-nav a {
  min-width: 108px;
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  border-inline: 1px solid transparent;
}

.vitality-view-nav a:hover {
  background: var(--field);
}

.vitality-view-nav a[aria-current="page"] {
  color: white;
  background: var(--deep);
}

.vitality-view-nav-map {
  right: auto;
  width: 420px;
  justify-content: stretch;
}

.vitality-view-nav-map a {
  min-width: 0;
  flex: 1;
  padding-inline: 10px;
}

.making-place-page {
  width: min(980px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0 80px;
}

.making-place-hero {
  position: relative;
  padding: 0 0 clamp(42px, 6vw, 72px);
  border-bottom: 2px solid var(--deep);
}

.making-place-hero::after {
  content: "地方";
  position: absolute;
  right: 0;
  bottom: -0.15em;
  color: rgba(15, 42, 35, 0.055);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(110px, 22vw, 250px);
  line-height: 0.8;
  pointer-events: none;
}

.making-place-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 700;
  line-height: 0.9;
}

.making-place-lead {
  position: relative;
  z-index: 1;
  margin: 32px 0 8px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(22px, 3vw, 34px);
}

.making-place-english {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--brick);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.making-place-essay {
  margin-left: clamp(0px, 12vw, 130px);
  padding: clamp(42px, 7vw, 76px) 0 22px;
}

.making-place-essay p {
  margin: 0 0 1.7em;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 2;
}

.making-place-definition {
  margin: 2.5em 0 !important;
  padding: 1.2em 0;
  color: var(--deep);
  font-size: clamp(18px, 2.6vw, 30px) !important;
  font-weight: 800;
  border-block: 1px solid var(--deep);
}

.making-place-closing {
  margin-top: 2.8em !important;
  color: var(--brick);
  font-size: clamp(20px, 3vw, 36px) !important;
  font-weight: 800;
  line-height: 1.5 !important;
}

.making-place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: clamp(0px, 12vw, 130px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .vitality-view-nav {
    top: 70px;
  }

  .vitality-view-nav a {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    font-size: 13px;
  }

  .making-place-page {
    padding-top: 46px;
  }

  .making-place-hero::after {
    display: none;
  }

  .making-place-hero h1 {
    font-size: 42px;
  }

  .making-place-essay,
  .making-place-actions {
    margin-left: 0;
  }

  .making-place-essay p {
    line-height: 1.88;
  }
}

.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.nav-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.catalog-hero,
.map-hero,
.detail-hero {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  min-height: 360px;
  padding: clamp(58px, 8vw, 92px) 0 34px;
}

body:has(.vitality-view-nav) .catalog-hero {
  display: block;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px) 0 8px;
}

body:has(.vitality-view-nav) .catalog-hero .hero-copy {
  max-width: 880px;
}

body:has(.vitality-view-nav) .catalog-hero .hero-copy p:not(.eyebrow) {
  margin-top: 16px;
}

#regions.filter-section,
#categories.filter-section,
#directory.directory-section {
  padding-block: 20px;
}

#regions .section-title,
#categories .section-title,
#directory .section-title {
  display: block;
  padding-bottom: 14px;
}

#regions .section-title .eyebrow,
#categories .section-title .eyebrow,
#directory .section-title .eyebrow {
  margin-bottom: 8px;
}

#categories .section-title h2 {
  font-size: 32px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brick);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.catalog-hero h1,
.map-hero h1,
.detail-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.catalog-hero p:not(.eyebrow),
.map-hero p,
.detail-hero p,
.section-title p,
.directory-card p,
.map-preview p,
.detail-main p {
  color: var(--muted);
  line-height: 1.78;
}

.catalog-hero .hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-visual {
  position: relative;
  margin: 0;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(15, 42, 35, 0.72));
}

.hero-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: white;
  font-weight: 800;
  line-height: 1.45;
}

.filter-section,
.directory-section,
.map-preview,
.map-section,
.detail-layout {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.filter-section,
.directory-section {
  padding: 44px 0;
}

.catalog-hero + .filter-section {
  padding-top: 18px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-title .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-title h2,
.map-preview h2,
.map-head h2,
.detail-main h2,
.detail-meta h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: 0;
}

.section-title p {
  max-width: 680px;
  margin: 0;
}

.pill-board {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 22px;
}

.pill-board.compact {
  justify-content: flex-end;
  padding-top: 0;
}

.pill-board button,
.filter-actions button,
.list-head button,
.button {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  cursor: pointer;
}

.pill-board button.active,
.button.primary {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.pill-board sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 7px;
  padding: 0 5px;
  color: var(--deep);
  background: var(--oyster);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.category-panel {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--ink);
  background: rgba(15, 42, 35, 0.06);
  border: 1px solid transparent;
  cursor: pointer;
}

.category-tabs button.active {
  color: white;
  background: var(--deep);
}

.category-filter-list {
  padding-top: 16px;
}

.filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.directory-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.directory-card img,
.image-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--field);
}

.directory-card img {
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 35, 0.035) 1px, transparent 1px),
    rgba(238, 243, 232, 0.86);
  background-size: 22px 22px;
}

.image-fallback {
  display: grid;
  place-items: center;
  color: rgba(15, 42, 35, 0.42);
  font-family: "Songti SC", "STSong", serif;
  font-size: 34px;
  font-weight: 900;
}

.directory-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.directory-card span {
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.directory-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.directory-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  display: -webkit-box;
  height: 66px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.directory-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.directory-pagination button,
.demo-map-pagination button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.directory-pagination button:not(:disabled):hover,
.demo-map-pagination button:not(:disabled):hover {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.directory-pagination button:disabled,
.demo-map-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.directory-pagination span,
.demo-map-pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.card-tags i,
.tag-list span {
  color: var(--muted);
  background: rgba(15, 42, 35, 0.06);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.card-tags i {
  padding: 6px 7px;
}

.empty-state {
  margin-top: 24px;
  padding: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.map-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 46px 0 90px;
}

.map-preview > div:first-child {
  padding: 28px;
  background: var(--deep);
}

.map-preview h2,
.map-preview p {
  color: white;
}

.map-preview .eyebrow {
  color: var(--oyster);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  font-weight: 800;
}

.map-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.map-preview-actions .button {
  margin-top: 0;
}

.mini-map,
.map-canvas {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 76%, rgba(47, 138, 154, 0.22), transparent 22%),
    linear-gradient(135deg, #dceadc, #eef3e8 44%, #dfe9e1);
  border: 1px solid var(--line);
}

.mini-map-link {
  display: block;
  color: inherit;
}

.mini-map-link::after {
  content: "打开空间地图";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 5;
  padding: 8px 10px;
  color: white;
  background: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.mini-map-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: white;
  background: rgba(15, 42, 35, 0.88);
  box-shadow: 0 12px 28px rgba(15, 42, 35, 0.16);
}

.mini-map-badge b {
  color: var(--oyster);
  font-size: 28px;
  line-height: 1;
}

.mini-map-badge span {
  font-size: 12px;
  font-weight: 900;
}

.mini-map strong {
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: rgba(15, 42, 35, 0.1);
  font-size: clamp(72px, 14vw, 170px);
  letter-spacing: 0;
}

.mini-pin,
.map-pin {
  position: absolute;
  z-index: 4;
  border-radius: 50%;
  background: var(--brick);
  border: 2px solid white;
  transform: translate(-50%, -50%);
}

.mini-pin {
  width: 13px;
  height: 13px;
  box-shadow: 0 8px 20px rgba(15, 42, 35, 0.22);
}

.mini-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--deep);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.92), rgba(15, 42, 35, 0.48) 52%, rgba(15, 42, 35, 0.12)),
    linear-gradient(0deg, rgba(15, 42, 35, 0.88), transparent 45%),
    url("lingnan-vitality-hero.png") center / cover;
  transform: scale(1.02);
}

.home-hero-inner,
.home-section {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.home-hero-inner {
  position: relative;
  padding: 120px 0 54px;
}

.home-hero-editorial .home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
}

/* 首页：保留原始主视觉，并以“本地向导式”内容节奏组织入口与发现。 */
.home-hero-original {
  min-height: min(760px, 82vh);
}

.home-hero-original .home-hero-inner {
  display: grid;
  grid-template-columns: minmax(401px, .72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: end;
}

.home-hero-original .home-hero-copy {
  width: 401px;
  max-width: 100%;
  padding-bottom: 18px;
}

.home-hero-original .home-hero-copy .eyebrow {
  width: 349px;
  max-width: 100%;
}

.home-hero-original .home-hero-copy p:not(.eyebrow) {
  max-width: 560px;
}

.home-journey-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--ink);
  background: rgba(255, 250, 236, .96);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 50px rgba(15, 42, 35, .25);
}

.home-journey-picker > span {
  grid-column: 1 / -1;
  padding: 18px 20px 13px;
  color: var(--brick);
  font: 800 13px/1.2 ui-monospace, monospace;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
}

.home-journey-picker a {
  min-height: 98px;
  padding: 19px 17px;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.home-journey-picker a:last-child { border-right: 0; }
.home-journey-picker a:hover { background: var(--oyster); }
.home-journey-picker b,
.home-journey-picker small { display: block; }
.home-journey-picker b { font-size: 17px; line-height: 1.35; }
.home-journey-picker small { margin-top: 9px; color: var(--muted); font-weight: 700; }

.home-entry-section {
  padding-bottom: 42px;
}

.home-popular-journeys {
  padding-top: 42px;
}

.home-journey-viewport {
  overflow: hidden;
}

.home-journey-grid {
  display: flex;
  gap: 18px;
  transition: transform .35s ease;
}

.home-journey-card {
  flex: 0 0 calc((100% - 36px) / 3);
  display: grid;
  grid-template-rows: 250px auto auto 1fr;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 42, 35, .14);
}

.home-journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-journey-card span {
  padding: 20px 22px 0;
  color: var(--brick);
  font: 800 12px/1.3 ui-monospace, monospace;
  letter-spacing: .04em;
}

.home-journey-card h3 {
  margin: 9px 22px 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 27px;
  line-height: 1.2;
}

.home-journey-card p {
  margin: 12px 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.home-journey-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.home-journey-arrow {
  width: 48px;
  height: 48px;
  padding: 0 0 6px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 300 34px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, opacity .18s ease;
}

.home-journey-arrow:hover:not(:disabled) {
  border-color: var(--ink);
}

.home-journey-arrow:disabled {
  color: var(--line);
  opacity: .55;
  cursor: default;
}

.home-place-makers {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 0;
  padding-top: 0;
}

.home-place-makers-copy {
  padding: clamp(28px, 5vw, 58px);
  color: white;
  background: var(--deep);
}

.home-place-makers-copy h2 {
  max-width: 720px;
  margin: 14px 0 20px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.2;
}

.home-place-makers-copy p { max-width: 720px; color: rgba(255,255,255,.78); line-height: 1.8; }
.home-place-makers-copy a { color: var(--oyster); font-weight: 800; text-underline-offset: 5px; }
.home-place-makers-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  color: var(--deep);
  background: var(--mustard);
}
.home-place-makers-note b { font-family: "Songti SC", "STSong", serif; font-size: 42px; line-height: 1.05; }
.home-place-makers-note span { margin-top: 18px; line-height: 1.6; }

@media (max-width: 900px) {
  .home-hero-original .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 100px;
  }
  .home-journey-viewport { overflow: visible; }
  .home-journey-grid { display: grid; grid-template-columns: 1fr; transform: none !important; }
  .home-journey-card { grid-template-rows: 230px auto auto 1fr; }
  .home-journey-card:nth-child(n + 4) { display: none; }
  .home-journey-controls { display: none; }
  .home-place-makers { grid-template-columns: 1fr; }
  .home-place-makers-note { min-height: 210px; }
}

@media (max-width: 560px) {
  .home-hero-original { min-height: 720px; }
  .home-hero-original .home-hero-inner { width: calc(100vw - 28px); padding-bottom: 30px; }
  .home-hero-original .home-hero-copy { width: 100%; }
  .home-hero-original h1 { font-size: 62px; }
  .home-journey-picker { grid-template-columns: 1fr; }
  .home-journey-picker > span { grid-column: auto; }
  .home-journey-picker a { min-height: 0; padding: 14px 17px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-journey-picker a:last-child { border-bottom: 0; }
  .home-journey-picker small { display: inline; margin: 0 0 0 8px; }
  .home-place-makers-note b { font-size: 34px; }
}

.home-hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.home-bright { color: var(--ink); background: var(--oyster); border-color: var(--oyster); }
.home-plain-link { color: white; font-weight: 800; text-underline-offset: 5px; }
.home-hero-ticket {
  position: relative;
  display: block;
  padding: 28px;
  color: var(--ink);
  background: rgba(255,250,236,.94);
  border: 1px solid rgba(255,255,255,.56);
  box-shadow: 14px 14px 0 rgba(224,108,31,.82);
  text-decoration: none;
  transform: rotate(-1.5deg);
}
.home-hero-ticket::before { content: ""; position: absolute; left: 20px; right: 20px; top: 48px; border-top: 1px dashed var(--muted); }
.home-hero-ticket span { display: block; padding-bottom: 28px; color: var(--brick); font: 800 12px/1.2 ui-monospace, monospace; letter-spacing: .08em; }
.home-hero-ticket strong { display: block; font-family: "Songti SC", "STSong", serif; font-size: 40px; }
.home-hero-ticket p { margin: 14px 0 22px; color: var(--muted); line-height: 1.65; }
.home-hero-ticket b { font-size: 14px; }

.home-hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.home-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--oyster);
}

.home-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
}

.home-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.65;
}

.home-section {
  padding: 72px 0;
}

.home-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.home-section-title h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
}

.home-section-title p,
.home-directory-copy p,
.home-space-card p {
  color: var(--muted);
  line-height: 1.72;
}

.home-section-title p {
  max-width: 590px;
  margin: 0;
}

.route-carousel {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.route-slide {
  display: none;
  min-height: 460px;
  align-items: end;
  padding: clamp(24px, 5vw, 48px) clamp(24px, 5vw, 48px) 108px;
  color: white;
  background-position: center;
  background-size: cover;
}

.route-slide.active {
  display: flex;
}

.route-reggae {
  background-image:
    linear-gradient(90deg, rgba(15, 42, 35, 0.92), rgba(15, 42, 35, 0.38) 52%, rgba(15, 42, 35, 0.08)),
    linear-gradient(0deg, rgba(15, 42, 35, 0.72), transparent 48%),
    url("route-reggae-hakka.png");
}

.route-food {
  background-image:
    linear-gradient(90deg, rgba(15, 42, 35, 0.92), rgba(15, 42, 35, 0.38) 52%, rgba(15, 42, 35, 0.08)),
    linear-gradient(0deg, rgba(15, 42, 35, 0.72), transparent 48%),
    url("route-shenzhen-food-history.png");
}

.route-village {
  background-image:
    linear-gradient(90deg, rgba(15, 42, 35, 0.92), rgba(15, 42, 35, 0.38) 52%, rgba(15, 42, 35, 0.08)),
    linear-gradient(0deg, rgba(15, 42, 35, 0.72), transparent 48%),
    url("route-urban-village.png");
}

.route-nature {
  background-image:
    linear-gradient(90deg, rgba(15, 42, 35, 0.92), rgba(15, 42, 35, 0.38) 52%, rgba(15, 42, 35, 0.08)),
    linear-gradient(0deg, rgba(15, 42, 35, 0.72), transparent 48%),
    url("route-wild-nature.png");
}

.route-slide div {
  max-width: min(560px, 100%);
  padding-right: clamp(0px, 14vw, 180px);
}

.route-slide span {
  color: var(--oyster);
  font-weight: 900;
}

.route-slide h3 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.route-slide p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
  max-width: 620px;
}

.route-tabs {
  position: absolute;
  left: clamp(18px, 4vw, 38px);
  right: clamp(18px, 4vw, 38px);
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-tabs button {
  min-height: 36px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(15, 42, 35, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.route-tabs button.active {
  color: var(--ink);
  background: var(--oyster);
  border-color: var(--oyster);
  font-weight: 900;
}

.home-directory-panel {
  display: block;
  margin-bottom: 18px;
}

.home-map-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(47, 138, 154, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 138, 154, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 74% 70%, rgba(47, 138, 154, 0.28), transparent 24%),
    linear-gradient(145deg, #eef1df 0%, #d7e7dc 54%, #c8dedc 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
}

.home-map-canvas {
  position: absolute;
  inset: 0;
}

.home-map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(238, 241, 223, 0.88);
  font-size: 14px;
  font-weight: 900;
}

.home-map-loading[hidden] {
  display: none;
}

.home-map-pin {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--brick);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(15, 42, 35, .28);
}

.home-map-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
}

.home-map-open:hover {
  color: var(--oyster);
  background: var(--ink);
}

@media (max-width: 760px) {
  .home-map-card { min-height: 420px; }
}

.home-directory-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.home-directory-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

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

.home-space-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-space-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.home-space-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-space-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.home-space-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-space-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-space-card span {
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.home-space-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.home-space-arrow {
  width: 56px;
  height: 56px;
  padding: 0 0 6px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 300 38px/1 Arial, sans-serif;
  cursor: pointer;
}

.home-space-arrow:disabled {
  color: var(--line);
  opacity: .55;
  cursor: default;
}

.home-framework-grid,
.home-shenzhen-lines,
.home-closing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-framework-card,
.home-shenzhen-lines a,
.home-closing-grid a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
}

.home-framework-card {
  position: relative;
  min-height: 310px;
  padding: clamp(24px, 3.5vw, 42px);
  overflow: hidden;
  background: rgba(255,255,255,.86);
}

.home-framework-card::after {
  content: attr(data-index);
  position: absolute;
  right: -8px;
  bottom: -28px;
  color: rgba(15,42,35,.06);
  font-size: 150px;
  font-weight: 900;
}

.home-framework-card span,
.home-shenzhen-lines span,
.home-closing-grid span {
  color: var(--brick);
  font: 800 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.home-framework-card h3 {
  margin: 54px 0 14px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(32px, 4vw, 48px);
}

.home-framework-card p,
.home-shenzhen-lines p,
.home-closing-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.home-framework-card b,
.home-closing-grid b {
  display: inline-block;
  margin-top: 18px;
}

.home-framework-tour { border-top: 7px solid var(--moss); }
.home-framework-map { border-top: 7px solid var(--brick); }
.home-framework-work { border-top: 7px solid var(--deep); }

.home-shenzhen-preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-route-desk { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-route-feature-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.home-route-feature { position: relative; min-height: 390px; padding: 28px; overflow: hidden; color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.home-route-feature > span { display: block; max-width: 70%; font: 800 12px/1.35 ui-monospace, monospace; letter-spacing: .06em; }
.home-route-feature > b { position: absolute; right: 20px; top: 14px; font-size: 72px; line-height: 1; opacity: .12; }
.home-route-feature h3 { margin: 90px 0 16px; font-family: "Songti SC", "STSong", serif; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08; }
.home-route-feature p { line-height: 1.7; }
.home-route-feature em { position: absolute; left: 28px; right: 28px; bottom: 26px; padding-top: 16px; border-top: 1px solid currentColor; font-size: 13px; font-style: normal; font-weight: 800; line-height: 1.55; }
.route-feature-dark { color: white; background: var(--deep); }
.route-feature-dark p { color: rgba(255,255,255,.72); }
.route-feature-brick { color: white; background: var(--brick); }
.route-feature-brick p { color: rgba(255,255,255,.8); }
.route-feature-paper { background: #e7eddc; }

.home-shenzhen-lines a {
  min-height: 190px;
  padding: 24px;
  background: var(--field);
}

.home-shenzhen-lines strong {
  display: block;
  margin-top: 22px;
  font-size: 26px;
}

.home-closing-grid {
  padding-top: 0;
}

.home-closing-grid a {
  min-height: 250px;
  padding: 28px;
  background: rgba(255,255,255,.86);
}

.home-closing-grid h2 {
  margin: 32px 0 12px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 32px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.activity-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  min-height: 280px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
}

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

.activity-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.activity-card span {
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
}

.activity-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.18;
}

.activity-card p,
.about-section p {
  color: var(--muted);
  line-height: 1.72;
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 0 42px;
}

.activity-hero h1,
.activity-detail-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.activity-hero p:not(.eyebrow),
.activity-detail-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.78;
}

.activity-hero-panel {
  padding: 28px;
  color: white;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.activity-hero-panel span {
  display: block;
  color: var(--oyster);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}

.activity-hero-panel p {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.activity-hero-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.activity-position,
.activity-custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.activity-position article,
.activity-custom {
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.activity-position h2,
.activity-custom h2,
.activity-detail-main h2,
.activity-detail-side h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.activity-position p,
.activity-custom p,
.activity-detail-main p,
.activity-note {
  color: var(--muted);
  line-height: 1.78;
}

.activity-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
  padding: 24px;
  background: var(--field);
  border: 1px solid var(--line);
}

.activity-category-strip span,
.activity-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.9);
  border: 1px solid rgba(23, 33, 29, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.activity-products-section {
  padding-top: 34px;
}

.activity-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.activity-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
}

.activity-product-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--field);
}

.activity-product-image img,
.activity-detail-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-product-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 28px);
}

.activity-product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.activity-product-kicker span {
  color: var(--oyster);
  font-size: 24px;
  line-height: 1;
}

.activity-product-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
}

.activity-product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.activity-facts,
.activity-detail-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.activity-facts div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
}

.activity-facts dt,
.activity-detail-facts dt {
  color: var(--brick);
  font-weight: 900;
}

.activity-facts dd,
.activity-detail-facts dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.sdg-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.sdg-icon-card {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, auto);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 4px 8px 4px 4px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.sdg-icon-card img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.sdg-icon-card figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.sdg-icon-list.detail .sdg-icon-card {
  grid-template-columns: 42px minmax(0, auto);
}

.sdg-icon-list.detail .sdg-icon-card img {
  width: 42px;
  height: 42px;
}

.activity-tags.roomy {
  margin-top: 14px;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--deep);
  font-weight: 900;
  border-bottom: 2px solid var(--oyster);
}

.button.secondary {
  color: var(--deep);
  background: transparent;
  border: 1px solid var(--line);
}

.activity-custom {
  margin-bottom: 84px;
  align-items: center;
}

.activity-custom .button {
  justify-self: end;
}

.activity-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.58fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0 34px;
}

.activity-detail-hero > img {
  aspect-ratio: 16 / 9;
  background: var(--field);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.activity-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 92px;
}

.activity-detail-main,
.activity-detail-side {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.activity-detail-main {
  padding: clamp(24px, 4vw, 42px);
}

.activity-detail-main h2 + p,
.activity-detail-main h2 + ul,
.activity-detail-main h2 + ol {
  margin-top: 14px;
}

.activity-detail-main h2:not(:first-child) {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.activity-bullet-list,
.activity-timeline {
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.78;
}

.activity-bullet-list li,
.activity-timeline li {
  margin: 8px 0;
}

.activity-detail-side {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 24px;
}

.activity-detail-facts {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.activity-detail-facts div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.activity-note {
  margin: 18px 0;
  font-size: 14px;
}

.activity-detail-side .button {
  width: 100%;
  margin-top: 10px;
}

.about-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 22px 0 90px;
}

.about-section article {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.about-section h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.cooperation-hero {
  padding-bottom: 28px;
}

.cooperation-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 10px 0 90px;
}

.cooperation-services article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 38px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.cooperation-services article:nth-child(2) {
  transform: translateY(24px);
}

.cooperation-services h2 {
  margin: 8px 0 16px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
}

.cooperation-services article > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.8;
}

.cooperation-services .text-link,
.cooperation-case-links {
  margin-top: auto;
}

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

.cooperation-case-links span {
  padding: 9px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  font-weight: 800;
}

/* 趣游深圳：以分栏目为骨架，再连接路线和策划中的产品。 */
.shenzhen-section-nav,
.cooperation-section-nav {
  display: grid;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

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

.shenzhen-section-nav a,
.cooperation-section-nav a {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink);
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.shenzhen-section-nav a:last-child,
.cooperation-section-nav a:last-child {
  border-right: 0;
}

.shenzhen-section-nav a:hover,
.shenzhen-section-nav a:focus-visible,
.cooperation-section-nav a:hover,
.cooperation-section-nav a:focus-visible {
  color: white;
  background: var(--deep);
  outline: 0;
}

.shenzhen-section-nav span {
  color: var(--brick);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.shenzhen-section-nav a:hover span,
.shenzhen-section-nav a:focus-visible span {
  color: var(--oyster);
}

.shenzhen-section-nav strong {
  margin-top: 5px;
  font-size: 20px;
}

.shenzhen-program {
  scroll-margin-top: 140px;
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.shenzhen-program-head {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(0, 1fr);
  gap: 8px 42px;
  padding: clamp(24px, 4vw, 42px);
  color: white;
  background: var(--moss);
}

.shenzhen-program-head .eyebrow,
.shenzhen-program-head h2 {
  grid-column: 1;
}

.shenzhen-program-head .eyebrow {
  color: rgba(255, 255, 255, .7);
}

.shenzhen-program-head h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(32px, 4vw, 50px);
}

.shenzhen-program-head > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 620px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.shenzhen-program-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shenzhen-branch {
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.shenzhen-branch:last-child {
  border-right: 0;
}

.shenzhen-branch header {
  min-height: 90px;
}

.shenzhen-branch h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.shenzhen-branch header p {
  margin: 0;
  color: var(--muted);
}

.shenzhen-topic-grid {
  display: grid;
  gap: 10px;
}

.shenzhen-topic-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(22px, 3vw, 34px);
}

.shenzhen-topic-grid > a,
.shenzhen-topic-grid > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  min-height: 94px;
  padding: 16px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  text-decoration: none;
}

.shenzhen-topic-grid > a:hover,
.shenzhen-topic-grid > a:focus-visible {
  background: #e1ebdf;
  border-color: var(--moss);
  outline: 0;
}

.shenzhen-topic-grid strong {
  font-size: 17px;
}

.shenzhen-topic-grid span {
  grid-column: 1;
  color: var(--muted);
  line-height: 1.55;
}

.shenzhen-topic-grid em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  color: var(--brick);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.shenzhen-route-groups {
  display: grid;
  gap: 12px;
}

.shenzhen-route-group {
  padding: 16px;
  background: rgba(238,243,232,.72);
  border: 1px solid var(--line);
}

.shenzhen-route-group-head strong {
  display: block;
  font-size: 18px;
}

.shenzhen-route-group-head span {
  display: block;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.space-chain {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.space-chain p {
  display: flex;
  gap: 9px;
  margin: 0 0 8px;
}

.space-chain p b { color: var(--brick); }
.space-chain div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.space-chain a { color: var(--deep); font-weight: 800; text-underline-offset: 3px; }
.space-chain i { color: var(--brick); font-style: normal; }
.space-chain-product { position: relative; display: block; padding: 16px 12px; color: var(--ink); text-decoration: none; transition: background 150ms ease; }
.space-chain-product:hover { background: rgba(255,255,255,.72); }
.space-chain-product span { font-weight: 800; }
.space-chain-product em { display: block; margin-top: 12px; color: var(--brick); font-size: 12px; font-style: normal; font-weight: 900; }

.shenzhen-route-card,
.shenzhen-topic-grid > a.shenzhen-route-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 7px 16px;
  min-height: 176px;
  margin-top: 12px;
  padding: 0 16px 0 0;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  text-decoration: none;
}

.shenzhen-route-card > img,
.shenzhen-topic-grid > a.shenzhen-route-card > img {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
}

.shenzhen-route-card > span,
.shenzhen-topic-grid > a.shenzhen-route-card > span {
  grid-column: 2;
  margin-top: 16px;
  color: var(--brick);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.shenzhen-route-card > strong,
.shenzhen-topic-grid > a.shenzhen-route-card > strong {
  grid-column: 2;
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
  line-height: 1.22;
}

.shenzhen-route-card > p,
.shenzhen-topic-grid > a.shenzhen-route-card > p {
  grid-column: 2;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.shenzhen-route-card:hover,
.shenzhen-route-card:focus-visible {
  background: white;
  border-color: var(--moss);
  outline: 0;
}

.shenzhen-route-card-featured,
.shenzhen-topic-grid > a.shenzhen-route-card-featured {
  display: block;
  padding: 0;
  background: white;
}

.shenzhen-route-card-featured > img,
.shenzhen-topic-grid > a.shenzhen-route-card-featured > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shenzhen-route-card-body {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
}

.shenzhen-route-group > summary.shenzhen-route-group-head {
  position: relative;
  padding-right: 34px;
  cursor: pointer;
  list-style: none;
}

.shenzhen-route-group > summary.shenzhen-route-group-head::-webkit-details-marker {
  display: none;
}

.shenzhen-route-group > summary.shenzhen-route-group-head::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "−";
  color: var(--brick);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.shenzhen-route-group:not([open]) > summary.shenzhen-route-group-head::after {
  content: "+";
}

.shenzhen-route-group:not([open]) > summary.shenzhen-route-group-head span {
  margin-bottom: 0;
}

.activity-products-section[hidden] {
  display: none !important;
}

.shenzhen-route-card-featured .shenzhen-route-card-body > strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.shenzhen-route-card-featured .shenzhen-route-card-body > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.shenzhen-route-card-featured .sdg-icon-card img {
  width: 34px;
  height: 34px;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
}

.shenzhen-route-detail {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: 10px 14px;
  color: white;
  background: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.shenzhen-route-detail i {
  font-size: 18px;
  font-style: normal;
}

.activity-back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 480;
  display: grid;
  width: 58px;
  height: 58px;
  place-content: center;
  color: white;
  background: var(--deep);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15,42,35,.22);
  text-align: center;
}

.activity-back-top span { font-size: 19px; line-height: .8; }
.activity-back-top b { font-size: 10px; }
.route-stop-list { display: grid; gap: 14px; margin: 18px 0 30px; padding: 0; list-style: none; counter-reset: route-stop; }
.route-stop-list li { position: relative; display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 18px; align-items: baseline; padding: 18px 20px 18px 64px; border: 1px solid var(--line); background: rgba(239,244,235,.72); counter-increment: route-stop; }
.route-stop-list li::before { content: "0" counter(route-stop); position: absolute; left: 20px; top: 18px; color: var(--brick); font: 900 14px/1 var(--mono); }
.route-stop-list a { color: var(--ink); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.route-stop-list span { color: var(--muted); line-height: 1.7; }
@media (max-width: 700px) { .route-stop-list li { grid-template-columns: 1fr; gap: 8px; padding-left: 58px; } }

@media (max-width: 760px) {
  .home-hero-editorial .home-hero-inner { grid-template-columns: 1fr; padding-top: 76px; }
  .home-hero-ticket { width: calc(100% - 12px); padding: 22px; box-shadow: 10px 10px 0 rgba(224,108,31,.82); }
  .home-hero-ticket strong { font-size: 32px; }
  .home-route-feature-grid { grid-template-columns: 1fr; }
  .home-route-feature { min-height: 330px; }
  .home-route-feature h3 { margin-top: 68px; }
}

.activity-return-ticket {
  position: fixed;
  z-index: 18;
  left: 0;
  top: 128px;
  display: grid;
  grid-template-columns: 34px auto;
  max-width: 230px;
  padding: 11px 16px 11px 10px;
  color: white;
  background: var(--deep);
  border: 1px solid rgba(255,255,255,.35);
  border-left: 0;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(15,42,35,.18);
}

.activity-return-ticket > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--oyster);
  font-size: 24px;
}

.activity-return-ticket small { color: rgba(255,255,255,.7); }
.activity-return-ticket strong { font-size: 13px; }

@media (min-width: 1280px) {
  .activity-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 821px) and (max-width: 980px) {
  .activity-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .home-framework-grid,
  .home-shenzhen-lines,
  .home-closing-grid {
    grid-template-columns: 1fr;
  }

  .home-framework-card {
    min-height: 230px;
  }

  .activity-return-ticket {
    position: sticky;
    top: 104px;
    left: auto;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 12px 0 0;
    border-left: 1px solid rgba(255,255,255,.35);
  }
}

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

.activity-library-head {
  padding-top: 32px;
  border-top: 2px solid var(--deep);
}

.activity-library-head h2 {
  margin: 8px 0 4px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(30px, 3vw, 42px);
}

.activity-library-head > p:last-child {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

/* 商业合作：三条路径，每条路径继续分到可执行的合作项目。 */
.cooperation-section-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cooperation-section-nav a {
  min-height: 68px;
  font-size: 18px;
  font-weight: 900;
}

.cooperation-paths {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding-bottom: 90px;
}

.cooperation-paths > article {
  display: grid;
  grid-template-columns: minmax(250px, .6fr) minmax(0, 1.4fr);
  scroll-margin-top: 140px;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.cooperation-paths > article:last-child {
  border-bottom: 1px solid var(--line);
}

.cooperation-path-title {
  padding: clamp(24px, 4vw, 42px);
  color: white;
  background: var(--moss);
}

.cooperation-path-title .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.cooperation-path-title h2 {
  margin: 8px 0 14px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(30px, 3.2vw, 44px);
}

.cooperation-path-title > p:last-child {
  margin: 0;
  line-height: 1.7;
}

.cooperation-path-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255, 255, 255, .78);
}

.cooperation-path-options > a,
.cooperation-path-options > div {
  display: flex;
  min-height: 116px;
  justify-content: center;
  flex-direction: column;
  padding: 18px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  text-decoration: none;
}

.cooperation-path-options > a:hover,
.cooperation-path-options > a:focus-visible {
  background: #e1ebdf;
  border-color: var(--moss);
  outline: 0;
}

.cooperation-path-options strong {
  font-size: 18px;
}

.cooperation-path-options span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.cooperation-path-options em {
  margin-top: 12px;
  color: var(--brick);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 760px) {
  .cooperation-services {
    grid-template-columns: 1fr;
  }

  .cooperation-services article {
    min-height: 0;
  }

  .cooperation-services article:nth-child(2) {
    transform: none;
  }

  .shenzhen-section-nav,
  .cooperation-section-nav {
    width: 100%;
    margin-bottom: 14px;
  }

  .shenzhen-section-nav a,
  .cooperation-section-nav a {
    min-height: 62px;
  }

  .shenzhen-section-nav span {
    display: none;
  }

  .shenzhen-section-nav strong,
  .cooperation-section-nav a {
    font-size: 15px;
  }

  .shenzhen-program,
  .cooperation-paths {
    width: calc(100vw - 24px);
  }

  .shenzhen-program-head,
  .cooperation-paths > article {
    grid-template-columns: 1fr;
  }

  .shenzhen-program-head > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .shenzhen-program-branches,
  .shenzhen-script-branches,
  .shenzhen-topic-grid-wide,
  .cooperation-path-options {
    grid-template-columns: 1fr;
  }

  .shenzhen-branch {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .shenzhen-branch:last-child {
    border-bottom: 0;
  }

  .shenzhen-branch header {
    min-height: 0;
    margin-bottom: 18px;
  }

  .cooperation-path-options > a,
  .cooperation-path-options > div {
    min-height: 92px;
  }
}

.map-topbar {
  position: relative;
}

.amap-page {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 640px;
  overflow: hidden;
  background: var(--field);
}

.amap-canvas {
  position: absolute;
  inset: 0;
}

.map-filter-dock,
.map-info-card,
.map-loading {
  position: absolute;
  z-index: 10;
  background: rgba(251, 250, 244, 0.92);
  border: 1px solid rgba(23, 33, 29, 0.16);
  box-shadow: 0 18px 54px rgba(15, 42, 35, 0.18);
  backdrop-filter: blur(14px);
}

.map-filter-dock {
  left: 18px;
  top: 18px;
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 0;
}

.map-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.map-filter-toggle::-webkit-details-marker {
  display: none;
}

.map-filter-toggle::after {
  content: "展开";
  color: var(--brick);
  font-size: 13px;
}

.map-filter-dock[open] .map-filter-toggle {
  border-bottom: 1px solid var(--line);
}

.map-filter-dock[open] .map-filter-toggle::after {
  content: "收起";
}

.map-filter-body {
  padding: 18px;
}

.map-filter-body h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 30px;
  line-height: 1.08;
}

.map-selects {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.map-select {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.map-select summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.map-select summary::-webkit-details-marker {
  display: none;
}

.map-select summary::after {
  content: "⌄";
  color: var(--brick);
  font-weight: 900;
}

.map-select[open] summary::after {
  content: "⌃";
}

.map-select summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.map-select > div {
  display: grid;
  max-height: 230px;
  overflow: auto;
  padding: 0 10px 10px;
  gap: 7px;
}

.map-select label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.map-select input {
  width: 15px;
  height: 15px;
  accent-color: var(--deep);
}

.map-select sup {
  margin-left: 4px;
  color: var(--brick);
  font-size: 10px;
  font-weight: 900;
}

.map-reset {
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  color: white;
  background: var(--deep);
  border: 1px solid var(--deep);
  cursor: pointer;
  font-weight: 900;
}

.amap-space-marker {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 4px;
  background: var(--brick);
  border: 2px solid white;
  box-shadow: 0 8px 20px rgba(15, 42, 35, 0.28);
  transform: rotate(-45deg);
}

.amap-space-marker span {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: white;
}

.amap-space-marker.active {
  width: 30px;
  height: 30px;
  background: var(--oyster);
  border-color: var(--deep);
}

.map-info-card {
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 36px));
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

.map-info-card-compact {
  width: min(320px, calc(100vw - 24px));
  max-height: min(260px, 38vh);
  overflow: auto;
}

.map-info-card-compact img {
  display: none;
}

.map-info-card-compact > div {
  padding: 12px;
}

.map-info-card-compact h2 {
  margin: 5px 0;
  font-size: 18px;
}

.map-info-card-compact p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.map-info-card-compact address {
  margin-top: 8px;
}

.map-info-card-compact .map-card-actions {
  margin-top: 9px;
}

.map-info-card[hidden],
.map-loading[hidden] {
  display: none;
}

.map-info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.map-info-card > div {
  padding: 14px;
}

.map-info-card span {
  display: block;
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
}

.map-info-card h2 {
  margin: 7px 0;
  font-size: 21px;
  line-height: 1.25;
}

.map-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.map-info-card address {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  font-style: normal;
}

.map-info-card address b {
  color: var(--brick);
  font-size: 12px;
  line-height: 1.55;
}

.map-info-card address em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.map-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.map-info-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: white;
  background: var(--deep);
  font-weight: 900;
}

.map-card-actions a:first-child {
  color: var(--ink);
  background: var(--oyster);
}

.map-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  color: white;
  background: rgba(15, 42, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.map-demo-topbar {
  position: sticky;
}

.space-map-demo {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(420px, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100vh - 70px);
  min-height: 680px;
  overflow: hidden;
  background: var(--paper);
}

.space-map-demo.filter-open,
.space-map-demo:has(.demo-filter-drawer[open]) {
  overflow: visible;
}

.demo-panel {
  min-width: 0;
  overflow: auto;
  background: rgba(251, 250, 244, 0.94);
  border-right: 1px solid var(--line);
}

.demo-filter-panel {
  position: relative;
  z-index: 200;
  grid-column: 1;
  grid-row: 1;
  overflow: visible;
}

.demo-list-panel {
  grid-column: 1;
  grid-row: 2;
  z-index: 3;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.demo-panel-head,
.demo-filter-block,
.demo-search,
.demo-selected,
.demo-list-head {
  padding: 16px;
}

.demo-panel-head {
  border-bottom: 1px solid var(--line);
}

.demo-panel-head h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 34px;
  line-height: 1.08;
}

.demo-panel-head p:not(.eyebrow),
.demo-selected p,
.demo-search span,
.demo-space-row em,
.demo-space-row i,
.demo-list-head span {
  color: var(--muted);
  line-height: 1.58;
}

.demo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.demo-stats span {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.demo-stats span:last-child {
  border-right: 0;
}

.demo-stats b {
  color: var(--brick);
  font-size: 22px;
  line-height: 1;
}

.demo-stats em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.demo-search {
  display: grid;
  gap: 8px;
}

.demo-search span,
.demo-filter-block h2,
.demo-list-head strong {
  font-size: 13px;
  font-weight: 900;
}

.demo-search input {
  min-height: 40px;
  padding: 9px 11px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font: inherit;
}

.demo-filter-drawer {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.demo-filter-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 56px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}

.demo-filter-drawer > summary::-webkit-details-marker {
  display: none;
}

.demo-filter-drawer > summary strong {
  flex: 0 0 auto;
  color: white;
  background: var(--deep);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.demo-filter-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.demo-filter-status b,
.demo-filter-status em,
.demo-filter-status i {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-filter-status b {
  color: var(--ink);
  font-weight: 900;
}

.demo-filter-status i {
  display: none;
}

.demo-filter-status em:empty,
.demo-filter-status i:empty {
  display: none;
}

.demo-filter-drawer[open] > summary {
  border-bottom: 1px solid var(--line);
}

.demo-filter-body {
  position: absolute;
  left: 16px;
  top: calc(100% + 10px);
  z-index: 260;
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100vh - 190px);
  overflow: auto;
  background: rgba(251, 250, 244, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(15, 42, 35, 0.22);
  backdrop-filter: blur(12px);
}

.demo-filter-block {
  border-bottom: 1px solid var(--line);
}

.demo-filter-block h2 {
  margin: 0 0 10px;
  color: var(--brick);
}

.demo-city-group > summary {
  color: var(--brick);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.demo-city-group > summary::-webkit-details-marker {
  display: none;
}

.demo-city-group > summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.demo-city-group[open] > summary::after {
  content: "−";
}

.demo-city-group .demo-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.demo-city-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
}

.demo-city-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--deep);
}

.demo-city-choice span {
  display: flex;
  align-items: baseline;
  min-width: 0;
  min-height: 38px;
  padding: 8px 9px;
  background: white;
  border: 1px solid var(--line);
}

.demo-city-choice:has(input:checked) span {
  background: #e4efe7;
  border-color: var(--deep);
}

.demo-city-choice sup,
.demo-tag-group sup {
  margin-left: 5px;
  color: #e40707;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.demo-pills button {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.demo-pills button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.demo-pills sup,
.demo-tag-group sup {
  margin-left: 4px;
  color: var(--brick);
  font-size: 10px;
  font-weight: 900;
}

.demo-selects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.demo-tag-group {
  background: white;
  border: 1px solid var(--line);
}

.demo-tag-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 9px 10px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.demo-tag-group summary::-webkit-details-marker {
  display: none;
}

.demo-tag-group small {
  color: var(--brick);
  font-size: 11px;
}

.demo-tag-group > div {
  display: flex;
  flex-wrap: wrap;
  max-height: 118px;
  overflow: auto;
  gap: 7px 8px;
  padding: 0 10px 10px;
}

.demo-tag-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.demo-tag-group label span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  background: #f5f5f0;
  border: 1px solid var(--line);
}

.demo-tag-group input {
  accent-color: var(--deep);
}

.demo-filter-actions {
  display: flex;
  gap: 10px;
  position: sticky;
  z-index: 3;
  bottom: 0;
  padding: 16px;
  background: rgba(251, 250, 244, 0.98);
  border-top: 1px solid var(--line);
}

.demo-filter-actions button {
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--deep);
  cursor: pointer;
  font-weight: 900;
}

.demo-filter-actions button:first-child {
  flex: 1;
  color: white;
  background: var(--deep);
}

.demo-filter-actions button:not(:first-child) {
  color: var(--ink);
  background: white;
}

.demo-map-wrap {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--field);
}

.demo-map-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: auto;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-layer-control {
  position: relative;
}

.demo-map-control-button {
  display: grid;
  place-items: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  color: var(--deep);
  background: #fffdf8;
  border: 1px solid rgba(15, 42, 35, 0.28);
  box-shadow: 0 8px 22px rgba(15, 42, 35, 0.16);
  cursor: pointer;
  font-weight: 900;
}

.demo-map-control-button:hover,
.demo-map-control-button:focus-visible,
.demo-map-control-button[aria-expanded="true"] {
  color: white;
  background: var(--deep);
}

.demo-map-control-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.demo-layer-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.demo-zoom-button {
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.demo-layer-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  bottom: auto;
  width: 170px;
  padding: 8px;
  background: #fffdf8;
  border: 1px solid rgba(15, 42, 35, 0.28);
  box-shadow: 0 14px 34px rgba(15, 42, 35, 0.2);
}

.demo-layer-menu[hidden] {
  display: none;
}

.demo-layer-menu strong {
  display: block;
  padding: 7px 9px;
  color: var(--muted);
  font-size: 12px;
}

.demo-layer-menu button {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.demo-layer-menu button[aria-pressed="true"] {
  color: white;
  background: var(--deep);
}

.demo-locate-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.demo-map-control-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.demo-user-location {
  display: block;
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-radius: 50%;
  background: #1b83ff;
  box-shadow: 0 0 0 7px rgba(27, 131, 255, 0.18), 0 10px 24px rgba(15, 42, 35, 0.24);
}

.demo-amap-canvas {
  position: absolute;
  inset: 0;
}

.demo-marker {
  --marker-color: var(--brick);
  position: relative;
  width: 32px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.demo-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 13px;
  height: 13px;
  background: var(--marker-color);
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  box-shadow: 0 8px 18px rgba(15, 42, 35, 0.24);
  transform: translateX(-50%) rotate(45deg);
}

.demo-marker span {
  position: absolute;
  left: 50%;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--marker-color);
  border: 2px solid white;
  color: white;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(15, 42, 35, 0.28);
  transform: translateX(-50%);
}

.demo-marker span svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.demo-marker span svg circle {
  fill: none;
}

.demo-marker.active {
  z-index: 5;
  width: 50px;
  height: 58px;
}

.demo-marker.active::before {
  bottom: 3px;
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--oyster);
  border-bottom: 3px solid var(--oyster);
  box-shadow: 0 12px 25px rgba(15, 42, 35, 0.42);
}

.demo-marker.active span {
  width: 44px;
  height: 44px;
  border: 4px solid var(--oyster);
  box-shadow: 0 0 0 4px white, 0 0 0 8px rgba(15, 42, 35, 0.72), 0 14px 30px rgba(15, 42, 35, 0.5);
}

.demo-marker.active span svg {
  width: 21px;
  height: 21px;
}

.marker-culture { --marker-color: #d4563a; }
.marker-art { --marker-color: #2f82a1; }
.marker-care { --marker-color: #7c6ab0; }
.marker-heritage { --marker-color: #9a6a35; }
.marker-eco { --marker-color: #4b8a5b; }
.marker-renew { --marker-color: #d49a1f; }
.marker-default { --marker-color: var(--brick); }

.demo-selected {
  border-bottom: 0;
}

.demo-selected img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: center;
  background: var(--field);
  border: 1px solid var(--line);
}

.demo-selected h2 {
  margin: 0 0 9px;
  font-size: 24px;
  line-height: 1.2;
}

.demo-selected address {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.demo-selected address b {
  color: var(--brick);
  font-size: 16px;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.demo-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: white;
  background: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.demo-actions a:first-child {
  color: var(--ink);
  background: var(--oyster);
}

.demo-map-card {
  position: absolute;
  z-index: 320;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  width: min(520px, calc(100% - 48px));
  padding: 16px;
  background: rgba(251, 250, 244, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(15, 42, 35, 0.22);
  backdrop-filter: blur(10px);
}

.demo-map-card[hidden] {
  display: none;
}

.demo-map-card .demo-image-fallback {
  width: 132px;
  height: 132px;
}

.demo-map-card > img {
  object-fit: contain;
  background: rgba(238, 243, 232, 0.86);
}

.demo-map-card-copy {
  min-width: 0;
  padding-right: 26px;
}

.demo-map-card-description {
  display: -webkit-box;
  line-height: 1.55;
  max-height: 6.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.demo-card-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.demo-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 244, 0.96);
  position: sticky;
  top: 0;
  z-index: 2;
}

.demo-space-list {
  flex: 1;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 0;
}

.demo-map-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(251, 250, 244, 0.96);
  border-top: 1px solid var(--line);
}

.demo-space-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: white;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  cursor: pointer;
}

.demo-space-row + .demo-space-row {
  border-top-color: transparent;
}

.demo-space-row.active {
  background: #fff7dd;
  border-color: rgba(243, 181, 61, 0.7);
}

.demo-space-row img,
.demo-image-fallback {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
}

.demo-space-row img {
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 35, 0.04) 1px, transparent 1px),
    rgba(238, 243, 232, 0.86);
  background-size: 18px 18px;
}

.demo-image-fallback {
  display: grid;
  place-items: center;
  color: rgba(15, 42, 35, 0.4);
  background: var(--field);
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
  font-weight: 900;
}

.demo-space-row b,
.demo-space-row em,
.demo-space-row i {
  display: block;
}

.demo-space-row b {
  margin-top: 1px;
  font-size: 17px;
  line-height: 1.25;
}

.demo-space-row em,
.demo-space-row i {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-style: normal;
}

.demo-space-row em {
  display: -webkit-box;
  min-height: 38px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.demo-space-row i {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 0;
  gap: 5px 7px;
  white-space: normal;
  overflow: visible;
}

.demo-space-row i strong {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 700;
}

.demo-space-row i small {
  display: flex;
  flex: 1 1 180px;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  max-width: none;
  gap: 4px;
  padding: 0;
  color: rgba(15, 42, 35, 0.82);
  background: transparent;
  border-left: 2px solid rgba(212, 86, 58, 0.42);
  font-size: 11px;
  line-height: 1.35;
  overflow: visible;
}

.demo-space-row i small span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 5px;
  background: rgba(15, 42, 35, 0.06);
}

.demo-empty {
  padding: 18px;
  color: var(--muted);
}

.map-loading {
  left: 50%;
  top: 50%;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 36px));
  padding: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-loading strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 22px;
}

.map-loading span {
  color: var(--muted);
  line-height: 1.6;
}

.case-map-page {
  min-height: calc(100vh - 70px);
  padding: 18px;
}

.case-map-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(420px, 1.55fr) minmax(300px, 0.78fr);
  gap: 14px;
  min-height: calc(100vh - 106px);
}

.map-sidebar,
.map-stage-panel,
.case-list-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
}

.map-side-title h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
}

.map-side-title p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.map-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.map-tabs button,
.map-toolbar button {
  min-height: 40px;
  color: var(--ink);
  background: rgba(15, 42, 35, 0.06);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.map-tabs button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.map-tabs button:disabled {
  color: rgba(97, 112, 106, 0.72);
  cursor: not-allowed;
}

.map-filter-block {
  display: grid;
  gap: 12px;
}

.map-filter-block > span {
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.map-stats {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.map-stats strong {
  display: block;
  color: var(--oyster);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.map-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.map-stage-panel {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  padding: 14px;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 6px 4px 14px;
}

.map-toolbar b {
  display: block;
  font-size: 20px;
}

.map-toolbar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.map-toolbar button {
  padding: 0 12px;
}

.case-map-canvas {
  flex: 1;
  min-height: 620px;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 35, 0.16) 1px, transparent 1px);
  background-size: 58px 58px;
}

.province-field {
  position: absolute;
  left: 18%;
  top: 12%;
  width: 68%;
  height: 72%;
  background:
    linear-gradient(135deg, rgba(92, 131, 95, 0.22), rgba(47, 138, 154, 0.1)),
    rgba(255, 255, 255, 0.38);
  clip-path: polygon(22% 4%, 48% 2%, 73% 10%, 91% 31%, 82% 54%, 96% 73%, 75% 92%, 46% 82%, 24% 95%, 8% 70%, 2% 42%);
  border: 1px solid rgba(15, 42, 35, 0.1);
}

.pearl-river {
  position: absolute;
  left: 33%;
  bottom: 22%;
  width: 48%;
  height: 2px;
  background: rgba(47, 138, 154, 0.45);
  transform: rotate(18deg);
  transform-origin: left center;
}

.city-label {
  position: absolute;
  z-index: 1;
  color: rgba(15, 42, 35, 0.38);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
}

.label-guangzhou { left: 48%; top: 18%; }
.label-foshan { left: 29%; top: 50%; }
.label-dongguan { left: 73%; top: 44%; }
.label-shenzhen { left: 85%; top: 81%; }
.label-zhongshan { left: 48%; top: 86%; }

.map-pin {
  width: 16px;
  height: 16px;
  padding: 0;
  box-shadow: 0 8px 22px rgba(15, 42, 35, 0.2);
  cursor: pointer;
}

.map-pin::after {
  content: attr(data-name);
  position: absolute;
  left: 12px;
  top: -10px;
  width: max-content;
  max-width: 160px;
  padding: 4px 7px;
  color: white;
  background: rgba(15, 42, 35, 0.88);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.map-pin:hover::after,
.map-pin.active::after {
  opacity: 1;
  transform: translateY(0);
}

.map-pin.active {
  width: 24px;
  height: 24px;
  background: var(--oyster);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 13px;
}

.map-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--brick);
}

.case-list-panel {
  min-height: 680px;
  max-height: calc(100vh - 106px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-list-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.case-list-head b {
  display: block;
  font-size: 18px;
}

.case-list-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.active-space {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.active-space-card {
  display: block;
  overflow: hidden;
  background: #fff7dd;
  border: 1px solid rgba(243, 181, 61, 0.7);
}

.active-space-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.active-space-card span,
.active-space-card h2,
.active-space-card p {
  margin-right: 12px;
  margin-left: 12px;
}

.active-space-card span {
  display: block;
  margin-top: 12px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
}

.active-space-card h2 {
  margin-top: 7px;
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.24;
}

.active-space-card p {
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.space-list {
  overflow: auto;
  padding: 10px;
}

.space-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid transparent;
}

.space-card + .space-card {
  border-top-color: var(--line);
}

.space-card.active {
  background: #fff7dd;
  border-color: rgba(243, 181, 61, 0.7);
}

.space-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.space-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.space-card p,
.meta-row {
  color: var(--muted);
  line-height: 1.6;
}

.space-card p {
  margin: 8px 0;
  font-size: 13px;
}

.space-card a {
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}

.meta-row span {
  padding: 3px 6px;
  background: rgba(15, 42, 35, 0.07);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  padding: 52px 0 20px;
}

.detail-hero > div:first-child {
  max-width: 760px;
}

.detail-hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
}

.detail-hero > img,
.detail-carousel {
  width: 100%;
  max-height: min(72vh, 720px);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-hero > img {
  object-fit: contain;
  background: rgba(238, 243, 232, 0.82);
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: max-content;
  min-height: 36px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(15, 42, 35, 0.18);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.detail-carousel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 42, 35, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(15, 42, 35, 0.035) 1px, transparent 1px),
    rgba(238, 243, 232, 0.82);
  background-size: 44px 44px;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.carousel-stage img.active {
  opacity: 1;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(15, 42, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-nav.prev {
  left: 14px;
}

.carousel-nav.next {
  right: 14px;
}

.carousel-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-width: 58px;
  padding: 6px 10px;
  color: white;
  background: rgba(15, 42, 35, 0.76);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 12px 0 76px;
}

.detail-layout-single {
  display: block;
}

.detail-meta,
.detail-main {
  padding: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.detail-meta {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.detail-layout-single .detail-meta {
  position: static;
  width: min(920px, 100%);
}

.detail-meta h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.08;
}

.detail-meta dl {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 18px 0 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta dt {
  margin: 0;
  color: var(--brick);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.detail-meta dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.meta-value {
  min-width: 0;
}

.meta-action {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  color: white;
  background: var(--deep);
  border: 1px solid var(--deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.detail-description {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-ideograph;
}

.detail-description p {
  margin: 0;
}

.detail-description p + p {
  margin-top: 0.9em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.tag-list span {
  padding: 5px 8px;
}

.grouped-tags {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-start;
  gap: 14px 18px;
}

.grouped-tags .tag-group {
  min-width: 0;
}

.tag-group + .tag-group {
  margin-top: 0;
}

.tag-group h3 {
  margin: 0 0 8px;
  color: var(--brick);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

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

.tag-group span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(15, 42, 35, 0.06);
  font-size: 16px;
  line-height: 1;
}

.source-link {
  margin-top: 16px;
}

.source-link a {
  color: var(--brick);
  font-weight: 800;
}

.detail-correction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--oyster);
  border: 1px solid rgba(243, 181, 61, 0.8);
  font-size: 13px;
  font-weight: 900;
}

.detail-main h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.detail-main h2:not(:first-child) {
  margin-top: 34px;
}

.form-hero,
.form-layout {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.submission-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(680px, calc(100vw - 36px));
  margin-right: auto;
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  border: 1px solid var(--line);
}

.submission-mode-tabs button {
  min-height: 54px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.submission-mode-tabs button + button {
  border-left: 1px solid var(--line);
}

.submission-mode-tabs button.active {
  color: white;
  background: var(--deep);
}

.submission-form-layout {
  width: min(680px, calc(100vw - 36px));
  margin-right: auto;
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(0, 1fr);
}

.form-layout.submission-form-layout {
  width: min(680px, calc(100vw - 36px));
  margin-right: auto;
  margin-left: max(18px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(0, 1fr);
}

.site-form[hidden] {
  display: none;
}

.form-hero {
  padding: clamp(58px, 8vw, 92px) 0 32px;
}

.form-hero.compact {
  min-height: calc(100vh - 172px);
}

.form-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}

.form-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  padding: 18px 0 90px;
}

.site-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 42, 35, 0.08);
}

.form-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-head h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.site-form label {
  display: grid;
  gap: 8px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.site-form label small,
.space-match-message {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.space-match-message.is-warning {
  color: #a72d22;
}

.space-match-options {
  display: grid;
  gap: 8px;
  margin-top: -8px;
}

.space-match-options[hidden] {
  display: none;
}

.space-match-options button {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  text-align: left;
  background: #f7f8f3;
  border: 1px solid var(--line);
  cursor: pointer;
}

.space-match-options button:hover,
.space-match-options button:focus-visible {
  background: #e4efe7;
  border-color: var(--deep);
}

.space-match-options strong {
  font-size: 14px;
}

.space-match-options span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space-match-options em {
  color: var(--brick);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.public-tag-picker {
  display: grid;
  gap: 14px;
}

.public-tag-group {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
}

.public-tag-group legend {
  padding: 0 6px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.public-tag-group legend small {
  color: var(--muted);
  font-weight: 600;
}

.public-tag-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.site-form .public-tag-group button {
  min-height: 34px;
  padding: 6px 10px;
  color: var(--ink);
  background: #edf2e8;
  border-color: var(--line);
  font-size: 13px;
}

.site-form .public-tag-group button:hover {
  background: #dfe9dc;
}

.site-form .public-tag-group button.active {
  color: var(--ink);
  background: #f3c86e;
  border-color: #d6a33d;
}

.site-form label.form-consent {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.site-form label.form-consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px;
  min-height: 0;
  padding: 0;
  margin: 2px 0 0;
}

@media (max-width: 640px) {
  .submission-mode-tabs {
    width: calc(100vw - 36px);
    margin-left: 18px;
  }

  .submission-form-layout {
    width: calc(100vw - 36px);
    margin-left: 18px;
  }
}

.submission-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.submission-image-preview span {
  display: grid;
  gap: 4px;
  width: 110px;
}

.submission-image-preview img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-form input,
.site-form textarea,
.site-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(251, 250, 244, 0.8);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-weight: 500;
}

.site-form textarea {
  resize: vertical;
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
  outline: 2px solid rgba(243, 181, 61, 0.8);
  outline-offset: 2px;
}

.site-form button {
  min-height: 46px;
  color: white;
  background: var(--deep);
  border: 1px solid var(--deep);
  cursor: pointer;
  font-weight: 900;
}

.correction-prefill-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  color: var(--deep);
  background: rgba(243, 181, 61, 0.22);
  border-left: 3px solid var(--oyster);
  line-height: 1.6;
}

.site-form.correction-prefilled {
  scroll-margin-top: 92px;
}

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

.account-hero,
.account-panel,
.studio-grid,
.studio-review {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}

.account-hero {
  padding: clamp(58px, 8vw, 92px) 0 30px;
}

.account-hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.account-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(280px, 520px);
  padding-bottom: 80px;
}

.account-form,
.studio-form {
  background: rgba(255, 255, 255, 0.82);
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--brick);
  font-weight: 800;
}

.studio-hero {
  padding-bottom: 18px;
}

.studio-userbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(15, 42, 35, 0.06);
  border: 1px solid var(--line);
}

.studio-userbar span {
  color: var(--muted);
  font-weight: 800;
}

.studio-userbar button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0 48px;
}

.studio-review {
  padding: 10px 0 80px;
}

.studio-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.studio-lists article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.studio-lists h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

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

.studio-item {
  position: relative;
  padding: 14px 14px 12px;
  background: rgba(238, 243, 232, 0.58);
  border: 1px solid var(--line);
}

.studio-item strong {
  display: block;
  padding-right: 64px;
  font-size: 18px;
  line-height: 1.35;
}

.studio-item span {
  display: block;
  margin-top: 6px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.studio-item p,
.studio-empty {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.studio-item i {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--muted);
  background: white;
  padding: 4px 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.mapstr-studio {
  display: grid;
  grid-template-columns: minmax(360px, 760px) minmax(260px, 360px);
  gap: 22px;
  align-items: start;
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 74px;
}

.mapstr-phone {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mapstr-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  color: white;
  background: var(--deep);
}

.mapstr-head h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.mapstr-head .eyebrow {
  color: var(--oyster);
  margin-bottom: 10px;
}

.mapstr-head span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.mapstr-head .mapstr-map-meta {
  max-width: 56ch;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.mapstr-icon-button,
.mapstr-toolbar button,
.mapstr-map-tabs button,
.mapstr-chip-row button,
.mapstr-dialog-actions button {
  min-height: 38px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.mapstr-icon-button {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.mapstr-map-tabs {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  background: rgba(15, 42, 35, 0.05);
  border-bottom: 1px solid var(--line);
}

.mapstr-map-tabs button,
.mapstr-chip-row button {
  flex: 0 0 auto;
  padding: 0 13px;
}

.mapstr-map-tabs button.active,
.mapstr-chip-row button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.mapstr-map-shell {
  position: relative;
  min-height: 520px;
  background: var(--field);
}

.mapstr-map-shell.is-picking {
  cursor: crosshair;
}

.mapstr-map-shell.is-picking::after {
  content: "点击地图选择位置";
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 16;
  padding: 10px 14px;
  color: white;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 900;
  pointer-events: none;
}

.mapstr-toolbar {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mapstr-toolbar button {
  padding: 0 12px;
  box-shadow: 0 10px 28px rgba(15, 42, 35, 0.12);
}

.mapstr-canvas {
  position: absolute;
  inset: 0;
}

.mapstr-map-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 10;
  display: grid;
  width: min(320px, calc(100% - 40px));
  gap: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(251, 250, 244, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(-50%, -50%);
}

.mapstr-map-empty[hidden] {
  display: none;
}

.mapstr-map-empty span {
  color: var(--muted);
  line-height: 1.55;
}

.mapstr-add-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  width: 62px;
  height: 62px;
  color: var(--deep);
  background: var(--oyster);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(15, 42, 35, 0.24);
  cursor: pointer;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.mapstr-pin {
  position: relative;
  width: 36px;
  height: 36px;
  color: white;
  background: var(--river);
  border: 2px solid white;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 18px rgba(15, 42, 35, 0.26);
  cursor: pointer;
  font-weight: 900;
  transform: rotate(-45deg);
}

.mapstr-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.mapstr-pin span,
.mapstr-pin {
  display: grid;
  place-items: center;
}

.mapstr-pin {
  font-size: 14px;
}

.mapstr-pin > * {
  transform: rotate(45deg);
}

.mapstr-list-panel {
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 244, 0.98);
}

.mapstr-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.mapstr-list-head strong {
  font-size: 20px;
}

.mapstr-list-head span {
  color: var(--muted);
  font-weight: 900;
}

.mapstr-search-row {
  padding: 14px 22px 0;
}

.mapstr-search-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font: inherit;
}

.mapstr-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 22px;
}

.mapstr-chip-row sup {
  margin-left: 5px;
  color: var(--brick);
}

.mapstr-place-list {
  display: grid;
  max-height: none;
  overflow: visible;
  border-top: 1px solid var(--line);
}

.mapstr-place-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 22px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.mapstr-place-thumb {
  display: block;
  width: 86px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(238, 243, 232, 0.8);
  border: 1px solid var(--line);
}

.mapstr-place-thumb.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.mapstr-place-copy {
  min-width: 0;
}

.mapstr-place-titleline {
  display: flex;
  gap: 9px;
  align-items: center;
}

.mapstr-category-dot {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: white;
  background: var(--river);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.mapstr-place-row b {
  font-size: 18px;
  line-height: 1.35;
}

.mapstr-place-row em,
.mapstr-place-row i {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.mapstr-place-row i {
  font-size: 13px;
}

.mapstr-place-row i span {
  font-weight: 900;
}

.mapstr-place-row i small {
  display: inline-block;
  margin-left: 8px;
  padding-left: 8px;
  color: var(--muted);
  border-left: 2px solid rgba(215, 84, 53, 0.36);
  font-size: inherit;
}

.mapstr-map-badge {
  width: fit-content;
  padding: 3px 7px;
  color: var(--deep);
  background: rgba(243, 181, 61, 0.2);
  border: 1px solid rgba(243, 181, 61, 0.45);
  font-size: 12px;
  line-height: 1.3;
}

.mapstr-place-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.mapstr-status-badge {
  width: fit-content;
  padding: 3px 7px;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.8);
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.3;
}

.mapstr-status-badge.is-pick {
  color: var(--deep);
  background: var(--oyster);
  border-color: rgba(243, 181, 61, 0.7);
}

.mapstr-place-row:hover {
  background: rgba(243, 181, 61, 0.14);
}

.mapstr-row-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mapstr-row-actions button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.78);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.mapstr-row-actions button:hover {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.mapstr-poi-field {
  position: relative;
}

.mapstr-poi-results {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% - 4px);
  z-index: 8;
  display: grid;
  max-height: 260px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(15, 42, 35, 0.16);
}

.mapstr-poi-results[hidden] {
  display: none;
}

.mapstr-poi-results button {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  color: var(--ink);
  text-align: left;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.mapstr-poi-results button:hover {
  background: rgba(243, 181, 61, 0.16);
}

.mapstr-poi-results strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

.mapstr-poi-results mark {
  padding: 1px 5px;
  color: var(--deep);
  background: rgba(243, 181, 61, 0.3);
  font-size: 11px;
}

.mapstr-poi-results span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mapstr-side-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
  background: var(--deep);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.mapstr-side-panel .eyebrow {
  color: var(--oyster);
}

.mapstr-side-panel h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 34px;
  line-height: 1.15;
}

.mapstr-side-panel p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

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

.mapstr-insight-tags span {
  padding: 5px 7px;
  color: var(--deep);
  background: var(--oyster);
  font-size: 12px;
  font-weight: 900;
}

.mapstr-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.mapstr-feature-grid span,
.mapstr-feature-grid button,
.mapstr-feature-grid a {
  padding: 10px;
  color: var(--deep);
  background: var(--oyster);
  border: 0;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mapstr-side-map-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mapstr-side-map-list button {
  display: grid;
  gap: 5px;
  padding: 13px;
  color: white;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.mapstr-side-map-list button.active {
  color: var(--deep);
  background: var(--oyster);
}

.mapstr-side-map-list strong {
  font-size: 16px;
}

.mapstr-side-map-list span {
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.mapstr-consent-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  background: rgba(243, 181, 61, 0.12);
  border: 1px solid rgba(243, 181, 61, 0.42);
  color: var(--ink);
  font-weight: 900;
}

.mapstr-consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.editor-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 80px;
}

.editor-board {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editor-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.editor-section-tabs button,
.editor-section-tabs a {
  min-height: 48px;
  padding: 10px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-workspace-header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - 1440px) / 2));
  background: rgba(251, 250, 244, 0.92);
  border-bottom: 1px solid var(--line);
}

.admin-workspace-header > div {
  flex: 0 0 auto;
}

.admin-workspace-header .eyebrow {
  margin: 0 0 2px;
}

.admin-workspace-header h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 28px;
  line-height: 1.05;
}

.admin-workspace-header > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.editor-session-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 12px;
}

.editor-session-actions button {
  padding: 7px 10px;
}

.editor-login-shell {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.editor-login-panel {
  width: min(520px, 100%);
}

.admin-account-form {
  display: grid;
  grid-template-columns: 1fr 1fr 160px 1fr auto;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-account-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.admin-account-form input,
.admin-account-form select,
.admin-account-actions input,
.admin-account-actions select {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
}

.admin-account-list {
  display: grid;
}

.admin-account-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(500px, 2fr);
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

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

.admin-account-row span {
  color: var(--muted);
  font-size: 12px;
}

.admin-account-actions {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 8px;
}

.editor-section-tabs button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.editor-section-tabs a:hover,
.editor-section-tabs a.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.admin-workspace-nav {
  position: sticky;
  top: 72px;
  z-index: 420;
  display: flex;
  gap: 0;
  width: 100%;
  padding-left: max(14px, calc((100vw - 1440px) / 2));
  background: #f4f1e8;
  border-bottom: 1px solid var(--line);
}

.editor-section-tabs.admin-workspace-nav {
  margin: 0;
}

.admin-workspace-nav a {
  padding: 13px 18px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.admin-workspace-nav button {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
}

.admin-workspace-nav a.active,
.admin-workspace-nav a:hover {
  color: white;
  background: var(--deep);
}

.intake-board {
  overflow: hidden;
}

.intake-source-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  background: rgba(243, 181, 61, 0.12);
  border-bottom: 1px solid var(--line);
}

.intake-source-strip strong,
.space-source-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 9px;
  color: #6b4300;
  background: #f7d88b;
  border: 1px solid #d9a42e;
  font-size: 12px;
  font-weight: 900;
}

.intake-source-strip strong.is-user-source,
.space-source-badge.is-user-source {
  color: #fff;
  background: var(--brick);
  border-color: var(--brick);
}

.intake-source-strip label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
}

.intake-source-strip select,
.intake-source-strip input,
.intake-source-strip button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font: inherit;
}

.intake-unified-source {
  min-width: 0;
}

.intake-unified-source input {
  width: min(100%, 520px);
}

.intake-draft-actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.intake-draft-actions button {
  font-size: 12px;
}

.intake-draft-actions button.danger {
  color: #a22e1b;
  background: #fff8f4;
  border-color: #cf6c58;
}

.intake-draft-actions button.danger.armed {
  color: white;
  background: #a22e1b;
  border-color: #a22e1b;
}

.intake-ai-assistant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  padding: 22px 28px;
  background: rgba(224, 236, 232, 0.52);
  border-bottom: 1px solid var(--line);
}

.intake-titlebar {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(520px, 682px) 190px;
}

.intake-ai-inline {
  display: grid;
  gap: 6px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.intake-ai-inline > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.intake-ai-inline > div {
  display: flex;
  gap: 8px;
}

.intake-ai-source {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
}

.intake-ai-source input {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font: inherit;
}

.intake-ai-inline button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.intake-ai-inline button.primary {
  color: white;
  background: #e06c1f;
  border-color: #e06c1f;
}

.intake-ai-inline button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.intake-ai-inline small {
  color: var(--muted);
  font-size: 11px;
}

.intake-titlebar .space-editor-savebox button {
  background: #e06c1f;
  border-color: #e06c1f;
  font-size: 12px;
}

.space-editor-record-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.space-editor-record-actions button.danger {
  color: #a22e1b;
  background: #fff8f4;
  border-color: #cf6c58;
}

.space-delete-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(15, 42, 35, 0.3);
}

.space-delete-dialog::backdrop {
  background: rgba(7, 24, 20, 0.58);
}

.space-delete-dialog-body,
.space-delete-step-one,
.space-delete-step-two {
  display: grid;
  gap: 14px;
}

.space-delete-dialog-body {
  padding: 26px;
}

.space-delete-dialog h2,
.space-delete-dialog p {
  margin: 0;
}

.space-delete-dialog button {
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
}

.space-delete-dialog button.danger {
  color: white;
  background: #a22e1b;
  border-color: #a22e1b;
}

.pitch-editor-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pitch-editor-field > span button {
  min-height: 28px;
  padding: 0 9px;
  color: white;
  background: #e06c1f;
  border: 1px solid #e06c1f;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pitch-editor-field > span button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.intake-ai-assistant h3 {
  margin: 3px 0 5px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 24px;
}

.intake-ai-assistant p {
  margin: 0;
  color: var(--muted);
}

.intake-ai-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.intake-ai-actions button,
.intake-ai-confirm button {
  min-height: 40px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.intake-ai-actions button.primary,
.intake-ai-confirm button {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.intake-ai-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.intake-ai-result {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-right: 0;
  border-left: 0;
}

.intake-ai-result-head,
.intake-ai-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.intake-ai-result-head span,
.intake-ai-confirm span {
  color: var(--muted);
  font-size: 12px;
}

.intake-ai-confirm {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.intake-ai-result dl {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  margin: 0;
}

.intake-ai-result dt,
.intake-ai-result dd {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(41, 61, 53, 0.12);
  white-space: pre-wrap;
}

.intake-ai-result dt {
  color: var(--brick);
  font-weight: 900;
}

.intake-source-strip button {
  margin-left: auto;
  cursor: pointer;
  font-weight: 900;
}

.editor-assist-link {
  padding: 10px 12px;
  color: white;
  background: var(--brick);
  border: 1px solid var(--brick);
  text-decoration: none;
  font-weight: 900;
}

.space-source-badge {
  margin-top: 12px;
}

.editor-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.editor-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.editor-toolbar > div span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.tag-vocabulary-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 620px;
}

.tag-group-index {
  padding: 16px;
  background: rgba(238, 243, 232, 0.56);
  border-right: 1px solid var(--line);
}

.tag-group-index button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.tag-group-index button.active {
  color: white;
  background: var(--deep);
}

.tag-group-index span {
  opacity: 0.65;
  font-size: 12px;
}

.tag-ledger {
  min-width: 0;
  padding: 22px;
}

.tag-ledger-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--deep);
}

.tag-ledger-head h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 30px;
}

.tag-add-form {
  display: flex;
  gap: 8px;
}

.tag-add-form input,
.tag-ledger-name input,
.tag-ledger-actions select {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font: inherit;
}

.tag-add-form button,
.tag-ledger-row button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(238, 243, 232, 0.78);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.tag-ledger-list {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.tag-ledger-row {
  display: grid;
  grid-template-columns: 38px minmax(160px, 1fr) 74px minmax(360px, 1.8fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.tag-ledger-row.inactive {
  opacity: 0.56;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(15, 42, 35, 0.035) 8px 16px);
}

.tag-ledger-order {
  display: grid;
  gap: 3px;
}

.tag-ledger-order button {
  min-height: 25px;
  padding: 0;
}

.tag-ledger-name {
  display: grid;
  gap: 4px;
}

.tag-ledger-name span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.tag-usage-count {
  color: var(--brick);
  font-size: 22px;
  text-align: center;
}

.tag-usage-count small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.tag-ledger-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 6px;
}

.tag-ledger-actions label {
  display: grid;
  gap: 2px;
}

.tag-ledger-actions label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.tag-ledger-row button.danger {
  color: #a43e2c;
  background: #fff;
  border-color: rgba(164, 62, 44, 0.38);
}

.tag-ledger-row button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.editor-toolbar button,
.editor-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.editor-toolbar button:disabled,
.editor-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.editor-message {
  margin: 0;
  padding: 10px 22px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.editor-message:empty {
  display: none;
}

.editor-list {
  display: grid;
}

.editor-place-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.editor-place-card figure {
  margin: 0;
}

.editor-place-card img,
.editor-thumb-empty {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  place-items: center;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.86);
  border: 1px solid var(--line);
  font-weight: 900;
}

.editor-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.editor-card-head strong {
  font-size: 22px;
  line-height: 1.25;
}

.editor-card-head span {
  align-self: start;
  padding: 4px 8px;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.8);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.editor-card-head span.is-pick {
  color: var(--deep);
  background: var(--oyster);
}

.editor-place-card p {
  color: var(--muted);
  line-height: 1.65;
}

.editor-place-card dl {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

.editor-place-card dt {
  color: var(--brick);
  font-weight: 900;
}

.editor-place-card dd {
  margin: 0;
  color: var(--muted);
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.space-editor {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 20px;
  width: min(1440px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.space-editor-sidebar,
.space-editor-main,
.space-editor-form,
.space-editor-empty {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.space-editor-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
}

.space-editor-kicker {
  padding: 20px 20px 0;
  color: var(--brick);
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.space-editor-sidebar h1 {
  margin: 16px 20px 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 20px;
  line-height: 1.05;
}

.space-editor-sidebar p {
  margin: 12px 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.space-editor-search {
  display: grid;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.space-editor-search span,
.space-editor-grid span {
  color: var(--brick);
  font-weight: 900;
}

.space-editor-search input,
.space-editor-grid input,
.space-editor-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(251, 250, 244, 0.9);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

.space-editor-grid textarea {
  line-height: 1.7;
  resize: vertical;
}

.space-editor-grid .pitch-editor-field textarea {
  min-height: 118px;
}

.space-editor-grid .compact-field {
  gap: 5px;
}

.space-editor-grid .compact-field input {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.space-editor-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.space-draft-list-section {
  padding: 12px 14px;
  background: rgba(224, 108, 31, 0.08);
  border-bottom: 1px solid var(--line);
}

.space-draft-list-section > strong {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--brick);
  font-size: 13px;
}

.space-draft-list-section > div {
  display: grid;
  gap: 6px;
  max-height: 170px;
  overflow-y: auto;
}

.space-draft-list-section a {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  text-decoration: none;
}

.space-draft-list-section a:hover {
  border-color: #e06c1f;
}

.space-draft-list-section small {
  color: var(--muted);
}

.space-editor-list-head button,
.space-editor-savebox button,
.space-editor-tabs button,
.space-tag-field button {
  border: 1px solid var(--line);
  background: rgba(238, 243, 232, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.space-editor-list-head button {
  min-height: 34px;
  padding: 0 10px;
}

.space-batch-entry {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 20px;
  color: var(--ink);
  text-align: left;
  background: rgba(243, 181, 61, 0.12);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.space-batch-entry.active {
  color: white;
  background: var(--deep);
}

.space-batch-entry strong {
  font-size: 15px;
}

.space-batch-entry span {
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
}

.space-editor-list {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.space-editor-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.space-editor-row.active {
  background: rgba(243, 181, 61, 0.16);
  box-shadow: inset 4px 0 0 var(--oyster);
}

.space-editor-row figure {
  margin: 0;
}

.space-editor-row img,
.space-editor-row figure span {
  display: grid;
  width: 58px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  place-items: center;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.82);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.space-editor-row strong,
.space-editor-row em,
.space-editor-row i {
  display: block;
}

.space-editor-row strong {
  font-size: 16px;
  line-height: 1.35;
}

.space-editor-row em,
.space-editor-row i {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}

.space-editor-main {
  min-height: calc(100vh - 118px);
}

.space-editor-empty[hidden],
.space-editor-form[hidden],
.space-batch-panel[hidden] {
  display: none !important;
}

.space-editor-empty {
  display: grid;
  min-height: 120px;
  align-content: center;
  padding: 24px 42px;
  box-shadow: none;
}

.space-editor-empty h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 16px;
}

.space-editor-empty p:not(.eyebrow) {
  color: var(--muted);
}

.space-editor-form {
  box-shadow: none;
}

.space-editor-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.space-editor-titlebar h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 25px;
  line-height: 1.18;
}

.space-editor-titlebar p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.space-editor-savebox {
  display: grid;
  gap: 8px;
  min-width: 140px;
}

.space-editor-savebox span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.space-editor-savebox span.is-dirty {
  color: var(--brick);
}

.space-editor-savebox button {
  min-height: 44px;
  padding: 0 16px;
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.space-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
}

.space-editor-tabs button {
  min-height: 38px;
  padding: 0 12px;
}

.space-editor-tabs button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.space-editor-panel {
  display: none;
  padding: 28px;
}

.space-editor-panel.active {
  display: block;
}

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

.space-editor-grid.compact {
  max-width: 520px;
  margin-bottom: 16px;
}

.space-editor-grid.geocode-grid {
  max-width: 820px;
  margin-bottom: 14px;
}

.space-editor-grid label {
  display: grid;
  gap: 8px;
}

.space-editor-grid .wide {
  grid-column: 1 / -1;
}

.space-tag-editor {
  display: grid;
  gap: 18px;
}

.space-tag-field {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
}

.space-tag-field legend {
  padding: 0 8px;
  color: var(--brick);
  font-weight: 900;
}

.space-tag-field legend small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.space-tag-field div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.space-tag-field button {
  min-height: 34px;
  padding: 0 10px;
}

.space-tag-field button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.space-batch-panel {
  min-height: calc(100vh - 118px);
}

.space-batch-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  min-height: 620px;
}

.space-batch-groups {
  padding: 20px;
  background: rgba(238, 243, 232, 0.42);
  border-right: 1px solid var(--line);
}

.space-batch-group {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.space-batch-group legend {
  margin-bottom: 8px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
}

.space-batch-group div {
  display: grid;
  gap: 5px;
}

.space-batch-group button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 6px 9px;
  color: var(--ink);
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
}

.space-batch-group button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.space-batch-group small {
  opacity: 0.64;
}

.space-batch-workspace {
  min-width: 0;
  padding: 24px;
}

.space-batch-heading,
.space-batch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.space-batch-heading span,
.space-batch-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.space-batch-heading h3 {
  margin: 5px 0 0;
  font-size: 24px;
}

.space-batch-search {
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.space-batch-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.space-batch-actions button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(238, 243, 232, 0.78);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.space-batch-actions span {
  margin-left: auto;
}

.space-batch-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.space-batch-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
}

.space-batch-row.active {
  background: rgba(243, 181, 61, 0.16);
  border-color: var(--oyster);
}

.space-batch-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
}

.space-batch-row strong,
.space-batch-row small {
  display: block;
}

.space-batch-row small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.space-image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.space-image-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.space-image-toolbar label {
  display: inline-flex;
  cursor: pointer;
}

.space-image-toolbar input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.space-image-toolbar span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  color: white;
  background: var(--deep);
  border: 1px solid var(--deep);
  font-weight: 900;
}

.space-image-toolbar .space-image-fetch {
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.space-image-toolbar .space-image-fetch:disabled {
  cursor: wait;
  opacity: 0.62;
}

.space-image-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.space-image-strip figure {
  margin: 0;
  padding: 8px;
  background: rgba(238, 243, 232, 0.7);
  border: 1px solid var(--line);
}

.space-image-preview {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.space-image-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: white;
}

.space-image-strip figcaption {
  display: grid;
  gap: 7px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.space-image-strip figcaption span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.space-image-strip figcaption button {
  min-height: 28px;
  padding: 0 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.space-image-strip figcaption button:hover {
  border-color: var(--oyster);
}

.space-image-lightbox {
  width: min(92vw, 1080px);
  max-height: 90vh;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(15, 42, 35, 0.35);
}

.space-image-lightbox::backdrop {
  background: rgba(15, 42, 35, 0.72);
}

.space-image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
  object-fit: contain;
}

.space-image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
}

.space-image-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 64px;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(10, 52, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.38);
  cursor: pointer;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.space-image-lightbox-nav.prev {
  left: 26px;
}

.space-image-lightbox-nav.next {
  right: 26px;
}

.space-image-lightbox-count {
  position: absolute;
  right: 28px;
  bottom: 24px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(10, 52, 42, 0.84);
  font-size: 15px;
  font-weight: 900;
}

.source-card {
  margin-top: 18px;
  padding: 16px;
  background: rgba(238, 243, 232, 0.68);
  border: 1px solid var(--line);
}

.source-card strong {
  display: block;
  font-size: 20px;
}

.source-card p {
  color: var(--muted);
  line-height: 1.7;
}

.source-card a {
  color: var(--brick);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.space-editor-map {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(238, 243, 232, 0.7);
}

.space-geocode-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.space-geocode-actions button,
.space-geocode-results button {
  border: 1px solid var(--line);
  background: rgba(238, 243, 232, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.space-geocode-actions button {
  min-height: 40px;
  padding: 0 16px;
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.space-geocode-actions span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.space-geocode-actions span.is-error {
  color: var(--brick);
}

.space-geocode-results {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(238, 243, 232, 0.68);
}

.space-geocode-results strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brick);
}

.space-geocode-results div {
  display: grid;
  gap: 8px;
}

.space-geocode-results button {
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 8px 10px;
  text-align: left;
}

.space-geocode-results button:hover {
  border-color: var(--oyster);
}

.space-geocode-results small {
  color: var(--muted);
  font-weight: 800;
}

.space-poi-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 820px;
  margin: 18px 0 12px;
}

.space-poi-search label {
  display: grid;
  gap: 7px;
  color: var(--brick);
  font-weight: 900;
}

.space-poi-search input,
.space-poi-search button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font: inherit;
}

.space-poi-search button {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
  font-weight: 900;
  cursor: pointer;
}

.space-map-empty {
  display: grid;
  min-height: 460px;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.space-editor-checks {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.space-editor-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(238, 243, 232, 0.68);
  border: 1px solid var(--line);
  font-weight: 900;
}

.space-editor-note {
  color: var(--muted);
  line-height: 1.7;
}

.mapstr-dialog {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  background: transparent;
  border: 0;
}

.mapstr-dialog::backdrop {
  background: rgba(15, 42, 35, 0.46);
  backdrop-filter: blur(4px);
}

.mapstr-dialog .site-form {
  max-height: min(84vh, 760px);
  overflow-y: auto;
}

.mapstr-dialog .site-form small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.mapstr-dialog .site-form textarea[name="oneLine"] {
  min-height: 74px;
  resize: vertical;
}

.mapstr-dialog .site-form textarea[name="intro"] {
  min-height: 120px;
  resize: vertical;
}

.mapstr-tag-picker {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
}

.mapstr-tag-picker legend {
  padding: 0 6px;
  color: var(--brick);
  font-weight: 900;
}

.mapstr-tag-picker legend small {
  color: var(--muted);
  font-size: 12px;
}

.mapstr-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mapstr-choice-grid button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(238, 243, 232, 0.7);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
}

.mapstr-choice-grid button.active {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.mapstr-image-preview {
  display: block;
  width: 148px;
  margin-top: 10px;
  padding: 6px;
  background: rgba(238, 243, 232, 0.68);
  border: 1px solid var(--line);
}

.mapstr-image-preview[hidden] {
  display: none;
}

.mapstr-image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: white;
}

.mapstr-pick-button {
  align-self: end;
  min-height: 46px;
  color: white;
  background: var(--deep);
  border: 1px solid var(--deep);
  cursor: pointer;
  font-weight: 900;
}

.mapstr-dialog-actions {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 10px;
}

.mapstr-dialog-actions button {
  min-height: 46px;
}

.mapstr-dialog-actions button:last-child {
  color: white;
  background: var(--deep);
  border-color: var(--deep);
}

.hidden-field {
  display: none;
}

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

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.empty {
  color: var(--muted);
}

.footer {
  padding: 34px 20px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: var(--deep);
}

@media (max-width: 980px) {
  .vitality-view-nav-map {
    width: 380px;
  }

  .home-section-title,
  .home-directory-panel {
    grid-template-columns: 1fr;
  }

  .home-section-title {
    display: grid;
    align-items: start;
  }

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

  .catalog-hero,
  .section-title,
  .map-preview,
  .detail-hero,
  .detail-layout,
  .form-layout,
  .activity-grid,
  .about-section,
  .activity-hero,
  .activity-position,
  .activity-detail-hero,
  .activity-detail-layout {
    grid-template-columns: 1fr;
  }

  .activity-product-grid {
    grid-template-columns: 1fr;
  }

  .mapstr-studio {
    grid-template-columns: 1fr;
  }

  .mapstr-map-tabs {
    display: flex;
  }

  .mapstr-side-panel {
    position: static;
  }

  .activity-custom {
    grid-template-columns: 1fr;
  }

  .activity-custom .button {
    justify-self: stretch;
  }

  .activity-detail-side {
    position: static;
  }

  .case-map-shell {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  }

  .case-list-panel {
    grid-column: 1 / -1;
    min-height: auto;
    max-height: none;
  }

  .active-space-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }

  .active-space-card img {
    height: 100%;
    aspect-ratio: 4 / 3;
  }

  .space-list {
    max-height: 420px;
  }

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

  .detail-meta {
    position: static;
  }

  .pill-board.compact {
    justify-content: flex-start;
  }

  .space-map-demo {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100vh - 70px);
    min-height: 620px;
    overflow: hidden;
  }

  .demo-map-wrap {
    min-height: 0;
    height: 100%;
  }

  .demo-panel {
    min-height: 0;
    overflow: hidden;
  }

  .demo-filter-panel {
    overflow: visible;
  }

  .demo-map-card {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
    width: auto;
  }

  .demo-filter-body {
    width: min(680px, calc(100vw - 40px));
  }

  .space-editor {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 980px);
  }

  .space-editor-sidebar {
    position: static;
    max-height: none;
  }

  .space-editor-list {
    max-height: 360px;
  }

  .space-editor-main {
    min-height: auto;
  }

  .space-batch-body {
    grid-template-columns: 1fr;
  }

  .space-batch-groups {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .space-batch-group div {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 621px) and (max-width: 820px) {
  .grouped-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .vitality-view-nav-map {
    right: 0;
    width: auto;
  }

  .space-match-options button {
    grid-template-columns: 1fr auto;
  }

  .space-match-options button span {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 14px;
    display: none;
    width: min(230px, calc(100vw - 28px));
    padding: 10px;
    flex-direction: column;
    gap: 8px;
    z-index: 540;
    background: #0f2a23;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 44px rgba(15, 42, 35, 0.22);
  }

  .topbar.nav-open .nav {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 10px 12px;
  }

  .nav-submenu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: -3px 0 2px;
    padding: 8px;
    background: rgba(255,255,255,.06);
    border-left: 2px solid var(--oyster);
  }

  .nav-submenu a {
    padding: 8px 10px;
    font-size: 13px;
    text-align: left;
  }

  .shenzhen-route-card,
  .shenzhen-topic-grid > a.shenzhen-route-card {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 150px;
    gap: 5px 12px;
  }

  .shenzhen-route-card > img,
  .shenzhen-topic-grid > a.shenzhen-route-card > img { min-height: 150px; }

  .shenzhen-route-card > span,
  .shenzhen-topic-grid > a.shenzhen-route-card > span { margin-top: 12px; font-size: 10px; }

  .shenzhen-route-card > strong,
  .shenzhen-topic-grid > a.shenzhen-route-card > strong { font-size: 18px; }

  .shenzhen-route-card > p,
  .shenzhen-topic-grid > a.shenzhen-route-card > p { margin-bottom: 12px; font-size: 12px; }

  .shenzhen-route-card-featured,
  .shenzhen-topic-grid > a.shenzhen-route-card-featured { display: block; }

  .shenzhen-route-card-featured .activity-facts dt,
  .shenzhen-route-card-featured .activity-facts dd { font-size: 12px; }

  .shenzhen-route-card-featured .shenzhen-route-card-body > strong { font-size: 20px; }

  .shenzhen-route-card-featured .activity-facts { gap: 7px; }

  .shenzhen-route-card-featured .activity-facts div {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
  }

  .shenzhen-route-card-featured .activity-facts dt {
    padding: 5px 7px;
    color: var(--ink);
    background: #e6e8e4;
    border-left: 3px solid #b8bdb8;
    text-align: center;
  }

  .shenzhen-route-card-featured .activity-facts div:nth-child(2) dt {
    background: #eceeeb;
    border-left-color: #c6cac5;
  }

  .shenzhen-route-card-featured .activity-facts div:nth-child(3) dt {
    background: #f1f2ef;
    border-left-color: #d2d5d0;
  }

  .shenzhen-route-card-featured .sdg-icon-card figcaption { font-size: 12px; }

  .shenzhen-section-nav {
    position: sticky;
    top: 66px;
    z-index: 500;
    box-shadow: 0 8px 20px rgba(15,42,35,.1);
  }

  .shenzhen-program { scroll-margin-top: 142px; }

  .activity-back-top {
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .space-editor {
    width: 100%;
    padding: 0 0 54px;
    gap: 0;
  }

  .admin-workspace-nav {
    position: static;
    padding: 0;
    overflow-x: auto;
  }

  .admin-workspace-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 0;
    padding: 12px 18px;
  }

  .admin-workspace-header h1 {
    font-size: 24px;
  }

  .admin-workspace-header > p {
    font-size: 12px;
  }

  .editor-session-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .admin-account-form,
  .admin-account-row,
  .admin-account-actions {
    grid-template-columns: 1fr;
  }

  .admin-workspace-nav a {
    flex: 0 0 auto;
  }

  .intake-source-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

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

  .intake-source-strip label {
    align-items: stretch;
    flex-direction: column;
  }

  .intake-unified-source input {
    width: 100%;
  }

  .intake-draft-actions {
    display: grid;
    justify-self: stretch;
  }

  .intake-source-strip button {
    margin-left: 0;
  }

  .intake-ai-assistant {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .intake-titlebar {
    grid-template-columns: 1fr;
  }

  .intake-ai-inline {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .intake-ai-inline > div {
    align-items: stretch;
    flex-direction: column;
  }

  .intake-ai-source,
  .space-poi-search {
    grid-template-columns: 1fr;
  }

  .intake-ai-inline button {
    width: 100%;
  }

  .space-editor-record-actions {
    display: grid;
  }

  .intake-ai-actions,
  .intake-ai-confirm {
    align-items: stretch;
    flex-direction: column;
  }

  .intake-ai-actions button,
  .intake-ai-confirm button {
    width: 100%;
  }

  .intake-ai-result {
    grid-column: auto;
  }

  .intake-ai-result dl {
    grid-template-columns: 1fr;
  }

  .tag-vocabulary-layout {
    grid-template-columns: 1fr;
  }

  .tag-group-index {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tag-group-index button {
    flex: 0 0 auto;
    width: auto;
  }

  .tag-ledger {
    padding: 16px;
  }

  .tag-ledger-head,
  .tag-add-form {
    display: grid;
    align-items: start;
  }

  .tag-ledger-row {
    grid-template-columns: 32px minmax(0, 1fr) 64px;
  }

  .tag-ledger-actions {
    grid-column: 1 / -1;
    padding-left: 44px;
  }

  .space-editor-sidebar,
  .space-editor-main,
  .space-editor-form,
  .space-editor-empty {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .space-editor-sidebar h1 {
    font-size: 20px;
  }

  .space-editor-list {
    max-height: 300px;
  }

  .space-editor-titlebar {
    display: grid;
    align-items: start;
    padding: 22px 18px;
  }

  .space-editor-titlebar h2 {
    font-size: 25px;
  }

  .space-editor-savebox {
    width: 100%;
  }

  .space-editor-savebox span {
    text-align: left;
  }

  .space-editor-savebox button {
    width: 100%;
  }

  .space-editor-tabs {
    padding: 12px 18px;
  }

  .space-editor-tabs button {
    flex: 1 1 auto;
  }

  .space-editor-panel {
    padding: 18px;
  }

  .space-batch-workspace,
  .space-batch-groups {
    padding: 18px;
  }

  .space-batch-list {
    grid-template-columns: 1fr;
  }

  .space-editor-grid,
  .space-editor-grid.compact {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .space-editor-map,
  .space-map-empty {
    min-height: 340px;
  }

  .mapstr-studio {
    width: 100%;
    padding: 0 0 56px;
  }

  .mapstr-phone {
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .mapstr-head {
    padding: 18px;
  }

  .mapstr-map-shell {
    min-height: 58vh;
  }

  .mapstr-toolbar {
    right: 12px;
    left: 12px;
  }

  .mapstr-toolbar button {
    flex: 1;
  }

  .mapstr-place-list {
    max-height: none;
  }

  .mapstr-place-row {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 14px 18px;
  }

  .mapstr-place-thumb {
    width: 74px;
  }

  .mapstr-place-row b {
    font-size: 17px;
  }

  .mapstr-side-panel {
    margin: 18px;
  }

  .mapstr-feature-grid {
    grid-template-columns: 1fr;
  }

  .editor-shell {
    width: 100%;
    padding-top: 28px;
  }

  .editor-place-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .editor-place-card dl {
    grid-template-columns: 1fr;
  }

  .catalog-hero h1,
  .detail-hero h1,
  .activity-hero h1,
  .activity-detail-hero h1 {
    font-size: 38px;
  }

  .activity-hero {
    padding: 42px 0 28px;
  }

  .activity-hero,
  .activity-position,
  .activity-custom,
  .activity-detail-hero,
  .activity-detail-layout {
    width: min(100vw - 24px, 1180px);
  }

  .activity-product-body,
  .activity-detail-main,
  .activity-detail-side {
    padding: 16px;
  }

  .activity-facts div {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .home-hero {
    min-height: 64vh;
  }

  .home-hero h1 {
    font-size: 52px;
  }

  .home-section {
    padding: 48px 0;
  }

  .route-slide {
    min-height: 390px;
    padding-bottom: 126px;
  }

  .route-slide div {
    padding-right: 0;
  }

  .route-tabs {
    bottom: 14px;
  }

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

  .home-space-card {
    min-height: auto;
  }

  .home-space-card div {
    padding: 12px;
  }

  .home-space-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
  }

  .home-space-card p {
    min-height: 62px;
    font-size: 13px;
    line-height: 1.55;
  }

  .home-space-card .card-tags {
    padding-top: 12px;
  }

  .case-map-page {
    padding: 12px;
  }

  .case-map-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .map-sidebar,
  .map-stage-panel {
    min-height: auto;
  }

  .map-side-title h1 {
    font-size: 34px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-map-canvas {
    min-height: 480px;
  }

  .amap-page {
    height: calc(100vh - 126px);
    min-height: 640px;
  }

  .map-filter-dock {
    left: 12px;
    top: 12px;
    max-height: 46vh;
  }

  .map-info-card {
    right: 12px;
    bottom: 12px;
  }

  .map-filter-body h1 {
    font-size: 28px;
  }

  .active-space-card {
    display: block;
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .studio-grid,
  .studio-lists {
    grid-template-columns: 1fr;
  }

  .activity-card img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: auto;
  }

  .directory-card > div {
    padding: 12px;
  }

  .directory-card h3 {
    margin: 8px 0 6px;
    font-size: 18px;
  }

  .directory-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .card-tags {
    padding-top: 12px;
  }

  .filter-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .account-panel,
  .account-hero,
  .studio-grid,
  .studio-review {
    width: min(100% - 24px, 1180px);
  }

  .account-hero {
    padding-top: 38px;
  }

  .studio-userbar {
    align-items: stretch;
    flex-direction: column;
  }

  .map-canvas,
  .mini-map {
    min-height: 430px;
  }

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

  .space-card img {
    width: 82px;
    height: 82px;
  }

  .space-map-demo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .demo-panel {
    max-height: none;
    border-right: 0;
  }

  .demo-filter-panel {
    position: absolute;
    top: 14px;
    left: 14px;
    right: auto;
    z-index: 500;
    width: min(250px, calc(100vw - 88px));
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .demo-filter-panel .demo-panel-head {
    display: none;
  }

  .demo-filter-drawer {
    border: 0;
  }

  .demo-filter-drawer > summary {
    min-height: 48px;
    justify-content: flex-start;
    padding: 6px 9px;
    background: rgba(251, 250, 244, 0.96);
    border: 1px solid rgba(23, 33, 29, 0.2);
    box-shadow: 0 10px 30px rgba(15, 42, 35, 0.18);
    backdrop-filter: blur(14px);
  }

  .demo-filter-drawer > summary strong {
    padding: 7px 9px;
    border-radius: 0;
  }

  .demo-filter-status em {
    display: none;
  }

  .demo-filter-panel:has(.demo-filter-drawer[open]) {
    position: fixed;
    top: 116px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 600;
    width: auto;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid rgba(23, 33, 29, 0.18);
    border-radius: 24px 24px 18px 18px;
    box-shadow: 0 0 0 100vmax rgba(15, 42, 35, 0.48), 0 24px 70px rgba(15, 42, 35, 0.3);
  }

  .demo-filter-drawer[open] {
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .demo-filter-drawer[open] > summary {
    flex: 0 0 auto;
    min-height: 66px;
    padding: 10px 18px;
    background: var(--paper);
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }

  .demo-filter-drawer[open] > summary strong {
    color: var(--ink);
    background: transparent;
    padding: 0;
    font-size: 22px;
  }

  .demo-filter-drawer[open] > summary::after {
    content: "×";
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--deep);
    border: 1px solid var(--deep);
    border-radius: 50%;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
  }

  .demo-filter-drawer[open] .demo-filter-status {
    display: none;
  }

  .demo-filter-body {
    position: static;
    display: flex;
    width: auto;
    max-height: none;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    overflow: auto;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .demo-filter-block,
  .demo-search {
    padding: 18px;
  }

  .demo-filter-block h2,
  .demo-search span,
  .demo-city-group > summary {
    font-size: 16px;
  }

  .demo-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-city-group .demo-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-city-choice {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
  }

  .demo-city-choice input,
  .demo-tag-group label input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--deep);
  }

  .demo-city-choice span {
    display: flex;
    align-items: baseline;
    min-width: 0;
    min-height: 42px;
    flex: 1;
    padding: 9px 10px;
    background: white;
    border: 1px solid var(--line);
  }

  .demo-city-choice:has(input:checked) span {
    color: var(--deep);
    background: #e4efe7;
    border-color: var(--deep);
  }

  .demo-city-choice sup,
  .demo-tag-group sup {
    margin-left: 5px;
    color: #e40707;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
  }

  .demo-pills button {
    min-height: 42px;
    text-align: left;
  }

  .demo-tag-group summary {
    min-height: 50px;
    padding: 12px 14px;
  }

  .demo-tag-group > div {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    padding: 0 14px 14px;
  }

  .demo-tag-group label span {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding: 7px 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
  }

  .demo-tag-group label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
  }

  .demo-tag-group label sup {
    flex: 0 0 auto;
    margin-left: 8px;
    white-space: nowrap;
  }

  .demo-filter-actions {
    margin-top: auto;
    flex: 0 0 auto;
    padding: 12px 16px 16px;
  }

  body.map-filter-modal-open {
    overflow: hidden;
  }

  .demo-map-wrap {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    min-height: 0;
    flex-direction: column;
    z-index: 80;
  }

  .demo-amap-canvas {
    position: relative;
    inset: auto;
    width: 100%;
    height: 56vh;
    min-height: 420px;
    touch-action: none;
  }

  .demo-amap-canvas .amap-maps {
    touch-action: none;
  }

  .map-loading {
    position: absolute;
  }

  .demo-map-controls {
    top: calc(56vh - 68px);
    right: 18px;
    bottom: auto;
  }

  .demo-layer-menu {
    top: auto;
    bottom: calc(100% + 9px);
  }

  .demo-map-control-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .demo-list-panel {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    z-index: 20;
    display: flex;
    max-height: min(520px, 62vh);
    overflow: hidden;
    background: rgba(251, 250, 244, 0.98);
  }

  .demo-space-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .demo-map-pagination {
    flex-shrink: 0;
  }

  .demo-map-card {
    position: relative;
    z-index: 2;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 12px;
    border-right: 0;
    border-left: 0;
    box-shadow: none;
  }

  .demo-map-card[hidden] {
    display: none;
  }

  .detail-hero {
    gap: 16px;
    padding: 34px 0 12px;
  }

  .detail-layout {
    padding-top: 8px;
  }

  .detail-meta {
    padding: 16px;
  }

  .detail-meta dl {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px 10px;
  }

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

  .detail-description {
    margin-top: 14px;
  }

  .demo-map-card img,
  .demo-map-card .demo-image-fallback {
    width: 96px;
    height: 96px;
  }

  .demo-map-card-copy {
    padding-right: 0;
  }

  .demo-filter-body {
    left: 12px;
    width: calc(100vw - 24px);
    max-height: 72vh;
  }
}
