/* Nexo · gemelo digital del ordenador (public/js/gemelo.js, 2026-11-06).
   Lo genérico del motor está en gemelo-motor.css (compartido con RedTutor, 2026-11-07). */

/* ---- escena (SVG) ---- */
.gm-svg{--m-mesa:#eef0f5;--m-torre:#2b2f36;--m-chapa:#3b4049;--m-io:#8d939c;--m-hueco:#111;--m-pin:#c9a227;--m-txt:#4a4f5a;--m-marco:#1d1f24;--m-placa:#1f3d37;--m-blanco:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gm-svg{--m-mesa:#171a24;--m-txt:#b8bdd0;--m-torre:#3a3f4a;--m-chapa:#4b515c}}
.gm-mesa{fill:var(--m-mesa)}
.gm-rot{font:600 13px system-ui,sans-serif;fill:var(--m-txt)}
.gm-nombre{font:700 14px system-ui,sans-serif;fill:#fff;paint-order:stroke;stroke:#14161b;stroke-width:4px;stroke-linejoin:round;pointer-events:none}
.torre{fill:var(--m-torre)}.fuente{fill:#22252b;stroke:#555;stroke-width:1}
.rej{fill:#151719}.ventilador{stroke:#555;stroke-width:2}
.interruptor{fill:#0c0c0c;stroke:#777}.int-txt{font:700 12px system-ui;fill:#fff;pointer-events:none}
.io{fill:var(--m-io);stroke:#666}.ranura{fill:#4a4f57;stroke:#2a2d33}.gpu-chapa{fill:#9aa1aa;stroke:#555}
.pt-hueco{fill:var(--m-hueco)}.pt-pin{fill:var(--m-pin)}.pt-usb3{fill:#2463d1}.pt-caja{fill:#444}
.pt-vga{fill:#2c55b8;stroke:#163070}.pt-tornillo{fill:#bfc5cc;stroke:#666}
.pt-jack-verde{fill:#62c46a}.pt-jack-rosa{fill:#f08bb5}.pt-jack-azul{fill:#5aa0e8}
.pt-enchufe{fill:#f4f4f4;stroke:#aaa}
.marco{fill:var(--m-marco)}.marco.atras{fill:#2a2d33}
.pantalla-off{fill:#08090b}.pantalla-negra{fill:#101218}.pantalla-on{fill:#2f6fd6}
.parpadea{animation:gm-parpadeo .35s steps(2) infinite}
@keyframes gm-parpadeo{0%{fill:#7a2fd6}100%{fill:#1b6a3a}}
.sin-senal{fill:#1f2430;stroke:#5b6577}.sin-senal-t{font:600 13px system-ui;fill:#d8dde8}
.barra-tareas{fill:#1b2a44}.inicio{fill:#7fb2ff}.bloc{fill:#fff}.bloc-t{font:600 10px system-ui;fill:#333}.bloc-t2{font:13px ui-monospace,monospace;fill:#111}
.cursor{fill:#fff;stroke:#000;stroke-width:1}.nota-mus{font:700 26px system-ui;fill:#fff}
.pie{fill:#2a2d33}
.led-on{fill:#21d07a;stroke:#0c6}.led-off{fill:#555}.boton{fill:#555;stroke:#888}
.teclado{fill:#2b2e35}.tecla{fill:#43474f}.raton{fill:#2b2e35}.raton-l{stroke:#555;stroke-width:2}
.altavoz{fill:#24272d}.cono{fill:#3b3f47;stroke:#15171a;stroke-width:3}.pomo{fill:#888}
.cable-fino{stroke:#333;stroke-width:3}
.regleta{fill:#f1f1f1;stroke:#c8c8c8}.reg-on{fill:#e03030}.reg-off{fill:#bbb}
.cable{fill:none;stroke-linecap:round;pointer-events:none;opacity:.92}
.clavija{fill:#f5f5f5;stroke:#5b4bdb;stroke-width:2;stroke-dasharray:4 3}
.clavija.off{stroke:#999}
.clav-t{font:700 11px system-ui;fill:#333;pointer-events:none}
.clavija-puesta{stroke:#000;stroke-width:1}
.extremo-libre{fill:#fff;stroke:#5b4bdb;stroke-width:3}
.en-mano{stroke:#ff9f1a!important;stroke-width:3!important;stroke-dasharray:none!important}
.adaptador{fill:#e9e9ee;stroke:#888}
.tornillo-ok{fill:#9aa3ad;stroke:#333}.tornillo-flojo{fill:#ffcf5a;stroke:#b17a00;stroke-width:2}
.cruz{stroke:#333;stroke-width:1.6;pointer-events:none}
/* interior */
.caja-pc{fill:var(--m-chapa)}
.tapa{fill:#4a5059;stroke:#2a2d33}.tapa-t{font:700 22px system-ui;fill:#aab1bb;pointer-events:none}
.metal{fill:#8f979f;stroke:#666;stroke-dasharray:2 3}
.etiqueta{fill:#fffbe6;stroke:#d9c36a}.etiqueta-t{font:600 12px system-ui;fill:#5a4a00}
.jaula{fill:#2e333a;stroke:#5a616b}.bahia{fill:#262a30;stroke:#5a616b;stroke-dasharray:4 3}
.frontal{fill:#16181c;stroke:#444}
.pieza-hdd{fill:#b8bec6;stroke:#555}.pieza-dvd{fill:#1b1d21;stroke:#888}
.pieza-t{font:700 12px system-ui;fill:#e8e8e8;pointer-events:none}
.pieza-hdd+.pieza-t{fill:#222}
.placa{fill:var(--m-placa);stroke:#0d221e}
.io-int{fill:#8d939c}
.disipador{fill:#5a616b;stroke:#333}.eje{fill:#222}
.en-eps,.en-atx,.en-pcie{fill:#e8e8e8;stroke:#333}
.en-sata{fill:#222;stroke:#888}.en-satap{fill:#111;stroke:#888}
.en-puesto{fill:#ffcf5a;stroke:#6a4e00}
.ranura-ram{fill:#111}.ranura-ram.ranura-b{fill:#2b3a5c}
.pestillo{fill:#ddd}.pestillo.abierto{fill:#ffcf5a}
.modulo-ram{fill:#1b7c3a;stroke:#0b3d1c}.modulo-ram.mal{fill:#a33}.chip{fill:#111}
.ranura-m2{fill:#15312b;stroke:#6aa;stroke-dasharray:3 3}.pieza-ssd{fill:#1d1f24;stroke:#8bd}
.ranura-pcie{fill:#111}
.pieza-gpu{fill:#2a2d33;stroke:#999}
.hueco-fuente{fill:#25292f;stroke:#555}
.pieza-psu{fill:#1a1c20;stroke:#888}.pieza-psu.rota{fill:#3a1d1d;stroke:#c55}
.psu-t{font:800 20px system-ui;fill:#f0f0f0;pointer-events:none}.humo{font-size:26px}
.clavija-f{fill:#ffcf5a;stroke:#6a4e00}
.cable-atx24{stroke:#222;stroke-width:9}.cable-eps8{stroke:#333;stroke-width:6}.cable-pcie8{stroke:#444;stroke-width:6}.cable-sata-p{stroke:#111;stroke-width:4}
.cable-datos{stroke:#d33;stroke-width:4}
.hold-fondo{fill:#555}.hold-barra{fill:#21d07a}
/* zonas que se pueden tocar */
.practica-aviso{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:12px 18px;border-left:5px solid #0e8a6a}
.practica-aviso .btn{text-decoration:none}
.practica-aviso small{letter-spacing:.1em;text-transform:uppercase;font-size:11.5px;font-weight:700;color:#0e8a6a}
.practica-aviso h2{margin:2px 0;font-size:17px}.practica-aviso p{margin:0}.practica-aviso .btn{white-space:nowrap}
@media (max-width:700px){.practica-aviso{flex-direction:column;align-items:flex-start}}
/* ---- dibujo físico de conectores (2026-11-06 b) ---- */
.gm-mesa-borde{fill:#d9dce4}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gm-mesa-borde{fill:#232736}}
.gm-rot-claro{font:600 12px system-ui,sans-serif;fill:#c9ced6}
.pt-chapa{fill:#c7ccd3;stroke:#6f757d;stroke-width:.8}
.pt-lengua{fill:#e8e8e8}
.pt-poste{fill:#b9bec5;stroke:#555}
.pt-agujero{fill:#0d1a3a}
.pt-marco-iec{fill:#1a1a1a;stroke:#555}
.pt-pin-iec{fill:#d9dde2}
.pt-enchufe-in{fill:#e2e2e2}
.cl-cuerpo{stroke:#000;stroke-width:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}
.cl-metal{fill:#cfd4da;stroke:#777;stroke-width:.6}
.cl-cara{fill:#2c2c2c}
.cl-boton{fill:#55585e}
.cl-logo{font:700 6.5px system-ui,sans-serif;fill:#9aa0a8;pointer-events:none}
.cl-tridente{fill:none;stroke:#cfd4da;stroke-width:1.3;stroke-linecap:round}
.cl-anillo-verde{fill:none;stroke:#62c46a;stroke-width:2.5}
.cl-vga{fill:#2f5fc4;stroke:#173a85;stroke-width:1.2;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}
.cl-vga-osc{fill:#24489a}
.cl-funda{stroke-linecap:round}
.tornillo-ok circle,circle.tornillo-ok{fill:#aeb5bd;stroke:#40454c;stroke-width:1.2}
.tornillo-flojo circle,circle.tornillo-flojo{fill:#e4e7ea;stroke:#40454c;stroke-width:1.2;filter:drop-shadow(1px 3px 2px rgba(0,0,0,.5))}
.aviso-anillo{fill:none;stroke:#ff9f1a;stroke-width:2;stroke-dasharray:4 3;pointer-events:none;animation:gm-gira 3s linear infinite;transform-box:fill-box;transform-origin:center}
@keyframes gm-gira{to{transform:rotate(360deg)}}
.cable-brillo{fill:none;stroke:rgba(255,255,255,.22);stroke-linecap:round;pointer-events:none;transform:translate(-1px,-1px)}
.adaptador{fill:#e3e6ea;stroke:#8d939b;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.suelta{opacity:.95}
.en-mano-g{filter:drop-shadow(0 0 4px #ff9f1a) drop-shadow(0 0 2px #ff9f1a)}
[data-nuevo]>:not(.hs-area){animation:gm-enchufa .35s ease-out;transform-box:fill-box;transform-origin:center}
@keyframes gm-enchufa{0%{transform:scale(1.35) translateY(-6px);opacity:.3}70%{transform:scale(.96)}100%{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){[data-nuevo]>*,.aviso-anillo{animation:none}}
/* ---- dibujo físico del interior (2026-11-06 c) ---- */
.pista-pcb{fill:none;stroke:rgba(120,200,170,.10);stroke-width:1.2}
.aleta{fill:#8c949e}
.disip-vrm{stroke:#3a3f46;stroke-width:1}
.chipset{fill:#2a2f36;stroke:#596069}.chip-t{font:700 8px system-ui;fill:#aab2bb;pointer-events:none}
.pila{fill:url(#gAlu);stroke:#777}
.placa-t{font:700 13px system-ui;fill:rgba(220,235,230,.55);letter-spacing:.08em;pointer-events:none}
.io-puerto{fill:#30343a;stroke:#666}
.marco-vent{fill:#1b1d21;stroke:#444;stroke-width:2}
.aspa{fill:#2e3238;stroke:#454a52;stroke-width:1}
.zc-blanco{fill:#eceae2;stroke:#9c9a90}.zc-agujero{fill:#3a3a38}.zc-negro{fill:#1d1e21;stroke:#555}.zc-agujero-c{fill:#55585e}.zc-oro{fill:#d4a72c}
.pl-negro{fill:#151618;stroke:#000;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
.pl-rojo{fill:#c62828;stroke:#6d0f0f;filter:drop-shadow(0 2px 2px rgba(0,0,0,.5))}
.pl-pin{fill:#2c2d30;stroke:#555;stroke-width:.5}
.pl-txt{font:700 9px system-ui;fill:#e9e9e9;paint-order:stroke;stroke:#111;stroke-width:2.5px;pointer-events:none}
.llave{fill:#ffcf5a}
.ram-disip4{fill:#2d3138;stroke:#111}.ram-disip5{fill:#d9dde2;stroke:#777}
.ram-disip4.mal,.ram-disip5.mal{fill:#a33}
.ram-etq{fill:#f2f2f2;opacity:.9}.ram-t{font:700 8.5px system-ui;fill:#222;pointer-events:none}
.m2-zocalo{fill:#111}.ssd-pcb{fill:#15301f;stroke:#0a1a10;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}.poste{fill:#d4a72c}
.gpu-carcasa{fill:#1c1e22;stroke:#5b616a;stroke-width:1.5;filter:drop-shadow(0 4px 5px rgba(0,0,0,.5))}.gpu-borde{fill:#3d434b}
.riel{stroke:#4c535c;stroke-width:2}
.hdd{stroke:#6f757d;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}.hdd-plato{fill:none;stroke:#9aa1a9;stroke-width:1.5}
.hdd-etq{fill:#fff;stroke:#bbb}.hdd-t{font:700 10px system-ui;fill:#333;pointer-events:none}
.dvd{fill:#1d1f23;stroke:#555;filter:drop-shadow(0 2px 3px rgba(0,0,0,.45))}.dvd-frente{fill:#0f1012}.dvd-bandeja{stroke:#444;stroke-width:2}
.clav-t-claro{font:600 11px system-ui;fill:#c9ced6;pointer-events:none}
.psu-etq{fill:#f4f4f0;stroke:#bbb}.psu-t{font:800 18px system-ui;fill:#222;pointer-events:none}.psu-t2{font:700 9px system-ui;fill:#666;pointer-events:none}
.pasacables{fill:#0d0e10;stroke:#333}
.cable-corr{stroke:#111;stroke-width:8}
.metal-raya{stroke:rgba(255,255,255,.25);stroke-width:2}
.boton-anillo{fill:#1d1f23;stroke:#777}
.cable-atx24{stroke:#1a1a1a;stroke-width:14}.cable-eps8{stroke:#202020;stroke-width:8}.cable-pcie8{stroke:#252525;stroke-width:8}.cable-sata-p{stroke:#141414;stroke-width:5}
.cable-datos{stroke:#c62828;stroke-width:5}
.cable-atx24-b{stroke-width:4}.cable-eps8-b,.cable-pcie8-b{stroke-width:2.5}.cable-sata-p-b,.cable-datos-b{stroke-width:1.5}
.modo-prof{margin:8px 0 14px;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.modo-prof>span{flex:1 1 420px}

/* ===== práctica 3 · instala Windows 10 (2026-11-06): pantallas dibujadas en HTML ===== */
.wi-esc{display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-areas:"mon torre" "tec tec";gap:14px;padding:14px;background:#e9edf3}
.wi-monitor{grid-area:mon;position:relative;background:#1b1d22;border-radius:12px;padding:12px 12px 22px;box-shadow:0 6px 14px rgba(0,0,0,.25)}
.wi-pant{aspect-ratio:16/10;background:#000;border-radius:4px;overflow:hidden;position:relative;font:13px/1.4 "Segoe UI",system-ui,sans-serif;color:#fff}
.wi-pant>div{position:absolute;inset:0;overflow:auto}
.wi-pie-mon{position:absolute;left:50%;bottom:6px;width:46px;height:5px;margin-left:-23px;border-radius:3px;background:#3a3d45}
.wi-torre{grid-area:torre;display:flex;flex-direction:column;gap:10px}
.wi-frontal{position:relative;background:linear-gradient(#2c2f36,#1f2126);border-radius:10px;padding:14px;display:flex;flex-direction:column;align-items:center;gap:12px;min-height:220px}
.wi-power{width:54px;height:54px;border-radius:50%;border:3px solid #6b7180;background:#33363e;color:#cfd6e4;font-size:24px;cursor:pointer}
.wi-power.on{border-color:#38c172;color:#7dff9f;box-shadow:0 0 10px #38c17288}
.wi-led{width:8px;height:8px;border-radius:50%;background:#444}.wi-led.on{background:#38c172;box-shadow:0 0 6px #38c172}
.wi-usbs{display:flex;gap:12px}
.wi-usb{position:relative;width:34px;height:14px;border-radius:2px;background:#0d0e11;border:2px solid #8a909c;cursor:pointer}
.wi-usb::after{content:'';position:absolute;left:5px;right:5px;top:2px;height:4px;background:#2f6fd6}
.wi-usb.pide{outline:3px dashed #ff9f1a;outline-offset:3px}
.wi-usbs{order:-1;margin:4px 0 52px}
.wi-stick{position:absolute;left:-6px;top:12px;width:42px;height:46px;border-radius:3px 3px 6px 6px;background:linear-gradient(#e34b4b,#b52f2f);cursor:pointer;z-index:2;box-shadow:0 2px 4px rgba(0,0,0,.4)}
.wi-stick::after{content:'8 GB';position:absolute;left:0;right:0;top:16px;text-align:center;font:700 10px system-ui;color:#fff}
.wi-pegatina{background:#fff;border:1px solid #c9ced8;border-radius:8px;padding:8px 10px;font-size:12px;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.wi-pegatina b,.wi-pegatina small{display:block}.wi-pegatina code{display:block;font:700 12.5px ui-monospace,Consolas,monospace;letter-spacing:.5px;margin-top:3px;word-break:break-all;user-select:all}
.wi-teclado{grid-area:tec;display:flex;flex-wrap:wrap;gap:6px;background:#2b2e35;border-radius:10px;padding:10px}
.wi-tecla{min-width:46px;height:40px;border-radius:6px;border:0;border-bottom:3px solid #0f1014;background:#43474f;color:#eef1f6;font:600 14px system-ui;cursor:pointer}
.wi-tecla.ancha{min-width:90px}.wi-tecla:active{transform:translateY(2px);border-bottom-width:1px}
.wi-tecla.gm-pista,.wi-power.gm-pista,.wi-usb.gm-pista,.wi-bt.gm-pista,.wi-enl.gm-pista,.wi-tile.gm-pista,.wi-op.gm-pista,.wi-fila.gm-pista,.wi-tog.gm-pista,.wi-check.gm-pista,.wi-bios-op.gm-pista,.wi-tabla tr.gm-pista,.wi-stick.gm-pista{animation:gm-pista-btn 1s ease-in-out infinite}
.wi-esc .gm-pista>*{animation:none}
.wi-esc .gm-etq{position:absolute;top:-10px;left:8px;background:#fff;color:#333;font:600 11px system-ui;border-radius:6px;padding:1px 6px}
.wi-negro{background:#000}.wi-txt{font:14px/1.5 ui-monospace,Consolas,monospace;padding:16px;color:#ddd}
.wi-carga{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px}
.wi-ventanas{width:70px;height:70px;background:linear-gradient(90deg,transparent 46%,#000 46% 54%,transparent 54%),linear-gradient(transparent 46%,#000 46% 54%,transparent 54%),#2b8ae0;transform:perspective(200px) rotateY(-18deg)}
.wi-gira{width:28px;height:28px;border-radius:50%;border:3px dotted #fff;animation:gm-gira 1.2s linear infinite}.wi-gira.b{display:block;margin:10px auto}
.wi-post{background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center}
.wi-post-logo{font:800 34px/1 system-ui;letter-spacing:4px;color:#e23b3b}.wi-post-logo small{display:block;font-size:13px;letter-spacing:2px;color:#bbb;text-align:center;margin-top:6px}
.wi-post-pie{position:absolute;bottom:34px;left:0;right:0;display:flex;justify-content:space-between;padding:0 18px;color:#ddd;font-size:12.5px}
.wi-post-barra{position:absolute;bottom:14px;left:18px;right:60px;height:5px;background:#333;border-radius:3px}.wi-post-barra i{display:block;height:100%;background:#e23b3b;border-radius:3px}
.wi-post-s{position:absolute;bottom:9px;right:18px;color:#aaa}
.wi-bios{background:#1d2b7a;color:#e8ecff;padding:14px;font:13px/1.6 ui-monospace,Consolas,monospace}
.wi-bios-tit{background:#c7cbe0;color:#1d2b7a;padding:2px 8px;margin-bottom:10px;font-weight:700}
.wi-bios-op{padding:3px 8px;cursor:pointer;border-radius:2px}.wi-bios-op.sel,.wi-bios-op:hover{background:#e8ecff;color:#1d2b7a}
.wi-bios-pie{position:absolute;bottom:10px;left:14px;right:14px;color:#c7cbe0;font-size:12px}
.wi-setup{background:linear-gradient(135deg,#3a2d7a,#11396e);display:flex;align-items:center;justify-content:center;padding:14px}
.wi-ven{background:#fff;color:#1b1b1b;width:min(92%,560px);max-height:94%;display:flex;flex-direction:column;box-shadow:0 8px 30px rgba(0,0,0,.4)}
.wi-ven-tit{background:#fff;border-bottom:1px solid #ddd;padding:6px 10px;font-size:12.5px}
.wi-ven-cu{padding:12px 16px;overflow:auto;display:flex;flex-direction:column;gap:8px;flex:1}
.wi-ven-cu label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12.5px}
.wi-ven-cu select,.wi-oobe select{font:inherit;padding:2px 4px;min-width:190px}
.wi-ven-pie{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 16px;border-top:1px solid #eee}
.wi-ven-pie .wi-bt:only-child{margin-left:auto}
.wi-bt{font:inherit;padding:4px 18px;border:1px solid #adadad;background:#e1e1e1;color:#111;cursor:pointer}
.wi-bt.pri{border-color:#0067c0;background:#0067c0;color:#fff}.wi-bt.gr{font-size:18px;padding:10px 30px;align-self:center}
.wi-bt.sec{background:transparent;color:inherit;border-color:currentColor;margin-top:8px}
.wi-bt:disabled{opacity:.5;cursor:default}
.wi-enl{color:#0067c0;cursor:pointer;text-decoration:underline;font-size:12.5px;padding:2px 4px;border-radius:3px}
.wi-azul .wi-enl,.wi-oobe .wi-enl{color:#9cd2ff}
.wi-grande{font:300 30px/1.2 "Segoe UI",system-ui;text-align:center;margin:20px 0 10px;color:#0b5aa8}
.wi-grande2{font:300 22px/1.3 "Segoe UI",system-ui;margin:4px 0 8px}
.wi-mini{font-size:11.5px;color:#666;margin:0}.wi-azul .wi-mini,.wi-oobe .wi-mini{color:#cfe1f5}
.wi-mal{color:#c42b1c;font-size:12.5px;margin:0}.wi-azul .wi-mal,.wi-oobe .wi-mal{color:#ffb4a8}
.wi-clave{font:15px ui-monospace,Consolas,monospace;padding:5px 8px;letter-spacing:1px;text-transform:uppercase}
.wi-fila{padding:5px 8px;border:1px solid transparent;cursor:pointer}.wi-fila.sel{background:#cce8ff;border-color:#99d1ff;color:#111}
.wi-oobe .wi-fila.sel{background:#ffffff26;border-color:#ffffff66;color:#fff}
.wi-terminos{border:1px solid #ccc;padding:8px;font-size:11.5px;height:80px;overflow:auto;color:#444}
.wi-check{cursor:pointer;display:flex!important;justify-content:flex-start!important;gap:8px}
.wi-caja{width:16px;height:16px;border:1px solid #555;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#0067c0}
.wi-op{border:1px solid transparent;padding:8px;cursor:pointer}.wi-op:hover{background:#e5f3ff;border-color:#cce8ff}
.wi-op b{display:block;color:#0b5aa8;font-weight:600}.wi-op small{color:#555}
.wi-tabla{width:100%;border-collapse:collapse;font-size:12px}.wi-tabla th{text-align:left;font-weight:400;color:#555;border-bottom:1px solid #ddd;padding:3px}
.wi-tabla td{padding:4px 3px}.wi-tabla tr[data-z]{cursor:pointer}.wi-tabla tr.sel{background:#cce8ff}
.wi-herr{display:flex;flex-wrap:wrap;gap:4px 12px}
.wi-dialogo{border:1px solid #0067c0;background:#f3f9ff;padding:8px;font-size:12.5px}.wi-dialogo.mal{border-color:#c42b1c;background:#fff4f2}
.wi-fases{list-style:none;padding:0;margin:0;font-size:13px}.wi-fases li{padding:2px 0;color:#777}.wi-fases li.hecho{color:#107c10}.wi-fases li.ahora{color:#111;font-weight:600}
.wi-azul{background:#0b5aa8;color:#fff;padding:18px 22px;font-size:13.5px}
.wi-azul .wi-bt:not(.pri){background:#ffffff22;color:#fff;border-color:#ffffffaa}
.wi-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.wi-tile{background:#ffffff1a;border:1px solid #ffffff40;padding:8px 10px;cursor:pointer;margin:6px 0}.wi-tiles .wi-tile{margin:0}
.wi-tile:hover{background:#ffffff33}.wi-tile small{display:block;font-size:11.5px;color:#d8e8fa;margin-top:2px}
.wi-oobe{background:#0a3d73;color:#fff;padding:18px 24px;display:flex;flex-direction:column}
.wi-oobe h3{font:300 20px/1.3 "Segoe UI",system-ui;margin:0 0 12px}
.wi-oobe-cu{flex:1;display:flex;flex-direction:column;gap:8px;overflow:auto}
.wi-oobe-cu input{font:inherit;padding:5px 8px;max-width:320px;border:1px solid #9cc;background:#fff;color:#111}
.wi-oobe-pie{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:10px}
.wi-preg{display:flex;flex-direction:column;gap:3px;font-size:12.5px}
.wi-priv{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px}
.wi-tog{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px;font-size:12.5px}.wi-tog b{font-weight:600}
.wi-int{width:36px;height:18px;border-radius:9px;border:2px solid #fff;position:relative;flex:none}.wi-int i{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:#fff;transition:left .15s}
.wi-int.si{background:#4cc2ff;border-color:#4cc2ff}.wi-int.si i{left:20px;background:#0a3d73}
.wi-escritorio{background:linear-gradient(160deg,#0d3b7a,#1764b8 60%,#0d2f5c);display:flex;flex-direction:column}
.wi-iconos{display:flex;flex-direction:column;gap:14px;padding:14px;font-size:12px;text-align:center;width:90px}.wi-iconos span{font-size:26px;line-height:1.1}.wi-iconos span br+*{font-size:12px}
.wi-toast{position:absolute;right:10px;bottom:44px;width:min(300px,70%);background:#1f1f1f;color:#fff;font-size:12px;padding:10px;border-left:4px solid #ffb900}
.wi-barra{position:absolute;left:0;right:0;bottom:0;height:34px;background:#101010e6;display:flex;align-items:center;gap:10px;padding:0 8px;font-size:12px;color:#ccc}
.wi-inicio{width:18px;height:18px;background:linear-gradient(90deg,transparent 45%,#101010 45% 55%,transparent 55%),linear-gradient(transparent 45%,#101010 45% 55%,transparent 55%),#fff}
.wi-buscar{background:#fff;color:#666;padding:4px 8px;flex:0 1 220px}.wi-hora{margin-left:auto}
@media (max-width:720px){.wi-esc{grid-template-columns:1fr;grid-template-areas:"mon" "torre" "tec"}.wi-torre{flex-direction:row}.wi-frontal{min-height:0;flex:1}.wi-pegatina{flex:1}}

.wi-usb.gm-destino{outline:3px solid #ff9f1a;outline-offset:3px}
/* E: lo que se puede tocar se ve al pasar por encima y las zonas pequeñas tienen borde */
.hs:hover>.hs-area{fill:rgba(91,75,219,.22)}
.hs-borde{stroke:rgba(255,255,255,.35);stroke-width:1.5;stroke-dasharray:3 3}
.con-mano .hs:hover>.hs-area{fill:rgba(255,159,26,.35)}

/* 🎬 vídeo del reto (2026-11-26, gemelo.js panelVideo): sin sonido, subtítulos grandes, paso que toca resaltado */
.gm-video{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(220px,1fr);gap:14px;margin:10px 0;border:2px solid var(--acento,#4f46e5)}
@media (max-width:900px){.gm-video{grid-template-columns:1fr}}
.gm-video video{width:100%;display:block;background:#000;border-radius:8px}
.gm-video-sub{min-height:4.6em;margin-top:6px;padding:8px 14px;border-radius:8px;background:#111;color:#fff;display:flex;flex-direction:column;justify-content:center;gap:2px}
.gm-video-sub small{font-size:.95rem;color:#fde68a;font-weight:600}
.gm-video-sub span{font-size:1.3rem;font-weight:700;line-height:1.3}
.gm-video-sub:empty::before{content:'…';opacity:.4}
.gm-video-bots{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.gm-video-bots .btn{font-size:1rem}
.gm-video-parar{display:inline-flex!important;width:auto!important;gap:6px;align-items:center;font-size:.95rem;margin:0;font-weight:400}
.gm-video-parar input{width:auto!important;margin:0}
.gm-video-aviso{min-height:1.4em;margin:8px 0 0;font-size:1.05rem}
.gm-video-lado{max-height:520px;overflow:auto}
.gm-video-pasos{list-style:none;margin:6px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.gm-video-pasos li{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:8px;border:2px solid transparent;cursor:pointer;line-height:1.35}
.gm-video-pasos li:hover,.gm-video-pasos li:focus{border-color:var(--linea,#cbd5e1);outline:none}
.gm-video-pasos li.visto{opacity:.6}
.gm-video-pasos li.ahora{border-color:var(--acento,#4f46e5);background:#fef3c7;color:#111;opacity:1;font-weight:600}
.gm-video-n{flex:none;width:1.8em;height:1.8em;border-radius:50%;display:grid;place-items:center;background:var(--acento,#4f46e5);color:#fff;font-weight:700}
.gm-video-bt[aria-pressed="true"]{outline:2px solid var(--acento,#4f46e5)}
