@font-face {
  font-family: "Jianwu Song";
  src: url("assets/fonts/jianwu-serif.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Gallery";
  src: url("assets/fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf7f2;
  --paper-deep: #f1ece4;
  --ink: #231e19;
  --muted: #675f56;
  --bronze: #795131;
  --gold: #d9b178;
  --line: #d8cfc2;
  --serif: "Jianwu Song", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --italic: "Cormorant Gallery", Georgia, "Times New Roman", serif;
  --gutter: clamp(22px, 3.55vw, 76px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.has-dialog { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: transparent; border: 0; padding: 0; }
button:disabled { cursor: default; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; font-weight: 550; }
img { display: block; max-width: 100%; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #a3652c; outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: #d8bc8c; color: #1e1813; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 15; top: -100px; left: 16px; padding: 9px 16px; background: var(--paper); }
.skip-link:focus { top: 10px; }
main { min-height: 55vh; }
main:focus:not(:focus-visible) { outline: none; }
.shell { width: min(100% - var(--gutter) * 2, 1650px); margin-inline: auto; }
.glyph, .header-tools svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; display: block; flex: none; }
.site-header { background: var(--paper); border-bottom: 1px solid rgba(78,51,29,.13); position: relative; z-index: 2; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; min-height: clamp(68px,5vw,82px); }
.brand, .brand-label, .primary-nav, .header-tools, .hero-indicator, .slide-dots, .slide-turn,
.text-link, .ticket-link, .outlined, .dark-link, .bookmark-label, .selects, .card-meta, .show-meta, .guide-identity { display: inline-flex; align-items: center; }
.brand { justify-self: start; gap: 14px; color: #38291e; white-space: nowrap; }
.brand-mark { width: 34px; height: 43px; object-fit: contain; }
.brand-name { font: 650 clamp(1.95rem,2.3vw,2.45rem)/1 var(--serif); letter-spacing: .09em; }
.brand-label { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-left: 4px; border-left: 1px solid #968a7e; padding-left: clamp(12px,1.45vw,23px); }
.brand-label > span { font: 550 .94rem/1.25 var(--serif); letter-spacing: .14em; }
.brand-label small { font: 400 .68rem/1.1 Georgia, serif; text-transform: uppercase; letter-spacing: .115em; }
.primary-nav { justify-self: center; gap: clamp(28px,4.2vw,64px); }
.primary-nav a { padding: 17px 2px; position: relative; font: 500 1.12rem/1.45 var(--serif); letter-spacing: .075em; }
.primary-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: .07em; bottom: 5px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.primary-nav a[aria-current="page"]::after, .primary-nav a:hover::after { transform: scaleX(1); }
.header-tools { justify-self: end; gap: 12px; }
.icon-control { width: 42px; height: 44px; display: inline-grid; place-items: center; position: relative; color: var(--ink); }
.icon-control:hover { color: var(--bronze); }
.header-tools svg { width: 24px; height: 24px; }
.header-saved[aria-current="page"] svg { fill: #e6dccb; stroke: var(--bronze); }
.save-count { position: absolute; top: 1px; right: -1px; font: 600 .65rem/16px var(--sans); min-width: 16px; height: 16px; border-radius: 10px; padding: 0 3px; text-align: center; background: var(--bronze); color: white; }
.hero { isolation: isolate; min-height: 424px; height: clamp(424px,31.2vw,600px); width: 100%; position: relative; overflow: hidden; color: #fbf4e9; background: #241a12; }
.hero-frame, .hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene { object-fit: cover; object-position: center 49%; }
.hero-copy { position: absolute; top: 46.4%; left: max(6.05vw,calc((100vw - 1550px)/2)); transform: translateY(-50%); max-width: 51%; }
.hero-copy h1 { font-size: clamp(4.3rem,6.02vw,7rem); font-weight: 450; letter-spacing: .06em; line-height: 1.27; margin-left: -.035em; }
.hero-english { font: italic 500 clamp(2.1rem,3.22vw,3.9rem)/1.12 var(--italic); letter-spacing: .012em; color: var(--gold); margin-top: 2px; }
.hero-line { font: 450 clamp(1rem,1.31vw,1.35rem)/1.7 var(--serif); letter-spacing: .05em; margin: clamp(16px,1.3vw,25px) 0 clamp(22px,1.8vw,33px); }
.ticket-link { justify-content: center; gap: .72em; font: 550 1.1rem/1.4 var(--serif); letter-spacing: .12em; color: #2c2116; background: #f0e6d7; min-height: 47px; padding: 11px 28px; box-shadow: 0 1px 7px #0002; transition: background .18s; }
.ticket-link:hover { background: #fffaf2; }
.hero-foot { position: absolute; left: max(6.05vw,calc((100vw - 1550px)/2)); right: var(--gutter); bottom: clamp(16px,1.5vw,26px); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero-indicator, .slide-turn { pointer-events: auto; }
.hero-indicator { gap: clamp(12px,1.6vw,25px); }
.hero-count { font: 400 .96rem/1.25 Georgia,serif; letter-spacing: .1em; color: #ddcdbb; font-variant-numeric: tabular-nums; }
.hero-count b { font-weight: 500; color: #fff6e7; }
.hero-count span { padding: 0 .36em; color: #b29c85; }
.slide-dots { gap: 6px; }
.slide-dots button { width: clamp(25px,2.8vw,44px); height: 38px; display: grid; align-items: center; }
.slide-dots i { display: block; height: 2px; background: #f4e8d859; }
.slide-dots [aria-pressed="true"] i { background: #faf1df; height: 3px; }
.slide-turn { gap: 11px; }
.slide-turn button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #fff2dcce; border-radius: 50%; background: #221c1538; color: white; transition: background .18s; }
.slide-turn button:hover { background: #211911aa; }
.hero-frame.changed { animation: reveal .32s ease-out; }
@keyframes reveal { from { opacity: .56; } to { opacity: 1; } }
.home-collection { padding-top: clamp(26px,2.1vw,42px); padding-bottom: clamp(50px,5vw,86px); }
.section-head, .catalog-head, .catalog-filters, .results-line, .station-footer, .detail-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.title-group { display: flex; align-items: baseline; gap: clamp(12px,1.3vw,24px); flex-wrap: wrap; }
.title-group h2 { font-size: clamp(1.9rem,2.55vw,2.65rem); font-weight: 550; letter-spacing: .045em; }
.english-title, .show-english, .object-english { font-family: var(--italic); font-weight: 500; font-style: italic; color: #805d40; }
.english-title { font-size: clamp(1.35rem,1.65vw,1.8rem); line-height: 1.15; }
.text-link { color: #493a2b; font: 500 .97rem/1.5 var(--serif); letter-spacing: .025em; gap: 8px; text-underline-offset: 4px; }
.text-link:hover { color: var(--bronze); text-decoration: underline; }
.browse-all { white-space: nowrap; }
.category-bar { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(20px,2.95vw,48px); }
.category-bar button { min-height: 39px; font: 500 1rem/1.35 var(--serif); padding: 6px 2px 9px; position: relative; letter-spacing: .075em; }
.category-bar button:not(:last-child)::after { content: "/"; position: absolute; color: #a69480; right: calc(clamp(20px,2.95vw,48px) / -2 - 2px); top: 50%; transform: translateY(-54%); font: italic .95rem Georgia,serif; }
.category-bar button::before { content: ""; left: 0; right: 0; bottom: 0; position: absolute; height: 2px; background: transparent; }
.category-bar button[aria-pressed="true"]::before { background: var(--bronze); }
.category-bar button:hover { color: var(--bronze); }
.home-collection > .category-bar { margin: 5px 0 clamp(16px,1.25vw,21px); }
.object-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(26px,2.6vw,46px) clamp(14px,1.35vw,26px); }
.object-card { min-width: 0; }
.card-photo { position: relative; isolation: isolate; aspect-ratio: 1.49; background: #ded7cd; }
.photo-link, .detail-image { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.studio-back { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.photo-link img, .actual-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .37s ease; }
.photo-link:hover img { transform: scale(1.035); }
.bookmark-control { display: inline-flex; align-items: center; justify-content: center; }
.bookmark-icon { position: absolute; top: 3px; right: 4px; height: 38px; width: 38px; z-index: 1; color: #30271f; }
.bookmark-icon::before { content: ""; position: absolute; inset: 5px; z-index: -1; border-radius: 50%; background: #f8f4ebbf; transition: background .18s; }
.bookmark-icon:hover::before { background: #fffaf4; }
.bookmark-control[aria-pressed="true"] .glyph { fill: #805630; stroke: #805630; }
.bookmark-label { border: 1px solid var(--line); color: var(--bronze); padding: 7px 11px; gap: 5px; font-size: .9rem; white-space: nowrap; min-height: 38px; }
.object-card h3 { margin-top: 10px; font-size: clamp(1.03rem,1.32vw,1.4rem); font-weight: 550; letter-spacing: .025em; }
.object-card h3 a:hover { color: var(--bronze); }
.card-meta, .show-meta, .guide-identity { gap: 9px; color: var(--muted); }
.card-meta { line-height: 1.5; margin-top: 4px; font-size: .865rem; flex-wrap: wrap; gap: 3px 8px; }
.card-meta i, .guide-identity i, .show-meta i { width: 1px; height: .82em; background: #bfb3a4; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; }
.footer-wordmark { font: 600 1.55rem/1.2 var(--serif); letter-spacing: .1em; display: inline-flex; align-items: center; }
.footer-wordmark span { font: 400 .87rem/1.3 var(--sans); letter-spacing: .045em; padding-left: 15px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: .86rem; color: var(--muted); }
.footer-inner nav :is(a,button):hover { color: var(--bronze); text-decoration: underline; text-underline-offset: 4px; }
.inner-page { padding-block: clamp(32px,3.5vw,62px) clamp(55px,6vw,100px); }
.inner-page .title-group h1 { font-size: clamp(2.5rem,3.85vw,4.45rem); font-weight: 550; letter-spacing: .045em; }
.inner-page .title-group .english-title { font-size: clamp(1.65rem,2.25vw,2.55rem); }
.catalog-head { padding-bottom: 24px; border-bottom: 1px solid #b6a99a; align-items: flex-end; }
.catalog-head .title-group { flex-direction: column; gap: 0; }
.catalog-search, .dialog-input { display: flex; align-items: center; gap: 9px; border: 1px solid #bdb1a3; background: transparent; color: var(--muted); }
.catalog-search { width: min(360px,35%); padding: 0 13px; }
.catalog-search input, .dialog-input input { background: transparent; border: 0; width: 100%; min-width: 0; outline: 0; font: 400 .96rem/1.5 var(--sans); color: var(--ink); padding: 12px 0; }
.catalog-search:focus-within, .dialog-input:focus-within { outline: 2px solid var(--bronze); outline-offset: 1px; }
.catalog-search input::placeholder, .dialog-input input::placeholder { color: #756c63; }
.catalog-filters { padding-top: 20px; }
.page-note { color: var(--muted); margin-top: 12px; }
.selects { gap: 9px; }
.select-wrap { display: inline-flex; align-items: center; position: relative; }
.select-wrap select { appearance: none; background: none; border: 1px solid #c0b5a7; padding: 8px 31px 8px 11px; border-radius: 0; cursor: pointer; font: 400 .9rem/1.4 var(--sans); }
.select-wrap .glyph { position: absolute; pointer-events: none; right: 10px; }
.results-line { justify-content: flex-start; font-size: .86rem; color: var(--muted); gap: 13px; min-height: 44px; padding: 5px 0; }
.clear-filter { text-decoration: underline; text-underline-offset: 3px; color: var(--bronze); }
.empty-state { grid-column: 1/-1; padding: 64px 20px; display: grid; justify-items: center; text-align: center; gap: 12px; border-top: 1px solid var(--line); }
.empty-state > .glyph { color: var(--bronze); }
.empty-state h2 { font-size: 1.55rem; }
.empty-state p, .error-page p { color: var(--muted); }
.dark-link, .outlined { min-height: 40px; gap: 6px; padding: 8px 16px; border: 1px solid #b9ad9d; font: 500 .94rem/1.4 var(--serif); letter-spacing: .03em; justify-content: center; }
.dark-link { color: #faf6ed; background: #433324; border-color: #433324; }
.dark-link:hover { background: #5b422e; }
.outlined:hover { background: var(--paper-deep); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: clamp(24px,2.5vw,43px); flex-wrap: wrap; }
.breadcrumbs .glyph { opacity: .65; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #4b3b2d; }
.shows-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,35px); margin-top: clamp(27px,3vw,50px); }
.show-image { display: block; aspect-ratio: 1.33; overflow: hidden; background: #31271f; }
.show-image img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; transition: transform .3s ease; }
.show-card:nth-child(2) .show-image img { object-position: 79% 50%; }
.show-image:hover img { transform: scale(1.025); }
.show-meta { font-size: .84rem; margin: 17px 0 6px; }
.show-card h2 { font-size: clamp(1.65rem,2.3vw,2.7rem); }
.show-english { font-size: 1.65rem; line-height: 1.2; margin-top: 2px; }
.show-line { color: #5f554b; line-height: 1.8; margin: 13px 0 18px; }
.exhibit-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 5%; align-items: center; }
.exhibit-intro .title-group { display: block; }
.exhibit-intro .english-title { display: block; margin-top: 2px; }
.exhibit-intro > p { line-height: 1.9; color: #5c5147; max-width: 42em; }
.stop-list { display: flex; flex-wrap: wrap; margin: 30px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 0 clamp(16px,3vw,48px); }
.stop-list a { display: inline-flex; align-items: baseline; gap: 9px; position: relative; padding: 12px 2px; font: 500 .96rem/1.55 var(--serif); }
.stop-list a span { font: italic 500 1.08rem var(--italic); color: #80694f; }
.stop-list [aria-current="step"] { box-shadow: inset 0 -2px var(--bronze); color: #6a4629; }
.guided-spread, .detail-spread { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: clamp(28px,4vw,76px); align-items: start; }
.guide-photo { --stage-h: clamp(360px,35vw,570px); position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; height: var(--stage-h); background: #d4cdc5; }
.pin-frame { width: min(100%,calc(var(--stage-h) * var(--photo-ratio))); aspect-ratio: var(--photo-ratio); position: relative; }
.pin-frame img { width: 100%; height: 100%; }
.photo-pin { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; }
.photo-pin span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #fdf9ef; border: 1px solid #5c4029; font: 600 .78rem/1 var(--sans); color: #563b26; box-shadow: 0 1px 5px #2011065c; }
.photo-pin[aria-pressed="true"] span { background: #583d28; color: #fff9ed; border-color: #f7f0e3; outline: 3px solid #fff8e67d; }
.photo-expand { position: absolute; bottom: 11px; right: 11px; color: #35271c; background: #faf7f0ee; border: 1px solid #c2b4a2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; font: 500 .85rem/1.5 var(--sans); }
.guide-text { padding-top: 5px; }
.station-count { color: var(--muted); font-size: .86rem; letter-spacing: .1em; }
.station-count span { margin: 0 8px; color: #aa9985; }
.guide-text h2 { margin: 8px 0; font-size: clamp(1.8rem,2.7vw,3.1rem); }
.guide-identity { font-size: .91rem; flex-wrap: wrap; }
.reading { font-size: 1rem; line-height: 1.95; color: #463e37; }
.guide-text .reading { margin: 16px 0 19px; }
.pin-reading { border-top: 1px solid var(--line); padding-top: 16px; }
.pin-reading h3, .look-note h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.pin-choices { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 8px; }
.pin-choices button { border: 1px solid #bbad9c; border-radius: 2px; padding: 5px 10px; font: 500 .88rem/1.4 var(--sans); }
.pin-choices [aria-pressed="true"] { color: #fff9ed; background: #68503a; border-color: #68503a; }
.pin-reading p { color: #5b5147; line-height: 1.85; min-height: 3.7em; }
.guide-text > .text-link { margin-top: 15px; }
.station-footer { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 23px; }
.station-footer > span { color: var(--muted); font-size: .82rem; }
.station-footer > div { display: flex; gap: 9px; }
.detail-image { height: clamp(390px,39vw,600px); background: #d4cec5; cursor: zoom-in; }
.detail-image .actual-photo { min-height: 0; }
.photo-credit { font-size: .8rem; line-height: 1.75; color: var(--muted); margin-top: 8px; overflow-wrap: anywhere; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.detail-title { align-items: flex-start; gap: 10px; }
.detail-title h1 { font-size: clamp(2.05rem,3.05vw,3.85rem); line-height: 1.4; overflow-wrap: anywhere; }
.detail-title .bookmark-label { flex: none; margin-top: 4px; }
.object-english { font-size: clamp(1.35rem,1.85vw,2.2rem); line-height: 1.23; margin: 6px 0 17px; overflow-wrap: anywhere; }
.detail-summary { border-top: 1px solid #b9ac9c; padding-top: 15px; margin-bottom: 17px; }
.metadata > div { display: grid; grid-template-columns: 5.5em minmax(0,1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .94rem; line-height: 1.65; }
.metadata dt { color: #574a3d; font-weight: 500; }
.metadata dd { overflow-wrap: anywhere; }
.source-link { margin-top: 16px; }
.look-note { display: grid; grid-template-columns: minmax(110px,.25fr) minmax(0,1.75fr); max-width: 1200px; align-items: start; gap: 22px; background: var(--paper-deep); border-left: 2px solid #9a7756; padding: 20px 24px; margin-top: 31px; }
.look-note h2 { padding-top: 2px; }
.look-note p { line-height: 1.85; color: #4e443b; }
.related { margin-top: clamp(38px,4.5vw,68px); }
.related .section-head { margin-bottom: 19px; }
.about-body { max-width: 850px; margin: 34px 0; }
.about-body section { margin: 0 0 29px; }
.about-body h2 { font-size: 1.45rem; margin-bottom: 10px; }
.about-body p { line-height: 1.95; color: #50463d; }
.museum-list { padding: 0; list-style: none; margin: 15px 0; border-top: 1px solid var(--line); }
.museum-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.museum-list strong { font: 550 1.05rem var(--serif); }
.museum-list div > span { display: block; color: var(--muted); font: italic 500 1.12rem/1.35 var(--italic); }
.museum-list .text-link { flex: none; font-size: .9rem; }
.error-page p { margin: 13px 0 18px; }
dialog { color: var(--ink); border: none; }
dialog::backdrop { background: #211a14a8; }
.search-dialog { padding: 0; top: 8vh; bottom: auto; width: min(610px,calc(100% - 38px)); max-height: 84dvh; background: var(--paper); box-shadow: 0 22px 90px #1c170f47; }
.search-panel { padding: clamp(20px,2.15vw,34px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.dialog-head h2 { font-size: 1.85rem; }
.dialog-input { padding: 0 13px; }
.quick-label { color: var(--muted); font-size: .87rem; margin: 18px 0 7px; }
.quick-list { list-style: none; padding: 0; margin: 0; }
.quick-row { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 13px; align-items: center; border-bottom: 1px solid var(--line); min-height: 66px; padding: 6px 0; }
.quick-row:hover { background: var(--paper-deep); }
.quick-row img { width: 57px; height: 52px; object-fit: contain; background: #e9e3da; }
.quick-row strong { font: 550 1.03rem var(--serif); }
.quick-row small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.quick-all { margin-top: 18px; }
.quick-empty { padding: 18px 0; color: var(--muted); }
.viewer-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-height: none; max-width: none; padding: 0; margin: 0; background: #201d1a; color: #f4eee5; }
.viewer-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.viewer-head, .viewer-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px clamp(16px,3vw,52px); background: #292420; }
.viewer-head h2 { font-size: clamp(1.06rem,1.65vw,1.5rem); }
.viewer-head p, .viewer-foot > span { font-size: .8rem; color: #d0c2b1; }
.viewer-head .icon-control { color: white; }
.viewer-stage { width: 100%; height: 100%; overflow: hidden; position: relative; outline-offset: -5px; touch-action: none; user-select: none; cursor: zoom-in; }
.viewer-stage.zoomed { cursor: grab; }
.viewer-stage.dragging { cursor: grabbing; }
.viewer-stage img { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; transform-origin: center; pointer-events: none; user-select: none; }
.viewer-controls { display: flex; align-items: center; gap: 6px; }
.viewer-controls button { width: 42px; height: 40px; color: #fff7ec; display: grid; place-items: center; border: 1px solid #766b60; }
.viewer-controls button:disabled { color: #8f8479; border-color: #534b44; }
.viewer-controls output { font: 400 .92rem var(--sans); min-width: 53px; text-align: center; }
.viewer-controls [data-zoom="reset"] { width: auto; padding: 0 10px; display: flex; align-items: center; gap: 5px; font-size: .85rem; }
.notice { position: fixed; z-index: 6; bottom: 25px; left: 50%; transform: translate(-50%,9px); padding: 9px 19px; border-radius: 2px; color: #fffbf4; background: #32271eea; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .16s,transform .16s; text-align: center; max-width: 90%; }
.notice.visible { opacity: 1; transform: translate(-50%,0); }
.no-script { padding: 35px; }
@media (min-width: 1900px) {
  .hero { height: min(32vw,740px); }
}
@media (max-width: 1020px) {
  .header-inner { gap: 14px; }
  .primary-nav { gap: 24px; }
  .hero { height: max(380px,37vw); min-height: 380px; }
  .hero-copy { left: var(--gutter); }
  .hero-foot { left: var(--gutter); }
  .hero-copy h1 { font-size: clamp(3.6rem,6.8vw,4.6rem); }
  .hero-line { font-size: .97rem; letter-spacing: .01em; }
  .brand { gap: 9px; }
  .brand-label { padding-left: 11px; margin-left: 3px; }
  .brand-label > span { font-size: .84rem; }
  .brand-label small { font-size: .6rem; }
  .guided-spread { gap: 23px; }
  .catalog-filters { align-items: flex-start; }
  .detail-spread { gap: 24px; }
}
@media (max-width: 800px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: .96rem; }
  .header-tools { gap: 0; }
  .hero-copy { max-width: 50%; }
  .object-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 17px; }
  .exhibit-intro { grid-template-columns: 1fr; gap: 14px; }
  .guided-spread, .detail-spread { grid-template-columns: 1fr 1fr; gap: 20px; }
  .detail-title { flex-wrap: wrap; }
  .station-footer { align-items: flex-start; }
  .catalog-filters { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 700px) {
  html { scrollbar-gutter: auto; }
  :root { --gutter: clamp(17px,4.7vw,30px); }
  .header-inner { grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 58px 40px; column-gap: 10px; row-gap: 0; }
  .brand { grid-row: 1; grid-column: 1; }
  .brand-mark { width: 27px; height: 34px; }
  .brand-name { font-size: 1.65rem; }
  .brand-label { padding-left: 11px; }
  .brand-label > span { font-size: .77rem; }
  .brand-label small { font-size: .57rem; }
  .header-tools { grid-row: 1; grid-column: 2; }
  .header-tools .icon-control { width: 36px; }
  .header-tools svg { width: 21px; height: 21px; }
  .primary-nav { grid-row: 2; grid-column: 1/-1; justify-self: start; height: 100%; gap: 27px; align-items: stretch; }
  .primary-nav a { padding: 6px 0 9px; font-size: .96rem; }
  .primary-nav a::after { bottom: 0; }
  .hero { height: auto; min-height: 0; background: #211810; }
  .hero[data-theme="tables"] { background: #292820; }
  .hero[data-theme="cabinets"] { background: #230f12; }
  .hero-frame { position: relative; height: auto; inset: auto; }
  .hero-scene { position: relative; width: 100%; height: clamp(204px,57vw,318px); object-position: 77% 49%; }
  .hero[data-theme="tables"] .hero-scene { object-position: 83% center; }
  .hero[data-theme="cabinets"] .hero-scene { object-position: 80% center; }
  .hero-copy { position: relative; top: auto; left: auto; transform: none; max-width: none; padding: 14px var(--gutter) 0; }
  .hero-copy h1 { font-size: clamp(2.7rem,9.3vw,4.25rem); line-height: 1.24; letter-spacing: .06em; }
  .hero-english { font-size: clamp(1.64rem,5.7vw,2.35rem); margin-top: 2px; }
  .hero-line { font-size: .96rem; margin: 9px 0 14px; line-height: 1.7; }
  .ticket-link { min-height: 40px; padding: 8px 17px; font-size: .91rem; }
  .ticket-link .glyph { width: 20px; }
  .hero-foot { position: relative; inset: auto; padding: 7px var(--gutter) 10px; }
  .hero-count { font-size: .84rem; }
  .slide-dots button { width: 22px; height: 35px; }
  .slide-turn button { position: relative; width: 34px; height: 34px; }
  .slide-turn button::before { content: ""; position: absolute; inset: -4px; }
  .slide-turn { gap: 9px; }
  .home-collection { padding-top: 24px; }
  .section-head { gap: 10px; }
  .section-head .title-group { gap: 3px 9px; }
  .title-group h2 { font-size: clamp(1.5rem,5.4vw,2rem); }
  .section-head .english-title { font-size: 1.15rem; }
  .browse-all { font-size: .8rem; gap: 4px; }
  .browse-all .glyph { width: 15px; }
  .category-bar { column-gap: clamp(18px,5vw,32px); }
  .category-bar button { font-size: .93rem; }
  .category-bar button:not(:last-child)::after { right: calc(clamp(18px,5vw,32px) / -2 - 2px); }
  .home-collection > .category-bar { margin: 3px 0 13px; }
  .card-photo { aspect-ratio: 1.25; }
  .object-grid { gap: 21px 12px; }
  .object-card h3 { font-size: 1rem; margin-top: 7px; }
  .card-meta { font-size: .78rem; gap: 2px 6px; }
  .bookmark-icon { top: 2px; right: 2px; width: 33px; height: 33px; }
  .bookmark-icon .glyph { width: 17px; height: 17px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 23px; gap: 17px; }
  .footer-inner nav { font-size: .84rem; gap: 10px 20px; }
  .inner-page { padding-top: 25px; }
  .catalog-head { flex-direction: column; align-items: stretch; padding-bottom: 15px; gap: 16px; }
  .catalog-search { width: 100%; }
  .catalog-head .title-group { flex-direction: row; align-items: baseline; gap: 12px; }
  .inner-page .title-group h1 { font-size: 2.15rem; }
  .inner-page .title-group .english-title { font-size: 1.52rem; }
  .catalog-filters { padding-top: 9px; gap: 11px; }
  .results-line { min-height: 38px; }
  .select-wrap select { font-size: .86rem; }
  .shows-grid, .detail-spread, .guided-spread { grid-template-columns: 1fr; }
  .shows-grid { gap: 31px; margin-top: 20px; }
  .show-image { aspect-ratio: 1.85; }
  .show-meta { margin-top: 12px; }
  .show-line { margin: 7px 0 9px; }
  .breadcrumbs { margin-bottom: 19px; font-size: .8rem; gap: 5px; }
  .exhibit-intro { gap: 12px; }
  .exhibit-intro > p { font-size: .96rem; }
  .stop-list { flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 17px 0 15px; scrollbar-width: thin; }
  .stop-list a { flex: none; font-size: .86rem; padding: 10px 1px; gap: 4px; }
  .guide-photo { --stage-h: clamp(250px,76vw,390px); }
  .guide-text { padding: 0; }
  .guide-text h2 { margin: 6px 0; }
  .station-footer { flex-wrap: wrap; align-items: center; gap: 12px; }
  .detail-image { height: clamp(265px,88vw,425px); }
  .detail-title { flex-wrap: nowrap; }
  .detail-title h1 { font-size: 2rem; }
  .object-english { margin-top: 4px; }
  .look-note { grid-template-columns: 1fr; gap: 8px; padding: 15px 17px; }
  .related .text-link { font-size: .83rem; }
  .search-dialog { top: 3vh; width: calc(100% - 22px); max-height: 90dvh; }
  .viewer-head, .viewer-foot { padding: 9px 12px; }
  .viewer-foot { flex-wrap: wrap; justify-content: center; }
  .viewer-foot > span { width: 100%; text-align: center; }
  .notice { bottom: 16px; width: max-content; }
}
@media (max-width: 380px) {
  .brand-label { gap: 2px; }
  .brand { gap: 7px; }
  .section-head .title-group { align-items: flex-start; flex-direction: column; gap: 1px; }
  .section-head .english-title { font-size: 1.03rem; }
  .catalog-filters .selects { width: 100%; }
  .museum-list li { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

