/* --------------------------------------------------------------- el móvil
   Lenguaje: configuración inicial de iPhone. Blanco, centrado, filete de 1px,
   texto pequeño y preciso, un único botón abajo y la transición entre pantallas
   formando parte de la experiencia.

   Todo el layout es grid/flex. En v1 cada pantalla se colocaba en absoluto con
   offsets mágicos (top:122px, top:352px) y se rompía fuera del móvil en el que
   se diseñó; aquí nada depende de la altura del dispositivo.
--------------------------------------------------------------------------- */

body.play {
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  /* --fast NO se toca: gobierna la respuesta al dedo (pulsar una opción, mover
     un tirador) y eso tiene que seguir siendo instantáneo. Lo que se alarga es
     lo narrativo: cambios de pantalla y revelado de resultados. */
  --base: 400ms;
  --slow: 680ms;
}

.app {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  max-width: 540px;
  margin-inline: auto;
}
.app[hidden] { display: none; }

/* ---------------------------------------------------------------- cabecera */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 10px;
}
.top-brand { --brand-size: 20px; }

.top-right { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
/* Escucha en curso: visible sin estorbar, y es el botón para cortarla. */
.mic-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.mic-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.top-you {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 55%;
  font-size: 11.5px;
  color: var(--ink-2);
}
.top-you b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Raíl de progreso: un segmento por paso, con hueco en el cambio de capítulo. */
.rail { display: flex; gap: 3px; padding: 2px 22px 0; }
.rail i {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background var(--slow) var(--ease);
}
.rail i.done { background: var(--line-strong); }
.rail i.now { background: var(--accent); }

/* ------------------------------------------------------------------ hoja */

.sheet {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 0 22px 20px;
}

/* margin auto vertical: centrado cuando cabe, scroll natural cuando no. */
.screen {
  margin: auto 0;
  width: 100%;
  display: grid;
  gap: 26px;
  padding: 26px 0;
  animation: screenInX var(--slow) var(--ease) both;
}

.ask { display: grid; gap: 9px; justify-items: center; text-align: center; }
.ask-title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(25px, 6.8vw, 30px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
  text-wrap: balance;
}
.ask-prompt {
  margin: 0;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: balance;
}

.control { display: grid; gap: 16px; }
.control.is-locked { opacity: .42; pointer-events: none; }
.control.is-locked, .control { transition: opacity var(--base); }

/* ------------------------------------------------------------------ dock */

.dock {
  display: grid;
  gap: 10px;
  padding: 8px 22px calc(16px + env(safe-area-inset-bottom));
  background: var(--paper);
}
.dock-status {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  min-height: 16px;
}
.dock-status b { color: var(--ink); font-weight: 600; }
.dock .btn { width: 100%; }

/* --------------------------------------------------------------- opciones */

.options { margin: 0; padding: 0; list-style: none; }

.opt {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px 14px 18px;
  text-align: left;
  background: var(--surface);
  transition: background var(--fast);
}
.opt:active { background: var(--surface-2); }

.opt-text { display: grid; gap: 2px; min-width: 0; }
.opt-label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.011em;
  line-height: 1.25;
  transition: font-weight var(--fast);
}
.opt[aria-pressed="true"] .opt-label { font-weight: 600; }
.opt-note { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }

/* Cuánta gente más lo ha elegido. Se insinúa, no compite. */
.opt-echo {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-3);
  opacity: 0;
  transition: opacity var(--base);
}
.opt-echo.on { opacity: 1; }

.opt-mark {
  display: grid;
  place-items: center;
  width: 23px; height: 23px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  color: transparent;
  transition: background var(--fast), box-shadow var(--fast), color var(--fast), transform var(--base) var(--ease);
}
.opt[aria-pressed="true"] .opt-mark {
  background: var(--accent);
  box-shadow: none;
  color: var(--accent-ink);
  transform: scale(1.04);
}

