/* (FINAL-FIX2 perf) 6 selector lists in this file whose last compound was a bare :is(...) are written out one selector per alternative, so Blink buckets each by its own class / id / tag instead of testing every element on every style recalc. Each alternative is padded with :not(#zz-) / :not(.zz-) / :not(zz-) so its specificity is what the :is() gave (the most specific alternative); one that cannot be padded down is a class / type more specific only where no rule anywhere could tell the difference (checked against every stylesheet and the DOM), otherwise it stays in a :is() with a never-matching alternative of the full specificity. Same elements, same cascade. */
/* The motion pass, October 2026 (home levels). Loaded after css/ux/motion.css.
   Tower, View, Floor and Home (js/ux/tower-home.js, js/plus/home.js). Same rules as css/ux/motion.css: transform and opacity, one owner per property,
   and every move has a reduced-motion answer at the end of this file. */

/* ---------- H01 · View from here: while the building fades (.vw-out), the view under it already takes the drag ---------- */
body #lv-tower.viewing.vw-out .tw-stage { pointer-events: none; }

/* ---------- H02 · Floor → Home: the home you open flies into the plan's box (js/ux/tower-home.js flyUnit). Its outline keeps a fixed screen width ---------- */
.fp-unit-fly { position: fixed; z-index: 25; pointer-events: none; overflow: visible; will-change: transform, opacity; }
.fp-unit-fly polygon { fill: color-mix(in srgb, var(--uc) 58%, #fff); stroke: var(--uc); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ---------- H03 · Floor change: the leaving plan (a copy of the old drawing) sits over the new one and slides away; the floor numeral rolls inside its pill ---------- */
#lv-home .fp .fp-ghost { position: absolute; inset: 0; pointer-events: none; transform-origin: 0 0; }
#lv-home .fp .fp-ghost > svg { display: block; }
:root body #lv-home .fl-step .fs-cur { overflow: hidden; }
:root body #lv-home .fl-step .fs-cur > b { display: block; font: inherit; }
/* the "No." and status words pop from their own centre (the group keeps its translate attribute; only the words scale) */
:root body #lv-home .fp .u-tag text { transform-box: fill-box; transform-origin: 50% 50%; }

/* ---------- H04 · Request hold: the ring turns green by transition (WAAPI owns its dash), a tick takes the star's place, one ripple ---------- */
:root body #lv-home .hh-ring .r1 { transition: stroke var(--dur-base) var(--ease-out); }
:root body #lv-home .hh-ring > .hh-tick {
  position: absolute; inset: 0; margin: auto; width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--done); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; opacity: 0; transition: opacity var(--dur-quick) var(--ease-out);
}
:root body #lv-home .hh-ring > svg:last-child { transition: opacity var(--dur-quick) var(--ease-out); }
:root body #lv-home .hm-hold-btn.on .hh-tick { opacity: 1; }
:root body #lv-home .hm-hold-btn.on .hh-ring > svg:last-child { opacity: 0; }
:root body #lv-home .hh-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--done); opacity: 0; pointer-events: none; }
:root body #lv-home .hm-hold-btn.hh-pop .hh-ring::after { animation: hh-ripple .56s var(--ease-out); }
@keyframes hh-ripple { from { opacity: .6; scale: 1; } to { opacity: 0; scale: 1.9; } }

/* ---------- H05 · Rooms: a row answers the press (scale is its own property: nothing else moves these rows) ---------- */
:root body #lv-home .hm-pane .rooms li { transition: background-color var(--dur-quick) var(--ease-out), scale var(--dur-press) var(--ease-out); }
:root body #lv-home .hm-pane .rooms li:active { scale: .985; }

/* ---------- H06 · the isometric floor turns (round 3, js/ux/tower-home.js): while a finger or the settle drives --iso-z, the drawing's 0.9s transform
   transition (css/ux/pages.css) steps aside; at rest the top slice's labels turn back to read as before, and the shadow turns with them (one transition each) ---------- */
