@font-face {
  font-family: system-fallback;
  src: local('Arial');
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    'Noto Sans CJK SC',
    'WenQuanYi Zen Hei',
    sans-serif;
  font-size: 14px;
  --bg: #f6f6f1;
  --paper: #fff;
  --ink: #252923;
  --muted: #83877e;
  --line: #e1e4da;
  --accent: #345c43;
  --soft: #eaf0e4;
  --side: #f0f1e9;
  --shadow: 0 16px 45px #242f2110;
}
body.dark {
  --bg: #171b18;
  --paper: #222823;
  --ink: #edf1e7;
  --muted: #9ba69b;
  --line: #363e36;
  --accent: #c8e7a8;
  --soft: #323e2e;
  --side: #1c211c;
  --shadow: 0 16px 45px #0002;
  color-scheme: dark;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #77a35b;
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  padding: 33px 22px 24px;
  background: var(--side);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  margin-top: 5px;
}
.brand-symbol {
  width: 39px;
  height: 43px;
  display: block;
  font-size: 0;
  position: relative;
}
.brand-symbol:before,
.brand-symbol:after {
  content: '';
  position: absolute;
  width: 25px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(32deg);
  top: 3px;
  left: 4px;
}
.brand-symbol:after {
  transform: rotate(-32deg);
  left: 11px;
}
.brand-symbol span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  left: 29px;
  top: 1px;
}
.side-kicker {
  font-size: 7px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin: 22px 0 33px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  margin-bottom: 4px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item > span {
  font-size: 17px;
  width: 21px;
  text-align: center;
}
.nav-item b {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
}
.nav-item:hover {
  background: var(--line);
  color: var(--ink);
}
.nav-item.active {
  background: var(--ink);
  color: var(--bg);
}
.nav-item .new-count {
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 1px 4px;
}
.nav-label {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
  margin: 29px 12px 15px;
}
.side-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.open-status {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.open-status i,
.local-badge i,
.collection-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #829568;
  display: inline-block;
}
.side-bottom p {
  font-size: 9px;
  color: var(--muted);
  margin: 10px 0 19px;
}
.text-button {
  font-size: 11px;
  padding: 0;
}
.text-button span {
  margin-left: 10px;
}
.version {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  font-size: 8px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.page {
  margin-left: 230px;
}
.topbar {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.breadcrumb {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}
.breadcrumb b {
  font-weight: 500;
  color: var(--ink);
}
.slash {
  opacity: 0.4;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.local-badge {
  font-size: 10px;
  color: var(--muted);
  margin-right: 17px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
  background: var(--bg);
}
.icon-btn:hover {
  background: var(--soft);
}
.icon-btn[aria-pressed='true'] {
  background: var(--soft);
  color: var(--accent);
}
.menu-btn {
  display: none;
}
main {
  max-width: 1560px;
  margin: auto;
  padding: 0 42px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 38px;
  padding: 47px 0 44px;
  align-items: stretch;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.hero-copy .eyebrow {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.1px;
}
.tiny-star {
  font-size: 19px;
}
.hero h1 {
  font-size: clamp(36px, 3.8vw, 64px);
  letter-spacing: -2.5px;
  font-weight: 550;
  line-height: 1.4;
  margin: 24px 0 23px;
}
.title-underline {
  position: relative;
  display: inline-block;
}
.title-underline svg {
  position: absolute;
  bottom: -7px;
  left: -5px;
  width: 100%;
  height: 16px;
  fill: none;
  stroke: #8b9d69;
  stroke-width: 2;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
  margin: 0 0 25px;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  padding: 14px 19px;
  transition: transform 0.2s;
}
.primary-btn:hover {
  transform: translateY(-2px);
}
.primary-btn > span {
  font-size: 20px;
  line-height: 10px;
}
.hero-stats {
  display: flex;
  margin-top: 30px;
  gap: 33px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}
.hero-stats strong span {
  font-family: inherit;
  font-size: 10px;
  margin-left: 6px;
  color: var(--muted);
}
.hero-stats small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
  letter-spacing: 0.5px;
}
.hero-art {
  position: relative;
  min-height: 410px;
  border-radius: 9px;
  background: #151f1c;
  overflow: hidden;
  color: #eff3d7;
}
.hero-art canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.art-label {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.1px;
  z-index: 2;
}
.art-label i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #d0eda8;
  border-radius: 50%;
  margin-right: 7px;
}
.art-label > span:last-child {
  color: #b0bda5;
}
.art-bottom {
  position: absolute;
  bottom: 23px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.art-bottom > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.art-number {
  font-family: Georgia, serif;
  font-size: 37px;
  font-style: italic;
  color: #d4e7a1;
}
.art-bottom h2 {
  font-size: 17px;
  font-weight: 400;
  margin: 0;
}
.art-bottom h2 small {
  font-size: 7px;
  letter-spacing: 1.5px;
  display: block;
  margin-top: 7px;
  color: #a5b5a0;
}
.art-arrow {
  background: #d8e9ab;
  color: #18241a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
}
.art-hint {
  position: absolute;
  top: 57px;
  left: 23px;
  font-size: 9px;
  color: #abbc9d;
}
.collection {
  border-top: 1px solid var(--line);
  padding-top: 31px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.section-heading h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 0;
  letter-spacing: -0.6px;
}
.section-heading h2 span {
  font-family: monospace;
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--muted);
  vertical-align: middle;
  margin-left: 10px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 9px 12px;
  width: 274px;
}
.search-box > span {
  font-size: 24px;
  color: var(--muted);
  line-height: 18px;
}
.search-box input {
  border: none;
  outline: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 10px;
  color: var(--ink);
}
.search-box input:focus-visible {
  outline: none;
}
.search-box:focus-within {
  border-color: var(--accent);
}
kbd {
  font-family: inherit;
  border: 1px solid var(--line);
  font-size: 9px;
  padding: 1px 5px;
  color: var(--muted);
  border-radius: 3px;
}
.filter-line {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 10px;
  border: 1px solid transparent;
  font-size: 10px;
  border-radius: 4px;
  color: var(--muted);
  white-space: nowrap;
}
.chip:hover {
  color: var(--ink);
  background: var(--soft);
}
.chip.active {
  background: var(--soft);
  border-color: #a5b39566;
  color: var(--accent);
}
.shuffle-btn {
  font-size: 15px;
  white-space: nowrap;
  color: var(--muted);
  padding: 4px;
}
.shuffle-btn span {
  font-size: 10px;
  margin-left: 4px;
}
.collection-note {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  margin: 18px 0 19px;
}
.collection-note i {
  margin-right: 5px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 19px;
}
.exhibit-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  min-width: 0;
}
.exhibit-card:hover {
  box-shadow: var(--shadow);
  border-color: #a4b396;
}
.preview-wrap {
  position: relative;
  padding: 7px 7px 0;
}
.exhibit-stage {
  height: 208px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.card-topline {
  position: absolute;
  top: 19px;
  left: 19px;
  right: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}
.exhibit-no {
  font-size: 9px;
  font-family: monospace;
  letter-spacing: 1px;
  color: #ffffff8c;
  text-shadow: 0 1px 6px #0005;
}
.light-stage .exhibit-no {
  color: #30332899;
  text-shadow: none;
}
.fav-btn {
  pointer-events: auto;
  background: #ffffff20;
  backdrop-filter: blur(10px);
  width: 26px;
  height: 26px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  font-size: 17px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.light-stage .fav-btn {
  color: #333;
  border-color: #0002;
  background: #fff4;
}
.fav-btn.selected {
  background: #e4edcd;
  color: #344531;
  border-color: #dce8bd;
}
.stage-hint {
  position: absolute;
  bottom: 11px;
  left: 17px;
  color: #ffffff9c;
  font-size: 8px;
  z-index: 2;
  pointer-events: none;
}
.light-stage .stage-hint {
  color: #353e349c;
}
.card-info {
  padding: 15px 15px 12px;
}
.card-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-info h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 0;
  letter-spacing: 0.2px;
}
.new-label {
  font-size: 6px;
  letter-spacing: 0.7px;
  border: 1px solid #a2b68b;
  border-radius: 3px;
  padding: 2px 4px;
  color: var(--accent);
}
.card-info .en-name {
  font-size: 9px;
  color: var(--muted);
  margin: 6px 0 14px;
  letter-spacing: 0.5px;
}
.card-meta {
  border-top: 1px solid var(--line);
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-label {
  font-size: 8px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.enter-lab {
  font-size: 9px;
  color: var(--accent);
  padding: 4px 0 4px 8px;
}
.enter-lab span {
  margin-left: 7px;
  font-size: 13px;
}
.load-wrap {
  text-align: center;
  margin: 32px 0 46px;
}
.secondary-btn {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 19px;
  font-size: 11px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.secondary-btn:hover {
  border-color: var(--accent);
}
.load-wrap p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 13px;
}
.empty {
  text-align: center;
  padding: 70px 0;
  color: var(--muted);
}
.empty > span {
  font-size: 40px;
}
.empty h3 {
  color: var(--ink);
}
.empty p {
  font-size: 12px;
  margin-bottom: 20px;
}
.closing {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--side);
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.closing-star {
  font-size: 53px;
  font-weight: 200;
  color: #7e916a;
}
.closing h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
}
.closing p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.closing .secondary-btn {
  margin-left: auto;
  white-space: nowrap;
  background: transparent;
}
footer {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
footer b {
  margin: 0 7px;
}
.footer-dot {
  color: #93a17c;
  margin-left: 7px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 30px 140px #0005;
  max-height: 92vh;
}
dialog::backdrop {
  background: #16201999;
  backdrop-filter: blur(8px);
}
#lab {
  width: min(1080px, 94vw);
  max-width: 94vw;
}
.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.lab-header h2 {
  font-weight: 500;
  font-size: 24px;
  margin: 8px 0 0;
}
.lab-head-actions {
  display: flex;
  gap: 10px;
}
.lab-body {
  display: grid;
  grid-template-columns: 1fr 278px;
}
.lab-left {
  padding: 0 23px 24px;
  min-width: 0;
}
.lab-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.lab-tabs button {
  padding: 17px 2px 13px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.lab-tabs button.active {
  border-color: var(--accent);
  color: var(--accent);
}
.lab-stage {
  height: 410px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.lab-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  gap: 10px;
}
.lab-toolbar > span {
  font-size: 10px;
  color: var(--muted);
}
.small-btn {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 9px;
  background: var(--paper);
}
.lab-toolbar > div {
  display: flex;
  gap: 7px;
}
.lab-controls {
  padding: 24px;
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.lab-controls h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0 8px;
}
.parameter-note {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 23px;
}
.range-label {
  display: block;
  font-size: 10px;
  margin: 0 0 17px;
}
.range-label output {
  float: right;
  color: var(--muted);
  font-family: monospace;
}
.range-label input {
  display: block;
  width: 100%;
  height: 4px;
  margin: 15px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.lab-controls > .text-button {
  font-size: 9px;
  color: var(--muted);
  margin: 0 0 22px;
}
.principle {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.principle p {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
}
.care-note {
  font-size: 9px;
  line-height: 1.8;
  background: var(--soft);
  border-radius: 4px;
  padding: 9px 10px;
  margin-top: 12px;
  color: var(--accent);
}
.next-btn {
  margin-top: 22px;
  width: 100%;
  justify-content: space-between;
}
.code-header {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 9px;
  color: var(--muted);
}
.code-header > span {
  overflow-wrap: anywhere;
}
pre {
  background: #18211d;
  color: #d4e5cc;
  padding: 22px;
  border-radius: 6px;
  height: 396px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.85;
  tab-size: 2;
  white-space: pre-wrap;
  word-break: break-word;
}
.announcement {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  padding: 13px 22px;
  z-index: 100;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.announcement.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#about {
  width: 690px;
  max-width: 92vw;
}
.about-body {
  padding: 45px;
  position: relative;
}
.about-close {
  position: absolute;
  right: 20px;
  top: 20px;
}
.about-body h2 {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.6;
  margin: 20px 0;
}
.about-body > p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.about-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0;
}
.about-grid b {
  font-size: 12px;
  font-weight: 500;
}
.about-grid p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}
.about-body .about-footnote {
  font-size: 9px;
  margin-top: 26px;
}
.mobile-shade {
  display: none;
}
body.modal-open {
  overflow: hidden;
}
body.reduce-motion *,
body.reduce-motion *:before,
body.reduce-motion *:after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001s !important;
}
@media (min-width: 1700px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-art {
    min-height: 450px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 202px;
    padding: 28px 16px;
  }
  .page {
    margin-left: 202px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 0 28px;
  }
  .hero {
    gap: 23px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-art {
    min-height: 395px;
  }
  .hero-stats {
    gap: 25px;
  }
  .gallery {
    gap: 18px 13px;
  }
  .exhibit-stage {
    height: 188px;
  }
  .chip {
    padding: 7px;
    font-size: 9px;
  }
  .shuffle-btn span {
    display: none;
  }
  .side-kicker {
    font-size: 6px;
  }
  .nav-item {
    padding: 10px 12px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 182px;
    padding: 27px 12px;
  }
  .page {
    margin-left: 182px;
  }
  main {
    padding: 0 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .brand {
    font-size: 24px;
    gap: 8px;
  }
  .brand small {
    font-size: 6px;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.7px;
  }
  .hero {
    gap: 20px;
    padding-top: 35px;
  }
  .hero-art {
    min-height: 375px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-copy .eyebrow {
    font-size: 7px;
  }
  .art-label {
    left: 15px;
    right: 15px;
    font-size: 6px;
  }
  .art-bottom {
    left: 16px;
    right: 16px;
  }
  .art-bottom h2 {
    font-size: 14px;
  }
  .art-number {
    font-size: 26px;
  }
  .art-bottom > div {
    gap: 9px;
  }
  .art-arrow {
    width: 36px;
    height: 36px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exhibit-stage {
    height: 210px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .search-box {
    width: 223px;
  }
  .local-badge {
    display: none;
  }
  .lab-body {
    grid-template-columns: 1fr 240px;
  }
  .lab-controls {
    padding: 20px;
  }
  .lab-stage {
    height: 365px;
  }
  .lab-left {
    padding: 0 18px 20px;
  }
  .closing {
    padding: 20px;
    gap: 15px;
  }
  .closing-star {
    font-size: 40px;
  }
  .closing h2 {
    font-size: 14px;
  }
  .closing p {
    max-width: 260px;
    line-height: 1.8;
  }
  .closing .secondary-btn {
    padding: 10px;
    font-size: 9px;
  }
  .side-bottom p {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s;
    width: 235px;
    padding: 30px 22px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-shade.show {
    display: block;
    position: fixed;
    inset: 0;
    background: #0005;
    z-index: 25;
  }
  .page {
    margin-left: 0;
  }
  .menu-btn {
    display: inline-flex;
    border: 0;
    width: 25px;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .breadcrumb {
    gap: 9px;
    font-size: 10px;
  }
  .breadcrumb > span:first-of-type,
  .breadcrumb .slash {
    display: none;
  }
  .top-actions {
    gap: 6px;
  }
  .icon-btn {
    width: 31px;
    height: 31px;
  }
  .brand {
    font-size: 28px;
  }
  .brand small {
    font-size: 8px;
  }
  .side-kicker {
    font-size: 7px;
  }
  .nav-item {
    padding: 12px;
  }
  .side-bottom {
    padding-top: 18px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.32;
    margin: 18px 0 24px;
  }
  .hero-copy {
    position: relative;
  }
  .hero-copy > p {
    font-size: 12px;
    margin-bottom: 19px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
  }
  .hero-stats {
    position: absolute;
    bottom: 3px;
    right: 0;
    gap: 19px;
  }
  .hero-stats strong {
    font-size: 24px;
  }
  .hero-stats strong span {
    font-size: 8px;
    margin-left: 3px;
  }
  .hero-stats small {
    font-size: 8px;
  }
  .hero-stats > div:last-child {
    display: none;
  }
  .primary-btn {
    font-size: 11px;
    padding: 13px 15px;
    gap: 22px;
  }
  .hero-art {
    min-height: 290px;
  }
  .art-label {
    font-size: 8px;
    left: 21px;
    right: 21px;
  }
  .art-hint {
    top: 49px;
    font-size: 8px;
  }
  .art-bottom {
    bottom: 20px;
    left: 22px;
    right: 22px;
  }
  .art-bottom h2 {
    font-size: 17px;
  }
  .art-number {
    font-size: 34px;
  }
  .art-arrow {
    width: 41px;
    height: 41px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .search-box {
    width: 100%;
    padding: 11px 12px;
  }
  .search-box input {
    font-size: 11px;
  }
  .filter-line {
    margin-top: 16px;
    gap: 5px;
  }
  .chips {
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1px 0 5px;
    scrollbar-width: thin;
  }
  .chip {
    padding: 8px 11px;
    font-size: 10px;
  }
  .shuffle-btn {
    padding-left: 9px;
    border-left: 1px solid var(--line);
  }
  .collection-note {
    font-size: 8px;
    margin: 15px 0;
  }
  .collection-note > span:last-child {
    display: none;
  }
  .gallery {
    gap: 15px 11px;
  }
  .exhibit-stage {
    height: 170px;
  }
  .preview-wrap {
    padding: 5px 5px 0;
  }
  .card-topline {
    top: 14px;
    left: 14px;
    right: 14px;
  }
  .fav-btn {
    width: 23px;
    height: 23px;
    font-size: 15px;
  }
  .exhibit-no {
    font-size: 8px;
  }
  .stage-hint {
    font-size: 7px;
    left: 13px;
    bottom: 9px;
  }
  .card-info {
    padding: 12px 11px 9px;
  }
  .card-info h3 {
    font-size: 12px;
  }
  .card-info .en-name {
    font-size: 8px;
    margin: 5px 0 11px;
    letter-spacing: 0;
  }
  .new-label {
    font-size: 5px;
    padding: 1px 3px;
  }
  .card-title-row {
    gap: 4px;
  }
  .category-label {
    font-size: 7px;
  }
  .category-label > span {
    display: none;
  }
  .enter-lab {
    font-size: 8px;
    padding-left: 0;
  }
  .enter-lab span {
    margin-left: 3px;
  }
  .card-meta {
    padding-top: 8px;
  }
  .closing {
    flex-wrap: wrap;
    gap: 13px;
  }
  .closing-star {
    font-size: 36px;
  }
  .closing > div {
    flex: 1;
  }
  .closing h2 {
    font-size: 14px;
  }
  .closing p {
    font-size: 9px;
  }
  .closing .secondary-btn {
    margin-left: 49px;
  }
  footer {
    font-size: 7px;
    line-height: 2;
    flex-direction: column;
    gap: 5px;
    padding: 24px 0;
  }
  .lab-header {
    padding: 20px;
  }
  .lab-header h2 {
    font-size: 20px;
  }
  .lab-body {
    grid-template-columns: 1fr;
  }
  .lab-controls {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px;
  }
  .lab-stage {
    height: 310px;
  }
  .lab-left {
    padding: 0 16px 20px;
  }
  .lab-tabs {
    margin-bottom: 14px;
  }
  .lab-controls .range-label {
    margin-bottom: 22px;
  }
  .lab-toolbar {
    align-items: center;
  }
  .about-body {
    padding: 33px 25px;
  }
  .about-body h2 {
    font-size: 28px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 23px 0;
  }
  .about-grid p {
    margin: 6px 0;
  }
  pre {
    height: 300px;
    font-size: 10px;
  }
  .announcement {
    max-width: 90%;
    width: max-content;
    font-size: 11px;
  }
  .art-bottom h2 small {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  main {
    padding: 0 14px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-stats {
    gap: 14px;
  }
  .exhibit-stage {
    height: 152px;
  }
  .card-info {
    padding: 11px 8px;
  }
  .card-info h3 {
    font-size: 11px;
  }
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar nav,
.side-bottom {
  flex-shrink: 0;
}
.release-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #a9b49366;
  background: var(--soft);
  border-radius: 6px;
  margin: 0 0 32px;
  padding: 16px 20px;
}
.release-badge {
  font: 9px monospace;
  letter-spacing: 1px;
  color: var(--accent);
  white-space: nowrap;
}
.release-strip p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.release-strip b {
  color: var(--ink);
  font-weight: 500;
  margin-right: 7px;
}
.release-strip button {
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
}
.release-strip button span {
  margin-left: 12px;
  font-size: 16px;
}
@media (max-width: 700px) {
  .release-strip {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    margin-bottom: 25px;
  }
  .release-strip p {
    flex-basis: 100%;
    font-size: 10px;
    order: 2;
  }
  .release-strip button {
    margin-left: auto;
    font-size: 9px;
  }
  .release-badge {
    font-size: 8px;
  }
}
.audio-global {
  color: var(--accent);
}
.audio-global[aria-pressed='true'] {
  color: #af6757;
  background: #af675712;
}
.sidebar .nav-item {
  padding-top: 9px;
  padding-bottom: 9px;
}
.sidebar .nav-label {
  margin-top: 21px;
  margin-bottom: 11px;
}
.sidebar .side-kicker {
  margin-bottom: 23px;
}
@media (max-width: 700px) {
  .topbar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .top-actions {
    gap: 5px;
  }
  .breadcrumb {
    font-size: 9px;
  }
  .sidebar .nav-item {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
.spec-ref {
  font: 8px monospace;
  color: var(--accent);
  opacity: 0.75;
  margin-left: 8px;
  white-space: nowrap;
}
.updated-label {
  font: 8px var(--mono);
  letter-spacing: 0.04em;
  border: 1px solid #b08d4c70;
  border-radius: 3px;
  padding: 3px 5px;
  color: #938255;
  flex: none;
}
#named-params {
  border-bottom: 1px solid var(--line);
  margin: 16px 0 20px;
  padding-bottom: 1px;
}
.named-param select {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.named-param.param-boolean {
  display: flex;
  align-items: center;
  gap: 10px;
}
.named-param.param-boolean input {
  width: 16px;
  height: 16px;
  margin: 0 0 0 auto;
}
.named-param.param-boolean output {
  position: static;
  order: 3;
}
.named-param input:focus-visible,
.named-param select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (min-width: 901px) {
  .lab-left {
    position: sticky;
    top: 0;
    align-self: start;
  }
}
