/* Naughty Swipe — modo juego a pantalla completa (assets/js/swipe.js).
   El arte viene de la app (asset_pack_art y res/drawable): carta de cristal, botones
   redondos, cabecera de coincidencias y el fondo de cada nivel. */

html.nsx-open, html.nsx-open body { overflow: hidden; overscroll-behavior: none; }

.nsx {
  position: fixed; inset: 0; z-index: 9999;
  height: 100vh; height: 100dvh; width: 100%;
  display: flex; flex-direction: column;
  background: #07020a; color: #fff;
  font-family: Inter, system-ui, sans-serif;
  overscroll-behavior: contain; -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none;
  animation: nsx-in .35s ease both;
}
@keyframes nsx-in { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }

/* fondo del nivel, vivo: respira y deriva despacio, como en la app */
.nsx-bg { position: absolute; inset: -6%; background: center / cover no-repeat;
  animation: nsx-breathe 18s ease-in-out infinite alternate; }
.nsx-scrim { position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(7,2,10,.22), rgba(7,2,10,.6) 80%); }
@keyframes nsx-breathe {
  0% { transform: scale(1.04) translate(-9px, 7px); }
  100% { transform: scale(1.11) translate(9px, -7px); }
}
@media (prefers-reduced-motion: reduce) { .nsx-bg, .nsx { animation: none; } }

.nsx-top, .nsx-main, .nsx-foot { position: relative; z-index: 1; }

.nsx-top { display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: max(14px, env(safe-area-inset-top)) 16px 6px; min-height: 64px; }
.nsx-x { position: absolute; left: 14px; top: max(12px, env(safe-area-inset-top));
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.35rem; line-height: 44px;
  backdrop-filter: blur(6px); }
.nsx-pill { padding: .42rem .95rem; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; background: rgba(20,8,16,.72);
  border: 1px solid rgba(255,255,255,.22); }
.nsx-pill--lvl { color: #FF4F9A; border-color: rgba(255,45,126,.55); }
.nsx-dots { display: flex; gap: 7px; justify-content: center; padding: 4px 0 2px; }
.nsx-dots i { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22);
  transition: background .3s; }
.nsx-dots i.on { background: #FF2D7E; box-shadow: 0 0 10px rgba(255,45,126,.8); }

.nsx-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 0; padding: 4px 18px; }

/* ---- la carta ---- */
/* el alto manda: arriba van la barra y los puntos (~90px), abajo la pista y los botones (~210px) */
.nsx-stage { position: relative; aspect-ratio: 600 / 895;
  width: min(84vw, 400px, calc((100vh - 300px) * .67)); width: min(84vw, 400px, calc((100dvh - 300px) * .67)); }
.nsx-deck { position: absolute; inset: 0; background: url(/assets/img/swipe/deck.webp) center / contain no-repeat;
  transform: translate(10px, 8px) rotate(3deg) scale(.97); opacity: .75; }
.nsx-card { position: absolute; inset: 0; touch-action: none; cursor: grab;
  background: url(/assets/img/swipe/card.webp) center / contain no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 26% 13% 20%; will-change: transform;
  filter: drop-shadow(0 18px 40px rgba(255,45,126,.35));
  transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s; }
