/* web.wpsju.com.cn · 第5套 · 博物馆展厅 / 说明牌 */
:root {
  --lime: #d8d2c8;
  --lime-deep: #cfc7bb;
  --hall: #2c241c;
  --hall-soft: #3a3128;
  --copper: #8a7348;
  --copper-light: #b79a62;
  --copper-pale: #cbb892;
  --ivory: #f7f3ea;
  --ivory-dim: #efe8d8;
  --ink: #2c241c;
  --mute: #5c5348;
  --line: #b7aa90;
  --danger: #7a3b2e;
  --ok: #3d5a3a;
  --shadow: rgba(44, 36, 28, 0.16);
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--hall);
  color: var(--ink);
  font-family: "Palatino Linotype", Palatino, "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  font-size: 17px;
  line-height: 1.82;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--copper);
}

a:hover {
  color: #6e5a35;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

::selection {
  background: #cbb892;
  color: var(--hall);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 40;
  background: var(--ivory);
  color: var(--hall);
  padding: 8px 14px;
  border: 2px solid var(--copper);
}

.site-bar {
  background: #241d16;
  color: var(--ivory);
  border-bottom: 3px solid var(--copper);
}

.site-bar__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand svg {
  width: 34px;
  height: 34px;
  color: var(--copper-light);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ivory-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: #d8d0c2;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  padding: 6px 0 8px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--ivory);
  border-bottom-color: var(--copper-pale);
}

.nav a.is-current,
.nav a[aria-current="page"] {
  color: var(--ivory);
  border-bottom-color: var(--copper-light);
}

.vestibule {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(247, 243, 234, 0.11), transparent 48%),
    radial-gradient(ellipse at 18% 80%, rgba(138, 115, 72, 0.16), transparent 36%),
    linear-gradient(180deg, #32281f 0%, #2c241c 55%, #241d16 100%);
  color: var(--ivory);
  padding: 64px 0 56px;
  border-bottom: 8px solid var(--copper);
}

.vestibule__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.exhibit-meta {
  margin: 0 0 18px;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  color: var(--copper-pale);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.38;
  font-weight: 700;
  max-width: 18em;
}

.vestibule .lead {
  margin: 0 0 16px;
  max-width: 46em;
  color: #efe6d4;
  font-size: 1.02rem;
}

.curator {
  display: flex;
  flex-wrap: wrap;
  margin: 28px 0 8px;
  border: 2px solid var(--copper);
  background: rgba(36, 29, 22, 0.55);
  box-shadow: inset 0 0 0 1px rgba(203, 184, 146, 0.35);
}

.curator__cell {
  flex: 1 1 200px;
  padding: 16px 20px;
  border-right: 1px solid rgba(138, 115, 72, 0.45);
}

.curator__cell:last-child {
  border-right: 0;
}

.curator__cell span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--copper-pale);
  margin-bottom: 6px;
}

.curator__cell strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ivory);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.wall {
  padding: 64px 0 60px;
  position: relative;
}

.wall--lime {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(44, 36, 28, 0.028) 0 1px,
      transparent 1px 18px
    ),
    linear-gradient(180deg, #ddd6cc 0%, #d8d2c8 42%, #d3ccc1 100%);
  color: var(--ink);
}

.wall--hall {
  background:
    radial-gradient(ellipse at 70% 10%, rgba(247, 243, 234, 0.06), transparent 40%),
    linear-gradient(180deg, #32281f 0%, #2c241c 50%, #261f18 100%);
  color: var(--ivory);
}

.wall--lime + .wall--lime,
.wall--hall + .wall--hall {
  box-shadow: inset 0 1px 0 rgba(44, 36, 28, 0.08);
}

.wall__rail {
  height: 10px;
  background: linear-gradient(180deg, #a8905c, #8a7348 55%, #6f5b38);
  box-shadow: 0 8px 16px rgba(44, 36, 28, 0.12);
}

.wall--hall .wall__rail {
  background: linear-gradient(180deg, #c4a56a, #8a7348 60%, #5c4b2e);
}

.wall__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.wall-no {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--copper);
}

.wall--hall .wall-no {
  color: var(--copper-pale);
}

.wall h2 {
  margin: 0 0 10px;
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
  line-height: 1.4;
  font-weight: 700;
  max-width: 22em;
}

.wall--lime h2 {
  color: var(--hall);
}

.wall--hall h2 {
  color: var(--ivory);
}

.wall-kicker {
  margin: 0 0 22px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--mute);
}

.wall--hall .wall-kicker {
  color: #cfc3ad;
}

.plaque {
  background: var(--ivory);
  color: var(--ink);
  border: 3px solid var(--copper);
  box-shadow:
    inset 0 0 0 1px #cbb892,
    0 18px 36px var(--shadow);
  padding: 28px 32px 30px;
  position: relative;
}

.plaque::before,
.plaque::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--copper-light);
  background: transparent;
}

.plaque::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.plaque::after {
  bottom: 8px;
  right: 8px;
  border-left: 0;
  border-top: 0;
}

.plaque p {
  margin: 0 0 14px;
}

.plaque p:last-child {
  margin-bottom: 0;
}

.plaque h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
  color: var(--hall);
}

.plaque h3:first-child {
  margin-top: 0;
}

.plaque-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--mute);
}