.empty {
  padding: 34px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* ----------------------------------------------------------- ruleta (dial) */

.dial { position: relative; touch-action: none; user-select: none; }
.dial-window {
  height: 290px;
  overflow: hidden;
  /* Se desvanece por arriba y por abajo en vez de cortarse: la rueda parece
     seguir girando fuera de la ventana. */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.dial-list { padding: 116px 0; will-change: transform; }
.dial-item {
  height: 58px;
  display: grid;
  align-content: center;
  gap: 1px;
  text-align: center;
  transform-origin: center;
}
.dial-item b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.dial-item span { font-size: 12px; color: var(--ink-2); }
.dial-item.on b { font-weight: 600; }
/* La línea de selección: dos filetes, sin caja. */
.dial-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 58px;
  transform: translateY(-50%);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  pointer-events: none;
}

/* -------------------------------------------------------- carrusel (reel) */

.reel { overflow: hidden; touch-action: pan-y; user-select: none; }
.reel-track { display: flex; will-change: transform; }
.reel-card {
  flex: 0 0 100%;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 230px;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity var(--base), transform var(--base) var(--ease);
  opacity: .4;
  transform: scale(.96);
}
.reel-card.on { opacity: 1; transform: none; }
.reel-card em {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .16em;
  color: var(--ink-3);
}
.reel-card b { font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.reel-card span { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.reel-dots { display: flex; gap: 6px; justify-content: center; }
.reel-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background var(--base), transform var(--base) var(--ease);
}
.reel-dots i.on { background: var(--accent); transform: scale(1.4); }
.reel-pick { width: 100%; }

/* -------------------------------------------------------- reparto (split) */

.split { display: grid; gap: 16px; }
.split-heads { display: flex; justify-content: space-between; align-items: flex-end; }
.split-side { display: grid; gap: 2px; }
.split-side.right { text-align: right; }
.split-side b {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  transition: color var(--base), font-weight var(--base);
}
.split-side.lead b { color: var(--ink); font-weight: 500; }
.split-side span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.split-bar {
  position: relative;
  height: 74px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  overflow: hidden;
  touch-action: none;
}
.split-fill {
  position: absolute;
  inset: 0 var(--q, 50%) 0 0;
  background: var(--accent-soft);
  transition: right var(--fast) linear;
}
.split-bar { --q: calc(100% - var(--p, 50%)); }
.split-grip {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(100% - var(--q, 50%));
  width: 3px;
  margin-left: -1.5px;
  background: var(--accent);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  transition: left var(--fast) linear, width var(--base) var(--ease);
}
.split-grip i { width: 9px; height: 1px; background: var(--accent); border-radius: 1px; }
.split-bar.dragging .split-grip { width: 5px; }

/* ------------------------------------------------------ moodboard (react) */

.ref-stack { perspective: 900px; }
.ref-card {
  position: relative;
  display: grid;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  background: var(--surface);
  touch-action: pan-y;
  user-select: none;
  transition: transform 320ms var(--ease), box-shadow var(--base);
}
.ref-shot {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center top;
  background-color: var(--surface-2);
}
.ref-shot.empty { display: grid; place-items: center; padding: 20px; text-align: center; }
.ref-shot.empty b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.ref-meta { display: grid; gap: 2px; padding: 14px 16px; }
.ref-meta b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.ref-meta span { font-size: 12.5px; color: var(--ink-2); }
.ref-mine {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* El borde se tiñe según hacia dónde va el dedo, antes de soltar. */
.ref-card.to-yes { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-2); }
.ref-card.to-no { box-shadow: inset 0 0 0 2px var(--ink-3), var(--shadow-2); }

.ref-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ref-btn {
  min-height: 58px;
  border-radius: var(--r-md);
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform var(--fast) var(--ease), background var(--fast);
}
.ref-btn:active { transform: scale(.97); }
.ref-btn.yes { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.ref-btn.no { color: var(--ink-2); }

.ref-done { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 40px 0; }
.ref-done h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; font-weight: 600; }
.ref-done p { margin: 0; font-size: 14px; color: var(--ink-2); max-width: 26ch; }

/* ---------------------------------------------------------------- escala */

.scale { display: grid; gap: 14px; justify-items: center; }
.scale-read {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.scale-track {
  position: relative;
  width: 100%;
  height: 60px;
  touch-action: none;
}
/* El carril es un filete; la zona táctil es toda la caja. */
.scale-line {
  position: absolute;
  left: 16px; right: 16px; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.scale-line::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 50%);
  background: var(--accent);
  transition: width var(--fast) linear;
}
.scale-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px; height: 30px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
  transition: left var(--fast) linear, transform var(--base) var(--ease);
}
.scale-track.dragging .scale-thumb { transform: translate(-50%, -50%) scale(1.14); }

.scale-poles {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.scale-nudge { display: flex; align-items: center; gap: 22px; }
.scale-nudge button {
  width: 40px; height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 17px;
  line-height: 1;
  color: var(--ink-2);
}

/* Previsualización de densidad: se ve lo que se está decidiendo. */
.density {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap, 14px);
  width: 100%;
  height: 74px;
  transition: gap var(--fast) linear;
}
.density i { background: var(--surface-2); border-radius: 4px; }

/* ------------------------------------------------------------------ plano */

.field-wrap { display: grid; gap: 9px; justify-items: center; width: 100%; }
.field-axis {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field-axis.center { justify-content: center; }
.field {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: 44vh;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  touch-action: none;
  overflow: hidden;
}
.field .cross { position: absolute; background: var(--line); }
.field .cross.x { left: 0; right: 0; top: 50%; height: 1px; }
.field .cross.y { top: 0; bottom: 0; left: 50%; width: 1px; }
.field .puck {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 12%, transparent);
  transition: transform var(--base) var(--ease), box-shadow var(--base);
}
.field.dragging .puck {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 10%, transparent);
}
.field-read { font-size: 13.5px; color: var(--ink-2); }
.field-read b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ presupuesto */

