:root {
  --bg: #f4f0e8;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --ink: #132428;
  --muted: #5a686a;
  --accent: #0f7c7a;
  --accent-2: #e07a37;
  --accent-3: #c54e57;
  --accent-4: #d6a94d;
  --line: rgba(24, 52, 58, 0.12);
  --shadow: 0 20px 50px rgba(18, 39, 44, 0.12);
  --display: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 169, 77, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 124, 122, 0.22), transparent 25%),
    linear-gradient(180deg, #f7f3ec 0%, #f1ece4 100%);
  overflow-x: hidden;
}

.bg-orb,
.bg-grid {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  border-radius: 999px;
  filter: blur(14px);
  animation: float 11s ease-in-out infinite;
}

.orb-a {
  left: -100px;
  top: 30px;
  width: 320px;
  height: 320px;
  background: rgba(15, 124, 122, 0.22);
}

.orb-b {
  right: -60px;
  top: 160px;
  width: 260px;
  height: 260px;
  background: rgba(224, 122, 55, 0.25);
  animation-delay: 1.7s;
}

.bg-grid {
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(18, 39, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 39, 44, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

.board-shell {
  width: min(1440px, calc(100vw - 24px));
  margin: 12px auto 24px;
  display: grid;
  gap: 14px;
}

.panel,
.hero {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 18px;
  padding: 24px;
  align-items: stretch;
  min-height: 0;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  max-width: 880px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-copy h1,
.panel-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.08;
  max-width: 11.5ch;
}

.hero-text {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.hero-tag,
.tag,
.source-pill,
.chip,
.metric-label {
  border-radius: 999px;
  border: 1px solid var(--line);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 0.84rem;
}

.hero-tag strong {
  font-size: 0.9rem;
}

.hero-insight {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(15, 124, 122, 0.13), rgba(224, 122, 55, 0.1)),
    rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 124, 122, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  align-self: start;
}

.hero-insight::before {
  content: "当前筛选下的热点摘要";
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-block {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 39, 44, 0.08);
}

.insight-block span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.insight-block strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.35;
}

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

.metric-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.metric-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(15, 124, 122, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
}

.metric-value {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.metric-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.7fr));
  gap: 12px;
  padding: 16px;
  align-items: start;
}

.field-wide {
  grid-column: span 1;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18, 39, 44, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(15, 124, 122, 0.55);
  box-shadow: 0 0 0 3px rgba(15, 124, 122, 0.14);
}

.chip-stack {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.83rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 124, 122, 0.35);
}

.chip.active {
  background: linear-gradient(135deg, rgba(15, 124, 122, 0.16), rgba(224, 122, 55, 0.12));
  border-color: rgba(15, 124, 122, 0.35);
  color: #0c6160;
}

.ghost-btn {
  justify-self: start;
  border: 1px solid rgba(18, 39, 44, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-radius: 14px;
  padding: 11px 14px;
  cursor: pointer;
  font: inherit;
}

.ghost-btn:hover {
  border-color: rgba(15, 124, 122, 0.4);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.overview-grid > .panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.panel-note {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.rank-list,
.region-grid,
.guide-grid,
.scene-grid,
.spot-list {
  display: grid;
  gap: 12px;
}

.overview-grid .rank-list,
.overview-grid .region-grid {
  flex: 1;
  min-height: 0;
}

.rank-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 39, 44, 0.08);
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 124, 122, 0.12), rgba(224, 122, 55, 0.12));
  color: var(--accent);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}

.rank-main {
  display: grid;
  gap: 6px;
}

.rank-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.rank-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.rank-bar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 39, 44, 0.08);
  overflow: hidden;
}

.rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.rank-score {
  min-width: 56px;
  text-align: right;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
}

.region-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-y: auto;
  padding-right: 6px;
  align-content: start;
}

.region-grid::-webkit-scrollbar {
  width: 10px;
}

.region-grid::-webkit-scrollbar-track {
  background: rgba(18, 39, 44, 0.06);
  border-radius: 999px;
}

