/* Chusmómetro. Tipografía: Bricolage Grotesque (SIL OFL 1.1, ver /fuentes/OFL.txt), servida desde este sitio.
   Paleta de la marca: violeta noche #14092b, rosa #ff4f9a, amarillo #ffd84d, menta #3de8b0. Sin verde WhatsApp. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('/fuentes/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url('/fuentes/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --noche: #14092b;
  --noche-2: #1f1040;
  --noche-3: #2c1859;
  --linea: rgba(255, 255, 255, 0.16);
  --texto: #f7f3ff;
  --suave: #cdc2ea;
  --rosa: #ff4f9a;
  --amarillo: #ffd84d;
  --menta: #3de8b0;
  --radio: 20px;
  --fuente: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--amarillo); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.emoji { font-family: var(--emoji), var(--fuente); font-style: normal; }
.envoltura { width: min(100% - 32px, 1120px); margin-inline: auto; }
.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--amarillo); color: var(--noche); font-weight: 700; text-decoration: none;
}
.saltar:focus { top: 12px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--amarillo); color: var(--noche); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.boton:hover { background: #ffe37a; box-shadow: 0 6px 22px rgba(255, 216, 77, 0.28); }
.boton:active { transform: scale(0.97); }
.boton svg { width: 22px; height: 22px; flex: none; }
.boton-grande { min-height: 60px; font-size: 1.2rem; padding-inline: 28px; }
.boton-secundario { background: transparent; color: var(--texto); border-color: rgba(255, 255, 255, 0.55); }
.boton-secundario:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; border-color: #fff; }
.boton-texto { border: 0; border-radius: 12px; background: transparent; color: var(--texto); text-decoration: underline; text-underline-offset: 0.2em; font-weight: 700; min-height: 44px; padding-inline: 12px; }
.boton-texto:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.boton-icono {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 0.2s ease;
}
.boton-icono:hover { background: rgba(255, 255, 255, 0.22); }
.boton-icono:disabled { opacity: 0.35; cursor: default; }
.boton-icono svg { width: 24px; height: 24px; }

/* ---------- Cabecera y pie ---------- */
.cabecera .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.marca .logo { width: 38px; height: 38px; }
.logo .logo-globo { fill: var(--rosa); }
.logo .logo-arco, .logo .logo-aguja { fill: none; stroke: var(--noche); stroke-width: 5; stroke-linecap: round; }
.logo .logo-eje { fill: var(--noche); }
.cabecera nav { display: flex; gap: 6px; }
.cabecera nav a { color: var(--texto); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px; border-radius: 10px; }
.cabecera nav a:hover, .cabecera nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 519px) { .cabecera .nav-exportar { display: none; } }

