/* ─── Whavester landing: the stage, its copy layers, the chapter player
   and the scene grammar the fallback renderers draw with ──────────────
   Server-side the story section is a one-viewport hero (poster + the
   scene 01 copy). With the films, chapters.js adds .whv-story--chapters
   (below): the section becomes a snapping scroll container. Without
   them, story.js adds .is-pinned: the section grows to
   (travel + 1) viewports (--whv-travel comes from the pacing table) and
   the stage sticks to the top while the renderer plays. Under
   prefers-reduced-motion, without scripting, or when a renderer fails
   (.whv-story--flow) the poster and all three copy blocks sit in normal
   flow. Inactive copy layers are visibility:hidden from the first paint
   so no hidden link is in the tab order.                               */

.whv-story { position: relative; --whv-travel: 6.4; }
.whv-stage {
  position: relative; height: 100vh; height: 100svh;
  overflow: clip; isolation: isolate; background: var(--whv-ink-0);
}
.whv-story.is-pinned { height: calc((var(--whv-travel) + 1) * 100vh); }
@supports (height: 100svh) {
  .whv-story.is-pinned { height: calc((var(--whv-travel) + 1) * 100svh); }
}
.whv-story.is-pinned .whv-stage { position: sticky; top: 0; }

/* Atmosphere: soft cyan behind the subject, a breath of wheat low left. */
.whv-stage-glow {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 68% 52%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(26% 34% at 22% 84%, rgba(240, 199, 94, 0.07), transparent 70%);
}
.whv-stage-art { position: absolute; inset: 0; z-index: 1; }
.whv-stage-art .whv-poster { position: absolute; inset: 0; }
.whv-stage-art .whv-poster img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
}
.whv-story.whv-renderer-mounted .whv-poster { opacity: 0; transition: opacity var(--whv-dur-slow) var(--whv-ease-out); }
/* A scrim keeps the copy legible over the art: left on wide screens,
   top on phones. */
.whv-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  transition: opacity var(--whv-dur-slow) var(--whv-ease-out);
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.92) 0%, rgba(4, 7, 15, 0.72) 34%, rgba(4, 7, 15, 0) 56%);
}

/* ─── Copy layers ───────────────────────────────────────────────────── */
.whv-copy-layers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.whv-copy {
  position: absolute; pointer-events: auto;
  left: max(1.25rem, calc((100% - var(--whv-content-max)) / 2 + 2.5rem));
  top: 50%; width: min(36rem, 44%);
  transform: translateY(calc(-50% + 1.25rem));
  opacity: 0; visibility: hidden;
  transition: opacity var(--whv-dur) var(--whv-ease-out),
              transform var(--whv-dur) var(--whv-ease-out),
              visibility 0s linear var(--whv-dur);
}
.whv-copy.is-active {
  opacity: 1; visibility: visible; transform: translateY(-50%);
  transition-delay: 0s, 0s, 0s;
}
.whv-copy-title { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem); margin: 0.6rem 0 1rem; }
.whv-copy-line { margin-bottom: 1.5rem; }
.whv-copy-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (max-width: 767px) {
  .whv-stage::after {
    background: linear-gradient(180deg, rgba(4, 7, 15, 0.94) 0%, rgba(4, 7, 15, 0.86) 36%, rgba(4, 7, 15, 0) 52%);
  }
  .whv-stage-art .whv-poster img { object-position: 50% 72%; }
  .whv-copy {
    left: 1.25rem; right: 1.25rem; width: auto;
    top: calc(var(--whv-nav-h) + var(--whv-safe-top) + 1.25rem);
    transform: translateY(0.75rem);
  }
  .whv-copy.is-active { transform: none; }
  .whv-copy-title { font-size: clamp(2rem, 1.2rem + 5.2vw, 2.75rem); margin: 0.5rem 0 0.75rem; }
  .whv-copy-line { font-size: 1rem; margin-bottom: 1rem; }
  .whv-stage-glow {
    background:
      radial-gradient(60% 34% at 50% 70%, rgba(34, 211, 238, 0.16), transparent 70%),
      radial-gradient(40% 26% at 20% 96%, rgba(240, 199, 94, 0.07), transparent 70%);
  }
}

