/* Citadel Lite - the Embassy Citadel touch-screen app. Full-bleed media under one slim word bar
   along the bottom edge; outside Home ONE panel per screen (pinned bottom-right, collapsing to a pill
   once the media takes the stage), kept off the centre of the picture. A salesperson stands at a large screen:
   outside Home every control is on the RIGHT half (passive titles may sit on the left). */
:root {
  /* the logo, inlined: the splash and the brand mark show it from the first frame (it used to arrive from the
     media host after app.js, so the masked area flashed as a solid block) */
  --logo: url("data:image/svg+xml,%3Csvg id=%22Layer_1%22 data-name=%22Layer 1%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1000 500%22%3E%3Cdefs%3E%3Cstyle%3E%0A      .cls-1 %7B%0A        fill: %23231f20;%0A      %7D%0A    %3C/style%3E%3C/defs%3E%3Cpath class=%22cls-1%22 d=%22M159.33,281.18c21.84,0,39.83,9.17,51.2,29.73l-8.99,8.81c-8.24-15.96-20.37-26.61-41.1-26.61-26.42,0-45.88,19.83-45.88,54.32s21.84,53.77,45.88,53.77c20,0,32.48-9.35,41.29-26.79l8.99,6.24c-11.57,22.39-29.18,32.67-51.93,32.67-35.62,0-64.79-26.06-64.79-65.15s29-66.98,65.33-66.98M263,411.47h-17.99v-128.46h17.99v128.46ZM344.76,293.84h-49.36v-10.83h116.71v10.83h-49.37v117.63h-17.98v-117.63ZM489.38,371.47h-53.22l-16.89,40.01h-13.03l55.6-129.56h8.63l55.42,129.56h-19.45l-17.07-40.01ZM440.38,361.2h44.59l-22.39-52.86-22.21,52.86ZM548.47,411.47v-128.46h39.27c44.59,0,71.75,24.59,71.75,63.87s-27.71,64.59-70.47,64.59h-40.55ZM586.26,293.48h-19.82v107.54h20.73c33.77,0,52.5-19.64,52.5-54.13s-18.73-53.41-53.42-53.41M696.09,283.02h88.46v11.01h-70.48v45.88h52.5v11.01h-52.5v49.55h72.87v11.01h-90.85v-128.46ZM820.48,283.02h17.98v117.45h67.54v11.01h-85.52v-128.46ZM165.15,163.71h44.47l-12.19-21.11h-32.29v9.3h-37.64l-6.82,11.81h44.46ZM165.15,137.95h29.6l-12.19-21.11h-17.42v9.3h-22.78l-6.81,11.8h29.59ZM212.31,168.35h-47.16v9.3h-52.52l-6.81,11.81h118.67l-12.18-21.11ZM165.15,86.69l-14.73,25.51h29.46l-14.73-25.51ZM598.55,95.83h-8.85l-39.44,93.24-.16.39h9.98l11.29-26.45h41.86l12.33,26.45h16.59l-43.52-93.47-.08-.16ZM575.43,153.48l15.96-37.36,17.4,37.36h-33.36ZM703.89,140.44c-4.09-2.31-8.58-4.3-13.35-5.86-4.6-1.52-8.93-3.14-12.85-4.82-3.8-1.64-6.99-3.52-9.51-5.63-2.23-1.86-3.3-4.29-3.3-7.41,0-1.76.38-3.42,1.14-4.94.76-1.52,1.92-2.88,3.43-4.03,1.58-1.19,3.58-2.17,5.94-2.92,2.38-.75,5.17-1.13,8.3-1.13,5.2,0,9.65,1.09,13.25,3.26,3.41,2.06,5.37,5.26,5.99,9.75l.21,1.62h12.59l-.35-2.18c-.56-3.44-1.84-6.58-3.8-9.33-1.93-2.71-4.4-5.03-7.33-6.91-2.89-1.86-6.22-3.26-9.86-4.22-3.61-.94-7.43-1.41-11.34-1.41s-8.06.55-11.78,1.61c-3.73,1.09-7.09,2.7-9.96,4.78-2.92,2.13-5.28,4.86-6.99,8.09-1.72,3.25-2.59,7-2.59,11.15,0,5.48,1.44,9.99,4.29,13.4,2.72,3.26,6.17,6.01,10.25,8.17,3.99,2.1,8.34,3.91,12.95,5.38,4.44,1.43,8.62,3.06,12.41,4.86,3.69,1.74,6.76,3.88,9.16,6.36,2.23,2.3,3.32,5.37,3.32,9.34,0,4.92-1.72,8.39-5.23,10.61-3.73,2.36-8.86,3.56-15.23,3.56-5.1,0-9.23-.67-12.22-1.97-2.98-1.29-5.27-2.83-6.78-4.58-1.53-1.75-2.57-3.56-3.08-5.38-.56-1.96-.87-3.61-.96-4.92l-.1-1.77h-12.47l.1,1.96c.17,3.97,1.23,7.64,3.15,10.88,1.88,3.22,4.49,5.99,7.75,8.24,3.2,2.2,7,3.94,11.3,5.14,4.27,1.2,8.98,1.8,14.02,1.8s9.82-.63,13.98-1.88c4.19-1.26,7.84-3.09,10.85-5.46,3.03-2.39,5.41-5.33,7.09-8.73,1.66-3.41,2.5-7.23,2.5-11.36,0-5.71-1.48-10.49-4.39-14.19-2.8-3.55-6.34-6.56-10.52-8.94M791.17,140.44c-4.08-2.31-8.57-4.29-13.34-5.86-4.6-1.52-8.93-3.14-12.85-4.82-3.79-1.64-6.99-3.52-9.51-5.63-2.23-1.86-3.3-4.29-3.3-7.41,0-1.76.38-3.41,1.14-4.94.76-1.52,1.91-2.88,3.43-4.03,1.57-1.19,3.57-2.17,5.93-2.92,2.37-.75,5.17-1.13,8.31-1.13,5.2,0,9.64,1.09,13.25,3.26,3.41,2.06,5.37,5.26,5.98,9.75l.23,1.62h12.59l-.36-2.18c-.57-3.44-1.84-6.58-3.8-9.33-1.93-2.71-4.4-5.04-7.33-6.91-2.91-1.86-6.21-3.26-9.87-4.22-3.6-.94-7.41-1.41-11.32-1.41s-8.07.55-11.78,1.61c-3.75,1.08-7.1,2.7-9.97,4.78-2.92,2.13-5.27,4.86-6.98,8.09-1.74,3.25-2.59,7-2.59,11.15,0,5.48,1.44,9.99,4.27,13.4,2.72,3.26,6.18,6.01,10.26,8.17,3.98,2.09,8.34,3.91,12.95,5.38,4.45,1.43,8.62,3.06,12.42,4.86,3.68,1.74,6.74,3.88,9.14,6.36,2.24,2.3,3.33,5.37,3.33,9.34,0,4.92-1.71,8.39-5.23,10.61-3.74,2.36-8.86,3.56-15.23,3.56-5.11,0-9.22-.67-12.22-1.97-2.97-1.29-5.27-2.83-6.78-4.58-1.52-1.75-2.55-3.56-3.07-5.38-.56-1.96-.89-3.61-.96-4.92l-.1-1.77h-12.47l.1,1.96c.17,3.98,1.23,7.64,3.16,10.88,1.88,3.22,4.49,5.99,7.75,8.24,3.2,2.2,7,3.93,11.3,5.14,4.27,1.2,8.97,1.8,14.02,1.8s9.82-.63,13.98-1.88c4.19-1.26,7.84-3.09,10.84-5.46,3.05-2.39,5.43-5.33,7.09-8.73,1.67-3.41,2.51-7.23,2.51-11.36,0-5.71-1.48-10.49-4.4-14.19-2.8-3.55-6.34-6.56-10.52-8.94M883.84,95.83l-26.61,45.9-25.38-45.9h-17.53l32.39,58.22v35.41h15.44v-36.56l32.96-57.07h-11.28ZM260.45,189.46h63.75v-10.82h-48.31v-33.86h41.77v-9.66h-41.77v-28.46h48.31v-10.82h-63.75v93.63ZM514.3,139.46c15.02-.74,20.68-9.33,21.98-11.97,1.32-2.69,1.99-5.59,1.99-8.59,0-2.63-.56-5.34-1.69-8.05-1.12-2.7-2.85-5.19-5.13-7.43-2.26-2.22-5.19-4.05-8.71-5.47-3.51-1.41-7.67-2.13-12.34-2.13h-35.5v93.63h35.67c5.97,0,11.09-.8,15.23-2.37,4.2-1.59,7.62-3.69,10.21-6.27,2.6-2.58,4.5-5.56,5.66-8.85,1.14-3.23,1.73-6.52,1.73-9.81,0-5.26-2.3-9.55-4.68-12.77-2.28-3.12-9.49-9.97-24.43-9.93M490.35,105.24h16.21c3.08,0,5.73.43,7.84,1.29,2.11.83,3.82,1.95,5.13,3.28,1.29,1.33,2.26,2.87,2.84,4.57.61,1.76.94,3.54.94,5.29,0,2.19-.45,4.27-1.31,6.15-.87,1.88-2.1,3.53-3.64,4.89-1.58,1.38-3.41,2.48-5.46,3.25-2.05.77-4.26,1.16-6.59,1.16h-15.97v-29.88ZM526.37,170.36c-.96,2.08-2.26,3.86-3.87,5.31s-3.52,2.55-5.71,3.27c-2.24.75-4.67,1.12-7.2,1.12h-19.23v-35.52h14.73c3.98,0,7.44.52,10.31,1.55,2.84,1.03,5.2,2.4,7.03,4.1,1.8,1.69,3.16,3.66,4.04,5.87.9,2.26,1.36,4.65,1.36,7.14,0,2.7-.49,5.13-1.44,7.17M398.8,157.6l-37.19-61.62-.07-.15h-11.74v93.63h9.41v-68.6l36.18,59.29,37.1-58.94v68.25h15.44v-93.63h-11.86l-37.27,61.77Z%22/%3E%3C/svg%3E");
  --white: #FFFFFF;
  --ivory: #FAF8F3;
  --paper: #FCFAF4;
  --sheet: #FEFFFD;
  --gold: #C9A567;
  --gold-l: #D9B97A;
  --gold-d: #946F38;
  --onyx: #1C1A17;
  --muted: rgba(28, 26, 23, .58);
  --faint: rgba(28, 26, 23, .34);
  --hair: max(1px, .05rem);
  --gline: rgba(201, 165, 103, .42);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: 2rem;
  --bar-h: 4.6rem;
  --shadow: 0 1rem 3rem rgba(28, 26, 23, .10);
  --ink: #fff;                 /* chrome text tone: white over media, onyx over paper */
  --ink-soft: rgba(255, 255, 255, .62);
  /* the panel system (see "the panel system" below) */
  --pn-w: 20rem;               /* every panel, every screen (Location: 24rem, see #dock) */
  --pn-pad: 1.2rem;
  --pn-r: 1.1rem;
  --pn-glass: rgba(250, 248, 243, .76);
  --pn-blur: 1.1rem;
  --pn-line: rgba(201, 165, 103, .45);
  --ctl-h: 2.75rem;            /* action buttons */
  --ib: 2.6rem;                /* icon buttons */
  --reel-w: 23rem;             /* the Films poster cards */
  /* the installed iPad app: safe-area insets for the CHROME only. Layers are never extended below the viewport
     (iOS paints nothing there); app.js fitScreen() lowers --sab0 by the standalone viewport's gap to the screen */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab0: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --bar-t: calc(var(--bar-h) + var(--sab0)); /* the word bar with its bottom inset: what the chrome keeps clear of */
}

