/*
 * 文化展馆系列公共外壳。
 * 当前只接管已经验证一致的宽屏顶部、宽屏底部和手机顶部骨架。
 * 中等宽度与手机底部仍沿用各馆现有规则，待第三馆联调后再继续收口。
 * 本文件放在场馆样式之后加载；主题色、内容与三维展陈仍由各馆负责。
 */
@media (min-width: 1151px) {
.site-header {
  height: 105px;
  margin: 0 5.25%;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .brand-seal {
  width: 49px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 2px;
}

.site-header .brand-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 3.3px;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header .desktop-nav,
.site-header .header-right,
.site-header .museum-label {
  display: flex;
  align-items: center;
}

.site-header .museum-label {
  font-size: 10px;
  color: var(--muted);
  gap: 8px;
}

.site-header .live-dot {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
}

.site-footer {
  margin: 0 5.25%;
  padding: 26px 0 25px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 2px;
}

.site-footer .footer-mark {
  width: 34px;
  height: 43px;
}

.site-footer .footer-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-footer .footer-links {
  display: flex;
  align-items: center;
}

.site-footer .footer-home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
}

@media (max-width: 700px) {
  .site-header {
    height: 79px;
    margin: 0;
    padding: 0 22px;
  }

  .site-header .desktop-nav,
  .site-header .museum-label {
    display: none;
  }
}

/* 顶部导航在手机、横屏、平板和桌面均保持可见。 */
:root { --pavilion-header-height: 105px; }
html { scroll-padding-top: calc(var(--pavilion-header-height) + 12px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0;
  padding-inline: 5.25%;
  background-color: var(--paper);
}
@media (max-width: 1150px) {
  :root { --pavilion-header-height: 93px; }
}
@media (max-width: 700px) {
  :root { --pavilion-header-height: 79px; }
  .site-header { padding-inline: 22px; }
}
