/* Cargix · Inglés de Ruta */
#courseRoot{--cx-navy:#081a3c;--cx-blue:#0160fc;--cx-red:#fc021e;--cx-green:#0a8f45;--cx-soft:#f4f7fc;--cx-line:#dbe3f0;--cx-muted:#5a6784;max-width:760px;margin:0 auto 30px}
.cx-overlay{--cx-navy:#081a3c;--cx-blue:#0160fc;--cx-red:#fc021e;--cx-green:#0a8f45;--cx-soft:#f4f7fc;--cx-line:#dbe3f0;--cx-muted:#5a6784}
body.cx-noscroll{overflow:hidden}
.cx-hero{background:linear-gradient(160deg,#081a3c 0%,#0b2a63 100%);color:#fff;border-radius:16px;padding:20px 20px 16px;position:relative;overflow:hidden}
.cx-hero:after{content:"";position:absolute;right:-60px;bottom:-60px;width:220px;height:220px;border-radius:50%;border:28px solid rgba(1,96,252,.25)}
.cx-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;position:relative;z-index:1}
.cx-brand{display:flex;align-items:center;gap:12px}
.cx-logo{width:48px;height:48px;border-radius:14px;background:var(--cx-blue);display:grid;place-items:center;box-shadow:0 6px 16px rgba(1,96,252,.45)}
.cx-logo svg{width:26px;height:26px;color:#fff}
.cx-eyebrow{margin:0;font-size:11px;letter-spacing:.14em;font-weight:800;color:#8fb4ff}
.cx-eyebrow.dark{color:var(--cx-blue)}
.cx-title{margin:2px 0 0;font-size:26px;line-height:1.1;color:#fff}
.cx-preview{font-size:10.5px;font-weight:800;background:#ffc20e;color:#081a3c;border-radius:20px;padding:5px 9px;white-space:nowrap}
.cx-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;position:relative;z-index:1}
.cx-stat{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:10px}
.cx-stat svg{width:20px;height:20px;color:#8fb4ff;flex:none}
.cx-stat strong{display:block;font-size:17px;line-height:1.1;font-variant-numeric:tabular-nums}
.cx-stat span{font-size:11px;color:#c7d6f5}
.cx-rankbar{height:8px;border-radius:8px;background:rgba(255,255,255,.15);margin-top:14px;overflow:hidden;position:relative;z-index:1}
.cx-rankbar i{display:block;height:100%;background:linear-gradient(90deg,#0160fc,#5aa0ff);border-radius:8px}
.cx-ranknote{margin:6px 0 0;font-size:12px;color:#c7d6f5;position:relative;z-index:1}
.cx-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 6px}
.cx-action{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid var(--cx-line);border-radius:14px;padding:12px;cursor:pointer;color:var(--cx-navy);font:inherit;box-shadow:0 2px 0 var(--cx-line)}
.cx-action:active{transform:translateY(1px);box-shadow:none}
.cx-action-ic{width:38px;height:38px;border-radius:11px;background:#e9f1ff;display:grid;place-items:center;flex:none}
.cx-action-ic svg{width:21px;height:21px;color:var(--cx-blue)}
.cx-action.red .cx-action-ic{background:#ffe9ec}.cx-action.red .cx-action-ic svg{color:var(--cx-red)}
.cx-action-tx strong{display:block;font-size:13.5px;line-height:1.2}
.cx-action-tx small{display:block;font-size:11.5px;color:var(--cx-muted);margin-top:2px;line-height:1.25}
.cx-unit{margin-top:26px}
.cx-unit-head{display:flex;align-items:center;gap:12px;background:var(--cx-blue);color:#fff;border-radius:14px;padding:12px 14px;position:relative}

.cx-unit-n{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;font-weight:900;font-size:18px;flex:none}
.cx-unit-ht{flex:1;min-width:0}
.cx-unit-ht h2{margin:0;font-size:17px;color:#fff;line-height:1.2}
.cx-unit-ht p{margin:2px 0 0;font-size:12.5px;color:#dbe7ff}
.cx-unit-prog{font-size:12px;font-weight:800;background:rgba(255,255,255,.18);border-radius:20px;padding:4px 9px;font-variant-numeric:tabular-nums}
.cx-free{position:absolute;top:-9px;right:12px;background:#ffc20e;color:#081a3c;font-size:10px;font-weight:900;border-radius:10px;padding:3px 8px;letter-spacing:.06em}
.cx-lock{position:absolute;top:-10px;right:12px;display:inline-flex;align-items:center;gap:4px;border:0;background:#0B1B3A;color:#ffc20e;font:inherit;font-size:10px;font-weight:900;letter-spacing:.06em;border-radius:10px;padding:3px 9px;cursor:pointer}.cx-lock svg{width:12px;height:12px}
.cx-unit.locked .cx-road{opacity:.45}
.cx-road{position:relative;padding:18px 0 6px;display:flex;flex-direction:column;gap:14px}
.cx-road:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:34px;margin-left:-17px;background:#2b3448;border-radius:6px}
.cx-road:after{content:"";position:absolute;left:50%;top:6px;bottom:6px;width:4px;margin-left:-2px;background:repeating-linear-gradient(to bottom,#ffc20e 0 14px,transparent 14px 26px)}
.cx-stop{position:relative;z-index:1;display:flex;align-items:center;gap:12px;width:calc(50% + 28px);background:none;border:0;padding:0;cursor:pointer;font:inherit;color:var(--cx-navy);text-align:left}
.cx-stop.left{align-self:flex-start;flex-direction:row-reverse;text-align:right}
.cx-stop.right{align-self:flex-end}
.cx-stop:disabled{cursor:not-allowed}
.cx-dot{width:56px;height:56px;border-radius:50%;background:#fff;border:4px solid #c9d5ea;display:grid;place-items:center;flex:none;box-shadow:0 4px 0 #c9d5ea;transition:transform .12s}
.cx-dot svg{width:24px;height:24px;color:#8a98b5}
.cx-stop:active .cx-dot{transform:translateY(3px);box-shadow:0 1px 0 #c9d5ea}
.cx-stop.next .cx-dot{border-color:var(--cx-blue);box-shadow:0 4px 0 #0047bd;background:var(--cx-blue);animation:cxPulse 1.8s ease-in-out infinite}
.cx-stop.next .cx-dot svg{color:#fff}
.cx-stop.done .cx-dot{background:var(--cx-green);border-color:#0a8f45;box-shadow:0 4px 0 #066a33}
.cx-stop.done .cx-dot svg{color:#fff}
.cx-stop.exam .cx-dot{width:64px;height:64px;border-radius:18px;background:#ffc20e;border-color:#e0a800;box-shadow:0 4px 0 #b78900}
.cx-stop.exam .cx-dot svg{color:#081a3c;width:28px;height:28px}
.cx-stop.exam{align-self:center;width:auto;flex-direction:column;text-align:center;gap:6px;margin-top:4px}
.cx-stop.exam .cx-stop-l{background:#fff;border:1px solid var(--cx-line);border-radius:10px;padding:6px 10px}
@keyframes cxPulse{0%,100%{box-shadow:0 4px 0 #0047bd,0 0 0 0 rgba(1,96,252,.45)}50%{box-shadow:0 4px 0 #0047bd,0 0 0 10px rgba(1,96,252,0)}}
.cx-stop-l{display:flex;flex-direction:column;min-width:0;background:rgba(255,255,255,.92);border-radius:8px;padding:2px 4px}
.cx-stop-l small{font-size:11px;color:var(--cx-muted);font-weight:700}
.cx-stop-l strong{font-size:13.5px;line-height:1.2}
.cx-stop-l em{font-style:normal;font-size:11px;font-weight:800;color:var(--cx-green)}
.cx-go{position:absolute;top:-12px;background:var(--cx-navy);color:#fff;font-size:10.5px;font-weight:800;border-radius:8px;padding:3px 7px}
.cx-stop.left .cx-go{right:0}.cx-stop.right .cx-go{left:0}
.cx-badge{display:flex;align-items:center;gap:10px;justify-content:center;margin:12px auto 0;font-size:12.5px;color:var(--cx-muted)}
.cx-badge span{width:30px;height:30px;border-radius:50%;background:#eef2fa;display:grid;place-items:center}
.cx-badge svg{width:17px;height:17px;color:#9aa8c4}
.cx-badge.won span{background:#ffc20e}.cx-badge.won svg{color:#081a3c}.cx-badge.won strong{color:var(--cx-navy)}
.cx-note{font-size:12px;color:var(--cx-muted);text-align:center;margin:28px 8px 0;line-height:1.5}
.cx-error{padding:20px;color:var(--red,#c4001a)}
/* ---------- Pantallas completas ---------- */
.cx-overlay{position:fixed;inset:0;z-index:5000;background:#fff;display:flex;flex-direction:column;color:var(--cx-navy);font-family:inherit;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.cx-intro{align-items:center;justify-content:center;padding:24px;background:linear-gradient(180deg,#eef4ff,#fff 60%)}
.cx-intro-card{max-width:440px;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.cx-intro-ic{width:84px;height:84px;border-radius:24px;background:var(--cx-blue);display:grid;place-items:center;box-shadow:0 10px 24px rgba(1,96,252,.35);margin-bottom:6px}
.cx-intro-ic svg{width:42px;height:42px;color:#fff}
.cx-intro-card h2{margin:0;font-size:26px;line-height:1.15}
.cx-intro-tx{margin:0 0 6px;font-size:15.5px;color:#33415e;line-height:1.45}
.cx-tip{display:flex;gap:10px;align-items:flex-start;text-align:left;background:#fff8e1;border:1px solid #ffe08a;border-radius:12px;padding:12px;font-size:13.5px;line-height:1.4;margin:4px 0 10px}
.cx-tip svg{width:20px;height:20px;color:#b78900;flex:none;margin-top:1px}
.cx-btn{appearance:none;border:0;border-radius:14px;background:var(--cx-blue);color:#fff;font:inherit;font-weight:800;font-size:15px;padding:13px 20px;cursor:pointer;box-shadow:0 4px 0 #0047bd;letter-spacing:.01em}
.cx-btn:active{transform:translateY(2px);box-shadow:0 2px 0 #0047bd}
.cx-btn:disabled{background:#d6deec;color:#8a98b5;box-shadow:0 4px 0 #c2ccdd;cursor:default}
.cx-btn.big{width:100%;max-width:440px;padding:16px 20px;font-size:16px}
.cx-btn.ghost{background:#fff;color:var(--cx-navy);border:2px solid var(--cx-line);box-shadow:0 3px 0 var(--cx-line)}
.cx-btn.red{background:var(--cx-red);box-shadow:0 4px 0 #a80012}
.cx-link{background:none;border:0;color:var(--cx-blue);font:inherit;font-weight:700;font-size:14px;cursor:pointer;padding:6px}
.cx-row{display:flex;gap:10px;align-items:center}.cx-row.center{justify-content:center;flex-wrap:wrap}
.cx-shead{display:flex;align-items:center;gap:12px;padding:12px 16px}
.cx-x{width:40px;height:40px;border-radius:12px;border:0;background:#eef2fa;display:grid;place-items:center;cursor:pointer;flex:none}
.cx-x svg{width:20px;height:20px;color:var(--cx-navy)}
.cx-bar{flex:1;height:14px;border-radius:10px;background:#e6ebf4;overflow:hidden}
.cx-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0160fc,#3d8bff);border-radius:10px;transition:width .35s ease}
.cx-smiles{font-weight:900;color:var(--cx-blue);font-variant-numeric:tabular-nums;min-width:44px;text-align:right}
.cx-smiles:after{content:" mi";font-size:11px;font-weight:700;color:var(--cx-muted)}
.cx-sbody{flex:1;overflow-y:auto;padding:10px 18px 20px;-webkit-overflow-scrolling:touch}
.cx-sfoot{padding:14px 18px 18px;border-top:2px solid #eef2fa;display:flex;flex-direction:column;align-items:center;gap:12px;background:#fff}
.cx-sfoot.good{background:#e6f6ec;border-color:#bfe6cc}
.cx-sfoot.bad{background:#fdecee;border-color:#f5c2c8}
.cx-fb{display:flex;gap:10px;align-items:flex-start;width:100%;max-width:440px}
.cx-fb-ic svg{width:30px;height:30px}
.cx-sfoot.good .cx-fb{color:#06703a}.cx-sfoot.bad .cx-fb{color:#b0001a}
.cx-fb strong{font-size:17px}
.cx-fb-ans{margin:3px 0 0;font-size:14.5px;color:var(--cx-navy);line-height:1.35}
.cx-ex{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.cx-q{margin:6px 0 0;font-size:20px;line-height:1.25}
.cx-q.small{font-size:13px;color:var(--cx-muted);margin:0}
.cx-tag{margin:6px 0 0;font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--cx-blue)}
.cx-prompt{margin:0;font-size:17px;background:var(--cx-soft);border-radius:12px;padding:12px 14px;line-height:1.35}
.cx-phrase{border:2px solid var(--cx-line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:8px}
.cx-en{margin:0;font-size:21px;font-weight:800;line-height:1.3;color:var(--cx-navy)}
.cx-es{margin:0;font-size:16px;color:#33415e;line-height:1.35}
.cx-es.small{font-size:14px}.cx-es.hidden{display:none}
.cx-note2{margin:0;font-size:13.5px;color:var(--cx-muted);background:var(--cx-soft);border-radius:10px;padding:8px 10px}
.cx-audio{display:flex;gap:10px}
.cx-play,.cx-slow{width:48px;height:48px;border-radius:14px;border:0;background:var(--cx-blue);display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 0 #0047bd}
.cx-slow{background:#e9f1ff;box-shadow:0 3px 0 #c5d8fb}
.cx-play svg{width:24px;height:24px;color:#fff}.cx-slow svg{width:22px;height:22px;color:var(--cx-blue)}
.cx-audio.big .cx-play{width:58px;height:58px}
.cx-bigplay{align-self:center;width:112px;height:112px;border-radius:28px;border:0;background:var(--cx-blue);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 0 #0047bd;margin:6px 0 0}
.cx-bigplay svg{width:52px;height:52px;color:#fff}
.cx-bigplay.noisy{background:var(--cx-navy);box-shadow:0 6px 0 #000}
.cx-bigplay:active{transform:translateY(3px);box-shadow:0 3px 0 #0047bd}
.cx-link{align-self:center}
.cx-opts{display:flex;flex-direction:column;gap:10px}
.cx-opt{display:flex;align-items:center;gap:12px;text-align:left;border:2px solid var(--cx-line);background:#fff;border-radius:14px;padding:13px 14px;font:inherit;font-size:16px;color:var(--cx-navy);cursor:pointer;box-shadow:0 3px 0 var(--cx-line);line-height:1.3}
.cx-opt-k{width:26px;height:26px;border-radius:8px;border:2px solid var(--cx-line);display:grid;place-items:center;font-size:12px;font-weight:800;color:var(--cx-muted);flex:none}
.cx-opt.sel{border-color:var(--cx-blue);background:#eef4ff;box-shadow:0 3px 0 #9fc0ff}
.cx-opt.sel .cx-opt-k{border-color:var(--cx-blue);color:var(--cx-blue)}
.cx-opt.right{border-color:var(--cx-green);background:#e6f6ec;box-shadow:0 3px 0 #9fd8b5}
.cx-opt.wrong{border-color:var(--cx-red);background:#fdecee;box-shadow:0 3px 0 #f2a8b1}
.cx-opt:disabled{cursor:default;color:var(--cx-navy)}
.cx-line{min-height:60px;border-bottom:2px solid var(--cx-line);display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;align-content:flex-start}
.cx-line.right{border-color:var(--cx-green)}.cx-line.wrong{border-color:var(--cx-red)}
.cx-bank{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:8px}
.cx-chip{border:2px solid var(--cx-line);background:#fff;border-radius:12px;padding:9px 12px;font:inherit;font-size:16px;font-weight:700;color:var(--cx-navy);cursor:pointer;box-shadow:0 3px 0 var(--cx-line)}
.cx-fill{margin:0;font-size:21px;font-weight:700;line-height:1.5}
.cx-gap{display:inline-block;min-width:70px;border-bottom:3px solid var(--cx-blue);color:var(--cx-blue);text-align:center;padding:0 4px}
.cx-input{width:100%;font:inherit;font-size:20px;font-weight:700;letter-spacing:.04em;border:2px solid var(--cx-line);border-radius:14px;padding:14px;color:var(--cx-navy);background:#fff}
.cx-input.right{border-color:var(--cx-green);background:#e6f6ec}.cx-input.wrong{border-color:var(--cx-red);background:#fdecee}
.cx-doc{background:#fffdf6;border:1px solid #e7dfc4;border-radius:6px;padding:14px 16px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13.5px;line-height:1.55;box-shadow:0 6px 16px rgba(8,26,60,.08);position:relative}
.cx-doc p{margin:0;white-space:pre-wrap}
.cx-doc-t{display:block;font-family:inherit;font-size:14px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px dashed #cdbf95;padding-bottom:6px;margin-bottom:8px}
.cx-doc.sign{background:#0b6b3a;color:#fff;border:4px solid #fff;outline:2px solid #0b6b3a;font-family:inherit;font-weight:800;text-align:center;font-size:18px;text-transform:uppercase;border-radius:10px}
.cx-doc.sign .cx-doc-t{border-color:rgba(255,255,255,.4)}
.cx-doc.text_msg{background:#e9f1ff;border-color:#c5d8fb;font-family:inherit;border-radius:16px}
.cx-mic{align-self:center;display:flex;flex-direction:column;align-items:center;gap:6px;width:120px;height:120px;border-radius:50%;border:0;background:var(--cx-red);color:#fff;justify-content:center;font:inherit;font-weight:800;font-size:13px;cursor:pointer;box-shadow:0 6px 0 #a80012;margin-top:6px}
.cx-mic svg{width:40px;height:40px}
.cx-mic.on{animation:cxMic 1s ease-in-out infinite}
@keyframes cxMic{0%,100%{box-shadow:0 6px 0 #a80012,0 0 0 0 rgba(252,2,30,.5)}50%{box-shadow:0 6px 0 #a80012,0 0 0 18px rgba(252,2,30,0)}}
.cx-micstatus{text-align:center;margin:0;font-size:14.5px;color:#33415e;min-height:20px}
.cx-heard{text-align:center;margin:0;font-size:18px;font-weight:800;line-height:1.5}
.cx-heard .ok{color:var(--cx-green)}.cx-heard .miss{color:var(--cx-red);text-decoration:underline dotted}
.cx-chat{display:flex;flex-direction:column;gap:10px;padding-bottom:10px}
.cx-bub{max-width:86%;border-radius:16px;padding:10px 12px;display:flex;flex-direction:column;gap:3px}
.cx-bub small{font-size:11px;font-weight:800;letter-spacing:.04em;color:var(--cx-muted)}
.cx-bub .cx-en{font-size:17px}
.cx-bub.them{align-self:flex-start;background:var(--cx-soft);border:1px solid var(--cx-line);border-bottom-left-radius:4px}
.cx-bub.me{align-self:flex-end;background:#e9f1ff;border:1px solid #c5d8fb;border-bottom-right-radius:4px}
.cx-bub.me.good{border-color:#9fd8b5;background:#e6f6ec}.cx-bub.me.bad{border-color:#f2a8b1;background:#fdecee}
.cx-bub-act{display:flex;gap:6px;margin-top:4px}
.cx-mini{width:34px;height:34px;border-radius:10px;border:1px solid var(--cx-line);background:#fff;display:grid;place-items:center;cursor:pointer;font:inherit;font-size:11px;font-weight:900;color:var(--cx-blue)}
.cx-mini svg{width:17px;height:17px;color:var(--cx-blue)}
.cx-turn{border-top:2px dashed var(--cx-line);padding-top:10px;display:flex;flex-direction:column;gap:8px}
.cx-done{max-width:440px;margin:20px auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.cx-done-ic{width:96px;height:96px;border-radius:28px;background:#ffc20e;display:grid;place-items:center;box-shadow:0 8px 0 #b78900;animation:cxPop .5s ease}
.cx-done-ic.bad{background:#eef2fa;box-shadow:0 8px 0 #c9d5ea}
.cx-done-ic svg{width:48px;height:48px;color:#081a3c}
@keyframes cxPop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.1)}100%{transform:scale(1);opacity:1}}
.cx-done h2{margin:6px 0 0;font-size:24px}
.cx-done-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}
.cx-done-box{border:2px solid var(--cx-line);border-radius:14px;padding:10px 6px}
.cx-done-box strong{display:block;font-size:22px;color:var(--cx-blue);font-variant-numeric:tabular-nums}
.cx-done-box span{font-size:12px;color:var(--cx-muted);font-weight:700}
.cx-newbadge{display:flex;align-items:center;gap:10px;background:#fff8e1;border:2px solid #ffe08a;border-radius:14px;padding:10px 14px}
.cx-newbadge span{width:38px;height:38px;border-radius:50%;background:#ffc20e;display:grid;place-items:center}
.cx-newbadge svg{width:22px;height:22px;color:#081a3c}
.cx-rankup{margin:0;font-weight:900;color:var(--cx-blue)}
.cx-today{width:100%;text-align:left;background:var(--cx-navy);color:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:5px}
.cx-today small{font-size:10.5px;letter-spacing:.1em;font-weight:800;color:#8fb4ff}
.cx-today strong{font-size:18px}
.cx-today span{font-size:14px;color:#c7d6f5}
.cx-today .cx-slow{background:rgba(255,255,255,.12);box-shadow:none}.cx-today .cx-slow svg{color:#fff}
.cx-confirm{position:absolute;inset:0;background:rgba(8,26,60,.55);display:grid;place-items:center;padding:20px;z-index:2}
.cx-confirm-card{background:#fff;border-radius:18px;padding:20px;max-width:340px;width:100%;display:flex;flex-direction:column;gap:8px;text-align:center}
.cx-confirm-card strong{font-size:18px}.cx-confirm-card p{margin:0 0 8px;color:var(--cx-muted)}
.cx-confirm-card .cx-row .cx-btn{flex:1}
/* paneles */
.cx-phead{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--cx-line)}
.cx-phead h2{margin:0;font-size:19px}
.cx-pbody{flex:1;overflow-y:auto;padding:14px 16px 30px;display:flex;flex-direction:column;gap:12px;max-width:640px;width:100%;margin:0 auto;-webkit-overflow-scrolling:touch}
.cx-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.cx-tab{display:flex;align-items:center;gap:6px;white-space:nowrap;border:2px solid var(--cx-line);background:#fff;border-radius:12px;padding:8px 11px;font:inherit;font-size:13px;font-weight:700;color:var(--cx-navy);cursor:pointer}
.cx-tab svg{width:16px;height:16px}
.cx-tab.on{background:var(--cx-navy);border-color:var(--cx-navy);color:#fff}
.cx-plist{display:flex;flex-direction:column;gap:8px}
.cx-prow{display:flex;gap:10px;align-items:center;border:1px solid var(--cx-line);border-radius:14px;padding:12px}
.cx-prow-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cx-prow-t strong{font-size:16px;line-height:1.3}
.cx-prow-t span{font-size:13.5px;color:var(--cx-muted)}
.cx-prow-a{display:flex;gap:6px}
.cx-prow-a .cx-mini{width:42px;height:42px}
.cx-bigshow{position:fixed;inset:0;z-index:6000;background:#081a3c;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px;text-align:center}
.cx-bigshow p{margin:0;font-size:34px;font-weight:900;line-height:1.25}
.cx-bigshow small{font-size:16px;color:#c7d6f5}
.cx-bigshow .cx-btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4);box-shadow:none}
.cx-empty{color:var(--cx-muted);text-align:center;padding:30px 10px}
.cx-now{background:var(--cx-navy);color:#fff;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}
.cx-round{width:52px;height:52px;border-radius:50%;border:0;background:rgba(255,255,255,.12);display:grid;place-items:center;cursor:pointer}
.cx-round svg{width:24px;height:24px;color:#fff}
.cx-round.big{width:76px;height:76px;background:var(--cx-blue)}
.cx-round.big svg{width:34px;height:34px}
.cx-ch{margin:10px 0 0;font-size:14px;color:var(--cx-muted)}
.cx-crow{display:flex;align-items:center;gap:10px;border:1px solid var(--cx-line);border-radius:12px;padding:12px;background:#fff;font:inherit;font-size:14.5px;color:var(--cx-navy);text-align:left;cursor:pointer}
.cx-crow svg{width:18px;height:18px;color:var(--cx-blue);flex:none}
.cx-crow span{flex:1}.cx-crow small{color:var(--cx-muted)}
@media(max-width:620px){.cx-hero{border-radius:14px;padding:16px}.cx-title{font-size:23px}.cx-stats{gap:6px}.cx-stat{padding:8px;gap:6px}.cx-stat strong{font-size:15px}.cx-stat svg{width:17px;height:17px}.cx-actions{gap:8px}.cx-action{padding:10px;gap:8px}.cx-action-ic{width:34px;height:34px}.cx-action-tx strong{font-size:12.5px}.cx-action-tx small{font-size:11px}.cx-stop-l strong{font-size:12.5px}.cx-dot{width:52px;height:52px}.cx-q{font-size:18px}.cx-en{font-size:19px}}
@media(prefers-reduced-motion:reduce){.cx-stop.next .cx-dot,.cx-mic.on,.cx-done-ic{animation:none}}
.cx-slow.es{font:inherit;font-weight:900;font-size:13px;color:var(--cx-blue)}
.cx-stat{flex-direction:column;align-items:flex-start;gap:4px}
.cx-stat strong{font-size:18px}
.cx-stat span{display:block;line-height:1.2}
.cx-unit .cx-unit-head{background:var(--cx-blue)}
.cx-unit.alt .cx-unit-head{background:var(--cx-navy)}
.cx-fill,.cx-doc p,.cx-prompt,.cx-intro-card h2{color:var(--cx-navy)}
.cx-doc.sign p{color:#fff}
.cx-doc.text_msg p{color:var(--cx-navy)}
.cx-today span,.cx-ranknote{color:#c7d6f5}
.cx-hero p.cx-ranknote{color:#c7d6f5}
/* Personajes del curso */
.cx-char{display:inline-block;line-height:0;flex:0 0 auto}
.cx-char svg{width:100%;height:100%;overflow:visible;display:block}
.cx-char .f-h,.cx-char .f-s,.cx-char .f-t{display:none}
.cx-char.m-happy .f-n,.cx-char.m-sad .f-n,.cx-char.m-talk .mouth{display:none}
.cx-char.m-happy .f-h,.cx-char.m-sad .f-s,.cx-char.m-talk .f-t{display:inline}
.cx-char .bob{transform-box:fill-box;transform-origin:50% 100%}
.cx-char .blink{transform-box:fill-box;transform-origin:50% 50%;animation:cxBlink 4.6s infinite}
.cx-char.m-idle .bob{animation:cxBreathe 3.4s ease-in-out infinite}
.cx-char.m-talk .bob{animation:cxNod .9s ease-in-out infinite}
.cx-char.m-talk .talkmouth{transform-box:fill-box;transform-origin:50% 30%;animation:cxTalk .26s ease-in-out infinite alternate}
.cx-char.m-happy .bob{animation:cxJump .62s cubic-bezier(.3,1.6,.5,1) 2}
.cx-char.m-happy .sparks{transform-box:fill-box;transform-origin:50% 50%;animation:cxSpark .9s ease-out both}
.cx-char.m-sad .bob{animation:cxDroop .7s ease-out forwards}
@keyframes cxBlink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.08)}}
@keyframes cxBreathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.008,1.018)}}
@keyframes cxNod{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-1.5%) rotate(-1deg)}}
@keyframes cxTalk{from{transform:scaleY(.25)}to{transform:scaleY(1)}}
@keyframes cxJump{0%{transform:translateY(0) scale(1,1)}25%{transform:translateY(0) scale(1.06,.92)}55%{transform:translateY(-14%) scale(.96,1.06)}85%{transform:translateY(0) scale(1.04,.96)}100%{transform:translateY(0) scale(1,1)}}
@keyframes cxSpark{0%{opacity:0;transform:scale(.3)}40%{opacity:1;transform:scale(1.15)}100%{opacity:0;transform:scale(1)}}
@keyframes cxDroop{0%{transform:translateY(0) rotate(0)}40%{transform:translateY(3%) rotate(-4deg)}100%{transform:translateY(2.5%) rotate(-2deg)}}
@media (prefers-reduced-motion:reduce){.cx-char .bob,.cx-char .blink,.cx-char .talkmouth,.cx-char .sparks{animation:none!important}}
/* Lobo de frente: orejas, mirada y toque */
.cx-char.wolf{cursor:pointer;-webkit-tap-highlight-color:transparent}
.cx-char.wolf .ear{transform-box:fill-box}
.cx-char.wolf .ear-l{transform-origin:85% 95%}.cx-char.wolf .ear-r{transform-origin:15% 95%}
.cx-char.wolf.m-idle .ear-r{animation:cxEarR 5.5s ease-in-out infinite}
.cx-char.wolf.m-idle .ear-l{animation:cxEarL 7.3s ease-in-out infinite}
.cx-char.wolf.m-idle .pupils{transform-box:view-box;animation:cxLook 9s ease-in-out infinite}
.cx-char.wolf.m-talk .ear-l{animation:cxEarL 1.8s ease-in-out infinite}.cx-char.wolf.m-talk .ear-r{animation:cxEarR 1.8s ease-in-out infinite .4s}
.cx-char.wolf.m-talk .bob{animation:cxTalkHead 1.1s ease-in-out infinite}
.cx-char.wolf.m-talk .talkmouth{transform-origin:50% 0%}
.cx-char.wolf.m-happy .ear-l{animation:cxEarUpL .62s ease-out 2}.cx-char.wolf.m-happy .ear-r{animation:cxEarUpR .62s ease-out 2}
.cx-char.wolf.m-sad .ear-l{animation:cxEarDownL .7s ease-out forwards}.cx-char.wolf.m-sad .ear-r{animation:cxEarDownR .7s ease-out forwards}
.cx-char.wolf.m-sad .bob{animation:cxSadHead .7s ease-out forwards}
.cx-char.wolf .tear{transform-box:fill-box;transform-origin:50% 0;animation:cxTear 1.6s ease-in .3s infinite}
.cx-char.wolf.m-happy .blush{opacity:0}
@keyframes cxEarR{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(12deg)}92%{transform:rotate(-3deg)}95%{transform:rotate(6deg)}}
@keyframes cxEarL{0%,90%,100%{transform:rotate(0)}93%{transform:rotate(-12deg)}96%{transform:rotate(3deg)}}
@keyframes cxLook{0%,18%,100%{transform:translate(0,0)}24%,40%{transform:translate(-3px,1px)}48%,62%{transform:translate(3px,1px)}70%{transform:translate(0,0)}}
@keyframes cxTalkHead{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-1.2%) rotate(1.5deg)}70%{transform:translateY(-.6%) rotate(-1.5deg)}}
@keyframes cxEarUpL{0%,100%{transform:rotate(0)}50%{transform:rotate(-10deg) translateY(-4%)}}
@keyframes cxEarUpR{0%,100%{transform:rotate(0)}50%{transform:rotate(10deg) translateY(-4%)}}
@keyframes cxEarDownL{to{transform:rotate(-28deg) translateY(6%)}}
@keyframes cxEarDownR{to{transform:rotate(28deg) translateY(6%)}}
@keyframes cxSadHead{0%{transform:translateY(0)}100%{transform:translateY(3%) rotate(-3deg)}}
@keyframes cxTear{0%{transform:translateY(0) scale(.6);opacity:0}20%{opacity:1;transform:translateY(0) scale(1)}100%{transform:translateY(160%) scale(.9);opacity:0}}
@media (prefers-reduced-motion:reduce){.cx-char.wolf .ear,.cx-char.wolf .pupils,.cx-char.wolf .tear{animation:none!important}}
/* ---------- v2: selector de curso, mascota, escenas, explicación ---------- */
.cx-switch{display:flex;gap:6px;background:#eef2fa;border-radius:14px;padding:4px;margin-bottom:12px}
.cx-sw{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;border-radius:11px;padding:10px 8px;font:inherit;font-weight:800;font-size:13.5px;color:#5a6784;cursor:pointer}
.cx-sw.on{background:#fff;color:var(--cx-navy);box-shadow:0 2px 6px rgba(8,26,60,.12)}
.cx-sw-flag{font-size:10px;font-weight:900;background:var(--cx-blue);color:#fff;border-radius:6px;padding:2px 5px;letter-spacing:.05em}
.cx-sw:not(.on) .cx-sw-flag{background:#9aa8c4}
.cx-hero-lobo{width:64px;height:60px;filter:drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 6px rgba(1,96,252,.55))}
.cx-level{margin:30px 2px 0;display:flex;flex-direction:column;gap:2px;border-left:5px solid var(--cx-blue);padding:2px 0 2px 12px}
.cx-level strong{font-size:20px;color:var(--cx-navy);letter-spacing:.01em}
.cx-level span{font-size:13px;color:var(--cx-muted)}
.cx-level.intermedio{border-color:#ffc20e}.cx-level.avanzado{border-color:var(--cx-red)}
.cx-unit.lv-avanzado .cx-unit-head{background:linear-gradient(135deg,#081a3c,#3a0a18)}
.cx-unit.lv-avanzado.alt .cx-unit-head{background:linear-gradient(135deg,#3a0a18,#081a3c)}
.cx-level.experto{border-color:#a855f7}
.cx-unit.lv-experto .cx-unit-head{background:linear-gradient(135deg,#081a3c,#2a0f4a)}
.cx-unit.lv-experto.alt .cx-unit-head{background:linear-gradient(135deg,#2a0f4a,#081a3c)}
.cx-road-lobo{position:absolute;width:46px;height:43px;top:-30px;z-index:2;pointer-events:none}
.cx-stop.left .cx-road-lobo{right:62px}.cx-stop.right .cx-road-lobo{left:62px}
.cx-combo{align-self:center;margin:-4px 0 0;font-size:12px;font-weight:900;letter-spacing:.12em;color:#ea580c;height:0;opacity:0;transition:opacity .2s}
.cx-combo.on{height:auto;opacity:1}.cx-combo.pop{animation:cxPop .4s ease}
/* escena: personaje + globo */
.cx-scene{display:flex;align-items:flex-end;gap:8px;margin-top:4px}
.cx-scene-char{width:104px;height:116px;margin-bottom:-2px}
.cx-scene-char.wolf{width:110px;height:104px}
.cx-say{position:relative;flex:1;min-width:0;border:2px solid var(--cx-line);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:8px;background:#fff;margin-bottom:14px}
.cx-say:before{content:"";position:absolute;left:-12px;bottom:18px;width:20px;height:20px;background:#fff;border-left:2px solid var(--cx-line);border-bottom:2px solid var(--cx-line);transform:rotate(45deg) skew(10deg,10deg)}
.cx-scene.small .cx-scene-char{width:76px;height:85px}.cx-scene.small .cx-scene-char.wolf{width:84px;height:79px}
.cx-scene.small .cx-say{padding:12px;margin-bottom:8px}
.cx-scene.listen .cx-say{align-items:center;padding:12px}
.cx-scene.listen .cx-bigplay{width:auto;height:auto;padding:14px 22px;border-radius:18px;display:flex;align-items:center;gap:12px;margin:0}
.cx-scene.listen .cx-bigplay svg{width:34px;height:34px}
.cx-wave{display:block;width:120px;height:30px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.9) 0 4px,transparent 4px 9px);-webkit-mask:linear-gradient(transparent,#000 30%,#000 70%,transparent);mask:radial-gradient(ellipse 60% 100% at 50% 50%,#000 60%,transparent 100%);border-radius:4px;opacity:.9}
.cx-prompt-b{margin:0;font-size:17px;line-height:1.38;color:var(--cx-navy);font-weight:600}
.cx-say .cx-en{font-size:20px}
.cx-say .cx-audio{margin-top:2px}
/* palabras resaltadas */
.cx-hl{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;border-bottom:3px dotted #7fa9ff;line-height:inherit}
.cx-hl.on{background:#e9f1ff;border-bottom-color:var(--cx-blue);border-radius:4px}
.cx-gloss{margin:0;font-size:14px;font-weight:700;color:var(--cx-blue);min-height:0;display:none}
.cx-gloss.on{display:block;background:#eef4ff;border-radius:10px;padding:8px 10px}
/* parejas */
.cx-pairs{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cx-pcol{display:flex;flex-direction:column;gap:10px}
.cx-pbtn{min-height:52px;border:2px solid var(--cx-line);background:#fff;border-radius:14px;padding:10px;font:inherit;font-size:15.5px;font-weight:700;color:var(--cx-navy);cursor:pointer;box-shadow:0 3px 0 var(--cx-line);line-height:1.25}
.cx-pbtn.sel{border-color:var(--cx-blue);background:#eef4ff;box-shadow:0 3px 0 #9fc0ff}
.cx-pbtn.ok{border-color:#bfe6cc;background:#f1faf4;color:#7fb596;box-shadow:none;animation:cxPop .3s ease}
.cx-pbtn.no{border-color:var(--cx-red);background:#fdecee;animation:cxShake .4s ease}
@keyframes cxShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
/* micrófono */
.cx-micwrap{position:relative;align-self:center;width:132px;height:132px;display:grid;place-items:center;margin-top:4px}
.cx-ring{position:absolute;inset:0;border-radius:50%;background:rgba(252,2,30,.16);transition:transform .08s linear}
.cx-micwrap .cx-mic{position:relative;margin:0;width:118px;height:118px}
.cx-mic.on{background:#c20017}
.cx-mic-l{font-size:13px}
/* pie de resultado */
.cx-fb{align-items:center}
.cx-fb-lobo{width:66px;height:62px}
.cx-fb-tx{flex:1;min-width:0}
.cx-fb-row{display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px}
.cx-explain-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 16px}
.cx-explain-btn svg{width:20px;height:20px;color:var(--cx-blue)}
.cx-sfoot.bad .cx-explain-btn{border-color:#f2a8b1}
/* hoja de explicación */
.cx-sheet{position:absolute;inset:0;z-index:20;background:rgba(8,26,60,.5);display:flex;align-items:flex-end;justify-content:center;animation:cxFade .2s ease}
.cx-sheet.out{opacity:0;transition:opacity .2s}
.cx-sheet-card{background:#fff;width:100%;max-width:620px;max-height:88%;overflow-y:auto;border-radius:22px 22px 0 0;padding:16px 18px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;animation:cxUp .28s cubic-bezier(.2,.9,.3,1.1)}
@keyframes cxUp{from{transform:translateY(40%)}to{transform:translateY(0)}}
@keyframes cxFade{from{opacity:0}to{opacity:1}}
.cx-sheet-head{display:flex;align-items:center;gap:12px}
.cx-sheet-head strong{font-size:19px;color:var(--cx-navy)}
.cx-sheet-lobo{width:72px;height:68px}
.cx-sheet-body{display:flex;flex-direction:column;gap:12px}
.cx-xp{border:2px solid var(--cx-line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:6px}
.cx-xp-t{margin:0;font-size:21px;font-weight:800;line-height:1.4;color:var(--cx-navy)}
.cx-xp-n{margin:0;font-size:15.5px;color:#33415e}
.cx-xp-hint{margin:0;font-size:12px;color:var(--cx-muted);font-weight:700}
.cx-xp-why{display:flex;gap:10px;align-items:flex-start;background:#fff8e1;border:1px solid #ffe08a;border-radius:14px;padding:12px;font-size:15px;line-height:1.45;color:var(--cx-navy)}
.cx-xp-why svg{width:20px;height:20px;color:#b78900;flex:none;margin-top:2px}
.cx-xp-ex{display:grid;grid-template-columns:1fr auto;grid-template-areas:"s b" "t b" "n b";gap:2px 10px;align-items:center;background:var(--cx-soft);border-radius:14px;padding:12px}
.cx-xp-ex small{grid-area:s;font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--cx-blue);text-transform:uppercase}
.cx-xp-ex strong{grid-area:t;font-size:16.5px;color:var(--cx-navy)}
.cx-xp-ex span{grid-area:n;font-size:14px;color:var(--cx-muted)}
.cx-xp-ex .cx-mini{grid-area:b;width:42px;height:42px}
.cx-prow-why{font-size:12.5px;color:#33415e;line-height:1.35}
/* diálogo con personajes */
.cx-bub{flex-direction:row;align-items:flex-end;gap:8px;max-width:94%;background:none!important;border:0!important;padding:0}
.cx-bub.me{flex-direction:row-reverse}
.cx-bub-av{width:46px;height:51px;flex:none}
.cx-bub-av.wolf{width:48px;height:45px}
.cx-bub-in{border-radius:16px;padding:10px 12px;display:flex;flex-direction:column;gap:3px;min-width:0}
.cx-bub.them .cx-bub-in{background:var(--cx-soft);border:1px solid var(--cx-line);border-bottom-left-radius:4px}
.cx-bub.me .cx-bub-in{background:#e9f1ff;border:1px solid #c5d8fb;border-bottom-right-radius:4px}
.cx-bub.me.good .cx-bub-in{border-color:#9fd8b5;background:#e6f6ec}.cx-bub.me.bad .cx-bub-in{border-color:#f2a8b1;background:#fdecee}
.cx-mini.q{width:auto;padding:0 10px;font-size:12px}
/* intro, final y vacíos */
.cx-intro-lobo{width:120px;height:113px;margin-bottom:4px}
.cx-confirm-lobo{width:84px;height:79px;align-self:center}
.cx-done{position:relative}
.cx-done-lobo{width:150px;height:141px}
.cx-empty{display:flex;flex-direction:column;align-items:center;gap:6px}
.cx-empty-lobo{width:96px;height:90px}
.cx-confetti{position:absolute;inset:-20px 0 auto 0;height:0;pointer-events:none}
.cx-confetti i{position:absolute;top:0;width:9px;height:14px;border-radius:2px;animation:cxConf 1.6s cubic-bezier(.2,.6,.4,1) forwards;opacity:0}
@keyframes cxConf{0%{opacity:1;transform:translateY(-20px) rotate(0)}100%{opacity:0;transform:translateY(420px) rotate(540deg)}}
@media(max-width:400px){.cx-scene-char{width:86px;height:96px}.cx-scene-char.wolf{width:92px;height:87px}.cx-pbtn{font-size:14.5px}}
@media(prefers-reduced-motion:reduce){.cx-confetti{display:none}.cx-sheet-card{animation:none}}

.cx-welcome{display:flex;gap:10px;align-items:flex-end;margin:14px 0 4px;background:linear-gradient(135deg,#eaf2ff,#fff);border:2px solid #c5d8fb;border-radius:18px;padding:12px}
.cx-welcome-lobo{width:84px;height:79px;flex:none}
.cx-welcome-tx{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}
.cx-welcome-tx p{margin:0;font-size:14.5px;line-height:1.42;color:var(--cx-navy);font-weight:600}
.cx-welcome-tx .cx-btn{align-self:flex-start;padding:11px 16px;font-size:14.5px}
/* ---------- Repite en voz alta (mazo de tarjetas + micrófono con barras) ---------- */
.cx-rep{gap:14px}
.cx-deck{position:relative;align-self:center;width:min(300px,82vw);height:210px;margin:10px 0 4px}
.cx-flash{position:absolute;inset:0;border-radius:22px;background:#fff;border:2px solid #dfe6f3;box-shadow:0 5px 0 #dfe6f3}
.cx-flash.shadow.s1{transform:translateY(-10px) scale(.95);opacity:.9}
.cx-flash.shadow.s2{transform:translateY(-19px) scale(.9);opacity:.75}
.cx-flash.top{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;animation:cxCardIn .28s ease-out}
.cx-flash.top strong{font-size:clamp(26px,8vw,36px);font-weight:900;color:var(--cx-navy);line-height:1.15;text-align:center}
.cx-flash.top small{font-size:15px;color:var(--cx-muted);font-weight:700;text-align:center}
.cx-flash.top.shake{animation:cxShake .4s ease}
.cx-flash.top.fly-ok{animation:cxFlyOk .42s ease-in forwards;border-color:var(--cx-green);box-shadow:0 5px 0 #0a6b35}
.cx-flash.top.fly-no{animation:cxFlyNo .42s ease-in forwards}
.cx-dots{position:absolute;left:0;right:0;bottom:-22px;display:flex;gap:6px;justify-content:center}
.cx-dots i{width:8px;height:8px;border-radius:50%;background:#d3dbea}.cx-dots i.now{background:var(--cx-blue);width:20px;border-radius:4px}.cx-dots i.done{background:var(--cx-green)}
.cx-repctl{display:flex;gap:12px;justify-content:center;align-items:stretch;margin-top:18px}
.cx-pill{flex:0 1 220px;height:72px;border:0;border-radius:20px;background:var(--cx-blue);box-shadow:0 6px 0 #0040b0;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .08s}
.cx-pill:active{transform:translateY(4px);box-shadow:0 2px 0 #0040b0}
.cx-pill-ic svg{width:32px;height:32px}
.cx-bars{display:none;gap:6px;align-items:center;height:40px}
.cx-bars i{width:7px;height:36px;border-radius:4px;background:#fff;transform:scaleY(.25);transition:transform .07s linear}
.cx-pill.on .cx-pill-ic{display:none}.cx-pill.on .cx-bars{display:flex}
.cx-pill.on{background:#1d6dff;animation:cxPillGlow 1.2s ease-in-out infinite}
.cx-sq{width:72px;height:72px;border-radius:20px;border:2px solid #dfe6f3;background:#fff;box-shadow:0 6px 0 #dfe6f3;color:var(--cx-blue);display:grid;place-items:center;cursor:pointer}
.cx-sq svg{width:30px;height:30px}
.cx-rep .cx-link{align-self:center;text-transform:uppercase;letter-spacing:.06em;font-size:13px;color:#8a97b1}
@keyframes cxCardIn{from{transform:translateY(14px) scale(.96);opacity:0}to{transform:none;opacity:1}}
@keyframes cxShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(9px)}60%{transform:translateX(-6px)}80%{transform:translateX(4px)}}
@keyframes cxFlyOk{to{transform:translate(120%,-8%) rotate(14deg);opacity:0}}
@keyframes cxFlyNo{to{transform:translateY(40%) scale(.9);opacity:0}}
@keyframes cxPillGlow{0%,100%{box-shadow:0 6px 0 #0040b0,0 0 0 0 rgba(1,96,252,.45)}50%{box-shadow:0 6px 0 #0040b0,0 0 0 12px rgba(1,96,252,0)}}
/* ---------- Final de lección: tarjetas de resultado y lección perfecta ---------- */
.cx-done-hero{position:relative;display:inline-block}
.cx-done.perfect .cx-done-lobo{width:180px;height:169px}
.cx-medal{position:absolute;right:-28px;bottom:-6px;width:62px;height:85px;animation:cxMedal .7s cubic-bezier(.3,1.6,.5,1) .35s both}
.cx-medal svg{width:100%;height:100%}
.cx-medal .cx-glint{transform-box:fill-box;transform-origin:50% 50%;animation:cxSpark 1.6s ease-out 1s infinite}
.cx-done.perfect h2{color:var(--cx-blue);font-size:30px}
.cx-done-sub{margin:-6px 0 0;color:#5a6784;font-size:16px;font-weight:600}
.cx-done-grid.stats{gap:10px}
.cx-done-grid.stats .cx-done-box{padding:0;border-width:3px;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;animation:cxBoxIn .4s ease-out both}
.cx-done-grid.stats .cx-done-box:nth-child(2){animation-delay:.12s}.cx-done-grid.stats .cx-done-box:nth-child(3){animation-delay:.24s}
.cx-done-box .cx-db-l{display:block;color:#fff;font-size:11px;font-weight:900;letter-spacing:.06em;padding:5px 4px}
.cx-done-box strong{display:flex!important;align-items:center;justify-content:center;gap:6px;padding:12px 4px;background:#fff;margin:0 3px 3px;border-radius:12px}
.cx-done-box strong svg{width:20px;height:20px}
.cx-done-box.gold{border-color:#ffc20e;background:#ffc20e}.cx-done-box.gold strong{color:#b57e00}
.cx-done-box.blue{border-color:#0160fc;background:#0160fc}.cx-done-box.blue strong{color:#0160fc}
.cx-done-box.green{border-color:#0a8f45;background:#0a8f45}.cx-done-box.green strong{color:#0a8f45}
.cx-done-days{margin:0;color:#5a6784;font-size:13.5px;font-weight:700}
.cx-done.perfect .cx-done-box.green{box-shadow:0 0 0 5px rgba(10,143,69,.15)}
@keyframes cxMedal{from{transform:translateY(-60px) rotate(-30deg) scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes cxBoxIn{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.cx-flash.top,.cx-pill.on,.cx-medal,.cx-done-grid.stats .cx-done-box{animation:none!important}}
/* ---------- Membresía: aviso en el curso ---------- */
.cx-upsell{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;background:linear-gradient(135deg,#081a3c,#0b2f73);color:#fff;border-radius:20px;padding:16px;margin:6px 0 24px;box-shadow:0 8px 20px rgba(8,26,60,.2)}
.cx-upsell strong{display:block;font-size:18px;font-weight:900;color:#fff;margin-bottom:4px}
.cx-upsell p{margin:0;color:#c7d6f5;font-size:14px;line-height:1.45}
.cx-upsell .cx-btn{grid-column:1/-1;background:#ffc20e;color:#081a3c;box-shadow:0 5px 0 #b58800}
.cx-upsell-lobo{width:74px;height:70px;filter:drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff)}
.cx-unit.locked .cx-stop{cursor:pointer}
/* ---------- Pantalla de planes ---------- */
dialog.cxp{width:min(440px,100vw);max-height:100dvh;margin:auto;border:0;border-radius:24px;padding:22px 18px 18px;background:#fff;color:#081a3c;overflow:auto;box-shadow:0 20px 60px rgba(8,26,60,.35)}
dialog.cxp::backdrop{background:rgba(8,26,60,.55)}
.cxp-x{position:absolute;top:12px;right:12px;width:38px;height:38px;border-radius:50%;border:0;background:#eef2fa;color:#081a3c;display:grid;place-items:center}
.cxp-h{text-align:center;padding:4px 30px 6px}
.cxp-eye{margin:0 0 4px;font-size:11px;font-weight:900;letter-spacing:.14em;color:#0160fc}
.cxp-h h2{font-size:24px;font-weight:900;margin:0 0 6px;line-height:1.15}
.cxp-h p{margin:0;font-size:14px;color:#5a6784}
.cxp-toggle{display:flex;gap:4px;background:#eef2fa;border-radius:14px;padding:4px;margin:14px 0 12px}
.cxp-toggle button{flex:1;border:0;border-radius:11px;background:transparent;padding:10px 6px;font-weight:800;font-size:13.5px;color:#5a6784}
.cxp-toggle button.on{background:#fff;color:#081a3c;box-shadow:0 2px 6px rgba(8,26,60,.12)}
.cxp-list{display:flex;flex-direction:column;gap:10px}
.cxp-card{position:relative;text-align:left;border:2px solid #dbe3f0;border-radius:18px;background:#fff;padding:14px 14px 10px;color:#081a3c}
.cxp-card.sel{border-color:#0160fc;box-shadow:0 0 0 4px rgba(1,96,252,.14)}
.cxp-card.best{background:linear-gradient(180deg,#f3f7ff,#fff)}
.cxp-tag{position:absolute;top:-10px;left:14px;background:#0B1B3A;color:#fff;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;border-radius:8px;padding:2px 8px}
.cxp-card.best .cxp-tag{background:#ffc20e;color:#081a3c}
.cxp-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.cxp-top strong{font-size:18px;font-weight:900}
.cxp-top b{font-size:17px;font-weight:900;color:#0160fc;white-space:nowrap}
.cxp-sub{display:block;text-align:right;color:#5a6784;font-size:12px;margin-top:-2px}
.cxp-card ul{list-style:none;margin:8px 0 0;padding:0}
.cxp-card li{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;margin:4px 0;color:#33415e}
.cxp-card li svg{width:16px;height:16px;color:#0a8f45;flex:none;margin-top:2px}
.cxp-cta{width:100%;margin-top:14px;min-height:54px;border:0;border-radius:16px;background:#0160fc;color:#fff;font-size:17px;font-weight:900;box-shadow:0 5px 0 #0040b0}
.cxp-cta:disabled{opacity:.55}
.cxp-free{font-size:12.5px;color:#33415e;text-align:center;margin:12px 0 4px}
.cxp-note{font-size:11px;color:#8a97b1;text-align:center;margin:0;line-height:1.45}

.cx-webnote{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#eef3fc;color:#24407a;font-size:13px;font-weight:600}