.nsx-card.is-drag { transition: none; cursor: grabbing; }
.nsx-card.is-enter { animation: nsx-card-in .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes nsx-card-in { from { transform: translate(10px, 8px) rotate(3deg) scale(.97); opacity: .6; } }
.nsx-txt { font-family: "Noto Serif", Georgia, serif; font-weight: 700; color: #fff;
  font-size: clamp(1.3rem, 6.4vw, 1.9rem); line-height: 1.3;
  text-shadow: 0 0 18px rgba(255,45,126,.7); text-wrap: balance; }
.nsx-txt em { font-family: "Dancing Script", cursive; font-style: normal; font-weight: 700;
  color: #FF6FB5; font-size: 1.45em; line-height: 1; }

.nsx-stamp { position: absolute; top: 15%; padding: .3rem .8rem; border-radius: 10px; font-weight: 800;
  letter-spacing: .12em; font-size: 1rem; text-transform: uppercase; border: 3px solid; opacity: 0;
  pointer-events: none; }
.nsx-stamp--yes { left: 12%; color: #FF4F9A; border-color: #FF4F9A; transform: rotate(-14deg); }
.nsx-stamp--no { right: 12%; color: #fff; border-color: #fff; transform: rotate(14deg); }

.nsx-hint { margin: 14px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: #F7B6D2; }
.nsx-hint span { color: #FF2D7E; }

.nsx-foot { padding: 6px 18px max(18px, env(safe-area-inset-bottom)); }
.nsx-btns { display: flex; justify-content: center; gap: clamp(28px, 12vw, 64px); }
.nsx-b { border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 2px; color: #fff; transition: transform .15s; }
.nsx-b:active { transform: scale(.92); }
.nsx-b img { width: clamp(96px, 27vw, 124px); height: auto; filter: drop-shadow(0 6px 18px rgba(255,45,126,.45)); }
.nsx-b span { margin-top: -10px; padding: .32rem .9rem; border-radius: 999px; font-size: .72rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(30,6,20,.85); border: 1px solid rgba(255,90,160,.7); }

/* ---- pantallas de texto (turno, traspaso) ---- */
.nsx-panel { width: min(100%, 420px); text-align: center; }
.nsx-spark { width: 92px; height: auto; margin: 0 auto 10px; display: block;
  filter: drop-shadow(0 0 20px rgba(255,45,126,.6)); }
.nsx-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #FF4F9A; }
.nsx-h { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.12;
  font-size: clamp(1.9rem, 8vw, 2.6rem); margin: .5rem 0 .8rem; text-wrap: balance; }
.nsx-h b { color: #FF4F9A; }
.nsx-p { color: rgba(255,255,255,.82); line-height: 1.6; margin: 0 auto 1.4rem; max-width: 34ch; }
.nsx-go { width: min(100%, 420px); border: 0; cursor: pointer; padding: 1.05rem 1.4rem; border-radius: 999px;
  font: 800 1rem/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #9C27B0, #FF2D7E); box-shadow: 0 14px 40px -10px rgba(255,45,126,.75);
  display: block; margin: 0 auto; }
.nsx-go:active { transform: scale(.98); }
.nsx-ghost { width: min(100%, 420px); cursor: pointer; padding: .95rem 1.2rem; border-radius: 999px;
  font: 700 .95rem/1 Inter, sans-serif; color: #FFB6D5; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,90,160,.45); display: block; margin: .7rem auto 0; }
.nsx-count { font: 800 3.2rem/1 Inter, sans-serif; color: #fff; text-shadow: 0 0 24px rgba(255,45,126,.9); }

/* ---- coincidencias y resultado ---- */
.nsx-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0;
  padding: 0 18px; position: relative; z-index: 1; }
.nsx-scroll > * { max-width: 460px; margin-left: auto; margin-right: auto; }
.nsx-match-art { width: min(62vw, 260px); height: auto; display: block; margin: 0 auto -6px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  filter: drop-shadow(0 0 30px rgba(255,45,126,.5)); animation: nsx-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes nsx-pop { from { transform: scale(.6); opacity: 0; } }
.nsx-big { font: 900 clamp(2.4rem, 11vw, 3.3rem)/1 Inter, sans-serif; text-align: center; letter-spacing: .02em;
  text-shadow: 0 0 26px rgba(255,45,126,.8); margin: 0; }
.nsx-sub { text-align: center; color: rgba(255,255,255,.85); margin: .7rem auto 1.2rem; line-height: 1.5; }
.nsx-list { list-style: none; padding: 0; margin: 0 auto 1.2rem; display: grid; gap: .6rem; }
.nsx-list li { padding: .85rem 1rem; border-radius: 16px; background: rgba(30,6,20,.72);
  border: 1px solid rgba(255,90,160,.35); display: flex; gap: .8rem; align-items: center; line-height: 1.4; }
.nsx-list small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #FF4F9A; margin-bottom: .15rem; }
.nsx-check { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 2px solid #FF6FB5;
  display: grid; place-items: center; color: #FF6FB5; font-weight: 800; }

.nsx-ring { width: min(64vw, 250px); aspect-ratio: 1; margin: 6px auto 4px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; position: relative;
  background: radial-gradient(circle, rgba(255,45,126,.28), rgba(20,4,12,.85) 68%);
  box-shadow: 0 0 0 2px rgba(255,120,60,.7), 0 0 40px rgba(255,90,40,.55), inset 0 0 40px rgba(255,45,126,.35);
  animation: nsx-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.nsx-ring__k { font-size: .8rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.nsx-ring__s { font-family: "Dancing Script", cursive; font-weight: 700; color: #FF8CC6; font-size: 2.1rem; line-height: 1; }
.nsx-ring__n { font: 900 clamp(3rem, 15vw, 4.2rem)/1 Inter, sans-serif; }
.nsx-label { text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: #FFB6D5; margin: 1.1rem 0 .7rem; }
.nsx-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .4rem auto 1rem; }
.nsx-actions button { cursor: pointer; padding: 1rem .6rem; border-radius: 18px; font: 800 .86rem/1.2 Inter, sans-serif;
  letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.nsx-share { border: 2px solid #FF6FB5; background: linear-gradient(180deg, rgba(255,45,126,.32), rgba(80,10,40,.6)); }
.nsx-again { border: 1px solid rgba(255,90,160,.5); background: rgba(255,255,255,.04); color: #FFB6D5 !important; }
.nsx-app { margin: .6rem auto 1.2rem; padding: 1.1rem 1rem 1.2rem; border-radius: 20px; text-align: center;
  background: rgba(20,4,14,.8); border: 1px solid rgba(255,90,160,.3); }
.nsx-app h3 { font-family: "Playfair Display", Georgia, serif; margin: 0 0 .35rem; font-size: 1.25rem; }
.nsx-app p { margin: 0 0 .9rem; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.5; }
.nsx-exit { display: block; margin: 0 auto calc(18px + env(safe-area-inset-bottom)); background: none; border: 0;
  color: rgba(255,255,255,.6); font: 600 .9rem Inter, sans-serif; text-decoration: underline; cursor: pointer; padding: .6rem; }
.nsx-toast { position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 3; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(20,4,14,.92);
  border: 1px solid rgba(255,90,160,.5); font-size: .88rem; white-space: nowrap; animation: nsx-in .25s ease both; }


/* ---- botón neón, igual que el de la app (PassPhoneSolidButton) ---- */
.nsx-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: .7rem;
  width: min(100%, 440px); min-height: 58px; margin: 0 auto; padding: 0 1.4rem; border-radius: 999px; cursor: pointer;
  font: 900 1rem/1 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; border: 0;
  background: linear-gradient(180deg, #FF2D7E 0%, #73143a 45%, #0b0207 100%);
  box-shadow: 0 0 0 2px #FFC2E0 inset, 0 14px 40px -12px rgba(255,45,126,.9), 0 0 26px rgba(255,45,126,.45); }
.nsx-cta img { width: 30px; height: auto; }
.nsx-cta:active { transform: scale(.98); }
.nsx-cap { text-align: center; color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin: .9rem 0 0; }

/* ---- turno y traspaso (PassPhoneTemplate de la app) ---- */
.nsx-hand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nsx-game { margin: 2px 0 8px; color: #FF2D7E; font-size: .8rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.nsx-mini { display: flex; align-items: center; margin-bottom: 4px; }
.nsx-mini i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.nsx-mini i.done { background: #FF2D7E; }
.nsx-mini b { color: #FF2D7E; font-size: 15px; line-height: 1; }
.nsx-mini u { display: block; width: 26px; height: 2px; background: rgba(255,255,255,.25); text-decoration: none; }
.nsx-hero { width: min(58vw, 30vh, 250px); height: auto; margin: 4px auto 0;
  filter: drop-shadow(0 0 30px rgba(255,45,126,.45)); animation: nsx-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.nsx-ht { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .5rem 0 .2rem;
  font: 900 clamp(1.45rem, 7vw, 2rem)/1.1 Inter, sans-serif; text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 0 26px rgba(255,45,126,.6); }
.nsx-ht i { color: #FF2D7E; font-style: normal; font-size: .55em; }
.nsx-to { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .3rem 0 1rem;
  font: 800 clamp(1.25rem, 6vw, 1.6rem)/1.2 Inter, sans-serif; }
.nsx-to img { width: 52px; height: auto; }
.nsx-to b { color: #FF2D7E; }
.nsx-info { display: flex; align-items: center; gap: .8rem; width: min(100%, 440px); text-align: left; box-sizing: border-box;
  padding: .9rem 1rem; border-radius: 16px; background: rgba(22,8,16,.72); border: 1px solid rgba(255,45,126,.3); }
.nsx-info svg { flex: 0 0 22px; width: 22px; height: 22px; color: #FF2D7E; }
.nsx-info strong { display: block; font-size: .9rem; line-height: 1.3; }
.nsx-info span { display: block; color: rgba(255,111,170,.9); font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.nsx-ring2 { width: 94px; height: 94px; margin: 1.2rem auto .2rem; border-radius: 50%; border: 3px solid #FF2D7E;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(60,8,30,.55); box-shadow: 0 0 26px rgba(255,45,126,.45); }
.nsx-ring2 small { font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,111,170,.9); }
.nsx-ring2 b { font: 900 2.2rem/1 Inter, sans-serif; }

/* ---- la portada del juego, dentro de la página ---- */
.nss { position: relative; overflow: hidden; text-align: center; padding: 1.6rem 1.2rem 1.4rem;
  border-radius: 28px; border: 1px solid rgba(255,90,160,.35); color: #fff;
  background: linear-gradient(180deg, rgba(7,2,10,.25), rgba(7,2,10,.92) 62%), url(/assets/img/swipe/bg-light.webp) center top / cover;
  box-shadow: 0 30px 80px -30px rgba(255,45,126,.55); }
.nss--spicy { background-image: linear-gradient(180deg, rgba(7,2,10,.25), rgba(7,2,10,.92) 62%), url(/assets/img/swipe/bg-spicy.webp); }
.nss-hero { height: clamp(250px, 64vw, 330px); display: grid; place-items: center; margin-bottom: .4rem; }
.nss-fan { position: relative; width: clamp(150px, 40vw, 200px); aspect-ratio: 600 / 895; }
.nss-c { position: absolute; inset: 0; background: url(/assets/img/swipe/card.webp) center / contain no-repeat;
  filter: drop-shadow(0 14px 30px rgba(255,45,126,.4)); }
.nss-c--l { transform: rotate(-12deg) translate(-34%, 4%) scale(.9); opacity: .55; animation: nss-l 6s ease-in-out infinite alternate; }
.nss-c--r { transform: rotate(12deg) translate(34%, 4%) scale(.9); opacity: .55; animation: nss-r 6s ease-in-out infinite alternate; }
.nss-c--f { display: flex; align-items: center; justify-content: center; padding: 30% 14% 22%;
  animation: nss-f 6s ease-in-out infinite alternate; }
.nss-c--f .nsx-txt { font-size: clamp(.82rem, 3.6vw, 1.02rem); }
@keyframes nss-l { to { transform: rotate(-15deg) translate(-38%, 6%) scale(.9); } }
@keyframes nss-r { to { transform: rotate(15deg) translate(38%, 6%) scale(.9); } }
@keyframes nss-f { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-8px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .nss-c { animation: none !important; } }
.nss-title { font: 900 clamp(2rem, 9vw, 2.8rem)/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: .02em;
  margin: .2rem 0 .5rem; color: #fff; text-shadow: 0 0 30px rgba(255,45,126,.55); }
.nss-tag { color: #FF4F9A; font-weight: 700; font-size: 1.05rem; line-height: 1.4; margin: 0 auto .9rem; max-width: 30ch; }
.nss-sub { color: #fff; font-weight: 600; font-size: 1.05rem; margin: -.4rem auto .9rem; }
.nss-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem .3rem;
  font-weight: 800; font-size: clamp(.76rem, 3.3vw, .95rem); margin-bottom: .9rem; }
.nss-steps span { white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.nss-steps svg { width: 17px; height: 17px; color: #FF2D7E; }
.nss-steps i { color: rgba(255,255,255,.4); font-style: normal; }
.nss-lead { color: rgba(255,255,255,.78); line-height: 1.6; margin: 0 auto 1.3rem; max-width: 40ch; font-size: .95rem; }
.nss-names { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; text-align: left; margin-bottom: 1.2rem; }
@media (max-width: 420px) { .nss-names { grid-template-columns: 1fr; } }
.nss-names span, .nss-label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #FF4F9A; margin: 0 0 .4rem; }
.nss-label { text-align: left; }
.nss-names input { width: 100%; box-sizing: border-box; padding: .9rem 1rem; border-radius: 14px; font: 600 1rem Inter, sans-serif;
  color: #fff; background: rgba(10,3,8,.75); border: 1px solid rgba(255,90,160,.35); outline: none; }
.nss-names input:focus { border-color: #FF2D7E; box-shadow: 0 0 0 3px rgba(255,45,126,.25); }
.nss-lvls { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-bottom: 1.2rem; }
@media (max-width: 520px) { .nss-lvls { grid-template-columns: repeat(2, 1fr); } }
.nss-lvl { cursor: pointer; padding: .7rem .4rem .8rem; border-radius: 18px; color: #fff; text-align: center; font-family: Inter, sans-serif;
  background: rgba(10,3,8,.7); border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, box-shadow .2s, transform .15s; }
.nss-lvl img { width: 64px; height: auto; display: block; margin: 0 auto .35rem; }
.nss-lvl b { display: block; font-size: .95rem; }
.nss-lvl small { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-top: .15rem;
  font-size: .74rem; color: rgba(255,255,255,.65); }
.nss-lvl small svg { width: 11px; height: 11px; }
.nss-lvl.is-on { border-color: #FF2D7E; box-shadow: 0 0 0 2px rgba(255,45,126,.45), 0 0 24px rgba(255,45,126,.35); }
.nss-lvl.is-lock img { filter: grayscale(.35) brightness(.7); }
.nss-lvl:active { transform: scale(.97); }
.nss .nsx-cta { margin-top: .2rem; }
.nss-priv { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .9rem 0 0;
  color: rgba(255,255,255,.55); font-size: .8rem; }
.nss-priv svg { width: 13px; height: 13px; flex: 0 0 13px; }
.nss .nmd-locked { text-align: left; margin-bottom: 1rem; }

/* etiquetas de los nombres en blanco; candado como insignia sobre la gema; botón en minúscula */
.nss-names span { color: #fff; letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 600; }
.nss-lvl { position: relative; }
.nss-lock { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(20,4,14,.9); border: 1px solid rgba(255,90,160,.5); color: #FF4F9A; }
.nss-lock svg { width: 13px; height: 13px; }
.nss .nsx-cta { text-transform: none; letter-spacing: .01em; font-size: clamp(.9rem, 3.9vw, 1.08rem); font-weight: 800;
  padding: 0 .9rem; gap: .55rem; white-space: nowrap; }
.nss .nsx-cta img { width: 24px; }

/* ==== Juego de adivinar (assets/js/demo.js): pantallas de Quick Sparks en la app ==== */
.nsx-cta:disabled { opacity: .45; cursor: default; box-shadow: 0 0 0 1px rgba(255,194,224,.4) inset; }
.nqs-rounds { display: flex; gap: 8px; }
.nqs-rounds i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 .8rem Inter, sans-serif;
  font-style: normal; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.3); background: rgba(10,3,8,.6); }
.nqs-rounds i.done { background: #FF2D7E; border-color: #FF2D7E; color: #fff; }
.nqs-rounds i.on { background: #FF2D7E; border-color: #FFC2E0; color: #fff; box-shadow: 0 0 0 3px rgba(255,45,126,.35), 0 0 16px rgba(255,45,126,.7); }
.nsx-top .nsx-pill--lvl { margin-left: auto; }
.nsx-top:has(.nqs-rounds) { justify-content: flex-start; padding-left: 70px; }

.nqs-q { text-align: center; }
.nqs-sub { display: flex; align-items: center; justify-content: center; gap: .35rem; margin: 0 0 .7rem; color: #FF6FAA; font-weight: 700; font-size: .92rem; }
.nqs-sub svg, .nqs-subt svg { width: 14px; height: 14px; color: #FF2D7E; flex: 0 0 14px; }
.nqs-sub b { color: #fff; }
.nqs-text { font-family: Inter, sans-serif; font-weight: 800; font-size: clamp(1.25rem, 5.6vw, 1.6rem); line-height: 1.3;
  margin: 0 auto; max-width: 30ch; text-wrap: balance; text-shadow: 0 0 22px rgba(255,45,126,.35); }
.nqs-text strong { color: #FF2D7E; }
.nqs-text em { font-family: "Dancing Script", cursive; font-style: normal; font-weight: 700; color: #FF6FB5; font-size: 1.35em; }
.nqs-div { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .9rem auto .5rem; color: #FF2D7E; }
.nqs-div i { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,45,126,.7), transparent); }
.nqs-div svg { width: 18px; height: 18px; filter: drop-shadow(0 0 8px rgba(255,45,126,.8)); }
.nqs-hint { color: rgba(255,255,255,.6); font-size: .86rem; margin: 0 0 .9rem; }
.nqs-hint b { color: #FF4F9A; }
.nqs-opts { display: grid; gap: .6rem; text-align: left; margin-bottom: 1rem; }
.nqs-opt { display: flex; align-items: center; gap: .8rem; width: 100%; cursor: pointer; padding: .85rem 1rem; border-radius: 16px;
  font: 500 .98rem/1.4 Inter, sans-serif; color: #fff; text-align: left;
  background: rgba(22,6,16,.78); border: 1px solid rgba(255,255,255,.14); transition: border-color .15s, box-shadow .15s, transform .1s; }
.nqs-opt span { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(255,45,126,.7); color: transparent; }
.nqs-opt span svg { width: 16px; height: 16px; }
.nqs-opt:active { transform: scale(.99); }
.nqs-opt.is-on { border-color: #FF2D7E; background: rgba(90,10,45,.7); box-shadow: 0 0 0 1px #FF2D7E, 0 0 22px rgba(255,45,126,.35); }
.nqs-opt.is-on span { background: #FF2D7E; border-color: #FF2D7E; color: #fff; }

.nqs-rev { text-align: center; }
.nqs-art { width: min(64vw, 270px); height: auto; display: block; margin: 0 auto -4px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  filter: drop-shadow(0 0 30px rgba(255,45,126,.5)); animation: nsx-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.nqs-art.is-miss { filter: none; opacity: .9; }
.nqs-big { font: 900 clamp(1.6rem, 7.6vw, 2.2rem)/1.1 Inter, sans-serif; text-transform: uppercase; margin: .2rem 0 .4rem;
  text-shadow: 0 0 26px rgba(255,45,126,.7); }
.nqs-subt { display: flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 700; margin: 0 0 1rem; }
.nqs-quote { position: relative; margin: 0 auto 1rem; padding: .9rem 1.6rem; border-radius: 16px; max-width: 420px;
  background: rgba(22,6,16,.78); border: 1px solid rgba(255,45,126,.35); font-size: 1rem; line-height: 1.45; }
.nqs-quote::before, .nqs-quote::after { position: absolute; top: .3rem; color: #FF2D7E; font: 900 1.6rem Georgia, serif; }
.nqs-quote::before { content: "“"; left: .6rem; }
.nqs-quote::after { content: "”"; right: .6rem; }
.nqs-pair2 { display: grid; gap: .6rem; text-align: left; max-width: 440px; margin: 0 auto 1rem; }
.nqs-pair2 > div { padding: .8rem 1rem; border-radius: 16px; background: rgba(22,6,16,.78); border: 1px solid rgba(255,255,255,.14); line-height: 1.4; }
.nqs-pair2 > div.is-real { border-color: rgba(255,45,126,.55); }
.nqs-pair2 small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FF4F9A; margin-bottom: .2rem; }
.nqs-stats { display: grid; grid-template-columns: 1fr 1fr; max-width: 420px; margin: 0 auto 1rem; border-radius: 18px;
  background: rgba(22,6,16,.78); border: 1px solid rgba(255,45,126,.3); }
.nqs-stats > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6rem;
  align-items: center; padding: .8rem 1rem; text-align: left; }
.nqs-stats > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.nqs-stats svg { grid-row: span 2; width: 34px; height: 34px; color: #FF2D7E; filter: drop-shadow(0 0 10px rgba(255,45,126,.7)); }
.nqs-stats b { font: 900 1.45rem/1 Inter, sans-serif; }
.nqs-stats small { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FF6FAA; }

.nqs-res { position: relative; width: min(74vw, 300px); margin: 0 auto; display: grid; place-items: center;
  animation: nsx-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.nqs-res img { width: 100%; height: auto; grid-area: 1 / 1; filter: drop-shadow(0 0 34px rgba(255,45,126,.55)); }
.nqs-res > div { grid-area: 1 / 1; text-align: center; margin-top: -6%; position: relative; z-index: 1;
  text-shadow: 0 2px 18px rgba(60,0,25,.85); }

/* portada del juego de adivinar */
.nss-hero--qs { height: clamp(210px, 56vw, 290px); }
.nqs-heart { width: clamp(190px, 50vw, 260px); height: auto; filter: drop-shadow(0 0 40px rgba(255,45,126,.55));
  animation: nqs-beat 3.2s ease-in-out infinite; }
@keyframes nqs-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(1); } 36% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .nqs-heart { animation: none; } }
.nqs-pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1.2rem; }
.nqs-pair { cursor: pointer; padding: 0 0 .55rem; border-radius: 16px; overflow: hidden; color: #fff; font: 700 .82rem Inter, sans-serif;
  background: rgba(10,3,8,.7); border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, box-shadow .2s; }
.nqs-pair img { width: 100%; height: auto; display: block; aspect-ratio: 760 / 570; object-fit: cover; margin-bottom: .45rem; }
.nqs-pair.is-on { border-color: #FF2D7E; box-shadow: 0 0 0 2px rgba(255,45,126,.45), 0 0 20px rgba(255,45,126,.3); }

/* nombres y perfil de cada uno (juego de adivinar), como la configuración de pareja de la app */
.ngd-p { text-align: left; margin-bottom: 1rem; }
.ngd-p span { display: block; color: #fff; font-size: .9rem; font-weight: 600; margin: 0 0 .4rem; }
.ngd-p input { width: 100%; box-sizing: border-box; padding: .9rem 1rem; border-radius: 14px; font: 600 1rem Inter, sans-serif;
  color: #fff; background: rgba(10,3,8,.75); border: 1px solid rgba(255,90,160,.35); outline: none; }
.ngd-p input:focus { border-color: #FF2D7E; box-shadow: 0 0 0 3px rgba(255,45,126,.25); }
.ngd-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
.ngd-card { position: relative; cursor: pointer; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1.45;
  background: #0b0207; border: 1px solid rgba(255,255,255,.16); transition: border-color .2s, box-shadow .2s; }
.ngd-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.6); transition: opacity .2s, filter .2s; }
.ngd-card b { position: absolute; left: 0; right: 0; bottom: .55rem; font: 800 1.05rem Inter, sans-serif; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.ngd-card.is-on { border: 2px solid #FF6FB5; box-shadow: 0 0 0 2px rgba(255,45,126,.35), 0 0 24px rgba(255,45,126,.4); }
.ngd-card.is-on img { opacity: 1; filter: none; }
.ngd-card.is-on b { color: #FF8CC6; }
.ngd-card.is-on::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: #FF2D7E; color: #fff; font: 900 .85rem Inter, sans-serif; }
.ngd-hero { display: block; width: min(60%, 220px); height: auto; margin: -.2rem auto 1.1rem; border-radius: 20px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); }