/* 16px at 1920x1080, 32px at 3840x2160, never below 12px on a tablet */
html { font-size: clamp(12px, min(.8333vw, 1.4815vh), 44px); }
* { box-sizing: border-box; margin: 0; padding: 0; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
/* the document can never scroll: the root is pinned to the viewport (app.js also snaps any scroll back to 0) */
html, body { position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; background: #0d0c0a; }
body {
  font-family: 'Lato', system-ui, sans-serif; font-weight: 300; color: var(--onyx);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent; touch-action: none; overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
body.light { --ink: var(--onyx); --ink-soft: rgba(28, 26, 23, .5); }
img, video { -webkit-user-drag: none; user-select: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; text-align: inherit; }
svg { stroke: currentColor; fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- type ---------------- */
.over { font-size: .62rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-d); }
.title { font-family: 'Cinzel', serif; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 1.55rem; line-height: 1.2; margin-top: .55rem; }
.title.xl { font-size: 2.3rem; letter-spacing: .18em; line-height: 1.12; }
.rule { width: 2.6rem; height: var(--hair); background: var(--gold); margin: 1rem 0; }
.body { font-size: .95rem; line-height: 1.65; color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------------- layers ---------------- */
.layer {
  position: fixed; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: scale(1.03);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease), visibility 0s linear 1s;
}
.layer.on { opacity: 1; visibility: visible; transform: none; transition: opacity 1s var(--ease), transform 1.8s var(--ease), visibility 0s; }
#layer-orbit { z-index: 1; background: #0d0c0a; touch-action: none; cursor: grab; }
#layer-pano { z-index: 2; background: #0d0c0a; }
#layer-paper { z-index: 3; background: var(--sheet); }
#layer-map { z-index: 3; background: #DCE5E7; touch-action: none; cursor: grab; }
#layer-gallery { z-index: 4; background: #0d0c0a; touch-action: none; }
#layer-backdrop { z-index: 5; background: #0d0c0a; }
/* scrims: just enough for white words over bright media */
#scrim { position: fixed; inset: 0; z-index: 6; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease);
  background: linear-gradient(to top, rgba(13, 12, 10, .5), rgba(13, 12, 10, .12) 11%, transparent 22%),
              radial-gradient(55% 45% at 0 0, rgba(13, 12, 10, .32), transparent 70%),
              radial-gradient(45% 40% at 0 100%, rgba(13, 12, 10, .34), transparent 75%); }
body.v-on #scrim { opacity: 1; }

/* orbit */
/* the poster, then the video faded in over it once its first frame is up (a time change builds a new video above
   the old one, `hold` = not yet shown: orbit.js setTime) */
.orbit-poster, .orbit-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orbit-video { opacity: 0; transition: opacity .4s linear; }
.orbit-video { background: #0d0c0a; }
#layer-orbit.ready .orbit-video { opacity: 1; }
#layer-orbit.ready .orbit-video.hold { opacity: 0; }

/* pano */
.pano-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
/* while a view loads: its thumbnail (a crop at the opening heading) over the whole screen, blurred and scaled to cover */
.pano-cover { position: absolute; inset: 0; overflow: hidden; background: #0d0c0a; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.pano-cover.in { opacity: 1; transition: opacity .45s var(--ease); }
.pano-cover.still img { filter: none; transform: none; }
.pano-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(1.6rem) brightness(.86) saturate(1.05); transform: scale(1.1); }

/* plan sheets */
.zv { touch-action: none; cursor: grab; }
.zv-sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; transition: opacity .9s var(--ease); background: #fff; }
.zv-sheet.in { opacity: 1; }
.zv-sheet.out { opacity: 0; transition: opacity .7s var(--ease); }
.zv-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* 512 px tiles of the plan's pyramid over the display tier, for the visible region only (zoom.js) */
.zv-tiles { position: absolute; inset: 0; pointer-events: none; }
.zv-tile { position: absolute; display: block; opacity: 0; transition: opacity .35s linear; }
.zv-tile.in { opacity: 1; }
.zv-ov { position: absolute; inset: 0; pointer-events: none; }
.paper-note { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.paper-note.on { opacity: 1; }

/* stills with slow cinematic zoom */
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s var(--ease), transform 1.1s var(--ease); }
.slide.in { opacity: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.contain .main { object-fit: contain; }
.slide .fill { filter: blur(2.6rem) brightness(.78) saturate(1.1); transform: scale(1.15); }
.slide.kb .main { animation: kbA 26s cubic-bezier(.3, .2, .3, 1) forwards; }
.slide.kb.alt .main { animation-name: kbB; }
.slide.contain.kb .main { animation: kbC 26s cubic-bezier(.3, .2, .3, 1) forwards; }
@keyframes kbA { from { transform: scale(1.09) translate3d(-1%, .6%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
@keyframes kbB { from { transform: scale(1.025) translate3d(.6%, 0, 0); } to { transform: scale(1.08) translate3d(-.8%, -.6%, 0); } }
@keyframes kbC { from { transform: scale(1.03); } to { transform: scale(1); } }

/* ---------------- the one glass: the panel ---------------- */
.glass {
  background: var(--pn-glass);
  -webkit-backdrop-filter: blur(var(--pn-blur)) saturate(1.2); backdrop-filter: blur(var(--pn-blur)) saturate(1.2);
  box-shadow: inset 0 0 0 var(--hair) var(--pn-line), var(--shadow);
}
/* over the white sheets and the map there is nothing to blur - and Chrome re-composites a backdrop blur as
   the panel's fade-in ends, which over white reads as the panel vanishing for a frame: a plain tint there */
body.light .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(252, 250, 244, .97); }
.chrome { z-index: 20; transition: opacity .8s var(--ease), transform .9s var(--ease); }
/* chrome taken away (auto-dim, the gallery's immersive tap, the floor-view overlay) is never tappable -
   its descendants included, which would otherwise keep their own pointer-events: auto and swallow taps
   meant for whatever is now on top of them */
body.dim .chrome:not(#bar), body.immersive .chrome:not(#bar), body.vo-on .chrome:not(#bar) { opacity: 0 !important; }
body.dim .chrome:not(#bar), body.dim .chrome:not(#bar) *,
body.immersive .chrome:not(#bar), body.immersive .chrome:not(#bar) *,
body.vo-on .chrome:not(#bar), body.vo-on .chrome:not(#bar) * { pointer-events: none !important; }
/* auto-dim: subtle - the words recede, they never vanish completely */
body.dim #bar { opacity: .4; }

/* ---------------- the word bar ---------------- */
/* its shade: on Home a soft blur fading upward to nothing (no slab edge); over other media just a
   gradient to black; over paper / the map the bar carries its own ivory */
#barbg { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--bar-h) * 2.4 + var(--sab0)); z-index: 19; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease);
  background: linear-gradient(to top, rgba(6, 5, 4, .86), rgba(6, 5, 4, .55) 40%, rgba(6, 5, 4, 0)); }
body.v-on #barbg { opacity: 1; }
body.screen-home #barbg { height: calc(var(--bar-h) * 2.8 + var(--sab0));
  background: linear-gradient(to top, rgba(10, 9, 8, .62), rgba(10, 9, 8, .3) 42%, rgba(10, 9, 8, 0));
  -webkit-backdrop-filter: blur(1.1rem) saturate(1.15); backdrop-filter: blur(1.1rem) saturate(1.15);
  -webkit-mask-image: linear-gradient(to top, #000 0, #000 32%, rgba(0, 0, 0, .55) 62%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0, #000 32%, rgba(0, 0, 0, .55) 62%, transparent 100%); }
body.dim #barbg { opacity: .55; }
/* the nav words are centred on the screen, independent of the logo (left) and the screen's extras (right),
   so they sit at exactly the same place on every screen */
#bar { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar-t); padding-bottom: var(--sab0);
  color: var(--ink); transition: opacity .9s var(--ease), color .8s var(--ease); }
#bar::before { content: ''; position: absolute; left: var(--gut); right: var(--gut); top: 0; height: var(--hair); background: linear-gradient(90deg, transparent, rgba(217, 185, 122, .55) 12%, rgba(217, 185, 122, .55) 88%, transparent); opacity: .7; }
body.light #bar { background: linear-gradient(to top, rgba(252, 250, 244, .96), rgba(252, 250, 244, .86)); }
body.light #bar::before { background: linear-gradient(90deg, transparent, var(--gline) 12%, var(--gline) 88%, transparent); }
#brand { position: absolute; left: var(--gut); top: 0; height: 100%; display: flex; align-items: center; }
#brand .logo, #boot .boot-logo {
  display: block; width: 6.6rem; height: 3rem; background: var(--ink); transition: background-color .8s var(--ease);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
#boot .boot-logo { background: var(--onyx); }
#nav { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: stretch; height: 100%; gap: .2rem; }
.nav-w { position: relative; display: flex; align-items: center; gap: .55rem; padding: 0 1.05rem; height: 100%; color: var(--ink-soft); transition: color .7s var(--ease); white-space: nowrap; }
.nav-w i { font-style: normal; font-family: 'Cinzel', serif; font-size: .64rem; letter-spacing: .06em; color: var(--gold-l); opacity: .85; }
body.light .nav-w i { color: var(--gold-d); }
.nav-w b { font-weight: 400; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; }
/* over media the words carry a faint shadow of their own */
body:not(.light) #bar { --ink-soft: rgba(255, 255, 255, .8); text-shadow: 0 0 .9rem rgba(0, 0, 0, .45); }
.nav-w::after { content: ''; position: absolute; left: 1.05rem; right: 1.05rem; top: 0; height: max(2px, .09rem); background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.nav-w.on { color: var(--ink); }
.nav-w.on::after { transform: scaleX(1); }
.nav-w:active { color: var(--gold-l); }
/* the light switch - ONE component for Home's time of day (top right) and the Views aerial's Day / Night
   (in its panel; todRow() in app.js): minimal letter-spaced words, no box and no fill, equal widths (the
   grid's 1fr columns all take the widest one); the light on screen carries a thin gold hairline under it */
.tod-row { display: grid; grid-template-columns: repeat(var(--n), 1fr); align-items: center; gap: .3rem; }
.tod { position: relative; height: 2.6rem; padding: 0 .75rem; display: flex; align-items: center; justify-content: center; gap: .45rem; white-space: nowrap;
  color: var(--tod-soft); transition: color .6s var(--ease); }
.tod svg { width: .8rem; height: .8rem; flex: none; stroke-width: 1.1; }
.tod b { font-weight: 400; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.tod::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: var(--hair); background: var(--tod-line);
  transform: scaleX(0); transition: transform .6s var(--ease); }
.tod.on { color: var(--tod-ink); }
.tod.on::after { transform: scaleX(1); }
/* Home: top right, white over the orbit with a soft shadow and a faint shade of its own */
#tod { position: fixed; top: calc(var(--gut) * .8 + var(--sat)); right: calc(var(--gut) + var(--sar)); --tod-ink: #fff; --tod-soft: rgba(255, 255, 255, .72); --tod-line: var(--gold-l);
  text-shadow: 0 0 .9rem rgba(0, 0, 0, .5), 0 0 .25rem rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; }
#tod::before { content: ''; position: absolute; inset: -2.5rem -3rem -2.5rem -4rem; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(13, 12, 10, .22), rgba(13, 12, 10, 0)); }
#tod.open { opacity: 1; pointer-events: auto; }
#tod .tod:active:not(.on) { color: #fff; }
/* in a panel: onyx words on the glass, the hairline in the deeper gold */
.pn .tod-row { --tod-ink: var(--onyx); --tod-soft: var(--muted); --tod-line: var(--gold-d); }

/* ---------------- the panel ----------------
   Every screen but Home and Films shows ONE panel (#panel, built by panel() in app.js), pinned bottom-right
   just above the bar, in three sizes with one width, glass, radius and type: .pn-tall (the floor scale and the
   place list, 80 % of the screen high), .pn-list (a list: its content, at most that tall) and .pn-card (the
   sub-panel of a chosen amenity or level: a nav row - back, step buttons - over its name and its controls).
   Its head is a title and a quiet line; context controls sit in its foot.
   Collapsed, every panel is the same pill in the corner, naming the current choice (.pn-pill).
   The glass box (.pn) holds one column (.pn-c). While its size animates (.morph, pnMorph() in app.js) the
   column is held at its final size, pinned to the bottom-right corner, so the box grows from / shrinks into
   that corner over content that never reflows (and fades in, .fade, when the shape changed).
   Inside, one vocabulary: rows (.row), the action button (.btn), options (.opt in an .opts grid: equal
   siblings, the chosen one gold), small icon buttons (.icon-btn in an .ibs row), chips (.chips),
   thumbnails (.thumbs grid, .strip row), the light switch (.tod-row) and the floor scale (.scale). */
#dock { position: fixed; top: calc(var(--gut) + var(--sat)); right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + var(--gut) * .5); width: var(--pn-w);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; pointer-events: none; }
/* the Location panel is wider, so the longest place names fit (measured: 22rem is the least that shows
   every name whole at 1920x1080 and 3840x2160; 24rem leaves air). Keyed to the panel's data-kind - set as
   the new content is filled, after the old panel has faded out - so a leaving panel never changes width. */
#dock:has(> .pn[data-kind='loc']) { --pn-w: 24rem; }
.pn { width: 100%; flex: none; max-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; overflow: hidden; border-radius: var(--pn-r);
  opacity: 0; transform: translateX(calc(100% + 4rem)); transition: opacity .45s var(--ease), transform .6s var(--ease), border-radius .4s var(--ease); }
.pn.open { opacity: 1; transform: none; pointer-events: auto; }
.pn.morph { transition: opacity .45s var(--ease), transform .6s var(--ease), border-radius .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.pn-c { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; }
.pn.morph .pn-c { flex: none; }
.pn.fade .pn-c { animation: pnIn .4s var(--ease) both; }
@keyframes pnIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pn, .pn.morph { transition: opacity .2s linear; transform: none; }
  .pn.fade .pn-c { animation: none; }
}
.pn-tall { height: min(80vh, 100%); }
.pn-list, .pn-card { max-height: min(80vh, 100%); }
.pn-head { flex: none; display: flex; align-items: flex-start; gap: .4rem; padding: var(--pn-pad) .45rem 0 var(--pn-pad); }
.pn-ht { flex: 1; min-width: 0; }
.pn-title { font-family: 'Cinzel', serif; font-weight: 400; font-size: 1.15rem; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; margin-top: .45rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a level's title: the word small, the number the big gold numeral (the scale's readout, kept) */
.pn-k { font-family: 'Lato', sans-serif; font-size: .58rem; letter-spacing: .3em; color: var(--muted); margin-right: .65rem; }
.pn-n { font-weight: 400; font-size: 2.6rem; line-height: 1; letter-spacing: .03em; color: var(--gold-d); }
/* the quiet secondary line: under a panel title and under a row label alike */
.pn-sub, .row .s { display: block; font-size: .56rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-sub { margin-top: .4rem; }
.pn-pill { display: none; }
.pn-min { width: var(--ib); height: var(--ib); margin-top: -.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--gold-d); }
.pn-min svg { width: .95rem; height: .95rem; transition: transform .6s var(--ease); }
.pn-min:active { background: rgba(201, 165, 103, .14); }
/* a sub-panel's head: the nav row (back left, the step buttons, the chevron right), then the title */
.pn-head-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'nav min' 'ht ht'; align-items: center; gap: 0 .4rem; padding: .45rem .45rem 0; }
.pn-head-c .pn-nav { grid-area: nav; display: flex; align-items: center; gap: .4rem; min-width: 0; }
.pn-nav .ibs { margin-left: auto; }
.pn-head-c .pn-ht { grid-area: ht; padding: .5rem .75rem 0; }
.pn-head-c .pn-min { grid-area: min; margin: 0; }
.pn-back { height: var(--ib); padding: 0 1rem 0 .7rem; border-radius: calc(var(--ib) / 2); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: .56rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--onyx);
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 var(--hair) var(--pn-line); transition: background-color .5s var(--ease); }
.pn-back svg { width: 1rem; height: 1rem; color: var(--gold-d); flex: none; }
.pn-back:active { background: rgba(201, 165, 103, .16); }
.pn-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem var(--pn-pad) var(--pn-pad); }
.pn-body:not(:last-child) { padding-bottom: .9rem; }
/* the context controls: a short column of options, buttons and the zoom pair */
.pn-foot { flex: none; display: flex; flex-direction: column; gap: .5rem; padding: 0 var(--pn-pad) var(--pn-pad); }
.ctx-row { display: flex; align-items: center; gap: .5rem; }
.ctx-row .btn { flex: 1; }
.ctx-row .ibs { margin-left: auto; }
/* collapsed: a pill in the same corner naming the current choice, with the chevron; a tap anywhere on it
   opens the panel again */
.pn[data-min='1'] { width: auto; max-width: var(--pn-w); height: auto; border-radius: calc(var(--ib) / 2 + .3rem); }
.pn[data-min='1'] .pn-c { width: auto; }
.pn[data-min='1'] .pn-c > :not(.pn-head), .pn[data-min='1'] .pn-nav, .pn[data-min='1'] .pn-title, .pn[data-min='1'] .pn-sub { display: none; }
.pn[data-min='1'] .pn-head { align-items: center; padding: .3rem .3rem .3rem 1.3rem; cursor: pointer; }
.pn[data-min='1'] .pn-head-c { grid-template-areas: 'ht min'; }
.pn[data-min='1'] .pn-head-c .pn-ht { padding: 0; }
.pn[data-min='1'] .pn-pill { display: block; font-family: 'Cinzel', serif; font-weight: 400; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn[data-min='1'] .pn-pill .num { letter-spacing: .06em; }
.pn[data-min='1'] .pn-min { margin: 0; }
.pn[data-min='1'] .pn-min svg { transform: rotate(180deg); }

/* the list: rows bleed half a padding each side so their labels line up with the header */
.scroll { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain;
  margin: -.4rem -.5rem; padding: .4rem 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 .6rem, #000 calc(100% - 1rem), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 .6rem, #000 calc(100% - 1rem), transparent 100%); }
.row { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 3.4rem; padding: .45rem .5rem; border-radius: .7rem; position: relative; transition: background-color .5s var(--ease); }
.row + .row::before { content: ''; position: absolute; top: 0; left: .5rem; right: .5rem; height: var(--hair); background: rgba(28, 26, 23, .07); }
.row:active { background: rgba(201, 165, 103, .1); }
.row.on { background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 var(--hair) var(--pn-line); }
.row.on::before, .row.on + .row::before { opacity: 0; }
.row .th { width: 4.6rem; height: 2.9rem; border-radius: .35rem; object-fit: cover; flex: none; background: var(--ivory); }
/* a row's leading mark: a category glyph */
.row .lead { width: 2.8rem; flex: none; display: grid; place-items: center; color: var(--gold-d); }
.row .lead svg { width: 1.15rem; height: 1.15rem; stroke-width: 1.1; }
.row .tx { flex: 1; min-width: 0; }
.row .l { display: block; font-size: .92rem; font-weight: 400; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s { margin-top: .3rem; }
.row.on .l { color: var(--gold-d); }
.row .aside { flex: none; text-align: right; color: var(--gold-d); }
.row .aside b { display: block; font-weight: 400; font-size: .92rem; }
.row .aside i { display: block; font-style: normal; margin-top: .3rem; font-size: .5rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.group-h { margin: 1rem .5rem .35rem; }
.group-h:first-child { margin-top: .3rem; }
.note { padding: .2rem 0; font-size: .85rem; }
/* actions: ONE button style */
.btn { height: var(--ctl-h); min-width: 0; padding: 0 .8rem; border-radius: calc(var(--ctl-h) / 2); display: flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; overflow: hidden;
  font-size: .56rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--onyx);
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 var(--hair) var(--pn-line); transition: background-color .5s var(--ease); }
.btn svg { width: 1rem; height: 1rem; color: var(--gold-d); flex: none; }
.btn:active { background: rgba(201, 165, 103, .16); }
/* options (a level's whole floor and its homes): equal sibling buttons in one grid, the chosen one solid gold */
.opts { display: grid; grid-template-columns: repeat(var(--n, 1), 1fr); gap: .4rem; flex: none; }
.opt { height: var(--ctl-h); min-width: 0; border-radius: calc(var(--ctl-h) / 2); display: flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  font-size: .62rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--onyx);
  background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .1rem .35rem rgba(28, 26, 23, .07);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.opt svg { width: 1rem; height: 1rem; color: var(--gold-d); flex: none; transition: color .4s var(--ease); }
.opt .num { letter-spacing: .04em; }
.opt:active:not(.on) { background: rgba(201, 165, 103, .16); }
.opt.on { color: #fff; background: var(--gold-d); box-shadow: 0 .15rem .5rem rgba(148, 111, 56, .35); }
.opt.on svg { color: #fff; }
/* a level's homes: one row per wing under its quiet name; each home its number over what it is */
.wing { display: flex; flex-direction: column; gap: .35rem; flex: none; }
.wing-h { font-size: .56rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-left: .2rem; }
.opt.unit { height: auto; min-height: var(--ctl-h); padding: .45rem .3rem; flex-direction: column; gap: .2rem; }
.opt.unit .u-no { font-family: 'Cinzel', serif; font-size: .9rem; line-height: 1; letter-spacing: .06em; color: var(--gold-d); transition: color .4s var(--ease); }
.opt.unit .u-ty { font-size: .54rem; letter-spacing: .08em; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.opt.unit.on .u-no { color: #fff; }
/* small icon buttons (zoom), always grouped in one row */
.ibs { display: flex; align-items: center; gap: .4rem; flex: none; }
.icon-btn { width: var(--ib); height: var(--ib); border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--gold-d);
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 var(--hair) var(--pn-line); transition: background-color .5s var(--ease), opacity .5s var(--ease); }
.icon-btn svg { width: 1rem; height: 1rem; }
.icon-btn:active { background: rgba(201, 165, 103, .16); }
.icon-btn:disabled { opacity: .35; cursor: default; }
/* category filters: one row that scrolls sideways, never wraps */
.chips, .strip { display: flex; gap: .35rem; flex: none; overflow-x: auto; touch-action: pan-x; overscroll-behavior: contain; margin: 0 calc(var(--pn-pad) * -1); padding: .1rem var(--pn-pad);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--pn-pad), #000 calc(100% - var(--pn-pad)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--pn-pad), #000 calc(100% - var(--pn-pad)), transparent 100%); }
.chip { flex: none; height: 2.3rem; padding: 0 .85rem; border-radius: 1.15rem; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  font-size: .52rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 var(--hair) rgba(28, 26, 23, .1); transition: color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease); }
.chip .cg { color: var(--gold-d); width: .85rem; height: .85rem; }
.chip.on { color: var(--gold-d); background: #fff; box-shadow: inset 0 0 0 var(--hair) var(--gold); }
/* thumbnails: a two-across grid in a list (the gallery), or one sideways strip (an amenity's views, in its sub-panel) */
.scroll.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; grid-auto-rows: max-content; align-content: start; padding: .4rem .5rem; }
.strip { gap: .4rem; }
.strip .tb { flex: none; width: 5.5rem; }
.tb { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: .35rem; overflow: hidden; background: var(--ivory); box-shadow: inset 0 0 0 var(--hair) rgba(28, 26, 23, .08); }
.tb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .12rem var(--gold); opacity: 0; transition: opacity .6s var(--ease); }
.tb.on::after { opacity: 1; }
/* ---------------- the floor scale (Residences, Views) ----------------
   One control: a tick per floor (top = the highest; floors with nothing to show are short and faint), each
   range bracketed with its label on the scale's left, aligned to its ticks, and the gold marker - a line
   across the ticks to a knob - carrying the floor's big gold numeral. The range under the marker turns gold. */
.scale { position: relative; flex: 1 1 auto; min-height: 0; touch-action: none; cursor: ns-resize; }
.sc-rail { position: absolute; left: .4rem; right: 0; top: 1.6rem; bottom: 1.6rem; }
.sc-rail > * { position: absolute; top: calc(var(--y) * 100%); }
.sc-rg { left: 0; width: 4.6rem; height: calc(var(--h) * 100%); }
.sc-rg::after { content: ''; position: absolute; right: 0; top: -.2rem; bottom: -.2rem; width: var(--hair); background: rgba(148, 111, 56, .35); transition: background-color .4s var(--ease); }
.sc-rg b { position: absolute; right: .65rem; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: .7rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; transition: color .4s var(--ease); }
.sc-rg.sc-aer b { font-size: .54rem; letter-spacing: .2em; text-transform: uppercase; }
.sc-rg.sc-aer::after { display: none; }
.sc-rg.on b { color: var(--gold-d); }
.sc-rg.sc-aer.on b { opacity: 0; } /* the marker's readout names it */
.sc-rg.on::after { background: var(--gold-d); width: max(2px, .09rem); }
.sc-tk { left: 5.1rem; width: 2.2rem; height: var(--hair); background: rgba(28, 26, 23, .24); transition: width .4s var(--ease), background-color .4s var(--ease); }
.sc-tk.na { width: .9rem; background: rgba(28, 26, 23, .1); }
.sc-tk.in { background: var(--gold); }
.sc-tk.on { width: 3rem; background: var(--gold-d); }
.sc-dia { left: 5.5rem; width: .6rem; height: .6rem; margin-top: -.3rem; transform: rotate(45deg); box-shadow: inset 0 0 0 var(--hair) var(--gold-d); transition: background-color .4s var(--ease); }
.sc-dia.on { background: var(--gold-d); }
.sc-mk { left: 4.6rem; right: 0; height: 0; pointer-events: none; transition: top .3s var(--ease); }
.scale.drag .sc-mk { transition: top .12s linear; }
.sc-mk::before { content: ''; position: absolute; left: 0; width: 4.2rem; top: calc(max(2px, .09rem) / -2); height: max(2px, .09rem); background: var(--gold-d); box-shadow: 0 0 .5rem rgba(201, 165, 103, .6); }
.sc-knob { position: absolute; left: 4.2rem; top: 0; width: 1.3rem; height: 1.3rem; margin: -.65rem 0 0 -.65rem; border-radius: 50%;
  background: var(--gold-d); box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .95), 0 .15rem .7rem rgba(148, 111, 56, .5); transition: transform .3s var(--ease); }
.scale.drag .sc-knob { transform: scale(1.25); }
.sc-read { position: absolute; left: 5.7rem; top: 0; transform: translateY(-50%); white-space: nowrap; }
.sc-read b { display: block; font-family: 'Cinzel', serif; font-weight: 400; font-size: 2.8rem; line-height: 1; letter-spacing: .02em; color: var(--gold-d); }
.sc-read .w { font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------------- captions ---------------- */
#caption { position: fixed; opacity: 0; pointer-events: none; transform: translateY(1rem); }
#caption.open { opacity: 1; transform: none; pointer-events: auto; }
/* words straight on the media (Home, lists, gallery) */
#caption.c-text { left: calc(var(--gut) + var(--sal)); top: calc(var(--gut) * 1.2 + var(--sat)); width: 30rem; color: #fff; text-shadow: 0 0 1.6rem rgba(0, 0, 0, .35), 0 0 .3rem rgba(0, 0, 0, .25); }
#caption.c-text .over { color: var(--gold-l); }
#caption.c-text .body { color: rgba(255, 255, 255, .82); }
#caption.c-text .rule { background: var(--gold-l); }
/* Home: only the place line, a touch larger since it stands alone */
#caption.c-home .over { font-size: .72rem; letter-spacing: .38em; }
#caption.c-home .gesture { margin-top: .6rem; }
/* gallery: the picture's name low on the left (passive; its controls are in the right column) */
#caption.c-gal, #caption.c-low { top: auto; bottom: calc(var(--bar-t) + var(--gut) * .6); width: auto; max-width: 40rem; }
#caption.c-gal .title, #caption.c-low .title { font-size: 1.3rem; }
#caption.c-low .gesture { margin-top: .4rem; }
/* the gesture hint: a small icon, gone after the first drag */
.gesture { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; opacity: .75; transition: opacity 1.2s var(--ease); }
.gesture svg { width: 1.7rem; height: 1.7rem; stroke-width: 1; }
#caption.c-text .gesture { color: var(--gold-l); margin-left: -.35rem; }
.gesture.used { opacity: 0; }

/* ---------------- Films: frameless poster cards stacked on the right, over a soft scrim ---------------- */
#reel { position: fixed; top: calc(var(--gut) + var(--sat)); right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + var(--gut) * .5); width: var(--reel-w);
  display: flex; flex-direction: column; justify-content: safe center; gap: 1.5rem; overflow-y: auto; touch-action: pan-y;
  opacity: 0; transform: translateX(2rem); pointer-events: none; }
#reel.open { opacity: 1; transform: none; pointer-events: auto; }
/* the scrim: fades in from the right edge, behind the cards only */
body.screen-films #scrim { background: linear-gradient(to top, rgba(13, 12, 10, .5), rgba(13, 12, 10, .12) 11%, transparent 22%),
  radial-gradient(55% 45% at 0 0, rgba(13, 12, 10, .32), transparent 70%),
  linear-gradient(to left, rgba(13, 12, 10, .55), rgba(13, 12, 10, .3) 22%, transparent 42%); }
.reel-card { display: block; width: 100%; flex: none; color: #fff; }
.reel-poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .3rem; background: rgba(13, 12, 10, .4); }
.reel-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.reel-card:active .reel-poster img { transform: scale(1.03); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(13, 12, 10, .22); -webkit-backdrop-filter: blur(.6rem); backdrop-filter: blur(.6rem); box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .7); }
.reel-play svg { width: .95rem; height: .95rem; margin-left: .12rem; fill: #fff; stroke: none; }
.reel-cap { display: flex; align-items: baseline; gap: .9rem; margin-top: .75rem; text-shadow: 0 0 1rem rgba(0, 0, 0, .45); }
.reel-cap i { font-style: normal; font-size: .62rem; letter-spacing: .14em; color: var(--gold-l); }
.reel-cap b { flex: 1; min-width: 0; font-family: 'Cinzel', serif; font-weight: 400; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-cap span { font-size: .72rem; color: rgba(255, 255, 255, .78); }

/* full-screen cinematic player */
#film { position: fixed; inset: 0; z-index: 40; background: #000; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
#film.open { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
#film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#film::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 18%), linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent 14%); transition: opacity .8s var(--ease); }
#film.quiet::after { opacity: 0; }
#film .film-close { position: absolute; z-index: 2; top: calc(var(--gut) + var(--sat)); right: calc(var(--gut) + var(--sar)); width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .45); }
#film .film-close svg { width: 1.1rem; height: 1.1rem; }
/* the player's way to the Share panel (it covers the bar), beside the close button */
#film .film-share { position: absolute; z-index: 2; top: calc(var(--gut) + var(--sat)); right: calc(var(--gut) + var(--sar) + 4.2rem); width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; color: var(--gold-l); box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .45); }
#film .film-share svg { width: 1.15rem; height: 1.15rem; }
#film .film-share:active { background: rgba(217, 185, 122, .2); }
#film .film-title { position: absolute; z-index: 2; top: calc(var(--gut) + .7rem + var(--sat)); left: calc(var(--gut) + var(--sal)); color: #fff; font-family: 'Cinzel', serif; letter-spacing: .22em; text-transform: uppercase; font-size: 1rem; }
#film .film-title small { display: block; font-family: 'Lato'; font-size: .56rem; letter-spacing: .34em; color: var(--gold-l); margin-bottom: .5rem; }
/* the close button top right, the title (passive) top left; the scrub bar half the screen wide,
   centred (client request) */
.film-bar { position: absolute; z-index: 2; left: calc(25% + var(--gut) / 2); right: calc(25% + var(--gut) / 2); bottom: calc(var(--gut) * .8 + var(--sab0)); height: 4rem; display: flex; align-items: center; gap: 1.1rem; color: #fff; }
.fb-btn { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .45); }
.fb-btn svg { width: 1.1rem; height: 1.1rem; }
.fb-btn .i-play { fill: currentColor; stroke: none; }
#film:not(.playing) .i-pause, #film.playing .i-play { display: none; }
.fb-t, .fb-d { font-size: .8rem; color: rgba(255, 255, 255, .75); width: 3.2rem; text-align: center; flex: none; }
.fb-track { position: relative; flex: 1; height: 3.6rem; touch-action: none; cursor: pointer; }
.fb-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: var(--hair); background: rgba(255, 255, 255, .3); }
.fb-fill { position: absolute; left: 0; top: 50%; height: max(2px, .09rem); margin-top: -.045rem; width: 0; background: var(--gold-l); }
.fb-knob { position: absolute; top: 50%; width: 1rem; height: 1rem; margin: -.5rem 0 0 -.5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .2rem rgba(217, 185, 122, .35); left: 0; }
/* volume: the play button's mirror at the bar's right end; a tap opens a slider beside it (the track gives up the room) */
.fb-vol { display: flex; align-items: center; flex: none; }
.fb-vslide { position: relative; width: 0; height: 3.6rem; overflow: hidden; opacity: 0; pointer-events: none; transition: width .7s var(--ease), opacity .5s var(--ease), margin .7s var(--ease); }
.fb-vol.open .fb-vslide { width: 9rem; margin-right: .6rem; opacity: 1; pointer-events: auto; }
.fb-vtrack { position: absolute; left: .9rem; right: .9rem; top: 0; bottom: 0; touch-action: none; cursor: pointer; }
.fb-vtrack::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: var(--hair); background: rgba(255, 255, 255, .3); }
.fb-vfill { position: absolute; left: 0; top: 50%; height: max(2px, .09rem); margin-top: -.045rem; width: 100%; background: var(--gold-l); }
.fb-vknob { position: absolute; top: 50%; width: 1rem; height: 1rem; margin: -.5rem 0 0 -.5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .2rem rgba(217, 185, 122, .35); left: 100%; }
.fb-vbtn svg { width: 1.25rem; height: 1.25rem; }
.fb-vbtn .i-spk { fill: currentColor; }
.fb-vol[data-lv="muted"] .i-w1, .fb-vol[data-lv="muted"] .i-w2, .fb-vol[data-lv="low"] .i-w2, .fb-vol:not([data-lv="muted"]) .i-x { display: none; }
#film .film-bar, #film .film-close, #film .film-share, #film .film-title { transition: opacity .8s var(--ease), transform .8s var(--ease); }
#film.quiet .film-bar { opacity: 0; transform: translateY(1rem); pointer-events: none; }
#film.quiet .film-close, #film.quiet .film-share, #film.quiet .film-title { opacity: 0; pointer-events: none; }

/* ---------------- "View from this floor": an overlay under the bar, over everything else ---------------- */
#viewover { position: fixed; inset: 0; z-index: 18; background: #0d0c0a; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
#viewover.open { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
#viewover .vo-host { position: absolute; inset: 0; }
#viewover .vo-cap { position: absolute; left: calc(var(--gut) + var(--sal)); bottom: calc(var(--bar-t) + var(--gut) * .6); color: #fff; pointer-events: none; text-shadow: 0 0 1.6rem rgba(0, 0, 0, .35), 0 0 .3rem rgba(0, 0, 0, .25); }
#viewover .vo-cap .over { color: var(--gold-l); }
#viewover .vo-cap .title { font-size: 1.3rem; }
#viewover .vo-close { position: absolute; top: calc(var(--gut) + var(--sat)); right: calc(var(--gut) + var(--sar)); height: 3.4rem; padding: 0 1.3rem 0 1.05rem; border-radius: 1.7rem; display: inline-flex; align-items: center; gap: .6rem; color: #fff;
  font-size: .58rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
  background: rgba(13, 12, 10, .32); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55); }
#viewover .vo-close svg { width: 1rem; height: 1rem; color: var(--gold-l); }
#viewover .vo-close:active { background: rgba(217, 185, 122, .2); }
/* an amenity over a plan sheet (js/app.js openAmenityView): a render shows whole over its 360, and the
   amenity's views + renders sit in a strip low on the right (where the amenity panel's strip would be) */
#viewover .vo-still { position: absolute; inset: 0; background: #0d0c0a; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
#viewover.still .vo-still { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
#viewover .vo-strip { position: absolute; right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + var(--gut) * .6); max-width: calc(50% - var(--gut)); display: flex; gap: .4rem; padding: .4rem;
  overflow-x: auto; touch-action: pan-x; overscroll-behavior: contain; scrollbar-width: none; border-radius: .7rem;
  background: rgba(13, 12, 10, .32); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55); }
#viewover .vo-strip:empty, #viewover:not(.amen) .vo-strip { display: none; }
#viewover .vo-strip .tb { flex: none; width: 5.5rem; background: #1c1a17; }
/* while it is up the screen's own controls step back (see .chrome above); the bar stays, in its dark dress */
body.vo-on { --ink: #fff; --ink-soft: rgba(255, 255, 255, .8); }
body.vo-on #bar { background: none; text-shadow: 0 0 .9rem rgba(0, 0, 0, .45); }
body.vo-on #barbg { opacity: 1; }

/* ---------------- location map ---------------- */
.map-canvas { position: absolute; inset: 0; display: block; }
.map-markers { position: absolute; inset: 0; pointer-events: none; }
.map-tower { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 3; }
.map-tower i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.map-tower .tw-glow { width: 5rem; height: 5rem; background: radial-gradient(circle, rgba(201, 165, 103, .32), rgba(201, 165, 103, 0) 70%); }
.map-tower .tw-dia { width: .7rem; height: .7rem; border-radius: 0; background: var(--gold-d); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .85); }
/* the Citadel logo stands over the point, in the map's gold, on a soft ivory halo */
.map-tower .tw-logo { position: absolute; left: 0; bottom: .9rem; width: 7.4rem; height: 3.7rem; transform: translateX(-50%); background: var(--gold-d);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  filter: drop-shadow(0 0 .35rem #fff) drop-shadow(0 0 .35rem #fff); }
.map-tower::before { content: ''; position: absolute; left: 0; bottom: .5rem; width: 9rem; height: 4.6rem; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 250, 244, .95), rgba(252, 250, 244, .7) 55%, rgba(252, 250, 244, 0)); }
.map-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.map-pin.shown { opacity: 1; pointer-events: auto; }
.map-pin.on { opacity: 1; z-index: 2; }
.map-pin .pin-dot { position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; margin: -1.15rem 0 0 -1.15rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--gold-d);
  box-shadow: inset 0 0 0 var(--hair) var(--gold), 0 .3rem .8rem rgba(28, 26, 23, .14); transition: transform .5s var(--ease), background-color .5s var(--ease), color .5s; }
/* a 4-rem invisible hit area around the dot */
.map-pin::before { content: ''; position: absolute; left: -2rem; top: -2rem; width: 4rem; height: 4rem; pointer-events: auto; }
.map-pin:not(.shown)::before { pointer-events: none; }
.map-pin .cg { width: 1.05rem; height: 1.05rem; stroke-width: 1.1; }
.map-pin.on .pin-dot { background: var(--gold-d); color: #fff; transform: scale(1.22); }
/* a label sits on the free side of its pin, or stacked a row or two beside it (--ly; map.js picks it, or
   hides the label when nothing is free) */
.map-pin .pin-l { position: absolute; left: 1.6rem; top: 0; transform: translateY(calc(-50% + var(--ly, 0px))); white-space: nowrap; font-size: .62rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--onyx); opacity: 0; transition: opacity .5s; pointer-events: none;
  text-shadow: 0 0 .4rem #fff, 0 0 .4rem #fff, 0 0 .4rem #fff; }
.map-pin[data-side='l'] .pin-l { left: auto; right: 1.6rem; }
.map-pin[data-side='t'] .pin-l { left: 0; top: -1.6rem; transform: translate(-50%, -100%); }
.map-pin[data-side='b'] .pin-l { left: 0; top: 1.6rem; transform: translate(-50%, 0); }
.map-pin.lab .pin-l { opacity: .85; }
.map-pin .pin-k { position: absolute; left: 0; top: 0; height: var(--hair); margin-top: calc(var(--hair) / -2); background: var(--gold-d); transform-origin: 0 50%; opacity: 0; transition: opacity .5s; pointer-events: none; }
.map-pin.lab .pin-k.k-on { opacity: .6; }
.map-pin.on .pin-l { opacity: 1; color: var(--gold-d); }
.map-pin .pin-m { display: none; }
.map-pin.on .pin-m { display: block; margin-top: .35rem; font-size: .56rem; letter-spacing: .12em; color: var(--onyx); opacity: .75; }
.map-pin[data-side='l'] .pin-m { text-align: right; }
.map-pin[data-side='t'] .pin-m, .map-pin[data-side='b'] .pin-m { text-align: center; }
.row .aside b small { font-size: .55em; letter-spacing: .08em; }
.map-pin.under:not(.on) { opacity: .3; }
.cg { width: 1rem; height: 1rem; stroke-width: 1.1; flex: none; }
.osm { position: fixed; right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + .3rem); z-index: 19; font-size: .5rem; letter-spacing: .06em; color: var(--faint); opacity: 0; pointer-events: none; transition: opacity .8s; }
body.screen-location .osm { opacity: 1; }


/* ---------------- progress + boot ---------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: max(1px, .08rem); z-index: 60; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.progress.on { opacity: 1; }
.progress.done { opacity: 0; transition-delay: .25s; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); box-shadow: 0 0 .6rem rgba(217, 185, 122, .9); transform-origin: 0 50%; transform: scaleX(0); transition: transform .35s var(--ease); }
#boot { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s; }
#boot .boot-logo { width: 16rem; height: 8rem; }
#boot .boot-line { width: 9rem; height: var(--hair); background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: sweep 1.8s ease-in-out infinite; }
@keyframes sweep { 0% { transform: scaleX(.1); opacity: .2; } 50% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(.1); opacity: .2; } }
body:not(.booting) #boot { opacity: 0; visibility: hidden; pointer-events: none; }

/* tablet-ish (4:3): tighter gutters, the bar keeps every word */
@media (max-aspect-ratio: 3/2) {
  html { font-size: clamp(13px, min(1vw, 1.5vh), 44px); }
  :root { --gut: 1.4rem; }
  .nav-w { padding: 0 .7rem; }
  .nav-w i { display: none; }
  .nav-w::after { left: .7rem; right: .7rem; }
  #brand .logo { width: 5.4rem; }
}

/* ---------------- amenity sheets: tappable rooms (zoom.js marks; they keep their size and follow the
   sheet through zoom / pan). A soft gold dot + a small glass label; the whole chip is the hit area. */
.zv-marks { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
.zv-marks.in { opacity: 1; }
.zv-mark { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; }
.zv-mark::before { content: ''; position: absolute; left: -1.6rem; top: -1.6rem; width: 3.2rem; height: 3.2rem; }
.zv-mark i { position: absolute; left: -.55rem; top: -.55rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 .3rem rgba(201, 165, 103, .28), 0 .2rem .6rem rgba(28, 26, 23, .18); transition: transform .3s var(--ease); }
.zv-mark .zv-mark-l { position: absolute; left: 1rem; top: 0; transform: translateY(-50%); white-space: nowrap; padding: .32rem .7rem;
  border-radius: 1rem; background: rgba(254, 255, 253, .9); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .25rem .8rem rgba(28, 26, 23, .1);
  font-size: .62rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--onyx); }
.zv-mark:active i { transform: scale(1.25); }

/* ================= annotation mode (js/annotate.js) =================
   The pen: a small round button on the LEFT edge, centred in the height above the bar - the one spot no
   screen uses (captions are top-left / bottom-left, every control is on the right, the film's scrub bar is
   centred at the bottom). Half see-through at rest. A tap: the canvas takes every pointer over the whole
   screen but the bar (films: the whole screen), the pen turns into the exit (X) and the vertical toolbar grows
   out of it (body.ann-tools). The first stroke folds the toolbar back: the pen then wears a gold ring and the
   current tool (body.annotating:not(.ann-tools)). Above the film player (40) and the progress line (60), under
   the boot cover (80). */
#annotate { position: fixed; left: 0; right: 0; top: 0; bottom: var(--bar-t); z-index: 70; touch-action: none; cursor: crosshair;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
/* over whatever covers the bar (the film player, the compare canvas, the share panel and its previews) the
   canvas covers the whole screen: nothing under a live drawing ever takes a touch */
#film.open ~ #annotate, body.cmp-on #annotate, body.shr-on #annotate, #sharepv.open ~ #annotate, #sharelinkqr.open ~ #annotate { bottom: 0; }
#annotate canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
body.annotating #annotate { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s var(--ease), visibility 0s; }
#annotate.erase { cursor: cell; }
/* closed: the drawing is hidden entirely (remembered per screen; the pen's dot says one is there) */
#ann-pen { position: fixed; z-index: 72; left: calc(var(--gut) + var(--sal)); top: calc(50% - var(--bar-t) / 2); margin-top: -1.8rem;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; color: var(--gold-l);
  background: rgba(13, 12, 10, .32); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem);
  box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55); opacity: .7;
  transition: opacity .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .3s var(--ease); }
