*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --neutral-900: #121212;
  --neutral-800: #262626;
  --neutral-700: #404040;
  --neutral-600: #525252;
  --neutral-500: #737373;
  --neutral-400: #a3a3a3;
  --neutral-300: #d4d4d4;
  --neutral-200: #e5e5e5;
  --neutral-100: #f5f5f5;
  --rose-100: #ffe4e6;
  --rose-900: #881337;
  --bg-header: rgba(252, 252, 250, 0.9);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--neutral-900);
  background-color: #fcfcfa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-sans {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 衬线体：与原网站一致的混合字体栈——拉丁字符走 Times New Roman 衬线，
   中文字符因该字体不含中文而自动 fallback 到 PingFang/雅黑 无衬线 */
.font-serif {
  font-family: 'Times New Roman', 'Times New Roman Latin', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

::selection {
  background-color: var(--rose-100);
  color: var(--rose-900);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-6 {
  top: 1.5rem;
}

.top-8 {
  top: 2rem;
}

.top-1\/2 {
  top: 50%;
}

.top-24 {
  top: 6rem;
}

.left-0 {
  left: 0;
}

.left-4 {
  left: 1rem;
}

.left-6 {
  left: 1.5rem;
}

.left-8 {
  left: 2rem;
}

.left-1\/2 {
  left: 50%;
}

.-left-4 {
  left: -1rem;
}

.right-0 {
  right: 0;
}

.right-6 {
  right: 1.5rem;
}

.right-8 {
  right: 2rem;
}

.-right-4 {
  right: -1rem;
}

.bottom-10 {
  bottom: 2.5rem;
}

.bottom-60 {
  bottom: 15rem;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

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

.grid {
  display: grid;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

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

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-y-0 > * + * {
  margin-top: 0;
}

.space-y-1\.5 > * + * {
  margin-top: 0.375rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-2\.5 > * + * {
  margin-top: 0.625rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-y-10 > * + * {
  margin-top: 2.5rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.space-y-20 > * + * {
  margin-top: 5rem;
}

.space-y-24 > * + * {
  margin-top: 6rem;
}

.space-y-36 > * + * {
  margin-top: 9rem;
}

.space-y-56 > * + * {
  margin-top: 14rem;
}

.space-y-72 > * + * {
  margin-top: 18rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-x-12 > * + * {
  margin-left: 3rem;
}

.self-start {
  align-self: flex-start;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-full {
  max-width: 100%;
}

.max-h-full {
  max-height: 100%;
}

.w-full {
  width: 100%;
}

.w-3 {
  width: 0.75rem;
}

.w-3\.5 {
  width: 0.875rem;
}

.w-4 {
  width: 1rem;
}

.w-8 {
  width: 2rem;
}

.w-16 {
  width: 4rem;
}

.h-3 {
  height: 0.75rem;
}

.h-3\.5 {
  height: 0.875rem;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.h-screen {
  height: 100vh;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.h-3 {
  height: 0.75rem;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

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

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

.col-span-3 {
  grid-column: span 3 / span 3;
}

.col-span-9 {
  grid-column: span 9 / span 9;
}

.overflow-hidden {
  overflow: hidden;
}

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

.overflow-y-auto {
  overflow-y: auto;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.scrollbar-none {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.snap-x {
  scroll-snap-type: x mandatory;
}

.snap-mandatory {
  scroll-snap-type: mandatory;
}

.snap-start {
  scroll-snap-align: start;
}

.select-none {
  -webkit-user-select: none;
  user-select: none;
}

.select-text {
  -webkit-user-select: text;
  user-select: text;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-zoom-in {
  cursor: zoom-in;
}

.cursor-zoom-out {
  cursor: zoom-out;
}

.resize-none {
  resize: none;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

.border-black-opacity {
  border-color: rgba(0, 0, 0, 0.04);
}

.border-black-opacity-02 {
  border-color: rgba(0, 0, 0, 0.02);
}

.border-black-opacity-03 {
  border-color: rgba(0, 0, 0, 0.03);
}

.border-black-opacity-04 {
  border-color: rgba(0, 0, 0, 0.04);
}

.border-black-opacity-05 {
  border-color: rgba(0, 0, 0, 0.05);
}

.border-neutral-900 {
  border-color: var(--neutral-900);
}

.bg-transparent {
  background-color: transparent;
}

.bg-black {
  background-color: #000;
}

.bg-header {
  background-color: var(--bg-header);
}

.bg-white-opacity-90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.bg-neutral-900 {
  background-color: var(--neutral-900);
}

.bg-neutral-100-opacity-30 {
  background-color: rgba(245, 245, 245, 0.3);
}

.bg-black-opacity-02 {
  background-color: rgba(0, 0, 0, 0.02);
}

.bg-black-opacity-95 {
  background-color: rgba(0, 0, 0, 0.95);
}

.bg-\[\#fcfcfa\] {
  background-color: #fcfcfa;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-16 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pt-52 {
  padding-top: 13rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pb-28 {
  padding-bottom: 7rem;
}

.pb-40 {
  padding-bottom: 10rem;
}

.pr-8 {
  padding-right: 2rem;
}

.pr-12 {
  padding-right: 3rem;
}

.pl-2 {
  padding-left: 0.5rem;
}

.-ml-2\.5 {
  margin-left: -0.625rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-20 {
  margin-top: 5rem;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.translate-y-\[2px\] {
  transform: translateY(2px);
}

.opacity-0 {
  opacity: 0;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-100 {
  opacity: 1;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.nowrap {
  white-space: nowrap;
}

.text-white {
  color: #ffffff;
}

.text-white-opacity-65 {
  color: rgba(255, 255, 255, 0.65);
}

.text-white-opacity-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-opacity-75 {
  color: rgba(255, 255, 255, 0.75);
}

.text-white-opacity-80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-white-opacity-90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-neutral-900 {
  color: var(--neutral-900);
}

.text-neutral-800 {
  color: var(--neutral-800);
}

.text-neutral-700 {
  color: var(--neutral-700);
}

.text-neutral-600 {
  color: var(--neutral-600);
}

.text-neutral-500 {
  color: var(--neutral-500);
}

.text-neutral-400 {
  color: var(--neutral-400);
}

.text-neutral-300 {
  color: var(--neutral-300);
}

.text-neutral-100 {
  color: var(--neutral-100);
}

.text-\[9px\] {
  font-size: 9px;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.leading-\[1\.1\] {
  line-height: 1.1;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-\[0\.15em\] {
  letter-spacing: 0.15em;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.tracking-\[0\.25em\] {
  letter-spacing: 0.25em;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.3em;
}

.grayscale-0 {
  filter: grayscale(0%);
}

.grayscale-8 {
  filter: grayscale(8%);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.duration-750 {
  transition-duration: 750ms;
}

.duration-2000ms {
  transition-duration: 2000ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-\[2000ms\] {
  transition-duration: 2000ms;
}

.duration-\[750ms\] {
  transition-duration: 750ms;
}

.transition-all {
  transition-property: all;
}

.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke;
}

.transition-opacity {
  transition-property: opacity;
}

.transition-transform {
  transition-property: transform;
}

.group:hover .group-hover\:scale-103 {
  transform: scale(1.03);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:grayscale-0 {
  filter: grayscale(0%);
}

.group:hover .group-hover\:bg-transparent {
  background-color: transparent;
}

.group:hover .group-hover\:text-white {
  color: #ffffff;
}

.group:hover .group-hover\:text-neutral-800 {
  color: var(--neutral-800);
}

.group:hover .group-hover\:text-neutral-900 {
  color: var(--neutral-900);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group-btn:hover .group-hover-btn\:text-white {
  color: #ffffff;
}

.group-track:hover .group-hover-track\:opacity-100 {
  opacity: 1;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:font-bold:hover {
  font-weight: 700;
}

.hover\:bg-neutral-900:hover {
  background-color: var(--neutral-900);
}

.hover\:bg-white-opacity-hover:hover {
  background-color: rgba(245, 245, 245, 1);
}

.hover\:text-white:hover {
  color: #ffffff;
}

.hover\:text-neutral-800:hover {
  color: var(--neutral-800);
}

.hover\:text-neutral-900:hover {
  color: var(--neutral-900);
}

.hover\:text-neutral-400:hover {
  color: var(--neutral-400);
}

.hover\:text-white:hover {
  color: #fff;
}

.sidebar-btn {
  color: var(--neutral-400);
}

.sidebar-btn:hover {
  color: var(--neutral-800);
}

.sidebar-btn.active {
  color: var(--neutral-900);
  font-weight: 700;
  border-left: 2px solid var(--neutral-900);
  padding-left: 0.5rem;
  margin-left: -0.625rem;
}

.sidebar-btn.active span:first-child {
  opacity: 1;
}

.scroll-btn:hover {
  background-color: var(--neutral-900);
  color: white;
}

.left-3 {
  left: 0.75rem;
}

.right-3 {
  right: 0.75rem;
}

.right-4 {
  right: 1rem;
}

.w-9 {
  width: 2.25rem;
}

.h-9 {
  height: 2.25rem;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.bg-white-opacity-95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.border-black-opacity-06 {
  border-color: rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.w-\[270px\] {
  width: 270px;
}

.w-\[338px\] {
  width: 338px;
}

.w-\[480px\] {
  width: 480px;
}

.w-\[600px\] {
  width: 600px;
}

.h-\[360px\] {
  height: 360px;
}

.h-\[450px\] {
  height: 450px;
}

.last\:border-b-0:last-child {
  border-bottom-width: 0;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.image-card img {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.image-card img.loaded {
  opacity: 1;
  transform: scale(1);
}

.image-card .loading-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(245, 245, 245, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.image-card .loading-overlay.hidden {
  display: none;
}

.image-card .loading-overlay span {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.25em;
  color: var(--neutral-400);
}

.hero-bg-fill {
  transform: scale(1.15);
  filter: blur(40px) brightness(0.85);
  -webkit-filter: blur(40px) brightness(0.85);
  z-index: 0;
}

/* 横屏：封面容器严格贴合 16:9 图片比例（按实际渲染宽度，自动排除滚动条），整体位于常驻导航栏下方，上下不留模糊边带 */
#hero-section {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: var(--header-h, 63px);
}

/* 超宽屏：高度封顶到导航栏以下的一屏，宽度按 16:9 自适应居中 */
@media (min-aspect-ratio: 16/9) and (orientation: landscape) {
  #hero-section {
    width: auto;
    height: calc(100vh - var(--header-h, 63px));
    margin-inline: auto;
  }
}

/* 竖屏（手机/竖屏平板）：封面占满导航栏以下全部高度，空隙由模糊背景层填充 */
@media (orientation: portrait) {
  #hero-section {
    aspect-ratio: auto;
    width: 100%;
    height: calc(100vh - var(--header-h, 63px));
    margin-inline: 0;
  }
}

.hero-image {
  transform: scale(1);
  z-index: 1;
}

/* 封面浮层：文字阴影，保证标签与 ENTER GALLERY 在浅色画面上依然清晰 */
.hero-top-label {
  z-index: 2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-enter {
  z-index: 3;
}

.hero-enter #btn-scroll-hero {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hero-enter #btn-scroll-hero svg {
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55));
}

#site-header.scrolled {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .md\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .md\:space-x-12 > * + * {
    margin-left: 3rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:gap-12 {
    gap: 3rem;
  }

  .md\:gap-16 {
    gap: 4rem;
  }

  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

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

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-9 {
    grid-column: span 9 / span 9;
  }

  .md\:sticky {
    position: sticky;
  }

  .md\:top-24 {
    top: 6rem;
  }

  .md\:border-b-0 {
    border-bottom-width: 0;
  }

  .md\:border-r {
    border-right-width: 1px;
  }

  .md\:pb-0 {
    padding-bottom: 0;
  }

  .md\:pr-8 {
    padding-right: 2rem;
  }

  .md\:pr-12 {
    padding-right: 3rem;
  }

  .md\:pt-16 {
    padding-top: 4rem;
  }

  .md\:pt-52 {
    padding-top: 13rem;
  }

  .md\:pb-20 {
    padding-bottom: 5rem;
  }

  .md\:pb-40 {
    padding-bottom: 10rem;
  }

  .md\:space-y-32 > * + * {
    margin-top: 8rem;
  }

  .md\:space-y-56 > * + * {
    margin-top: 14rem;
  }

  .md\:space-y-72 > * + * {
    margin-top: 18rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-\[13px\] {
    font-size: 13px;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:h-\[450px\] {
    height: 450px;
  }

  .md\:w-\[338px\] {
    width: 338px;
  }

  .md\:w-\[600px\] {
    width: 600px;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:left-4 {
    left: 1rem;
  }

  .md\:right-4 {
    right: 1rem;
  }

  .md\:w-10 {
    width: 2.5rem;
  }

  .md\:h-10 {
    height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .lg\:gap-16 {
    gap: 4rem;
  }

  .lg\:space-y-72 > * + * {
    margin-top: 18rem;
  }

  .lg\:pr-12 {
    padding-right: 3rem;
  }
}

.md\:col-span-3 {
  grid-column: span 3 / span 3;
}

.md\:col-span-9 {
  grid-column: span 9 / span 9;
}

.md\:self-start {
  align-self: flex-start;
}

.md\:border-b-0 {
  border-bottom: 0;
}

.md\:border-r {
  border-right-width: 1px;
}

.md\:pb-0 {
  padding-bottom: 0;
}

.md\:pr-8 {
  padding-right: 2rem;
}

.lg\:pr-12 {
  padding-right: 3rem;
}

/* ===== 2026日历 / Calendar Section ===== */
.calendar-section {
  scroll-margin-top: 6rem;
  margin-top: 6rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.calendar-inner {
  width: 100%;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.calendar-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.calendar-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--neutral-900);
  font-family: 'Times New Roman', 'Times New Roman Latin', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.025em;
}

.calendar-date {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--neutral-400);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.calendar-cell {
  width: 100%;
  min-width: 0;
}

.calendar-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 0.75 / 1;
  background: transparent;
  cursor: zoom-in;
  transition: opacity 0.5s ease;
}

.calendar-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.calendar-card img.loaded {
  opacity: 1;
}

.calendar-card .loading-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(245, 245, 245, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.calendar-card .loading-overlay.hidden {
  display: none;
}

.calendar-card .loading-overlay span {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.25em;
  color: var(--neutral-400);
}

@media (min-width: 768px) {
  .calendar-section {
    margin-top: 9rem;
    gap: 4rem;
  }

  .calendar-inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .calendar-title {
    font-size: 1.5rem;
    line-height: 2rem;
    padding-left: 150px;
  }

  .calendar-date {
    padding-left: 150px;
  }

  .calendar-grid {
    gap: 3rem;
  }

  .calendar-cell:first-child {
    padding-left: 150px;
  }

  .calendar-cell:last-child {
    padding-right: 150px;
  }
}

@media (min-width: 1024px) {
  .calendar-section {
    margin-top: 11rem;
  }

  .calendar-inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .calendar-grid {
    gap: 4rem;
  }
}

/* ===== Lightbox（与原站一致的浅色档案灯箱） ===== */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(252, 252, 250, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  animation: lb-fade 0.3s ease both;
}

.lb-overlay.hidden {
  display: none;
}

@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.lb-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

#lightbox-title {
  font-family: 'Times New Roman', 'Times New Roman Latin', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--neutral-900);
  text-transform: uppercase;
}

#lightbox-close {
  padding: 0.625rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--neutral-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#lightbox-close:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--neutral-900);
}

.lb-body {
  position: relative;
  flex: 1 1 0%;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60vh;
  max-height: 70vh;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 229, 229, 0.5);
  color: var(--neutral-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#lightbox-prev { left: 0; }
#lightbox-next { right: 0; }

#lightbox-prev:hover,
#lightbox-next:hover {
  background-color: var(--neutral-900);
  border-color: var(--neutral-900);
  color: #fff;
}

.lb-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lb-media {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lb-pop 0.4s ease-out both;
}

@keyframes lb-pop {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

#lightbox-image {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#lightbox-image.loaded {
  opacity: 1;
}

.lb-loading {
  position: absolute;
  inset: 0;
  background-color: rgba(245, 245, 245, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.lb-loading.hidden {
  display: none;
}

.lb-loading span {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  color: var(--neutral-400);
}

.lb-meta {
  width: 100%;
  max-width: 64rem;
  margin: auto auto 0;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  font-size: 12px;
  animation: lb-rise 0.4s ease 0.05s both;
}

@keyframes lb-rise {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.lb-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lb-meta-label {
  font-size: 10px;
  font-family: 'Times New Roman', 'Times New Roman Latin', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-meta-label-muted {
  color: var(--neutral-400);
}

.lb-meta-label-lower {
  text-transform: none;
}

.lb-meta-date {
  font-family: 'Times New Roman', 'Times New Roman Latin', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: var(--neutral-800);
  font-weight: 500;
}



@media (min-width: 768px) {
  .lb-overlay {
    padding: 3rem;
  }

  .lb-body {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #lightbox-prev { left: 1rem; }
  #lightbox-next { right: 1rem; }

  .lb-stage {
    padding: 3rem;
  }

  #lightbox-image {
    max-height: 56vh;
  }

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

/* Footer: 两个 SECTIONS 按钮各占一行，确保 GALLERY 换行与 COVER 对齐 */
#footer-cover,
#btn-cover,
#btn-gallery {
  display: block;
  width: 100%;
}
