/* Destapar · motor Destapar (sesión de los motores, 19 oct). Mismo aire que Trazar, Programar y Hablar. Sin scroll. */
.ds {
  --ds-noche: #1B2A5C; --ds-noche-2: #121c40; --ds-oro: #F5C542; --ds-crema: #fff8e8; --ds-tinta: #2b2140; --ds-bien: #2fa866; --ds-mal: #d9534f;
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #26397a 0%, var(--ds-noche-2) 70%); color: #fff;
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.ds * { box-sizing: border-box; }
.ds button { font-family: inherit; }
.ds [hidden] { display: none !important; }
.ds button:focus-visible { outline: 3px solid var(--ds-oro); outline-offset: 2px; }
.ds-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--ds-noche); border-bottom: 1px solid rgba(245,197,66,.25); min-height: 72px; flex: 0 0 auto; }
.sj-hay-casa .ds-top { padding-left: 80px; }
.ds-casa { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 18px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 26px; cursor: pointer; }
.ds-globo { flex: 1; min-width: 0; background: var(--ds-crema); color: var(--ds-tinta); border-radius: 18px; padding: 6px 12px; min-height: 56px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.ds-globo-txt { font-weight: 800; font-size: clamp(18px, 4.4vw, 24px); line-height: 1.15; }
.ds-globo-sub { font-size: clamp(15px, 1.8vw, 18px); font-weight: 600; opacity: .85; line-height: 1.2; }
.ds-contador { flex: 0 0 auto; font-weight: 800; color: var(--ds-oro); min-width: 44px; text-align: center; font-size: 16px; }
.ds-cuerpo { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
.ds-mesa { position: relative; flex: 1; min-height: 140px; border-radius: 28px; overflow: hidden; box-shadow: 0 6px 0 rgba(0,0,0,.25); touch-action: none; }
.ds-fondo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
  background: var(--ds-crema); color: var(--ds-tinta); font-weight: 800; line-height: 1.1; word-break: break-word; }
.ds-fondo.dibujo { font-size: clamp(90px, 30vmin, 220px); }
.ds-fondo.palabra { font-size: clamp(40px, 11vw, 96px); }
.ds-fondo.frase { font-size: clamp(26px, 6vw, 54px); }
.ds-tapa { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.ds-opciones { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ds-opciones.largas { grid-template-columns: 1fr; }
.ds-op { min-height: 56px; padding: 6px 12px; border-radius: 18px; border: 0; background: var(--ds-crema); color: var(--ds-tinta); font-size: clamp(18px, 4.6vw, 24px); font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.ds-op.bien { background: var(--ds-bien); color: #fff; }
.ds-op.mal { background: rgba(255,255,255,.15); color: rgba(255,255,255,.7); text-decoration: line-through; animation: ds-no .35s ease; }
.ds button:disabled { cursor: default; box-shadow: none; }
.ds-op:disabled:not(.bien):not(.mal) { opacity: .5; }
.ds-fin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(18,28,64,.82); z-index: 5; }
.ds-fin-caja { background: var(--ds-crema); color: var(--ds-tinta); border-radius: 24px; padding: 22px 26px; text-align: center; box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.ds-fin-caja h2 { margin: 0 0 4px; font-size: 30px; color: #b07a00; }
.ds-fin-caja p { margin: 0; font-size: 18px; font-weight: 700; }
@keyframes ds-no { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .ds-op.mal { animation: none; } }
@media (min-width: 900px), (orientation: landscape) and (max-height: 520px) {
  .ds-cuerpo { flex-direction: row; }
  .ds-opciones { width: min(40%, 420px); grid-template-columns: 1fr; align-content: center; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .ds-top { min-height: 56px; padding: 4px 8px; }
  .ds-globo { min-height: 46px; padding: 3px 10px; }
  .ds-op { min-height: 48px; }
}
/* JUEGOS MOTORES (30 oct) · un dibujo de la Biblioteca debajo del polvo */
.ds-img { width: 82%; height: 82%; object-fit: contain; pointer-events: none; user-select: none; }
