:root {
  color-scheme: dark;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  color: #efe2c8;
  background: #0c1420;
  --collection-gold: #c7a46a;
  --collection-ink: #07111d;
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { min-width: 280px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid #efd09b; outline-offset: 5px; }
.collection-skip { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: #0c1b2b; border: 1px solid var(--collection-gold); transform: translateY(-150%); }
.collection-skip:focus { transform: translateY(0); }
.collection-chamber { position: fixed; inset: 0; z-index: -1; background: #0c1420 url('./assets/chamber-desktop-1672.webp') center / cover no-repeat; }
.collection-chamber::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #03081324, #03081212 20%, #03081135 68%, #03081178), radial-gradient(ellipse at center, transparent 25%, #03070a24); }
.collection-main { width: min(1240px, calc(100% - 88px)); min-height: 100svh; margin: 0 auto; padding: calc(var(--site-chrome-header-space, 90px) + 15px + env(safe-area-inset-top, 0px)) 0 calc(var(--site-chrome-footer-space, 90px) + 32px + env(safe-area-inset-bottom, 0px)); }
.collection-heading { margin-bottom: 23px; text-align: center; text-shadow: 0 3px 18px #02050be6; }
.collection-eyebrow { margin: 0 0 12px; color: #d1b57f; font-size: 11px; letter-spacing: .2em; line-height: 1.6; }
.collection-heading h1 { margin: 0; font-size: clamp(40px, 4.5vw, 67px); line-height: 1.1; font-weight: 400; color: #f2e5cc; }
.collection-introduction { margin: 12px 0 0; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.5; color: #e2d3b7; }
.collection-total { grid-column: 3; justify-self: end; align-self: start; margin: 17px 0 0; }
.collection-total p { display: flex; align-items: baseline; gap: 4px; margin: 0; color: #c8b78f; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.collection-total strong { color: #f2d194; font-size: 23px; font-weight: 400; }
.collection-total small { margin-left: 6px; font-size: 10px; letter-spacing: .015em; }
.collection-feedback { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; text-align: center; }
#collection-status { max-width: 540px; margin: 15px 0; font-size: 14px; line-height: 1.6; color: #e3d2b3; text-shadow: 0 2px 10px #000; }
#collection-status:empty { display: none; }
.collection-cabinet { padding: 7px 27px 27px; position: relative; border: 1px solid #bd985e7d; background: radial-gradient(ellipse at 50% 0, #30424d30, transparent 70%), linear-gradient(132deg, #0e2030df, #071522ed 52%, #0b1c2bdf); box-shadow: 0 14px 30px #0004, inset 0 1px 1px #eed0992b; }
.collection-cabinet::before { content: ''; position: absolute; inset: 5px; border: 1px solid #b28c4840; pointer-events: none; }
.collection-cabinet-header { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 560px) minmax(150px, 1fr); align-items: center; gap: 12px; }
.collection-tabs { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; min-width: 0; margin: 0; border-bottom: 1px solid #ba985563; }
.collection-tab { position: relative; border: 0; padding: 17px 15px 16px; background: transparent; color: #c9b99b; min-height: 70px; }
.collection-tab + .collection-tab::before { content: ''; position: absolute; left: 0; top: 24px; width: 1px; height: 28px; background: #ba98552e; }
.collection-tab > span { font-size: 23px; line-height: 1.2; }
.collection-tab small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .07em; }
.collection-tab::after { content: ''; position: absolute; bottom: -1px; left: 22%; right: 22%; height: 2px; background: #d0af77; opacity: 0; }
.collection-tab[aria-selected='true'] { color: #f1d69e; }
.collection-tab[aria-selected='true']::after { opacity: 1; }
.collection-tab:hover { color: #fff0ce; }
.collection-tab[data-series='heaven'][aria-selected='true'] { background: radial-gradient(ellipse at bottom, #758fb921, transparent 73%); }
.collection-tab[data-series='earth'][aria-selected='true'] { background: radial-gradient(ellipse at bottom, #74a18b21, transparent 73%); }
.collection-tab[data-series='human'][aria-selected='true'] { background: radial-gradient(ellipse at bottom, #bd6c5a21, transparent 73%); }
.collection-panel { padding-top: 22px; }
.collection-series-heading { display: flex; gap: 20px; align-items: baseline; justify-content: space-between; margin: 0 0 21px; }
.collection-series-heading h2 { margin: 0; color: #e5c78f; font-size: 23px; font-weight: 400; }
.collection-series-heading p { margin: 0; color: #c4b69d; font-size: 13px; line-height: 1.5; }
.collection-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 19px; align-items: start; }
.collection-card { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; }
.collection-card-art { display: block; position: relative; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden; background: #07111d; box-shadow: 0 7px 12px #0009, 0 0 0 1px #cfb17450; transition: box-shadow .2s ease, transform .2s ease; }
.collection-card-art::after { content: ''; position: absolute; inset: 0; border: 1px solid #d5ba8257; border-radius: inherit; pointer-events: none; }
.collection-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.collection-card:hover .collection-card-art { transform: translateY(-3px); box-shadow: 0 12px 17px #0009, 0 0 0 1px #e4c68eb8; }
.collection-card.is-collected .collection-card-art { box-shadow: 0 7px 12px #0009, 0 0 0 1px #dabb81b0; }
.collection-card-label { display: block; margin: 11px 3px 0; color: #e3cfaa; font-size: 12px; line-height: 1.35; min-height: 32px; overflow-wrap: anywhere; }
.collection-card:not(.is-collected) .collection-card-label { color: #c1b096; font-size: 11px; letter-spacing: .015em; }
.collection-card-image-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; background: #102130; color: #d2bb8a; font-size: 11px; line-height: 1.5; }
.collection-note { text-align: center; margin: 22px auto 0; color: #d6c7ab; font-size: 13px; line-height: 1.65; text-shadow: 0 2px 10px #000; }
.collection-note p { margin: 2px 0; }
.collection-action { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 10px 22px; border: 1px solid #b99458b3; color: #ecd4a3; background: linear-gradient(135deg, #142e3ddd, #091929ef); box-shadow: inset 0 0 0 3px #07121c, inset 0 0 0 4px #b18e4f35; font-size: 14px; line-height: 1.45; }
.collection-action:hover { color: #fff0cd; border-color: #e4c386; }
.collection-action > span { font-size: 21px; line-height: 1; }
.collection-note .collection-action { margin-top: 16px; }
.collection-noscript { margin: 30px auto; max-width: 550px; padding: 20px; border: 1px solid #ad8a54; background: #0b1c2bec; line-height: 1.6; text-align: center; }
.collection-noscript a { text-decoration: underline; text-underline-offset: 4px; }
body[data-card-dialog='true'] { overflow: hidden; }
.collection-dialog { width: min(1040px, calc(100vw - 50px)); max-height: min(90svh, 850px); border: 1px solid #bda06bbf; padding: 0; color: #e7dac1; background: #071522; overflow: auto; box-shadow: 0 30px 90px #000b, inset 0 0 0 4px #06111b; }
.collection-dialog::backdrop { background: #010711ce; backdrop-filter: blur(5px); }
.collection-dialog-toolbar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end; min-height: 52px; padding: 4px 8px; background: #0a1b29f5; border-bottom: 1px solid #b4945345; }
.collection-dialog-surface { position: relative; display: grid; grid-template-columns: minmax(200px, 35%) minmax(0, 1fr); gap: 37px; padding: 8px 42px 40px; background: radial-gradient(ellipse at 0 0, #30485540, transparent 70%), linear-gradient(130deg, #10243688, transparent); }
.collection-dialog-close { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 88px; min-height: 44px; padding: 4px 9px; border: 0; color: #ecd7ad; background: transparent; font-size: 14px; line-height: 1.3; }
.collection-dialog-close > span:last-child { font-size: 29px; line-height: 1; }
.collection-dialog-close:hover { color: #fff3d5; }
.collection-dialog-done { margin-top: 26px; width: 100%; }
.collection-dialog-art { align-self: start; position: sticky; top: 42px; text-align: center; }
.collection-dialog-art img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 6px; background: #07121c; box-shadow: 0 12px 24px #0009, 0 0 0 1px #d3b17370; }
.collection-dialog-art p { margin: 15px 0 0; color: #cfb37b; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.collection-dialog-copy { min-width: 0; padding-top: 9px; }
.collection-dialog-copy h2 { margin: 0; color: #f0ddb5; font-size: clamp(28px, 3vw, 38px); font-weight: 400; line-height: 1.2; }
.collection-dialog-chinese { color: #ceb483; margin: 11px 0 0; font-size: 21px; }
.collection-dialog-copy h3 { margin: 26px 0 10px; color: #dec28d; font-size: 17px; font-weight: 400; }
.collection-dialog-copy p, .collection-dialog-copy li { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.collection-dialog-copy p { margin: 14px 0; }
.collection-dialog-copy .collection-eyebrow { margin: 0 0 10px; font-size: 10px; }
.collection-core-meaning { color: #ead5ac; font-style: italic; border-left: 1px solid #be9e6057; padding-left: 16px; }
.collection-dialog-copy ul { margin: 9px 0; padding-left: 21px; }
.collection-dialog-copy li + li { margin-top: 9px; }
.collection-source { padding-top: 14px; margin-top: 14px; border-top: 1px solid #b4945352; }
.collection-source h4 { font-size: 14px; line-height: 1.5; font-weight: 400; color: #ddc18b; margin: 0 0 9px; }
.collection-source blockquote { margin: 10px 0; padding-left: 16px; border-left: 1px solid #a48e5b64; }
.collection-source p { font-size: 13px; line-height: 1.7; margin: 9px 0; color: #cfc2a9; }
.collection-source a { display: inline-block; margin-top: 2px; min-height: 36px; padding: 8px 0; font-size: 12px; color: #e3c78e; text-decoration: underline; text-underline-offset: 4px; }
#collection-dialog-unknown .collection-action { margin-top: 8px; }
@media (min-width: 601px) and (max-width: 1100px) and (orientation: landscape) { .collection-chamber { background-image: url('./assets/chamber-tablet-landscape-1448.webp'); } }
@media (min-width: 601px) and (max-width: 1100px) and (orientation: portrait) { .collection-chamber { background-image: url('./assets/chamber-tablet-portrait-1086.webp'); } }
@media (max-width: 1100px) {
  .collection-main { width: calc(100% - 52px); }
  .collection-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
  .collection-cabinet-header { grid-template-columns: 130px minmax(0, 1fr) 130px; gap: 10px; }
  .collection-total p { font-size: 13px; gap: 3px; }
  .collection-total strong { font-size: 20px; }
  .collection-total small { font-size: 9px; margin-left: 4px; }
}
@media (max-width: 800px) {
  .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .collection-cabinet-header { grid-template-columns: 105px minmax(0, 1fr) 105px; gap: 8px; }
  .collection-tab { padding-inline: 5px; }
  .collection-tab > span { font-size: 20px; }
  .collection-total p { font-size: 12px; gap: 2px; }
  .collection-total strong { font-size: 18px; }
  .collection-total small { font-size: 8px; margin-left: 3px; }
  .collection-dialog { width: calc(100vw - 34px); }
  .collection-dialog-surface { gap: 25px; padding: 8px 25px 30px; }
  .collection-dialog-copy p, .collection-dialog-copy li { font-size: 14px; }
}
@media (max-width: 600px) {
  .collection-chamber { background-image: url('./assets/chamber-mobile-941.webp'); }
  .collection-main { width: calc(100% - 30px); padding-top: calc(var(--site-chrome-header-space, 112px) + 15px + env(safe-area-inset-top, 0px)); }
  .collection-eyebrow { font-size: 9px; margin-bottom: 9px; }
  .collection-heading h1 { font-size: 43px; }
  .collection-introduction { font-size: 14px; }
  .collection-heading { margin-bottom: 19px; }
  .collection-cabinet-header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .collection-tabs { grid-column: 1; }
  .collection-total { grid-column: 2; margin-top: 14px; }
  .collection-total strong { font-size: 17px; }
  .collection-total p { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; column-gap: 3px; row-gap: 3px; font-size: 11px; }
  .collection-total small { grid-column: 1 / -1; justify-self: end; font-size: 8px; margin-left: 0; letter-spacing: 0; }
  .collection-cabinet { padding: 3px 12px 19px; }
  .collection-tab { padding: 14px 5px; min-height: 66px; }
  .collection-tab > span { font-size: 16px; }
  .collection-tab small { font-size: 10px; margin-top: 5px; }
  .collection-tab + .collection-tab::before { top: 21px; height: 24px; }
  .collection-panel { padding-top: 16px; }
  .collection-series-heading { display: block; margin-bottom: 17px; }
  .collection-series-heading h2 { font-size: 19px; }
  .collection-series-heading p { margin-top: 5px; font-size: 11px; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 11px; }
  .collection-card-art { border-radius: 4px; }
  .collection-card-label { font-size: 10px; margin: 8px 1px 0; min-height: 28px; }
  .collection-card:not(.is-collected) .collection-card-label { font-size: 9px; }
  .collection-note { font-size: 11px; margin-top: 18px; }
  #collection-status { font-size: 12px; }
  .collection-dialog { width: calc(100vw - 22px); max-height: calc(100svh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
  .collection-dialog-surface { display: block; padding: 8px 21px 28px; }
  .collection-dialog-art { position: static; width: min(70%, 270px); margin: 0 auto 27px; }
  .collection-dialog-art p { font-size: 10px; margin-top: 12px; }
  .collection-dialog-copy { padding-top: 0; }
  .collection-dialog-copy h2 { font-size: 30px; }
  .collection-dialog-copy h3 { font-size: 16px; }
  .collection-dialog-copy p, .collection-dialog-copy li { font-size: 14px; }
  .collection-dialog-copy .collection-eyebrow { font-size: 9px; }
  .collection-source p { font-size: 12px; }
}
@media (max-width: 340px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 13px; }
  .collection-main { width: calc(100% - 24px); }
  .collection-cabinet-header { gap: 5px; }
  .collection-tab { padding-inline: 2px; }
  .collection-tab > span { font-size: 14px; }
  .collection-total p { font-size: 10px; }
  .collection-total strong { font-size: 15px; }
  .collection-total small { font-size: 7px; margin-left: 2px; }
}
@media (prefers-reduced-motion: reduce) { .collection-card-art { transition: none; } .collection-card:hover .collection-card-art { transform: none; } }
