/* El Barquito en la Tina — base: colores de baño, tipografía (DynaPuff para títulos, redonda y alegre; Nunito para leer),
   marco de teléfono en computadora, AZULEJOS (tarjetas esmaltadas con junta, biselado y brillo que corre), botones de TAPA DE
   SHAMPOO, repisa de baño con las 5 botellitas, globo de jabón del loro, ayudas, tarjeta de cada botella, "¡cumple!", final
   y vitrina. Todo cuelga de html.bt. Por dentro todo se mide contra el marco (.app es un contenedor de tamaño: cqw/cqh),
   nunca contra la ventana. Contraste de textos ≥ 4.5:1 (tinta verde mar sobre esmalte claro). */
.bt {
  --esmalte: #fffdf8; --menta: #d6f2eb; --menta-2: #bde7df; --menta-3: #8fd6ca; --crema: #fff3df; --rosa: #f7c9c9; --coral: #f4735f;
  --tapa: #b5362a; --tapa-o: #8e261c; --agua: #7ccad6; --agua-o: #0e6b78; --sol: #ffd84a;
  --tinta: #123b46; --tinta-2: #2f5a63; --wa: #16803f;
  --sombra: rgba(20, 80, 90, .24); --sombra-2: rgba(20, 80, 90, .14);
  --f-titulo: "DynaPuff", "Nunito", ui-rounded, system-ui, sans-serif; --f-texto: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
.bt *, .bt *::before, .bt *::after { box-sizing: border-box; }
.bt body { margin: 0; font-family: var(--f-texto); font-weight: 700; color: var(--tinta); overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
.bt button { font: inherit; color: inherit; }
.bt :focus-visible { outline: 3px solid #0e6b78; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.bt .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bt .noscript { margin: 24px; font: 700 18px/1.5 var(--f-texto); color: var(--tinta); background: var(--esmalte); padding: 16px; border-radius: 14px; }

/* ---------- marco ---------- */
.bt .fondo { position: fixed; inset: 0; z-index: 0; pointer-events: none; background:
  linear-gradient(#ffffff55 3px, transparent 3px) 0 0 / 96px 96px, linear-gradient(90deg, #ffffff55 3px, transparent 3px) 0 0 / 96px 96px,
  radial-gradient(50% 42% at 22% 22%, rgba(255, 240, 205, .95), transparent 70%), linear-gradient(180deg, #cfeee7 0%, #bde7df 62%, #e9dccb 62.4%, #f2e6d6 100%); }
.bt .app { position: fixed; inset: 0; z-index: 1; overflow: hidden; isolation: isolate; container-type: size; container-name: marco; background: #cfefe7; transition: opacity .5s ease; }
/* computadora y tableta: el mismo marco de teléfono que los demás diseños, con la escena difuminada alrededor */
@media (min-width: 560px) and (min-height: 560px) {
  .bt .app { inset: auto; left: 50%; top: 50%; width: min(430px, 100vw - 32px); height: min(932px, 100dvh - 40px); transform: translate(-50%, -50%); border-radius: 36px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 9px var(--menta-2), 0 0 0 11px var(--coral), 0 30px 90px rgba(20, 80, 90, .35); }
}
.bt:not(.is-showcase) .fondo { filter: blur(6px); }
.bt.is-showcase .fondo { display: none; }
.bt.is-showcase .app { inset: 0 !important; width: auto !important; height: auto !important; transform: none !important; border-radius: 0 !important; box-shadow: none !important; }
.bt .stage { position: absolute; inset: 0; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.bt .stage:active { cursor: grabbing; }
.bt .gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.bt .gl.is-on { opacity: 1; }
.bt .sin-gl .stage { background: url("../assets/poster/fondo.webp") center / cover no-repeat, linear-gradient(180deg, #d6f2eb, #bde7df 60%, #7ccad6); }
.bt .ui { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.bt .ui > * { pointer-events: auto; }

/* ---------- AZULEJO: tarjeta esmaltada con junta, bisel y un brillo que corre ---------- */
.bt .azulejo { position: relative; color: var(--tinta); border-radius: 18px;
  background:
    radial-gradient(120% 70% at 14% -8%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #fffefb 0%, #f4fbf8 55%, #e6f6f1 100%);
  box-shadow: 0 0 0 4px #efe8db, 0 0 0 5px #d3c7b4, inset 0 2px 0 #fff, inset 2px 0 0 rgba(255, 255, 255, .8), inset -3px -4px 0 rgba(120, 190, 180, .22), 0 14px 30px var(--sombra); }
/* brillo del esmalte: una franja de ventana que cruza despacio */
.bt .azulejo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .75;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .85) 44%, rgba(255, 255, 255, .85) 47%, transparent 48%, transparent 51%, rgba(255, 255, 255, .6) 52%, transparent 55%) -170% 0 / 260% 100% no-repeat; animation: bt-brillo 8s ease-in-out infinite; }
@keyframes bt-brillo { 0%, 58% { background-position: -170% 0; } 88%, 100% { background-position: 170% 0; } }
/* burbujitas de adorno en una esquina */
.bt .azulejo::before { content: ""; position: absolute; right: 10px; top: -13px; width: 44px; height: 28px; pointer-events: none;
  background:
    radial-gradient(circle at 12px 16px, rgba(255, 255, 255, .95) 0 2px, transparent 2.6px), radial-gradient(circle at 15px 18px, transparent 8.4px, rgba(90, 190, 200, .75) 9px, rgba(255, 255, 255, .55) 9.8px, transparent 10.4px),
    radial-gradient(circle at 33px 10px, transparent 5.2px, rgba(240, 140, 170, .7) 5.8px, rgba(255, 255, 255, .5) 6.4px, transparent 7px); }

/* ---------- botones: TAPA DE SHAMPOO (fondo plano arriba, faldón con estrías y base más oscura) ---------- */
.bt .bp {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px 4px;
  border: 0; border-radius: 16px 16px 12px 12px; color: var(--tinta); text-decoration: none; cursor: pointer; isolation: isolate; touch-action: manipulation; user-select: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 5px, rgba(20, 80, 90, .05) 5px 7px) 0 100% / 100% 9px no-repeat, linear-gradient(180deg, #ffffff 0%, #f5f2ea 60%, #e8e2d4 100%);
  box-shadow: inset 0 2px 0 #fff, inset 0 -6px 0 #d8d0be, 0 6px 12px var(--sombra);
  font: 700 17px/1.08 var(--f-titulo); text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.bt .bp:active { transform: translateY(3px); box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 #d8d0be, 0 2px 5px var(--sombra); }
.bt .bp .bi { display: inline-flex; flex: none; color: var(--agua-o); }
.bt .bp .bx { min-width: 0; }
.bt .bp.is-tapa { color: #fff; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 5px, rgba(0, 0, 0, .09) 5px 7px) 0 100% / 100% 9px no-repeat, linear-gradient(180deg, #d14a3b 0%, #b5362a 62%, #a32c21 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -6px 0 var(--tapa-o), 0 7px 14px rgba(120, 40, 30, .34); }
.bt .bp.is-tapa:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 var(--tapa-o), 0 2px 6px rgba(120, 40, 30, .34); }
.bt .bp.is-tapa .bi { color: #fff; }
.bt .bp.is-menta { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 5px, rgba(20, 80, 90, .07) 5px 7px) 0 100% / 100% 9px no-repeat, linear-gradient(180deg, #e8f9f4 0%, #c7ece3 62%, #b1e0d5 100%); box-shadow: inset 0 2px 0 #fff, inset 0 -6px 0 #8fcdc0, 0 6px 12px var(--sombra); }
.bt .bp.is-wa { background: linear-gradient(180deg, #f0fbf3 0%, #d3f2dd 100%); box-shadow: inset 0 2px 0 #fff, inset 0 -6px 0 #a7dfbb, 0 6px 12px var(--sombra); }
.bt .bp.is-wa .bi { color: var(--wa); }
.bt .bp.is-chico { min-height: 46px; padding: 0 14px 4px; font-size: 15px; }
.bt .bp.is-grande { min-height: 60px; font-size: 20px; padding: 0 24px 5px; }
.bt .bp.is-bloque { display: flex; width: 100%; }
.bt .bp[hidden] { display: none; }
.bt .bp.is-cuenta::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .7); transform-origin: left; animation: bt-cuenta var(--dur, 11s) linear forwards; }
@keyframes bt-cuenta { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.bt .enlace { min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer; font: 800 16px/1.2 var(--f-texto); color: var(--tinta); text-decoration: underline; text-decoration-color: rgba(14, 107, 120, .55); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* botón redondo: una burbuja gruesa */
.bt .icono-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; color: var(--tinta); cursor: pointer; flex: none; touch-action: manipulation;
  background: radial-gradient(circle at 32% 26%, #fff 0 12%, rgba(255, 255, 255, .92) 26%, #e4f6f2 62%, #bfe8e2 100%);
  box-shadow: inset 0 0 0 2px #fff, inset -3px -4px 8px rgba(90, 170, 180, .35), 0 5px 12px var(--sombra); }
.bt .icono-btn[hidden] { display: none; }
.bt .icono-btn:active { transform: scale(.94); }

/* ---------- HUD: repisa con las 5 botellitas ---------- */
.bt .hud { position: absolute; left: 10px; right: 10px; top: calc(10px + var(--safe-t)); display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; transition: opacity .3s; }
.bt .repisa { position: relative; margin: 0; padding: 7px 14px 10px; display: flex; align-items: flex-end; justify-content: center; min-height: 52px;
  background: linear-gradient(180deg, transparent 0 74%, #ffffff 74%, #efe6d6 88%, #d9cdb9 100%); border-radius: 0 0 10px 10px; filter: drop-shadow(0 5px 6px var(--sombra-2)); }
.bt .repisa.is-pop { animation: bt-pop .5s ease; }
@keyframes bt-pop { 30% { transform: translateY(-3px) scale(1.04); } }
.bt .rp-botellas { display: flex; gap: 11px; align-items: flex-end; }
.bt .rp-botellas i { display: block; line-height: 0; transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.bt .rp-botellas svg { display: block; fill: rgba(255, 255, 255, .55); stroke: rgba(18, 59, 70, .55); stroke-width: 1.6; stroke-linejoin: round; }
.bt .rp-botellas .rp-papel { fill: rgba(255, 255, 255, 0); stroke: rgba(18, 59, 70, .3); stroke-dasharray: 2 2; }
.bt .rp-botellas i.is-on { transform: translateY(-2px) scale(1.14); }
.bt .rp-botellas i.is-on svg { fill: #a9ecd8; stroke: #0e6b78; stroke-width: 1.8; }
.bt .rp-botellas i.is-on .rp-papel { fill: #fff3d6; stroke: #b5362a; stroke-dasharray: none; }
.bt .rp-botellas i:nth-child(2).is-on svg { fill: #b6e2f8; } .bt .rp-botellas i:nth-child(3).is-on svg { fill: #ffd9b0; } .bt .rp-botellas i:nth-child(4).is-on svg { fill: #dccdff; } .bt .rp-botellas i:nth-child(5).is-on svg { fill: #ffcbd9; }
.bt .hud.is-intro .repisa { opacity: 0; pointer-events: none; }
.bt [data-fase="llegada"] .hud-datos, .bt [data-fase="final-pelicula"] .hud-datos, .bt [data-fase="cumple"] .hud-datos { opacity: 0; pointer-events: none; }

/* ---------- el globo de jabón del loro ---------- */
.bt .globo { position: absolute; left: 0; top: 0; margin: 0; max-width: min(250px, 72cqw); padding: 12px 18px; border-radius: 46% 54% 48% 52% / 56% 50% 50% 44%; pointer-events: none; opacity: 0; transition: opacity .25s ease; font: 700 17px/1.18 var(--f-titulo); color: var(--tinta); text-align: center; z-index: 3;
  background: radial-gradient(circle at 24% 20%, #fff 0 10%, rgba(255, 255, 255, .96) 26%, rgba(236, 251, 247, .96) 70%, rgba(214, 238, 247, .96) 100%);
  box-shadow: inset 0 0 0 2px #fff, inset -6px -8px 16px rgba(180, 150, 230, .28), inset 6px 8px 14px rgba(255, 190, 215, .22), 0 8px 18px var(--sombra); }
.bt .globo.is-on { opacity: 1; }
.bt .globo::after { content: ""; position: absolute; left: var(--cola, 30px); bottom: -14px; width: 15px; height: 15px; border-radius: 50%; background: rgba(245, 253, 251, .96); box-shadow: inset 0 0 0 2px #fff, 7px 13px 0 -3px rgba(245, 253, 251, .96), 0 4px 6px var(--sombra-2); }

/* ---------- ayudas ---------- */
.bt .pista { position: absolute; left: 50%; bottom: calc(82px + var(--safe-b)); margin: 0; width: max-content; max-width: 86cqw; display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 12px; background: var(--esmalte); box-shadow: 0 0 0 3px #efe8db, 0 8px 16px var(--sombra); font: 800 16px/1.2 var(--f-texto); color: var(--tinta); transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.bt .pista.is-on { opacity: 1; transform: translate(-50%, 0); }
.bt .pista-ic { display: inline-flex; color: var(--agua-o); flex: none; }
.bt .ctl-juego { position: absolute; left: 12px; right: 12px; bottom: calc(14px + var(--safe-b)); display: flex; justify-content: center; }
.bt .navegar-btn { max-width: 100%; }
.bt .mano { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: -6px 0 0 -18px; color: var(--tinta); opacity: 0; pointer-events: none; }
.bt .mano.is-on { opacity: 1; animation: bt-mano 1.7s ease-in-out infinite; }
.bt .mano-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px var(--sombra); }
.bt .mano-estela { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); animation: bt-anillo 1.7s ease-out infinite; }
@keyframes bt-mano { 0% { transform: translate(var(--x0), var(--y0)); opacity: 0; } 14% { opacity: 1; } 68% { transform: translate(var(--x1), var(--y1)); opacity: 1; } 100% { transform: translate(var(--x1), var(--y1)); opacity: 0; } }
@keyframes bt-anillo { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }

/* ---------- llegada / saludo ---------- */
.bt .intro { position: absolute; left: 14px; right: 14px; bottom: calc(14px + var(--safe-b)); display: flex; flex-direction: column; gap: 12px; align-items: stretch; animation: bt-sube .5s ease both; transition: opacity .3s ease, transform .3s ease; }
.bt .intro.is-out { opacity: 0; transform: translateY(18px); pointer-events: none; }
@keyframes bt-sube { from { opacity: 0; transform: translateY(20px); } }
.bt .intro-panel { padding: 15px 18px 16px; }
.bt .intro-t { margin: 0 0 6px; font: 700 clamp(24px, 7.2cqw, 31px)/1.08 var(--f-titulo); color: var(--agua-o); }
.bt .intro-msg { margin: 0; font: 700 17px/1.32 var(--f-texto); }
.bt .intro-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; background: rgba(255, 253, 248, .88); border-radius: 12px; }

/* ---------- tarjeta de cada botella ---------- */
.bt .tarjeta { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); max-height: calc(100cqh - 96px - var(--safe-t) - var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 14px; opacity: 0; transform: translateY(26px) rotate(-1.2deg); transition: opacity .3s ease, transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.bt .tarjeta.is-in { opacity: 1; transform: none; }
.bt .tarjeta.is-out { opacity: 0; transform: translateY(26px); }
.bt .tj-cabeza { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.bt .tj-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; flex: none; color: var(--agua-o); background: radial-gradient(circle at 32% 26%, #fff 0 14%, #dff4f1 60%, #b6e4df 100%); box-shadow: inset 0 0 0 2px #fff; }
.bt .tj-k { font: 800 15px/1.15 var(--f-texto); color: var(--tinta-2); }
.bt .tj-t { margin: 2px 0 8px; font: 700 clamp(25px, 7.4cqw, 31px)/1.1 var(--f-titulo); color: var(--tapa); outline: none; }
.bt .tj-seguir { margin-top: 12px; }
.bt .dato { padding: 10px 14px; border-radius: 12px; background: var(--crema); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #eadfca; }
.bt .dato p { margin: 0; }
.bt .dt-k { font: 800 15px/1.2 var(--f-texto); color: var(--tinta-2); text-transform: capitalize; }
.bt .dt-v { font: 700 clamp(28px, 8.6cqw, 36px)/1.1 var(--f-titulo); color: var(--tinta); }
.bt .dt-v.is-texto { font-size: clamp(21px, 6.4cqw, 26px); }
.bt .dt-s { font: 700 16px/1.25 var(--f-texto); color: var(--tinta-2); }
.bt .burbujita { display: inline-block; margin: 9px 0 0; padding: 5px 13px; border-radius: 999px; font: 800 15px/1.2 var(--f-texto); color: var(--tinta); background: radial-gradient(circle at 18% 22%, #fff 0 10%, #e6f8f5 46%, #c8ebf4 100%); box-shadow: inset 0 0 0 2px #fff; }
.bt .acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bt .acciones .bp { flex: 1 1 140px; }
.bt .bitacora { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.bt .bitacora li { display: flex; gap: 10px; align-items: baseline; font: 700 16px/1.25 var(--f-texto); }
.bt .bt-hora { flex: none; min-width: 66px; font-weight: 800; color: var(--agua-o); }
.bt .mapa { border-radius: 14px; overflow: hidden; line-height: 0; box-shadow: 0 0 0 2px #e6dcca; }
.bt .mapa svg { display: block; width: 100%; height: auto; }
.bt .lugar-nombre { margin: 10px 0 2px; font: 700 20px/1.15 var(--f-titulo); }
.bt .lugar-dir { margin: 0; font: 700 15px/1.3 var(--f-texto); color: var(--tinta-2); }
.bt .nota { margin: 0; padding: 12px 16px; border-radius: 6px 16px 6px 16px; background: linear-gradient(180deg, #fff9ea, #fff3d6); box-shadow: inset 0 0 0 2px #f1e3c0; }
.bt .nota p { margin: 0 0 6px; font: 500 21px/1.28 var(--f-titulo); color: var(--tinta); }
.bt .nota footer { font: 800 16px/1.2 var(--f-texto); color: var(--tapa); text-align: right; }
.bt .nota-vestir, .bt .nota-cumple { margin: 10px 0 0; font: 700 16px/1.3 var(--f-texto); }

/* ---------- saltar, cumple, final ---------- */
.bt .saltar-btn { position: absolute; right: 12px; bottom: calc(12px + var(--safe-b)); }
.bt .cumple { position: absolute; left: 14px; right: 14px; bottom: calc(76px + var(--safe-b)); animation: bt-sube .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.bt .cumple-panel { padding: 14px 16px 15px; text-align: center; }
.bt .cumple-t { margin: 0; font: 700 clamp(29px, 8.8cqw, 38px)/1.05 var(--f-titulo); color: var(--tapa); }
.bt .cumple-t.is-largo { font-size: clamp(25px, 7.8cqw, 32px); }
.bt .cumple-s { margin: 5px 0 0; font: 700 17px/1.25 var(--f-texto); }
.bt .fin { position: absolute; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); max-height: calc(100cqh - 84px - var(--safe-t) - var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; padding: 13px 16px 8px; animation: bt-sube .5s ease both; }
.bt .fin-k { margin: 0; font: 800 14px/1.2 var(--f-texto); color: var(--tinta-2); }
.bt .fin-t { margin: 3px 0 4px; font: 700 clamp(29px, 9cqw, 38px)/1.05 var(--f-titulo); color: var(--tapa); }
.bt .fin-t.is-largo { font-size: clamp(23px, 7cqw, 29px); }
.bt .fin-linea { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 10px; font: 800 16px/1.3 var(--f-texto); text-transform: none; }
.bt .fin-linea span:first-child::first-letter { text-transform: uppercase; }
.bt .fin-lugar { margin: 0 0 10px; border-radius: 12px; background: var(--crema); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #eadfca; }
.bt .fin-lugar summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 10px; cursor: pointer; list-style: none; }
.bt .fin-lugar summary::-webkit-details-marker { display: none; }
.bt .fin-salon { flex: 1; min-width: 0; font: 800 15px/1.2 var(--f-texto); }
.bt .fin-vermapa { flex: none; font: 800 14px/1 var(--f-texto); color: var(--agua-o); text-decoration: underline; }
.bt .fin-lugar[open] { padding-bottom: 10px; }
.bt .fin-lugar .mapa, .bt .fin-lugar .lugar-dir, .bt .fin-lugar .acciones { margin-left: 10px; margin-right: 10px; }
.bt .fin-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 2px; margin-top: 2px; }
.bt .burbuja-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; flex: none; color: var(--agua-o); background: radial-gradient(circle at 32% 26%, #fff 0 14%, #dff4f1 60%, #b6e4df 100%); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- vitrina y pruebas ---------- */
.bt .is-vitrina .ui > :not(.vitrina-t):not(.dbg-fps) { display: none; }
.bt .vitrina-t { position: absolute; left: 0; right: 0; bottom: 8%; margin: 0; text-align: center; color: #fff; font: 700 clamp(30px, 6.4cqw, 66px)/1.05 var(--f-titulo); text-shadow: 0 3px 0 rgba(18, 59, 70, .7), 0 8px 24px rgba(18, 59, 70, .55); }
.bt .vitrina-t small { display: block; font-size: .58em; margin-top: .25em; }
.bt .dbg-fps { position: absolute; left: 6px; top: 70px; margin: 0; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 11px/1.3 ui-monospace, monospace; pointer-events: none; }

/* pantallas muy bajas */
@container marco (max-height: 640px) {
  .bt .intro-msg { font-size: 16px; }
  .bt .tj-t { margin-bottom: 4px; }
}
/* celular acostado: los paneles se van a un lado y la tina queda a la vista */
@container marco (max-height: 470px) {
  .bt .intro, .bt .tarjeta, .bt .fin, .bt .cumple { left: auto; right: 10px; bottom: 8px; width: min(340px, 48cqw); }
  .bt .intro { gap: 6px; max-height: calc(100cqh - 16px); overflow-y: auto; }
  .bt .intro-panel { padding: 10px 14px; }
  .bt .intro-msg { font-size: 15px; }
  .bt .tarjeta, .bt .fin { max-height: calc(100cqh - 16px); }
  .bt .hud { right: calc(48cqw + 20px); }
  .bt .pista { bottom: 66px; }
}
.bt.rm .azulejo::after, .bt.rm .mano.is-on, .bt.rm .mano-estela { animation: none; }
.bt.rm .mano.is-on { transform: translate(var(--x1), var(--y1)); }
@media (prefers-reduced-motion: reduce) {
  .bt .azulejo::after, .bt .mano-estela { animation: none; }
  .bt .mano.is-on { animation: none; transform: translate(var(--x1), var(--y1)); }
}