#lv-home .fp.iso .fp-z > svg:not(.iso-lay) { transition: transform .72s cubic-bezier(.22, 1, .36, 1), filter var(--dur-slow) var(--ease-out); }
#lv-home .fp.iso.iso-turn .fp-z > svg:not(.iso-lay) { transition: none; will-change: transform; }
#lv-home .fp.iso .iso-lay .iso-up { rotate: var(--iso-up, 0deg); transition: rotate var(--dur-base) var(--ease-out); }
#lv-home .fp.iso { cursor: grab; }
#lv-home .fp.iso.iso-turn { cursor: grabbing; }

/* ---------- reduced motion: the states still change, nothing travels, rolls or ripples ---------- */
@media (prefers-reduced-motion: reduce) {
  :root body #lv-home .hh-ring .r1, :root body #lv-home .hh-ring > svg, :root body #lv-home .hm-pane .rooms li { transition: none; }
  :root body #lv-home .hm-hold-btn.hh-pop .hh-ring::after { animation: none; }
  :root body #lv-home .hm-pane .rooms li:active { scale: none; }
  /* round 3: the key's press, the dimming, the labels' turn back */
  #lv-home .fp.iso .fp-z > svg:not(.iso-lay), #lv-home .fp.iso .iso-lay .iso-up, :root body #lv-home .fp .u-tag, :root body #lv-home .fp-key button { transition: none; }
  body #lv-tower .lift-dial.ride { transition: none; }
}

