/* ---------------------------------------------------------------- OPCIONES (options.js) */
#options { background: radial-gradient(ellipse at 50% 30%, rgba(42,58,110,.42) 0%, rgba(8,10,24,.8) 60%, rgba(5,7,16,.92) 100%); }
.op-box { width: min(860px, 94vw); padding: 18px 20px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.op-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.op-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px 9px 22px;
  background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 2px rgba(59,76,134,.55); cursor: pointer; min-height: 38px; box-sizing: border-box; }
.op-row.sel { background: rgba(255,216,74,.1); box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 2px #000; }
/* flecha pixel del seleccionado, como en el menú */
.op-row.sel::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 10px; margin-top: -5px; background: var(--gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%); animation: op-nudge .6s steps(2) infinite; }
@keyframes op-nudge { 50% { transform: translateX(2px); } }
.op-lbl { font-size: 9px; line-height: 1.6; letter-spacing: 1px; color: var(--ink); text-shadow: 2px 2px 0 #000; }
.op-row.sel .op-lbl { color: var(--gold); }
.op-val { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.op-val button { font: inherit; font-family: "Press Start 2P", monospace; cursor: pointer; border: 0; }
/* opciones de una lista: casillas, la activa en dorado */
.op-seg { display: inline-flex; gap: 4px; }
.op-seg button { font-size: 8px; padding: 6px 8px; color: var(--dim); background: #0a0d20; box-shadow: 0 0 0 2px #000, inset 0 0 0 1px #2d3b66; letter-spacing: 1px; }
.op-seg button:hover { color: #fff; }
.op-seg button.on { color: #1a1a1a; background: var(--gold); box-shadow: 0 0 0 2px #000, inset 0 -3px 0 var(--gold-d); }
/* volumen: 10 bloques */
.op-vol { display: inline-flex; gap: 2px; }
.op-vol i { width: 8px; height: 14px; background: #0a0d20; box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #2d3b66; cursor: pointer; }
.op-vol i.on { background: var(--gold); box-shadow: 0 0 0 1px #000, inset 0 -3px 0 var(--gold-d); }
.op-val output { font-size: 8px; min-width: 36px; text-align: right; color: var(--ink); cursor: pointer; }
/* valor con flechas (CPU, idioma) */
.op-arr { font-size: 8px; padding: 5px 6px; color: var(--gold); background: transparent; }
.op-arr:hover { color: #fff; }
.op-txt { font-size: 8px; min-width: 96px; text-align: center; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.op-flag svg { width: 18px; height: 12px; display: block; box-shadow: 0 0 0 1px #000; }
.op-apply { font-size: 7px; padding: 5px 7px; color: #1a1a1a; background: #7fd0ff; box-shadow: 0 0 0 2px #000, inset 0 -3px 0 #2a7aa8; animation: blink 1s steps(2) infinite; }
.op-load { font-size: 7px; color: var(--dim); }
/* vista previa: el mismo luchador en los dos estilos */
.op-pv { display: flex; flex-direction: column; gap: 10px; cursor: pointer; }
.op-pv figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; background: rgba(0,0,0,.35);
  box-shadow: inset 0 0 0 2px #2d3b66; opacity: .55; transition: opacity .15s; }
.op-pv figure.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 2px #000; }
.op-pv canvas { width: 180px; height: 135px; image-rendering: pixelated; background: transparent;
  background-image: linear-gradient(180deg, transparent 88%, rgba(159,179,230,.12) 88%); }
.op-pv figcaption { font-size: 8px; letter-spacing: 2px; color: var(--dim); }
.op-pv figure.on figcaption { color: var(--gold); }

@media (max-width: 760px) {
  .op-box { grid-template-columns: 1fr; padding: 12px; }
  .op-pv { flex-direction: row; justify-content: center; }
  .op-pv canvas { width: 132px; height: 99px; }
  .op-row { grid-template-columns: 1fr; gap: 6px; }
  .op-val { justify-content: flex-start; }
}
/* versión del juego, discreta abajo a la izquierda de OPCIONES (a la derecha está el botón de volumen) */
.op-ver { position: absolute; left: 10px; bottom: 6px; font-size: 9px; letter-spacing: 1px; color: #6b7392; opacity: .55; pointer-events: none; }