.region-grid::-webkit-scrollbar-thumb {
  background: rgba(15, 124, 122, 0.26);
  border-radius: 999px;
}

.region-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 124, 122, 0.4);
}

.region-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 39, 44, 0.08);
  display: grid;
  gap: 10px;
}

.region-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.region-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.region-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.region-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.region-bar {
  height: 11px;
  border-radius: 999px;
  background: rgba(18, 39, 44, 0.08);
  overflow: hidden;
}

.region-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(15, 124, 122, 0.95), rgba(212, 169, 77, 0.95));
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-mini {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 124, 122, 0.08);
  color: #0d6b69;
  font-size: 0.8rem;
}

.guide-card,
.scene-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 39, 44, 0.08);
  display: grid;
  gap: 10px;
}

.guide-title,
.scene-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.guide-fit,
.scene-audience,
.guide-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.guide-stops,
.scene-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-stop,
.scene-pick {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(224, 122, 55, 0.08);
  border: 1px solid rgba(224, 122, 55, 0.12);
  color: #8a4d23;
  font-size: 0.8rem;
}

.spot-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spot-card {
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 238, 0.92)),
    var(--panel-strong);
  border: 1px solid rgba(18, 39, 44, 0.08);
  display: grid;
  gap: 0;
  min-height: 100%;
  animation: rise 0.55s ease both;
  animation-delay: var(--delay, 0ms);
  overflow: hidden;
}

.spot-cover {
  min-height: 190px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(18, 39, 44, 0.08);
}

.spot-card-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.spot-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.spot-place {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.spot-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.25;
}

.heat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 8px 10px;
  border-radius: 16px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
}

.heat-pill.hot {
  background: linear-gradient(135deg, #ba4050, #e07a37);
}

.heat-pill.warm {
  background: linear-gradient(135deg, #d79a3c, #d6a94d);
}

.heat-pill.cool {
  background: linear-gradient(135deg, #0f7c7a, #2aa39f);
}

.heat-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 39, 44, 0.08);
  overflow: hidden;
}

.heat-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.spot-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.spot-meta-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 124, 122, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.spot-info,
.spot-note,
.spot-tip,
.spot-footer {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.spot-note strong {
  color: var(--ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.source-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.9);
}

.source-pill {
  background: rgba(15, 124, 122, 0.08);
  color: #0d6b69;
}

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

.source-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.source-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
}

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

.detail-link,
.detail-chip-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}

.detail-link:hover,
.detail-chip-link:hover {
  text-decoration: underline;
}

.spot-footer em {
  font-style: normal;
  color: var(--ink);
}

.empty-state {
  padding: 22px;
  border-radius: 16px;
  border: 1px dashed rgba(18, 39, 44, 0.18);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.footnote {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 4px 8px 12px;
  display: grid;
  gap: 4px;
}

.footnote-meta {
  color: rgba(19, 36, 40, 0.72);
  font-size: 0.76rem;
}

.detail-shell {
  display: grid;
  gap: 16px;
}

.detail-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.detail-build {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.detail-cover-wrap {
  min-height: 100%;
}

.detail-cover {
  min-height: 360px;
  height: 100%;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
}

.detail-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.detail-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.detail-summary,
.detail-stat-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-tag-row,
.detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

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

.detail-list-item,
.detail-callout {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 39, 44, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.detail-callout strong {
  color: var(--ink);
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -10px);
  }
}

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

@media (max-width: 1140px) {
  .hero,
  .split-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .spot-list,
  .detail-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .board-shell {
    width: calc(100vw - 12px);
    margin: 6px auto 12px;
    gap: 10px;
  }

  .panel,
  .hero {
    border-radius: 18px;
    padding: 16px;
  }

  .stats-grid,
  .spot-list,
  .detail-stats-grid,
  .spot-meta-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .rank-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 2;
    justify-self: end;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  .detail-cover {
    min-height: 260px;
  }
}
