/* BubbledotICG-FinePos via OnlineWebFonts, licensed under CC BY 4.0. */
@font-face {
  font-family: "BubbledotICG-FinePos";
  src: url("fonts/BubbledotICG-FinePos.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --ink: #f5f7fb;
  --muted: #888c94;
  --line: rgba(255, 255, 255, 0.15);
  --line-soft: rgba(255, 255, 255, 0.07);
  --panel: #050608;
  --cyan: #36d9ff;
  --cyan-bright: #9eeeff;
  --accent: #c8ff33;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-cn: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "BubbledotICG-FinePos", "Inter", monospace;
  --header-h: 46px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.site-header {
  position: fixed;
  inset: clamp(16px, 2.5vh, 26px) clamp(16px, 3vw, 42px) auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: auto;
  height: var(--header-h);
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(4, 6, 9, 0.28);
  color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, color 0.3s ease;
}

.brand-mark i {
  color: var(--cyan);
  font-size: 11px;
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.brand-mark:hover {
  border-color: rgba(54, 217, 255, 0.36);
  color: #fff;
  transform: translateY(-1px);
}

.nav-pill {
  display: flex;
  height: var(--header-h);
  align-items: center;
  gap: 2px;
  justify-self: center;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 6, 9, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  min-width: 78px;
  padding: 11px 17px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link.is-active::after {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: -4px 0 var(--cyan), 4px 0 var(--cyan), 0 0 8px rgba(54, 217, 255, 0.8);
  content: "";
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.checkin-link {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(200, 255, 51, 0.15), 0 0 26px rgba(200, 255, 51, 0.22);
  color: #0b0d08;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.checkin-link:hover {
  transform: translateY(-2px);
  background: #d7ff68;
  box-shadow: 0 0 0 1px rgba(200, 255, 51, 0.3), 0 0 34px rgba(200, 255, 51, 0.36);
}

.checkin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0c0e09;
  box-shadow: 0 0 0 4px rgba(12, 14, 9, 0.1);
  animation: dotPulse 1.8s ease-in-out infinite;
}

.checkin-en {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: var(--header-h);
  height: var(--header-h);
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(13, 14, 17, 0.82);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 88px 16px 16px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(8px);
}

.mobile-menu-sheet {
  display: grid;
  width: min(100%, 520px);
  gap: 3px;
  margin: 0 auto;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: #f5f5f2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  color: #0b0c0e;
}

.mobile-menu-label {
  margin: 0 0 16px;
  color: #777a80;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mobile-menu-sheet a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu-sheet a span {
  color: #878a90;
  font-family: var(--font-display);
  font-size: 12px;
}

.mobile-menu-sheet button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px 18px;
  border: 0;
  border-radius: 999px;
  background: #101215;
  color: #fff;
  cursor: pointer;
}

.hero-panel {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  background: #000;
}

.video-fallback,
.bg-video,
.video-shade,
.hero-grid,
.hero-data-canvas {
  position: absolute;
  inset: 0;
}

.video-fallback {
  z-index: -4;
  background: #000 url("1/ChatGPT Image 2026年8月14日 13_03_16 (1).png") center 28% / cover no-repeat;
  filter: saturate(0.75) brightness(0.58);
}

.bg-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.video-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.25));
}

.hero-grid {
  z-index: -1;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 38%, black 75%, transparent 100%);
}

.hero-data-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  padding: 8vh 0 4vh;
  text-align: center;
  will-change: transform, opacity;
}

.hero-title {
  margin: 0;
  text-shadow: 0 4px 38px rgba(0, 0, 0, 0.25);
}

.hero-title > span {
  display: block;
  will-change: transform, opacity;
}