/* ─── Stills in flow: reduced motion, no scripting, renderer failure ── */
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .whv-story { height: auto !important; }
  /* overflow: clip, not visible: the glow layer reaches 20% past the stage
     and would widen a phone's layout viewport (the page zoomed out). */
  .whv-stage { position: relative !important; height: auto; overflow: clip; }
  .whv-stage::after { display: none; }
  .whv-stage-art { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .whv-story.whv-renderer-mounted .whv-poster { opacity: 1; }
  .whv-copy-layers {
    position: relative; inset: auto; display: grid; gap: 3rem;
    max-width: var(--whv-content-max); margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 2.5rem);
  }
  .whv-copy {
    position: relative; left: auto; right: auto; top: auto; width: auto; max-width: 40rem;
    opacity: 1 !important; visibility: visible !important; transform: none !important; transition: none;
  }
  .whv-copy-layers .whv-copy:first-child { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px), (scripting: none) and (max-width: 767px) {
  .whv-stage-art { aspect-ratio: 1 / 2; max-height: 70vh; }
}
.whv-story--flow { height: auto !important; }
.whv-story--flow .whv-stage { position: relative !important; height: auto; overflow: clip; }
.whv-story--flow .whv-stage::after { display: none; }
.whv-story--flow .whv-stage-art { position: relative; inset: auto; aspect-ratio: 16 / 9; }
.whv-story--flow .whv-poster { opacity: 1 !important; }
.whv-story--flow .whv-copy-layers {
  position: relative; inset: auto; display: grid; gap: 3rem;
  max-width: var(--whv-content-max); margin: 0 auto; padding: 3rem clamp(1.25rem, 4vw, 2.5rem);
}
.whv-story--flow .whv-copy {
  position: relative; left: auto; right: auto; top: auto; width: auto; max-width: 40rem;
  opacity: 1 !important; visibility: visible !important; transform: none !important; transition: none;
}
@media (max-width: 767px) { .whv-story--flow .whv-stage-art { aspect-ratio: 1 / 2; max-height: 70vh; } }

/* ─── The chapter player (chapters.js, film-gate.js, film-loops.js) ──
   One viewport tall, its own scroll container: one snap stop per
   chapter (.whv-snap, mandatory, never skipped), the stage sticky inside
   it. Past the last chapter the scroll chains on to the page. The
   film-only parts are hidden until the player mounts (and so under
   reduced motion, without scripting, and in the pinned fallback). */
.whv-film, .whv-film-overlay, .whv-film-loop, .whv-rail, .whv-film-progress { display: none; }
.whv-snaps[hidden], .whv-film-still[hidden], .whv-film-wait[hidden], .whv-gate[hidden],
.whv-gate-skip[hidden] { display: none; }
.whv-story--chapters {
  height: 100vh; height: 100svh;
  overflow-x: hidden; overflow-y: auto;
  scroll-snap-type: y mandatory; overscroll-behavior-y: auto;
  scrollbar-width: none;
}
.whv-story--chapters::-webkit-scrollbar { display: none; }
.whv-story--chapters .whv-stage { position: sticky; top: 0; height: 100%; }
.whv-snaps {
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
  height: calc(var(--whv-chapters, 3) * 100%);
}
.whv-snap { height: calc(100% / var(--whv-chapters, 3)); scroll-snap-align: start; scroll-snap-stop: always; }
.whv-film, .whv-film-overlay, .whv-film-loop, .whv-film-still { position: absolute; inset: 0; width: 100%; height: 100%; }
.whv-story--chapters .whv-film { display: block; object-fit: cover; opacity: 0; background: var(--whv-ink-0); }
.whv-story--chapters .whv-film.is-active { opacity: 1; }
.whv-story--chapters .whv-film-overlay { display: block; opacity: 0; pointer-events: none; transition: opacity 0.3s linear; }
.whv-film-overlay.is-snapshot { transition: none; }
/* A stop's idle loop sits over the paused film and its dissolve; it fades
   in on the stop's rest frame (its own first frame) and out over the film
   as a gesture leaves (film-loops.js FADE_MS). The layer fades as a whole:
   its two videos take turns in front (.is-front), the other waiting behind
   on frame 0 for the repeat; isolation keeps their order inside the layer,
   under the grain. */
