/* ── The Hashmasks Museum (/museum, js/museum/) ─────────────────────────
   The page under the museum while it opens (or if it can't), and what the
   museum adds to the gallery's controls in css/room.css: the Rooms menu,
   panels with several ways on, the desks, the anthem's player. */

.museum-page { margin: 0; min-height: 100vh; background: #0b0a09; color: var(--off, #F0EBE1); }
/* The door: the first screen, centred (the title, what the museum is doing, the way on if it can't open); the
   guide below it, out of sight while the museum opens */
.museum-door {
  min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; gap: 14px;
  padding: 24px; text-align: center;
}
.museum-loading[hidden] { display: none; }
.museum-loading-title { margin: 0; font: 600 clamp(28px, 4vw, 44px)/1.1 var(--font-display, sans-serif); }
.museum-status { margin: 0; font: 500 15px/1.5 var(--font-ui, sans-serif); color: rgba(240,235,225,0.7); }
.museum-status a, .museum-fallback a { color: var(--gold-link, #CF9224); }
.museum-fallback { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 560px; }
.museum-fallback[hidden] { display: none; }
/* The guide: the museum in words, room by room (museum.html) */
.museum-guide {
  max-width: 680px; margin: 0 auto; padding: 0 24px 96px;
  font: 400 17px/1.7 var(--font-ui, sans-serif); color: rgba(240,235,225,0.82);
}
.museum-guide p { margin: 0 0 16px; }
.museum-guide h2 { margin: 44px 0 12px; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-guide a { color: var(--gold-link, #CF9224); }
.museum-guide-lead { font-size: 19px; color: var(--off, #F0EBE1); }

/* Exit is a link back to the site */
a.vroom-exit { display: inline-flex; align-items: center; text-decoration: none; }

/* Music, Full screen and Postcard, beside Copy link (just their icons where the top bar hasn't room for their words: below
   1,760 px Music and Full screen, below 1,370 px Postcard too: the wallet's button beside them); on phones, among the
   controls at the bottom */
.museum-full, .museum-music, .museum-snap {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  pointer-events: auto; flex: none; padding: 10px 16px; min-height: 40px;
  border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6);
  color: var(--off, #F0EBE1); cursor: pointer;
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.museum-full:hover, .museum-full:focus-visible, .museum-music:hover, .museum-music:focus-visible, .museum-snap:hover, .museum-snap:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }
/* The music playing: its button gold */
.museum-music[aria-pressed="true"] { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); }
/* …its note three bars rising and falling while it's on (still, with reduced motion) */
.museum-eq { display: none; flex: none; align-items: flex-end; gap: 2px; width: 14px; height: 14px; }
.museum-eq b { flex: 1; height: 100%; background: currentColor; transform-origin: 50% 100%; animation: museum-eq 1s ease-in-out infinite; }
.museum-eq b:nth-child(2) { animation-duration: 0.8s; animation-delay: -0.45s; }
.museum-eq b:nth-child(3) { animation-duration: 1.25s; animation-delay: -0.8s; }
@keyframes museum-eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.museum-music[aria-pressed="true"] > svg { display: none; }
.museum-music[aria-pressed="true"] .museum-eq { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .museum-eq b { animation: none; transform: scaleY(0.55); } .museum-eq b:nth-child(2) { transform: scaleY(1); } }
.museum-full-icon { flex: none; }
.museum .museum-full[hidden], .museum-nav .museum-full, .museum .museum-music[hidden], .museum-nav .museum-music, .museum-nav .museum-snap { display: none; }
@media (max-width: 1760px) {
  .vroom-actions .museum-full, .vroom-actions .museum-music { width: 40px; padding: 0; }
  .vroom-actions .museum-full span, .vroom-actions .museum-music span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1370px) {
  .vroom-actions .museum-snap { width: 40px; padding: 0; }
  .vroom-actions .museum-snap span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 600px) {
  .vroom-actions .museum-full, .vroom-actions .museum-music, .vroom-actions .museum-snap { display: none; }
  .museum-nav .museum-full:not([hidden]), .museum-nav .museum-music:not([hidden]), .museum-nav .museum-snap { display: inline-flex; width: 40px; padding: 0; }
  .museum-nav .museum-full span, .museum-nav .museum-music span, .museum-nav .museum-snap span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Your wallet, beside Copy link: "Connect wallet", or its address and a green dot (on phones, its icon among the controls
   at the bottom); pressed with a wallet, a box: the address, the vault it stands for as a delegate, Disconnect */
.museum-wallet {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  pointer-events: auto; flex: none; padding: 10px 16px; min-height: 40px;
  border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6);
  color: var(--off, #F0EBE1); cursor: pointer;
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.museum-wallet:hover, .museum-wallet:focus-visible, .museum-wallet[aria-expanded="true"] { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }
.museum-wallet.is-on .museum-wallet-label { font-family: var(--font-mono, monospace); text-transform: none; letter-spacing: 0.02em; }
.museum-wallet.is-on::after { content: ''; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 2px rgba(6,5,4,0.85); }
/* (in the top bar, its icon and dot: its address in its box and its tooltip; with room, from 2,000 px, its words too) */
.vroom-actions .museum-wallet { width: 40px; padding: 0; }
.vroom-actions .museum-wallet .museum-wallet-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 2000px) {
  .vroom-actions .museum-wallet { width: auto; padding: 10px 16px; }
  .vroom-actions .museum-wallet .museum-wallet-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
.museum-nav .museum-wallet { display: none; }
@media (max-width: 600px) {
  .vroom-actions .museum-wallet { display: none; }
  .museum-nav .museum-wallet { display: inline-flex; width: 40px; padding: 0; }
  .museum-nav .museum-wallet .museum-wallet-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.museum-wallet-box {
  position: fixed; z-index: 9000; width: min(300px, calc(100vw - 24px)); box-sizing: border-box; padding: 14px 16px 16px;
  border: 1px solid rgba(240,235,225,0.22); background: rgba(10,9,8,0.97); color: var(--off, #F0EBE1); box-shadow: 0 14px 36px rgba(0,0,0,0.55);
}
.museum-wallet-box[hidden] { display: none; }
.museum-wallet-eyebrow { margin: 0 0 6px; font: 600 11px/1.2 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold, #F5A31A); }
.museum-wallet-addr { margin: 0 0 12px; font: 600 16px/1.3 var(--font-mono, monospace); }
.museum-wallet-via { margin: -4px 0 12px; font: 500 12.5px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.72); }
.museum-wallet-off { display: block; width: 100%; padding: 10px 6px; border: 1px solid rgba(240,235,225,0.4); background: transparent; color: var(--off, #F0EBE1); cursor: pointer;
  font: 600 12px/1.2 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; }
.museum-wallet-off:hover, .museum-wallet-off:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }
/* Tablets and narrow windows: ‹ Rooms › and Find a mask on a row of their own under the title, clear of it and of the buttons on the right */
@media (min-width: 601px) and (max-width: 1170px) {
  .museum .museum-nav, .museum .vroom-find { top: calc(max(16px, env(safe-area-inset-top)) + 84px); }
  .museum .museum-rooms { top: calc(max(16px, env(safe-area-inset-top)) + 134px); }
}

/* ‹ Rooms › and Find a mask, top centre */
.museum-nav .museum-rooms-btn { padding: 0 16px; cursor: pointer; letter-spacing: 0.12em; text-transform: uppercase; }
/* The audio tour, one press away beside the rooms (index.js); on phones just its headphones. Where the top bar is
   tight beside the buttons on the right (1,171 to 1,510 px), the row sits a little left of the middle, into the room the
   title leaves it (its widest: 50vw - 320 px), the Rooms list and Find a mask under it with it; below 1,300 px it draws in
   a little too */
.museum-nav .museum-tour-btn { display: flex; align-items: center; gap: 8px; padding: 0 14px; cursor: pointer; }
.museum-nav .museum-tour-btn svg { flex: none; }
@media (min-width: 1171px) and (max-width: 1510px) {
  .museum .museum-nav, .museum .vroom-find, .museum .museum-rooms { transform: translateX(calc(-50% - 56px)); }
}
@media (min-width: 1171px) and (max-width: 1300px) {
  .museum .museum-nav { gap: 6px; }
  .museum .museum-nav .museum-rooms-btn { padding: 0 12px; }
  .museum .museum-nav .vroom-nav-find, .museum .museum-nav .museum-tour-btn { padding: 0 10px; }
}
.museum-nav .vroom-nav-prev, .museum-nav .vroom-nav-next { width: 40px; padding: 0; font-size: 20px; cursor: pointer; }
.museum-nav button:disabled { opacity: 0.3; cursor: default; }
.museum:has(.museum-rooms:not([hidden])) .museum-rooms-btn { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); }

.museum-rooms {
  position: absolute; z-index: 3; top: calc(max(16px, env(safe-area-inset-top)) + 50px); left: 50%; transform: translateX(-50%);
  width: min(400px, calc(100% - 40px)); max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px 0; background: rgba(10,9,8,0.95); border: 1px solid rgba(240,235,225,0.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.museum-rooms[hidden] { display: none; }
.museum-rooms-head {
  margin: 0; padding: 8px 16px 6px;
  font: 700 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold, #F5A31A);
}
.museum-rooms ul { margin: 0; padding: 0; list-style: none; }
.museum-rooms button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  width: 100%; padding: 10px 16px; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--off, #F0EBE1);
}
.museum-rooms button b { font: 600 17px/1.2 var(--font-display, sans-serif); }
.museum-rooms button span { flex: none; font: 500 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.1em; color: rgba(240,235,225,0.55); }
.museum-rooms button:hover, .museum-rooms button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-rooms button[aria-current="true"] b { color: var(--gold, #F5A31A); }
.museum-rooms button[aria-current="true"] span { color: var(--gold, #F5A31A); text-transform: uppercase; }

/* A panel can lead several ways */
.museum-panel { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
/* Wide screens: the top bar is one row, so a panel can stand taller, to 96 px under the top (most then need no scrolling);
   from 601 to 1100 px it's two rows, 140 px deep, so 12 px under that (150 overlapped it by 10) */
@media (min-width: 1171px) { .museum-panel { max-height: calc(100vh - 96px); } }
@media (min-width: 601px) and (max-width: 1170px) { .museum-panel { max-height: calc(100vh - 172px); } }
.museum-panel-actions { display: grid; gap: 8px; }
.vroom-open-page.is-quiet { background: transparent; color: var(--gold, #F5A31A); }
.vroom-open-page.is-quiet:hover { background: rgba(245,163,26,0.12); }
.vroom-panel-desc.is-pre { white-space: pre-line; }
.vroom-panel-desc.is-mono { font: 500 13px/1.5 var(--font-mono, monospace); overflow-wrap: anywhere; }

/* The desks: a question the museum answers */
.museum-desk label {
  display: block; margin: 0 0 8px;
  font: 700 11px/1.4 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,235,225,0.6);
}
.museum-desk-row { display: flex; gap: 8px; }
.museum-desk input {
  flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0 12px; border-radius: 0;
  border: 1px solid rgba(240,235,225,0.3); background: rgba(255,255,255,0.04); color: var(--off, #F0EBE1);
  font: 500 16px/1 var(--font-ui, sans-serif); /* 16px: Safari zooms in on smaller */
  -webkit-user-select: text; user-select: text;
}
.museum-desk input:focus-visible { outline: 2px solid var(--gold, #F5A31A); outline-offset: 1px; }
.museum-desk button[type="submit"] {
  flex: none; padding: 0 16px; border: 1px solid var(--gold, #F5A31A); background: var(--gold, #F5A31A); color: #1a1004; cursor: pointer;
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}
.museum-desk button[type="submit"]:hover, .museum-desk button[type="submit"]:focus-visible { background: transparent; color: var(--gold, #F5A31A); outline: none; }
.museum-desk-result { margin: 12px 0 0; font: 500 14px/1.45 var(--font-ui, sans-serif); color: var(--off, #F0EBE1); }
/* The guestbook, on the information desk: a name (or none), a few words, then who signed */
.museum-guestbook label span { letter-spacing: 0; text-transform: none; font: 500 12px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.5); }
.museum-guestbook input { display: block; width: 100%; box-sizing: border-box; margin: 0 0 14px; }
.museum-guestbook textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 88px; margin: 0; padding: 10px 12px; border-radius: 0; resize: vertical;
  border: 1px solid rgba(240,235,225,0.3); background: rgba(255,255,255,0.04); color: var(--off, #F0EBE1);
  font: 500 16px/1.45 var(--font-ui, sans-serif); /* 16px: Safari zooms in on smaller */
  -webkit-user-select: text; user-select: text;
}
.museum-guestbook textarea:focus-visible { outline: 2px solid var(--gold, #F5A31A); outline-offset: 1px; }
.museum-gb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.museum-gb-count { font: 500 12px/1 var(--font-mono, monospace); color: rgba(240,235,225,0.55); font-variant-numeric: tabular-nums; }
.museum-guestbook button[type="submit"] { height: 44px; }
.museum-guestbook button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }
.museum-gb-note { margin: 10px 0 0; font: 500 12px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.55); }
.museum-gb-list { margin: 18px -20px 0; padding-top: 12px; border-top: 1px solid rgba(240,235,225,0.12); }
.museum-gb-list ol { margin: 0; padding: 0 20px; list-style: none; }
.museum-gb-list li { padding: 10px 0; border-bottom: 1px solid rgba(240,235,225,0.08); }
.museum-gb-list li:last-child { border-bottom: 0; }
.museum-gb-list q { display: block; font: italic 500 15px/1.45 var(--font-ui, sans-serif); color: var(--off, #F0EBE1); overflow-wrap: anywhere; }
.museum-gb-list li span { display: block; margin-top: 4px; font: 500 12px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.55); }
.museum-gb-list li.is-none { font: 500 14px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.62); }
/* The Vitrine desk's collectors to visit: as the Rooms menu's rows, a name and how many */
.museum-picks { margin: 16px -20px 0; border-top: 1px solid rgba(240,235,225,0.12); padding-top: 10px; }
.museum-picks[hidden] { display: none; }
.museum-picks-head { margin: 0 20px 6px; font: 600 15px/1.3 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-picks-head span { display: block; margin-top: 2px; font: 500 12px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.62); }
.museum-picks ul { margin: 0; padding: 0; list-style: none; }
.museum-picks li[hidden] { display: none; }
.museum-picks li button {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  width: 100%; padding: 9px 20px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--off, #F0EBE1);
}
.museum-picks li button b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.25 var(--font-display, sans-serif); }
.museum-picks li button span { flex: none; font: 500 12px/1.3 var(--font-mono, monospace); color: rgba(240,235,225,0.62); font-variant-numeric: tabular-nums; }
.museum-picks li button:hover, .museum-picks li button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-picks li button:hover b, .museum-picks li button:focus-visible b { color: var(--gold, #F5A31A); }
.museum-picks-more { margin: 6px 20px 0; padding: 6px 0; border: 0; background: none; cursor: pointer; font: 600 13px/1.3 var(--font-ui, sans-serif); color: var(--gold, #F5A31A); text-decoration: underline; text-underline-offset: 3px; }
/* The Vitrine desk's way back to your own, while it shows someone else's */
.museum-back { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 16px; } /* (16 px either side, with the title's 4) */
.museum-back[hidden] { display: none; }
.museum-back[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.museum-back-icon { flex: none; }
.museum-desk-result:empty { display: none; }
.museum-desk-result.is-good { color: #8fd6ae; }
.museum-desk-result.is-bad { color: #f2a097; }
.museum-desk-result.is-taken { color: var(--gold, #F5A31A); }
.museum-desk-link {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--gold, #F5A31A); text-decoration: underline; text-underline-offset: 3px;
}
/* The Double Drop desk's answer in pictures (index.js claimFound), as /doubledrop's: the Hashmask, an arrow, what goes
   with it; the claim or the OpenSea pages under them. In the panel, under the form; on the kiosk's screen, below */
.museum-found { margin: 16px 0 0; }
.museum-found[hidden] { display: none; }
.museum-found-pics { display: flex; align-items: center; gap: 10px; height: 150px; }
.museum-found-pics.is-three { height: 110px; }
.museum-found-pics img { display: block; flex: none; height: 100%; width: auto; box-sizing: border-box; background: #0c0a08; border: 1px solid rgba(240,235,225,0.08); }
.museum-found-pics img.is-mask { aspect-ratio: 397 / 560; }
.museum-found-pics img.is-piece { aspect-ratio: 1; }
.museum-found-pics img.is-missing { opacity: 0.25; }
.museum-found-to { flex: none; position: relative; width: 26px; height: 1px; margin: 0 4px; background: rgba(245,163,26,0.5); }
.museum-found-to::after {
  content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px;
  border-top: 1px solid var(--gold, #F5A31A); border-right: 1px solid var(--gold, #F5A31A); transform: rotate(45deg);
}
.museum-found-cap { margin: 10px 0 0; font: 500 12px/1.4 var(--font-mono, monospace); letter-spacing: 0.04em; color: rgba(240,235,225,0.55); }
.museum-found-note { margin: 6px 0 0; font: 500 13px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.7); }
.museum-found-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 12px 0 0; }
.museum-found-links a { font: 500 13px/1.3 var(--font-ui, sans-serif); color: var(--gold, #F5A31A); text-decoration: underline; text-underline-offset: 3px; }
.museum-found-links a.museum-found-claim {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--gold, #F5A31A); color: #1a1004; text-decoration: none;
  font: 600 12px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}
.museum-found-links a.museum-found-claim:hover, .museum-found-links a.museum-found-claim:focus-visible { background: #ffb840; outline: none; }
.museum-found-links a:focus-visible { outline: 2px solid var(--gold, #F5A31A); outline-offset: 2px; }

/* The anthem, playing over the museum */
.museum-video {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; align-content: center; gap: 16px;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.94);
}
.museum-video[hidden] { display: none; }
.museum-video video { width: min(100%, 1100px); max-height: calc(100vh - 120px); background: #000; }
.museum-video-close {
  padding: 10px 18px; min-height: 40px; cursor: pointer;
  border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6); color: var(--off, #F0EBE1);
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}
.museum-video-close:hover, .museum-video-close:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }

/* A picture up close, over the museum: as large as it goes, what its panel says beside it (under it on a phone); on a
   computer the picture's column as wide as the picture (closeup.js fit), so the two sit together in the middle */
.museum-closeup {
  position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: auto 300px; grid-template-rows: minmax(0, 1fr);
  justify-content: center; gap: 48px; padding: max(24px, env(safe-area-inset-top)) 40px max(24px, env(safe-area-inset-bottom)) 40px;
  background: #080706;
}
.museum-closeup[hidden] { display: none; }
.museum-closeup-art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; cursor: zoom-in; touch-action: none; user-select: none; -webkit-user-select: none; }
.museum-closeup-art.is-near { cursor: zoom-out; }
.museum-closeup-art img { display: block; transform-origin: 0 0; transition: transform 0.3s ease; -webkit-user-drag: none; }
.museum-closeup-art.is-moving img { transition: none; }
.museum-closeup-side { align-self: center; color: var(--off, #F0EBE1); }
.museum-closeup-meta { margin: 0 0 12px; font: 500 12px/1.4 var(--font-mono, monospace); color: var(--gold, #F5A31A); }
.museum-closeup-title { margin: 0 0 12px; font: 600 27px/1.15 var(--font-display, sans-serif); overflow-wrap: anywhere; }
.museum-closeup-desc { margin: 0 0 18px; font: 500 15px/1.45 var(--font-ui, sans-serif); }
.museum-closeup-hint { margin: 20px 0 0; font: 500 12px/1.5 var(--font-ui, sans-serif); color: rgba(240,235,225,0.6); }
.museum-closeup-close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 1;
  padding: 10px 18px; min-height: 40px; cursor: pointer;
  border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6); color: var(--off, #F0EBE1);
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}
.museum-closeup-close:hover, .museum-closeup-close:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }
@media (max-width: 760px) {
  .museum-closeup { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; justify-content: stretch; gap: 16px; padding: max(68px, calc(env(safe-area-inset-top) + 60px)) 16px max(16px, env(safe-area-inset-bottom)); }
  .museum-closeup-side { align-self: start; }
  .museum-closeup-title { font-size: 22px; margin-bottom: 8px; }
  .museum-closeup-desc { font-size: 15px; }
  .museum-closeup-hint { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .museum-closeup-art img { transition: none; } }

/* A postcard of what you see (js/museum/postcard.js): the card as large as it goes, its ways on beside it (under it
   on a phone), as a picture up close is; a camera's flash as it's taken */
.museum-postcard {
  position: absolute; inset: 0; z-index: 6; display: grid; grid-template-columns: auto 300px; grid-template-rows: minmax(0, 1fr);
  justify-content: center; gap: 48px; padding: max(24px, env(safe-area-inset-top)) 40px max(24px, env(safe-area-inset-bottom)) 40px;
  background: rgba(8,7,6,0.97); outline: none;
}
.museum-postcard[hidden] { display: none; }
.museum-postcard-pic { display: grid; place-items: center; min-width: 0; min-height: 0; }
/* (as large as fits beside its words: the screen less the margins (40 + 40), the gap (48) and the words (300)) */
.museum-postcard-pic img { display: block; max-width: calc(100vw - 428px); max-height: calc(100vh - 48px); object-fit: contain; box-shadow: 0 18px 50px rgba(0,0,0,0.55); -webkit-user-drag: none; }
.museum-postcard-side { align-self: center; color: var(--off, #F0EBE1); }
.museum-postcard .museum-panel-actions { margin-top: 4px; }
@media (max-width: 760px) {
  .museum-postcard { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; justify-content: stretch; gap: 16px; padding: max(68px, calc(env(safe-area-inset-top) + 60px)) 16px max(16px, env(safe-area-inset-bottom)); }
  .museum-postcard-pic img { max-width: 100%; max-height: 100%; }
  .museum-postcard-side { align-self: start; }
  .museum-postcard .museum-closeup-title { font-size: 22px; margin-bottom: 8px; }
  .museum-postcard .museum-closeup-desc { margin-bottom: 12px; }
}
.museum-flash { position: absolute; inset: 0; z-index: 7; background: #fff; opacity: 0; pointer-events: none; }
.museum-flash.is-on { animation: museum-flash 0.45s ease-out; }
@keyframes museum-flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

.museum-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 600px) {
  .museum-nav .museum-rooms-btn { padding: 0 12px; }
  .museum .museum-nav .museum-tour-btn { width: 40px; padding: 0; justify-content: center; }
  .museum .museum-nav .museum-tour-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .museum-nav .vroom-nav-prev, .museum-nav .vroom-nav-next { width: 36px; }
  /* Over the controls at the bottom */
  .museum-rooms { top: auto; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 56px); left: 12px; right: 12px; width: auto; transform: none; max-height: 60vh; }
}

/* The information desk's questions, one under the other (room.css's panels set a dl in two columns of
   capitals: undone here) */
.vroom-panel .museum-qa { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 6px 0 0; }
.museum-qa > div { padding: 14px 0; border-top: 1px solid rgba(240,235,225,0.1); }
.museum-qa > div:first-child { padding-top: 6px; border-top: 0; }
.vroom-panel .museum-qa dt { margin: 0 0 6px; font: 600 16px/1.3 var(--font-display, sans-serif); letter-spacing: 0; text-transform: none; color: var(--off, #F0EBE1); }
.museum-qa dd { margin: 0; font: 500 14px/1.55 var(--font-ui, sans-serif); color: rgba(240,235,225,0.8); }
/* Each room's mark on the tour (its number; the lobby's house, the exhibition's star), in a column of its own, centred */
.museum-rooms button b i { display: inline-block; width: 0.8em; margin-right: 0.7em; font-style: normal; text-align: center; color: var(--gold, #F5A31A); }
/* A room you've been in: its stamp after its name, in a rubber stamp's red, a little askew */
.museum-rooms-stamped { display: inline-block; margin-left: 8px; font-style: normal; color: #e0574d; vertical-align: -0.12em; transform: rotate(-12deg); }
.museum-rooms-stamped[hidden] { display: none; }
.museum-rooms-stamp { display: block; width: 0.95em; height: 0.95em; }
/* Under the list: how many are stamped, and the card once they all are */
.museum-rooms-stamps { display: grid; gap: 8px; margin: 6px 0 0; padding: 10px 16px 8px; border-top: 1px solid rgba(240,235,225,0.12); }
.museum-rooms-stamps p { margin: 0; font: 500 13px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.66); }
.museum .museum-rooms .museum-rooms-card { justify-content: center; padding: 9px 12px; border: 1px solid var(--gold, #F5A31A); color: var(--gold, #F5A31A); font: 600 12px/1.2 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; }
.museum .museum-rooms .museum-rooms-card[hidden] { display: none; }
/* (an icon in a number's place: as tall as a figure, a capital's height, and standing on the line as the figures do) */
.museum-rooms-mark { width: 0.8em; height: 0.8em; vertical-align: -0.075em; fill: currentColor; stroke-width: 1.5; }

/* A mask's traits, one a row: what it is, a link to its page; then, each in its own column, its share of all 16,384
   (teal, the site's colour for data; gold for the rarest, under 1 %) and how many masks have it */
.vroom-panel .museum-traits { display: block; margin: 0 0 18px; }
.museum-traits-head, .museum-trait dd { display: grid; grid-template-columns: minmax(0, 1fr) 54px 54px; column-gap: 10px; align-items: baseline; }
.museum-traits-head {
  position: relative; margin: 14px 0 2px; padding-bottom: 10px; border-bottom: 1px solid rgba(240,235,225,0.1);
  font: 600 11px/1 var(--font-mono, monospace); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240,235,225,0.6);
}
.museum-traits-head > span:first-child { font-size: 12px; letter-spacing: 0.2em; color: var(--off, #F0EBE1); }
.museum-traits-head > span:not(:first-child) { text-align: right; }
.museum-traits-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 36px; height: 2px; background: var(--teal, #3DAAB5); }
.museum-trait { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(240,235,225,0.07); }
.vroom-panel .museum-trait dt { font: 600 10.5px/1.3 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,235,225,0.6); }
.museum-trait dd { margin: 0; min-width: 0; }
.museum-trait-v { min-width: 0; font: 600 15px/1.3 var(--font-ui, sans-serif); color: var(--off, #F0EBE1); overflow-wrap: break-word; }
.museum-trait-pct, .museum-trait-count { font: 500 12px/1.3 var(--font-mono, monospace); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.museum-trait-pct { font-weight: 600; color: var(--teal, #3DAAB5); }
.museum-trait-pct.is-only { grid-column: span 2; }
.museum-trait-count { color: rgba(240,235,225,0.6); }
.museum-trait.is-rare .museum-trait-pct { color: var(--gold, #F5A31A); }
/* The traits' head lines up with the values: the label column, then the same three */
.museum-traits-head { grid-template-columns: minmax(0, 1fr) 54px 54px; }
/* A phone: the share only, the count left out, so names keep to one line */
@media (max-width: 600px) {
  .museum-trait { grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; }
  .museum-traits-head, .museum-trait dd { grid-template-columns: minmax(0, 1fr) 54px; }
  .museum-trait-count { display: none; }
  .museum-trait-pct.is-only { grid-column: auto; }
}
.museum-traits-wait { font: 500 13px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.6); }
/* Its traits on their way: the table as it will be, its values still to come */
.museum-trait.is-wait .museum-trait-v { color: rgba(240,235,225,0.35); }
.museum-trait-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(240,235,225,0.3); text-underline-offset: 3px; }
.museum-trait-link:hover, .museum-trait-link:focus-visible { color: var(--gold, #F5A31A); text-decoration-color: currentColor; outline: none; }
/* Panels a little wider than room.css's, for reading (phones: the full width, as before) */
@media (min-width: 601px) { .museum-panel { width: min(400px, calc(100% - 40px)); } }
/* A question on a panel (the holo card's): three answers in a row, the one given filled */
.museum-poll { margin: 0 0 16px; padding: 12px 14px 10px; border: 1px solid rgba(240,235,225,0.16); background: rgba(240,235,225,0.03); }
.museum-poll-q { margin: 0 0 10px; font: 600 15px/1.35 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-poll-a { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.museum-poll-a button { padding: 9px 6px; border: 1px solid var(--gold, #F5A31A); background: transparent; color: var(--gold, #F5A31A); cursor: pointer;
  font: 600 12px/1.2 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; }
.museum-poll-a button:hover:not(:disabled), .museum-poll-a button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-poll-a button[aria-pressed="true"] { background: var(--gold, #F5A31A); color: #0a0908; }
.museum-poll-a button:disabled { cursor: default; opacity: 0.55; }
.museum-poll-a button[aria-pressed="true"]:disabled { opacity: 1; }
.museum-poll.is-sending .museum-poll-a button { cursor: progress; }
.museum-poll-connect { display: block; width: 100%; margin: 8px 0 0; padding: 9px 6px; border: 1px solid var(--gold, #F5A31A); background: var(--gold, #F5A31A); color: #0a0908; cursor: pointer;
  font: 600 12px/1.2 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; }
.museum-poll-connect[hidden] { display: none; }
.museum-poll-connect:hover, .museum-poll-connect:focus-visible { background: #FFB840; outline: 2px solid rgba(245,163,26,0.4); outline-offset: 2px; }
.museum-poll-note { margin: 8px 0 0; font: 500 12.5px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.66); }
/* A show's list (the exhibition's, beside its doorway): a row for each mask in its order, its number, its picture, its
   name over its number and rank, its last price over that in dollars and when, as its card under its frame says; a
   click walks up to it */
.museum-show-list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid rgba(240,235,225,0.1); }
.museum-show-list li { border-bottom: 1px solid rgba(240,235,225,0.07); }
.museum-show-list button { display: grid; grid-template-columns: 18px 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px;
  width: 100%; padding: 8px 6px 8px 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.museum-show-list button:hover, .museum-show-list button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-show-n { grid-row: 1 / 3; align-self: center; font: 700 12px/1 var(--font-mono, monospace); font-variant-numeric: tabular-nums; color: var(--gold, #F5A31A); text-align: right; }
.museum-show-list img { grid-row: 1 / 3; align-self: center; width: 34px; height: 48px; object-fit: cover; background: rgba(240,235,225,0.08); }
.museum-show-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; align-self: end; }
.museum-show-row.is-sub { align-self: start; }
.museum-show-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.25 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-show-row .museum-show-eth { flex: none; font: 600 13px/1.25 var(--font-mono, monospace); font-variant-numeric: tabular-nums; }
.museum-show-row small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 11.5px/1.3 var(--font-mono, monospace); color: var(--gold, #F5A31A); }
.museum-show-row .museum-show-when { flex: none; font: 500 12px/1.3 var(--font-ui, sans-serif); color: rgba(240,235,225,0.66); }
/* A mask's QR code: its page, to open on a phone (none on touch screens) */
.museum-qr { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.museum-qr[hidden] { display: none; }
.museum-qr-code { flex: none; line-height: 0; width: 70px; height: 70px; background: rgba(240,235,225,0.08); } /* (every mask's code: 35 × 2 px) */
.museum-qr p { margin: 0; font: 500 13px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.78); }
.museum-qr b { display: block; margin-bottom: 2px; font: 600 15px/1.3 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-qr-url { display: block; margin-top: 4px; font: 500 12px/1.3 var(--font-mono, monospace); color: rgba(240,235,225,0.6); }
@media (pointer: coarse) { .museum-qr { display: none; } }

/* The site's wallet picker, over the museum when you connect from it; and its offer of a linked (cold) wallet,
   delegate.xyz's, which shows that wallet's Hashmasks once you choose it (wallet.js, audit L-11): under the museum, it
   couldn't be seen, so a Vitrine stayed on the connected wallet's own, often none */
.vroom-open .wallet-picker, .vroom-open .delegate-offer { z-index: 9600; }
/* (under the museum's buttons, top right: at the bottom it would cover the guided tour's offer on a first visit;
   on a phone, where that offer is at the top, just over the room switcher at the bottom) */
.vroom-open .delegate-offer { top: calc(max(16px, env(safe-area-inset-top)) + 64px); bottom: auto; right: 16px; }
@media (max-width: 600px) {
  .vroom-open .delegate-offer { top: auto; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 60px); left: 16px; right: 16px; width: auto; }
}

/* In the Vitrine room, while it shows a featured vitrine: a quiet way to see your own */
.museum-cue {
  position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 16px;
  background: rgba(22, 20, 18, 0.84); color: #f0ebe1; border: 1px solid rgba(240, 235, 225, 0.16);
  font: 500 13px/1.3 "Geist", sans-serif; white-space: nowrap; max-width: calc(100% - 32px);
}
.museum-cue[hidden] { display: none; }
.museum-cue-btn {
  font: 600 13px/1 "Geist", sans-serif; color: #16130f; background: #f5a31a; border: 0;
  padding: 8px 12px; cursor: pointer;
}
.museum-cue-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* (Names and NCT, your wallet in: yours big, one after another, beside the switch) */
.museum-cue-see, .museum-cue-pick, .museum-cue-clear {
  font: 600 13px/1 "Geist", sans-serif; color: #f5a31a; background: transparent; border: 1px solid #f5a31a;
  padding: 7px 12px; cursor: pointer; white-space: nowrap;
}
.museum-cue-see[hidden], .museum-cue-pick[hidden], .museum-cue-clear[hidden] { display: none; }
.museum-cue-see:hover, .museum-cue-see:focus-visible, .museum-cue-pick:hover, .museum-cue-pick:focus-visible,
.museum-cue-clear:hover, .museum-cue-clear:focus-visible { background: rgba(245,163,26,0.14); outline: none; }
/* (the Collection: "Clear trait", quieter than the trait it undoes) */
.museum-cue-clear { color: rgba(240,235,225,0.8); border-color: rgba(240,235,225,0.3); }
/* (the Collection: five at a time, its arrows either side of which five of how many) */
.museum-cue-pager { display: flex; align-items: center; gap: 6px; }
.museum-cue-pager[hidden], .museum-cue-pager button[hidden] { display: none; }
.museum-cue-pager button {
  flex: none; width: 32px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold, #F5A31A); background: transparent; color: var(--gold, #F5A31A); cursor: pointer;
}
.museum-cue-pager button:hover, .museum-cue-pager button:focus-visible { background: rgba(245,163,26,0.14); outline: none; }
.museum-cue-pager .museum-browse-icon { width: 16px; height: 16px; }
.museum-cue-pager b { min-width: 7.5em; text-align: center; font: 500 12px/1.3 var(--font-mono, monospace); letter-spacing: 0.04em; color: rgba(240,235,225,0.85); white-space: nowrap; }
.museum-cue-pager button[hidden] + b, .museum-cue-pager b:last-child { min-width: 0; }
/* The Collection's "For sale now" by trait (index.js saleWall, renderPicker): a sibling of the mask's panel (its
   ground, its border, its title and gold line over it), over the bar. One kind of trait at a time from its own dropdown;
   each trait a row, its cheapest price in gold over how many; gold kept for prices and the trait picked */
.museum-traitpick {
  position: absolute; z-index: 3; left: 50%; bottom: 112px; transform: translateX(-50%);
  width: min(440px, calc(100% - 32px)); max-height: min(560px, calc(100vh - 210px)); display: flex; flex-direction: column;
  background: rgba(10,9,8,0.95); border: 1px solid rgba(240,235,225,0.16); box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: museum-pick-in 0.18s ease-out;
}
@keyframes museum-pick-in { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .museum-traitpick { animation: none; } }
.museum-traitpick[hidden] { display: none; }
.museum-traitpick-head { position: relative; flex: none; padding: 16px 52px 12px 18px; }
.museum-traitpick-meta { margin: 0 0 4px; font: 500 12px/1.4 var(--font-mono, monospace); color: var(--gold, #F5A31A); }
.museum-traitpick-title { margin: 0; font: 600 22px/1.15 var(--font-display, sans-serif); color: var(--off, #F0EBE1); }
.museum-traitpick-close {
  position: absolute; top: 10px; right: 8px; width: 38px; height: 38px; border: 0; background: none; cursor: pointer;
  color: rgba(240,235,225,0.65); font-size: 24px; line-height: 1;
}
.museum-traitpick-close:hover, .museum-traitpick-close:focus-visible { color: var(--off, #F0EBE1); outline: none; }
/* (the dropdown of kinds, and the search, side by side) */
.museum-traitpick-tools { flex: none; display: flex; gap: 8px; padding: 0 18px 14px; border-bottom: 1px solid rgba(240,235,225,0.1); }
.museum-traitpick-kind { position: relative; flex: 0 1 46%; min-width: 0; }
.museum-traitpick-kindbtn, .museum-traitpick-search {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; box-sizing: border-box;
  border: 1px solid rgba(240,235,225,0.22); background: rgba(240,235,225,0.04);
}
.museum-traitpick-kindbtn { justify-content: space-between; padding: 0 10px 0 12px; cursor: pointer; color: var(--off, #F0EBE1); font: 600 14px/1 var(--font-ui, sans-serif); }
.museum-traitpick-kindbtn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.museum-traitpick-kindbtn:hover, .museum-traitpick-kindbtn[aria-expanded="true"] { border-color: var(--gold, #F5A31A); }
.museum-traitpick-kindbtn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.museum-traitpick-chev { flex: none; width: 16px; height: 16px; color: var(--gold, #F5A31A); transition: transform 0.15s ease-out; }
.museum-traitpick-kindbtn[aria-expanded="true"] .museum-traitpick-chev { transform: rotate(180deg); }
.museum-traitpick-kinds {
  position: absolute; z-index: 2; top: calc(100% + 4px); left: 0; min-width: 100%; width: max-content; max-width: 260px; padding: 4px 0;
  background: #15120f; border: 1px solid rgba(240,235,225,0.18); box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.museum-traitpick-kinds[hidden] { display: none; }
.museum-traitpick-kinds button {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 9px 12px; border: 0;
  background: none; cursor: pointer; text-align: left; color: var(--off, #F0EBE1); font: 500 14px/1.2 var(--font-ui, sans-serif);
}
.museum-traitpick-kinds button b { font: 500 12px/1 var(--font-mono, monospace); color: rgba(240,235,225,0.45); }
.museum-traitpick-kinds button:hover, .museum-traitpick-kinds button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-traitpick-kinds button[aria-pressed="true"] { color: var(--gold, #F5A31A); }
.museum-traitpick-search { flex: 1 1 54%; min-width: 0; padding: 0 10px; color: rgba(240,235,225,0.5); }
.museum-traitpick-search:focus-within { border-color: var(--gold, #F5A31A); }
.museum-traitpick-glass { flex: none; width: 16px; height: 16px; }
.museum-traitpick-input {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; outline: none;
  color: var(--off, #F0EBE1); font: 500 16px/1.2 var(--font-ui, sans-serif); /* 16px: Safari zooms in on smaller */
  -webkit-appearance: none; appearance: none; -webkit-user-select: text; user-select: text;
}
.museum-traitpick-input::placeholder { color: rgba(240,235,225,0.45); }
.museum-traitpick-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* (the traits: a row each, the list fading out at its foot while there's more below) */
.museum-traitpick-list {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent);
}
.museum-traitpick-group {
  margin: 14px 18px 4px; font: 600 11px/1.3 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,235,225,0.5);
}
.museum-traitpick-group:first-child { margin-top: 6px; }
.museum-traitpick-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 48px; padding: 6px 18px;
  border: 0; border-bottom: 1px solid rgba(240,235,225,0.06); background: none; cursor: pointer; text-align: left;
  color: var(--off, #F0EBE1); font: 500 16px/1.25 var(--font-ui, sans-serif);
}
.museum-traitpick-opt span { min-width: 0; overflow-wrap: anywhere; }
.museum-traitpick-opt small { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font: 500 11px/1.25 var(--font-mono, monospace); color: rgba(240,235,225,0.5); }
.museum-traitpick-opt small b { font-weight: 500; font-size: 12px; color: var(--gold, #F5A31A); }
.museum-traitpick-opt:hover, .museum-traitpick-opt:focus-visible { background: rgba(245,163,26,0.08); outline: none; }
.museum-traitpick-opt[aria-pressed="true"] { background: rgba(245,163,26,0.12); }
.museum-traitpick-opt[aria-pressed="true"]::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold, #F5A31A); }
.museum-traitpick-opt[aria-pressed="true"] span { color: var(--gold, #F5A31A); }
.museum-traitpick-empty { margin: 0; padding: 18px; font: 500 14px/1.45 var(--font-ui, sans-serif); color: rgba(240,235,225,0.7); }
.museum.is-touring .museum-traitpick, .museum.is-flying .museum-traitpick { display: none; }
.museum-cue-btn[hidden] { display: none; }
/* (Names and NCT: what lights up on the ledger, a switch for each, its square in the colour it lights up in) */
.museum-cue-lights { display: flex; gap: 6px; }
.museum-cue-lights[hidden], .museum-cue-light[hidden] { display: none; }
.museum-cue-light {
  --c: #f5a31a; --tint: rgba(245,163,26,0.16);
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; cursor: pointer; white-space: nowrap;
  font: 500 13px/1 "Geist", sans-serif; color: rgba(240,235,225,0.7); background: transparent; border: 1px solid rgba(240,235,225,0.2);
}
.museum-cue-light[data-light="listed"] { --c: #3daab5; --tint: rgba(61,170,181,0.18); }
.museum-cue-light[data-light="pool"] { --c: #9b7bff; --tint: rgba(155,123,255,0.18); }
.museum-cue-light i { width: 9px; height: 9px; flex: none; border: 1px solid var(--c); }
.museum-cue-light b { font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(240,235,225,0.45); }
.museum-cue-light b:empty { display: none; }
.museum-cue-light[aria-pressed="true"] { color: #f0ebe1; border-color: var(--c); background: var(--tint); }
.museum-cue-light[aria-pressed="true"] i { background: var(--c); box-shadow: 0 0 6px var(--c); }
.museum-cue-light[aria-pressed="true"] b { color: rgba(240,235,225,0.72); }
.museum-cue-light:hover { border-color: var(--c); }
.museum-cue-light:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) {
  .museum-cue { white-space: normal; bottom: 84px; font-size: 12px; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 7px 8px; }
  .museum-cue span { display: none; }
  .museum-traitpick { bottom: 132px; max-height: calc(100vh - 260px); }
}

/* A live page on a screen (js/museum/livewall.js): laid out in 3D behind the canvas, seen where
   the screen clears the picture; it only shows, the canvas takes every click */
.museum-live-layer { position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; }
.museum-live-page { background: #0d1014; }
.museum-live-page iframe { display: block; width: 100%; height: 100%; border: 0; }

/* The Vitrine's floors, when it has mezzanines: a lift's buttons, top floor first */
.museum-floors { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; gap: 6px; pointer-events: auto;
  max-height: calc(100% - 170px); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.museum-floors::-webkit-scrollbar { display: none; }
/* A whole big collection, a dozen floors: smaller buttons */
.museum-floors.is-many { gap: 4px; }
.museum-floors.is-many button { flex: none; width: 36px; height: 36px; font-size: 13px; }
.museum-floors[hidden] { display: none; }
/* With a panel open: just left of it (it can be tall: a mask's traits, its QR code); on phones, out of its way, as the controls at the bottom */
@media (min-width: 601px) { .museum:has(.vroom-panel:not([hidden])) .museum-floors { right: calc(max(20px, env(safe-area-inset-right)) + 412px); } }
@media (max-width: 600px) { .museum:has(.vroom-panel:not([hidden])) .museum-floors { display: none; } }
/* (the holographic card's vote open: no floors beside it, at any size) */
.museum:has(.vroom-panel:not([hidden]) .museum-poll) .museum-floors { display: none; }
.museum-floors button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6);
  color: var(--off, #F0EBE1); font: 600 14px/1 var(--font-ui, sans-serif); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.museum-floors button:hover, .museum-floors button:focus-visible { color: var(--gold, #F5A31A); outline: none; border-color: var(--gold, #F5A31A); }
.museum-floors button[aria-current="true"] { background: var(--gold, #F5A31A); border-color: var(--gold, #F5A31A); color: #16130f; }

/* A first visit's flight (js/museum/flyover.js): a cover until it starts, then back from the Mask of the day
   to where a visit starts; the controls out of the way until it stops, and a way to skip it */
.museum .vroom-top, .museum .museum-nav, .museum .vroom-hint { transition: opacity 0.6s ease, visibility 0.6s; }
.museum.is-flying .vroom-top, .museum.is-flying .museum-nav, .museum.is-flying .vroom-hint, .museum.is-flying .vroom-progress,
.museum.is-flying .museum-floors, .museum.is-flying .vroom-stick, .museum.is-flying .museum-cue, .museum.is-flying .museum-rooms { opacity: 0; visibility: hidden; }
.museum-fly-cover {
  position: absolute; inset: 0; z-index: 20; display: grid; place-content: center; gap: 14px; padding: 24px; text-align: center;
  background: #0b0a09; color: var(--off, #F0EBE1); transition: opacity 0.9s ease, visibility 0.9s;
}
.museum-fly-cover[hidden] { display: none; }
.museum-fly-cover.is-gone { opacity: 0; visibility: hidden; }
.museum-fly-title { margin: 0; font: 600 clamp(46px, 6.4vw, 80px)/1 var(--font-display, sans-serif); letter-spacing: -0.01em; }
.museum-fly-status { margin: 0; font: 500 13px/1.4 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,235,225,0.66); }
.museum-fly-skip {
  position: absolute; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 21;
  padding: 10px 18px; min-height: 40px; border: 1px solid rgba(240,235,225,0.4); background: rgba(6,5,4,0.6);
  color: var(--off, #F0EBE1); cursor: pointer; font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.museum-fly-skip[hidden] { display: none; }
.museum-fly-skip:hover, .museum-fly-skip:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }

/* The guided tour (js/museum/tour.js): its words in a card at the bottom while it walks and stands, a line filling as
   it stands; Next, and a way out. While it's on, the controls it walks for are out of the way (the top bar stays: the
   music, a postcard, a link, the way out). Offered once on a first visit in the same card: at the bottom on a computer
   (the hint under it hidden meanwhile), at the top on a phone (clear of the stick and the buttons at the bottom). */
.museum-tour {
  position: absolute; z-index: 4; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); padding: 16px 20px 18px;
  background: rgba(10,9,8,0.92); border: 1px solid rgba(240,235,225,0.16); color: var(--off, #F0EBE1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.museum-tour[hidden] { display: none; }
.museum-tour-meta { margin: 0 0 8px; font: 500 12px/1.4 var(--font-mono, monospace); color: var(--gold, #F5A31A); }
.museum-tour-title { margin: 0 0 6px; font: 600 22px/1.15 var(--font-display, sans-serif); overflow-wrap: anywhere; }
.museum-tour-text { margin: 0; font: 500 15px/1.5 var(--font-ui, sans-serif); color: rgba(240,235,225,0.88); }
.museum-tour-bar { height: 2px; margin: 14px 0; background: rgba(240,235,225,0.14); overflow: hidden; }
.museum-tour-bar i { display: block; height: 100%; background: var(--gold, #F5A31A); transform-origin: 0 50%; transform: scaleX(0); }
.museum-tour.is-last .museum-tour-bar, .museum-tour.is-invite .museum-tour-bar { background: none; }
.museum-tour-actions { display: flex; gap: 8px; }
.museum-tour-actions button {
  flex: 1; min-height: 42px; padding: 0 12px; border: 1px solid var(--gold, #F5A31A); cursor: pointer;
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}
.museum-tour-go { background: var(--gold, #F5A31A); color: #1a1004; }
.museum-tour-go:hover, .museum-tour-go:focus-visible { background: transparent; color: var(--gold, #F5A31A); outline: none; }
.museum-tour-stop, .museum-tour-alt { background: transparent; color: var(--gold, #F5A31A); }
.museum-tour-stop:hover, .museum-tour-stop:focus-visible, .museum-tour-alt:hover, .museum-tour-alt:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
/* The welcome card (index.js offerTour): the audio tour, then the guided tour and No thanks (on a computer one under
   another beside its words; on a phone the audio tour across the card, the other two under it) */
.museum-tour-alt[hidden] { display: none; }
/* The audio tour (index.js, guide.js): Back, Pause and its speed over Next and the way out; its captions a sentence at a time, the
   card as tall as two lines of them, so it doesn't jump as they change */
.museum-tour-audio { display: none; }
.museum-tour.is-audio .museum-tour-audio { display: flex; gap: 8px; }
.museum-tour-actions .museum-tour-audio button {
  flex: 1; min-height: 32px; padding: 0 8px; border-color: rgba(245,163,26,0.5); background: transparent; color: var(--gold, #F5A31A);
  font-size: 11px; letter-spacing: 0.1em;
}
.museum-tour-actions .museum-tour-audio button:hover, .museum-tour-actions .museum-tour-audio button:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
.museum-tour-actions .museum-tour-audio button:disabled { opacity: 0.35; cursor: default; background: transparent; }
.museum-tour.is-audio .museum-tour-text { min-height: 2.9em; }
.museum.is-touring .museum-nav, .museum.is-touring .vroom-hint, .museum.is-touring .vroom-progress, .museum.is-touring .vroom-stick,
.museum.is-touring .museum-floors, .museum.is-touring .museum-cue, .museum.is-touring .museum-rooms, .museum.is-touring .vroom-find { display: none; }
.museum:has(.museum-tour.is-invite:not([hidden])) .vroom-hint { display: none; }
/* Caught live (index.js): a sale or a naming the moment it happens, under the top bar, the way to it beside the news;
   over the tour too (only its button takes you off it) */
.museum-live {
  position: absolute; z-index: 4; left: 50%; top: calc(max(16px, env(safe-area-inset-top)) + 64px); transform: translateX(-50%);
  width: min(470px, calc(100% - 32px)); padding: 12px 12px 12px 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: center;
  background: rgba(10,9,8,0.92); border: 1px solid rgba(245,163,26,0.45); color: var(--off, #F0EBE1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: museum-live-in 0.35s ease-out;
}
.museum-live[hidden] { display: none; }
.museum-live-meta {
  grid-column: 1 / -1; margin: 0 0 4px; display: flex; align-items: center; gap: 8px;
  font: 500 12px/1.4 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold, #F5A31A);
}
.museum-live-meta i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: museum-live-dot 1.6s ease-out infinite; }
.museum-live-text { grid-column: 1; margin: 0; font: 600 16px/1.35 var(--font-display, sans-serif); overflow-wrap: anywhere; }
.museum-live-stamp { grid-column: 1; margin: 4px 0 0; font: 500 13px/1.4 var(--font-ui, sans-serif); color: rgba(240,235,225,0.72); }
.museum-live-actions { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 6px; }
.museum-live-go {
  min-height: 42px; padding: 0 14px; border: 1px solid var(--gold, #F5A31A); background: var(--gold, #F5A31A); color: #1a1004; cursor: pointer;
  font: 600 12px/1 var(--font-ui, sans-serif); letter-spacing: 0.1em; text-transform: uppercase;
}
.museum-live-go:hover, .museum-live-go:focus-visible { background: transparent; color: var(--gold, #F5A31A); outline: none; }
.museum-live-close {
  width: 42px; min-height: 42px; border: 1px solid rgba(240,235,225,0.22); background: transparent; color: var(--off, #F0EBE1); cursor: pointer;
  font: 400 20px/1 var(--font-ui, sans-serif);
}
.museum-live-close:hover, .museum-live-close:focus-visible { border-color: var(--gold, #F5A31A); color: var(--gold, #F5A31A); outline: none; }
@keyframes museum-live-in { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes museum-live-dot { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,0.65); } 70%, 100% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } }
@media (prefers-reduced-motion: reduce) { .museum-live, .museum-live-meta i { animation: none; } }
@media (max-width: 600px) {
  .museum-live { grid-template-columns: minmax(0, 1fr); }
  .museum-live-actions { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .museum-live-go { flex: 1; }
}
/* By day, after hours in the Rooms list: shut (it walks you to its door), its words a little quieter */
.museum-rooms button.is-shut b { color: rgba(240,235,225,0.72); }
/* A mask chosen on the naming ledger (index.js): its picture on the left of the screen, its panel on the right, the two
   as wide and their feet level (the user: "it should go on the left side of the screen", "the same width as the modal
   on the right"), a click on it up close; under it yours' claim-or-name, and the way on at its foot, where it stays
   whichever mask it shows (the user: going on, he "end up clicking on Claim"). On a narrow screen, where
   there's no room for both (under 900 px), at the top of the panel instead */
.museum-panel-pic {
  position: absolute; z-index: 2; bottom: max(20px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left));
  width: min(400px, calc(100% - 40px)); padding: 10px; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(240,235,225,0.16); background: rgba(10,9,8,0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.museum-panel-pic[hidden] { display: none; }
.museum-panel-pic-img { position: relative; display: block; padding: 0; border: 0; background: var(--tile, #1b1916); cursor: zoom-in; }
/* Till its picture's in (index.js showPanel): the square's own colour, a turning ring over it */
.museum-panel-pic-img img, .museum-panel-thumb img { transition: opacity 0.25s ease-out; }
.museum-panel-pic-img.is-waiting img, .museum-panel-thumb.is-waiting img { opacity: 0; }
.museum-panel-pic-img.is-waiting::after, .museum-panel-thumb.is-waiting::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; box-sizing: border-box;
  border: 3px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: museum-wait 0.8s linear infinite;
}
@keyframes museum-wait { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .museum-panel-pic-img.is-waiting::after, .museum-panel-thumb.is-waiting::after { animation: none; } }
/* Its name under its picture (the user: "add the name on the left modal too") */
.museum-panel-pic-name { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.museum-panel-pic-name b { font: 600 20px/1.2 var(--font-display, sans-serif); color: var(--off, #F0EBE1); overflow-wrap: anywhere; }
.museum-panel-pic-name span { flex: none; font: 500 12px/1.3 var(--font-mono, monospace); color: rgba(240,235,225,0.6); }
/* (a card flying back into its square, index.js endLedger: a copy, gone once there) */
.museum-panel-pic.is-flying-back, .vroom-panel.is-flying-back { pointer-events: none; z-index: 3; }
.museum-panel-pic img, .museum-panel-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 1444; object-fit: cover; background: #1b1916; }
/* (on a short screen, the picture smaller, all of it, so the card stays clear of the room's name at the top) */
.museum-panel-pic img { max-height: calc(100vh - 330px); object-fit: contain; }
.museum-panel-pic-actions[hidden] { display: none; }
@media (min-width: 901px) {
  /* The two cards one size, as wide and as tall (the user: "the modal width and height the exact same on both"), clear
     of the top bar: the picture takes what its card leaves, the mask's colour round it; the panel scrolls within */
  .museum { --ledger-card-h: min(720px, calc(100vh - 120px)); }
  .museum-panel-pic, .vroom-panel.is-ledger { height: var(--ledger-card-h); max-height: none; box-sizing: border-box; }
  .museum-panel-pic-img { flex: 1 1 auto; min-height: 0; }
  .museum-panel-pic img { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: contain; }
  .vroom-panel .vroom-open-page.is-beside { display: none; }
  /* (with a picture on the left and a panel on the right, the bar and the hint at the foot have no room between: away
     till the panel's closed) */
  .museum:has(.museum-panel-pic:not([hidden])) .museum-cue, .museum:has(.museum-panel-pic:not([hidden])) .vroom-hint { display: none; }
}
.museum-panel-pic-img:focus-visible, .museum-panel-thumb:focus-visible { outline: 2px solid var(--gold, #F5A31A); outline-offset: 2px; }
.museum-panel-thumb { display: none; }
/* One of yours: the way through all of yours (index.js showLedgerMask), under its picture; in the panel on a narrow screen */
.museum-panel-browse { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.museum-panel-browse[hidden] { display: none; }
.museum-panel-browse button {
  flex: none; width: 44px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold, #F5A31A); background: transparent; color: var(--gold, #F5A31A); cursor: pointer;
}
.museum-browse-icon { display: block; width: 20px; height: 20px; stroke-width: 2.4; }
.museum-panel-browse button:hover, .museum-panel-browse button:focus-visible { background: rgba(245,163,26,0.14); outline: none; }
.museum-panel-browse span { font: 500 12px/1.3 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(240,235,225,0.78); }
/* (browsing what's lit: the groups this one's in, each in its switch's colour, over where it is among them all; two
   short lines, as tall as the arrows, so they don't move) */
.museum-panel-browse span:has(.museum-browse-tags) { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.museum-browse-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; font: inherit; }
.museum-browse-tags em { --c: #f5a31a; display: inline-flex; align-items: center; gap: 6px; font-style: normal; color: var(--c); }
.museum-browse-tags em[data-light="listed"] { --c: #3daab5; }
.museum-browse-tags em[data-light="pool"] { --c: #9b7bff; }
.museum-browse-tags i { width: 8px; height: 8px; background: var(--c); box-shadow: 0 0 5px var(--c); }
.museum-panel-browse small { font-size: 11px; color: rgba(240,235,225,0.6); }
.vroom-panel .museum-panel-browse { display: none; }
@media (max-width: 900px) {
  .museum-panel-pic { display: none; }
  .museum-panel-thumb { position: relative; display: block; width: 120px; margin: 0 0 12px; padding: 0; border: 1px solid rgba(240,235,225,0.16); background: var(--tile, #1b1916); cursor: zoom-in; }
  .vroom-panel .museum-panel-browse { display: flex; margin: 0 0 12px; }
}
/* On a computer, low and wide, as a subtitle: its words on the left, its buttons on the right, the line along its foot,
   so what it stops at stays in view over it */
@media (min-width: 601px) {
  .museum-tour {
    display: grid; grid-template-columns: minmax(0, 1fr) 200px; grid-template-areas: 'meta go' 'title go' 'text go' 'bar bar';
    column-gap: 22px; width: min(780px, calc(100% - 40px)); padding: 14px 18px 0;
  }
  .museum-tour-meta { grid-area: meta; margin-bottom: 6px; }
  .museum-tour-title { grid-area: title; margin-bottom: 4px; font-size: 20px; }
  .museum-tour-text { grid-area: text; font-size: 14px; line-height: 1.45; }
  .museum-tour-actions { grid-area: go; flex-direction: column; justify-content: center; }
  .museum-tour-actions button { flex: none; min-height: 38px; }
  .museum-tour-bar { grid-area: bar; margin: 14px -18px 0; }
}
@media (max-width: 600px) {
  .museum-tour { width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); padding: 14px 16px 16px; }
  .museum-tour-title { font-size: 20px; }
  .museum-tour-text { font-size: 14px; }
  .museum-tour-bar { margin: 12px 0; }
  .museum-tour.is-invite { top: calc(max(16px, env(safe-area-inset-top)) + 96px); bottom: auto; }
  .museum-tour.is-invite .museum-tour-actions { flex-wrap: wrap; }
  .museum-tour.is-invite .museum-tour-go { flex-basis: 100%; }
  .museum-tour.is-invite .museum-tour-stop { flex: 0 0 auto; } /* (No thanks as wide as its words: the quick tour's, with its length, on one line) */
  .museum-tour.is-audio .museum-tour-actions { flex-wrap: wrap; }
  .museum-tour.is-audio .museum-tour-audio { flex-basis: 100%; }
}
/* In the Rooms list, over the rooms: the tour */
.museum-rooms .museum-rooms-tour {
  justify-content: flex-start; margin: 2px 0 6px; padding: 12px 16px; border-bottom: 1px solid rgba(240,235,225,0.12);
  color: var(--gold, #F5A31A); font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase;
}

/* The museum's panels and lists are dark, so are their scrollbars: thin, a clear thumb, no track, as css/labels.css draws
   the site's, a little clearer on these panels; and dark wherever a browser draws its own instead (color-scheme) */
.vroom.museum { color-scheme: dark; }
.museum .vroom-panel, .museum .museum-rooms, .museum .vroom-find-list, .museum .museum-closeup-side, .museum .museum-postcard { scrollbar-width: thin; scrollbar-color: rgba(240,235,225,0.3) transparent; }
.museum .vroom-panel::-webkit-scrollbar-thumb, .museum .museum-rooms::-webkit-scrollbar-thumb, .museum .vroom-find-list::-webkit-scrollbar-thumb { background: rgba(240,235,225,0.3); }

/* Before a wallet connects: a delegate wallet, what the museum asks a wallet for, and at the visitor’s own risk */
.museum-notice { width: min(460px, calc(100vw - 32px)); box-sizing: border-box; margin: auto; padding: 22px 24px 20px;
  border: 1px solid rgba(240,235,225,0.22); background: rgba(10,9,8,0.98); color: var(--off, #F0EBE1); box-shadow: 0 18px 48px rgba(0,0,0,0.6); }
.museum-notice::backdrop { background: rgba(6,5,4,0.62); }
.museum-notice h2 { margin: 0 0 12px; font: 600 24px/1.15 var(--font-display, sans-serif); letter-spacing: -0.005em; }
.museum-notice p { margin: 0 0 12px; font: 400 15px/1.5 var(--font-ui, sans-serif); color: rgba(240,235,225,0.86); }
.museum-notice a { color: var(--gold, #F5A31A); text-underline-offset: 3px; }
.museum-notice .museum-notice-fine { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(240,235,225,0.14); font-size: 13px; color: rgba(240,235,225,0.6); }
.museum-notice-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.museum-notice-actions button { height: 42px; padding: 0 16px; border: 1px solid rgba(240,235,225,0.3); background: transparent; color: var(--off, #F0EBE1);
  cursor: pointer; font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; }
.museum-notice-actions .museum-notice-ok { border-color: var(--gold, #F5A31A); background: var(--gold, #F5A31A); color: #1a1004; }
.museum-notice-actions button:hover, .museum-notice-actions button:focus-visible { outline: 2px solid rgba(245,163,26,0.45); outline-offset: 2px; }
@media (max-width: 480px) { .museum-notice-actions button { flex: 1 1 100%; } } /* (on a phone: one under the other, full width) */

/* A kiosk's screen in use (index.js focusDesk): its desk's form over the totem's screen, laid out as the screen's own
   picture is (objects.js paintKioskScreen) in the same proportions (desks.js SCREEN: cqh and cqw here), so stepping up to
   it changes nothing on it (the user: "should looks the exact same, same layout, text, btn"); filling it, the form at its
   foot as a kiosk's (the user: "use the entire screen") */
.museum-screen { position: fixed; z-index: 30; box-sizing: border-box; container-type: size; overflow: hidden; background: linear-gradient(#1c1a17, #0b0a09); color: #f0ebe1; }
.museum-screen-in { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding: 6.5cqh 8cqw 6cqh; }
.museum-screen .vroom-panel-meta { order: 1; margin: 0 0 1.8cqh; font: 700 1.85cqh/1.2 "JetBrains Mono", monospace; letter-spacing: 0.16em; text-transform: uppercase; color: #f5a31a; }
.museum-screen h2 { order: 2; margin: 0 0 2.8cqh; font: 600 6.4cqh/1.08 "Clash Display", "Geist", sans-serif; letter-spacing: normal; text-wrap: wrap; color: #f0ebe1; }
.museum-screen .museum-screen-intro { order: 3; margin: 0; font: 500 2.7cqh/1.45 "Geist", sans-serif; letter-spacing: normal; text-wrap: wrap; color: rgba(240,235,225,0.68); }
/* (the way back: a pill sized to its words, as painted, not the panel's wide gold button it is too) */
.museum-screen .museum-back { order: 4; align-self: flex-start; display: inline-flex; align-items: center; justify-content: flex-start; gap: 1.6cqw; width: auto; height: 5.2cqh;
  min-height: 0; margin: 2.2cqh 0 0; padding: 0 3.6cqw; border: 0; border-radius: 99px; background: #f5a31a; color: #16130f;
  font: 600 2.2cqh/1 "Geist", sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; }
.museum-screen .museum-back:hover, .museum-screen .museum-back:focus-visible { background: #ffb840; color: #16130f; }
.museum-screen .museum-back[hidden] { display: none; }
.museum-screen .museum-back[aria-disabled="true"] { background: #f4cf86; opacity: 1; }
.museum-screen .museum-back svg { width: 2.6cqh; height: 2.6cqh; }
.museum-screen .museum-picks { order: 5; margin: 2.4cqh 0 0; padding: 2cqh 0 0; border-top: 1px solid rgba(240,235,225,0.12); }
.museum-screen .museum-picks-head { margin: 0 0 1.2cqh; font: 600 3.05cqh/1.3 "Clash Display", "Geist", sans-serif; color: #f0ebe1; }
.museum-screen .museum-picks-head span { display: block; margin: 0; font: 500 2.1cqh/1.4 "Geist", sans-serif; color: rgba(240,235,225,0.62); }
.museum-screen .museum-picks ul { margin: 0; padding: 0; list-style: none; }
.museum-screen .museum-picks li button { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; width: 100%; height: 3.5cqh; padding: 0; border: 0;
  background: none; color: #f0ebe1; cursor: pointer; }
.museum-screen .museum-picks li button b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 2.65cqh "Clash Display", "Geist", sans-serif; }
.museum-screen .museum-picks li button span { flex: none; font: 500 2cqh "JetBrains Mono", monospace; color: rgba(240,235,225,0.62); }
.museum-screen .museum-picks li button:hover b, .museum-screen .museum-picks li button:focus-visible b { color: #f5a31a; }
.museum-screen .museum-picks-more { margin: 1cqh 0 0; padding: 0; border: 0; background: none; color: #f5a31a; font: 600 2.2cqh "Geist", sans-serif; text-decoration: underline; cursor: pointer; }
/* (the form at the screen's foot: the field and the button across it, under them the answer's place) */
.museum-screen .museum-desk { order: 6; margin: auto 0 0; }
.museum-screen .museum-desk label { display: block; margin: 0 0 1.4cqh; font: 700 1.85cqh/1.2 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,235,225,0.6); }
.museum-screen .museum-desk-row { display: flex; flex-direction: column; gap: 1.6cqh; height: auto; }
.museum-screen .museum-desk input { flex: none; width: 100%; min-width: 0; height: 8.2cqh; margin: 0; box-sizing: border-box; padding: 0 3cqw; border: 1px solid rgba(240,235,225,0.3); border-radius: 0;
  background: rgba(255,255,255,0.04); color: #f0ebe1; font: 500 3.2cqh "Geist", sans-serif; }
.museum-screen .museum-desk input::placeholder { color: rgba(240,235,225,0.42); opacity: 1; }
.museum-screen .museum-desk button[type="submit"] { flex: none; width: 100%; height: 7.2cqh; margin: 0; padding: 0; border: 0; background: #f5a31a; color: #1a1004;
  font: 600 2.3cqh "Geist", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.museum-screen .museum-desk button[type="submit"]:hover, .museum-screen .museum-desk button[type="submit"]:focus-visible { background: #ffb840; color: #1a1004; }
.museum-screen .museum-desk-result { min-height: calc(2.65cqh * 1.45); margin: 2.4cqh 0 0; font: 500 2.65cqh/1.45 "Geist", sans-serif; }
/* (till there is an answer, where it will show: as painted) */
.museum-screen .museum-desk-result:empty { display: block; }
.museum-screen .museum-desk-result:empty::before { content: attr(data-hint); color: rgba(240,235,225,0.38); }
/* (the Double Drop desk's answer in pictures: under the question, where its line of explanation was, while they show.
   To fit the screen without scrolling, the Elemental's line stays in the panel (on the screen, the claim board beside
   the kiosk says it), and the field's label is only read out (the number is in the field)) */
.museum-screen .museum-found { order: 3; margin: 0 0 2cqh; }
.museum-screen-in:has(> .museum-found:not([hidden])) > .museum-screen-intro { display: none; }
.museum-screen-in:has(> .museum-found:not([hidden])) .museum-desk label {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.museum-screen .museum-found-pics { height: 18cqh; gap: 2cqw; }
.museum-screen .museum-found-pics.is-three { height: 14cqh; }
.museum-screen .museum-found-to { width: 6cqw; margin: 0 1cqw; }
.museum-screen .museum-found-cap { margin: 1.2cqh 0 0; font-size: 1.85cqh; }
.museum-screen .museum-found-note { display: none; }
.museum-screen .museum-found-links { margin: 1.6cqh 0 0; gap: 1cqh 4cqw; }
.museum-screen .museum-found-links a { font-size: 2.2cqh; }
.museum-screen .museum-found-links a.museum-found-claim { height: 5cqh; padding: 0 3.4cqw; font-size: 1.9cqh; }
.museum-screen-done { position: absolute; top: 3cqh; right: 5cqw; z-index: 1; padding: 1cqh 1.8cqw; border: 1px solid rgba(240,235,225,0.25); background: transparent;
  color: #f0ebe1; font: 600 1.7cqh/1 "Geist", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.museum-screen-done:hover, .museum-screen-done:focus-visible { border-color: #f5a31a; color: #f5a31a; outline: none; }
.museum-screen-on .vroom-hint, .museum-screen-on .museum-cue { opacity: 0; pointer-events: none; }

/* Phones held sideways (short, touch): the portrait phone's arrangement, side by side. A compact top bar (the title, the
   icon buttons, Copy link and Exit), ‹ Rooms › and Find a mask at the bottom right, opposite the stick, and no hint bar,
   as in portrait. The tablet layout used here (601 to 1170 px wide) put the room switcher on a second row floating over
   the view (the user: "on landscape mode the UI feels quite cluttered, with controls overlapping the view") */
@media (max-height: 500px) and (pointer: coarse) {
  .museum .vroom-top { gap: 10px; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 14px max(12px, env(safe-area-inset-left)); }
  .museum .vroom-title { gap: 2px; padding: 6px 10px 7px; }
  .museum .vroom-eyebrow { font-size: 9px; letter-spacing: 0.14em; }
  .museum .vroom-title b { font-size: 17px; }
  .museum .vroom-actions { gap: 6px; }
  .museum .vroom-actions .museum-full, .museum .vroom-actions .museum-music, .museum .vroom-actions .museum-snap { width: 36px; min-height: 36px; }
  .museum .vroom-actions .museum-wallet { min-height: 36px; padding: 0 10px; }
  .museum .vroom-copy, .museum .vroom-exit { min-height: 36px; padding: 8px 10px; font-size: 12px; letter-spacing: 0.05em; }
  .museum .vroom-hint { display: none; }
  .museum .museum-nav { top: auto; left: auto; right: max(12px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); transform: none; gap: 6px; }
  .museum .museum-nav button { min-height: 36px; }
  .museum .museum-nav .vroom-nav-find, .museum .museum-nav .museum-tour-btn { width: 36px; padding: 0; justify-content: center; }
  .museum .museum-nav .vroom-nav-find span, .museum .museum-nav .museum-tour-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .museum:has(.vroom-panel:not([hidden])) .museum-nav { display: none; }
  .museum .vroom-find { top: max(8px, env(safe-area-inset-top)); }
  .museum .museum-rooms { top: auto; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 46px); left: auto; right: max(12px, env(safe-area-inset-right)); transform: none; max-height: calc(100vh - 110px); }
  .museum .museum-panel { max-height: calc(100vh - 76px); }
  .museum .vroom-stick { width: 96px; height: 96px; bottom: max(14px, env(safe-area-inset-bottom)); }
  /* (the tour's card a size smaller, so it leaves the room in view: it stood 40% of the screen's height) */
  .museum .museum-tour { bottom: max(10px, env(safe-area-inset-bottom)); padding: 10px 14px 12px; }
  .museum .museum-tour-meta { margin-bottom: 4px; font-size: 11px; }
  .museum .museum-tour-title { margin-bottom: 4px; font-size: 18px; }
  .museum .museum-tour-text { font-size: 13px; line-height: 1.4; }
  .museum .museum-tour-bar { margin: 8px 0; }
  .museum .museum-tour-actions button { min-height: 34px; }
  /* (its buttons in two rows at most, the column wider: Back, Pause and the speed over Next and the way out side by side;
     the welcome card's audio tour across, the quick tour and No thanks under it. Stacked, they made the card 40% of the
     screen's height: the user, "check lanscape mode tour is clean too") */
  .museum .museum-tour { grid-template-columns: minmax(0, 1fr) 280px; }
  .museum .museum-tour-actions { flex-direction: row; flex-wrap: wrap; align-content: center; }
  .museum .museum-tour-actions > button { flex: 1 1 0; padding: 0 8px; font-size: 12px; letter-spacing: 0.08em; }
  .museum .museum-tour.is-audio .museum-tour-audio { flex-basis: 100%; }
  .museum .museum-tour.is-invite .museum-tour-go { flex-basis: 100%; }
  .museum .museum-tour.is-invite .museum-tour-stop { flex: 0 0 auto; }
}

/* A phone held sideways, on a tour: its words as subtitles over the room, its buttons in a column at the right edge, so the
   room stays in view (the user, 2026-11-15: "The modal that show navigation and caption takes too much space, we need to
   do it differently on mobile"; of the three looks built to compare, a strip along the foot, a card in the corner and
   this, "c better"). Its top line says how far it's got and the stop; the line under it, what the guide says; the
   tour's progress along the screen's foot. The buttons as icons (Back, Pause or Play, the speed, Next; the way out at
   the top, away from the thumb's way to Next), their words kept for screen readers; at the last stop Next and the way
   out say what they do (Sign the guestbook, Walk on my own). Fixed to the screen, so no transform or blur on the card;
   the room shows between its words, which take a tap (a tap on the room ends the tour). The welcome card is as it was. */
@media (max-height: 500px) and (pointer: coarse) {
  .museum .museum-tour:not(.is-invite) {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 0;
    left: 0; right: 0; margin: 0 auto; width: min(600px, calc(100% - 150px)); transform: none;
    bottom: max(10px, env(safe-area-inset-bottom)); padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
    text-align: center; pointer-events: none;
  }
  .museum .museum-tour.is-last:not(.is-invite) { width: min(600px, calc(100% - 400px)); } /* (clear of its worded buttons) */
  .museum .museum-tour:not(.is-invite)::after { content: ''; order: 3; flex-basis: 100%; height: 0; } /* (the words on a line of their own) */
  .museum .museum-tour:not(.is-invite) :is(.museum-tour-meta, .museum-tour-title, .museum-tour-text) { pointer-events: auto; }
  .museum .museum-tour:not(.is-invite) .museum-tour-meta :is(.museum-tour-kind, .museum-tour-room, .museum-tour-dot) { display: none; }
  .museum .museum-tour:not(.is-invite) .museum-tour-meta { order: 1; margin: 0; padding: 4px 6px 4px 10px; background: rgba(10,9,8,0.82); font-size: 10px; line-height: 17px; letter-spacing: 0.04em; white-space: nowrap; }
  .museum .museum-tour:not(.is-invite) .museum-tour-title { order: 2; margin: 0; padding: 4px 10px 4px 0; background: rgba(10,9,8,0.82); font-size: 13px; line-height: 17px; }
  .museum .museum-tour:not(.is-invite) .museum-tour-text { order: 4; width: fit-content; max-width: 100%; margin: 4px 0 0; padding: 6px 12px; min-height: 0;
    background: rgba(10,9,8,0.82); color: var(--off, #F0EBE1); font-size: 14px; line-height: 1.4; }
  .museum .museum-tour:not(.is-invite) .museum-tour-bar { grid-area: auto; position: fixed; left: 0; right: 0; bottom: 0; height: 2px; margin: 0; }
  .museum .museum-tour:not(.is-invite) .museum-tour-actions {
    position: fixed; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); flex-direction: column; gap: 8px; pointer-events: auto;
  }
  .museum .museum-tour.is-last:not(.is-invite) .museum-tour-actions { align-items: flex-end; }
  .museum .museum-tour:not(.is-invite) .museum-tour-audio { flex: none; flex-basis: auto; flex-direction: column; gap: 8px; }
  .museum .museum-tour:not(.is-invite) .museum-tour-stop { order: -1; }
  .museum .museum-tour:not(.is-invite) .museum-tour-actions button {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; min-height: 38px; height: 38px; padding: 0;
  }
  .museum .museum-tour:not(.is-invite) .museum-tour-actions button:not(.museum-tour-go) { background: rgba(10,9,8,0.82); }
  .museum .museum-tour:not(.is-invite) .museum-tour-actions button[hidden] { display: none; }
  .museum .museum-tour:not(.is-invite) .museum-tour-speed { font-size: 12px; letter-spacing: 0.02em; }
  .museum .museum-tour.is-last:not(.is-invite) :is(.museum-tour-go, .museum-tour-stop) { width: auto; padding: 0 12px; font-size: 11px; letter-spacing: 0.08em; }
  .museum .museum-tour:not(.is-invite) :is(.museum-tour-back, .museum-tour-pause),
  .museum .museum-tour:not(.is-invite):not(.is-last) :is(.museum-tour-go, .museum-tour-stop) { font-size: 0; letter-spacing: 0; }
  .museum .museum-tour:not(.is-invite) :is(.museum-tour-back, .museum-tour-pause)::before,
  .museum .museum-tour:not(.is-invite):not(.is-last) :is(.museum-tour-go, .museum-tour-stop)::before {
    content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--tour-icon) center / contain no-repeat; mask: var(--tour-icon) center / contain no-repeat;
  }
  .museum .museum-tour-back { --tour-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='19 20 9 12 19 4 19 20' fill='black'/%3E%3Cline x1='5' x2='5' y1='19' y2='5'/%3E%3C/svg%3E"); }
  .museum .museum-tour-pause { --tour-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='4' width='4' height='16' rx='1' fill='black'/%3E%3Crect x='6' y='4' width='4' height='16' rx='1' fill='black'/%3E%3C/svg%3E"); }
  .museum .museum-tour-pause[aria-pressed="true"] { --tour-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='6 3 20 12 6 21 6 3' fill='black'/%3E%3C/svg%3E"); }
  .museum .museum-tour-go { --tour-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 4 15 12 5 20 5 4' fill='black'/%3E%3Cline x1='19' x2='19' y1='5' y2='19'/%3E%3C/svg%3E"); }
  .museum .museum-tour-stop { --tour-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); }
}

/* A passing notice (vroom-toast) while the tour's card is up at the bottom: over the room at the top, not on the card
   (the welcome card on a phone held upright is at the top: the notice stays at the bottom then) */
body:has(.museum-tour:not([hidden]):not(.is-invite)) .vroom-toast { bottom: auto; top: calc(max(16px, env(safe-area-inset-top)) + 88px); }
@media (min-width: 601px) { body:has(.museum-tour.is-invite:not([hidden])) .vroom-toast { bottom: auto; top: calc(max(16px, env(safe-area-inset-top)) + 88px); } }
/* A phone held upright: a word that the museum is best held sideways (index.js askToTurn), once a visit, over the controls
   at the bottom; gone once it's turned, tapped, or after 8 s. Its phone turns once, as it says (still, with reduced motion) */
.museum-turn {
  position: fixed; z-index: 9050; left: 50%; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 196px); transform: translateX(-50%); /* (clear of the stick) */
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; padding: 10px 16px;
  background: rgba(10,9,8,0.92); border: 1px solid rgba(245,163,26,0.55); color: var(--off, #F0EBE1); cursor: pointer;
  font: 500 14px/1.35 var(--font-ui, sans-serif); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.museum-turn[hidden] { display: none; }
.museum-turn .museum-turn-icon { flex: none; width: 22px; height: 22px; color: var(--gold, #F5A31A); animation: museum-turn 1.6s ease-in-out 0.4s 1; }
@keyframes museum-turn { 0%, 15% { transform: rotate(0); } 55%, 70% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .museum-turn .museum-turn-icon { animation: none; } }
/* (its Full screen button, where a browser lets a page go full screen: beside its words, or under them when they need the room;
   held sideways, the word to go full screen alone, under the top bar, clear of the tour's card at the foot) */
.museum-turn { flex-wrap: wrap; row-gap: 10px; }
.museum-turn-say { flex: 1 1 200px; }
.museum-turn-full {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 36px; padding: 0 14px; margin-left: auto; border: 1px solid var(--gold, #F5A31A);
  background: var(--gold, #F5A31A); color: #1a1004; cursor: pointer; font: 600 12px/1 var(--font-ui, sans-serif); letter-spacing: 0.08em; text-transform: uppercase;
}
.museum-turn-full[hidden] { display: none; }
.museum-turn-full:hover, .museum-turn-full:focus-visible { background: transparent; color: var(--gold, #F5A31A); outline: none; }
.museum-turn.is-sideways .museum-turn-icon { display: none; }
@media (orientation: landscape) {
  .museum-turn:not(.is-sideways) { display: none; }
  .museum-turn.is-sideways { top: calc(max(8px, env(safe-area-inset-top)) + 58px); bottom: auto; flex-wrap: nowrap; padding: 8px 8px 8px 16px; }
  body:has(.museum-turn.is-sideways:not([hidden])) .vroom-toast { bottom: auto; top: calc(max(16px, env(safe-area-inset-top)) + 122px); } /* (a notice under it) */
}
/* Resume the tour: where the tour's card was, for ten seconds after it was ended before its end by a touch, a drag, the
   stick or a key (index.js showResume); above the hint bar, above the room switcher on phones, between the stick and it
   on phones held sideways (there without its stop, for room) */
.museum-tour-resume {
  position: absolute; z-index: 4; left: 50%; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 46px); transform: translateX(-50%);
  min-height: 40px; padding: 0 18px; border: 1px solid var(--gold, #F5A31A); background: rgba(10,9,8,0.9); color: var(--gold, #F5A31A);
  font: 600 13px/1 var(--font-ui, sans-serif); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.museum-tour-resume[hidden] { display: none; }
.museum-tour-resume small { font: inherit; color: rgba(245,163,26,0.75); }
.museum-tour-resume:hover, .museum-tour-resume:focus-visible { background: var(--gold, #F5A31A); color: #1a1004; outline: none; }
.museum-tour-resume:hover small, .museum-tour-resume:focus-visible small { color: inherit; }
.museum:has(.vroom-panel:not([hidden])) .museum-tour-resume { display: none; }
/* (on phones, over the stick: its bottom, 48 px, its 112 px and 12 more, so a thumb going for the stick doesn't land on it) */
@media (max-width: 600px) { .museum-tour-resume { bottom: calc(max(24px, env(safe-area-inset-bottom)) + 172px); } }
@media (max-height: 500px) and (pointer: coarse) {
  .museum .museum-tour-resume { bottom: max(14px, env(safe-area-inset-bottom)); min-height: 36px; padding: 0 14px; font-size: 12px; }
  .museum .museum-tour-resume small { display: none; }
}

/* The Collection's browsing wall (index.js browseWall): the whole collection or what's for sale, a switch on the bar and
   another in the list, as the ledger's are (one pressed at a time, gold); the list's order and what to do with what's
   picked at its foot; several traits picked at once, each pressed in gold */
.museum-cue-modes { display: flex; gap: 0; }
.museum-cue-modes[hidden], .museum-cue-modes button[hidden] { display: none; }
.museum-cue-modes button {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; cursor: pointer; white-space: nowrap;
  font: 500 13px/1 "Geist", sans-serif; color: rgba(240,235,225,0.7); background: transparent; border: 1px solid rgba(240,235,225,0.2);
}
.museum-cue-modes button + button { border-left: 0; }
.museum-cue-modes button b { font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(240,235,225,0.45); }
.museum-cue-modes button b:empty { display: none; }
.museum-cue-modes button[aria-pressed="true"] { color: #16130f; background: var(--gold, #F5A31A); border-color: var(--gold, #F5A31A); }
.museum-cue-modes button[aria-pressed="true"] b { color: rgba(22,19,15,0.7); }
.museum-cue-modes button:hover { border-color: var(--gold, #F5A31A); }
.museum-cue-modes button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.museum-cue-pick { max-width: 22em; overflow: hidden; text-overflow: ellipsis; }
.museum-traitpick-modes { flex: none; display: flex; margin: 0 18px 12px; }
.museum-traitpick-modes button {
  flex: 1 1 50%; min-height: 36px; padding: 0 10px; cursor: pointer; font: 600 13px/1 var(--font-ui, sans-serif);
  color: rgba(240,235,225,0.75); background: transparent; border: 1px solid rgba(240,235,225,0.22);
}
.museum-traitpick-modes button + button { border-left: 0; }
.museum-traitpick-modes button[hidden] { display: none; }
.museum-traitpick-modes button[aria-pressed="true"] { color: #16130f; background: var(--gold, #F5A31A); border-color: var(--gold, #F5A31A); }
.museum-traitpick-modes button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.museum-traitpick-foot { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 12px 18px 14px; border-top: 1px solid rgba(240,235,225,0.1); }
.museum-traitpick-row { display: flex; align-items: center; gap: 10px; }
.museum-traitpick-row > span { flex: none; width: 86px; font: 600 11px/1 var(--font-mono, monospace); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,235,225,0.5); }
.museum-traitpick-sort, .museum-traitpick-size { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.museum-traitpick-size button { min-width: 38px; }
.museum-traitpick-sort button, .museum-traitpick-size button {
  padding: 6px 10px; cursor: pointer; font: 500 12px/1 var(--font-ui, sans-serif); color: rgba(240,235,225,0.75);
  background: transparent; border: 1px solid rgba(240,235,225,0.2);
}
.museum-traitpick-sort button[aria-pressed="true"], .museum-traitpick-size button[aria-pressed="true"] { color: var(--gold, #F5A31A); border-color: var(--gold, #F5A31A); background: rgba(245,163,26,0.1); }
.museum-traitpick-sort button:hover, .museum-traitpick-sort button:focus-visible, .museum-traitpick-size button:hover, .museum-traitpick-size button:focus-visible { border-color: var(--gold, #F5A31A); outline: none; }
.museum-traitpick-acts { display: flex; gap: 8px; }
.museum-traitpick-clear, .museum-traitpick-go { min-height: 38px; padding: 0 14px; cursor: pointer; font: 600 13px/1 var(--font-ui, sans-serif); }
.museum-traitpick-clear { flex: none; color: rgba(240,235,225,0.8); background: transparent; border: 1px solid rgba(240,235,225,0.3); }
.museum-traitpick-go { flex: 1 1 auto; color: #16130f; background: var(--gold, #F5A31A); border: 0; }
.museum-traitpick-clear:disabled, .museum-traitpick-go:disabled { opacity: 0.4; cursor: default; }
.museum-traitpick-clear:not(:disabled):hover, .museum-traitpick-clear:focus-visible { background: rgba(245,163,26,0.14); outline: none; }
.museum-traitpick-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* (a trait in a mask's panel: every Hashmask with it, on the wall; its page on the site, the small arrow after it) */
.museum-trait-browse {
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit;
  text-decoration: underline; text-decoration-color: rgba(240,235,225,0.3); text-underline-offset: 3px;
}
.museum-trait-browse:hover, .museum-trait-browse:focus-visible { color: var(--gold, #F5A31A); text-decoration-color: currentColor; outline: none; }
/* (its page on the site, one way: an icon in a column of its own at the row's end, so it never wraps under the value) */
.museum-traits--icon .museum-traits-head, .museum-traits--icon .museum-trait dd { grid-template-columns: minmax(0, 1fr) 54px 54px 16px; }
.museum-trait-page { align-self: center; display: inline-flex; align-items: center; justify-content: flex-end; width: 16px; height: 16px; color: rgba(240,235,225,0.32); }
.museum-trait-page:hover, .museum-trait-page:focus-visible { color: var(--gold, #F5A31A); outline: none; }
.museum-trait-pageicon { width: 13px; height: 13px; }
@media (max-width: 600px) { .museum-traits--icon .museum-traits-head, .museum-traits--icon .museum-trait dd { grid-template-columns: minmax(0, 1fr) 54px 16px; } }
/* ("Find a mask": a trait among the hits, its count where a mask's picture is; and the way to every trait, under the list) */
.vroom-find-trait i {
  flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,163,26,0.5); font: 600 9px/1 var(--font-mono, monospace); font-style: normal; color: var(--gold, #F5A31A); overflow: hidden;
}
.vroom-find-browse {
  display: block; width: calc(100% - 28px); margin: 6px 14px 12px; min-height: 36px; padding: 0 12px; cursor: pointer;
  font: 600 13px/1 var(--font-ui, sans-serif); color: var(--gold, #F5A31A); background: transparent; border: 1px solid rgba(245,163,26,0.6);
}
.vroom-find-browse:hover, .vroom-find-browse:focus-visible { background: rgba(245,163,26,0.12); outline: none; }
@media (max-width: 600px) {
  .museum-cue-modes button { padding: 7px 8px; }
  .museum-cue-pick { max-width: 14em; }
}
/* (on a phone held upright: the bar as wide as it needs, up to the screen's width, not half of it, as its left at 50%
   made it; above the stick, as the tour's Resume is, the browsing wall's switch and pages on it) */
@media (max-width: 600px) {
  .museum-cue { left: 0; right: 0; margin: 0 auto; width: max-content; transform: none; bottom: calc(max(24px, env(safe-area-inset-bottom)) + 172px); }
}

/* The trait list, easier to use (the user: "It is hard navigate traits, or pick a few traits and remove one or add one"):
   the traits picked, a chip each with its × to let it go; the kinds as tabs (a gold count on those with traits picked),
   scrolling sideways when they don't fit; each value with a box, ticked in gold once picked */
.museum-traitpick-picked { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.museum-traitpick-picked[hidden] { display: none; }
.museum-traitpick-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 8px 5px 10px; cursor: pointer; text-align: left;
  color: #16130f; background: var(--gold, #F5A31A); border: 0; font: 600 13px/1.15 var(--font-ui, sans-serif);
}
.museum-traitpick-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.museum-traitpick-chip small { display: block; font: 600 9px/1.2 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(22,19,15,0.62); }
.museum-traitpick-chip i { flex: none; font: 600 16px/1 var(--font-ui, sans-serif); font-style: normal; color: rgba(22,19,15,0.7); }
.museum-traitpick-chip:hover i, .museum-traitpick-chip:focus-visible i { color: #16130f; }
.museum-traitpick-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.museum-traitpick-chipsclear { padding: 5px 8px; cursor: pointer; background: none; border: 0; font: 600 12px/1 var(--font-ui, sans-serif); color: rgba(240,235,225,0.7); text-decoration: underline; text-underline-offset: 3px; }
.museum-traitpick-chipsclear:hover, .museum-traitpick-chipsclear:focus-visible { color: var(--gold, #F5A31A); outline: none; }
.museum-traitpick-tabs {
  flex: none; display: flex; gap: 0; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  border-bottom: 1px solid rgba(240,235,225,0.1);
}
.museum-traitpick-tabs::-webkit-scrollbar { display: none; }
.museum-traitpick-tabs button {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 8px 9px; cursor: pointer; white-space: nowrap;
  font: 600 13px/1 var(--font-ui, sans-serif); color: rgba(240,235,225,0.6); background: none; border: 0; border-bottom: 2px solid transparent;
}
.museum-traitpick-tabs button b {
  min-width: 17px; height: 17px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
  font: 600 11px/1 var(--font-mono, monospace); color: #16130f; background: var(--gold, #F5A31A); border-radius: 9px;
}
.museum-traitpick-tabs button[aria-selected="true"] { color: var(--off, #F0EBE1); border-bottom-color: var(--gold, #F5A31A); }
.museum-traitpick-tabs button:hover, .museum-traitpick-tabs button:focus-visible { color: var(--off, #F0EBE1); outline: none; }
.museum-traitpick-tools { padding-top: 12px; }
.museum-traitpick-opt { justify-content: flex-start; }
.museum-traitpick-opt span { flex: 1 1 auto; }
.museum-traitpick-box { flex: none; position: relative; width: 18px; height: 18px; border: 1.5px solid rgba(240,235,225,0.4); }
.museum-traitpick-opt[aria-checked="true"] .museum-traitpick-box { background: var(--gold, #F5A31A); border-color: var(--gold, #F5A31A); }
.museum-traitpick-opt[aria-checked="true"] .museum-traitpick-box::after {
  content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #16130f; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.museum-traitpick-opt[aria-checked="true"] { background: rgba(245,163,26,0.1); }
.museum-traitpick-opt[aria-checked="true"] span { color: var(--gold, #F5A31A); }
.museum-traitpick-opt:hover .museum-traitpick-box { border-color: var(--gold, #F5A31A); }

/* (the list, tighter, so its values get the room: taller where the screen allows, a slimmer head and switch, the order
   and how many on the wall on one line) */
.museum-traitpick { max-height: min(620px, calc(100vh - 180px)); }
.museum-traitpick-head { padding: 12px 52px 8px 18px; }
.museum-traitpick-modes { margin-bottom: 10px; }
.museum-traitpick-modes button { min-height: 32px; }
.museum-traitpick-modes button b { margin-left: 4px; font: 500 11px/1 var(--font-mono, monospace); opacity: 0.7; }
.museum-traitpick-tabs button { padding: 8px 8px 7px; }
.museum-traitpick-tools { padding-top: 10px; padding-bottom: 10px; }
.museum-traitpick-foot { gap: 8px; padding: 10px 18px 12px; }
.museum-traitpick-row { flex-wrap: wrap; gap: 6px 6px; }
.museum-traitpick-row > span { width: auto; margin-right: 2px; }
.museum-traitpick-row > span + div + span { margin-left: 8px; }
.museum-traitpick-sort button, .museum-traitpick-size button { padding: 5px 8px; }
.museum-traitpick-size button { min-width: 30px; }
@media (max-width: 600px) { .museum-traitpick { max-height: calc(100vh - 230px); } }
/* (on a computer: wider, its values in two columns, twice as many in sight; down over the bar while it's open, its own
   switch and buttons doing the bar's work) */
@media (min-width: 601px) {
  .museum-traitpick { width: min(560px, calc(100% - 32px)); bottom: 64px; max-height: min(660px, calc(100vh - 132px)); }
  .museum-traitpick-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; }
  .museum-traitpick-group, .museum-traitpick-empty { grid-column: 1 / -1; }
  .museum-traitpick-opt { gap: 10px; padding: 6px 14px 6px 18px; }
}
/* (the bar out of sight while the list is open over it: the list has its switch, its clear and its way to the wall) */
.museum:has(.museum-traitpick:not([hidden])) .museum-cue { visibility: hidden; }
/* (one height whatever kind of trait is open, its values scrolling inside it: the user, "the modal should have a fixed
   height. Not a height based on the number of traits in the trait chosen") */
@media (min-width: 601px) { .museum-traitpick { height: min(600px, calc(100vh - 132px)); } }
@media (max-width: 600px) { .museum-traitpick { height: calc(100vh - 230px); } }

/* (where each goes, in a tip on hover or focus: "Option A but add tooltip"; the trait's over it, the icon's to its left,
   inside the panel) */
.museum-trait-browse, .museum-trait-page { position: relative; }
.museum-trait-browse::after, .museum-trait-page::after {
  content: attr(data-tip); position: absolute; z-index: 2; pointer-events: none; white-space: nowrap; text-decoration: none; text-transform: none;
  padding: 6px 9px; background: var(--off, #F0EBE1); color: #16130f; font: 600 12px/1 var(--font-ui, sans-serif); letter-spacing: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35); opacity: 0; transition: opacity 0.12s ease-out;
}
.museum-trait-browse::after { left: 0; bottom: calc(100% + 6px); }
.museum-trait-page::after { right: calc(100% + 8px); top: 50%; transform: translateY(-50%); }
.museum-trait-browse:hover::after, .museum-trait-browse:focus-visible::after, .museum-trait-page:hover::after, .museum-trait-page:focus-visible::after { opacity: 1; transition-delay: 0.12s; }
@media (hover: none) { .museum-trait-browse::after, .museum-trait-page::after { display: none; } }

/* (the longest trait, "Heterochromatic" (15 letters), on one line in its column, never over the share: the kinds' column
   and the two number columns a little narrower for it, their words and numbers still in them; a narrower panel still
   breaks a word rather than spill) */
.museum-trait-browse { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
@media (min-width: 601px) { .museum-trait { grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; } }
.museum-traits--icon .museum-traits-head, .museum-traits--icon .museum-trait dd { grid-template-columns: minmax(0, 1fr) 44px 46px 16px; column-gap: 6px; }
@media (max-width: 600px) { .museum-traits--icon .museum-traits-head, .museum-traits--icon .museum-trait dd { grid-template-columns: minmax(0, 1fr) 48px 16px; } }

/* (the traits picked, outlined: the switch over them filled, one row plain, the other just its border: the user, "plain
   label for both rows ... doesn't looks good. Maybe one row plain, the other row just hte border") */
.museum-traitpick-chip { color: var(--gold, #F5A31A); background: transparent; border: 1px solid var(--gold, #F5A31A); padding: 4px 7px 4px 9px; }
.museum-traitpick-chip small { color: rgba(245,163,26,0.7); }
.museum-traitpick-chip i { color: rgba(245,163,26,0.75); }
.museum-traitpick-chip:hover, .museum-traitpick-chip:focus-visible { background: rgba(245,163,26,0.12); }
.museum-traitpick-chip:hover i, .museum-traitpick-chip:focus-visible i { color: var(--gold, #F5A31A); }

/* ── The panel of what you walked up to, and a Hashmask's picture card beside it, in glass (2026-11; the user, of the
   dark boxes with their outlines: "looks like 2010 design"): frosted and round with no outline, the room showing
   through; round buttons in sentence case, the arrows and the close as small discs. In every room, on a phone too. */
.museum .vroom-panel, .museum-panel-pic {
  border: 0; border-radius: 22px; background: rgba(22,19,16,0.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
  box-shadow: 0 30px 70px rgba(0,0,0,0.38), 0 2px 8px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.09);
}
/* (no blur to be had: darker, so its words still read over the room) */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .museum .vroom-panel, .museum-panel-pic { background: rgba(22,19,16,0.95); } }
.museum .vroom-panel { padding: 22px 24px 24px; }
.museum .vroom-panel-close { top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(240,235,225,0.1); font-size: 20px; }
.museum .vroom-panel-close:hover, .museum .vroom-panel-close:focus-visible { background: rgba(240,235,225,0.2); outline: none; }
.museum .vroom-panel h2 { margin-right: 44px; }
.museum .vroom-panel .vroom-open-page, .museum-panel-pic .vroom-open-page {
  min-height: 46px; border-radius: 999px; font: 600 15px/1.2 var(--font-ui, sans-serif); letter-spacing: 0; text-transform: none;
  transition: background 0.15s, color 0.15s;
}
.museum .vroom-panel .vroom-open-page.is-quiet { border-color: rgba(240,235,225,0.22); background: rgba(240,235,225,0.07); color: var(--off, #F0EBE1); }
.museum .vroom-panel .vroom-open-page.is-quiet:hover, .museum .vroom-panel .vroom-open-page.is-quiet:focus-visible { background: rgba(240,235,225,0.14); }
.museum .museum-panel-browse button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(240,235,225,0.1); color: var(--off, #F0EBE1); transition: background 0.15s; }
.museum .museum-panel-browse button:hover, .museum .museum-panel-browse button:focus-visible { background: rgba(240,235,225,0.2); }
.museum .museum-panel-browse span { letter-spacing: 0.04em; }
.museum .vroom-panel .museum-traits-head::after { display: none; }
.museum .vroom-panel .museum-trait { padding: 11px 0; border-bottom-color: rgba(240,235,225,0.06); }
.museum .vroom-panel .museum-qr { padding: 12px; border-radius: 14px; background: rgba(240,235,225,0.06); }
.museum .vroom-panel .museum-qr-code { border-radius: 6px; overflow: hidden; }
.museum .museum-panel-thumb { border: 0; border-radius: 10px; overflow: hidden; }
@media (max-width: 600px) { .museum .vroom-panel { border-radius: 18px; padding: 18px 18px 20px; } }
@media (min-width: 901px) {
  /* The two cards: the picture fills its own edge to edge, the card as wide as the picture is at this height (no empty
     bands round it; narrower in a narrow window, the picture whole still), the panel as wide and as tall. Yours, with
     its claim-or-name under the picture: the picture that much shorter, so the card stays clear of the top bar */
  .museum { --ledger-foot: 110px; --ledger-card-w: min(calc((var(--ledger-card-h) - var(--ledger-foot)) * 0.7091), 38vw); }
  /* (the panel as wide as the picture's card, but never too narrow for its table: wider than it in a short window) */
  .museum { --ledger-panel-w: max(var(--ledger-card-w), min(400px, 38vw)); }
  .museum:has(.museum-panel-pic-actions:not([hidden])) { --ledger-foot: 168px; }
  .museum-panel-pic { width: var(--ledger-card-w); height: auto; padding: 0; gap: 0; overflow: hidden; }
  .museum-panel-pic-img { flex: none; width: 100%; aspect-ratio: 1024 / 1444; overflow: hidden; }
  .museum-panel-pic img { object-fit: cover; }
  .museum-panel-pic-name { padding: 16px 18px 0; }
  .museum-panel-pic-name b { font-size: 22px; }
  .museum-panel-pic-actions { padding: 12px 18px 0; }
  .museum-panel-pic .museum-panel-browse { padding: 12px 18px 16px; }
  .museum .vroom-panel.is-ledger { width: var(--ledger-panel-w); padding: 24px 26px; flex-direction: column; overflow-y: auto; }
  .museum .vroom-panel.is-ledger:not([hidden]) { display: flex; } /* (closed, it stays gone) */
  .museum .vroom-panel.is-ledger > * { flex: none; }
  .museum .vroom-panel.is-ledger h2 { font-size: 30px; line-height: 1.1; margin-bottom: 18px; }
  .museum .vroom-panel.is-ledger .vroom-panel-meta { margin-bottom: 8px; letter-spacing: 0.04em; }
  .museum .vroom-panel.is-ledger .museum-traits { margin-bottom: 20px; }
  /* (its buttons at its foot, level with the arrows under the picture) */
  .museum .vroom-panel.is-ledger .museum-panel-actions { margin-top: auto; }
  .museum:has(.vroom-panel.is-ledger:not([hidden])) .museum-floors { right: calc(max(20px, env(safe-area-inset-right)) + var(--ledger-panel-w) + 12px); }
}

/* ── The same glass on everything else that floats over the room (2026-11; the user, after the cards: "probably best to do
   smae design everywhere"): the top bar, the Rooms list, Find a mask, the tour's card, the bar at the foot, the news,
   the notices. Frosted, round, no outlines; buttons round, in sentence case. Shapes and surfaces only: where each
   thing sits, and what it says and does, is as it was. */
.museum-page, .museum {
  --glass: rgba(22,19,16,0.7); --glass-blur: blur(28px) saturate(1.5);
  --glass-edge: inset 0 0 0 1px rgba(255,255,255,0.09); --glass-drop: 0 18px 50px rgba(0,0,0,0.32), 0 2px 8px rgba(0,0,0,0.2);
}
/* The boxes */
.museum .museum-rooms, .museum .vroom-find, .museum-wallet-box, .museum .museum-traitpick, .museum .museum-live, .museum-notice,
.museum .museum-tour.is-invite, .museum .vroom-title, .museum .vroom-hint, .museum .vroom-progress, .vroom-toast, .museum .museum-tour-resume, .museum .museum-cue {
  border: 0; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-drop), var(--glass-edge);
}
@media not ((max-height: 500px) and (pointer: coarse)) {
  .museum .museum-tour {
    border: 0; border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-drop), var(--glass-edge);
  }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .museum-page, .museum { --glass: rgba(22,19,16,0.95); } }
.museum .museum-rooms, .museum .vroom-find, .museum-wallet-box, .museum .museum-traitpick, .museum .museum-live, .museum-notice, .museum .museum-tour.is-invite { border-radius: 22px; }
.museum .vroom-find, .museum .museum-traitpick { overflow: hidden; }
.museum .vroom-title { border-radius: 16px; padding: 10px 18px 12px; }
.museum .vroom-hint, .museum .vroom-progress, .vroom-toast, .museum .museum-tour-resume, .museum .museum-cue { border-radius: 999px; }
.museum .vroom-hint, .museum .vroom-progress { padding: 8px 18px; }
.vroom-toast { padding: 12px 22px; border-radius: 22px; }
.museum .museum-cue { padding: 7px 8px 7px 20px; }
.museum .museum-traitpick-kinds { border: 0; border-radius: 14px; overflow: hidden; background: rgba(28,24,20,0.98); box-shadow: var(--glass-drop), var(--glass-edge); }
.museum .museum-poll { border: 0; border-radius: 14px; background: rgba(240,235,225,0.06); }
/* The top bar's buttons, and the ones like them */
.museum .vroom-nav button, .museum .vroom-actions button, .museum .vroom-copy, .museum .vroom-exit, .museum .museum-closeup-close {
  border: 0; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22), var(--glass-edge); letter-spacing: 0; text-transform: none; font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.museum .vroom-nav button:not(:disabled):hover, .museum .vroom-nav button:focus-visible, .museum .vroom-actions button:hover, .museum .vroom-actions button:focus-visible,
.museum .vroom-copy:hover, .museum .vroom-exit:hover, .museum .museum-closeup-close:hover { background: rgba(48,42,36,0.82); }
.museum:has(.museum-rooms:not([hidden])) .museum-rooms-btn { box-shadow: 0 6px 20px rgba(0,0,0,0.22), inset 0 0 0 1px var(--gold, #F5A31A); }
.museum .museum-nav .museum-rooms-btn { letter-spacing: 0; text-transform: none; }
/* The buttons in the boxes: round, in sentence case */
.museum .museum-tour-actions button, .museum .museum-live-go, .museum .museum-desk button[type="submit"], .museum-notice-actions button,
.museum .museum-poll-a button, .museum .museum-poll-connect, .museum .museum-cue-btn, .museum .museum-cue-see, .museum .museum-cue-pick, .museum .museum-cue-clear,
.museum .museum-cue-light, .museum .vroom-find-browse, .museum .vroom-open-page {
  border-radius: 999px; letter-spacing: 0; text-transform: none; transition: background 0.15s, color 0.15s;
}
.museum .museum-tour-actions button, .museum .museum-live-go, .museum .museum-desk button[type="submit"], .museum-notice-actions button { font-size: 14px; }
.museum .museum-tour-actions .museum-tour-audio button { font-size: 12px; }
.museum .museum-live-close, .museum .museum-cue-pager button, .museum .vroom-find-close, .museum .museum-traitpick-close { border-radius: 50%; }
.museum .museum-live-close { border: 0; background: rgba(240,235,225,0.1); }
.museum .museum-cue-modes button:first-child { border-radius: 999px 0 0 999px; }
.museum .museum-cue-modes button:last-child { border-radius: 0 999px 999px 0; }
.museum .museum-desk input, .museum .museum-guestbook textarea, .museum .museum-traitpick-kindbtn, .museum .museum-traitpick-search { border-radius: 12px; }
.museum .museum-desk input { border-radius: 999px; padding: 0 18px; }
.museum .museum-desk button[type="submit"] { padding: 0 20px; }

/* The room out of focus round the naming ledger while one of its squares' cards are up (index.js tickVeil): the ledger's
   own shape is cut out of it, so it alone stays sharp between the cards. Not on a narrow screen, where the panel covers it */
.museum-ledger-veil {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; background: rgba(14,12,10,0.16);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: opacity 0.35s ease, visibility 0s 0.35s;
}
.museum-ledger-veil.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s ease; }
@media (max-width: 900px) { .museum-ledger-veil { display: none; } }

/* The audio tour's captions as karaoke (index.js sayLine): a word dim till it's said, then lit */
.museum-tour-text .kw { color: rgba(240,235,225,0.42); transition: color 0.12s ease-out; }
.museum-tour-text .kw.lit { color: var(--off, #F0EBE1); }
@media (prefers-reduced-motion: reduce) { .museum-tour-text .kw { transition: none; } }
/* (the audio tour's captions a size up, now they're read word by word: 14 px on a computer and 15 on a phone were small
   beside the title; the user: "check the font size of the audio tour caption". A phone on its side keeps its own.) */
@media not ((max-height: 500px) and (pointer: coarse)) {
  .museum .museum-tour.is-audio .museum-tour-text { font-size: 17px; line-height: 1.45; }
/* A Virgin Hashmask (never named, its NCT and Double Drop never claimed): a small tag beside its name in its panel
   (index.js showPanel), what it means in a tip */
.museum-virgin {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 9px; border-radius: 999px; vertical-align: 7px; cursor: help;
  font: 600 10px/1.3 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase;
  color: #f3eee4; background: rgba(240,235,225,0.12); box-shadow: inset 0 0 0 1px rgba(240,235,225,0.5);
}
/* (its diamond drawn, not a letter: level with its word; the tag itself level with the name's capitals) */
.museum-virgin::before { content: ''; flex: none; width: 5px; height: 5px; border: 1.5px solid currentColor; transform: rotate(45deg); }
.museum-virgin::after {
  content: attr(data-tip); position: absolute; z-index: 2; left: 0; top: calc(100% + 6px); width: max-content; max-width: 100%; box-sizing: border-box; padding: 7px 10px;
  border-radius: 10px; background: rgba(28,24,20,0.98); color: var(--off, #F0EBE1); box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  font: 500 12px/1.4 var(--font-ui, sans-serif); letter-spacing: 0; text-transform: none; white-space: normal;
  opacity: 0; pointer-events: none; transition: opacity 0.12s;
}
.museum-virgin:hover::after, .museum-virgin:focus-visible::after { opacity: 1; }
.museum-virgin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* (room for it on the name's own line: the name stops just short of the close button) */
@media (min-width: 901px) { .museum .vroom-panel.is-ledger h2 { margin-right: 30px; } }
/* (its tip hangs from the name's line, not from the tag: the tag sits by the panel's edge, where a tip of its own was cut off;
   the user: "Tooltip in museum is not fully visible") */
.museum .vroom-panel h2 { position: relative; }
/* (the previous and next room's arrows: their own size again, a little larger. The glass rule above had shrunk them to
   the buttons' 14 px; the user: "the arrow in the museum to go to prev/next room are too small") */
.museum .museum-nav .vroom-nav-prev, .museum .museum-nav .vroom-nav-next { font-size: 26px; line-height: 1; padding: 0 0 3px; }
/* (the tour card's progress line: inside the card, clear of its round corners, with round ends. Run edge to edge along
   the foot, as it did on the square card, it began in the corner's curve; the user: "it looks like the progress bar
   doesn;t start at the correct place") */
.museum .museum-tour-bar, .museum .museum-tour-bar i { border-radius: 999px; }
@media (min-width: 601px) and (min-height: 501px), (min-width: 601px) and (pointer: fine) {
  .museum .museum-tour-bar { height: 3px; margin: 14px 0 16px; }
}