.title-cn {
  font-family: var(--font-cn);
  font-size: clamp(52px, 8.5vw, 126px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.title-en {
  margin-top: clamp(10px, 1.5vh, 18px);
  font-family: "BubbledotICG-FinePos", monospace;
  font-size: clamp(28px, 5.15vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--cyan-bright);
  text-shadow: 0 0 28px rgba(54, 217, 255, 0.26);
}

.hero-copy {
  width: min(570px, 92%);
  margin: clamp(22px, 3vh, 34px) auto 0;
  color: rgba(239, 241, 244, 0.76);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-top: clamp(22px, 3.3vh, 40px);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 18px 14px 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 24px rgba(255, 255, 255, 0.26), 0 0 48px rgba(255, 255, 255, 0.08);
  color: #08090b;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.primary-cta i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #101215;
  color: #fff;
  font-size: 10px;
}

.primary-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 34px rgba(255, 255, 255, 0.36), 0 0 60px rgba(255, 255, 255, 0.14);
}

.scroll-cue {
  position: absolute;
  right: 16px;
  bottom: 44%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.scroll-cue i {
  display: block;
  width: 46px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-cue i::after {
  display: block;
  width: 50%;
  height: 100%;
  background: #fff;
  content: "";
  animation: scrollLine 1.8s ease-in-out infinite;
}

.archive-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(100px, 12vh, 132px) clamp(20px, 5vw, 76px) clamp(20px, 4vh, 42px);
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 89, 255, 0.14), transparent 34%),
    radial-gradient(circle at 18% 74%, rgba(54, 217, 255, 0.07), transparent 24%),
    #020305;
}

.archive-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(84, 131, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 131, 255, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 76%);
}

.archive-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, transparent 0 8.3vw, rgba(255, 255, 255, 0.023) 8.3vw calc(8.3vw + 1px));
  content: "";
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 48px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.section-kicker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--cyan);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-cn);
  font-size: clamp(32px, 4.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.section-title-en {
  margin: 8px 0 0;
  color: var(--cyan-bright);
  font-family: "BubbledotICG-FinePos", monospace;
  font-size: clamp(18px, 2.3vw, 34px);
  letter-spacing: -0.015em;
}

.section-intro {
  max-width: 440px;
  margin: 0 0 2px;
  padding-left: 18px;
  border-left: 1px solid var(--cyan);
  color: rgba(255, 255, 255, 0.53);
  font-size: 13px;
  line-height: 1.8;
}

.data-rail {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  gap: 30px;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.data-rail-left { left: 16px; transform: translateY(-34%) rotate(180deg); }
.data-rail-right { right: 16px; transform: translateY(-34%); }

.carousel-shell {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 360px;
  margin: 1vh -3vw 0;
  outline: none;
  cursor: grab;
  perspective: 1500px;
  touch-action: pan-y;
}

.carousel-shell:active {
  cursor: grabbing;
}

.carousel-shell:focus-visible {
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--cyan);
}

.poster-orbit {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.poster-card {
  position: absolute;
  top: 54%;
  left: 50%;
  width: clamp(158px, 16vw, 244px);
  aspect-ratio: 1086 / 1448;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #06080c;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.56);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.poster-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.28), transparent 18%, transparent 74%, rgba(54, 217, 255, 0.18));
  content: "";
  pointer-events: none;
}

.poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.poster-caption {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  z-index: 3;
  display: flex;
  width: max-content;
  max-width: 190%;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: left;
  pointer-events: none;
  transform: translate(-50%, 7px) scale(0.94);
  transform-origin: center bottom;
  opacity: 0.3;
  transition: color 0.45s ease, opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.caption-index {
  padding-right: 11px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.45s ease, border-color 0.45s ease;
}

.caption-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.caption-name b {
  overflow: hidden;
  font-family: var(--font-cn);
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caption-name small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.055em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.45s ease;
}

.poster-card.is-active {
  border-color: rgba(91, 221, 255, 0.86);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(54, 217, 255, 0.25), 0 0 36px rgba(0, 111, 255, 0.22);
}

.poster-card.is-active .poster-caption {
  color: var(--cyan-bright);
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.poster-card.is-active .caption-index {
  border-color: rgba(200, 255, 51, 0.44);
  color: var(--accent);
}

.poster-card.is-active .caption-name small {
  color: rgba(158, 238, 255, 0.68);
}

.poster-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.orbit-lines {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(86vw, 1180px);
  aspect-ratio: 2.9 / 1;
  border: 1px solid rgba(54, 217, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg);
  transform-style: preserve-3d;
}

.orbit-lines::before,
.orbit-lines::after,
.orbit-lines i {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(54, 217, 255, 0.08);
  border-radius: inherit;
  content: "";
}

.orbit-lines::after { inset: 20%; }
.orbit-lines i:nth-child(1) { inset: 30%; }
.orbit-lines i:nth-child(2) { inset: -2%; border-style: dashed; }
.orbit-lines i:nth-child(3) { inset: 42%; background: rgba(54, 217, 255, 0.4); filter: blur(16px); }

.carousel-footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.drag-hint {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.32);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.drag-hint i { margin-right: 8px; }

.carousel-controls {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.carousel-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.carousel-controls button:hover {
  border-color: var(--cyan);
  background: rgba(54, 217, 255, 0.12);
  transform: scale(1.07);
}

.gallery-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(100px, 12vh, 132px) clamp(20px, 5vw, 76px) clamp(24px, 4vh, 42px);
  background:
    radial-gradient(circle at 92% 12%, rgba(200, 255, 51, 0.1), transparent 23%),
    radial-gradient(circle at 4% 86%, rgba(90, 0, 255, 0.14), transparent 27%),
    #070708;
}

.gallery-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.018) 5px 6px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: auto, 12.5vw 100%;
}

.gallery-heading .section-title-en {
  color: var(--accent);
}

.gallery-heading .section-intro {
  border-left-color: var(--accent);
}

.exhibition-grid {
  display: grid;
  flex: 1;
  min-height: 360px;
  grid-template-columns: 1.2fr 0.9fr 1.05fr 0.85fr;
  grid-template-rows: 1fr 0.75fr;
  gap: 10px;
  margin-top: clamp(24px, 4vh, 46px);
}

.exhibit-slot {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 54%),
    rgba(255, 255, 255, 0.018);
  outline: none;
  will-change: transform, opacity;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.exhibit-slot::before {
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(200, 255, 51, 0.1), transparent);
  content: "";
  transition: transform 0.9s ease;
}

.exhibit-slot:hover::before,
.exhibit-slot:focus-visible::before {
  transform: translateY(200%);
}

.exhibit-slot:hover,
.exhibit-slot:focus-visible {
  z-index: 2;
  border-color: rgba(200, 255, 51, 0.58);
  background: rgba(200, 255, 51, 0.045);
  transform: translateY(-4px);
}

.slot-a { grid-row: 1 / 3; }
.slot-b { grid-column: 2 / 4; }
.slot-e { grid-column: 4; grid-row: 1 / 3; }

.slot-id,
.slot-type {
  position: absolute;
  top: 15px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.slot-id { left: 16px; color: var(--accent); }
.slot-type { right: 16px; }

.slot-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.slot-cross::before,
.slot-cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.22);
  content: "";
  transform: translate(-50%, -50%);
}