.whv-story--chapters .whv-film-loop {
  display: block; opacity: 0; pointer-events: none; transition: opacity 0.25s linear; isolation: isolate;
}
.whv-story--chapters .whv-film-loop.is-looping { opacity: 1; }
.whv-film-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.whv-film-loop video.is-front { z-index: 1; }
.whv-film-still { object-fit: cover; }
.whv-story--stills .whv-film, .whv-story--stills .whv-film-overlay, .whv-story--stills .whv-film-loop { display: none; }
/* While a transition plays between two stops there is no copy: the scrim
   lifts and the motion leads. */
.whv-stage.is-bare::after { opacity: 0; }

/* The rail: one dot per chapter, the current one named; the current dot
   replays its chapter. 44 px targets at every width. */
.whv-story--chapters .whv-rail {
  display: grid; position: absolute; z-index: 4;
  right: calc(0.5rem + var(--whv-safe-right)); top: 50%; transform: translateY(-50%);
}
.whv-rail button {
  display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem;
  min-height: var(--whv-tap); min-width: var(--whv-tap); padding: 0 0.875rem; cursor: pointer;
  font-family: var(--whv-font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--whv-paper-2); -webkit-tap-highlight-color: transparent;
}
.whv-rail button span { opacity: 0; transition: opacity var(--whv-dur-fast) var(--whv-ease-out); white-space: nowrap; }
.whv-rail button i {
  flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(226, 232, 240, 0.45);
  transition: transform var(--whv-dur) var(--whv-ease-out), background-color var(--whv-dur) var(--whv-ease-out);
}
.whv-rail button[aria-current="step"] { color: var(--whv-cyan); }
.whv-rail button[aria-current="step"] span { opacity: 1; }
.whv-rail button[aria-current="step"] i { background: var(--whv-cyan); transform: scale(1.5); }
.whv-rail button:active i { transform: scale(1.2); }
@media (hover: hover) and (pointer: fine) {
  .whv-rail:hover button span { opacity: 1; }
  .whv-rail button:hover i { background: var(--whv-paper); }
}
.whv-story--chapters .whv-film-progress {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 2px;
  background: rgba(226, 232, 240, 0.08);
}
.whv-film-progress i {
  display: block; height: 100%; background: var(--whv-cyan);
  transform: scaleX(0); transform-origin: 0 50%;
}
.whv-rail, .whv-film-progress, .whv-copy-layers { transition: opacity var(--whv-dur) var(--whv-ease-out); }
.whv-film-wait {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center;
  pointer-events: none; color: var(--whv-cyan);
}

/* The gate: the films download in full before the page can be used. The
   Ripe logo builds with the download (whv_logo.js); only the poster and
   the gate show, the page under it is inert and does not scroll. */
