/* Coordinate reader controls, shared by every exhibition. */
.hx-exhibition{--projection-ink:#d1f1ff;--projection-violet:#b899ff;--projection-mono:ui-monospace,SFMono-Regular,Menlo,monospace}
:is(#artefactGallery,#characterGallery).hx-exhibition{grid-template-rows:auto minmax(150px,1fr) auto 58px;gap:0;padding-top:max(12px,env(safe-area-inset-top));font-family:var(--projection-mono);background:radial-gradient(ellipse at 50% 80%,#20143666,transparent 60%),#050911}
.hx-exhibition .hx-pyramid-symbol,body>nav.hx-unified-nav .hx-pyramid-symbol{display:block;width:40px!important;height:40px!important;fill:none!important;stroke:#d1f1ff;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;overflow:visible;transform:none!important;filter:drop-shadow(0 0 3px #85cfff70) drop-shadow(0 0 7px #9470ff55)}
.hx-exhibition .pyramid-axis,body>nav.hx-unified-nav .pyramid-axis{stroke-width:.7;opacity:.3}
.hx-exhibition .pyramid-orbit,body>nav.hx-unified-nav .pyramid-orbit{stroke:#ac98ef;stroke-width:1;opacity:.8}
.hx-exhibition .pyramid-inner,body>nav.hx-unified-nav .pyramid-inner{stroke:#b899ff;stroke-width:1.2}
.hx-exhibition .pyramid-spine,body>nav.hx-unified-nav .pyramid-spine{stroke:#afa9ff;stroke-width:.7;opacity:.42}
.hx-exhibition .pyramid-heart,body>nav.hx-unified-nav .pyramid-heart{fill:#f4fdff;stroke:none;filter:drop-shadow(0 0 4px #bdefff)}
:is(#artefactGallery,#characterGallery) button.hx-shared-control{display:flex;align-items:center;justify-content:center;gap:5px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;clip-path:none!important;padding:0!important;color:#d1f1ff;min-height:48px;min-width:48px;font-family:var(--projection-mono);font-size:12px;text-transform:uppercase;letter-spacing:.1em}
.hx-exhibition .hx-shared-control:hover .pyramid-outer,.hx-exhibition .hx-shared-control:focus-visible .pyramid-outer{fill:#a899ff16;stroke:#fff}
:is(#artefactGallery,#characterGallery) .ag-header{max-width:1100px;width:100%;margin:0 auto;padding:0 0 10px!important;min-height:58px}
:is(#artefactGallery,#characterGallery) .ag-header p{font:500 12px/1.3 var(--projection-mono);letter-spacing:.13em;color:#9eafd0;margin-bottom:5px}
:is(#artefactGallery,#characterGallery) h1{font:500 clamp(16px,2vw,21px)/1.3 var(--projection-mono);letter-spacing:.12em;text-transform:uppercase;color:#dbe6ff}
:is(#artefactGallery,#characterGallery) .ag-close{flex-direction:column;gap:0;min-width:52px;height:58px;font-size:12px}
:is(#artefactGallery,#characterGallery) .ag-close svg{width:34px!important;height:34px!important}
:is(#artefactGallery,#characterGallery) .ag-stage{border-color:#b7a4ff40;background:#040711}
:is(#artefactGallery,#characterGallery) .ag-room-hint{font:400 12px/1.5 var(--projection-mono);letter-spacing:.025em;border-radius:0;background:linear-gradient(90deg,#070b17c9,transparent);padding:6px 9px;border-left:1px solid #ac98ef7a}
:is(#artefactGallery,#characterGallery) .ag-overview{right:20px;bottom:10px;flex-direction:column;gap:0;font-size:12px;filter:drop-shadow(0 2px 3px #000)}
:is(#artefactGallery,#characterGallery) .ag-overview[aria-pressed=true] .pyramid-heart{fill:#b899ff}
:is(#artefactGallery,#characterGallery) .ag-information{padding:15px 0 6px;gap:0;min-height:0;max-width:1000px;overflow-y:auto;max-height:240px;scrollbar-width:thin;scrollbar-color:#ac98ef #111628}
:is(#artefactGallery,#characterGallery) .ag-copy{width:100%}
:is(#artefactGallery,#characterGallery) .ag-count{font:500 12px/1.4 var(--projection-mono);letter-spacing:.12em;color:#a89cc8}
:is(#artefactGallery,#characterGallery) h2{font:500 clamp(19px,2.4vw,26px)/1.25 var(--projection-mono);letter-spacing:.01em;color:#edf3ff;margin:7px 0 9px}
:is(#artefactGallery,#characterGallery) .ag-description{font:400 15px/1.5 var(--projection-mono);letter-spacing:0;color:#b9c7df;max-width:850px}
:is(#artefactGallery,#characterGallery) .ag-details-row{display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;padding-top:4px}
:is(#artefactGallery,#characterGallery) .ag-story,:is(#artefactGallery,#characterGallery) .ag-profile summary{display:inline-flex;align-items:center;gap:6px;min-height:42px;margin:0;color:#d3d4ff;font:500 12px/1.4 var(--projection-mono);letter-spacing:.09em;text-transform:uppercase;text-decoration:none;cursor:pointer}
:is(#artefactGallery,#characterGallery) .ag-story svg,:is(#artefactGallery,#characterGallery) .ag-profile summary svg{width:27px!important;height:27px!important}
:is(#artefactGallery,#characterGallery) .ag-profile summary{list-style:none}
:is(#artefactGallery,#characterGallery) .ag-profile summary::-webkit-details-marker{display:none}
:is(#artefactGallery,#characterGallery) .ag-profile[open]{flex:1 1 100%;padding-bottom:12px}
:is(#artefactGallery,#characterGallery) .ag-profile[open] .pyramid-inner{fill:#b899ff22}
:is(#artefactGallery,#characterGallery) .ag-profile dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:10px 0 12px;padding:0}
:is(#artefactGallery,#characterGallery) .ag-profile dl div{border-top:1px solid #9c8ae833;padding-top:7px}
:is(#artefactGallery,#characterGallery) .ag-profile dt{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#9c93bf}
:is(#artefactGallery,#characterGallery) .ag-profile dd{font-size:14px;line-height:1.45;color:#d2dcf0;margin:5px 0 0}
:is(#artefactGallery,#characterGallery) .ag-profile p{font-size:14px;line-height:1.6;color:#b9c7df;margin:0}
:is(#artefactGallery,#characterGallery) .ag-navigation{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:12px;align-items:center;max-width:1000px;width:100%;margin:0 auto;height:58px;border-top:1px solid #a9a1ff26}
:is(#artefactGallery,#characterGallery) .ag-progress{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:12px;align-items:center;color:#b5c8e3;font:500 12px/1 var(--projection-mono)}
:is(#artefactGallery,#characterGallery) .ag-total{text-align:right}
:is(#artefactGallery,#characterGallery) .ag-range{width:100%;height:44px;min-width:0;padding:0;margin:0;appearance:none;-webkit-appearance:none;cursor:pointer;background:transparent;outline:none;touch-action:pan-y}
:is(#artefactGallery,#characterGallery) .ag-range::-webkit-slider-runnable-track{height:2px;border:0;background:linear-gradient(90deg,#bda3ff var(--ag-progress,0%),#a9c4ef36 var(--ag-progress,0%));box-shadow:0 0 8px #a49cff30}
:is(#artefactGallery,#characterGallery) .ag-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;margin-top:-8px;border:1px solid #effbff;border-radius:0;background:#c2a7ff;clip-path:polygon(50% 8%,96% 88%,4% 88%);filter:drop-shadow(0 0 5px #afa1ff)}
:is(#artefactGallery,#characterGallery) .ag-range::-moz-range-track{height:2px;background:#a9c4ef36}
:is(#artefactGallery,#characterGallery) .ag-range::-moz-range-progress{height:2px;background:#bda3ff}
:is(#artefactGallery,#characterGallery) .ag-range::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:0;background:#c2a7ff;clip-path:polygon(50% 8%,96% 88%,4% 88%)}
:is(#artefactGallery,#characterGallery) .ag-range:focus-visible{outline:1px solid #b899ff;outline-offset:2px}
body>nav.hx-unified-nav button small{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;letter-spacing:.025em!important;font-size:11px!important}
body>nav.hx-unified-nav .hx-pyramid-symbol{width:32px!important;height:32px!important;margin:0 auto 2px}
body>nav.hx-unified-nav button.selected{background:linear-gradient(180deg,#a78aff24,transparent)!important;color:#e4dbff!important}
body.gallery-open>nav.hx-unified-nav{display:flex!important}
@media(max-width:600px){:is(#artefactGallery,#characterGallery).hx-exhibition{grid-template-rows:auto minmax(100px,1fr) auto 56px;padding-inline:16px;padding-bottom:calc(94px + env(safe-area-inset-bottom));overflow-y:auto}:is(#artefactGallery,#characterGallery) .ag-header p{font-size:12px;letter-spacing:.06em}:is(#artefactGallery,#characterGallery) h1{font-size:16px;letter-spacing:.08em}:is(#artefactGallery,#characterGallery) .ag-information{padding-top:12px;max-height:224px}:is(#artefactGallery,#characterGallery) .ag-description{font-size:14px;line-height:1.5}:is(#artefactGallery,#characterGallery) .ag-details-row{gap:14px}:is(#artefactGallery,#characterGallery) .ag-navigation{gap:5px}:is(#artefactGallery,#characterGallery) .ag-progress{gap:8px}:is(#artefactGallery,#characterGallery) .ag-room-hint{font-size:12px}:is(#artefactGallery,#characterGallery) .ag-overview{right:10px;bottom:5px}body>nav.hx-unified-nav button small{font-size:10px!important}}
@media(max-height:580px) and (orientation:landscape){:is(#artefactGallery,#characterGallery).hx-exhibition{grid-template-columns:minmax(0,1.35fr) minmax(230px,1fr);grid-template-rows:auto minmax(95px,1fr) 52px;gap:8px;padding-bottom:calc(85px + env(safe-area-inset-bottom));padding-left:max(30px,env(safe-area-inset-left));padding-right:max(30px,env(safe-area-inset-right))}:is(#artefactGallery,#characterGallery) .ag-header{grid-column:1/-1}:is(#artefactGallery,#characterGallery) .ag-stage{grid-column:1;grid-row:2;margin:0}:is(#artefactGallery,#characterGallery) .ag-information{grid-column:2;grid-row:2;margin:0;padding:0;max-height:none;overflow-y:auto}:is(#artefactGallery,#characterGallery) .ag-navigation{grid-row:3;grid-column:1/-1;height:52px}:is(#artefactGallery,#characterGallery) h2{font-size:18px}:is(#artefactGallery,#characterGallery) .ag-description{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hx-exhibition *{transition:none!important;animation:none!important}}
body>nav.hx-unified-nav{margin:0!important}
.hx-exhibition:not(.ag-is-overview) .ag-room-hint{display:none!important}
/* Inspection controls occupy a separate strip below the projection. */
:is(#artefactGallery,#characterGallery) .ag-stage{display:grid;grid-template-rows:minmax(0,1fr) 54px}
:is(#artefactGallery,#characterGallery) .ag-canvas{min-height:0;overflow:hidden}
:is(#artefactGallery,#characterGallery) .ag-view-tools{display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-top:1px solid #a99bdf26;background:#060b17}
:is(#artefactGallery,#characterGallery) .ag-view-tools .ag-overview{position:static!important;min-height:50px;font-size:12px}
:is(#artefactGallery,#characterGallery) .ag-view-tools svg{width:29px!important;height:29px!important}
:is(#artefactGallery,#characterGallery) .ag-zoom{display:flex;align-items:center;gap:3px}
:is(#artefactGallery,#characterGallery) .ag-zoom .hx-shared-control{flex-direction:column;gap:0;font-size:12px;min-height:50px;min-width:44px}
:is(#artefactGallery,#characterGallery) .ag-zoom-reset{height:44px;min-width:54px;background:transparent;border:0;color:#c8b7ff;font:500 14px/1 var(--projection-mono);cursor:pointer}
:is(#artefactGallery,#characterGallery) .ag-zoom button:disabled{opacity:.3;cursor:default}
:is(#artefactGallery,#characterGallery) .ag-status{bottom:60px}
:is(#artefactGallery,#characterGallery).ag-zoomed .ag-description,:is(#artefactGallery,#characterGallery).ag-zoomed .ag-details-row{display:none!important}
:is(#artefactGallery,#characterGallery) .ag-fallback img{transform-origin:center;will-change:transform}
@media(max-height:580px) and (orientation:landscape){:is(#artefactGallery,#characterGallery) .ag-stage{grid-template-rows:minmax(0,1fr) 45px}:is(#artefactGallery,#characterGallery) .ag-view-tools .hx-shared-control{min-height:44px;font-size:12px}:is(#artefactGallery,#characterGallery) .ag-view-tools svg{width:24px!important;height:24px!important}}

/* Each destination keeps the same Coordinate outline and its own inner geometry. */
body>nav.hx-unified-nav .hx-nav-symbol .pyramid-outer{stroke-width:1.6}
body>nav.hx-unified-nav .nav-facet,body>nav.hx-unified-nav .nav-node{stroke:#c5b2ff;stroke-width:2.3;fill:none}
body>nav.hx-unified-nav .nav-node{fill:#101525;stroke:#d1f1ff}
body>nav.hx-unified-nav button.selected .nav-facet{stroke:#ecddff}
