:root {
  --color-bg: #fff9f5;
  --color-bg-soft: #f0f8ff;
  --color-surface: rgba(255, 255, 255, 0.92);
  --color-surface-strong: #ffffff;
  --color-text: #5d4e60;
  --color-text-muted: #6b5c70;
  --color-text-soft: #807084;
  --color-border: #f0e6eb;
  --color-pink: #f8a5b8;
  --color-pink-soft: #ffcad4;
  --color-pink-deep: #d86680;
  --color-blue: #7bc8f6;
  --color-blue-soft: #dff4ff;
  --color-violet: #c9a0dc;
  --color-gold: #f5d76e;
  --shadow-soft: 0 18px 45px rgba(248, 165, 184, 0.15);
  --shadow-card: 0 12px 30px rgba(93, 78, 96, 0.08);
  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-pill: 9999px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(248, 165, 184, 0.12), transparent 26rem),
    radial-gradient(circle at 86% 12%, rgba(123, 200, 246, 0.12), transparent 28rem),
    linear-gradient(135deg, #fff9f5 0%, #f0f8ff 52%, #fff5f8 100%);
  color: var(--color-text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(240, 230, 235, 0.86);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1400px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-pink-soft), var(--color-blue-soft));
  border: 1px solid rgba(248, 165, 184, 0.4);
  box-shadow: inset 0 -3px 0 rgba(248, 165, 184, 0.16);
  color: var(--color-pink-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 202, 212, 0.42);
}

.nav-link.is-active {
  background: rgba(255, 202, 212, 0.55);
  border-color: rgba(248, 165, 184, 0.52);
  color: var(--color-text);
  box-shadow: inset 0 -2px 0 rgba(248, 165, 184, 0.48);
}

main {
  min-height: 70vh;
}

.hero-section {
  max-width: 1400px;
  min-height: calc(100dvh - 68px);
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 46px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.article-header h1 {
  margin: 0;
  color: var(--color-text);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  max-width: 700px;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 165, 184, 0.45);
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-pink-deep);
  font-size: 14px;
  font-weight: 800;
}

.hero-description {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 19px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, #f48fa9, #78c7f5);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(123, 200, 246, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(248, 165, 184, 0.45);
  color: var(--color-text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-stat {
  min-height: 86px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(240, 230, 235, 0.92);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.hero-stat span {
  display: block;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.hero-stat small {
  display: block;
  margin-top: 6px;
  color: var(--color-text-soft);
  font-size: 13px;
}

.hero-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  background: var(--color-surface);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 58px 24px;
}

.section.band {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1100px) / 2));
  padding-right: max(24px, calc((100vw - 1100px) / 2));
  background: rgba(255, 255, 255, 0.38);
  border-block: 1px solid rgba(240, 230, 235, 0.7);
}

.section-header {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-header h2,
.split-section h2,
.info-panel h3,
.article-content h2,
.article-content h3,
.legal h2 {
  margin: 0 0 10px;
  color: var(--color-text);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-header h2,
.split-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-header p,
.split-section p,
.page-hero p,
.article-header p,
.legal p {
  color: var(--color-text-muted);
}

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

.topic-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.topic-pill {
  min-height: 92px;
  padding: 18px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(240, 230, 235, 0.95);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, border-color 160ms ease;
}

.topic-pill:hover,
.topic-pill.is-active {
  transform: translateY(-3px);
  border-color: rgba(248, 165, 184, 0.65);
}

.topic-pill span,
.topic-pill small {
  display: block;
}

.topic-pill span {
  font-weight: 850;
}

.topic-pill small {
  margin-top: 8px;
  color: var(--color-text-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.info-panel,
.archive-tool,
.reader-layout {
  border: 1px solid rgba(240, 230, 235, 0.95);
  border-radius: var(--radius-panel);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.info-panel {
  padding: 24px;
}

.info-panel ul,
.metric-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(240, 230, 235, 0.8);
}

.info-panel li:last-child {
  border-bottom: none;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

.article-card a {
  display: flex;
  min-height: 232px;
  height: 100%;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(240, 230, 235, 0.95);
  background: var(--color-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.article-card a:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 200, 246, 0.72);
  background: rgba(255, 255, 255, 0.98);
}

.article-date,
.article-row-date {
  color: var(--color-pink-deep);
  font-size: 13px;
  font-weight: 800;
}

.article-card h3 {
  margin: 10px 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.42;
}

.article-card p {
  flex: 1;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.article-meta {
  margin-top: 16px;
  color: var(--color-text-soft);
  font-size: 13px;
}

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 76px 24px 22px;
}

.page-hero.narrow h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-text-soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-pink-deep);
}

.archive-tool {
  padding: 24px;
}

.archive-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 16px;
}

.archive-search-row label {
  display: grid;
  gap: 8px;
  color: var(--color-text-muted);
  font-weight: 800;
}

.archive-search-row input,
.archive-search-row select {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(240, 230, 235, 1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  padding: 0 14px;
  font: inherit;
}

.archive-search-row input:focus,
.archive-search-row select:focus {
  outline: 3px solid rgba(123, 200, 246, 0.24);
  border-color: rgba(123, 200, 246, 0.8);
}

.muted {
  color: var(--color-text-soft);
}

.article-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.article-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 82px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(240, 230, 235, 0.85);
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.article-row:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 165, 184, 0.72);
}

.article-row-body {
  display: grid;
  gap: 6px;
}

.article-row-body strong {
  color: var(--color-text);
}

.article-row-body small,
.article-row-meta {
  color: var(--color-text-soft);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-year {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-panel);
  border: 1px solid rgba(240, 230, 235, 0.95);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.timeline-year h2 {
  margin: 0;
  font-size: 34px;
}

.timeline-year p {
  margin: 4px 0 0;
  color: var(--color-text-soft);
}

.timeline-year ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-year li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.timeline-year a {
  color: var(--color-pink-deep);
  font-weight: 800;
  text-decoration: none;
}

.reader-layout {
  max-width: 900px;
  margin: 38px auto 72px;
  padding: 30px clamp(20px, 4vw, 48px) 52px;
}

.article-header {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(240, 230, 235, 0.95);
}

.article-header h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.article-tags a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(248, 165, 184, 0.45);
  background: rgba(255, 202, 212, 0.32);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.source-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(223, 244, 255, 0.65);
  color: var(--color-text-muted);
}

.article-content {
  padding-top: 26px;
  color: #4d4050;
  font-size: 18px;
  line-height: 1.92;
  word-break: break-word;
}

.article-content p,
.article-content ul {
  margin: 0 0 1.2em;
}

.article-content li {
  margin-bottom: 0.4em;
}

.article-content h2 {
  margin-top: 1.8em;
  font-size: 1.7rem;
}

.article-content h3 {
  margin-top: 1.5em;
  font-size: 1.35rem;
}

.legal {
  max-width: 900px;
}

.site-footer {
  border-top: 1px solid rgba(240, 230, 235, 0.9);
  background: rgba(255, 255, 255, 0.52);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: var(--color-text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

  .hero-section {
    min-height: auto;
  }

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

  .timeline-year ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 66px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-link {
    min-height: 34px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .hero-section,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .hero-stats,
  .topic-grid,
  .topic-grid.compact,
  .article-grid,
  .archive-search-row {
    grid-template-columns: 1fr;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-year {
    grid-template-columns: 1fr;
  }

  .timeline-year ul {
    grid-template-columns: 1fr;
  }

  .reader-layout {
    margin-top: 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .article-content {
    font-size: 17px;
    line-height: 1.86;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
