/* final QA pass a: design-system consistency, hierarchy, clutter (loaded last) */

/* ---------- 1. site tower tags: dim availability text on dark glass was ~2:1; use white ---------- */
.tchip:not(.muted) { background: rgba(18, 15, 22, .84); }
.tchip:not(.muted) small { color: var(--rd-gold-on-dark, #ffffff); font-size: max(.74rem, 12px); letter-spacing: .1em; }
.tchip:not(.muted) .prog-s { color: rgba(255, 255, 255, .85); }

/* ---------- 2. title block over bright sky (site / tower photos): stronger local scrim so the eyebrow + title read ---------- */
body:is([data-level=site], [data-level=tower]) #ui::before { background: radial-gradient(ellipse at 0 0, rgba(8, 8, 12, .78), rgba(8, 8, 12, .35) 45%, transparent 70%); }
body:is([data-level=site], [data-level=tower]) #place .pl-k { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 1px 8px rgba(0, 0, 0, .6); }   /* no wide glow: css/audit-readability.css #place */

/* tower floor ladder: numerals sit straight on sky/trees */
.lift-scale button { text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 10px rgba(0, 0, 0, .55); }
.lift-scale button.on { text-shadow: none; }

/* ---------- 4. presenter drawer: the sticky CTA must cover what scrolls under it ---------- */
.dr-panel .dr-go { background: linear-gradient(180deg, rgba(250, 250, 252, 0), var(--card) 40%); padding-top: 2.2rem; margin-top: 0; }

/* ---------- final sign-off ---------- */

/* button hierarchy on the map-level chapter card: Present = the only black primary; the active row is a light tint; "go deeper" is white */
#chap ol button.on { background: rgba(98, 98, 108, .2); color: var(--ink); box-shadow: inset 3px 0 0 var(--bronze); }
#chap ol button.on b { color: var(--bronze); }
#chap .chap-play { background: var(--ink); color: var(--paper); }

/* home plan: the Plan | Sunlight | Rooms toggle sits in its own strip above the drawing instead of over its corner */
.u-z img { top: 4.6rem; height: calc(100% - 5.8rem); }
/* sunlight bar must not sit on the drawing either: let the image stop above it in sun mode */
.u-plan[data-pm="sun"] .u-z img { height: calc(100% - 10.4rem); }

/* choose: sold homes also lose colour (opacity is already set in plus-close.css); they sit last (js/plus/close.js) */
.hc.cl-sold { filter: saturate(.35); }

/* site master plan, zone open: the zone image fills the screen, so numbered markers ran under the title and its subtitle. Give the title block a soft dark plate. */
body[data-level=site]:has(> #world > #lv-site.zone-open) #place { padding: .7rem 1.1rem .8rem; margin: -.7rem 0 0 -1.1rem; border-radius: 1.2rem; background: rgba(18, 15, 22, .66); }
