:root {
  color-scheme: light;
  --bg: transparent;
  --panel: rgba(255, 255, 255, 0.96);
  --ink: #2f3137;
  --muted: #7a7d86;
  --line: #e4d7c2;
  --accent: #c28a42;
  --accent-soft: rgba(194, 138, 66, 0.08);
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Source Han Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
}

.section-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 36px;
}

.section-heading {
  text-align: center;
  margin: 0 0 26px;
}

.hotspots-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 28px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
  color: #2f3137;
}

.hotspots-title::before {
  right: 100%;
  margin-right: 10px;
}

.hotspots-title::after {
  left: 100%;
  margin-left: 10px;
}

.hotspots-subtitle {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 36px 20px;
  box-shadow: 0 14px 40px rgba(112, 91, 52, 0.07);
}

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

.panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

#refresh-btn {
  appearance: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: #9d6329;
  padding: 8px 18px;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

#refresh-btn:hover {
  background: var(--accent-soft);
}

.status {
  min-height: 24px;
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.hotspot-list {
  margin: 0;
  padding: 0;
}

.hotspot-card {
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
}

.hotspot-card:first-child {
  border-top: 0;
  padding-top: 8px;
}

.hotspot-heading {
  margin: 0;
  font-size: inherit;
}

.hotspot-heading a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hotspot-heading a:hover {
  color: #8b5a2a;
}

.source-title {
  margin: 7px 0 0;
  color: #555962;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.meta > * + *::before {
  content: "·";
  margin-right: 12px;
}

@media (max-width: 900px) {
  .section-shell {
    padding: 12px 12px 28px;
  }

  .panel {
    padding: 20px 20px 14px;
    border-radius: 16px;
  }
}

@media (max-width: 680px) {
  .hotspots-title {
    padding: 0 12px;
    font-size: 26px;
  }

  .hotspots-title::before,
  .hotspots-title::after {
    width: 34px;
  }

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

  .panel-title {
    font-size: 26px;
  }

  .hotspot-heading a {
    font-size: 17px;
  }
}