.pool { display: grid; justify-items: center; gap: 2px; }
.pool b {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  transition: color var(--base);
}
.pool span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pool.spent b { color: var(--accent); }

.bud {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px 10px 18px;
  background: var(--surface);
  overflow: hidden;
}
/* El relleno es un tinte muy leve: informa sin convertirse en gráfico. */
.bud::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: var(--accent-soft);
  transition: width var(--base) var(--ease);
}
.bud-label { position: relative; font-size: 15.5px; letter-spacing: -.011em; }
.bud-ctrl { position: relative; display: flex; align-items: center; gap: 2px; }
.bud-ctrl button {
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  transition: opacity var(--fast);
}
.bud-ctrl button[disabled] { opacity: .22; }
.bud-ctrl b {
  min-width: 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- momentos */

.moment { display: grid; justify-items: center; gap: 16px; text-align: center; }
.moment canvas { width: 132px; height: 132px; }
.moment h2 { margin: 0; font-size: 27px; letter-spacing: -.03em; font-weight: 600; max-width: 15ch; }
.moment p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); max-width: 28ch; }

.recap { width: 100%; text-align: left; }
.recap-row { display: grid; gap: 3px; padding: 14px 18px; }
.recap-row small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.recap-row b { font-size: 15px; font-weight: 500; letter-spacing: -.014em; line-height: 1.3; }

