.about-interest-map {
  --interest-panel: #0a1b23;
  --interest-panel-soft: #102832;
  --interest-text: #f2f8f7;
  --interest-muted: #9eb2b8;
  position: relative;
  margin: 4.5rem 0 1rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  overflow: hidden;
  color: var(--interest-text);
  background:
    radial-gradient(circle at 16% 22%, rgba(10, 163, 181, 0.17), transparent 31%),
    radial-gradient(circle at 88% 82%, rgba(218, 13, 104, 0.12), transparent 27%),
    linear-gradient(145deg, var(--interest-panel-soft), var(--interest-panel) 58%);
  border: 1px solid rgba(159, 205, 207, 0.16);
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(5, 22, 29, 0.2);
}

.about-interest-map *,
.about-interest-map *::before,
.about-interest-map *::after {
  box-sizing: border-box;
}

.about-interest-map::after {
  position: absolute;
  top: -8rem;
  right: -7rem;
  width: 19rem;
  height: 19rem;
  pointer-events: none;
  border: 1px solid rgba(165, 216, 218, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.4rem rgba(165, 216, 218, 0.025),
    0 0 0 5rem rgba(165, 216, 218, 0.018);
  content: "";
}

.about-interest-map__heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(164, 204, 206, 0.15);
}

.about-interest-map__kicker {
  display: block;
  margin-bottom: 0.65rem;
  color: #71d8d4;
  font: 800 0.65rem/1.3 Consolas, "SFMono-Regular", monospace;
  letter-spacing: 0.13em;
}

.about-interest-map__heading h2 {
  margin: 0;
  color: var(--interest-text);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.about-interest-map__heading > p {
  max-width: 37rem;
  margin: 0;
  color: var(--interest-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.about-interest-map__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem);
  gap: clamp(0.7rem, 2.2vw, 1.8rem);
  align-items: center;
}

.about-interest-map__stage {
  position: relative;
  min-width: 0;
}

.about-interest-map__chart {
  width: 100%;
  height: clamp(31rem, 57vw, 40rem);
}

.about-interest-map__fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 0.4rem;
  width: 10rem;
  color: #bed0d3;
  text-align: center;
  transform: translate(-50%, -50%);
}

.about-interest-map__fallback span {
  color: #70c8c7;
  font: 700 0.64rem/1.2 Consolas, "SFMono-Regular", monospace;
  letter-spacing: 0.2em;
}

.about-interest-map__fallback strong {
  font-size: 0.82rem;
  font-weight: 500;
}

.about-interest-map.is-ready .about-interest-map__fallback {
  display: none;
}

.about-interest-map.is-unavailable .about-interest-map__fallback {
  position: static;
  width: auto;
  padding: 5rem 1rem;
  transform: none;
}

.about-interest-map.is-unavailable .about-interest-map__fallback strong::after {
  color: #849ba2;
  content: "，请检查网络后刷新";
}

.about-interest-map__legend {
  min-width: 0;
}

.about-interest-map__hint {
  margin: 0 0 1.15rem;
  color: #839ba2;
  font-size: 0.7rem;
  line-height: 1.65;
}

.about-interest-map__hint span {
  color: #71d8d4;
}

.about-interest-map .about-interest-map__legend ol {
  margin: 0;
  padding: 0 !important;
  list-style: none !important;
}

.about-interest-map__legend li {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.15rem 0.6rem;
  min-width: 0;
  margin: 0;
  padding: 0.78rem 0 0.78rem 0.8rem;
  list-style: none !important;
  border-top: 1px solid rgba(164, 204, 206, 0.12);
}

.about-interest-map__legend li::marker {
  content: "";
}

.about-interest-map__legend li::before {
  position: absolute;
  top: 0.88rem;
  bottom: 0.88rem;
  left: 0;
  width: 2px;
  background: var(--interest-color);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--interest-color);
  content: "";
}

.about-interest-map__legend li > span {
  grid-row: 1 / 3;
  color: var(--interest-color);
  font: 700 0.62rem/1.45 Consolas, "SFMono-Regular", monospace;
  letter-spacing: 0.08em;
}

.about-interest-map__legend strong {
  min-width: 0;
  color: #ecf5f4;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.about-interest-map__legend small {
  min-width: 0;
  overflow: hidden;
  color: #82989f;
  font-size: 0.62rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-interest-map__note {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 1rem;
  color: #718990;
  font-family: "Songti SC", STSong, serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: right;
  border-top: 1px solid rgba(164, 204, 206, 0.12);
}

@media (max-width: 820px) {
  .about-interest-map__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-interest-map__chart {
    height: clamp(27rem, 88vw, 36rem);
  }

  .about-interest-map__legend {
    padding-bottom: 1rem;
  }

  .about-interest-map__hint {
    margin-bottom: 0.65rem;
  }

  .about-interest-map__legend ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 0.9rem;
  }
}

@media (max-width: 720px) {
  .about-interest-map {
    margin-top: 3rem;
    padding: 1.1rem;
    border-radius: 20px;
  }

  .about-interest-map__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding-bottom: 1.1rem;
  }

  .about-interest-map__heading > p {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .about-interest-map__chart {
    height: min(112vw, 27rem);
    min-height: 20rem;
  }

  .about-interest-map__legend ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-interest-map__legend li {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .about-interest-map__note {
    line-height: 1.55;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .about-interest-map {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .about-interest-map__legend ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-interest-map__chart {
    height: 20rem;
  }
}
