/* Reading happens on the objects. This layer contains only navigation controls. */
.story-dialog[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
body.exhibit-open .story-dialog {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none;
  pointer-events: none; overflow: visible; display: block;
}
body.exhibit-open .story-dialog:before { display: none; }
body.exhibit-open .story-content-inner { padding: 0; }
body.exhibit-open .drawer-top { position: fixed; top: 98px; right: 38px; display: flex; gap: 24px; padding: 0; border: 0; background: none; pointer-events: auto; }
body.exhibit-open #close-story { padding: 6px 0 6px 12px; text-shadow: 0 1px 8px #100905; }
body.exhibit-open .room-footer { opacity: 0; visibility: hidden; pointer-events: none; }
.exhibit-meta { position: fixed; top: 107px; left: 39px; max-width: 230px; color: #e1c6a5; text-shadow: 0 2px 14px #100a06bb; }
.exhibit-meta #story-title { font-size: 25px; line-height: 1.15; margin: 12px 0 10px; }
.exhibit-meta p { color: #bda080; font-size: 10px; line-height: 1.7; max-width: 180px; }
.exhibit-tools { position: fixed; bottom: max(32px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 30px); display: flex; flex-direction: column; gap: 10px; align-items: center; color: #dec6a4; pointer-events: auto; font-family: var(--sans,Arial,sans-serif); }
.page-tools, .mechanism-tools { display: flex; align-items: center; gap: 15px; padding: 5px 12px; border: 1px solid #a68c5938; background: #211a14d9; border-radius: 4px; box-shadow: 0 6px 24px #140d0824; }
.exhibit-tools button { color: inherit; min-width: 42px; min-height: 42px; padding: 7px 9px; font-size: 17px; border-radius: 2px; }
.exhibit-tools button:hover:not(:disabled) { background: #cba7781c; color: #ffe8c1; }
.exhibit-tools button:disabled { opacity: .25; cursor: default; }
.exhibit-tools button:focus-visible { outline: 1px solid #e2ba85; outline-offset: 2px; }
#page-count { font-size: 10px; letter-spacing: 2px; min-width: 60px; text-align: center; font-variant-numeric: tabular-nums; }
.page-turn-hint { font-size: 10px; color: #bda88e; white-space: nowrap; }
.tool-divider { height: 18px; width: 1px; background: #bca17b38; }
.exhibit-tools #next-object { font-size: 10px; white-space: nowrap; }
.mechanism-tools { gap: 6px; padding-block: 0; }
.mechanism-tools > span:first-child { padding-left: 10px; font-size: 10px; }
.mechanism-tools output { width: 32px; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.mechanism-tools #release { border-left: 1px solid #bca17b38; padding-left: 16px; margin-left: 5px; font-size: 11px; }
.exhibit-link { font-size: 10px; text-decoration: none; }
/* If WebGL is unavailable, the same pages remain readable inline, without a modal. */
body.exhibit-fallback #exhibit-description { position: fixed !important; top: 25%; left: 50%; transform: translateX(-50%); width: min(480px,calc(100vw - 48px)) !important; height: auto !important; max-height: 50dvh; overflow: auto !important; clip: auto !important; white-space: normal !important; margin: 0 !important; padding: 28px !important; background: #dfd0b2; color: #322c23; pointer-events: auto; }
body.exhibit-fallback #exhibit-description h2 { color: #3f3025; font-size: 28px; }
body.exhibit-fallback #exhibit-description p { font-size: 15px; line-height: 1.6; margin: 14px 0; }
@media (max-width: 1000px) {
  body.exhibit-open .drawer-top { top: 91px; right: 28px; }
  .exhibit-meta { top: 96px; left: 28px; max-width: 185px; }
  .exhibit-meta #story-title { font-size: 22px; }
  .exhibit-meta p { max-width: 150px; }
}
@media (max-width: 600px) {
  body.exhibit-open .drawer-top { top: 82px; right: 21px; }
  body.exhibit-open #drawer-index { display: none; }
  body.exhibit-open #close-story { font-size: 9px; gap: 7px; }
  .exhibit-meta { top: 86px; left: 23px; max-width: 175px; }
  .exhibit-meta .story-kicker { font-size: 6px; letter-spacing: 1.2px; }
  .exhibit-meta #story-title, html[lang=zh-CN] .exhibit-meta #story-title { font-size: 19px; margin: 7px 0; }
  .exhibit-meta p { display: none; }
  .exhibit-tools { bottom: max(20px,env(safe-area-inset-bottom)); gap: 8px; }
  .page-tools { gap: 6px; padding-inline: 8px; }
  .exhibit-tools button { padding: 7px; }
  #page-count { min-width: 50px; font-size: 9px; }
  .exhibit-tools #next-object { max-width: 145px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
  .page-turn-hint { font-size: 8px; white-space: normal; max-width: 95px; text-align: center; line-height: 1.5; }
}
@media (max-height: 550px) and (min-width: 601px) {
  body.exhibit-open .drawer-top { top: 66px; right: 24px; }
  .exhibit-meta { top: 68px; left: 26px; }
  .exhibit-meta #story-title { font-size: 19px; margin-block: 6px; }
  .exhibit-meta p { display: none; }
  .exhibit-tools { bottom: 9px; flex-direction: row; gap: 7px; }
  .exhibit-tools button { min-height: 34px; min-width: 34px; }
  .page-tools, .mechanism-tools { gap: 5px; padding: 2px 6px; }
}
body.exhibit-open .exhibit-meta { display: none; }
body.exhibit-open .room-vignette { background: linear-gradient(180deg,#1b140cd9,transparent 135px),linear-gradient(0deg,#211b19c9,transparent 160px); }
body.exhibit-open .drawer-top { backdrop-filter: none; }
body.exhibit-open #drawer-index { display: none; }
body.exhibit-open #close-story { background: #211a14b3; border: 1px solid #a68c592e; border-radius: 3px; padding: 8px 12px; color: #e6d1b2; }
#try-mechanism { display: none; }
@media (max-aspect-ratio: 85/100) {
  body.exhibit-open:not(.mechanism-view) .mechanism-tools { display: none; }
  body.exhibit-open #try-mechanism { display: block; font-size: 12px; padding: 10px 18px; background: #211a14d9; border: 1px solid #a68c5938; border-radius: 4px; }
  body.mechanism-view .page-turn-hint { display: none; }
}
@media (max-width:600px) { .header-link { display:block; font-size:9px; } .header-actions { gap:12px; } .header-divider { display:none; } }

/* Paper navigation has its own dock, outside the rendered book viewport. */
body.papers-open { --paper-dock-height: 74px; }
body.paper-reading { --paper-dock-height: 74px; }
body.papers-open #room-app { min-height: 0; }
body.papers-open #room-stage { bottom: var(--paper-dock-height); }
body.papers-open .story-dialog::after {
  content: ''; position: fixed; inset: auto 0 0; height: var(--paper-dock-height);
  background: #241e19; border-top: 1px solid #bca17b38; box-shadow: 0 -6px 24px #140d0812;
  pointer-events: auto; z-index: 0;
}
body.papers-open .exhibit-tools {
  left: 16px; right: 150px; bottom: 8px; transform: none; width: auto; max-width: none;
  height: calc(var(--paper-dock-height) - 16px); display: flex; flex-direction: row;
  flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; z-index: 1;
}
body.papers-open .drawer-top { top: auto; right: 16px; bottom: max(15px,env(safe-area-inset-bottom)); z-index: 2; }
body.papers-open #close-story { min-width: 42px; min-height: 42px; padding: 6px; justify-content: center; background: #352a22; }
body.papers-open #close-story > span:first-child { display: inline; }
body.papers-open #next-object, body.papers-open .tool-divider { display: none; }
body.papers-open #page-count { min-width: 75px; letter-spacing: .5px; }
body.papers-open .page-tools { padding: 0 5px; gap: 3px; box-shadow: none; }
body.papers-open .exhibit-tools button { min-width: 38px; min-height: 42px; }
.paper-tabs { flex-basis: 100%; display: flex; justify-content: center; gap: 5px; }
.exhibit-tools .paper-tabs button { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 11px; white-space: nowrap; }
.paper-tabs button[aria-pressed=true] { background: #e2d2af24; color: #fff0d6; box-shadow: inset 0 -2px #d8b67e; }
.paper-tab-mark { width: 8px; height: 16px; border-radius: 1px; box-shadow: inset 0 0 0 1px #f3e8cf55; }
.paper-reading-options, .paper-pan { display: flex; align-items: center; justify-content: center; gap: 1px; padding: 0 4px; }
.exhibit-tools .paper-reading-options button, .paper-reading-options a { min-height: 42px; padding: 8px 9px; display: flex; align-items: center; font-size: 11px; white-space: nowrap; }
.paper-reading-options a { color: #efdbb8; text-decoration: underline; text-underline-offset: 4px; }
.paper-reading-options button[aria-pressed=true] { background: #e2d2af24; }
.paper-pan > span { font-size: 10px; padding-inline: 8px; color: #bca88d; }
.paper-scale { display: none !important; }
body.papers-open:not(.paper-reading) #paper-overview, body.papers-open:not(.paper-reading) #paper-zoom { display: none; }
body.paper-reading .header { opacity: 0; visibility: hidden; pointer-events: none; }
body.paper-reading .room-vignette { background: none; box-shadow: none; }
body.paper-reading .paper-tabs { display: none; }
body.paper-reading .exhibit-tools { flex-wrap: nowrap; }
body.paper-reading .paper-scale { display: inline-flex !important; align-items: center; justify-content: center; }
body.paper-reading #paper-reduce { border-left: 1px solid #bca17b38; margin-left: 3px; }
body.papers-open.exhibit-fallback #exhibit-description {
  inset: 90px 12px calc(var(--paper-dock-height) + 12px) !important; transform: none;
  width: auto !important; height: auto !important; max-height: none;
}
body.paper-reading.exhibit-fallback #exhibit-description { top: 12px !important; padding: 0 !important; background: white; }
body.paper-reading.exhibit-fallback #exhibit-description > :not(.paper-fallback-pages) { display: none; }
.paper-fallback-pages { display: grid; grid-template-columns: 1fr; gap: 8px; background: #e5dfd2; }
body.paper-spread .paper-fallback-pages { grid-template-columns: repeat(2,minmax(0,1fr)); }
.paper-fallback-pages img { display: block; width: 100%; height: auto; margin: 0; }
@media(min-width:701px) { .object-button { padding-inline: 12px; } }
@media(max-width:1100px) { body.papers-open .paper-pan { display: none; } }
@media(max-width:700px) {
  .bottom-bar { flex-direction: column; gap: 10px; }
  .object-nav { width: 100%; gap: 0; }
  .object-button { flex: 1; min-width: 0; justify-content: center; padding: 9px 4px; }
  .object-name { display: none; }
  .object-icon { width: 24px; height: 24px; }
  body.papers-open { --paper-dock-height: 112px; }
  body.paper-reading { --paper-dock-height: 112px; }
  body.papers-open .exhibit-tools {
    left: 12px; right: 12px; bottom: max(8px,env(safe-area-inset-bottom));
    height: calc(var(--paper-dock-height) - 16px); display: grid; grid-template-columns: 1fr;
    justify-items: center; align-content: center; gap: 4px;
  }
  .paper-tabs { width: 100%; gap: 1px; }
  .exhibit-tools .paper-tabs button { padding: 7px 5px; font-size: 9px; gap: 4px; min-width: 0; }
  .paper-tab-mark { width: 5px; height: 13px; flex-shrink: 0; }
  body.papers-open .exhibit-tools button { min-height: 40px; }
  body.papers-open .paper-reading-options { width: calc(100% - 116px); justify-self: start; }
  body.papers-open .paper-reading-options button, body.papers-open .paper-reading-options a { min-width: 0; min-height: 40px; padding-inline: 6px; font-size: 10px; }
  body.papers-open .drawer-top { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); }
}

/* Book covers remain the selection interface, directly on the physical shelf. */
body.paper-shelf-open #room-app { min-height: 0; }
body.paper-shelf-open .header { opacity: 1; }
body.paper-shelf-open .room-vignette { background: linear-gradient(180deg,#17110bb3,transparent 175px),linear-gradient(0deg,#20181280,transparent 100px); }
body.paper-shelf-open .drawer-top { top: 100px; right: 30px; }
.paper-shelf-heading { position: fixed; top: 98px; left: 50%; transform: translateX(-50%); text-align: center; color: #f4e6cd; width: min(500px,65vw); text-shadow: 0 2px 15px #23150ee0; pointer-events: none; }
.paper-shelf-heading > span { font-size: 8px; letter-spacing: 2.1px; color: #d4b68d; }
.paper-shelf-heading #story-title { font-size: 30px; letter-spacing: -.5px; margin: 9px 0 8px; }
.paper-shelf-heading p { font-size: 11px; color: #dbc4a5; }
.paper-shelf-books { position: fixed; inset: 0; pointer-events: none; }
.shelf-book-target { position: absolute; left: -1000px; top: -1000px; transform: translate(-50%,-50%); pointer-events: auto; border-radius: 2px; border: 1px solid transparent; background: transparent; }
.shelf-book-target:hover { border-color: #f5d99f66; box-shadow: 0 0 22px #ffda8b16; }
.shelf-book-target:focus-visible { outline: 2px solid #ffe0a8; outline-offset: 5px; }
.shelf-book-label { position: absolute; bottom: -8px; left: 50%; transform: translate(-50%,100%); min-width: 150px; max-width: 210px; padding: 8px 12px; background: #251c16f0; color: #f2e1c5; border: 1px solid #d3b58b45; border-radius: 3px; opacity: 0; transition: opacity .16s; pointer-events: none; font-size: 10px; line-height: 1.5; text-align: left; box-shadow: 0 8px 24px #100b0840; }
.shelf-book-label strong,.shelf-book-label span,.shelf-book-label small { display: block; }
.shelf-book-label strong { font-size: 10px; color: #e2ba7e; }
.shelf-book-label small { font-size: 8px; color: #b7a28a; margin-top: 3px; }
.shelf-book-target:hover .shelf-book-label,.shelf-book-target:focus-visible .shelf-book-label { opacity: 1; }
.paper-shelf-hint { position: fixed; left: 20px; right: 20px; bottom: 28px; text-align: center; font: italic 14px Georgia,serif; color: #d4bb96; text-shadow: 0 2px 12px #201108; }
body.paper-shelf-open.exhibit-fallback .paper-shelf-books { top: 195px; bottom: 75px; left: max(24px,calc((100vw - 730px)/2)); right: max(24px,calc((100vw - 730px)/2)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: start; gap: 18px; overflow: auto; padding: 8px; pointer-events: auto; }
body.paper-shelf-open.exhibit-fallback .shelf-book-target { position: relative; inset: auto; width: auto !important; height: 200px !important; transform: none; padding: 20px; background: var(--book-color); box-shadow: inset 7px 0 #0002,3px 4px 0 #e5d9bd,7px 8px 16px #0e08083d; }
body.paper-shelf-open.exhibit-fallback .shelf-book-label { position: static; transform: none; opacity: 1; min-width: 0; max-width: none; background: none; box-shadow: none; padding: 0; border: 0; }
body.paper-shelf-open.exhibit-fallback .shelf-book-label strong { color: #f5e7ca; margin-bottom: 18px; }
body.paper-shelf-open.exhibit-fallback .shelf-book-label span { font: 24px/1.25 Georgia,serif; }
body.paper-shelf-open.exhibit-fallback .shelf-book-label small { color: #eee0c7; margin-top: 15px; }
@media(max-width:700px) {
  body.paper-shelf-open .drawer-top { top: auto; bottom: 20px; right: 20px; }
  .paper-shelf-heading { top: 87px; width: calc(100vw - 24px); }
  .paper-shelf-heading #story-title,html[lang=zh-CN] .paper-shelf-heading #story-title { font-size: 25px; }
  .paper-shelf-heading > span { font-size: 7px; }
  .paper-shelf-hint { left: 16px; right: 140px; text-align: left; font-size: 11px; bottom: 32px; }
  .shelf-book-label { min-width: 110px; padding: 7px; }
  .shelf-book-label small { display: none; }
  body.paper-shelf-open.exhibit-fallback .paper-shelf-books { grid-template-columns: repeat(2,minmax(0,1fr)); top: 175px; gap: 15px; }
  body.paper-shelf-open.exhibit-fallback .shelf-book-target { height: 180px !important; padding: 16px; }
  body.paper-shelf-open.exhibit-fallback .shelf-book-label span { font-size: 20px; }
}
@media(max-height:550px) and (min-width:701px) {
  .paper-shelf-heading { top: 65px; }
  .paper-shelf-heading #story-title { font-size: 22px; margin: 6px 0; }
  .paper-shelf-heading p { display: none; }
  body.paper-shelf-open .drawer-top { top: 72px; }
}

/* Certificates occupy the available scene; controls sit outside the frame. */
body.awards-open { --certificate-dock-height: 64px; }
body.awards-open #room-app { min-height: 0; }
body.awards-open #room-stage { bottom: var(--certificate-dock-height); }
body.awards-open .header { opacity: 0; visibility: hidden; pointer-events: none; }
body.awards-open .room-vignette { background: none; box-shadow: none; }
body.awards-open .story-dialog::after {
  content: ''; position: fixed; inset: auto 0 0; height: var(--certificate-dock-height);
  background: #241e19; border-top: 1px solid #bca17b38; pointer-events: auto;
}
body.awards-open .exhibit-tools {
  left: 16px; right: 200px; bottom: 8px; transform: none; width: auto; max-width: none;
  height: calc(var(--certificate-dock-height) - 16px); flex-direction: row;
  align-items: center; justify-content: center; gap: 14px; z-index: 1;
}
body.awards-open .page-tools { background: none; border: 0; box-shadow: none; padding: 0; }
body.awards-open .drawer-top { top: auto; right: 16px; bottom: 10px; z-index: 2; }
body.awards-open #close-story { min-height: 42px; }
body.awards-open #certificate-pdf { display: flex; align-items: center; min-height: 42px; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }
body.awards-open.exhibit-fallback #exhibit-description {
  inset: 12px 12px calc(var(--certificate-dock-height) + 12px) !important;
  transform: none; width: auto !important; height: auto !important; max-height: none;
  padding: 0 !important; background: none; overflow: hidden !important;
}
body.awards-open.exhibit-fallback #exhibit-description > :not(.certificate-fallback) { display: none; }
.certificate-fallback { width: 100%; height: 100%; object-fit: contain; display: block; cursor: pointer; }
@media(max-width:700px) {
  body.awards-open { --certificate-dock-height: 98px; }
  body.awards-open .exhibit-tools { left: 12px; right: 12px; bottom: 8px; flex-wrap: wrap; gap: 0 16px; justify-content: flex-start; }
  body.awards-open .page-tools { flex-basis: 100%; justify-content: center; gap: 12px; }
  body.awards-open .page-turn-hint { max-width: none; font-size: 10px; }
  body.awards-open #next-object, body.awards-open .tool-divider { display: none; }
  body.awards-open #certificate-pdf { margin-left: 8px; }
  body.awards-open .drawer-top { right: 12px; bottom: 8px; }
}

/* Each certificate stays in its own frame; transparent targets follow the scene. */
body.awards-gallery-open #room-app { min-height: 0; }
body.awards-gallery-open #room-stage { bottom: 0; }
body.awards-gallery-open .header { opacity: 1; visibility: visible; pointer-events: auto; }
body.awards-gallery-open .room-vignette {
  background: linear-gradient(180deg,#17110bb3,transparent 175px),linear-gradient(0deg,#20181280,transparent 100px);
}
body.awards-gallery-open .drawer-top { top: 100px; right: 30px; bottom: auto; }
.certificate-gallery-heading {
  position: fixed; top: 98px; left: 50%; transform: translateX(-50%);
  width: min(500px,65vw); text-align: center; color: #f4e6cd;
  text-shadow: 0 2px 15px #23150ee0; pointer-events: none;
}
.certificate-gallery-heading > span { font-size: 8px; letter-spacing: 2.1px; color: #d4b68d; }
.certificate-gallery-heading #story-title { font-size: 30px; letter-spacing: -.5px; margin: 9px 0 8px; }
.certificate-gallery-heading p { font-size: 11px; color: #dbc4a5; }
.certificate-gallery-targets { position: fixed; inset: 0; pointer-events: none; }
.certificate-target {
  position: absolute; left: -1000px; top: -1000px; transform: translate(-50%,-50%);
  pointer-events: auto; background: transparent; border: 1px solid transparent; border-radius: 2px;
}
.certificate-target[hidden] { display: none !important; }
.certificate-target:hover { border-color: #f5d99f80; box-shadow: 0 0 22px #ffda8b18; }
.certificate-target:focus-visible { outline: 2px solid #ffe0a8; outline-offset: 5px; }
.certificate-thumbnail { display: none; }
.certificate-label {
  position: absolute; left: 50%; bottom: -10px; transform: translate(-50%,100%);
  width: max-content; min-width: 140px; max-width: 230px; padding: 9px 12px;
  border: 1px solid #d3b58b45; border-radius: 3px; background: #251c16f0;
  color: #f2e1c5; text-align: center; font-size: 10px; line-height: 1.45;
  box-shadow: 0 8px 24px #100b0840; pointer-events: none;
  opacity: 0; transition: opacity .16s;
}
.certificate-label strong, .certificate-label small { display: block; }
.certificate-label strong { font-size: 11px; font-weight: 500; color: #f2dfc0; }
.certificate-label small { font-size: 9px; color: #c3aa89; margin-top: 4px; }
.certificate-target:hover .certificate-label, .certificate-target:focus-visible .certificate-label { opacity: 1; }
.certificate-gallery-hint {
  position: fixed; left: 20px; right: 20px; bottom: 28px;
  text-align: center; font: italic 14px Georgia,serif; color: #d4bb96; text-shadow: 0 2px 12px #201108;
  pointer-events: none;
}
body.awards-gallery-open.exhibit-fallback .certificate-gallery-targets {
  inset: 195px max(24px,calc((100vw - 960px)/2)) 90px;
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px;
  align-content: start; overflow-y: auto; padding: 8px; pointer-events: auto;
}
body.awards-gallery-open.exhibit-fallback .certificate-target {
  position: relative; inset: auto; width: auto !important; height: auto !important;
  transform: none; display: flex; flex-direction: column; align-items: stretch;
  padding: 8px; background: #37251dd9; border: 1px solid #b58b5961;
  box-shadow: 0 8px 24px #140b0852;
}
body.awards-gallery-open.exhibit-fallback .certificate-thumbnail { display: block; width: 100%; height: auto; object-fit: contain; }
body.awards-gallery-open.exhibit-fallback .certificate-label {
  position: static; transform: none; width: auto; min-width: 0; max-width: none;
  padding: 12px 4px 6px; opacity: 1; background: none; border: 0; box-shadow: none;
}
@media(max-width:700px) {
  body.awards-gallery-open .drawer-top { top: auto; bottom: max(20px,env(safe-area-inset-bottom)); right: 20px; }
  .certificate-gallery-heading { top: 87px; width: calc(100vw - 24px); }
  .certificate-gallery-heading #story-title, html[lang=zh-CN] .certificate-gallery-heading #story-title { font-size: 25px; }
  .certificate-gallery-heading > span { font-size: 7px; }
  .certificate-gallery-heading p { font-size: 10px; margin-inline: 8px; }
  .certificate-label { min-width: 0; width: max-content; max-width: min(140px,calc(100vw - 32px)); padding: 8px; }
  .certificate-label strong { font-size: 10px; }
  .certificate-label small { display: none; }
  .certificate-target:first-child .certificate-label { left: 0; transform: translateY(100%); }
  .certificate-target:last-child .certificate-label { left: auto; right: 0; transform: translateY(100%); }
  .certificate-gallery-hint { left: 16px; right: 160px; text-align: left; font-size: 11px; bottom: 32px; }
  body.awards-gallery-open.exhibit-fallback .certificate-gallery-targets {
    inset: 175px max(24px,calc((100vw - 360px)/2)) 90px;
    grid-template-columns: 1fr; gap: 22px;
  }
  body.awards-gallery-open.exhibit-fallback .certificate-label,
  body.awards-gallery-open.exhibit-fallback .certificate-target:first-child .certificate-label,
  body.awards-gallery-open.exhibit-fallback .certificate-target:last-child .certificate-label {
    position: static; transform: none; width: auto; max-width: none;
  }
  body.awards-gallery-open.exhibit-fallback .certificate-label small { display: block; }
}
@media(max-height:550px) and (min-width:701px) {
  .certificate-gallery-heading { top: 65px; }
  .certificate-gallery-heading #story-title { font-size: 22px; margin: 6px 0; }
  .certificate-gallery-heading p { display: none; }
  body.awards-gallery-open .drawer-top { top: 72px; }
  body.awards-gallery-open.exhibit-fallback .certificate-gallery-targets { top: 130px; bottom: 60px; }
}
@media(prefers-reduced-motion:reduce) { .certificate-label { transition: none; } }