/* ------------------------------------------------------------------ gate */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
  max-width: 540px;
  margin-inline: auto;
  background: var(--paper);
}
.gate[hidden] { display: none; }
.gate-body {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: center;
  text-align: center;
  animation: screenIn var(--slow) var(--ease) both;
}
.gate canvas { width: 116px; height: 116px; margin-bottom: 6px; }
.gate-title {
  margin: 0;
  font-size: clamp(30px, 8.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 600;
}
.gate .lede { max-width: 28ch; }
.gate-form { display: grid; gap: 8px; width: 100%; }
.gate-form input {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: center;
  outline: none;
  transition: box-shadow var(--fast);
}
.gate-form input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.gate-note { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* --------------------------------------------------------- bienvenida */

.gate-intro { display: grid; gap: 10px; justify-items: center; transition: opacity var(--base) var(--ease); }

/* Al saludar se retiran el formulario y la cabecera: sólo quedan la marca y el
   saludo. Dos titulares a la vez no son un momento, son ruido. */
.gate.greeting .gate-intro { opacity: 0; display: none; }
.gate.greeting .gate-form { display: none; }

.welcome { display: grid; gap: 10px; justify-items: center; text-align: center; }
.welcome-line {
  margin: 0;
  font-size: clamp(27px, 7.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 600;
}
.welcome-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
/* Cada línea entra por su cuenta: se leen una detrás de otra, no de golpe. */
.fade-line { animation: fadeLine 980ms var(--ease) both; }
.fade-line-out { animation: fadeLine 460ms var(--ease) reverse both; }
@keyframes fadeLine {
  from { opacity: 0; transform: translateY(7px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------- interludio */

.interlude { animation: veilIn 520ms var(--ease) both; }
@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }
.interlude {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  background: var(--paper);
}
.interlude-who {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  min-height: 13px;
}
.interlude-said {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(25px, 7vw, 31px);
  line-height: 1.12;
  letter-spacing: -.032em;
  font-weight: 600;
  text-wrap: balance;
}
.interlude-cue {
  margin: 0;
  max-width: 24ch;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
/* Barra de avance: dice "esto dura un momento" sin ser un spinner. */
.interlude-bar {
  margin-top: 14px;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.interlude-bar::after {
  content: '';
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--accent);
  animation: interludeBar var(--dur, 1900ms) linear both;
}
@keyframes interludeBar { to { right: 0; } }

/* ------------------------------------------------------------------ velos */

.veil {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(24px);
  animation: screenIn var(--base) var(--ease) both;
}
.veil[hidden] { display: none; }
.veil.probe { background: color-mix(in srgb, var(--paper) 80%, transparent); backdrop-filter: blur(26px) saturate(1.1); }
.aura { width: 100%; height: 88px; display: block; }
.veil.probe .options { width: 100%; text-align: left; }
.veil-body { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 32ch; }
.veil canvas { width: 128px; height: 128px; }
.veil-title { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.veil-actions { display: grid; gap: 8px; width: 100%; margin-top: 10px; }
.veil-actions .btn { width: 100%; }
.listening { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }
.listening[hidden] { display: none; }
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.3s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }
.topics { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.topics span {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Keep choices within reach while the reference scrolls. */
.reaction-actions{position:fixed;bottom:0;left:0;right:0;z-index:25;padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:var(--paper,#f8f9f7);box-shadow:0 -10px 28px #00000009;display:flex;gap:12px}.reaction-actions button{flex:1;min-height:52px}.reaction-actions[hidden]{display:none}.phone-reference~.vote-receipt{margin-bottom:100px}
.field-wrap{position:relative;padding:0 46px 130px}.field-wrap .field-axis.horizontal{position:absolute;left:0;right:0;top:calc((100% - 160px)/2);pointer-events:none}.field-axis.horizontal span{max-width:65px;font-size:9px;letter-spacing:0}.field-axis.horizontal span:first-child{transform:translateX(-8px)}.field-axis.horizontal span:last-child{transform:translateX(8px);text-align:right}

.field-wrap{padding:0 0 28px;gap:12px}.phone-field-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;width:100%;gap:8px}.field-side{font:9px var(--mono);color:var(--ink-2);text-align:center;overflow-wrap:anywhere}.phone-field-row .field{max-height:none}.field-wrap .field-axis.center{min-height:18px}
