/* Quiet materials and consistent controls across the collection. */
.top-tools{gap:8px!important}
.top-tools .quality{border:1px solid #76695430!important;border-radius:8px!important;background:#faf7efed!important;box-shadow:0 4px 16px #3127160b;font-weight:600!important;letter-spacing:.02em!important}
.memory-plaque{background:linear-gradient(135deg,#fffdf7,#f5f0e6)!important;border:1px solid #d7cebc!important;box-shadow:0 18px 44px #44382b14,0 2px 5px #44382b0c!important}
.memory-plaque h2{font-weight:500!important;letter-spacing:-.045em!important}
.memory-plaque .meta-grid{border-top:1px solid #b2a58b38;padding-top:14px}
.plaque-actions button{border-radius:6px!important;border-color:#b6a99055!important;background:#fffdf680!important;font-size:10px!important;font-weight:600!important;transition:background .15s,border-color .15s}
.plaque-actions button:hover{background:#e9e0ce!important;border-color:#a49477!important}
.plaque-actions button.sky{grid-column:auto!important;background:#252720!important;color:#f8f5eb!important;border-color:#252720!important}
.bottom-bar .memory-nav{background:#fcfaf3ee!important;border:1px solid #c9bfac!important;box-shadow:0 8px 24px #3d32241c!important}
.memory-dot[aria-current="true"] span{background:#66503a!important}
#boardOverlay,#objectOverlay{background:radial-gradient(ellipse at 50% 15%,#3e3a31,#171a18 85%)!important}
#boardOverlay .overlay-head .micro,#objectOverlay .overlay-head .micro,#letterOverlay .overlay-head .micro{color:#c1b394;letter-spacing:.12em!important;font-weight:500!important}
#boardOverlay .board-viewport{background:radial-gradient(ellipse at 45% 25%,#4e483a,#272821 75%)!important}
#boardOverlay .corkboard{border-color:#715338!important;border-style:solid!important;border-radius:4px!important;box-shadow:inset 0 0 0 2px #a88b65,inset 0 0 28px #39251455,0 18px 40px #0004!important}
#boardOverlay .corkboard::after{background:linear-gradient(120deg,#fff5d522,transparent 45%,#35200f22);mix-blend-mode:soft-light}
#corkboard .board-item{box-shadow:1px 3px 4px #311d1330,3px 12px 20px #311d1322,inset 0 1px #fff8!important}
#corkboard .paper-cream{background-color:#efe5ce!important}
#corkboard .paper-yellow{background-color:#e8d89f!important}
#corkboard .paper-white{background-color:#f4f0e6!important}
#corkboard .textured-paper::before{background-image:url('../public/assets/textures/paper-fibres.svg')!important;background-size:180px!important;opacity:.27!important}
#boardOverlay .board-index{background:#242820!important;border-color:#625a46!important;border-radius:12px;color:#d3cab6}
#boardOverlay .board-index-heading{font-weight:500!important;font-size:13px!important;padding-bottom:14px;border-bottom:1px solid #b5a48324}
#boardOverlay .board-index button{background:#2e3228!important;border-color:#8c7e612d!important;line-height:1.6!important}
#boardOverlay .board-index button:hover{background:#454435!important;border-color:#a9926d66!important}
#boardOverlay :is(.board-ticket,.board-date-card).handwriting span{font-size:26px!important;line-height:1.35!important;white-space:pre-line}
#corkboard .board-photo img[data-fit="contain"]{height:auto;object-fit:contain}
#boardOverlay #boardFocusDetails[hidden]{display:none!important}
#boardOverlay .board-focus-layer.single-object .board-focus-compose{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
#boardOverlay .board-focus-layer.single-object .board-focus-object{min-height:0;max-height:100%;overflow:auto}
#letterOverlay{background:radial-gradient(ellipse at 40% 10%,#796b50,#35372c 65%,#232822)!important}
#letterOverlay .paper-card>.paper{background-image:linear-gradient(105deg,#f9efdcd9,#f4e6cfd4 45%,#efdfc1db 85%,#f8ead2d4),url('../public/assets/textures/paper.webp')!important;background-size:100% 100%,cover!important;box-shadow:inset 0 1px #fffbed,inset 0 -1px #baa47c80,inset 0 0 64px #be9f6220,2px 3px 0 #dfcfa9,4px 5px 0 #aa946652!important}
#letterOverlay .paper::before{background:url('../public/assets/textures/paper-fibres.svg') repeat 0 0/180px!important;opacity:.26!important;mix-blend-mode:multiply}
#letterOverlay .paper-front::after{content:""!important;position:absolute;top:50%;left:0;right:0;height:2px;padding:0;background:linear-gradient(to bottom,#a48a5314,#fff9e752);pointer-events:none}
#letterOverlay .letter-body{color:#59442e!important;line-height:2.05!important}
#letterOverlay .letter-body p,#letterOverlay .letter-reverse{overflow-wrap:anywhere;white-space:pre-wrap}
#letterHeading,#letterOverlay .letter-signature{overflow-wrap:anywhere}
#letterOverlay .letter-signature:empty{display:none}
.board-photobooth .strip-photo{aspect-ratio:4/5!important}
#letterOverlay .letter-signature{padding-top:18px;border-top:1px solid #92774729;display:inline-block;color:#725039!important}
#objectOverlay .object-stage{background:radial-gradient(ellipse at 43% 26%,#585345,#30352c 65%,#232920)!important}
#objectOverlay .overlay-shell{grid-template-rows:auto minmax(0,1fr) auto!important}
#objectOverlay .art-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important}
#objectOverlay .object-help{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 24px;min-width:0}

/* The atlas uses three small texture maps and no continuous render loop. */
#earthOverlay{background:#0b1116f7!important}
#earthOverlay .overlay-head .micro{color:#aab6b9;font-weight:500!important;letter-spacing:.12em!important}
#earthOverlay .overlay-shell{gap:12px}
#earthOverlay .earth-layout{grid-template-columns:290px minmax(0,1fr)!important;gap:14px!important}
#earthOverlay .earth-control-panel{background:linear-gradient(155deg,#1e282d,#141c21)!important;border:1px solid #829aa324!important;padding:22px!important;border-radius:14px!important;color:#eee8d9;scrollbar-width:thin;scrollbar-color:#526067 #172025}
#earthOverlay .earth-control-panel h3{font-size:24px!important;line-height:1.22!important;font-weight:500;letter-spacing:-.03em}
#earthOverlay .earth-introduction{font-size:12px!important;line-height:1.8!important;color:#aeb8b9!important;margin-bottom:20px}
#earthOverlay .instrument-btn{background:#233036!important;border:1px solid #809aa32d!important;color:#bfcacc!important;border-radius:7px!important;min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 8px!important;font-size:11px!important}
#earthOverlay .instrument-btn.active{color:#f7e5bc!important;background:#5f513433!important;border-color:#cbb17c75!important;box-shadow:inset 0 0 0 1px #cbb17c12}
#earthOverlay .instrument-btn:hover{background:#334249!important;border-color:#97aeb36b!important}
#earthOverlay .instrument-btn .solar-icon{width:17px;height:17px;flex-shrink:0}
#earthOverlay .earth-mode-grid{margin-bottom:20px;gap:7px}
#earthOverlay .earth-panel-label{font-size:10px!important;letter-spacing:.12em;color:#9daeb3;margin:18px 0 8px}
#earthOverlay .globe-style-grid,#earthOverlay .map-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px}
#earthOverlay .globe-style-grid button:last-child{grid-column:auto!important}
.earth-layer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}
#earthOverlay .earth-layer-grid .instrument-btn{justify-content:flex-start!important;padding-left:12px!important;font-size:11px!important}
.earth-layer-grid button::before{content:"";width:5px;height:5px;border-radius:50%;border:1px solid #7b9299;background:transparent}
.earth-layer-grid button.active::before{background:#dfc891;border-color:#dfc891}
.earth-light-card{border-left:1px solid #bca87577;margin-top:16px;padding:2px 0 2px 11px;font-size:11px;line-height:1.6;color:#d8d9cc}
.earth-light-card small{display:block;font-size:10px;color:#98a9b0;margin-top:4px}
.earth-source-note{font-size:10px;line-height:1.7;color:#86999e;margin-top:18px}
.earth-source-note a{color:#a6b9be;text-decoration-color:#a6b9be66;text-underline-offset:3px}
#earthOverlay .earth-zoom-hint{font-size:10px!important;line-height:1.8!important;color:#9eafb4}
#earthOverlay .earth-action-grid{gap:7px;margin-top:18px}
#earthOverlay .earth-action-grid #earthLookUp{background:#bdab7926!important;color:#ecdbaf!important;border-color:#bda46d66!important}
#earthOverlay #earthObserverStatus,#earthOverlay #subsolar,#earthOverlay #locationPhotoCount{font-size:10px!important;color:#8d9fa5}
#earthOverlay .earth-stage{background:radial-gradient(ellipse at 48% 40%,#14262f,#090f15 72%)!important;border:1px solid #829aa32a!important;min-height:0!important}
#earthChart.earth-view{background:transparent!important;touch-action:none;outline-offset:-5px}
#earthChart:focus-visible{outline:1px solid #c8b78988}
.terrestrial-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.terrestrial-canvas:active{cursor:grabbing}
.globe-markers{position:absolute;inset:0;pointer-events:none}
.earth-pin{position:absolute!important;transform:translate(-50%,-50%);width:32px;height:32px;border:0!important;background:transparent!important;border-radius:50%;padding:0!important;pointer-events:auto;cursor:pointer;z-index:2;box-shadow:none!important}
.earth-pin::before{content:"";position:absolute;inset:12px;border:1.5px solid #fff1d2;border-radius:50%;background:#ab9160;box-shadow:0 1px 4px #0009}
.earth-pin.selected{z-index:10}
.earth-pin.selected::before{inset:10px;background:#edd49b;border:2px solid #fff8e8;box-shadow:0 0 0 4px #d6b97424,0 2px 5px #0007}
.earth-pin.observer{pointer-events:none;z-index:11}
.earth-pin.observer::before{inset:11px;background:#a6d9e8;border-color:#edfaff;box-shadow:0 0 0 4px #8ed9f124}
.earth-pin[hidden]{display:none!important}
#earthOverlay .earth-place-badge{border:1px solid #b4c2c233;background:#142027ed;color:#eee9dc!important;box-shadow:0 6px 24px #0002;padding:13px 16px!important;border-radius:9px;max-width:calc(100% - 92px)}
#earthOverlay .earth-place-badge span{font-size:14px;font-weight:500;color:inherit}
#earthOverlay .earth-place-badge small{font-size:10px;color:#abc0c6;letter-spacing:.03em}
#earthOverlay .earth-stage-controls{gap:6px}
#earthOverlay .earth-stage-controls button{width:44px!important;height:44px!important;border-radius:9px!important;background:#142027ed!important;color:#e9e5d7!important;border:1px solid #9cb4bc40!important}
.earth-focus-reticle{display:none;position:absolute;z-index:5;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%,-50%);pointer-events:none;border:1px solid #33443b77;border-radius:50%;box-shadow:0 0 0 1px #fff9}
.earth-focus-reticle::before,.earth-focus-reticle::after{content:"";position:absolute;background:#33443b77}
.earth-focus-reticle::before{width:24px;height:1px;left:-5px;top:7px}
.earth-focus-reticle::after{height:24px;width:1px;top:-5px;left:7px}
.is-map .earth-focus-reticle{display:block}
#earthOverlay .is-map .earth-place-badge{background:#f9f6ecee!important;border-color:#635c4938;color:#383e35!important}
#earthOverlay .is-map .earth-place-badge small{color:#6d756b}
#earthStage .leaflet-control-scale{margin:0 0 18px 18px!important;box-shadow:none!important;pointer-events:none}
#earthStage .leaflet-control-scale-line{border-color:#4c584b;color:#3f4c3d;background:#f9f6ece0;font:10px/1.5 var(--font-interface);border-radius:0 0 3px 3px;text-shadow:none;padding:3px 5px}
#earthStage .leaflet-control-attribution{max-width:100%;background:#f9f6ecec;color:#65705f;font-size:10px;line-height:1.6;box-shadow:none!important}
#earthStage .leaflet-tooltip{background:#f7f1e2;border-color:#d4c4a6;color:#55432e;font:11px var(--font-interface);border-radius:6px;box-shadow:0 3px 12px #41302024}
#earthStage .floating-location-gallery{bottom:62px!important}
#earthStage .floating-photo:has(.location-photo-slot){width:78px!important;height:96px!important;aspect-ratio:auto!important;border-width:5px!important;border-bottom-width:19px!important;font-size:10px!important}
#earthStage .floating-photo:has(.location-photo-slot)>span{bottom:-15px!important;font-size:10px!important}
#earthStage .location-photo-slot>div{font-size:21px!important}
#earthOverlay[data-earth-mode="globe"] .map-surface-panel,#earthOverlay[data-earth-mode="globe"] .map-filter-panel{display:none}
#earthOverlay[data-earth-mode="map"] .globe-filter-panel{display:none}
#earthOverlay .earth-error{color:#c9d0cd}
@media(max-width:760px){
 .memory-plaque{border-radius:16px!important}
 #earthOverlay .earth-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,59%) minmax(0,41%)!important;gap:0!important}
 #earthOverlay .earth-control-panel{padding:16px!important;border-radius:0 0 14px 14px!important}
 #earthOverlay .earth-control-panel h3{font-size:21px!important;margin:0 0 12px!important}
 #earthOverlay .earth-mode-grid{margin:0 0 12px!important}
 #earthOverlay .earth-layer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 #earthOverlay .earth-layer-grid .instrument-btn{padding:8px 5px!important;font-size:10px!important;gap:5px!important;justify-content:center!important}
 #earthOverlay .earth-panel-label{margin:12px 0 7px}
 #earthOverlay .earth-light-card{margin-top:12px}
 #earthOverlay .earth-place-badge{padding:10px 12px!important}
 #earthOverlay .earth-place-badge span{font-size:12px!important}
 #earthOverlay .earth-place-badge small{font-size:10px!important}
 #earthStage .floating-location-gallery{bottom:46px!important;height:84px!important}
 #earthStage .floating-location-gallery .floating-photo{height:76px!important;width:62px!important;min-width:62px!important;opacity:.96}
 #earthStage .leaflet-control-scale{margin:0 0 18px 12px!important}
 #letterOverlay .paper-card>.paper{padding:36px 26px 44px!important}
}
@media(max-width:360px){#earthOverlay .earth-layer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#earthOverlay .instrument-btn:disabled{opacity:.45;cursor:default}

/* The room stays visible while its materials and lighting change. */
.museum-settings-panel{display:none;position:fixed;inset:0;z-index:450;background:transparent}
.museum-settings-panel.open{display:block}
.museum-settings-card{position:absolute;right:16px;top:16px;bottom:16px;width:340px;max-width:calc(100vw - 32px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#f9f6ee;color:#41392f;border:1px solid #d8ccbb;border-radius:18px;box-shadow:0 18px 70px #20191030;font-family:var(--font-interface)}
.museum-settings-card header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 18px 15px;border-bottom:1px solid #d8ccbb80}
.museum-settings-card h2{font-family:var(--font-gallery);font-size:24px;letter-spacing:-.04em;margin:4px 0 0;line-height:1.1}
.museum-settings-card .micro{color:#847663}
.museum-settings-card .close{width:44px;height:44px;min-width:44px;flex-shrink:0;border:1px solid #d8ccbb;background:#fffcf7;color:#41392f;padding:0}
.museum-settings-body{padding:16px 18px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.museum-settings-body>p{font-size:12px;line-height:1.6;color:#756955;margin:0 0 14px}
.museum-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:14px}
.museum-settings-card button{min-height:44px;border:1px solid #d8ccbb;background:#fffdf8;color:#41392f;border-radius:9px;cursor:pointer;font-size:10px;font-weight:700}
.museum-presets button[aria-pressed="true"]{background:#453e34;color:#fffaf0;border-color:#453e34}
.museum-setting{display:block;margin:0 0 8px;font-size:12px;font-weight:600}
.museum-setting>div{display:flex;align-items:center;gap:12px;margin-top:3px}
.museum-setting input[type="range"]{width:100%;min-width:0;height:44px;accent-color:#857351;cursor:pointer}
.museum-setting output{min-width:42px;font-size:11px;font-variant-numeric:tabular-nums;text-align:right;font-weight:500;color:#756955}
.museum-setting select{display:block;width:100%;height:44px;border:1px solid #d8ccbb;border-radius:9px;padding:0 10px;background:#fffdf8;color:#41392f;font-size:12px;margin-top:9px}
.museum-motion{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid #d8ccbb80;margin-bottom:0}
.museum-motion small{display:block;font-size:10px;line-height:1.5;color:#756955;font-weight:400;max-width:215px;margin-top:4px}
.museum-motion input{width:22px;height:22px;accent-color:#857351;flex-shrink:0;cursor:pointer}
.museum-settings-card footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 18px 16px;border-top:1px solid #d8ccbb80}
.museum-settings-card :focus-visible{outline:2px solid #857351;outline-offset:3px}
@media(max-width:760px){
 .museum-settings-card{top:auto;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;max-width:none;height:min(640px,68dvh);border-radius:18px}
 .museum-settings-card header{padding:16px}
 .museum-settings-card h2{font-size:23px}
 .museum-settings-body{padding:14px 16px}
 .museum-settings-card footer{padding:12px 16px}
}

/* Gallery walk: the plaque text steps out as the visitor leaves a work and returns as the next one arrives (ui.js syncPlaque). */
.memory-plaque .plaque-content{transition:opacity .42s cubic-bezier(.22,.61,.36,1),transform .42s cubic-bezier(.22,.61,.36,1)}
.memory-plaque.is-walking .plaque-content{opacity:0;transform:translateY(6px);transition-duration:.14s;transition-timing-function:cubic-bezier(.4,0,1,1)}
/* Phone sheet: keep the kicker and meta rows so the card never reads as empty; only the title and text dim (the text swaps while dimmed). */
@media (max-width:760px){.memory-plaque.is-walking .plaque-content{opacity:1;transform:none}.memory-plaque :is(#plaqueTitle,#plaqueText){transition:opacity .42s cubic-bezier(.22,.61,.36,1)}.memory-plaque.is-walking :is(#plaqueTitle,#plaqueText){opacity:.25;transition-duration:.14s;transition-timing-function:cubic-bezier(.4,0,1,1)}}
/* Entrance (app.js): the door wakes once the room has drawn; the card lifts away, the curtain fades over the dark room while the lights come on, then the UI arrives in sequence. */
#enterMuseum{position:relative}
#enterMuseum:disabled{cursor:progress;color:rgba(255,255,255,.62)}
#enterMuseum .enter-label{display:inline-block;transition:opacity .22s ease}
#enterMuseum.swap .enter-label{opacity:0}
#enterMuseum .enter-progress{position:absolute;left:24%;right:24%;bottom:-14px;height:1px;background:linear-gradient(90deg,transparent,rgba(23,21,19,.5),transparent) 0 0/45% 100% no-repeat,rgba(23,21,19,.1);animation:enterScan 1.6s cubic-bezier(.45,0,.55,1) infinite;transition:opacity .5s ease;pointer-events:none}
#enterMuseum:not(:disabled) .enter-progress{opacity:0}
@keyframes enterScan{from{background-position:-80% 0,0 0}to{background-position:180% 0,0 0}}
.intro.leaving .intro-card>*{animation:introLift .4s cubic-bezier(.4,0,1,1) forwards}
.intro.leaving .intro-card>:nth-child(2){animation-delay:.06s}
.intro.leaving .intro-card>:nth-child(3){animation-delay:.12s}
.intro.leaving .intro-card>:nth-child(4){animation-delay:.18s}
.intro.leaving.gone{transition:opacity .7s cubic-bezier(.4,0,.2,1) .32s,visibility 0s 1.02s}
.intro.quick.gone{transition:opacity .25s linear,visibility 0s .25s!important} /* a plain crossfade is kept even under reduced motion */
@keyframes introLift{to{opacity:0;translate:0 -10px}}
.museum.arriving :is(.brand,.top-tools,.memory-plaque,.bottom-bar,.gallery-scroll-hint){animation:uiArrive .8s var(--ease) .7s backwards}
.museum.arriving .memory-plaque{animation-delay:.9s}
.museum.arriving :is(.bottom-bar,.gallery-scroll-hint){animation-delay:1.1s}
@keyframes uiArrive{from{opacity:0;translate:0 12px}}
/* Sky plaque: when and where this sky is, set on the sky itself (no box, a soft dark falloff behind the words) */
#skyObserverStatus,#skyOverlay>.overlay-shell>.micro[hidden]{display:none!important}
#skyOverlay .sky-plaque{position:absolute;z-index:4;left:28px;bottom:28px;max-width:400px;margin:0;pointer-events:none;color:#f3ead8;transition:left .45s var(--ease)}
@media(min-width:981px){#skyOverlay .sky-layers.open~.sky-stage .sky-plaque{left:360px}}
.sky-plaque::before{content:"";position:absolute;inset:-80px -120px -60px -90px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 58% 62% at 40% 60%,rgba(1,3,7,.8) 0,rgba(1,3,7,.52) 42%,rgba(1,3,7,0) 100%)}
.sky-plaque figcaption>p{margin:0}
.sky-plaque-kicker{display:flex;align-items:center;gap:8px;font:600 10px/1.2 var(--font-interface);letter-spacing:.14em;text-transform:uppercase;color:rgba(232,206,150,.84)}
.sky-plaque-dot{display:none;width:6px;height:6px;border-radius:50%;background:#6fd39a;box-shadow:0 0 10px rgba(111,211,154,.72)}
.sky-plaque.is-live .sky-plaque-dot{display:inline-block}
.sky-plaque figcaption>.sky-plaque-date{margin-top:11px;font:500 27px/1.12 var(--font-gallery);letter-spacing:-.012em;color:#fbf5e8;text-wrap:balance;text-shadow:0 1px 18px rgba(0,0,0,.5)}
.sky-plaque figcaption>.sky-plaque-time{margin-top:7px;font:400 15px/1.45 var(--font-interface);color:rgba(243,234,216,.86)}
.sky-plaque figcaption>.sky-plaque-coords{margin-top:14px;font:500 10.5px/1.4 var(--font-interface);letter-spacing:.07em;color:rgba(226,214,190,.62);font-variant-numeric:tabular-nums;pointer-events:auto}
.sky-plaque-coords::before{content:"";display:block;width:56px;height:1px;margin-bottom:11px;background:linear-gradient(90deg,rgba(232,206,150,.55),rgba(232,206,150,0))}
.sky-plaque figcaption>.sky-plaque-explore{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:13px;pointer-events:auto}
.sky-plaque figcaption>.sky-plaque-explore[hidden],.sky-plaque-chip[hidden]{display:none}
.sky-plaque-chip{padding:4px 10px;border-radius:999px;border:1px solid rgba(232,206,150,.34);background:rgba(232,206,150,.08);font:500 11px/1.3 var(--font-interface);color:#efdfba;font-variant-numeric:tabular-nums;white-space:nowrap}
#skyPlaque .sky-plaque-return{min-height:0!important;height:auto!important;padding:4px 0!important;border:0!important;border-radius:2px!important;background:none!important;box-shadow:none!important;font:500 12px/1.3 var(--font-interface)!important;letter-spacing:.01em;color:#f3ead8!important;text-decoration:underline;text-decoration-color:rgba(232,206,150,.5);text-underline-offset:4px;cursor:pointer}
#skyPlaque .sky-plaque-return:hover{text-decoration-color:#e8ce96}
#skyPlaque .sky-plaque-return:focus-visible{outline:2px solid #e8ce96;outline-offset:3px}
/* Arrival: the words rise in once the stars have come up (cancelled arrivals drop the class and the text is simply there) */
.sky-plaque.is-waiting figcaption>*,.sky-plaque.is-waiting::before{opacity:0}
.sky-plaque.is-arriving figcaption>*{animation:skyPlaqueRise .8s var(--ease) 1.2s both}
.sky-plaque.is-arriving::before{animation:skyPlaqueFade 1.1s ease 1s both}
.sky-plaque.is-arriving figcaption>.sky-plaque-date{animation-delay:1.35s}
.sky-plaque.is-arriving figcaption>.sky-plaque-time{animation-delay:1.5s}
.sky-plaque.is-arriving figcaption>.sky-plaque-coords{animation-delay:1.65s}
.sky-plaque.is-fading figcaption,.sky-plaque.is-fading::before{animation:skyPlaqueFade .4s linear both}
@keyframes skyPlaqueRise{from{opacity:0;translate:0 10px}}
@keyframes skyPlaqueFade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.sky-plaque.is-arriving figcaption>*,.sky-plaque.is-arriving::before{animation:skyPlaqueFade .4s linear both!important}#skyOverlay .sky-plaque{transition:none}}
/* Narrow screens: a compact two-line plaque under the header; the sky stays full-screen */
@media(max-width:980px){
  #skyOverlay .sky-plaque,#skyOverlay .instrument-panel:not(.collapsed)~.sky-stage .sky-plaque{left:auto;right:16px;bottom:auto;top:64px;max-width:min(330px,calc(100% - 32px));text-align:right}
  .sky-plaque::before{inset:-44px -40px -44px -80px;background:radial-gradient(ellipse 60% 64% at 62% 46%,rgba(1,3,7,.74) 0,rgba(1,3,7,.42) 48%,rgba(1,3,7,0) 100%)}
  .sky-plaque-kicker{justify-content:flex-end;font-size:10px;letter-spacing:.14em}
  .sky-plaque figcaption>.sky-plaque-date{margin-top:6px;font-size:19px}
  .sky-plaque figcaption>.sky-plaque-time{margin-top:2px;font-size:12.5px}
  .sky-plaque figcaption>.sky-plaque-coords{display:none}
  .sky-plaque figcaption>.sky-plaque-explore{justify-content:flex-end;margin-top:8px}
}
@media(max-width:760px){
  #skyOverlay .sky-plaque,#skyOverlay .instrument-panel:not(.collapsed)~.sky-stage .sky-plaque{right:auto;left:16px;top:62px;max-width:calc(100% - 32px);text-align:left}
  .sky-plaque::before{background:radial-gradient(ellipse 62% 66% at 34% 46%,rgba(1,3,7,.74) 0,rgba(1,3,7,.42) 48%,rgba(1,3,7,0) 100%)}
  .sky-plaque-kicker,.sky-plaque figcaption>.sky-plaque-explore{justify-content:flex-start}
  #skyPlaque .sky-plaque-return{min-height:32px!important}
}
/* Sky controls: the sky opens clear. Layers and Time are quiet popovers (bottom sheets on phones); layer rows are switches with a pale-gold dot. */
#skyOverlay .sky-head-toggle[aria-expanded="true"]{color:#f1ead9;border-color:rgba(233,217,168,.42);box-shadow:inset 0 -2px 0 rgba(233,217,168,.5)}
#skyOverlay .sky-sheet{position:absolute;z-index:6;left:16px;top:92px;width:320px;max-height:calc(100% - 108px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:0 8px 10px;background:rgba(8,11,16,.9);border:1px solid rgba(233,217,168,.12);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.38);color:#efe8d8;scrollbar-width:thin;scrollbar-color:#46505a transparent;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s ease,transform .24s cubic-bezier(.2,.7,.2,1),visibility 0s linear .24s}
#skyOverlay .sky-sheet.open{opacity:1;visibility:visible;transform:none;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.7,.2,1)}
#skyOverlay .sky-time{left:auto;right:16px;top:84px;width:auto;max-width:calc(100% - 32px);padding:0 12px 12px}
#skyOverlay .sky-sheet-grab{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;padding:10px 0 8px 10px;background:rgb(9,12,17);box-shadow:0 6px 8px -4px rgb(9,12,17)}
#skyOverlay .sky-sheet-handle{display:none}
#skyOverlay .sky-sheet-title{margin:0;flex:1;font:500 16px/1.2 var(--font-gallery),Georgia,serif;color:#f1ead9;letter-spacing:.01em}
#skyOverlay .sky-sheet-close,#skyOverlay .sky-text-btn,#skyOverlay .object-info-close{height:32px;padding:0 10px;background:transparent;border:0;border-radius:8px;color:rgba(226,216,194,.62);font:500 11px/1 var(--font-interface);letter-spacing:.02em;text-transform:none;cursor:pointer}
#skyOverlay .sky-sheet-close:hover,#skyOverlay .sky-text-btn:hover,#skyOverlay .object-info-close:hover{color:#f1ead9;background:rgba(255,255,255,.05)}
#skyOverlay .sky-sheet .sky-search{width:100%;box-sizing:border-box;height:36px!important;margin:0 0 2px;padding:0 12px;background:rgba(255,255,255,.035);border:1px solid rgba(233,217,168,.14);border-radius:9px;color:#f1ead9}
#skyOverlay .sky-sheet .sky-search:focus-visible{outline:1px solid rgba(233,217,168,.6);outline-offset:1px}
#skyOverlay .sky-tier-title,#skyOverlay .sky-tier>summary{margin:0;padding:12px 10px 6px;font:600 10px/1.2 var(--font-interface);letter-spacing:.14em;text-transform:uppercase;color:rgba(233,217,168,.62)}
#skyOverlay .sky-tier{margin-top:6px;border-top:1px solid rgba(233,217,168,.08)}
#skyOverlay .sky-tier>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;cursor:pointer;list-style:none;border-radius:8px}
#skyOverlay .sky-tier>summary::-webkit-details-marker{display:none}
#skyOverlay .sky-tier>summary::after{content:"+";font:400 15px/1 var(--font-interface);letter-spacing:0;color:rgba(233,217,168,.5)}
#skyOverlay .sky-tier[open]>summary::after{content:"\2212"}
#skyOverlay .sky-tier>summary:hover{color:rgba(233,217,168,.88)}
#skyOverlay .sky-switches{display:grid;gap:1px}
#skyOverlay .sky-switch{display:flex;align-items:center;gap:11px;width:100%;min-height:34px;padding:0 10px;background:transparent;border:0;border-radius:8px;color:rgba(214,206,190,.5);font:500 12.5px/1.2 var(--font-interface);letter-spacing:.01em;text-transform:none;text-align:left;cursor:pointer;transition:color .18s ease,background-color .18s ease}
#skyOverlay .sky-switch::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;border:1px solid rgba(233,217,168,.42);transition:background-color .18s ease,box-shadow .18s ease,border-color .18s ease}
#skyOverlay .sky-switch:hover{background:rgba(255,255,255,.04);color:rgba(236,228,210,.8)}
#skyOverlay .sky-switch.active{color:#f3ecdc}
#skyOverlay .sky-switch.active::before{background:#e9d9a8;border-color:#e9d9a8;box-shadow:0 0 0 3px rgba(233,217,168,.09),0 0 9px rgba(233,217,168,.6)}
#skyOverlay .sky-switch small{margin-left:auto;padding-left:8px;font-size:10.5px;color:rgba(200,190,170,.42);letter-spacing:.02em;white-space:nowrap}
#skyOverlay .sky-switch-row{display:flex;align-items:center}
#skyOverlay .sky-tier[data-tier="tools"] .sky-switch{display:grid;grid-template-columns:7px 1fr;column-gap:11px;row-gap:3px;padding:8px 10px}
#skyOverlay .sky-tier[data-tier="tools"] .sky-switch small{grid-column:2;margin:0;padding:0;font-size:10px;letter-spacing:.04em}
#skyOverlay .sky-info-btn{flex:0 0 auto;width:24px;height:24px;margin-right:6px;display:grid;place-items:center;padding:0;background:transparent;border:1px solid rgba(233,217,168,.24);border-radius:50%;color:rgba(233,217,168,.78);font:italic 600 12px/1 Georgia,serif;cursor:pointer}
#skyOverlay .sky-info-btn[aria-expanded="true"]{background:rgba(233,217,168,.12);color:#f1ead9}
#skyOverlay .sky-info{margin:2px 6px 8px 28px;padding:4px 0 6px 12px;border-left:1px solid rgba(233,217,168,.18)}
#skyOverlay .sky-info .sky-helper{margin:0 0 8px;font:12px/1.55 var(--font-interface);color:rgba(222,214,198,.72)}
#skyOverlay .sky-info .dso-legend{margin:0}
#skyOverlay .sky-sheet :is(.sky-switch,.sky-info-btn,.sky-sheet-close,.sky-text-btn,summary,.sky-time-steps button):focus-visible,#skyOverlay .object-info-close:focus-visible{outline:1px solid rgba(233,217,168,.75);outline-offset:-1px}
#skyOverlay .sky-sheet .doppler-legend{margin:6px 10px 4px}
#skyOverlay .sky-layers-foot{display:flex;justify-content:space-between;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(233,217,168,.08)}
#skyOverlay .sky-time-steps{display:flex;gap:4px;flex-wrap:nowrap}
#skyOverlay .sky-time-steps[hidden],#skyOverlay .sky-time-live[hidden]{display:none}
#skyOverlay .sky-time-steps button{flex:1 1 0;min-width:40px;height:34px;padding:0 6px;background:rgba(255,255,255,.035);border:1px solid rgba(233,217,168,.12);border-radius:8px;color:rgba(236,228,210,.78);font:500 11px/1 var(--font-interface);letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;font-variant-numeric:tabular-nums}
#skyOverlay .sky-time-steps button:hover{color:#f3ecdc;border-color:rgba(233,217,168,.32)}
#skyOverlay .sky-time-steps .sky-time-play{flex:1.8 1 0;min-width:80px;color:#f1ead9;border-color:rgba(233,217,168,.3)}
#skyOverlay .sky-time-live{display:flex;align-items:center;gap:8px;margin:2px 10px 4px;font:500 12px/1.4 var(--font-interface);color:rgba(222,214,198,.74)}
#skyOverlay .sky-time-live i{width:6px;height:6px;border-radius:50%;background:#8dc8a7;box-shadow:0 0 6px #8dc8a766}
.sky-settings-open #skyOverlay .sky-sheet,.sky-settings-open #skyOverlay .object-info-panel{visibility:hidden;pointer-events:none}
#skyOverlay .sky-zoom{position:absolute;z-index:4;right:18px;bottom:44px;display:flex;gap:8px}
#skyOverlay .sky-zoom-btn{width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:50%;background:rgba(6,9,14,.55);border:1px solid rgba(233,217,168,.18);color:rgba(241,234,217,.82);cursor:pointer}
#skyOverlay .sky-zoom-btn:hover{color:#fff;border-color:rgba(233,217,168,.42)}
#skyOverlay .sky-zoom-btn svg{width:16px;height:16px}
#skyOverlay .sky-zoom-btn:focus-visible,#skyOverlay .sky-dock button:focus-visible{outline:2px solid rgba(233,217,168,.75);outline-offset:2px}
#skyOverlay .sky-dock{display:none}
#skyOverlay .loading-note{transition:opacity .6s ease}
#skyOverlay .loading-note.is-faded{opacity:0}
#skyOverlay .sky-status{position:absolute;z-index:4;left:50%;top:88px;transform:translateX(-50%);pointer-events:none;text-align:center}
#skyOverlay .sky-status p{display:none!important;margin:0}
#skyOverlay .sky-status p.is-error{display:block!important;padding:7px 12px;border-radius:999px;background:rgba(40,16,12,.62);color:#f1d9c8;font-size:11px}
#skyOverlay .sky-stage .object-info-panel{position:absolute;z-index:5;right:16px;bottom:90px;top:auto;left:auto;width:300px;max-height:calc(100% - 200px);margin:0;box-sizing:border-box;padding:12px 14px;background:rgba(8,11,16,.9);border:1px solid rgba(233,217,168,.12);border-radius:14px;backdrop-filter:none;box-shadow:0 18px 50px rgba(0,0,0,.38);overflow:auto}
#skyOverlay .object-info-close{float:right;height:28px;margin:-4px -6px 0 8px;padding:0 9px}
@media(prefers-reduced-motion:reduce){#skyOverlay .sky-sheet,#skyOverlay .sky-sheet.open{transform:none!important}#skyOverlay .sky-sheet{transition:opacity .15s linear,visibility 0s linear .15s}#skyOverlay .sky-sheet.open{transition:opacity .15s linear}#skyOverlay .loading-note,#skyOverlay .sky-switch,#skyOverlay .sky-switch::before{transition:none}}
@media(max-width:760px){
  #skyOverlay .sky-head-toggle{display:none!important}
  #skyOverlay .sky-sheet{left:0;right:0;top:auto;bottom:0;width:auto;max-width:none;max-height:62dvh;z-index:70;padding:0 12px max(14px,env(safe-area-inset-bottom));background:rgba(8,11,16,.97);border-radius:18px 18px 0 0;border-bottom:0;opacity:1;transform:translateY(calc(100% + 24px));transition:transform .3s cubic-bezier(.2,.7,.2,1),visibility 0s linear .3s}
  #skyOverlay .sky-sheet.open{transform:none;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
  #skyOverlay .sky-time{right:0;top:auto;padding:0 12px max(18px,env(safe-area-inset-bottom))}
  #skyOverlay .sky-sheet-grab{flex-wrap:wrap;padding:0 0 6px 10px;touch-action:none;cursor:grab}
  #skyOverlay .sky-sheet-handle{display:block;flex:0 0 100%;height:20px;position:relative}
  #skyOverlay .sky-sheet-handle::before{content:"";position:absolute;left:50%;top:8px;width:38px;height:4px;margin-left:-24px;border-radius:2px;background:rgba(233,217,168,.32)}
  #skyOverlay .sky-sheet-close{height:40px}
  #skyOverlay .sky-sheet .sky-search{height:42px!important;font-size:16px!important}
  #skyOverlay .sky-switch{min-height:44px;font-size:14px}
  #skyOverlay .sky-info-btn{width:32px;height:32px}
  #skyOverlay .sky-time-steps button{min-width:0;height:44px;padding:0 2px;font-size:12px}
  #skyOverlay .sky-time-steps .sky-time-play{min-width:0}
  #skyOverlay .sky-dock{display:flex;position:absolute;z-index:40;left:0;right:0;bottom:0;height:calc(56px + env(safe-area-inset-bottom));padding:0 12px env(safe-area-inset-bottom);box-sizing:border-box;align-items:center;gap:0;background:linear-gradient(to top,rgba(1,3,7,.82),rgba(1,3,7,0));color:rgba(233,217,168,.42)}
  #skyOverlay .sky-dock button{height:44px;padding:0 12px;background:transparent;border:0;border-radius:10px;color:#ece3cf;font:600 13px/1 var(--font-interface);letter-spacing:.02em;text-transform:none;cursor:pointer}
  #skyOverlay .sky-layout:has(.sky-sheet.open) :is(.sky-dock,.sky-zoom){opacity:0;pointer-events:none}
  #skyOverlay .sky-dock button[aria-expanded="true"]{color:#e9d9a8;text-shadow:0 0 10px rgba(233,217,168,.45)}
  #skyOverlay .sky-zoom{z-index:41;right:12px;bottom:calc(9px + env(safe-area-inset-bottom))}
  #skyOverlay .sky-zoom-btn{width:38px;height:38px}
  #skyOverlay .sky-stage .object-info-panel{left:8px;right:8px;width:auto;bottom:calc(64px + env(safe-area-inset-bottom));max-height:36dvh;background:rgba(8,11,16,.95)}
  #skyOverlay .sky-status{top:auto;bottom:calc(70px + env(safe-area-inset-bottom))}
}
/* Visitor copy: developer details only appear in curator mode */
body:not(.curator-mode) .curator-only{display:none!important}
.top-tools .gallery-settings-link{min-height:44px;padding:0 14px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:#3f372e;font:500 12px/1 var(--font-interface);letter-spacing:.06em;cursor:pointer;touch-action:manipulation;text-decoration:underline 1px transparent;text-underline-offset:6px;transition:text-decoration-color .2s,color .2s}
.top-tools .gallery-settings-link:hover,.top-tools .gallery-settings-link[aria-expanded="true"]{color:#201c18;text-decoration-color:#c2a46a}
.top-tools .gallery-settings-link:focus-visible{outline:2px solid #857351;outline-offset:2px}
.museum-performance small{display:block;font-size:10px;line-height:1.5;color:#756955;font-weight:400;margin-top:4px}
.gentle-hint{text-transform:none!important;letter-spacing:.01em!important;font:500 11px/1.55 var(--font-interface)!important;opacity:.82}
.museum-performance{margin-top:18px;padding-top:14px;border-top:1px solid #d8ccbb80}
/* Final polish: wall-aware header and hints, quiet sky header, phone header seam, drawer fade cue */
.museum-ui .gallery-scroll-hint{color:#6b6158;font:500 11px/1 var(--font-interface);letter-spacing:.02em;text-transform:none}.museum-ui .gallery-scroll-hint i{background:#a49a8c}.museum-ui .gallery-scroll-hint i::after{border-left-color:#8a7f70}.museum-ui .progress{color:#6b6158}#date,#coords{white-space:pre-line}
body[data-wall="charcoal"] .museum-ui .brand,body[data-wall="charcoal"] .museum-ui .brand :is(strong,.micro){color:#eadfcb!important}body[data-wall="charcoal"] .top-tools .gallery-settings-link{color:#eadfcb}body[data-wall="charcoal"] .top-tools .gallery-settings-link:hover,body[data-wall="charcoal"] .top-tools .gallery-settings-link[aria-expanded="true"]{color:#fff8ec;text-decoration-color:#c2a46a}body[data-wall="charcoal"] .top-tools .gallery-settings-link:focus-visible{outline-color:#c2a46a}
body[data-wall="charcoal"] .museum-ui :is(.progress,.gallery-scroll-hint){color:rgba(234,223,203,.74)}body[data-wall="charcoal"] .museum-ui .gallery-scroll-hint i{background:rgba(234,223,203,.4)}body[data-wall="charcoal"] .museum-ui .gallery-scroll-hint i::after{border-left-color:rgba(234,223,203,.6)}
#skyOverlay .object-controls .sky-settings-button,#skyOverlay .sky-time-switch,#skyOverlay .sky-time-switch button,#skyOverlay .overlay-head .close{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
#skyOverlay .object-controls .sky-settings-button,#skyOverlay .sky-time-switch button{color:rgba(236,228,212,.66);text-decoration:underline 1px transparent;text-underline-offset:7px;transition:color .2s,text-decoration-color .2s}
#skyOverlay .object-controls .sky-settings-button:hover,#skyOverlay .object-controls .sky-settings-button[aria-expanded="true"],#skyOverlay .sky-time-switch button:hover,#skyOverlay .sky-time-switch button.active{color:#f3ecdc;text-decoration-color:rgba(233,217,168,.75)}
#skyOverlay .object-controls .sky-settings-button:focus-visible,#skyOverlay .sky-time-switch button:focus-visible,#skyOverlay .overlay-head .close:focus-visible{outline:2px solid rgba(233,217,168,.8);outline-offset:2px}
#skyOverlay .sky-switch small{color:rgba(214,206,190,.6)}
@media(min-width:981px){#skyOverlay .overlay-head .object-controls{padding-left:48px}#skyViewKicker{display:none}#skyOverlay .overlay-head>div:first-child{background:transparent!important;border-color:transparent!important;box-shadow:none!important}#skyOverlay .overlay-head h2{font-size:17px!important;font-weight:400!important;color:rgba(243,236,220,.82)}}
@media(max-width:760px){.museum-ui::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(64px + env(safe-area-inset-top));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent);pointer-events:none}.museum-settings-body{padding-bottom:48px;-webkit-mask-image:linear-gradient(#000 calc(100% - 48px),transparent);mask-image:linear-gradient(#000 calc(100% - 48px),transparent)}}
/* Boot: a quiet slow-load line under the door (zero height, so the card never shifts) and the retry on the error page. */
.boot-note{height:0;margin:20px auto 0;overflow:visible;white-space:nowrap;font:italic 14px/1.5 Georgia,serif;color:#7a7066;opacity:0;transition:opacity .9s var(--ease)}.boot-note.on{opacity:1}.fallback .fallback-retry{margin-top:14px;min-height:44px;padding:15px 26px}@media(prefers-reduced-motion:reduce){.boot-note{transition:none}}@media(max-width:760px){.fallback{padding:max(36px,env(safe-area-inset-top)) 24px 32px}.fallback h1{font-size:40px;line-height:1;letter-spacing:-.04em}.fallback p{font-size:16px;line-height:1.65}}
/* Stage 3: rounded nav pill, plaque without scrollbars (soft end-fade instead), ink-coloured handwriting. */
.bottom-bar .memory-nav{border-radius:999px!important;border-color:#d8cfbf8c!important;box-shadow:0 10px 28px #3d322412,0 1px 3px #3d32240a!important}
.memory-plaque,.plaque-content{scrollbar-width:none}.memory-plaque::-webkit-scrollbar,.plaque-content::-webkit-scrollbar{display:none}
.plaque-content.has-more{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}
.memory-plaque.has-more::after{content:"";position:sticky;bottom:-1px;display:block;height:40px;margin-top:-40px;background:linear-gradient(#f8f4ec00,#f8f4ec);pointer-events:none}
.focused-board-item.handwriting span{color:#2b2f45}.strip-back p.handwriting{font-size:17px;line-height:1.35;color:#2b2f45}
#earthOverlay .location-photo-card.has-photo>span{font:400 12px/1.4 var(--font-annotation)!important;letter-spacing:0!important;text-transform:none!important}
#earthOverlay .location-photo-focus figure{display:flex;flex-direction:column;max-height:100%!important;padding-bottom:14px!important}
#earthOverlay .location-photo-focus img{min-height:0;flex:0 1 auto;object-fit:contain}
#earthOverlay .location-photo-focus figcaption{position:static;flex:0 0 auto;margin-top:10px;font:400 18px/1.45 var(--font-annotation)!important;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
@media(max-width:640px){#earthOverlay .location-photo-focus figure{padding-bottom:10px!important}#earthOverlay .location-photo-focus figcaption{font-size:16px!important}}
/* Hints read as quiet sentences, not stamped labels; the board hint sits on a soft pill so it stays legible over cork. */
.overlay-shell>.micro:last-child{font-size:11px;letter-spacing:.02em;text-transform:none}
/* Short desktop screens (1366×768): lift the plaque so it ends above the walking hint and fits without the fade. */
@media(min-width:981px) and (max-height:820px){.memory-plaque{top:max(92px,14vh)!important;max-height:calc(100vh - max(92px,14vh) - 66px)}.memory-plaque .meta-grid{padding-top:10px}}
.board-view-hint{left:50%!important;right:auto!important;width:max-content;max-width:calc(100% - 24px);transform:translateX(-50%);padding:3px 12px;border-radius:999px;background:#1d1b16a6;color:#e6dec9!important}
/* Views fade and settle in, and fade out before display switches off (browsers without @starting-style keep the instant switch). Translate only, so canvases measure their true size on open. */
.overlay{transition:opacity .32s var(--ease),visibility .32s,display .32s allow-discrete}
@starting-style{.overlay.open{opacity:0}}
.overlay .overlay-shell{transition:transform .36s var(--ease)}
.overlay:not(.open) .overlay-shell{transform:translateY(8px)}
@starting-style{.overlay.open .overlay-shell{transform:translateY(8px)}}
/* Full-screen sheets on phones hide the backdrop anyway; skipping the blur keeps the fade smooth. */
@media(max-width:760px){.overlay{backdrop-filter:none!important}}
/* An empty corkboard photo: matte unexposed paper held by four dark photo corners, with a faint pencilled line. */
.photo-placeholder.photo-awaiting{position:relative;gap:6px;background:linear-gradient(135deg,#3b322a 0 50%,transparent 50%) left top/16px 16px no-repeat,linear-gradient(225deg,#3b322a 0 50%,transparent 50%) right top/16px 16px no-repeat,linear-gradient(45deg,#3b322a 0 50%,transparent 50%) left bottom/16px 16px no-repeat,linear-gradient(315deg,#3b322a 0 50%,transparent 50%) right bottom/16px 16px no-repeat,linear-gradient(115deg,#ebe6dc 0%,#ddd6c9 55%,#e6e0d5 100%)!important;box-shadow:inset 0 0 0 1px #5a4a3a14}
.photo-awaiting .photo-pencil{font:400 17px/1.2 var(--font-annotation),cursive;font-style:normal;color:#7d7264;opacity:.82;transform:rotate(-2deg);text-align:center}
body.curator-mode .photo-awaiting .photo-pencil{display:none}
/* Satellite tiles land on fractional device pixels on 2x phones, so a hairline of map background shows between tile rows; a background close to the imagery hides it. */
#earthMap.map-satellite,#earthMap.map-satellite.leaflet-container{background:#2a302b!important}

/* Flat interface chrome; the physical paper, prints and frame materials retain their edges. */
:root :is(.intro-card,.overlay-shell,.memory-plaque,.concept-copy,.memory-nav,.dots,
  .observer-chip,.runtime-notice,.wall-hit span,.meta-grid,.plaque-actions,
  .object-stage,.board-viewport,.board-navigation,.board-focus-details,
  .board-index,.board-index-heading,.earth-control-panel,.earth-stage,.earth-place-badge,
  .earth-light-card,.sky-sheet,.sky-sheet-grab,.sky-search,.sky-tier,.sky-info,
  .sky-layers-foot,.sky-time-switch,.sky-plaque-chip,.object-info-panel,
  .object-media-card,.object-science-note,.dso-legend,.doppler-legend,
  .settings-card,.settings-preview-head,.settings-group,.settings-group-note,
  .museum-settings-card,.museum-motion,.museum-performance,.curator-panel,.curator-badge,
  .qa-preflight-panel){border-color:transparent!important;box-shadow:none!important}
.museum.plaque-focused .concept-copy,.bottom-bar .memory-nav,
#earthOverlay :is(.earth-control-panel,.earth-stage,.earth-place-badge,.instrument-btn),
#skyOverlay :is(.sky-sheet,.object-info-panel){border-color:transparent!important;box-shadow:none!important}
:root :is(.museum,#objectOverlay,#boardOverlay,#letterOverlay,#earthOverlay,#skyOverlay,
  #visualSettingsPanel,#museumSettingsPanel)
  :is(.overlay-shell,.object-stage,.board-viewport,.board-navigation,.board-focus-details,
      .board-index,.board-index-heading,.earth-light-card,.sky-sheet,.sky-sheet-grab,
      .sky-search,.sky-tier,.sky-info,.sky-layers-foot,.sky-time-switch,.sky-plaque-chip,
      .object-info-panel,.object-media-card,.object-science-note,.dso-legend,.doppler-legend,
      .settings-card,.settings-preview-head,.settings-group,.settings-group-note,
      .museum-settings-card,.museum-motion,.museum-performance){
  border-color:transparent!important;box-shadow:none!important
}
:root :is(#intro,.museum-ui,.overlay,.visual-settings-panel,.museum-settings-panel,.curator-panel,.qa-preflight-panel)
  :is(button:not(.board-item):not(.floating-photo):not(.earth-pin),
      input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),select,textarea){
  border-color:transparent!important;box-shadow:none!important
}
#earthOverlay .earth-action-grid #earthLookUp,
#earthOverlay .earth-stage-controls button,#skyOverlay .overlay-head .close,
.settings-presets .compare-defaults{border-color:transparent!important;box-shadow:none!important}
:root :is(.settings-card,.museum-settings-card,.curator-panel,.qa-preflight-panel)
  :is(header,footer,section),.plaque-content>.micro{border-color:transparent!important;box-shadow:none!important}
.leaflet-bar,.leaflet-control-layers,.leaflet-tooltip,.leaflet-popup-content-wrapper{
  border-color:transparent!important;box-shadow:none!important
}
.leaflet-popup-tip{box-shadow:none!important}

/* Keep wheel, touch, keyboard and drag scrolling while concealing its chrome. */
html,html body,html body *,html body .memory-plaque{scrollbar-width:none!important;scrollbar-gutter:auto!important}
html::-webkit-scrollbar,body::-webkit-scrollbar,body *::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important
}

/* All authored text follows the handwriting families; letters retain their own ink face. */
body :is(h1,h2,h3,h4,p,span,strong,small,button,input,select,textarea,label,summary,
  figcaption,footer,.micro,.boot-note,.leaflet-control-attribution,.leaflet-tooltip){
  font-family:var(--font-interface)!important;font-weight:400!important;
  letter-spacing:0!important;text-transform:none!important
}
.memory-plaque h2,.overlay-head h2,.intro-card h1,.instrument-panel h3{
  font-family:var(--font-gallery)!important;line-height:1.2!important
}
#letterOverlay .paper,#letterOverlay .paper *{font-family:var(--font-beth,"Beth Ellen",cursive)!important}
:root :is(.museum-ui,.overlay,.settings-card,.museum-settings-card,.curator-panel)
  :is(button:not(.board-item):not(.floating-photo):not(.earth-pin),select,input:not([type="range"]),textarea){
  font-size:14px!important;line-height:1.3!important
}
.micro,.gentle-hint,.board-view-hint,.gallery-scroll-hint,.observer-chip,
.memory-plaque .meta-grid,.board-index-heading{font-size:12px!important;line-height:1.45!important}
:root :is(.museum-ui,.overlay,.settings-card,.museum-settings-card)
  :is(.micro,.gentle-hint,.board-view-hint,.gallery-scroll-hint,.observer-chip,.meta-grid,.board-index-heading){
  font-size:12px!important;line-height:1.45!important
}
.memory-plaque p,.instrument-panel p,.settings-card header p{font-size:16px!important;line-height:1.5!important}
.museum-ui .brand strong{font-size:19px!important;line-height:1.3!important}
.memory-plaque .meta-grid{gap:10px!important}
@media(max-width:760px){
  .memory-plaque h2{font-size:28px!important;line-height:1.15!important;margin-bottom:10px!important}
  #memoryPlaque h2{max-width:none!important;width:auto!important}
  .memory-plaque p{font-size:14px!important;line-height:1.45!important}
  .memory-plaque .meta-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.55fr) minmax(0,.8fr)!important;
    margin-top:10px!important;padding-top:6px!important;gap:4px!important}
  #memoryPlaque #coords{grid-column:auto!important}
  .plaque-actions button{font-size:13px!important}
  .museum-ui .brand strong{font-size:16px!important;white-space:nowrap}
  .overlay-head h2{font-size:26px!important}
}
@media(min-width:981px) and (max-height:820px){
  .memory-plaque{padding:20px 24px 18px!important}
  .memory-plaque h2{line-height:1.14!important;margin-bottom:16px!important}
  .memory-plaque .meta-grid{margin-top:16px!important;padding-top:8px!important;gap:8px!important}
  .memory-plaque .plaque-actions{margin-top:16px!important;gap:8px!important}
}

/* Handwritten captions sit within the print paper, using the same dimensions as the wall preview. */
.board-photo-caption{display:flex;align-items:center;justify-content:center;height:64px;
  margin:0;text-align:center;white-space:normal;overflow-wrap:anywhere;color:#40372e;
  font:400 24px/1.2 var(--font-annotation)!important;letter-spacing:0!important}
.photo-strip{width:var(--strip-width)!important;height:var(--strip-height)!important}
#boardOverlay .photo-strip .strip-face{box-sizing:border-box!important;padding:var(--strip-pad)!important}
.photo-strip .strip-frames{gap:var(--strip-gap)!important}
.photo-strip .strip-photo{height:calc(var(--strip-image-height) + var(--strip-caption-height))!important;
  aspect-ratio:auto!important;margin:0!important;flex:none!important;background:transparent!important}
.photo-strip .strip-photo img,.photo-strip .strip-placeholder{height:var(--strip-image-height)!important;
  width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
.photo-strip .strip-photo figcaption{display:flex!important;align-items:center;justify-content:center;
  height:var(--strip-caption-height)!important;padding:0 2px;margin:0;text-align:center;
  font:400 var(--strip-caption-font-size)/1.2 var(--font-annotation)!important;letter-spacing:0!important;
  white-space:normal;overflow-wrap:anywhere;color:#40372e}
.photo-strip.classic-black .strip-photo figcaption{color:#f3eadc}
#boardOverlay .photo-strip footer{box-sizing:border-box;height:var(--strip-footer-height)!important;min-height:0!important;
  padding-top:0!important;display:grid;align-content:center;gap:2px;text-align:center}
.photo-strip footer strong,.photo-strip footer span{font:400 13px/1.2 var(--font-annotation)!important}
.photo-strip.compact footer strong,.photo-strip.compact footer span{font-size:10px!important}
:root #corkboard .board-photobooth .photo-strip footer :is(strong,span){font:400 10px/1.2 var(--font-annotation)!important}
#corkboard .board-photobooth{padding:0!important;width:110px!important}
#boardOverlay .board-focus-layer.strip-focused .board-focus-compose{
  display:block!important;width:100%!important;height:100%!important;max-height:100%!important;
  padding:64px 24px 18px!important;overflow:hidden!important
}
#boardOverlay .board-focus-layer.strip-focused .board-focus-object{
  position:relative!important;display:block!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important
}
.board-focus-pan-viewport{position:absolute;inset:0 0 100px;overflow:hidden;touch-action:none;
  cursor:grab;outline-offset:-3px}
.board-focus-pan-viewport.panning{cursor:grabbing}
.board-focus-pan-viewport:focus-visible{outline:2px solid #e8cf98}
.board-focus-pan-content{position:absolute;left:50%;top:50%;width:248px;transform-origin:center}
#boardOverlay .board-focus-pan-content .focused-board-item{
  width:248px!important;min-height:0!important;padding:0!important;margin:0!important;
  transform:none!important;background:transparent!important
}
.board-focus-toolbar{position:absolute;bottom:0;left:0;right:0;min-height:96px;
  display:grid;align-content:center;justify-items:center;gap:8px;color:#f4ead8}
.board-focus-toolbar>div{display:flex;align-items:center;justify-content:center;gap:8px}
.board-focus-toolbar button{min-height:44px;min-width:44px;padding:8px 14px;background:#2c2c25;
  color:#f4ead8;border:0;border-radius:8px;cursor:pointer}
.board-focus-toolbar p{margin:0;text-align:center;font:400 13px/1.4 var(--font-interface)}
@media(max-width:760px){
  #boardOverlay .board-focus-layer.strip-focused .board-focus-compose{padding:62px 10px 10px!important}
  .board-focus-toolbar{min-height:100px;gap:6px}
  .board-focus-toolbar button{padding:8px 10px}
  .board-focus-toolbar p{font-size:12px}
}

.collection-fallback article{max-width:1440px}.fallback-collection{margin-top:48px}.fallback-collection section+section{margin-top:72px}.fallback-collection h2{font:500 clamp(28px,4vw,48px)/1.1 Georgia,serif;margin-bottom:12px}.fallback-artworks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:32px;margin-top:24px}.fallback-artworks figure{margin:0}.fallback-artworks a{display:block;background:#e6dccb;padding:16px}.fallback-artworks img{display:block;width:100%;height:280px;object-fit:contain}.fallback-artworks figcaption{font:13px/1.6 Montserrat,sans-serif;padding-top:12px}