.slot-cross::before { width: 62px; height: 1px; }
.slot-cross::after { width: 1px; height: 62px; }

.exhibit-slot h3 {
  position: relative;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.exhibit-slot p {
  position: relative;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gallery-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.66);
}

.gallery-footer .icp-link {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0;
  transition: color 0.25s ease;
}

.gallery-footer .icp-link:hover {
  color: rgba(255, 255, 255, 0.78);
}

.checkin-dialog {
  width: min(470px, calc(100% - 32px));
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 255, 51, 0.14), transparent 32%),
    #0b0d0f;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.68);
  color: #fff;
}

.checkin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.dialog-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.checkin-dialog h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.checkin-dialog > p:not(.dialog-kicker) {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.checkin-placeholder {
  display: grid;
  min-height: 160px;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  border: 1px dashed rgba(200, 255, 51, 0.32);
  background: rgba(200, 255, 51, 0.025);
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.checkin-placeholder i {
  color: var(--accent);
  font-size: 54px;
}

.dialog-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.dialog-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb649;
  box-shadow: 0 0 10px rgba(255, 182, 73, 0.7);
}

@keyframes dotPulse {
  50% { box-shadow: 0 0 0 7px rgba(12, 14, 9, 0.03); }
}

@keyframes scrollLine {
  from { transform: translateX(-120%); }
  to { transform: translateX(250%); }
}

@media (max-width: 900px) {
  :root { --header-h: 48px; }

  .nav-pill { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .checkin-en { display: none; }
  .checkin-link { min-height: 48px; padding: 0 14px; }

  .hero-content { padding-bottom: 4vh; }
  .title-cn { font-size: clamp(46px, 10.6vw, 82px); }
  .title-en { font-size: clamp(26px, 6.8vw, 50px); }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-intro { max-width: 560px; }
  .data-rail { display: none; }

  .carousel-shell { margin-right: -8vw; margin-left: -8vw; }
  .poster-card { width: clamp(150px, 24vw, 216px); }
  .exhibition-grid { grid-template-columns: 1fr 1fr 1fr; }
  .slot-a { grid-row: 1 / 3; }
  .slot-b { grid-column: 2 / 4; }
  .slot-e { display: none; }
}

@media (max-width: 650px) {
  html { scroll-snap-type: y proximity; }

  :root { --header-h: 42px; }

  .site-header {
    inset: 12px 12px auto;
    gap: 8px;
  }

  .brand-mark {
    gap: 7px;
    padding: 0 10px;
  }

  .brand-mark span { font-size: 9px; }
  .header-actions { gap: 6px; }
  .checkin-link { min-height: var(--header-h); gap: 7px; padding: 0 11px; font-size: 12px; }
  .menu-toggle { width: var(--header-h); height: var(--header-h); }
  .checkin-link .fa-arrow-up-right-from-square { display: none; }
  .hero-content { width: calc(100% - 28px); padding: 10vh 0 4vh; }
  .title-cn { font-size: clamp(40px, 12.8vw, 62px); line-height: 1.05; }
  .title-en {
    margin-top: 12px;
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.02;
    white-space: nowrap;
  }
  .hero-copy { margin-top: 20px; font-size: 12px; line-height: 1.7; }
  .hero-actions { margin-top: 22px; }

  .scroll-cue { display: none; }

  .archive-panel {
    padding: 78px 14px 12px;
  }

  .gallery-panel {
    padding: 88px 16px 20px;
  }

  .section-kicker { font-size: 8px; }
  .section-heading h2 { font-size: clamp(31px, 9vw, 44px); }
  .section-title-en { font-size: clamp(18px, 5.7vw, 28px); }
  .section-intro { display: none; }

  .archive-heading {
    gap: 4px;
  }

  .archive-heading .section-kicker {
    margin-bottom: 5px;
  }

  .archive-heading .section-title-en {
    margin-top: 3px;
  }

  .carousel-shell {
    min-height: 0;
    margin: -4px -14px 0;
    perspective: 1100px;
  }

  .poster-card {
    top: 49%;
    width: clamp(168px, 54vw, 216px);
  }
  .poster-caption { bottom: calc(100% + 10px); max-width: 180%; gap: 8px; }
  .caption-index { padding-right: 8px; font-size: 7px; }
  .caption-name b { font-size: 13px; }
  .caption-name small { font-size: 7px; }
  .orbit-lines { top: 49%; width: 148vw; }

  .carousel-footer {
    grid-template-columns: 1fr auto;
    padding-top: 9px;
  }

  .drag-hint { display: none; }
  .exhibition-grid {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(130px, 1fr));
    gap: 7px;
    margin-top: 22px;
  }

  .slot-a,
  .slot-b,
  .slot-c,
  .slot-d {
    grid-column: auto;
    grid-row: auto;
  }

  .slot-a { grid-row: 1 / 3; }
  .slot-b { grid-column: 2; }
  .slot-c { grid-column: 2; }
  .slot-d { grid-column: 1 / 3; }
  .exhibit-slot { padding: 12px; }
  .slot-id, .slot-type { top: 10px; font-size: 7px; }
  .slot-id { left: 10px; }
  .slot-type { right: 10px; }
  .exhibit-slot h3 { font-size: 15px; }
  .gallery-footer > span { display: none; }
  .gallery-footer { justify-content: space-between; gap: 12px; }
  .gallery-footer .icp-link { margin-left: 0; font-size: 10px; }
}

@media (max-height: 720px) and (min-width: 651px) {
  .hero-content { padding-top: 10vh; padding-bottom: 4vh; }
  .hero-copy { margin-top: 15px; line-height: 1.5; }
  .hero-actions { margin-top: 16px; }
  .archive-panel,
  .gallery-panel { padding-top: 88px; padding-bottom: 18px; }
  .section-heading h2 { font-size: clamp(30px, 3.8vw, 54px); }
  .carousel-shell { min-height: 310px; }
  .poster-card { width: clamp(140px, 14vw, 196px); }
  .exhibition-grid { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