#ann-pen svg { grid-area: 1 / 1; width: 1.25rem; height: 1.25rem; transition: opacity .3s var(--ease), transform .4s var(--ease); }
#ann-pen .i-x { width: 1.1rem; height: 1.1rem; opacity: 0; transform: rotate(-90deg); stroke-width: 1.5; }
#ann-pen:active { opacity: 1; }
/* over the white sheets and the map: an ivory chip, so it still reads at rest */
body.light:not(.annotating) #ann-pen { background: rgba(252, 250, 244, .9); color: var(--gold-d); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .2rem .8rem rgba(28, 26, 23, .12); }
body.vo-on:not(.annotating) #ann-pen { background: rgba(13, 12, 10, .32); color: var(--gold-l); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55); }
@media (hover: hover) { #ann-pen:hover { opacity: 1; } }
/* the toolbar open: a gold disc with the exit (X) */
body.annotating #ann-pen { opacity: 1; background: var(--gold); color: var(--onyx); box-shadow: 0 .3rem 1.2rem rgba(0, 0, 0, .3); }
body.annotating #ann-pen .i-pen { opacity: 0; transform: rotate(90deg); }
body.ann-tools #ann-pen .i-x { opacity: 1; transform: none; }
/* annotating, toolbar folded away: a dark disc in a thick gold ring with a soft gold halo, showing the current
   tool (a dot in the ink, or the eraser) - "drawing is on, tap for the tools" */
#ann-pen .i-er { opacity: 0; transform: scale(.5); color: var(--gold-l); }
#ann-pen .i-cur { grid-area: 1 / 1; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--cur, #E5484D);
  box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .6), 0 0 0 .14rem rgba(13, 12, 10, .35);
  opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .4s var(--ease), background-color .3s var(--ease); }
