/* POLI-QUESITOS · ALBA. Juego independiente y accesible, 5 quesitos / 45 temas. */
body.opo-quesitos-page{
  margin:0;
  background:#0a192a;
  color:#e7f0fa;
  font:16px/1.58 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body.opo-quesitos-page :where(button,a){-webkit-tap-highlight-color:transparent}
body.opo-quesitos-page :where(button,a):focus-visible{
  outline:3px solid #f4cf7a;
  outline-offset:3px;
}
body.opo-quesitos-page [hidden]{display:none!important}
.opo-main{width:min(100%,1080px);box-sizing:border-box;margin:0 auto;padding:clamp(16px,3vw,42px)}
.opo-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.opo-back,.opo-rules-open,.opo-reset{
  border:1px solid #526c87;border-radius:12px;background:#182e46;
  color:#f4d18c;padding:10px 17px;font-size:.95rem;font-weight:750;
  text-decoration:none;cursor:pointer;min-height:44px;
}
.opo-back:hover,.opo-rules-open:hover,.opo-reset:hover{background:#27435f;color:#fff4d8}
.opo-heading{text-align:center;margin:15px auto 23px;max-width:760px}
.opo-kicker{color:#f3d9a1;font-size:.78rem;letter-spacing:.21em;font-weight:850;margin:0 0 7px}
.opo-heading h1{
  color:#fff;font-size:clamp(2rem,4.2vw,3rem);font-weight:850;
  line-height:1.15;letter-spacing:-.03em;margin:0;
}
.opo-heading h1 span{color:#eac67e}
.opo-heading>p:last-child{color:#c6d9e8;margin:10px auto 0;max-width:59ch}
.opo-board{
  max-width:860px;margin:0 auto;
  padding:clamp(17px,3vw,34px);
  border-radius:23px;border:1px solid #6b819a;
  background:linear-gradient(180deg,#f9fbfe 0%,#f4f7fc 100%);
  box-shadow:0 18px 48px #020a166b;
  color:#243246;
}
.opo-stage{text-align:center}
.opo-stage-heading{margin:0 0 5px;color:#213b61;font-size:1.2rem}
.opo-stage-subtitle{margin:0 0 9px;color:#64738a;font-size:.92rem}
.opo-wheel-shell{position:relative;width:min(100%,310px);aspect-ratio:1;margin:7px auto 6px}
.opo-wheel-pointer{
  position:absolute;z-index:5;top:-3px;left:50%;transform:translateX(-50%);
  width:0;height:0;
  border-left:12px solid transparent;border-right:12px solid transparent;
  border-top:19px solid #132d51;
  filter:drop-shadow(0 3px 3px #29436575);
}
.opo-wheel{
  display:block;width:100%;height:100%;
  transform-origin:center;
  transition:transform 1.05s cubic-bezier(.15,.55,.13,1.04);
  filter:drop-shadow(0 4px 9px #0f33612e);
}
.opo-sector{
  fill:#eff2f8;
  stroke:var(--sector-color);
  stroke-width:2.6px;
  transition:fill .26s ease,filter .26s ease,stroke-width .26s ease;
}
.opo-sector.opo-sector-earned{fill:var(--sector-color);stroke-width:3px}
.opo-sector.opo-sector-current{stroke-width:5px;filter:brightness(1.05)}
.opo-wheel-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:95px;height:95px;border-radius:50%;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  border:1px solid #d6deea;
  background:#fff;box-shadow:0 1px 5px #1a2e4b26;
  color:#283447;z-index:2;
}
.opo-wheel-center strong{font-size:clamp(1.65rem,3vw,2rem);line-height:1.04}
.opo-wheel-center small{color:#7a8aa0;font-size:.68rem;text-transform:uppercase;letter-spacing:.05em}
.opo-legend{
  list-style:none;
  padding:0;
  margin:13px auto 13px;
  max-width:650px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 13px;
  text-align:left;
}
.opo-legend-item{
  display:flex;align-items:center;gap:9px;
  min-height:44px;padding:8px 11px;box-sizing:border-box;
  background:#fff;border:1px solid #e2e8f0;
  border-radius:9px;font-size:.85rem;
  transition:border-color .15s,background .15s;
}
.opo-legend-item.opo-legend-current{background:#edf4ff;border-color:#94b1df}
.opo-legend-item.opo-legend-earned{border-color:#b9d6c3;background:#f5fff7}
.opo-legend-dot{
  display:inline-block;flex:none;width:11px;height:11px;
  border-radius:50%;background:var(--area-color);
  box-shadow:0 0 0 2px #fff,0 0 0 3px #dce5f1;
}
.opo-legend-label{flex:1;min-width:0;font-weight:650;color:#26364b}
.opo-legend-status{flex:none;color:#66788e;font-size:.75rem}
.opo-legend-earned .opo-legend-status{color:#177448;font-weight:750}
.opo-controls{display:flex;gap:11px;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:18px}
.opo-primary{
  appearance:none;border:0;border-radius:12px;min-height:47px;
  background:linear-gradient(115deg,#2965db,#348edb);
  padding:11px 22px;color:white;font:inherit;
  font-size:1rem;font-weight:800;line-height:1.25;box-shadow:0 6px 18px #2965db3f;cursor:pointer;
  transition:filter .15s,transform .15s;
}
.opo-primary:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}
.opo-primary:disabled{opacity:.56;cursor:default}
.opo-quiet{font-size:.84rem;color:#607189;font-weight:600}
.opo-message{margin:15px auto 6px;color:#536b86;font-size:.93rem;max-width:60ch}
.opo-message[data-kind="error"]{color:#ad1f34;font-weight:800}
.opo-message[data-kind="success"]{color:#20764a;font-weight:800}
.opo-question-card{
  margin:29px auto 0;
  padding:clamp(16px,3vw,27px);
  text-align:left;
  border-radius:17px;
  border:1px solid #d7e1ef;
  background:#fff;box-shadow:0 8px 23px #223a5e12;
}
.opo-category-badge{
  display:inline-block;color:white;font-weight:850;
  font-size:.78rem;border-radius:999px;
  padding:4px 13px;margin:0 0 13px;
}
.opo-question-card h2{
  color:#203049;font-size:clamp(1.15rem,2.4vw,1.52rem);
  margin:0 0 10px;line-height:1.48;
}
.opo-question-meta{margin:0 0 16px;font-size:.82rem;color:#66819d}
.opo-answer-list{display:grid;gap:9px}
.opo-answer{
  display:flex;align-items:flex-start;gap:12px;width:100%;
  border:1px solid #dce4f0;border-radius:9px;
  background:#fdfefe;color:#2d3950;
  text-align:left;font:inherit;line-height:1.44;
  padding:13px 15px;cursor:pointer;
}
.opo-answer:not(:disabled):hover{background:#f1f7ff;border-color:#7ca7db}
.opo-answer:disabled{cursor:default;opacity:1}
.opo-answer-letter{
  flex:0 0 29px;height:29px;border-radius:7px;
  display:inline-grid;place-items:center;
  background:#ebf1fa;color:#50657e;
  font-size:.85rem;font-weight:850;
}
.opo-answer.opo-answer-correct{background:#e2f8ec;border-color:#29b76a;color:#173b2c}
.opo-answer.opo-answer-correct .opo-answer-letter{background:#18a861;color:white}
.opo-answer.opo-answer-wrong{background:#ffedef;border-color:#dc6069;color:#60242d}
.opo-answer.opo-answer-wrong .opo-answer-letter{background:#d64c5d;color:white}
.opo-feedback{font-weight:750;border-radius:9px;padding:12px 15px;margin:13px 0 0}
.opo-feedback[data-kind="correct"]{background:#e6faef;color:#186740}
.opo-feedback[data-kind="wrong"]{background:#ffedf1;color:#ac2037}
.opo-explanation{border-left:3px solid #6990bd;background:#f0f5fc;color:#41536a;padding:11px 15px;margin:12px 0 0}
.opo-explanation p{margin:4px 0 6px;line-height:1.55}
.opo-explanation small{font-size:.8rem;overflow-wrap:anywhere}
.opo-next-wrap{display:flex;justify-content:flex-end;margin-top:18px}
.opo-finish{
  background:linear-gradient(145deg,#e9fff0,#f6fcf6);
  padding:22px;border:1px solid #82c9a0;border-radius:15px;text-align:center;margin:26px auto 0;
}
.opo-finish h2{color:#16784c;margin:0 0 7px;font-size:clamp(1.3rem,3vw,1.9rem)}
.opo-finish p{color:#375d4e}
.opo-bottom{text-align:center;margin:18px auto 0;color:#a9bed1;font-size:.86rem}
.opo-bottom a{color:#f6d79a}
.opo-modal{
  position:fixed;inset:0;z-index:1500;
  display:grid;place-items:center;
  padding:20px;
  background:#010810b8;
  box-sizing:border-box;
}
.opo-modal-card{
  background:white;color:#253042;
  max-width:520px;width:100%;
  border-radius:14px;box-sizing:border-box;
  padding:clamp(20px,4vw,28px);
  box-shadow:0 24px 70px #0007;
  position:relative;
  max-height:calc(100vh - 40px);overflow-y:auto;
}
.opo-modal-card h2{margin:0 25px 10px 0;font-size:1.35rem}
.opo-modal-card p{color:#5d6979;line-height:1.54}
.opo-modal-card ul{padding-left:23px;color:#657184}
.opo-modal-card li{margin:0 0 10px;line-height:1.55}
.opo-modal-card li::marker{color:#6684ae}
.opo-modal-close{
  position:absolute;right:13px;top:11px;min-width:34px;min-height:34px;border:0;
  background:transparent;color:#556274;font-size:1.4rem;cursor:pointer;
}
.opo-modal-card .opo-primary{width:100%;margin-top:9px}
@media(min-width:1050px){
  .opo-legend{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px){
  .opo-main{padding:16px 13px 28px}
  .opo-board{padding:18px 13px;border-radius:17px}
  .opo-legend{grid-template-columns:1fr 1fr;gap:7px}
  .opo-legend-item{padding:7px;gap:6px;flex-wrap:wrap;align-content:center}
  .opo-legend-status{width:100%;padding-left:17px}
}
@media(max-width:430px){
  .opo-legend{grid-template-columns:1fr}
  .opo-legend-item{flex-wrap:nowrap}
  .opo-legend-status{width:auto;padding-left:0}
  .opo-wheel-shell{max-width:280px}
  .opo-answer{padding:12px 10px}
  .opo-controls{flex-direction:column}
  .opo-controls button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .opo-wheel,.opo-sector,.opo-primary,.opo-legend-item{transition:none!important}
}

/* Preguntas con palabras o referencias largas sin desbordamiento en móviles. */
.opo-question-card h2,.opo-answer>span:last-child,.opo-explanation{overflow-wrap:anywhere;min-width:0}
