:root {
  --bg: #0a0e27;
  --bg2: #11173a;
  --card: #161d45;
  --card2: #1d2554;
  --linea: rgba(255, 255, 255, .08);
  --sky: #18a8ff;
  --sky2: #5cc6ff;
  --purple: #9b5cff;
  --pink: #ff5fae;
  --text: #f3f6ff;
  --muted: #98a2cc;
  --ok: #3ee0a1;
  --grad: linear-gradient(135deg, var(--sky) 0%, var(--purple) 55%, var(--pink) 100%);
  --radio: 20px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(60% 40% at 100% 0%, rgba(155, 92, 255, .22), transparent 70%),
    radial-gradient(50% 35% at 0% 10%, rgba(24, 168, 255, .20), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Urbanist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.app { max-width: 480px; margin: 0 auto; padding: 0 16px calc(96px + env(safe-area-inset-bottom)); }

/* ── Cabecera ── */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 0 12px;
  background: linear-gradient(var(--bg) 70%, transparent);
}
.marca { display: flex; align-items: center; gap: 8px; }
.marca-txt {
  font-weight: 900; font-size: 26px; letter-spacing: -.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marca-club {
  font-size: 10px; font-weight: 800; letter-spacing: .32em;
  padding: 4px 6px 4px 9px; border: 1.5px solid var(--sky); border-radius: 6px; color: var(--sky2);
}
.chip-doors {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--linea);
  font-weight: 800; font-size: 16px;
}
.coin {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 13px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.coin.chica { width: 18px; height: 18px; font-size: 10px; }

/* ── Navegación ── */
.nav {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 6;
  width: 100%; max-width: 480px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(13, 18, 48, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--linea);
}
.nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav button.activo { color: var(--sky2); }
.nav button.activo svg { stroke: var(--sky); }

/* ── Bloques comunes ── */
.seccion { margin-top: 26px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sky2); }
.titulo { font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-top: 4px; }
.sub { color: var(--muted); margin-top: 6px; }
.h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.tarjeta { background: var(--card); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 14px; font-weight: 800; font-size: 16px;
  background: var(--grad); color: #fff; width: 100%;
}
.btn.sec { background: var(--card2); border: 1px solid var(--linea); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.98); }
.fila { display: flex; gap: 10px; }
.fila > * { flex: 1; }

/* ── Tarjeta de socia ── */
.socia {
  position: relative; overflow: hidden; margin-top: 8px;
  border-radius: 24px; padding: 22px; min-height: 200px;
  background: var(--grad); color: #fff;
  box-shadow: 0 20px 50px -20px rgba(155, 92, 255, .7);
}
.socia::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .35), transparent 35%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
}
.socia > * { position: relative; }
.socia-top { display: flex; justify-content: space-between; align-items: flex-start; }
.socia-marca { font-weight: 900; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.socia-marca small { display: block; font-size: 10px; letter-spacing: .4em; font-weight: 800; margin-top: 4px; opacity: .9; }
.socia-num { font-size: 12px; font-weight: 800; letter-spacing: .14em; padding: 5px 9px; border-radius: 8px; background: rgba(10, 14, 39, .25); }
.socia-nombre { font-size: 28px; font-weight: 900; letter-spacing: -.02em; margin-top: 34px; }
.socia-pie { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 4px; }
.socia-pie span { font-size: 13px; font-weight: 600; opacity: .9; }
.socia-saldo { text-align: right; }
.socia-saldo b { font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.socia-saldo small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; }

/* ── Progreso vuelta al gym ── */
.progreso-cab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progreso-cab b { font-size: 22px; font-weight: 900; }
.barra { height: 12px; border-radius: 99px; background: var(--bg2); overflow: hidden; }
.barra i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .6s; }
.progreso-pie { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 8px; font-weight: 600; }

/* ── Ánimo ── */
.animos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.animo { background: var(--card); border: 1px solid var(--linea); border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; }
.animo span { font-size: 28px; line-height: 1; }
.animo:active { border-color: var(--sky); }

/* ── Hoy ── */
.hoy { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.hoy-num {
  flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); font-weight: 900; font-size: 24px; color: #fff;
}
.hoy b { display: block; font-size: 17px; font-weight: 800; }
.hoy span { color: var(--muted); font-size: 14px; }
.brilla { animation: brilla 2.2s ease-in-out infinite; }
@keyframes brilla { 50% { box-shadow: 0 0 0 4px rgba(24, 168, 255, .25), 0 0 26px rgba(155, 92, 255, .55); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--linea); border-radius: 16px; padding: 12px; }
.stat b { display: block; font-size: 20px; font-weight: 900; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.25; display: block; }

