:root {
  --bg: #eef2ed;
  --panel: #f8faf7;
  --panel-strong: #ffffff;
  --panel-soft: #f2f6f1;
  --text: #1f2c25;
  --muted: #5f6e65;
  --line: #d9e2da;
  --line-strong: #c9d5cc;
  --primary: #234230;
  --primary-soft: #e4eee6;
  --accent: #936373;
  --shadow-sm: 0 8px 22px rgba(26, 42, 33, 0.05);
  --shadow-md: 0 16px 40px rgba(26, 42, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, #edf2ec 0%, #e8efe9 54%, #eef3ef 100%);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(201, 213, 204, 0.8);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand span {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--primary);
  font: inherit;
}

.page-shell {
  padding: 24px 0 56px;
}

.hero-band,
.topic-hero,
.variety-hero,
.private-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.topic-hero-copy,
.variety-copy,
.private-hero > div,
.topic-intro {
  min-width: 0;
}

.hero-copy h1,
.topic-hero-copy h1,
.variety-copy h1,
.private-hero h1,
.topic-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lead,
.section-heading p,
.detail-card p,
.catalog-body p,
.gallery-feature-body p,
.private-hero p,
.topic-intro p,
.timeline-item p,
.overview-card p,
.fact-chip span {
  color: var(--muted);
}

.eyebrow,
.kicker,
.metric {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-actions,
.tag-row,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
}

.button-primary {
  background: var(--primary);
  color: #f6faf7;
}

.button-secondary {
  background: var(--panel-strong);
  color: var(--primary);
  border-color: var(--line-strong);
}

.hero-visual,
.topic-hero img,
.variety-image {
  min-width: 0;
}

.hero-visual > img,
.hero-stack img,
.topic-hero img,
.variety-image,
.catalog-card img,
.gallery-feature img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-visual > img,
.variety-image,
.topic-hero img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: 20px;
}

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.hero-stack img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.facts-band,
.overview-grid,
.catalog-grid,
.card-grid,
.gallery-grid,
.stats-grid,
.list-grid {
  display: grid;
  gap: 16px;
}

.facts-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.fact-chip {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
}

.fact-chip strong {
  font-size: 24px;
  line-height: 1;
  color: var(--primary);
}

.overview-grid,
.card-grid-3,
.gallery-grid-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-grid-2,
.gallery-grid-2,
.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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

.overview-card,
.content-panel,
.detail-card,
.catalog-card,
.stat-card,
.auction-card,
.gallery-card,
.gallery-feature,
.topic-intro {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
}

.overview-card,
.detail-card,
.stat-card,
.auction-card,
.gallery-card,
.gallery-feature {
  padding: 18px;
}

.content-panel,
.topic-intro {
  margin-top: 20px;
}

.content-panel,
.topic-intro {
  padding: 22px;
}

.topic-hero-copy,
.topic-intro {
  max-width: none;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading-compact {
  margin-bottom: 14px;
}

.section-heading h2,
.topic-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
  font-weight: 700;
}

.overview-card h2,
.detail-card h3,
.catalog-body h3,
.gallery-feature-body h3,
.variety-copy .subhead,
.stat-card strong,
.auction-card h3 {
  margin: 0 0 10px;
}

.overview-card h2,
.catalog-body h3,
.gallery-feature-body h3,
.detail-card h3 {
  font-size: 20px;
  line-height: 1.32;
  font-weight: 700;
}

.catalog-card {
  overflow: hidden;
  padding: 0;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.catalog-body {
  padding: 16px 16px 18px;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.gallery-feature {
  overflow: hidden;
  padding: 0;
}

.gallery-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.gallery-feature-body {
  padding: 16px;
}

.large-gallery img {
  aspect-ratio: 16 / 10;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

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

.timeline-item {
  padding: 14px 16px;
  border-left: 3px solid rgba(147, 99, 115, 0.7);
  background: rgba(248, 250, 247, 0.92);
  border-radius: 0 12px 12px 0;
}

.tag {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}

.viewer-line {
  margin-top: 8px;
  color: var(--primary);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.35);
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--primary);
  font-weight: 700;
}

.auction-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}

.auction-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-card {
  grid-template-columns: 1fr;
}

.item-hero {
  grid-template-columns: 1fr;
}

.subhead {
  color: var(--muted);
  font-size: 15px;
}

.save-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.save-form label {
  display: grid;
  gap: 8px;
  color: var(--primary);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  color: var(--text);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

.empty-state {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .hero-band,
  .topic-hero,
  .variety-hero,
  .private-hero,
  .facts-band,
  .overview-grid,
  .overview-grid-2,
  .card-grid-3,
  .card-grid-2,
  .catalog-grid,
  .gallery-grid-2,
  .gallery-grid-4,
  .stats-grid,
  .list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand span {
    font-size: 22px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .page-shell {
    padding-top: 18px;
  }

  .hero-copy h1,
  .topic-hero-copy h1,
  .variety-copy h1,
  .private-hero h1,
  .topic-intro h1 {
    font-size: 34px;
  }

  .content-panel,
  .topic-intro {
    padding: 18px;
  }

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

  .auction-card {
    grid-template-columns: 1fr;
  }
}