.whv-gate {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  padding: 1.5rem; text-align: center;
  background: rgba(4, 7, 15, 0.62);
  transition: opacity 300ms var(--whv-ease-out);
}
.whv-gate.is-done { opacity: 0; pointer-events: none; }
.whv-gate .whv-gate-ear { color: var(--whv-cyan); }
.whv-gate-text { color: var(--whv-paper-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.whv-story.is-loading { overflow: hidden; }
.whv-story.is-loading .whv-copy-layers, .whv-story.is-loading .whv-rail,
.whv-story.is-loading .whv-film-progress { opacity: 0; pointer-events: none; }
html.whv-story-loading, html.whv-story-loading body { overflow: hidden; }
.whv-film-debug {
  position: fixed; left: 8px; bottom: 8px; z-index: 300; margin: 0; padding: 8px 10px;
  max-width: calc(100% - 16px); overflow: hidden; pointer-events: none; white-space: pre-wrap;
  font: 11px/1.4 var(--whv-font-mono); color: var(--whv-cyan); background: rgba(0, 0, 0, 0.78); border-radius: 6px;
}

@media (max-width: 767px) {
  /* Bottom right on a phone, clear of the copy at the top; dots only. */
  .whv-story--chapters .whv-rail {
    top: auto; transform: none; bottom: calc(1rem + var(--whv-safe-bottom));
    right: calc(0.25rem + var(--whv-safe-right));
  }
  .whv-rail button span { display: none; }
}

/* ─── Scene grammar (drawn by scene-landscape.js / scene-portrait.js) ──
   Everything inside .whv-scene is positioned in a virtual canvas that
   the renderer scales to cover the stage; the background is oversized
   so a tilt never exposes a corner. The stage art is aria-hidden.      */
.whv-scene { position: absolute; inset: 0; overflow: clip; }
.whv-scene-canvas {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  will-change: transform; contain: layout style;
}
.whv-scene-bg {
  position: absolute; inset: -40%;
  background: radial-gradient(50% 50% at 50% 50%, var(--whv-ink-1), var(--whv-ink-0) 70%);
}
.whv-scene-rules {
  position: absolute; inset: 0; opacity: 0;
  background-image: linear-gradient(to bottom, rgba(226, 232, 240, 0.08) 1px, transparent 1px);
  background-size: 100% 60px;
}
.whv-scene-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 50%; }
.whv-scene-svg { position: absolute; left: 0; top: 0; overflow: visible; }

.whv-bub {
  position: absolute; left: 0; top: 0; width: var(--w, 260px);
  padding: 0.55rem 0.85rem; border-radius: 16px 16px 16px 4px;
  background: var(--whv-ink-2); border: 1px solid var(--whv-line-strong);
  color: var(--whv-paper); font-size: 15px; line-height: 1.35;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, var(--glow, 0)),
              0 0 28px rgba(34, 211, 238, calc(var(--glow, 0) * 0.55)),
              0 12px 30px -16px rgba(0, 0, 0, 0.9);
  transform-origin: 50% 50%; will-change: transform, opacity; text-wrap: pretty;
}
/* The glow stays a box-shadow on the bubble itself (a small repaint of its
   own layer while it changes): a glow pseudo-element on every bubble
   measured dearer, doubling the style-recalc work of each frame. */