/* ── Calendario ── */
.semana { margin-top: 22px; }
.semana-cab { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.semana-cab b { font-size: 18px; font-weight: 900; }
.semana-cab span { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dia {
  aspect-ratio: 1 / 1.25; border-radius: 12px; background: var(--card); border: 1px solid var(--linea);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  position: relative;
}
.dia b { font-size: 18px; font-weight: 900; line-height: 1; }
.dia small { font-size: 9px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.dia.bloq { opacity: .45; }
.dia.bloq b::after { content: ''; }
.dia.disp { background: var(--grad); border-color: transparent; color: #fff; }
.dia.disp small { color: rgba(255, 255, 255, .85); }
.dia.abierto { background: var(--card2); border-color: rgba(24, 168, 255, .45); }
.dia.abierto::after { content: '✓'; position: absolute; top: 3px; right: 5px; font-size: 10px; font-weight: 900; color: var(--sky2); }
.dia.hoy-marca { outline: 2px solid var(--sky2); outline-offset: 2px; }

/* ── Tienda ── */
.saldo-grande { display: flex; align-items: center; justify-content: space-between; }
.saldo-grande b { font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1; display: flex; align-items: center; gap: 10px; }
.saldo-grande b .coin { width: 34px; height: 34px; font-size: 18px; }
.reglas { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 600; }
.reglas div { display: flex; justify-content: space-between; gap: 10px; }
.reglas em { font-style: normal; color: var(--text); font-weight: 800; }
.reglas em.no { color: var(--pink); }
.codigo { display: flex; gap: 8px; margin-top: 14px; }
.codigo input {
  flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linea);
  background: var(--bg2); color: var(--text); font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.codigo input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.codigo button { padding: 0 16px; border-radius: 12px; background: var(--card2); font-weight: 800; border: 1px solid var(--linea); }

.vales { display: grid; gap: 10px; }
.vale {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--linea); border-radius: 18px; padding: 14px;
  position: relative; overflow: hidden;
}
.vale::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.vale.grande { background: linear-gradient(135deg, rgba(24, 168, 255, .16), rgba(155, 92, 255, .16) 55%, rgba(255, 95, 174, .16)); }
.vale-emoji { font-size: 30px; line-height: 1; flex: none; width: 40px; text-align: center; }
.vale-info { flex: 1; min-width: 0; }
.vale-info b { display: block; font-weight: 800; font-size: 16px; }
.vale-info span { color: var(--muted); font-size: 13px; }
.precio { flex: none; display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 12px; background: var(--bg2); font-weight: 900; }
.vale.caro .precio { opacity: .5; }
.vale.gratis .precio { background: var(--grad); color: #fff; font-size: 13px; }

/* ── Juegos ── */
.juegos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.juego {
  text-align: left; border-radius: 20px; padding: 16px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--card); border: 1px solid var(--linea); position: relative; overflow: hidden;
}
.juego.ancho { grid-column: 1 / -1; min-height: 120px; }
.juego-ico { font-size: 34px; line-height: 1; }
.juego b { font-size: 17px; font-weight: 900; line-height: 1.15; display: block; }
.juego span { font-size: 13px; color: var(--muted); font-weight: 600; }
.juego .tag { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 4px 7px; border-radius: 6px; background: var(--bg2); color: var(--sky2); }
.juego.pareja { background: linear-gradient(160deg, rgba(24, 168, 255, .22), var(--card) 70%); }
.juego.sola { background: linear-gradient(160deg, rgba(255, 95, 174, .2), var(--card) 70%); }
.juego.hecho { background: var(--card); opacity: .55; }
.juego.hecho .tag { color: var(--ok); }
.pj-cat { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 10px; }

/* ── Cartas ── */
.cartas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.carta {
  aspect-ratio: 1 / 1.05; border-radius: 20px; padding: 16px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--card); border: 1px solid var(--linea); position: relative; overflow: hidden;
}
.carta::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--grad); opacity: .25; filter: blur(8px); }
.carta-emoji { font-size: 32px; line-height: 1; }
.carta small { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; display: block; }
.carta b { font-size: 18px; font-weight: 900; line-height: 1.1; }