body.annotating:not(.ann-tools) #ann-pen { background: rgba(13, 12, 10, .62); color: var(--gold-l);
  box-shadow: inset 0 0 0 .2rem var(--gold), 0 0 0 .3rem rgba(201, 165, 103, .22), 0 .3rem 1.2rem rgba(0, 0, 0, .3);
  animation: ann-glow 2.6s var(--ease) infinite; }
body.annotating:not(.ann-tools) #ann-pen:not(.er) .i-cur { opacity: 1; transform: none; }
body.annotating:not(.ann-tools) #ann-pen.er .i-er { opacity: 1; transform: none; }
@keyframes ann-glow {
  0%, 100% { box-shadow: inset 0 0 0 .2rem var(--gold), 0 0 0 .3rem rgba(201, 165, 103, .22), 0 .3rem 1.2rem rgba(0, 0, 0, .3); }
  50% { box-shadow: inset 0 0 0 .2rem var(--gold), 0 0 0 .55rem rgba(201, 165, 103, .1), 0 .3rem 1.2rem rgba(0, 0, 0, .3); } }
/* moved by the visitor (js/annotate.js: hold, then drag): placed by its top-left; a hold lifts it */
#ann-pen.placed { margin-top: 0; }
#ann-pen { transform: scale(1); }
#ann-pen.lift { opacity: 1; animation: none; transform: scale(1.14); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .8), 0 .6rem 1.8rem rgba(0, 0, 0, .35);
  transition: opacity .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
