/* WyattMail R12.0. Original Meridian Library artworks and themes remain authoritative. */
/* 1. Curator orientation: keep navigation visible without a wall of menus. */
#collections .hall-welcome{gap:clamp(10px,1.5vw,18px)!important;padding-block:clamp(14px,2.4vw,28px)!important}
#collections .hall-welcome .wm-r113-ari-intro{margin:0!important;padding:clamp(10px,1.4vw,16px)!important;box-shadow:none!important}
#collections .hall-welcome .wm-r113-ari-intro p:not(.wm-r113-ari-eyebrow){line-height:1.42!important;margin:.2rem 0 .4rem!important}
#collections .hall-welcome h1{font-size:clamp(1.8rem,3.2vw,2.7rem)!important;margin:0!important}
#collections .hall-welcome .wm-r113-ari-actions details:not([open]){flex:1 1 auto;min-width:0}
#collections .wm-r120-curator-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:1110px;margin:clamp(12px,2vw,24px) auto;padding:10px 0 14px;border-bottom:1px solid rgba(74,88,95,.24);font-family:system-ui,sans-serif}
#collections .wm-r120-nav-label{flex:1 1 180px;letter-spacing:.16em;font:700 10px/1.4 system-ui,sans-serif;color:#4e6579}
#collections .wm-r120-curator-nav :is(button,a){border:1px solid #8a9eac;background:#f7f7f3;color:#193450;border-radius:3px;font:600 12px/1.25 system-ui,sans-serif;padding:10px 13px;min-height:44px;cursor:pointer;text-decoration:none}
#collections .wm-r120-curator-nav :is(button,a):hover{background:#e9eff2}
#collections .wm-r120-curator-nav :is(button,a):focus-visible{outline:3px solid #83a6d1;outline-offset:2px}
/* 2. Michelangelo — interior gallery display, never in the entrance. */
#collections .wm-r120-moses-alcove{display:grid;grid-template-columns:minmax(170px,300px) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,54px);max-width:980px;margin:clamp(24px,4vw,44px) auto clamp(40px,5vw,70px);padding:clamp(18px,3.3vw,40px);background:#f5f2eb;color:#162b3e;border:1px solid rgba(50,66,78,.25);border-top:3px solid #b6a07e;box-shadow:0 16px 38px rgba(17,28,41,.07)}
#collections .wm-r120-moses-image{max-width:300px;margin:auto;width:100%}
#collections .wm-r120-art-open{background:#111720;display:block;width:100%;border:1px solid #9a8160;padding:10px;box-shadow:0 10px 25px rgba(10,17,25,.19);cursor:zoom-in}
#collections .wm-r120-art-open img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;display:block;background:#16191c}
#collections .wm-r120-exhibit-kicker{margin:0 0 12px;color:#806245;font:700 10px/1.4 system-ui,sans-serif;letter-spacing:.16em}
#collections .wm-r120-moses-copy h2{font:normal clamp(27px,3.8vw,46px)/1.15 Georgia,serif;color:#192f43;margin:0 0 5px}
#collections .wm-r120-moses-copy p:not(.wm-r120-exhibit-kicker){font:400 clamp(13px,1.15vw,16px)/1.65 system-ui,sans-serif;max-width:60ch;margin:0 0 13px}
#collections .wm-r120-moses-copy .wm-r120-moses-subtitle{font-style:italic!important;color:#695a48}
#collections .wm-r120-moses-copy .wm-r120-moses-location{color:#536274}
#collections .wm-r120-moses-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0}
#collections .wm-r120-moses-actions button{background:#19334d;color:white;border:1px solid #19334d;min-height:44px;padding:10px 15px;font:600 13px/1.3 system-ui,sans-serif;cursor:pointer}
#collections .wm-r120-moses-actions a,#collections .wm-r120-moses-credit a{color:#214e71;text-decoration:underline;text-underline-offset:3px}
#collections .wm-r120-moses-copy .wm-r120-moses-credit{font-size:11px!important;color:#675f57;line-height:1.5!important}
#collections .wm-r120-moses-alcove :focus-visible{outline:3px solid #719dd3;outline-offset:3px}
html[data-wm-template^="Amber"] #collections .wm-r120-moses-alcove{background:#f5f0e4}
/* 3. Ari's actual crystalline body levitates. The housing, pedestal and glass panel do not. */
#collections .wm-ari-r119-hall-right .wm-ari-r116-object{overflow:visible!important;isolation:isolate}
#collections .wm-ari-r119-hall-right .wm-ari-r116-object img{animation:wm-r120-ari-float 7.8s cubic-bezier(.45,0,.55,1) infinite!important;transform-origin:50% 48%;will-change:transform}
@keyframes wm-r120-ari-float{0%,100%{transform:translate3d(0,4px,0)}50%{transform:translate3d(0,-9px,0)}}
#collections .wm-ari-r119-hall-right .wm-ari-r116-object::after{content:"";position:absolute;bottom:5%;left:22%;width:56%;height:7px;border-radius:50%;background:rgba(124,195,231,.28);filter:blur(5px);z-index:-1;pointer-events:none}
/* Keep only one hall Ari; legacy SVG and duplicate control must not overlay the scene. */
#collections #wm-r114-ari-apse,#collections .wm-r114-ari-apse,#collections #ask-statue{display:none!important}
@media(prefers-reduced-motion:reduce){#collections .wm-ari-r119-hall-right .wm-ari-r116-object img{animation:none!important;transform:none!important;will-change:auto}}
html[data-light-paused] #collections .wm-ari-r119-hall-right .wm-ari-r116-object img,html[data-wm-ari-hidden] #collections .wm-ari-r119-hall-right .wm-ari-r116-object img{animation-play-state:paused!important}
/* 4. Reading Room and Tower are distinct spaces with an explicit, predictable path. */
#reading-room .wm-r120-room-orientation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 22px;max-width:1400px;margin:10px auto 9px;padding:13px clamp(14px,3vw,26px);background:rgba(242,245,247,.97);border-left:3px solid #7a9eaf;color:#1c334a}
#reading-room .wm-r120-place-label{width:100%;margin:0;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:.15em;color:#627484}
#reading-room .wm-r120-orientation-desc{flex:1 1 330px;margin:0;font:400 13px/1.48 system-ui,sans-serif}
#reading-room .wm-r120-orientation-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
#reading-room .wm-r120-orientation-actions :is(a,button){min-height:40px;padding:10px 13px;border:1px solid #40617a;border-radius:2px;background:#19344f;color:#fff;text-decoration:none;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}
#reading-room .wm-r120-orientation-actions button{background:transparent;color:#19344f}
#reading-room .wm-r120-light-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:1400px;margin:0 auto;padding:8px clamp(10px,2vw,20px);background:#152941;color:#fff}
#reading-room .wm-r120-light-controls span{font:600 11px/1.4 system-ui,sans-serif;letter-spacing:.03em;margin-right:auto}
#reading-room .wm-r120-light-controls button{min-height:38px;padding:8px 13px;border:1px solid rgba(196,214,228,.55);border-radius:3px;background:#233e56;color:#f0f5fb;font:600 12px/1.1 system-ui,sans-serif;cursor:pointer}
#reading-room .wm-r120-light-controls button[aria-pressed="true"]{background:#dbe8f7;color:#172d43;border-color:#dae7ef}
/* Existing scene plates remain unchanged. Show the whole master composition rather than cropping the tower. */
#reading-room .study-view{max-width:1600px;margin-inline:auto;overflow:hidden}
#reading-room .study-scene{aspect-ratio:1902/827;width:100%;min-height:0!important;position:relative;background:#142133}
#reading-room .study-scene>img.study-day,#reading-room .study-scene>img.study-night{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:50% 50%}
#reading-room .study-scene>.window-light.study-light,#reading-room #tower-salon .window-light.salon-light{opacity:0!important;pointer-events:none!important;visibility:hidden!important}
#reading-room .study-view .wm-r120-image-failure{position:absolute;z-index:4;inset:0;display:grid;place-content:center;text-align:center;padding:22px;background:linear-gradient(125deg,#192c43,#0c1726);color:#f0f4f7;font:14px/1.6 system-ui,sans-serif}
#reading-room .wm-r120-image-failure a{color:#c4e5ff;text-decoration:underline}
#reading-room #tower-salon .wm-r120-salon-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:11px 18px;background:#eef2f4;color:#1b354a;font:13px/1.45 system-ui,sans-serif}
#reading-room #tower-salon .wm-r120-salon-context p{font:700 10px/1.4 system-ui,sans-serif;letter-spacing:.12em;margin:0;color:#6a7482}
#reading-room #tower-salon .wm-r120-salon-context a{color:#14466d;font-weight:700;text-decoration:underline}
#reading-room #tower-salon .tower-gallery{max-width:1600px;margin-inline:auto}
#reading-room #tower-salon .tower-gallery .tower-view img{max-width:100%;object-fit:contain;object-position:50% 50%}
@media(max-width:630px){#reading-room .wm-r120-room-orientation{margin:6px 0 8px;padding:12px;gap:8px}#reading-room .wm-r120-orientation-actions{width:100%}#reading-room .wm-r120-orientation-actions :is(a,button){flex:1 1 0;text-align:center}#reading-room .wm-r120-light-controls{padding:8px 10px}#reading-room .wm-r120-light-controls span{flex:1 1 100%}#collections .wm-r120-curator-nav{padding:9px 6px}#collections .wm-r120-nav-label{flex:1 1 100%}#collections .wm-r120-curator-nav :is(button,a){flex:1 1 calc(50% - 4px);padding:10px 6px;text-align:center;font-size:11px}#collections .wm-r120-moses-alcove{grid-template-columns:1fr;padding:16px;gap:18px}#collections .wm-r120-moses-image{max-width:260px}}
/* 5. Accessible full artwork inspection; scroll wheel / touch / pointer drag while zoomed. */
.wm-r120-art-viewer{width:min(96vw,1080px);max-width:1080px;height:min(94dvh,1140px);max-height:94dvh;box-sizing:border-box;padding:0;border:1px solid #a78b66;border-radius:5px;overflow:hidden;background:#0b141e;color:#e9f2fa;box-shadow:0 28px 90px rgba(0,0,0,.7)}
.wm-r120-art-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.wm-r120-art-viewer::backdrop{background:rgba(2,8,15,.87)}
.wm-r120-art-viewer-head,.wm-r120-art-viewer-foot{background:#172837;padding:10px clamp(12px,2vw,20px);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;border-bottom:1px solid rgba(176,202,221,.32)}
.wm-r120-art-viewer-head p{font:700 9px/1.2 system-ui,sans-serif;letter-spacing:.14em;color:#d2b58a;margin:0 0 5px}
.wm-r120-art-viewer-head h2{font:normal clamp(19px,3vw,27px)/1.2 Georgia,serif;color:#fff;margin:0}
.wm-r120-art-viewer button{cursor:pointer;min-height:42px;padding:8px 12px;border:1px solid rgba(212,232,241,.54);border-radius:3px;background:#2b435a;color:#fff;font:600 13px/1.2 system-ui,sans-serif}
.wm-r120-art-stage{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;background:#0a1017;cursor:zoom-in;scrollbar-width:thin}
.wm-r120-art-stage[data-zoomed]{cursor:grab;touch-action:none}
.wm-r120-art-stage[data-dragging]{cursor:grabbing;user-select:none}
.wm-r120-art-stage img{display:block;max-width:none;max-height:none;height:auto;object-fit:contain;margin:0 auto;box-shadow:0 0 35px rgba(0,0,0,.55)}
.wm-r120-art-stage img::selection{background:transparent}
.wm-r120-art-viewer-foot{border-bottom:0;border-top:1px solid rgba(176,202,221,.32)}
.wm-r120-art-tools{display:flex;gap:8px;align-items:center}
.wm-r120-art-tools output{min-width:53px;text-align:center;font:700 13px/1.2 system-ui,sans-serif}
.wm-r120-art-viewer-foot p{color:#c6d0da;max-width:47ch;margin:0;font:11px/1.4 system-ui,sans-serif}
.wm-r120-art-viewer :focus-visible{outline:3px solid #8fcbf4;outline-offset:3px}
/* Repair the existing Lady with an Ermine and Talos inspection experience. */
.wm-ermine-viewer-stage[data-wm-r120-drag]{cursor:grab;touch-action:none;overscroll-behavior:contain}
.wm-ermine-viewer-stage[data-wm-r120-dragging]{cursor:grabbing;user-select:none}
#talos-study #talos-full{touch-action:none;cursor:grab}
#talos-study #talos-full[data-wm-r120-dragging]{cursor:grabbing}
#talos-study .wm-talos-zoom-hint::after{content:" Drag to move the view when magnified."}
@media(prefers-reduced-motion:reduce){.wm-r120-art-stage{scroll-behavior:auto}}