/* ---------- the walk from the front door (js/plus/home.js walkPlan): the door swings open at the real entrance, a dotted path runs room to room ---------- */
.rm-walk { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; margin: .2rem 0 .5rem; padding: 0 1rem 0 .8rem; border: 0; border-radius: var(--r-pill); cursor: pointer;
  background: #1c1c22; color: #fff; font: 600 max(12px, .88rem)/1 var(--sans); transition: scale var(--dur-press) var(--ease-out); }
.rm-walk:active { scale: .97; }
.rm-walk svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-walk { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hm-walk svg { position: absolute; left: 0; top: 0; overflow: visible; }
.hm-walk .hw-dot { fill: #3c6fb8; stroke: #ffffff; stroke-width: 2.5; }
.hm-walk .hw-leaf { stroke: #1c1c22; stroke-width: 3; stroke-linecap: round; }
.hm-walk .hw-arc { fill: none; stroke: #3c6fb8; stroke-width: 1.5; stroke-dasharray: 3 3; }
.rm-chip.walked { background: rgba(60, 111, 184, .16); color: #1f3f6e; box-shadow: inset 0 0 0 1.5px rgba(60, 111, 184, .55); }
@media (prefers-reduced-motion: reduce) { .rm-walk { transition: none; } }
.rm-walk2 { margin: .1rem 0 .7rem; }
.hm-walk .hw-hop { fill: none; stroke: #3c6fb8; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.hm-walk .hw-n { position: absolute; width: 22px; height: 22px; margin: -34px 0 0 -11px; border-radius: 50%; display: grid; place-items: center; background: #3c6fb8; color: #fff;
  font: 600 12px/1 var(--sans); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2.5px #fff, 0 4px 10px -3px rgba(20, 30, 60, .5); }
#lv-home [data-rrow].walked { box-shadow: inset 3px 0 0 #3c6fb8; }

/* ---------- round 4 · 03 · the plan glides to the room you pick (js/plus/home.js frameRoom, util.js makeZoom focus) ----------
   The room markers keep their size while the plan zooms: they scale by the inverse of the zoom, and follow it on the same in-out during a glide. */
#lv-home .u-plan .hm, #lv-home .u-plan .hm-d { scale: calc(1 / var(--zs, 1)); }
#lv-home .u-plan.z-glide .hm, #lv-home .u-plan.z-glide .hm-d { transition: scale .576s cubic-bezier(.65, 0, .35, 1); }
@media (prefers-reduced-motion: reduce) { #lv-home .u-plan.z-glide .hm, #lv-home .u-plan.z-glide .hm-d { transition: none; } }

/* ---------- round 5 · 13 · carpet and saleable, one inside the other (js/plus/home.js areaTile, areaIn): the home's outline at carpet size inside its saleable outline ---------- */
.hf .hf-g { grid-auto-flow: row dense; }
.hf .hf-area { grid-column: 2 / span 2; grid-row: span 2; }
.hfa { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 1.1rem; margin-top: .45rem; }
.hfa svg { display: block; width: 100%; height: auto; max-height: 9.5rem; overflow: visible; }
.hfa .sb { fill: rgba(60, 111, 184, .14); transform-box: fill-box; transform-origin: center; }
.hfa .se { fill: none; stroke: #3c6fb8; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.hfa .cf { fill: #fff; }
.hfa .ce { fill: none; stroke: #16161b; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hfa-f { display: grid; gap: .6rem; font: 500 max(12px, .8rem)/1.2 var(--sans); color: var(--lg-fg2); }
.hf-t .hfa-f small { display: block; margin-bottom: .2rem; font: 600 max(12px, .66rem)/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--lg-fg3); }
.hf-t .hfa-f b { font: 300 clamp(1.3rem, 2vw, 1.75rem)/1.1 var(--num); font-variant-numeric: tabular-nums; color: var(--lg-fg); }
.hf-t .hfa-f .s b { color: #3c6fb8; }
.hfa-f p { margin: 0; padding-left: .55rem; font: 500 max(12px, .74rem)/1.35 var(--sans); color: #3c6fb8; box-shadow: inset 2px 0 0 rgba(60, 111, 184, .5); }
@media (max-width: 1100px) { .hf .hf-area { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- round 6 · 06 · from the balcony to the view (js/plus/home.js viewChip): the button on the plan once a balcony is picked ---------- */
#lv-home .u-plan .hm-view { position: absolute; left: 50%; bottom: 1rem; z-index: 6; display: inline-flex; align-items: center; gap: .45rem; height: 2.6rem; padding: 0 1.1rem 0 .9rem; translate: -50% 0; border: 0; border-radius: 999px;
  font: 600 max(.86rem, 13px)/1 var(--sans); color: #fff; background: #16161b; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
#lv-home .u-plan .hm-view.on { opacity: 1; pointer-events: auto; }
#lv-home .u-plan .hm-view svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; }

/* =====================================================================
   Home, compact (17 October, Phase 3): the details are one card in the right column (about a third of the width); its header holds still and the tab
   content scrolls inside it with a soft foot (js/ux/tower-home.js markPanes sets .more-b). Every figure, tab and action stays; only sizes change. Nothing under 11px.
   The font shorthands below would reset the figures' tabular numerals, so each one says them again.
   ===================================================================== */
@media (orientation: landscape) {   /* portrait keeps showroom.css's plan on top (42dvh) and the card below */
  :root body #lv-home .unit-v { grid-template-columns: minmax(0, 1fr) clamp(320px, 34vw, 31rem); }
}
:root body #lv-home .u-spec.hm2 { margin: calc(var(--pad) + var(--safe-t) + 5.2rem) calc(var(--pad) + var(--safe-r)) calc(var(--pad) + var(--safe-b) + 7.6rem) 16px; padding: 20px 18px 0;
  display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; border-radius: var(--card-r); background: #fff; box-shadow: inset 0 0 0 1px rgba(22, 22, 27, .1), 0 1px 2px rgba(40, 32, 24, .05); }
:root body #lv-home .hm2 .hm-head { gap: 4px; }
:root body #lv-home .hm2 .hm-head .k { font: var(--t-kicker); letter-spacing: .08em; text-transform: uppercase; color: var(--lg-fg3); }
:root body #lv-home .hm2 h2 { font: 300 clamp(20px, 1.55rem, 26px)/1.15 var(--sans); letter-spacing: -.02em; text-shadow: none; }
:root body #lv-home .hm2 .hm-tr { gap: 4px 10px; }
:root body #lv-home .cl-ustatus .cl-tag.big { font: 600 12px/1.3 var(--sans); padding: 3px 9px; margin: 0; }
:root body #lv-home .hm2 .kv { gap: 2px 18px; }
:root body #lv-home .hm2 .kv b { font: 300 clamp(18px, 1.4rem, 23px)/1.15 var(--num); font-variant-numeric: tabular-nums lining-nums; }
:root body #lv-home .hm2 .kv > div > span { font: 600 12px/1.2 var(--sans); letter-spacing: .06em; }
:root body #lv-home .u-spec.hm-compact .kv { max-height: none; opacity: 1; }   /* the figures always show */
/* actions: 40px round toggles (44px targets: tower-home.css ::after -4px), as tall as the 40px primary beside them (23 October: they were 36), the hold button on its own line */
:root body #lv-home .hm2 .hm-act { gap: 8px; row-gap: 8px; margin-top: 2px; }
:root body #lv-home .ico-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
:root body #lv-home .ico-btn svg { width: 17px; height: 17px; }
:root body #lv-home .hm-primary { min-height: var(--ctl-h-lg); padding: 0 16px; gap: 6px; font: 600 var(--t-label-fs)/1 var(--sans); }
:root body #lv-home .hm-primary svg { width: 15px; height: 15px; }
:root body #lv-home .hm-act > .hm-hold { flex: 1 1 100%; margin-top: 0; }
:root body #lv-home .hm-hold-btn { width: 100%; min-height: 44px; padding: 4px 14px 4px 6px; gap: 10px; }
:root body #lv-home .hh-ring { width: 28px; height: 28px; }
:root body #lv-home .hh-t b { font: 600 13px/1.15 var(--sans); }   /* the title reads above its subtitle (it was 11.2px under a 12.5px line) */
:root body #lv-home .hh-t small { font: 500 12px/1.25 var(--sans); white-space: normal; }
/* the duplex level switch and the tabs: 36px segmented controls with 44px targets */
:root body #lv-home .hm2 > .seg:not(.hm-tabs) { height: 36px; padding: 2px; }
:root body #lv-home .hm2 > .seg:not(.hm-tabs) button, :root body #lv-home .hm-tabs button { position: relative; min-height: 32px; height: 32px; padding: 0 10px; font: 600 var(--t-label-fs)/1 var(--sans); }
:root body #lv-home .hm2 > .seg:not(.hm-tabs) button::after, :root body #lv-home .hm-tabs button::after { content: ""; position: absolute; inset: -6px 0; }
:root body #lv-home .hm2 .hm-tabs { height: 36px; padding: 2px; margin: 2px 0 0; }
:root body #lv-home .hm-tabs button { padding: 0 6px; }
/* the tab content scrolls inside the card, bleeding to its edges */
:root body #lv-home .hm-panes, :root body #lv-home .hm-panes.more-b { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0 -18px; padding: 10px 18px 18px; -webkit-mask-image: none; mask-image: none; }
:root body #lv-home .hm-panes.more-b { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); }
/* Overview */
:root body #lv-home .hm-intro { gap: 2px; margin: 0 0 10px; }
:root body #lv-home .hm-name { font: 500 15px/1.2 var(--sans); }
:root body #lv-home .hm-sub { font: 500 12.5px/1.35 var(--sans); }
:root body #lv-home .hm-tiles { gap: 8px; }
:root body #lv-home .hm-tile { border-radius: var(--card-tile-r); }
:root body #lv-home .hm-tile .ht-t { left: 10px; right: 10px; bottom: 8px; }
:root body #lv-home .hm-tile .ht-t small { font: 500 12px/1.25 var(--sans); }
:root body #lv-home .hm-tile .ht-t b { font: 600 13px/1.15 var(--sans); }
:root body #lv-home .hm-tile .ht-go { width: 28px; height: 28px; right: 8px; top: 8px; }
:root body #lv-home .vz-ov { margin-top: 10px; gap: 8px; }
:root body #lv-home .vz-area { padding: 10px 12px; gap: 12px; border-radius: var(--card-tile-r); }
:root body #lv-home .vz-area .vz-ring { width: 64px; height: 64px; }
:root body #lv-home .vz-area .vz-ring b { font: 500 15px/1 var(--num); font-variant-numeric: tabular-nums; margin-top: -.75rem; }
:root body #lv-home .vz-ring small { font: 600 12px/1 var(--sans); letter-spacing: 0; }
:root body #lv-home .vz-area .vz-ring small { bottom: 1.35rem; }
:root body #lv-home .vz-bars p { font: 600 12px/1 var(--sans); }
:root body #lv-home .vz-bars b { font: 500 13px/1 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .vz-sts { gap: 6px; }
:root body #lv-home .vz-st { padding: 8px 4px 7px; border-radius: var(--card-tile-r); }
:root body #lv-home .vz-st b { font: 300 18px/1 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .vz-st span { font: 600 12px/1.15 var(--sans); }
/* Rooms */
:root body #lv-home .hm-hint { font: 500 12px/1.35 var(--sans); }
body #lv-home .u-spec.hm2 ul.rooms li.vz-rm { grid-template-columns: 30px minmax(5rem, 7.5rem) 1fr auto; gap: 8px; min-height: 44px; padding: 4px 10px 4px 4px; }
body #lv-home .u-spec.hm2 ul.rooms li.vz-rm > span { font: 500 13px/1.15 var(--sans); white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }   /* (18 October, F7) the name wraps in its 98px column (it ended in "…": "Balcony…" twice, "Master Bedroom" cut) */
body #lv-home .u-spec.hm2 ul.rooms li.vz-rm > span > .vz-lv { display: block; width: fit-content; margin: 3px 0 0; }   /* and a duplex's level, which never showed, sits under it */
body #lv-home .u-spec.hm2 ul.rooms li.vz-rm > b { font: 500 12px/1 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .vz-ri { width: 28px; height: 28px; }
:root body #lv-home .vz-tot { padding: 8px 12px; border-radius: var(--card-tile-r); font: 600 12px/1 var(--sans); }
:root body #lv-home .vz-tot b { font: 500 15px/1 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .rm-walk2 { position: relative; min-height: 36px; font: 600 12.5px/1 var(--sans); }
:root body #lv-home .rm-walk2::after { content: ""; position: absolute; inset: -4px 0; }   /* a 44px target (it was 40px) */
/* Finishes */
:root body #lv-home .vz-fin { gap: 12px; }
:root body #lv-home .vz-fg h4 { font: 600 12px/1.2 var(--sans); letter-spacing: .08em; margin-bottom: 6px; }   /* was 9.4px */
:root body #lv-home .vz-ft { gap: 6px; }
:root body #lv-home .vz-f { min-height: 72px; padding: 8px 4px 7px; gap: 6px; border-radius: var(--card-tile-r); }
:root body #lv-home .vz-f b { font: 600 12px/1.15 var(--sans); }   /* was 10.1px */
:root body #lv-home .vz-fi { width: 32px; height: 32px; }
:root body #lv-home .vz-fnote { font: 500 12px/1.4 var(--sans); }
/* Facts */
:root body #lv-home .vz-facts { gap: 6px; }
:root body #lv-home .vz-fc { grid-template-columns: 2.6rem 1fr; column-gap: 8px; padding: 8px 10px 8px 8px; border-radius: var(--card-tile-r); }
:root body #lv-home .vz-fc b { font: 500 14px/1.15 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .vz-fc b { white-space: normal; overflow: visible; text-overflow: clip; text-wrap: balance; }   /* (B7) a long fact wraps ("1,132 / 1,665", "2 shared walls" ended in an ellipsis on a Pad Go) */
:root body #lv-home .vz-fc span:not([class]), :root body #lv-home .vz-fc > span:last-child { font: 600 12px/1.2 var(--sans); }   /* was 9.1px */
:root body #lv-home .vz-cost { margin-top: 8px; padding: 10px 12px; gap: 10px; border-radius: var(--card-tile-r); }
:root body #lv-home .vz-cost b { font: 300 24px/1 var(--num); font-variant-numeric: tabular-nums; }
:root body #lv-home .vz-cost span { font: 600 12px/1.1 var(--sans); }   /* was 8.8px */
:root body #lv-home .vz-cost small { font: 500 12px/1.2 var(--sans); }   /* was 10.1px */
:root body #lv-home .hm-link { font: 600 12.5px/1 var(--sans); }
:root body #lv-home .hm2 .sample { font-size: 12px; }
/* the floor plan's stepper: the slider's language (a lens on the current floor, the neighbours quiet) */
:root body #lv-home .fl-step { height: var(--ctl-h-lg); padding: 0 2px; gap: 0; }
:root body #lv-home .fl-step button { position: relative; min-width: 44px; height: var(--ctl-h-lg); padding: 0 8px; gap: 2px; font: 500 var(--t-label-fs)/1 var(--sans); font-variant-numeric: tabular-nums; color: rgba(22, 22, 27, .55); }
:root body #lv-home .fl-step button::after { content: ""; position: absolute; inset: var(--ctl-hit-y-lg) 0; }
:root body #lv-home .fl-step button b { font-weight: 500; color: inherit; }
:root body #lv-home .fl-step button svg { width: 14px; height: 14px; }
:root body #lv-home .fl-step .fs-cur { min-width: 40px; height: 32px; padding: 0 10px; border-radius: 10px; background: var(--act-bg-day); box-shadow: var(--act-line-day); color: #16161b; font: 600 15px/1 var(--sans); font-variant-numeric: lining-nums; }
/* the floor's chips (home types) and the status key: 32px. The type chips are the legend's own buttons; the key's keep their flat look (css/ux/tower-home.css) */
:root body #lv-home .fp-legend { gap: 6px; row-gap: 6px; }
:root body #lv-home .fp-legend > button { min-height: var(--ctl-h); height: var(--ctl-h); padding: 0 var(--chip-px); gap: 6px; border: 0; font: 600 var(--t-label-fs)/1 var(--sans); }   /* border: 0 ends the double edge (showroom.css:301 under the inset ring) */
:root body #lv-home .fp-legend small, :root body #lv-home .fp-legend .lg-st { font: 500 12px/1 var(--sans); font-variant-numeric: tabular-nums; }
:root body #lv-home .fp-key button { min-height: var(--ctl-h); }
:root body #lv-home .fp-key button::after { inset: var(--ctl-hit-y) 0; }   /* still a 44px target at 32px */
/* portrait and narrow: the plan on top, the card below (the slider's room kept on its left); phones: the slider is hidden, so the card starts at the edge */
@media (orientation: portrait), (max-width: 800px) {
  :root body #lv-home .u-spec.hm2 { margin: 12px calc(var(--pad) + var(--safe-r)) calc(var(--pad) + var(--safe-b) + 7.6rem) calc(var(--pad) + var(--safe-l) + var(--tap) * .95 + 6.6rem); padding: 18px 16px 0; }
  :root body #lv-home .hm-panes, :root body #lv-home .hm-panes.more-b { margin: 0 -16px; padding: 10px 16px 16px; }
}
@media (orientation: portrait) and (max-width: 600px) {
  :root body #lv-home .u-spec.hm2 { margin-left: calc(var(--pad) + var(--safe-l)); margin-right: calc(var(--pad) + var(--safe-r)); padding: 16px 14px 0; }
  :root body #lv-home .hm-panes, :root body #lv-home .hm-panes.more-b { margin: 0 -14px; padding: 10px 14px 16px; }
}
/* a short screen: the whole card scrolls rather than squeezing the tab content */
@media (max-height: 620px) {
  :root body #lv-home .u-spec.hm2 { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  :root body #lv-home .hm-panes, :root body #lv-home .hm-panes.more-b { flex: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}
/* ---------- (18 October) the TV (html.tv): the Home card reads from the sofa ----------
   The px type above takes the TV scale of the compact tokens (css/tokens.css :root.tv): 11px reads as --t-meta-fs, 12.5px as --t-label-fs, 13px as --t-body-fs,
   and the sizes between and above them in proportion (about 1.35 to 1.45 times, as the tokens grow). Font sizes only, so the shorthands' numerals stay; the card's
   column, its controls and the rem-based grids already grow with the TV root. The area ring is a fixed 64px picture: it grows with its two lines of type */
html.tv body #lv-home .hm2 h2 { font-size: calc(var(--t-card-title-fs) * 1.15); }
html.tv body #lv-home .hm2 .kv b { font-size: calc(var(--t-card-title-fs) * 1.04); }
html.tv body #lv-home :is(.cl-ustatus .cl-tag.big, .hm2 .kv > div > span, .hm-tile .ht-t small, .vz-st span, .vz-fg h4, .vz-fc span:not([class]), .vz-fc > span:last-child, .vz-cost span, .vz-cost small, .hm2 .sample, .fp-legend small, .fp-legend .lg-st) { font-size: var(--t-meta-fs); }
html.tv body #lv-home :is(.hh-t small, .vz-bars p, .vz-f b) { font-size: calc(var(--t-meta-fs) * 1.045); }
html.tv body #lv-home .hm-hint:not(.zz-):not(.zz-):not(.zz-):not(zz-):not(zz-):not(zz-), html.tv body #lv-home .vz-tot:not(.zz-):not(.zz-):not(.zz-):not(zz-):not(zz-):not(zz-), html.tv body #lv-home .vz-fnote:not(.zz-):not(.zz-):not(.zz-):not(zz-):not(zz-):not(zz-), html.tv body #lv-home :is(.u-spec.hm2 ul.rooms li.vz-rm > b) { font-size: calc(var(--t-label-fs) * .96); }
html.tv body #lv-home .hm-sub, html.tv body #lv-home .rm-walk2, html.tv body #lv-home .hm-link { font-size: var(--t-label-fs); }
html.tv body #lv-home :is(.hh-t b, .hm-tile .ht-t b, .vz-bars b, .u-spec.hm2 ul.rooms li.vz-rm > span) { font-size: var(--t-body-fs); }
html.tv body #lv-home .vz-fc b { font-size: calc(var(--t-body-fs) * 1.08); }
html.tv body #lv-home .hm-name:not(.zz-), html.tv body #lv-home :is(.vz-tot b, .fl-step .fs-cur) { font-size: calc(var(--t-body-fs) * 1.15); }
html.tv body #lv-home .vz-st b { font-size: calc(var(--t-card-title-fs) * 1.03); }
html.tv body #lv-home .vz-cost b { font-size: calc(var(--t-card-fig-fs) * .88); }
html.tv body #lv-home .vz-area .vz-ring { width: 88px; height: 88px; }
html.tv body #lv-home .vz-area .vz-ring b { font-size: calc(var(--t-body-fs) * 1.15); margin-top: -13px; }
html.tv body #lv-home .vz-area .vz-ring small { font-size: var(--t-meta-fs); bottom: 24px; }

/* ---------- H07 · Tower → Home hand-over (FINAL-FIX1 F4, S-030; js/app.js swap, the "late" branch): body.swap-late is on for the 650 ms after the cream page has fully faded in.
   The paper rise (css/r13/paper.css §6, r13-paper) would fade the finished page out and in again over the ground: off here. The chrome returns on the calm 440 ms, in Home's tone ---------- */
html.r13 body.swap-in.swap-late:not(.z-) .lvl.on { animation: none; }
body.swap-in.swap-late #ui > :where([id]):not(#mbar), body.swap-in.swap-late .gm-flt { animation-duration: var(--d-sheet, 440ms); animation-timing-function: var(--mc-ease-fade, cubic-bezier(.4, 0, .6, 1)); }