.whv-bub[dir="rtl"] { border-radius: 16px 16px 4px 16px; text-align: right; }
.whv-bub-meta { display: block; margin-top: 0.3rem; font-family: var(--whv-font-mono); font-size: 10px; color: var(--whv-paper-3); }
.whv-bub-voice { display: flex; align-items: center; gap: 0.6rem; width: var(--w, 220px); }
.whv-bub-play {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(34, 211, 238, 0.14); color: var(--whv-cyan);
  display: inline-flex; align-items: center; justify-content: center;
}
.whv-bub-wave {
  flex: 1; height: 18px;
  background: repeating-linear-gradient(90deg, var(--whv-paper-3) 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(90deg, #000 0 30%, rgba(0,0,0,.5) 30% 60%, #000 60%);
  mask: linear-gradient(90deg, #000 0 30%, rgba(0,0,0,.5) 30% 60%, #000 60%);
  clip-path: polygon(0 40%, 15% 10%, 30% 60%, 45% 0, 60% 70%, 75% 20%, 90% 55%, 100% 35%, 100% 65%, 90% 85%, 75% 60%, 60% 100%, 45% 40%, 30% 95%, 15% 70%, 0 60%);
}
.whv-bub-dur { font-family: var(--whv-font-mono); font-size: 12px; color: var(--whv-paper-2); }
.whv-bub-link { padding: 0; overflow: clip; }
.whv-bub-link .whv-bub-band { height: 54px; background: linear-gradient(135deg, var(--whv-cyan-ink), var(--whv-ink-3)); }
.whv-bub-link .whv-bub-body { padding: 0.5rem 0.85rem 0.6rem; }
.whv-bub-link .whv-bub-domain { display: block; font-family: var(--whv-font-mono); font-size: 10px; color: var(--whv-cyan); margin-top: 0.2rem; }

.whv-row {
  position: absolute; left: 0; top: 0; width: var(--w, 620px); height: 56px;
  display: flex; align-items: center; gap: 0.75rem; padding: 0 0.5rem;
  border-bottom: 1px solid var(--whv-line-strong); color: var(--whv-paper);
  font-size: 14px; white-space: nowrap; will-change: transform, opacity;
}
.whv-row-time { flex: none; font-family: var(--whv-font-mono); font-size: 11px; color: var(--whv-paper-3); }
.whv-row-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.whv-row-text[dir="rtl"] { text-align: right; }
.whv-row-stamps { flex: none; display: flex; align-items: center; gap: 0.4rem; }
.whv-stamp { transform-origin: 50% 50%; will-change: transform, opacity; opacity: 0; }
.whv-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.whv-dot-neg { background: var(--whv-rose); box-shadow: 0 0 10px rgba(251, 113, 133, 0.6); }
.whv-dot-pos { background: var(--whv-emerald); box-shadow: 0 0 10px rgba(52, 211, 153, 0.6); }
.whv-dot-neu { background: var(--whv-paper-3); }
.whv-unfurl {
  position: absolute; left: 0; top: 0; width: var(--w, 620px); height: var(--h, 92px); overflow: clip;
  clip-path: inset(0 0 100% 0 round var(--whv-radius-m));
  border: 1px solid rgba(34, 211, 238, 0.35); border-radius: var(--whv-radius-m);
  background: var(--whv-ink-2); display: grid; grid-template-columns: 96px 1fr; opacity: 0;
}
.whv-unfurl-img { background: linear-gradient(135deg, var(--whv-cyan-ink), var(--whv-ink-3)); }
.whv-unfurl-body { padding: 0.6rem 0.85rem; font-size: 13px; line-height: 1.35; color: var(--whv-paper); }
.whv-unfurl-domain { display: block; font-family: var(--whv-font-mono); font-size: 10px; color: var(--whv-cyan); margin-top: 0.25rem; }
.whv-transcript { font-family: var(--whv-font-mono); font-size: 12px; color: var(--whv-paper-2); }
.whv-transcript::after { content: '▍'; color: var(--whv-cyan); opacity: var(--caret, 0); }

.whv-node { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.whv-graph circle { fill: var(--whv-ink-0); stroke: var(--whv-cyan); stroke-width: 1.5; }
.whv-graph line { stroke: rgba(34, 211, 238, 0.55); stroke-width: 1; }

.whv-search {
  position: absolute; left: 0; top: 0; width: var(--w, 632px); height: 44px;
  display: flex; align-items: center; gap: 0.6rem; padding: 0 0.85rem;
  background: var(--whv-ink-1); border: 1px solid var(--whv-line-strong); border-radius: var(--whv-radius-m);
  font-family: var(--whv-font-mono); font-size: 13px; color: var(--whv-paper); opacity: 0;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, var(--glow, 0)), 0 0 24px rgba(34, 211, 238, calc(var(--glow, 0) * 0.5));
  will-change: transform, opacity;
}
.whv-search-icon { color: var(--whv-paper-3); flex: none; }
.whv-search-q::after { content: '▍'; color: var(--whv-cyan); opacity: var(--caret, 0); }
.whv-search-label { margin-left: auto; font-family: var(--whv-font-body); font-size: 12px; font-weight: 600; color: var(--whv-ink-0); background: var(--whv-cyan); padding: 0.25rem 0.6rem; border-radius: var(--whv-radius-pill); }

.whv-dash {
  position: absolute; left: 0; top: 0; width: var(--w, 680px); height: var(--h, 640px);
  background: linear-gradient(180deg, var(--whv-ink-2), var(--whv-ink-1));
  border: 1px solid var(--whv-line-strong); border-radius: var(--whv-radius-l);
  box-shadow: var(--whv-shadow-card); opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity;
  padding: 24px; display: grid; grid-template-rows: 44px auto 1fr auto; gap: 20px;
}
.whv-dash-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.whv-dash-tile {
  padding: 10px 12px; border-radius: var(--whv-radius-m); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--whv-line); display: grid; gap: 8px; opacity: 0; transform-origin: 50% 50%;
}
.whv-dash-tile-label { font-family: var(--whv-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--whv-paper-3); }
.whv-dash-bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.whv-dash-bars span { flex: 1; background: rgba(34, 211, 238, 0.45); border-radius: 2px 2px 0 0; }
.whv-dash-bars span:last-child { background: var(--whv-cyan); }
.whv-dash-tl { display: grid; align-content: start; gap: 6px; min-height: 0; }
.whv-dash-tl-title { font-family: var(--whv-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--whv-paper-3); margin-bottom: 4px; }
.whv-dash-tl-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--whv-radius-s);
  border-left: 2px solid transparent; font-size: 13px; color: var(--whv-paper-2); white-space: nowrap; overflow: hidden;
  opacity: 0; will-change: transform, opacity;
}
.whv-dash-tl-row .whv-row-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.whv-dash-tl-row.is-hit { border-left-color: var(--whv-cyan); background: rgba(34, 211, 238, 0.07); color: var(--whv-paper); }
.whv-dash-alert {
  position: relative; padding: 12px 14px; border-radius: var(--whv-radius-m);
  border: 1px solid rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.08);
  display: grid; gap: 2px; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity;
}
/* The alert pulses once on arrival: a time-based one-shot (the scene adds
   .is-live when the results land), so a scrub never leaves it half-swollen.
   Transform on the card, opacity on the glow pseudo-element: composite only. */