/* a drawing is kept on this screen: a small red dot on the pen (the default ink) */
#ann-pen::after { content: ''; position: absolute; top: .45rem; right: .45rem; width: .6rem; height: .6rem; border-radius: 50%; background: #E5484D;
  box-shadow: 0 0 0 .12rem rgba(13, 12, 10, .55); opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .4s var(--ease); }
body.light #ann-pen::after { box-shadow: 0 0 0 .12rem rgba(252, 250, 244, .95); }
#ann-pen.has { opacity: .9; }
body:not(.annotating) #ann-pen.has::after { opacity: 1; transform: none; }
/* the toolbar: a vertical pill in the pen's column growing UP out of it (the pen over its bottom end);
   .down: growing DOWN (the pen over its top end) when there is no room above. Placed by js/annotate.js. */
#ann-bar { position: fixed; z-index: 71; left: calc(var(--gut) + var(--sal)); bottom: 50%; width: 3.6rem;
  padding: .5rem 0 4.1rem; border-radius: 1.8rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; color: #fff;
  background: rgba(13, 12, 10, .5); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem);
  box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55), 0 .3rem 1.2rem rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; pointer-events: none; clip-path: inset(calc(100% - 3.6rem) 0 0 0 round 1.8rem);
  transition: opacity .3s var(--ease), clip-path .55s var(--ease), visibility 0s linear .55s; }