/* ── Modal ── */
.modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-fondo { position: absolute; inset: 0; background: rgba(5, 7, 20, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s; }
.modal-caja {
  position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  background: var(--bg2); border: 1px solid var(--linea); border-bottom: 0;
  border-radius: 26px 26px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  animation: sube .28s cubic-bezier(.2, .8, .2, 1);
}
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--card2); font-size: 15px; z-index: 2; }
@keyframes fade { from { opacity: 0; } }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }

.m-cab { padding-right: 40px; }
.m-titulo { font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin-top: 4px; }
.m-texto { margin-top: 16px; font-size: 17px; line-height: 1.55; }
.m-texto p + p { margin-top: 12px; }
.m-foto { margin-top: 16px; border-radius: 18px; overflow: hidden; background: var(--card); }
.m-foto img { width: 100%; max-height: 60vh; object-fit: cover; }
.m-audio { width: 100%; margin-top: 16px; }
.m-premio {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(24, 168, 255, .12); border: 1px solid rgba(24, 168, 255, .3); font-weight: 700; font-size: 15px;
}
.m-acciones { margin-top: 20px; display: grid; gap: 10px; }
.m-grande-emoji { font-size: 54px; line-height: 1; }

.revelar { animation: revelar .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes revelar { from { transform: scale(.92); opacity: 0; } }

/* ── Juegos dentro del modal ── */
.marcador { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.marcador div { flex: 1; background: var(--card); border-radius: 14px; padding: 10px 12px; border: 1px solid var(--linea); }
.marcador div.turno { border-color: var(--sky); }
.marcador small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.marcador b { font-size: 24px; font-weight: 900; }
.pregunta-juego {
  margin-top: 18px; padding: 26px 20px; border-radius: 22px; min-height: 160px;
  display: grid; place-items: center; text-align: center;
  background: var(--grad); color: #fff; font-size: 22px; font-weight: 800; line-height: 1.25;
}
.vs { margin-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.vs div { border-radius: 20px; padding: 24px 10px; text-align: center; font-weight: 900; font-size: 20px; line-height: 1.15; min-height: 120px; display: grid; place-items: center; }
.vs div:first-child { background: linear-gradient(160deg, var(--sky), #2b6bff); }
.vs div:last-child { background: linear-gradient(160deg, var(--purple), var(--pink)); }
.vs span { font-weight: 900; color: var(--muted); }
.chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chips button { padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--linea); font-weight: 700; font-size: 14px; }
.chips button.activo { background: var(--sky); border-color: var(--sky); color: #04122a; }

.memo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.memo-c { aspect-ratio: 1; perspective: 600px; }
.memo-c > div { position: relative; width: 100%; height: 100%; transition: transform .35s; transform-style: preserve-3d; }
.memo-c.vuelta > div, .memo-c.hecha > div { transform: rotateY(180deg); }
.memo-c .cara { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; overflow: hidden; }
.memo-c .atras { background: var(--grad); font-weight: 900; font-size: 22px; color: rgba(255, 255, 255, .9); }
.memo-c .frente { background: var(--card2); transform: rotateY(180deg); font-size: 34px; }
.memo-c .frente img { width: 100%; height: 100%; object-fit: cover; }
.memo-c.hecha .frente { box-shadow: inset 0 0 0 3px var(--ok); }

.puzzle { position: relative; width: 100%; aspect-ratio: 1; margin-top: 16px; border-radius: 16px; overflow: hidden; background: var(--card); }
.pieza {
  position: absolute; width: 33.3333%; height: 33.3333%; left: 0; top: 0;
  background-size: 300% 300%; transition: transform .18s ease;
  box-shadow: inset 0 0 0 1px rgba(10, 14, 39, .6); border-radius: 4px;
  display: grid; place-items: center; font-weight: 900; font-size: 22px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.puzzle.listo .pieza { box-shadow: none; border-radius: 0; }
.puzzle-ref { width: 64px; height: 64px; border-radius: 10px; background-size: cover; border: 1px solid var(--linea); flex: none; }

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 30;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: #0a0e27; font-weight: 800; padding: 12px 18px; border-radius: 99px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: .25s; max-width: calc(100% - 32px); text-align: center; font-size: 15px;
}
.toast.ver { opacity: 1; transform: translate(-50%, 0); }

/* ── Puerta: invitación, pruebas y login ── */
.bloqueado .app { display: none; }
.puerta {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: var(--bg);
  background-image:
    radial-gradient(70% 45% at 100% 0%, rgba(155, 92, 255, .28), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(24, 168, 255, .22), transparent 70%);
  display: flex; justify-content: center;
  padding: calc(28px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
  transition: opacity .5s;
}
.puerta.pu-sale { opacity: 0; pointer-events: none; }
.pu-caja { width: 100%; max-width: 420px; margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pu-entra { animation: revelar .5s cubic-bezier(.2, .8, .2, 1); }
.pu-tiembla { animation: tiembla .4s; }
@keyframes tiembla { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pu-marca { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.pu-marca span { font-weight: 900; font-size: 22px; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pu-marca em { font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .32em; padding: 3px 5px 3px 8px; border: 1.5px solid var(--sky); border-radius: 6px; color: var(--sky2); }
.pu-sello {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 58px; letter-spacing: -.04em;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .18), inset 0 0 0 9px rgba(10, 14, 39, .25), 0 18px 50px -12px rgba(155, 92, 255, .8);
  animation: brilla 2.6s ease-in-out infinite;
}
.pu-sello.chico { width: 76px; height: 76px; font-size: 38px; margin-bottom: 18px; }
.pu-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--sky2); }
.pu-titulo { font-size: 38px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; }
.pu-titulo.chico { font-size: 28px; }
.pu-texto { font-size: 17px; line-height: 1.5; margin-top: 14px; max-width: 340px; }
.pu-muted { color: var(--muted); font-size: 15px; }
.pu-btn {
  position: relative; overflow: hidden; width: 100%; margin-top: 26px;
  padding: 16px 20px; border-radius: 16px; font-weight: 800; font-size: 17px;
  background: var(--grad); color: #fff;
}
.pu-btn:active { transform: scale(.98); }
.pu-link { margin-top: 18px; color: var(--muted); font-weight: 700; font-size: 15px; padding: 6px; }
.pu-puntos { display: flex; gap: 8px; margin-bottom: 18px; }
.pu-puntos i { width: 28px; height: 6px; border-radius: 99px; background: var(--card2); }
.pu-puntos i.ok { background: var(--sky); }
.pu-puntos i.act { background: var(--grad); }
.pu-cita {
  width: 100%; margin-top: 18px; padding: 22px 18px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--linea);
  font-size: 22px; font-weight: 800; line-height: 1.3;
}
.pu-cita.juramento { font-size: 18px; font-weight: 700; font-style: italic; line-height: 1.5; }
.pu-opciones { width: 100%; display: grid; gap: 10px; margin-top: 20px; }
.pu-opcion {
  width: 100%; padding: 15px 16px; border-radius: 14px; text-align: left;
  background: var(--card); border: 1.5px solid var(--linea); font-weight: 700; font-size: 16px;
  transition: border-color .2s, background .2s;
}
.pu-opcion.bien { border-color: var(--ok); background: rgba(62, 224, 161, .14); }
.pu-opcion.mal { border-color: var(--pink); background: rgba(255, 95, 174, .14); animation: tiembla .4s; }
.pu-input {
  width: 100%; margin-top: 8px; padding: 15px 16px; border-radius: 14px;
  background: var(--bg2); border: 1.5px solid var(--linea); color: var(--text);
  font: inherit; font-size: 18px; font-weight: 700;
}
.pu-input:focus { outline: none; border-color: var(--sky); }
.pu-caja > .pu-input { margin-top: 20px; text-align: center; }
.pu-caja > .pu-input + .pu-btn { margin-top: 12px; }
.pu-label { width: 100%; text-align: left; margin-top: 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pu-label + .pu-label { margin-top: 12px; }
.pu-error { min-height: 22px; margin-top: 14px; color: var(--pink); font-weight: 700; }
.pu-premio {
  width: 100%; margin-top: 20px; padding: 26px 18px; border-radius: 22px;
  background: var(--grad); color: #fff; animation: revelar .6s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 20px 50px -20px rgba(155, 92, 255, .8);
}
.pu-premio small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.pu-premio b { display: block; font-size: 44px; font-weight: 900; letter-spacing: .02em; margin-top: 6px; }
.pu-credencial {
  width: 100%; margin-top: 20px; border-radius: 22px; overflow: hidden;
  background: var(--grad); color: #fff; box-shadow: 0 20px 50px -20px rgba(155, 92, 255, .8);
}
.pu-credencial div { padding: 18px; text-align: left; }
.pu-credencial div + div { border-top: 1px dashed rgba(255, 255, 255, .45); }
.pu-credencial small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.pu-credencial b { font-size: 32px; font-weight: 900; letter-spacing: .04em; }
.pu-jurar { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; background: var(--card2); border: 1.5px solid var(--sky); }
.pu-relleno { position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.pu-jurar-txt { position: relative; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