.whv-dash-alert::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  opacity: 0; box-shadow: 0 0 36px rgba(251, 113, 133, 0.55);
}
.whv-dash-alert.is-live { animation: whv-alert-pulse 720ms var(--whv-ease-in-out) 1; }
.whv-dash-alert.is-live::after { animation: whv-alert-glow 720ms var(--whv-ease-in-out) 1; }
@keyframes whv-alert-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes whv-alert-glow { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.whv-dash-alert-label { font-family: var(--whv-font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--whv-rose); }
.whv-dash-alert-text { font-size: 13px; color: var(--whv-paper); }

.whv-dash-slot { min-height: 0; }

/* The portrait composition draws the same grammar a size smaller. */
.whv-scene--portrait .whv-bub { font-size: 14px; padding: 0.5rem 0.75rem; }
.whv-scene--portrait .whv-row { font-size: 13px; gap: 0.5rem; height: 52px; padding: 0 0.25rem; }
.whv-scene--portrait .whv-row-stamps { gap: 0.3rem; }
.whv-scene--portrait .whv-chip { font-size: 10px; padding: 0.1rem 0.45rem; }
.whv-scene--portrait .whv-unfurl { grid-template-columns: 72px 1fr; }
.whv-scene--portrait .whv-unfurl-body { font-size: 12px; padding: 0.5rem 0.65rem; }
.whv-scene--portrait .whv-search { height: 40px; font-size: 12px; padding: 0 0.65rem; }
.whv-scene--portrait .whv-search-label { font-size: 11px; padding: 0.2rem 0.5rem; }
.whv-scene--portrait .whv-dash { padding: 16px; gap: 14px; grid-template-rows: 40px auto 1fr auto; }
.whv-scene--portrait .whv-dash-tiles { gap: 8px; }
.whv-scene--portrait .whv-dash-tile { padding: 8px; gap: 6px; }
.whv-scene--portrait .whv-dash-tile-label { font-size: 9px; letter-spacing: 0.06em; }
.whv-scene--portrait .whv-dash-bars { height: 26px; }
.whv-scene--portrait .whv-dash-tl-row { font-size: 12px; padding: 6px 8px; }
.whv-scene--portrait .whv-dash-alert { padding: 10px 12px; }
.whv-scene--portrait .whv-dash-alert-text { font-size: 12px; }

