.pantalla { min-height: 100vh; }
.oscura { background: radial-gradient(circle at 50% 30%, #12364a, #050f17 70%); color: #e8f7fb; }

.transmision, .panel-historia {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; text-align: center; max-width: 760px; margin: 0 auto;
}
.parpadeo { color: #ff6b6b; font-weight: 700; letter-spacing: 2px; animation: parpadeo 1s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: .2; } }
.tina-holo { height: 34vh; filter: drop-shadow(0 0 18px #22b8cf); animation: flota 3s ease-in-out infinite; }
@keyframes flota { 50% { transform: translateY(-10px); } }
.tipeo, .texto-historia { font-size: 22px; min-height: 5em; }
.narra { text-transform: uppercase; letter-spacing: 3px; color: #9be7f3; font-size: 14px; margin: 0; }
.puntos-historia { display: flex; gap: 8px; }
.puntos-historia span { width: 10px; height: 10px; border-radius: 50%; background: #2b4a5a; }
.puntos-historia span.activo { background: #9be7f3; }

.presentacion {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 24px; flex-wrap: wrap;
}
.presentacion img { height: 62vh; max-width: 40vw; object-fit: contain; }
.globo {
  max-width: 460px; background: #fff; border-radius: 22px; padding: 22px; border: 4px solid var(--color, #22b8cf);
}
.globo h2 { color: var(--color, #22b8cf); }

.equipos { display: flex; flex-wrap: wrap; gap: 8px; }
.equipos button {
  flex: 1 1 90px; min-height: 52px; border-radius: 12px; border: 3px solid transparent;
  font: inherit; font-weight: 700; color: #fff; cursor: pointer;
}
.equipos button.elegido { border-color: #1d2733; box-shadow: 0 0 0 3px #fff inset; }

.perfil { position: relative; text-align: center; }
.perfil .borrar { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 20px; cursor: pointer; }

.pruebas .tarjeta { cursor: pointer; text-align: center; margin: 0; }
.pruebas img { height: 120px; object-fit: contain; }
.estrellas.grandes { font-size: 54px; margin: 10px 0; }

.escenario {
  position: relative; height: 56vh; min-height: 320px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(#bfe9f5, #e9f8fb 70%, #c9b48a 70%); touch-action: manipulation; cursor: pointer;
}
.guia-molino {
  position: absolute; left: 50%; top: 28%; width: 64px; height: 42%; transform: translateX(-50%);
  border: 3px dashed rgba(0, 0, 0, .25); border-radius: 8px;
}
.pieza { position: absolute; transform: translateX(-50%); }

.aparatos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 12px; }
.aparato {
  min-height: 120px; border-radius: 16px; border: 2px solid var(--linea); background: #fff; font: inherit;
  font-size: 17px; cursor: pointer; position: relative;
}
.aparato .icono { font-size: 44px; display: block; }
.aparato .orden {
  position: absolute; top: 6px; left: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--max); color: #fff; font-weight: 700; line-height: 30px;
}
.barra-consumo { height: 18px; background: var(--max); border-radius: 6px; }

.qr { display: inline-block; background: #fff; padding: 14px; border-radius: 16px; margin: 10px 0; }
.qr img { width: min(70vw, 340px); height: auto; image-rendering: pixelated; }
.wintipedia { text-align: left; max-width: 560px; margin: 16px auto; border-left: 6px solid var(--ara); }

.tabla-scroll { overflow-x: auto; }
#resumen-entrega td.estrellas { font-size: 14px; white-space: nowrap; }