.pie { margin-top: 72px; padding: 36px 0 44px; border-top: 1px solid var(--linea); color: var(--suave); font-size: 0.95rem; }
.pie .envoltura { display: grid; gap: 16px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pie nav a { color: var(--texto); font-weight: 600; display: inline-block; padding: 8px 0; }
.pie .marca { font-size: 1.1rem; }
.pie .marca .logo { width: 30px; height: 30px; }

/* ---------- Inicio ---------- */
.heroe { display: grid; gap: 36px; padding-top: 12px; }
.heroe-texto { display: grid; gap: 18px; align-content: start; }
.pastilla {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(61, 232, 176, 0.12); color: var(--menta); font-weight: 700; font-size: 0.92rem;
}
.pastilla svg { width: 16px; height: 16px; }
.heroe h1 { font-size: clamp(2.7rem, 11.5vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; }
.heroe h1 .resaltado, .og-titulo .resaltado {
  color: var(--noche); background: var(--amarillo); padding: 0 0.12em; border-radius: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; display: inline-block; transform: rotate(-2deg);
}
.bajada { color: var(--suave); font-size: 1.12rem; max-width: 38ch; }
.subir { display: grid; gap: 12px; margin-top: 4px; }
.zona {
  position: relative; display: grid; gap: 10px; padding: 18px; border-radius: var(--radio);
  background: var(--noche-2); border: 2px dashed rgba(255, 255, 255, 0.28); transition: border-color 0.2s ease, background-color 0.2s ease;
}
.zona.arrastrando { border-color: var(--amarillo); background: #2a1650; }
.zona .boton { width: 100%; }
#archivo:focus-visible + .boton { outline: 3px solid var(--amarillo); outline-offset: 4px; }
.zona-ayuda { color: var(--suave); font-size: 0.95rem; text-align: center; }
.zona-soltar { display: none; color: var(--suave); font-size: 0.95rem; text-align: center; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .zona-soltar { display: block; } }
.subir > .boton-secundario { width: 100%; }
.error {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: #3b0d27; border: 2px solid var(--rosa); color: #fff;
}
.error svg { width: 22px; height: 22px; flex: none; color: var(--rosa); margin-top: 2px; }
.privado {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px; border-radius: var(--radio);
  background: rgba(61, 232, 176, 0.08); border: 1px solid rgba(61, 232, 176, 0.3);
}
.privado svg { grid-row: span 3; width: 30px; height: 30px; color: var(--menta); margin-top: 2px; }
.privado strong { font-size: 1.05rem; }
.privado p { color: var(--suave); font-size: 0.97rem; }
.privado a { justify-self: start; font-weight: 700; font-size: 0.97rem; padding: 4px 0; }

.muestras { position: relative; margin: 0 auto; width: 100%; max-width: 420px; height: calc(min(56vw, 236px) * 16 / 9 + 30px); }
.muestras .tarjeta {
  position: absolute; top: 14px; left: 50%; width: min(56vw, 236px); margin-left: calc(min(56vw, 236px) / -2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.muestras .tarjeta:nth-child(1) { transform: translateX(-34%) rotate(-9deg) scale(0.86); }
.muestras .tarjeta:nth-child(3) { transform: translateX(34%) rotate(9deg) scale(0.86); }
.muestras .tarjeta:nth-child(2) { z-index: 1; }
.muestras-nota { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; color: var(--suave); font-size: 0.85rem; }

@media (min-width: 960px) {
  .heroe { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: 28px; gap: 48px; }
  .muestras { max-width: none; height: 560px; }
  .muestras .tarjeta { width: 272px; margin-left: -136px; top: 20px; }
  .muestras .tarjeta:nth-child(1) { transform: translateX(-46%) rotate(-8deg) scale(0.86); }
  .muestras .tarjeta:nth-child(3) { transform: translateX(46%) rotate(8deg) scale(0.86); }
}

/* Lugares de anuncio: si Google no llena, se ve la promo de la casa (nunca un hueco). */
.anuncio { display: grid; gap: 8px; }
.anuncio-rotulo { display: none; color: var(--suave); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; text-align: center; }
.anuncio ins.adsbygoogle { display: block; }
.anuncio ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.anuncio:has(ins.adsbygoogle[data-ad-status="filled"]) .anuncio-rotulo { display: block; }
.anuncio:has(ins.adsbygoogle[data-ad-status="filled"]) .promo { display: none; }
.promo { display: grid; gap: 10px; }
.promo-titulo { color: var(--suave); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.promo-lista { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.promo-tarjeta {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 16px; background: var(--noche-2); border: 1px solid var(--linea); color: var(--texto); text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.promo-tarjeta:hover { border-color: rgba(255, 255, 255, 0.4); background: var(--noche-3); }
.promo-icono { width: 52px; height: 52px; border-radius: 14px; background: var(--menta); color: var(--noche); display: grid; place-items: center; }
.promo-icono svg { width: 30px; height: 30px; }
.promo-icono.factura { background: var(--amarillo); }
.promo-texto { display: grid; gap: 2px; }
.promo-texto strong { font-size: 1.02rem; line-height: 1.25; }
.promo-texto span { color: var(--suave); font-size: 0.92rem; line-height: 1.4; }
.promo-ir { font-weight: 800; color: var(--amarillo); white-space: nowrap; }
@media (max-width: 420px) { .promo-ir { display: none; } .promo-tarjeta { grid-template-columns: 52px 1fr; } }
.anuncio-inicio { margin-top: 44px; }

.seccion { margin-top: 72px; }
.seccion > h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 10px; }
.seccion-bajada { color: var(--suave); margin-bottom: 24px; max-width: 60ch; }
.que-ves ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.que-ves li {
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; padding: 16px;
  border-radius: 18px; background: var(--noche-2); border: 1px solid var(--linea);
}
.que-ves .emoji { grid-row: span 2; font-size: 1.9rem; line-height: 1.2; text-align: center; }
.que-ves h3 { font-size: 1.08rem; line-height: 1.3; }
.que-ves p { color: var(--suave); font-size: 0.95rem; }
@media (min-width: 600px) { .que-ves ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .que-ves ul { grid-template-columns: repeat(5, 1fr); }
  .que-ves li { grid-template-columns: 1fr; text-align: left; }
  .que-ves .emoji { grid-row: auto; text-align: left; margin-bottom: 6px; }
}

/* Pestañas Android / iPhone y pasos */
.pestanas { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--noche-2); border: 1px solid var(--linea); margin-bottom: 22px; }
.pestanas [role="tab"] {
  min-height: 44px; min-width: 112px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 800; color: var(--suave); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.pestanas [role="tab"] svg { width: 20px; height: 20px; }
.pestanas [role="tab"][aria-selected="true"] { background: var(--texto); color: var(--noche); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.paso {
  display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px;
  border-radius: var(--radio); background: var(--noche-2); border: 1px solid var(--linea);
}
.paso-ilus { width: 112px; }
.paso-num { color: var(--rosa); font-weight: 800; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; }
.paso h3 { font-size: 1.15rem; line-height: 1.25; margin: 2px 0 6px; }
.paso p { color: var(--suave); font-size: 0.97rem; }
@media (min-width: 820px) {
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .paso { grid-template-columns: 1fr; align-items: start; padding: 22px; }
  .paso-ilus { width: 100%; max-width: 190px; margin: 0 auto 6px; }
}
.exportar-mas { margin-top: 18px; }
.nota { color: var(--suave); font-size: 0.95rem; margin-top: 18px; max-width: 70ch; }

/* Ilustraciones de los pasos (SVG propio) */
.ilus .tel-cuerpo { fill: #0b0820; stroke: #4a3487; stroke-width: 2; }
.ilus .tel-pantalla { fill: #f4f0fb; }
.ilus .tel-barra { fill: #5b1fa8; }
.ilus .tel-claro { fill: #ffffff; }
.ilus .tel-gris { fill: #d9d1ea; }
.ilus .tel-gris-2 { fill: #bfb3d9; }
.ilus .tel-tenue { fill: #14092b; opacity: 0.38; }
.ilus .tel-borde { fill: #ffffff; stroke: #d9d1ea; stroke-width: 1; }
.ilus .tel-marca { fill: var(--rosa); }
.ilus .tel-anillo { fill: none; stroke: var(--rosa); stroke-width: 3; }
.ilus text { font-family: var(--fuente); font-size: 10px; font-weight: 600; fill: #1a0b2e; }
.ilus text.claro { fill: #ffffff; }
.ilus text.fuerte { font-weight: 800; }
.ilus text.rojo { fill: #c4183f; }
.ilus text.chico { font-size: 8.5px; }
.ilus text.medio { text-anchor: middle; }
.ilus text.fin { text-anchor: end; }
.ilus text.violeta { fill: #5b1fa8; }
.ilus .tel-amarillo { fill: var(--amarillo); }
.ilus .tel-menta { fill: var(--menta); }

/* Preguntas */
.faq-lista { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--noche-2); border: 1px solid var(--linea); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; font-weight: 700; font-size: 1.05rem; min-height: 56px; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--amarillo); flex: none; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 18px; color: var(--suave); }

/* Páginas de texto (privacidad, cómo exportar, 404) */
.pagina { max-width: 760px; padding-top: 20px; }
.pagina h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-bottom: 14px; }
.pagina h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.pagina p + p { margin-top: 12px; }
.pagina .bajada { max-width: none; margin-bottom: 8px; }
.pagina-ancha { max-width: 1120px; }
.pagina .cta { margin-top: 28px; }
.actualizado { color: var(--suave); font-size: 0.92rem; margin-top: 28px; }

/* ---------- Tarjetas (las mismas medidas que Tarjetas.MEDIDAS y lienzo.js; 1cqw = 1 % del ancho) ---------- */
.tarjeta {
  --k: 1;
  position: relative; container-type: inline-size; aspect-ratio: 9 / 16; overflow: hidden; isolation: isolate;
  border-radius: 16px; color: var(--tinta); font-family: var(--fuente); line-height: 1.2; user-select: none; -webkit-user-select: none;
}
.tema-violeta { --f0: #2a0f5c; --f1: #5b1fa8; --tinta: #ffffff; --acento: #ffd84d; }
.tema-amarillo { --f0: #ffd84d; --f1: #ffb627; --tinta: #1a0b2e; --acento: #5b1fa8; }
.tema-rosa { --f0: #ff6aa8; --f1: #ff8a7a; --tinta: #1a0b2e; --acento: #2a0f5c; }
.tema-azul { --f0: #132a6b; --f1: #2449b8; --tinta: #ffffff; --acento: #9fe8ff; }
.tema-menta { --f0: #4de8b5; --f1: #22c79f; --tinta: #06241b; --acento: #2a0f5c; }
.tema-noche { --f0: #0b0820; --f1: #251a52; --tinta: #ffffff; --acento: #ffd84d; }
.tema-naranja { --f0: #ff8a2a; --f1: #ffb05c; --tinta: #1a0b2e; --acento: #3b0f7a; }
.t-fondo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(167deg, var(--f0), var(--f1)); }
.t-fondo i { position: absolute; border-radius: 50%; }
.t-fondo i:first-child { left: 54cqw; top: -29.56cqw; width: 84cqw; height: 84cqw; background: color-mix(in srgb, var(--acento) 16%, transparent); }
.t-fondo i:last-child { left: -46cqw; top: 115.33cqw; width: 100cqw; height: 100cqw; background: color-mix(in srgb, var(--tinta) 7%, transparent); }
.t-marca { position: absolute; left: 8cqw; top: 4.5cqw; height: 8cqw; display: flex; align-items: center; gap: 2.2cqw; font-size: 4.6cqw; font-weight: 800; white-space: nowrap; }
.t-marca .logo { width: 8cqw; height: 8cqw; flex: none; }
.t-marca .logo-globo { fill: var(--tinta); }
.t-marca .logo-arco, .t-marca .logo-aguja { stroke: var(--f0); }
.t-marca .logo-eje { fill: var(--f0); }
.t-cuerpo {
  position: absolute; left: 8cqw; right: 8cqw; top: 21cqw; bottom: 17.78cqw;
  display: flex; flex-direction: column; gap: calc(3.4cqw * var(--k)); text-align: center; overflow: hidden;
}
.t-cuerpo > :first-child { margin-top: auto; }
.t-cuerpo > :last-child { margin-bottom: auto; }
/* Renglones parejos (el lienzo hace lo mismo con equilibrar()) */
.t-cuerpo :is(.t-kicker, .t-titulo, .t-unidad, .t-texto) { text-wrap: balance; }
.t-kicker { font-size: calc(4.6cqw * var(--k)); line-height: 1.25; font-weight: 700; }
.t-titulo {
  font-size: calc(8.4cqw * var(--k)); line-height: 1.08; font-weight: 800; letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.t-valor { --tv: 30cqw; font-size: calc(var(--tv) * var(--k) * var(--kv, 1)); line-height: 1.04; font-weight: 800; color: var(--acento); }
.t-valor--emoji { font-family: var(--emoji), var(--fuente); }
.t-valor--numero.t-l { --tv: 24cqw; } .t-valor--numero.t-m { --tv: 19cqw; } .t-valor--numero.t-s { --tv: 15cqw; }
.t-valor--nombre.t-xl, .t-valor--texto.t-xl { --tv: 17cqw; }
.t-valor--nombre.t-l, .t-valor--texto.t-l { --tv: 14cqw; }
.t-valor--nombre.t-m, .t-valor--texto.t-m { --tv: 11cqw; }
.t-valor--nombre.t-s, .t-valor--texto.t-s { --tv: 8.5cqw; }
.t-valor--nombre.t-xs, .t-valor--texto.t-xs { --tv: 7cqw; }
.t-unidad { font-size: calc(6cqw * var(--k)); line-height: 1.15; font-weight: 700; }
.t-texto { font-size: calc(5.2cqw * var(--k)); line-height: 1.32; font-weight: 500; }
/* Horas */
.t-horas svg { width: 100%; height: calc(34cqw * var(--k)); }
.t-horas rect { fill: color-mix(in srgb, var(--tinta) 45%, transparent); }
.t-horas rect.pico { fill: var(--acento); }
.t-horas-ejes { position: relative; height: calc(5cqw * var(--k)); font-size: calc(3.6cqw * var(--k)); font-weight: 600; }
.t-horas-ejes span { position: absolute; top: calc(0.4cqw * var(--k)); transform: translateX(-50%); }
.t-horas-ejes span:nth-child(1) { left: 0; transform: none; }
.t-horas-ejes span:nth-child(2) { left: 25%; }
.t-horas-ejes span:nth-child(3) { left: 50%; }
.t-horas-ejes span:nth-child(4) { left: 75%; }
.t-horas-ejes span:nth-child(5) { right: 0; transform: none; }
/* Podio */
.t-podio { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-end; gap: calc(3cqw * var(--k)); }
.t-podio li { width: calc(26cqw * var(--k)); display: flex; flex-direction: column; align-items: center; }
.t-podio-nombre {
  font-size: calc(5cqw * var(--k)); line-height: 1.15; font-weight: 700; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.t-podio-valor { font-size: calc(3.8cqw * var(--k)); line-height: 1.3; font-weight: 500; margin-bottom: calc(1.5cqw * var(--k)); width: min-content; max-width: 100%; text-align: center; }
.t-podio-escalon {
  width: 100%; border-radius: calc(2cqw * var(--k)) calc(2cqw * var(--k)) 0 0; display: flex; justify-content: center; align-items: flex-start;
  background: color-mix(in srgb, var(--tinta) 16%, transparent); font-size: calc(9cqw * var(--k)); font-weight: 800; line-height: 1;
  padding-top: calc(2.5cqw * var(--k));
}
.t-podio .p1 .t-podio-escalon { height: calc(26cqw * var(--k)); background: var(--acento); color: var(--f0); }
.t-podio .p2 .t-podio-escalon { height: calc(19cqw * var(--k)); }
.t-podio .p3 .t-podio-escalon { height: calc(14cqw * var(--k)); }
/* Premios (stickers y fotos) */
.t-premios { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(3.4cqw * var(--k)); }
.t-premios li {
  display: grid; padding: calc(3cqw * var(--k)); border-radius: calc(4cqw * var(--k));
  background: color-mix(in srgb, var(--tinta) 10%, transparent);
}
.t-premios li > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-premios-icono { font-family: var(--emoji), var(--fuente); font-size: calc(7cqw * var(--k)); line-height: 1.2; }
.t-premios-premio { font-size: calc(4.4cqw * var(--k)); line-height: 1.3; font-weight: 700; }
.t-premios-nombre { font-size: calc(9cqw * var(--k)); line-height: 1.1; font-weight: 800; color: var(--acento); }
.t-premios-nombre.t-l { font-size: calc(7cqw * var(--k)); }
.t-premios-nombre.t-m { font-size: calc(5.5cqw * var(--k)); }
.t-premios-detalle { font-size: calc(4.6cqw * var(--k)); line-height: 1.3; font-weight: 500; }
/* Lista con barras */
.t-lista { padding: calc(3cqw * var(--k)); border-radius: calc(4cqw * var(--k)); background: color-mix(in srgb, var(--tinta) 10%, transparent); text-align: left; }
.t-lista-titulo { font-size: calc(4.4cqw * var(--k)); line-height: 1.4; font-weight: 700; text-align: center; }
.t-lista ol { list-style: none; margin: 0; padding: 0; }
.t-lista li { display: grid; grid-template-columns: 1fr auto; column-gap: 3cqw; font-size: calc(5cqw * var(--k)); line-height: 1.3; }
.t-lista-nombre { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-lista-valor { font-weight: 800; white-space: nowrap; }
.t-barra { grid-column: 1 / -1; width: 100%; height: calc(1.6cqw * var(--k)); margin: calc(0.4cqw * var(--k)) 0 calc(1cqw * var(--k)); }
.t-barra rect { fill: var(--acento); }
.t-barra rect.t-barra-fondo { fill: color-mix(in srgb, var(--tinta) 18%, transparent); }
/* Pie con la dirección */
.t-pie {
  position: absolute; left: 50%; top: 163.8cqw; height: 9.4cqw; line-height: 9.4cqw; transform: translateX(-50%);
  display: block; padding: 0 4.5cqw; border-radius: 9.4cqw; white-space: nowrap; /* block, no flex: flex se come el espacio antes de <b> */
  background: var(--tinta); color: var(--f0); font-size: 3.9cqw; font-weight: 600;
}
.t-pie b { font-weight: 800; }

/* ---------- Pantallas a pantalla completa (procesando e historias) ---------- */
.pantalla {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; inset: 0;
  height: 100dvh; background: #0b0820; color: #fff; overflow: hidden;
}
.pantalla::backdrop { background: #0b0820; }

.procesando[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 24px 16px; overflow-y: auto; }
.proc-centro { display: grid; justify-items: center; gap: 14px; text-align: center; }
.proc-centro .logo { width: 120px; height: 120px; }
.proc-centro .logo-aguja { transform-origin: 32px 39px; animation: aguja 1.3s ease-in-out infinite alternate; }
@keyframes aguja { from { transform: rotate(-95deg); } to { transform: rotate(10deg); } }
.proc-centro h2 { font-size: 1.8rem; }
.proc-centro h2:focus { outline: none; }
.paso-texto { color: var(--suave); min-height: 3.2em; max-width: 30ch; font-size: 1.05rem; }
.proc-nota { display: inline-flex; align-items: center; gap: 8px; color: var(--menta); font-weight: 700; font-size: 0.95rem; }
.proc-nota svg { width: 18px; height: 18px; }
.procesando .anuncio { width: min(100%, 480px); }

.historias[open] { display: flex; flex-direction: column; }
.h-arriba { flex: none; width: min(100% - 16px, 560px); margin: 0 auto; padding-top: max(8px, env(safe-area-inset-top)); }
.barras { display: flex; gap: 4px; height: 4px; }
.seg { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.seg i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.seg.llena i { transform: none; }
.seg.activa i { animation: llenar 7s linear forwards; }
.historias.pausado .seg.activa i, .historias.retenido .seg.activa i, .historias.compartiendo .seg.activa i, .historias.oculta .seg.activa i { animation-play-state: paused; }
@keyframes llenar { to { transform: none; } }
.h-controles { display: flex; align-items: center; gap: 8px; height: 56px; }
.h-periodo select {
  appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 14px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  color: #fff; font-weight: 700; font-size: 0.95rem; max-width: 9.5em;
}
.h-periodo select option { color: #14092b; background: #fff; }
.interruptor { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; cursor: pointer; min-height: 44px; margin-right: auto; padding-left: 4px; }
.interruptor input {
  appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 42px; height: 26px; margin: 0; border-radius: 13px;
  background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: background-color 0.2s ease;
}
.interruptor input::before {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform 0.2s ease;
}
.interruptor input:checked { background: var(--rosa); }
.interruptor input:checked::before { transform: translateX(16px); }
.h-controles .boton-icono { width: 44px; height: 44px; }
@media (max-width: 389px) {
  .h-controles { gap: 6px; }
  .h-periodo select { padding: 0 28px 0 11px; background-position: right 8px center; font-size: 0.9rem; max-width: 8.6em; }
  .interruptor { font-size: 0.86rem; gap: 6px; padding-left: 2px; }
  .interruptor input { width: 38px; height: 24px; }
  .interruptor input::before { width: 18px; height: 18px; }
  .interruptor input:checked::before { transform: translateX(14px); }
}

.escenario { flex: 1; min-height: 0; display: grid; place-items: center; padding: 4px 8px; touch-action: manipulation; }
.escenario .tarjeta {
  width: min(100vw - 16px, (100dvh - 152px) * 9 / 16, 540px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); cursor: pointer; animation: entrar 0.3s ease-out;
}
@keyframes entrar { from { opacity: 0; transform: scale(0.97); } }
.h-abajo {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; height: 76px;
  padding-bottom: env(safe-area-inset-bottom);
}
.h-abajo .boton { min-height: 48px; padding-inline: 22px; background: #fff; }
.h-abajo .boton:hover { background: var(--amarillo); }
#pausa .ico-seguir, #pausa[aria-pressed="true"] .ico-pausa { display: none; }
#pausa[aria-pressed="true"] .ico-seguir { display: block; }
@media (max-width: 389px) { .h-abajo { gap: 8px; } .h-abajo .boton { padding-inline: 16px; } }

.final { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 40px; }
.final-dentro { width: min(100%, 520px); margin: 0 auto; display: grid; gap: 16px; justify-items: center; text-align: center; }
#final-titulo { font-size: clamp(1.6rem, 6vw, 2.2rem); }
#final-titulo:focus { outline: none; }
.final-texto { color: var(--suave); max-width: 40ch; }
.final-vista { width: min(62vw, 250px); }
.final-vista .tarjeta { width: 100%; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5); }
.final-botones { display: grid; gap: 10px; width: 100%; }
.final-botones .boton { width: 100%; }
.final-botones .fila { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.estado { min-height: 1.5em; color: var(--menta); font-weight: 700; }
.final .anuncio { width: 100%; margin-top: 8px; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .escenario .tarjeta { animation: none; }
  .proc-centro .logo-aguja { animation: none; transform: rotate(-40deg); }
}
@media (forced-colors: active) {
  .seg i { background: CanvasText; }
  .interruptor input { border: 2px solid CanvasText; }
}

/* ---------- Imagen para redes (1200 x 630) e ícono: páginas sin indexar que solo existen con build.mjs --og ---------- */
.og {
  width: 1200px; height: 630px; overflow: hidden; display: grid; grid-template-columns: 600px 1fr; align-items: center;
  padding-left: 76px; background: radial-gradient(circle at 78% 40%, #3a1a78 0, var(--noche) 62%);
}
.og-texto { display: grid; gap: 24px; }
.og-marca { font-size: 2.1rem; }
.og-marca .logo { width: 64px; height: 64px; }
.og-titulo { font-size: 6rem; font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
.og-bajada { font-size: 1.7rem; color: var(--suave); max-width: 25ch; line-height: 1.25; }
.og-dominio { justify-self: start; background: var(--amarillo); color: var(--noche); font-weight: 800; font-size: 1.6rem; padding: 8px 22px; border-radius: 999px; }
.og-cartas { position: relative; height: 630px; }
.og-cartas .tarjeta { position: absolute; top: 74px; left: 50%; width: 270px; margin-left: -135px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
.og-cartas .tarjeta:nth-child(1) { transform: translateX(-52%) rotate(-8deg) scale(0.86); }
.og-cartas .tarjeta:nth-child(3) { transform: translateX(52%) rotate(8deg) scale(0.86); }
.og-cartas .tarjeta:nth-child(2) { z-index: 1; }
.og-icono { width: 180px; height: 180px; display: grid; place-items: center; background: var(--noche); }
.og-icono .logo { width: 140px; height: 140px; }