#ann-bar.down { padding: 4.1rem 0 .5rem; clip-path: inset(0 0 calc(100% - 3.6rem) 0 round 1.8rem); }
body.ann-tools #ann-bar, body.ann-tools #ann-bar.down { opacity: 1; visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0 round 1.8rem);
  transition: opacity .3s var(--ease), clip-path .55s var(--ease), visibility 0s; }
#ann-bar button { width: var(--ib); height: var(--ib); border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; transition: opacity .3s var(--ease); }
.ann-sw i { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .55); transition: transform .3s var(--ease); }
.ann-sw::after { content: ''; position: absolute; inset: .2rem; border-radius: 50%; box-shadow: inset 0 0 0 .12rem var(--gold-l); opacity: 0; transition: opacity .3s var(--ease); }
.ann-sw[aria-pressed="true"] i { transform: scale(1.12); }
.ann-sw[aria-pressed="true"]::after, .ann-er[aria-pressed="true"]::after { opacity: 1; }
.ann-er::after { content: ''; position: absolute; inset: .2rem; border-radius: 50%; box-shadow: inset 0 0 0 .12rem var(--gold-l); opacity: 0; transition: opacity .3s var(--ease); }
#ann-bar .ann-er[aria-pressed="true"] { color: var(--gold-l); }
.ann-sep { height: var(--hair); width: 1.6rem; margin: .4rem 0; background: rgba(217, 185, 122, .45); flex: none; }
.ann-ib svg { width: 1.15rem; height: 1.15rem; }
#ann-bar .ann-ib:active { background: rgba(217, 185, 122, .2); }
#ann-bar .ann-ib:disabled { opacity: .3; cursor: default; }
@media (prefers-reduced-motion: reduce) { #ann-bar, body.ann-tools #ann-bar { transition: opacity .2s linear, visibility 0s; }
  body.annotating #ann-pen { animation: none; } }

/* ================= plan pools: Compare + Share (js/pool.js, js/compare.js, js/share.js, js/pdf.js) =================
   Every plan viewer's panel foot carries two toggles (.pool-acts: .opts / .opt, the added one gold). The word
   bar's right end shows a chip per non-empty pool (the pen sits on the LEFT edge, the film bar in the middle);
   a chip opens the compare canvas (full screen, over the bar) or the share panel (right, over a scrim). */
.pool-acts .opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pool-tray { position: absolute; right: var(--gut); top: 0; height: 100%; display: flex; align-items: center; gap: .45rem; pointer-events: none; }
.pool-chip { height: 2.5rem; padding: 0 1rem 0 .85rem; border-radius: 1.25rem; display: none; align-items: center; gap: .5rem; white-space: nowrap; pointer-events: auto;
  color: var(--ink); background: rgba(13, 12, 10, .24); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .6);
  transition: background-color .5s var(--ease), color .8s var(--ease); }