.ticket {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 14px;
  background: var(--ivory-dim);
  border: 1px solid var(--line);
}

.ticket:last-of-type {
  margin-bottom: 0;
}

.ticket__stub {
  flex: 0 0 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--hall);
  color: var(--ivory);
  text-align: center;
  border-right: 2px dashed var(--copper-pale);
}

.ticket__stub svg {
  width: 26px;
  height: 26px;
  color: var(--copper-light);
}

.ticket__stub b {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.ticket__body {
  flex: 1 1 auto;
  padding: 16px 18px 18px;
}

.ticket__body h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.ticket__body p {
  margin: 0 0 12px;
  color: var(--mute);
  font-size: 0.95rem;
}

.ticket__body p:last-child {
  margin-bottom: 0;
}

.catalog {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fffdf7;
}

.catalog th,
.catalog td {
  border: 1px solid #c9b896;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.catalog th {
  background: #efe4cc;
  color: var(--hall);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.catalog td strong {
  color: var(--hall);
}

.table-scroll {
  overflow-x: auto;
  margin: 8px 0 16px;
}

.exhibit {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e0d6c4;
}

.exhibit:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.exhibit h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.exhibit h3 svg {
  width: 22px;
  height: 22px;
  color: var(--copper);
  flex-shrink: 0;
}

.guest {
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid #d7cbb4;
}

.guest:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.guest header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.guest h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.guest footer {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--mute);
}

.req {
  margin: 0;
  padding: 0;
}

.req dt {
  margin: 16px 0 6px;
  font-weight: 700;
  color: var(--hall);
}

.req dt:first-child {
  margin-top: 0;
}

.req dd {
  margin: 0;
  color: var(--mute);
}

.step {
  display: flex;
  gap: 16px;
  margin: 0 0 18px;
  align-items: flex-start;
}

.step:last-of-type {
  margin-bottom: 0;
}

.step__no {
  flex: 0 0 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--copper);
  color: var(--copper);
  font-weight: 700;
  background: #fffdf7;
}

.step__body h3 {
  margin: 0 0 6px;
}

.step__body p {
  margin: 0;
  color: var(--mute);
}

.faq-list {
  margin-top: 4px;
}

.faq-list details {
  border-bottom: 1px solid #e0d6c4;
  padding: 12px 0;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--hall);
  list-style: none;
  padding-left: 22px;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--copper);
  background: transparent;
}

.faq-list details[open] summary::before {
  background: var(--copper);
}

.faq-list details p {
  margin: 10px 0 4px 22px;
  color: var(--mute);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--hall);
  color: var(--ivory);
  text-decoration: none;
  border: 2px solid var(--hall);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn:hover {
  background: #3a3128;
  color: #fff;
}

.btn--copper {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--ivory);
}

.btn--copper:hover {
  background: #6f5b38;
  border-color: #6f5b38;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--hall);
  border-color: var(--copper);
}

.btn--ghost:hover {
  background: #efe4cc;
  color: var(--hall);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-label {
  display: inline;
}

.site-foot {
  background: #1d1813;
  color: #cfc3ad;
  padding: 32px 0 40px;
  border-top: 3px solid var(--copper);
}

.site-foot__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-foot p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.site-foot p:last-child {
  margin-bottom: 0;
}

.site-foot .safe {
  color: var(--ivory);
}

.lamp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--copper-pale);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.lamp svg {
  width: 18px;
  height: 18px;
}

.call {
  margin: 22px 0 0;
  padding: 16px 18px;
  background: #efe4cc;
  border-left: 4px solid var(--copper);
  color: var(--hall);
}

.wall--hall .call {
  background: rgba(247, 243, 234, 0.08);
  color: var(--ivory);
  border-left-color: var(--copper-light);
}

.mark {
  color: var(--danger);
  font-size: 0.92rem;
}

.ok {
  color: var(--ok);
}

@media (max-width: 900px) {
  .site-bar__inner,
  .vestibule__inner,
  .wall__inner,
  .site-foot__inner {
    width: calc(100% - 36px);
  }

  .vestibule {
    padding: 48px 0 40px;
  }

  .wall {
    padding: 48px 0 44px;
  }

  .plaque {
    padding: 22px 20px 24px;
  }

  .curator__cell {
    flex: 1 1 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(138, 115, 72, 0.45);
  }

  .curator__cell:last-child {
    border-bottom: 0;
  }

  .ticket {
    flex-direction: column;
  }

  .ticket__stub {
    flex-basis: auto;
    flex-direction: row;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 2px dashed var(--copper-pale);
    padding: 12px 16px;
  }

  .catalog th,
  .catalog td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 16px;
    gap: 12px;
    width: calc(100% - 24px);
  }

  .vestibule__inner,
  .wall__inner,
  .site-foot__inner {
    width: calc(100% - 24px);
  }

  .nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav a {
    letter-spacing: 0.1em;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 1.45rem;
  }

  .wall h2 {
    font-size: 1.18rem;
  }

  .plaque {
    padding: 18px 14px 20px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .step {
    gap: 12px;
  }

  .step__no {
    flex-basis: 40px;
    height: 40px;
  }

  .faq-list summary,
  .faq-list details p {
    padding-left: 0;
    margin-left: 0;
  }

  .faq-list details p {
    margin-left: 0;
  }
}
