/* 10 preguntas para ganar — estética de concurso nocturno (azul profundo + oro). */
.diez-hero .orb-1 {
  background: #3b2bd1;
}
.rules {
  padding-left: 1.2em;
}
.rules li {
  margin-bottom: 0.7em;
  color: #d6d0e4;
}
.ranking {
  list-style: none;
  counter-reset: r;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ranking li {
  counter-increment: r;
  display: flex;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
}
.ranking li span::before {
  content: counter(r) '. ';
  color: var(--amber);
  font-weight: 700;
}
.diez-demo .demo-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.demo-opts span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: linear-gradient(180deg, #152468, #0b1440);
  font-size: 0.85rem;
  font-weight: 600;
}
.demo-opts span.on {
  background: linear-gradient(180deg, #ffb800, #e07b00);
  color: #1a0f00;
}

/* ---------- TV ---------- */
.tv-big {
  font: 700 clamp(1.2rem, 2.4vw, 2rem) var(--font-display);
}
.diez-tv {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 18%);
  gap: clamp(10px, 1.4cqi, 22px);
  min-height: 0;
  overflow: hidden;
  container-type: size;
}
.diez-main {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2cqi, 16px);
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
}
.diez-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.diez-head > div {
  display: flex;
  flex-direction: column;
}
.diez-head .center {
  align-items: center;
}
.diez-head .right {
  align-items: flex-end;
}
.diez-head b {
  font: 800 clamp(1.05rem, 2.2cqi, 2rem) var(--font-display);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-box {
  text-align: center;
  font: 700 clamp(1.15rem, 2.6cqi, 2.2rem) / 1.2 var(--font-display);
  padding: clamp(10px, 1.8cqi, 22px) clamp(12px, 2.4cqi, 32px);
  max-height: 32%;
  overflow: hidden;
  overflow-wrap: anywhere;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #172a7a, #0b1546);
  border: 3px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}
.opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 18px);
}
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: clamp(40px, 7cqh, 72px);
  min-width: 0;
  padding: 8px clamp(12px, 1.8cqi, 22px);
  overflow-wrap: anywhere;
  border-radius: var(--pill);
  background: linear-gradient(180deg, #152468, #0b1440);
  border: 3px solid rgba(0, 229, 255, 0.45);
  color: #fff;
  font: 700 clamp(1rem, 2vw, 1.9rem) / 1.2 var(--font);
  text-align: left;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
button.opt {
  cursor: pointer;
  width: 100%;
}
button.opt:active {
  transform: scale(0.98);
}
.opt .l {
  color: var(--amber);
  font: 800 1.1em var(--font-display);
  flex: none;
}
.opt.gone {
  opacity: 0.25;
  border-style: dashed;
}
.opt.picked {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.3);
}
.opt.locked {
  background: linear-gradient(180deg, #ffb800, #e07b00);
  color: #1a0f00;
  border-color: #ffd66b;
  animation: lockPulse 1s ease-in-out infinite;
}
.opt.locked .l {
  color: #1a0f00;
}
.opt.right {
  background: linear-gradient(180deg, #23c483, #0f8a58);
  border-color: #8ff5c9;
  color: #fff;
  animation: rightFlash 0.5s steps(2) 4;
}
.opt.right .l {
  color: #fff;
}
.opt.wrong {
  background: linear-gradient(180deg, #d63a3a, #8f1d1d);
  border-color: #ff9b9b;
  animation: none;
}
.opt.key {
  border-color: var(--green);
  box-shadow: inset 0 0 0 2px var(--green);
}
.opt.key .t::after {
  content: ' ✓';
  color: var(--green);
}
@keyframes lockPulse {
  50% {
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.6);
  }
}
@keyframes rightFlash {
  50% {
    filter: brightness(1.5);
  }
}
.lifelines {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ll {
  border-radius: var(--pill);
  padding: 10px 18px;
  border: 2px solid rgba(255, 184, 0, 0.6);
  background: rgba(255, 184, 0, 0.1);
  color: var(--amber-2);
  font: 700 clamp(0.9rem, 1.4vw, 1.2rem) var(--font-display);
}
button.ll {
  cursor: pointer;
}
.ll.used {
  opacity: 0.3;
  text-decoration: line-through;
}
.ll.armed {
  background: var(--green);
  border-color: var(--green);
  color: #00261a;
  opacity: 1;
  text-decoration: none;
}
.result {
  text-align: center;
  font: 700 clamp(1.1rem, 2.4vw, 2rem) var(--font-display);
  padding: 12px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  margin-top: 10px;
}
.result b {
  color: var(--amber);
}
.r-correct,
.r-won {
  border-color: var(--green);
}
.r-wrong {
  border-color: var(--red);
}
.r-forgiven {
  border-color: var(--amber);
}
.call-timer {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 28px;
  border-radius: var(--pill);
  background: rgba(255, 184, 0, 0.15);
  border: 2px solid var(--amber);
  font: 700 1.4rem var(--font-display);
  z-index: 20;
}
.call-timer b {
  font-size: 2.2rem;
  color: var(--amber);
  min-width: 2ch;
  text-align: center;
}
.ladder {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  justify-content: space-evenly;
}
.ladder li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(2px, 0.55cqh, 7px) 10px;
  border-radius: var(--pill);
  font: 700 clamp(0.68rem, 1.15cqi, 1.05rem) var(--font-display);
  color: var(--muted);
}
.ladder li span {
  opacity: 0.7;
}
.ladder li.safe {
  color: #fff;
}
.ladder li.safe b::after {
  content: ' 🔒';
  font-size: 0.75em;
}
.ladder li.done {
  color: var(--green);
}
.ladder li.now {
  background: linear-gradient(90deg, #ffb800, #e07b00);
  color: #1a0f00;
}
.diez-side {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 8px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Celulares ---------- */
.diez-mc-head {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 12px;
}
.diez-mc-head span {
  display: block;
  font-size: 0.78rem;
}
.diez-mc-head b {
  font: 800 1.15rem var(--font-display);
}
body.handset .opts,
body.phone .opts {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) and (orientation: landscape) {
  body.handset .opts,
  body.phone .opts {
    grid-template-columns: 1fr 1fr;
  }
  body.handset.diez .g-wrap,
  body.phone.diez .g-wrap {
    width: calc(100% - 16px);
    max-width: 1280px;
  }
  body.handset.diez .mc-desk,
  body.phone.diez .mc-desk {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
  }
}
body.handset .opt,
body.phone .opt {
  min-height: 58px;
  font-size: 1.05rem;
  border-radius: var(--r);
}
.mc-q {
  font: 700 1.15rem/1.3 var(--font-display);
  text-align: center;
  margin: 8px 0 14px;
}
body.handset details summary,
body.phone details summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 900px) {
  .diez-tv {
    grid-template-columns: 1fr;
  }
  .diez-side {
    display: none;
  }
}