.pool-chip.on { display: inline-flex; animation: poolIn .6s var(--ease) both; }
.pool-chip svg { width: 1rem; height: 1rem; flex: none; color: var(--gold-l); }
.pool-chip b { font-weight: 400; font-size: .8rem; color: var(--gold-l); }
.pool-chip span { font-size: .56rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; padding-left: .1em; }
.pool-chip.bump b { animation: poolBump .5s var(--ease); }
.pool-chip.zero b { display: none; }
.pool-chip:active { background: rgba(217, 185, 122, .22); }
body.light .pool-chip { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 var(--hair) var(--pn-line); text-shadow: none; }
body.light .pool-chip svg, body.light .pool-chip b { color: var(--gold-d); }
body.light .pool-chip:active { background: #f1e7d3; }
/* a light screen under the floor view / amenity overlay: the bar is in its dark dress there (--ink is white),
   so the chips must be too - an ivory pill would carry white words */
body.vo-on .pool-chip { background: rgba(13, 12, 10, .24); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .6); text-shadow: 0 0 .9rem rgba(0, 0, 0, .45); }
body.vo-on .pool-chip svg, body.vo-on .pool-chip b { color: var(--gold-l); }
body.vo-on .pool-chip:active { background: rgba(217, 185, 122, .22); }
body.vo-on .nav-w i { color: var(--gold-l); }
body.vo-on #bar::before { background: linear-gradient(90deg, transparent, rgba(217, 185, 122, .55) 12%, rgba(217, 185, 122, .55) 88%, transparent); }
@keyframes poolIn { from { opacity: 0; transform: translateY(.5rem); } }
@keyframes poolBump { 40% { transform: scale(1.35); } }
@media (max-aspect-ratio: 3/2) { .pool-chip span { display: none; } .pool-chip { padding: 0 .8rem 0 .7rem; } }
/* a quiet message low in the middle */
.pool-toast { position: fixed; left: 50%; bottom: calc(var(--bar-t) + var(--gut)); z-index: 75; transform: translate(-50%, .6rem); padding: .75rem 1.4rem; border-radius: 1.5rem;
  font-size: .58rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: #fff; white-space: nowrap; pointer-events: none;
  background: rgba(13, 12, 10, .72); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); box-shadow: inset 0 0 0 var(--hair) rgba(217, 185, 122, .55);
  opacity: 0; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.pool-toast.on { opacity: 1; transform: translate(-50%, 0); }
.btn.gold { color: #fff; background: var(--gold-d); box-shadow: 0 .15rem .5rem rgba(148, 111, 56, .35); }
.btn.gold svg { color: #fff; }
.btn.gold:active { background: var(--gold); }
.btn:disabled { opacity: .4; cursor: default; }

/* ---- the compare canvas: a sheet of paper with a faint gold dot grid; the cards on it, the title top left
   (passive), its tools bottom right (in reach: undo / redo, Reset layout, Clear all, Close). A card's chrome (name tab, X) keeps its size at any scale
   (--inv = 1 / the card's scale) and sits on the card's corners. */
#compare { position: fixed; inset: 0; z-index: 45; overflow: hidden; touch-action: none; background: var(--sheet);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
#compare.open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
#compare::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(148, 111, 56, .2) max(1px, .06rem), transparent calc(max(1px, .06rem) + .5px)); background-size: 2.2rem 2.2rem; }
/* the title is background chrome: the cards pass OVER it; the tools stay above the cards */
.cmp-stage { position: absolute; inset: 0; z-index: 1; }
.cmp-head { position: absolute; z-index: 0; left: calc(var(--gut) + var(--sal)); top: calc(var(--gut) * 1.2 + var(--sat)); pointer-events: none; }
.cmp-hint { margin-top: .7rem; font-size: .54rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cmp-tools { position: absolute; z-index: 2; bottom: calc(var(--gut) + var(--sab0)); right: calc(var(--gut) + var(--sar)); display: flex; align-items: center; gap: .5rem; }
.cmp-ur { width: var(--ctl-h); height: var(--ctl-h); border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--gold-d);
  background: rgba(252, 250, 244, .94); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .2rem .7rem rgba(28, 26, 23, .08); transition: opacity .3s var(--ease); }
.cmp-ur svg { width: 1.05rem; height: 1.05rem; }
.cmp-ur:active { background: #f1e7d3; }
.cmp-ur:disabled { opacity: .35; cursor: default; }
.cmp-ur + .btn { margin-left: .4rem; }
.cmp-tools .btn { padding: 0 1.15rem; background: rgba(252, 250, 244, .94); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .2rem .7rem rgba(28, 26, 23, .08); }
.cmp-close { height: var(--ctl-h); padding: 0 1.25rem 0 1rem; border-radius: calc(var(--ctl-h) / 2); display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-size: .56rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--gold-d); box-shadow: 0 .15rem .5rem rgba(148, 111, 56, .35); }
.cmp-close svg { width: 1rem; height: 1rem; }
.cmp-close:active { background: var(--gold); }
.cmp-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.cmp-empty .body { margin-top: .9rem; }
#compare.empty .cmp-empty { opacity: 1; }
#compare.empty .cmp-tools .btn { opacity: .35; pointer-events: none; }
.cc { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; touch-action: none; cursor: grab; opacity: 0; transition: opacity .5s var(--ease); }
.cc.in { opacity: 1; }
.cc.anim { transition: opacity .5s var(--ease), transform .7s var(--ease); }
.cc.live { will-change: transform; cursor: grabbing; }
.cc-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #fff;
  box-shadow: 0 0 0 calc(var(--hair) * var(--inv, 1)) rgba(28, 26, 23, .14), 0 1rem 2.6rem rgba(28, 26, 23, .13); transition: opacity .45s var(--ease), box-shadow .45s var(--ease); }
.cc-tiles { position: absolute; inset: 0; pointer-events: none; }
.cc-tile { position: absolute; display: block; opacity: 0; transition: opacity .35s linear; }
.cc-tile.in { opacity: 1; }
.cc.see .cc-tiles { opacity: .45; }
.cc.top .cc-img { box-shadow: 0 0 0 calc(max(2px, .09rem) * var(--inv, 1)) var(--gold), 0 1.2rem 3rem rgba(28, 26, 23, .18); }
/* see-through: 45 %, no drop shadow under it (it would muddy the sheet beneath); the tab shows the half disc */
.cc.see .cc-img { opacity: .45; box-shadow: 0 0 0 calc(max(2px, .09rem) * var(--inv, 1)) var(--gold-d); }
.cc-tab { position: absolute; left: 0; bottom: 100%; transform-origin: 0 100%; transform: scale(var(--inv, 1)) translateY(-.45rem);
  display: flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .5rem .9rem; border-radius: 1.1rem; color: var(--onyx);
  background: rgba(252, 250, 244, .95); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .2rem .6rem rgba(28, 26, 23, .08); }
.cc-tab i { font-style: normal; font-family: 'Cinzel', serif; font-size: .68rem; color: var(--gold-d); }
.cc-tab b { font-family: 'Cinzel', serif; font-weight: 400; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.cc-tab span { font-size: .5rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cc-see { display: none; color: var(--gold-d); }
.cc-see svg { width: .9rem; height: .9rem; display: block; }
.cc.see .cc-see { display: block; }
.cc-x { position: absolute; right: 0; width: var(--ib); height: var(--ib); border-radius: 50%; display: grid; place-items: center; color: var(--gold-d);
  background: rgba(252, 250, 244, .97); box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .2rem .6rem rgba(28, 26, 23, .14); touch-action: none; }
.cc-x { top: 0; transform-origin: 100% 0; transform: scale(var(--inv, 1)) translate(50%, -50%); }
.cc-x svg { width: 1rem; height: 1rem; }
.cc-x:active { background: #f1e7d3; }

/* ---- the share panel: on the right, pinned above the bar like the screen panel, over a soft scrim (above the
   compare canvas and the film player too: both open it with their own Share button) */
#share { position: fixed; inset: 0; z-index: 46; pointer-events: none; }
#share.open { pointer-events: auto; }
.shr-scrim { position: absolute; inset: 0; background: rgba(13, 12, 10, .35); opacity: 0; transition: opacity .5s var(--ease); }
#share.open .shr-scrim { opacity: 1; }
.shr-pn { position: absolute; right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + var(--gut) * .5); width: min(24rem, calc(100% - var(--gut) * 2)); max-height: calc(100% - var(--bar-t) - var(--gut) * 1.5);
  border-radius: var(--pn-r); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateX(calc(100% + 4rem)); transition: opacity .45s var(--ease), transform .6s var(--ease); }
#share.open .shr-pn { opacity: 1; transform: none; }
.shr-head { flex: none; display: flex; align-items: flex-start; gap: .5rem; padding: var(--pn-pad) .8rem 0 var(--pn-pad); }
.shr-ht { flex: 1; min-width: 0; }
.shr-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 1rem var(--pn-pad) .9rem; }
.shr-row { cursor: default; gap: .55rem; }
.shr-row .lead { width: 2rem; font-family: 'Cinzel', serif; font-size: .8rem; }
.shr-row .ibs { gap: .25rem; }
.shr-row .icon-btn { width: 2.3rem; height: 2.3rem; }
/* "Add current view": the button (and, when the screen has a drawing, "With drawing") above the list; a captured
   view's row carries its thumbnail; the panel steps aside while the capture is taken, then a soft flash */
.shr-addr { flex: none; display: flex; gap: .5rem; margin-bottom: .8rem; }
.shr-add { flex: 1; justify-content: center; }
.shr-add svg { color: var(--gold-d); }
.shr-ink { flex: none; width: auto; padding: 0 .9rem; gap: .45rem; }
.shr-ink[hidden] { display: none; }
.shr-ink svg { width: 1rem; height: 1rem; }
.shr-row .shr-th { width: 3.6rem; height: 2.3rem; margin-left: -.2rem; }
.shr-row .l { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#share.cap-hide, #share.cap-hide * { opacity: 0 !important; transition: none !important; }
.shr-flash { position: fixed; inset: 0; z-index: 74; pointer-events: none; background: #fff; opacity: 0; }
.shr-flash.on { animation: shrFlash .55s var(--ease); }
@keyframes shrFlash { 0% { opacity: .55; } 100% { opacity: 0; } }
.shr-none { display: none; }
#share.empty .shr-none { display: block; }
.shr-foot { flex: none; display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: 0 var(--pn-pad) var(--pn-pad); }
/* Shared links: a second tab of the panel (js/share.js) - the server's live links, each with a Show QR button */
.shr-tabs { margin: .9rem var(--pn-pad) 0; }
#share .shr-lks, #share.links .shr-sel { display: none; }
#share.links .shr-body.shr-lks { display: flex; }
#share.links .shr-foot.shr-lks { display: grid; grid-template-columns: 1fr; }
.shr-lk { padding-left: .2rem; }
.shr-lk .s { white-space: normal; line-height: 1.5; }
.shr-lk-st[hidden] { display: none; }
.shr-why { display: block; margin-top: .5rem; font-size: .56rem; letter-spacing: .04em; line-height: 1.5; color: var(--muted); word-break: break-word; }
.shr-qrb { flex: none; height: 2.3rem; padding: 0 .95rem 0 .8rem; gap: .45rem; }
.shr-qrb svg { width: 1rem; height: 1rem; color: var(--gold-d); }
/* the build stamp (build_local.py), small and quiet at the panel's foot */
/* the brand QR (js/share.js qrSvg): ONE rounded ivory shape - the frame's background IS the code's background
   (the 4-module quiet zone is inside the SVG), a gold hairline + a soft lift around it; never a link as text */
.qr-frame { aspect-ratio: 1; border-radius: 1rem; background: var(--ivory); overflow: hidden;
  box-shadow: inset 0 0 0 var(--hair) var(--pn-line), 0 .5rem 1.6rem rgba(28, 26, 23, .1); }
.qr-frame .qr { width: 100%; height: 100%; display: block; }
.qr-cap { font-family: 'Cinzel', serif; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
/* a link's QR, big, over everything (the customer scans it) */
#sharelinkqr { position: fixed; inset: 0; z-index: 48; display: grid; place-items: center; padding: var(--gut); background: rgba(13, 12, 10, .5);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
#sharelinkqr.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.slq-scrim { position: absolute; inset: 0; }
.slq-card { position: relative; width: min(100%, 30rem); max-height: 100%; overflow-y: auto; border-radius: var(--pn-r); padding: 1.8rem var(--pn-pad) var(--pn-pad);
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; transform: translateY(1rem); transition: transform .6s var(--ease); }
#sharelinkqr.open .slq-card { transform: none; }
.slq-card .title { font-size: 1.3rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slq-code .qr-frame { width: min(26rem, 58vh, calc(100vw - 6rem)); }
.slq-card .btn { align-self: stretch; }
/* ---- the exported PDF: its pages on the left, the phone link (a big QR, scannable from a step back) on the right */
#sharepv { position: fixed; inset: 0; z-index: 47; display: grid; place-items: center; padding: var(--gut); background: rgba(13, 12, 10, .45);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
#sharepv.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.spv-card { width: min(100%, 80rem); height: min(100%, 46rem); border-radius: var(--pn-r); display: grid; grid-template-columns: minmax(0, 1fr) 27rem; overflow: hidden;
  transform: translateY(1rem); transition: transform .6s var(--ease); }
#sharepv.open .spv-card { transform: none; }
.spv-pages { overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.9rem 1.2rem;
  align-content: start; padding: 1.6rem 1.6rem 2.4rem; background: rgba(28, 26, 23, .05); }
.spv-page { position: relative; background: #fff; box-shadow: 0 0 0 var(--hair) rgba(28, 26, 23, .1), 0 .4rem 1.2rem rgba(28, 26, 23, .1); }
.spv-page img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.spv-page figcaption { position: absolute; left: 0; right: 0; top: 100%; margin-top: .4rem; text-align: center; font-size: .56rem; color: var(--muted); }
.spv-side { min-height: 0; display: flex; flex-direction: column; gap: .8rem; padding: 1.8rem var(--pn-pad) var(--pn-pad); }
.spv-side .title { font-size: 1.3rem; margin-top: .3rem; }
.spv-meta { font-size: .58rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.spv-qr { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; text-align: center; }
.spv-qr .qr-frame { width: 100%; max-width: min(23rem, 52vh); }
.spv-note { font-size: .8rem; line-height: 1.5; color: var(--muted); }
.spv-err { color: var(--onyx); }
.spv-why { font-size: .58rem; letter-spacing: .04em; line-height: 1.5; color: var(--muted); word-break: break-word; }
.spv-qr .btn { margin-top: .4rem; }
.spv-acts { flex: none; display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
@media (max-aspect-ratio: 1/1) {
  .spv-card { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .spv-qr .qr-frame { max-width: 16rem; }
}
/* ================= end plan pools ================= */

/* ---------------- the installed app (js/pwa.js): the Offline control, its sheet, the update chip ---------------- */
.tray { position: absolute; right: calc(var(--gut) + var(--sar)); top: 0; height: var(--bar-h); display: flex; align-items: center; gap: .3rem; }
.off-btn { position: relative; width: var(--ib); height: var(--ib); border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft); flex: none; transition: color .7s var(--ease); }
.off-btn svg { width: 1.25rem; height: 1.25rem; }
.off-btn:active { background: rgba(201, 165, 103, .18); }
.off-btn i { position: absolute; top: .55rem; right: .55rem; width: .5rem; height: .5rem; border-radius: 50%; background: transparent; transition: background-color .4s; }
.off-btn[data-state="done"] { color: var(--gold-l); }
body.light .off-btn[data-state="done"] { color: var(--gold-d); }
.off-btn[data-state="done"] i { background: var(--gold); }
.off-btn[data-state="downloading"] i, .off-btn[data-state="partial"] i, .off-btn[data-state="stopped"] i { background: var(--ink-soft); }
#sheet { position: fixed; z-index: 95; max-width: calc(100vw - var(--gut) * 2); right: calc(var(--gut) + var(--sar)); bottom: calc(var(--bar-t) + var(--gut) * .5); width: 22rem; border-radius: var(--pn-r); padding: 1.2rem;
  color: var(--onyx); opacity: 0; transform: translateY(.6rem); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); display: flex; flex-direction: column; gap: .8rem; }
#sheet.open { opacity: 1; transform: none; pointer-events: auto; }
#sheet .sh-head { display: flex; align-items: center; justify-content: space-between; }
#sheet h3 { font-family: 'Cinzel', serif; font-weight: 400; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
#sheet .sh-state { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
#sheet .sh-state svg { width: 1.1rem; height: 1.1rem; color: var(--gold-d); stroke-width: 1.8; }
#sheet .sh-build { font-size: .66rem; opacity: .7; }
#sheet .note { color: var(--muted); }
#sheet .ctx-row .btn { flex: 1; }
#sheet .meter { height: 3px; border-radius: 2px; background: rgba(148, 111, 56, .18); overflow: hidden; }
#sheet .meter i { display: block; height: 100%; width: 0; background: var(--gold-d); transition: width .3s; }
#update { position: fixed; z-index: 96; left: 50%; top: calc(var(--gut) + var(--sat)); transform: translate(-50%, -1rem); display: flex; align-items: center; gap: 1rem;
  padding: .5rem .5rem .5rem 1.3rem; border-radius: 1.6rem; color: #fff; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
#update.open { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#update.glass { background: rgba(20, 18, 15, .9); box-shadow: inset 0 0 0 var(--hair) rgba(255, 255, 255, .14), 0 .8rem 2.4rem rgba(0, 0, 0, .45); }
#update span { font-size: .72rem; letter-spacing: .08em; color: rgba(255, 255, 255, .88); }
#update .btn { height: var(--ctl-h); }
.pool-tray .off-btn { pointer-events: auto; }
