/* ===== 1. VOLUMEN DEL REPRODUCTOR ===== */
.prow .vol{position:relative;display:flex;align-items:center;gap:2px}
.prow .vol .vbtn svg,.prow .vol .vmt svg{width:20px;height:20px}
.prow .vol .vsl{display:flex;align-items:center;gap:8px;width:0;overflow:hidden;opacity:0;transition:width .22s ease,opacity .18s ease}
.prow .vol:not(.touch):hover .vsl,.prow .vol:not(.touch):focus-within .vsl{width:128px;opacity:1}
.prow .vol .vmt{display:none}
.prow .vol .vpct{font:600 11px/1 "JetBrains Mono",ui-monospace,monospace;color:#fff;min-width:32px;text-align:right}
.prow .vol input[type=range]{-webkit-appearance:none;appearance:none;width:84px;height:4px;border-radius:4px;cursor:pointer;margin:0;
  background:linear-gradient(90deg,#fff 0,#fff var(--v,100%),rgba(255,255,255,.28) var(--v,100%));outline:none}
.prow .vol input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(0,0,0,.25)}
.prow .vol input[type=range]::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:#fff}
.prow .vol input[type=range]:focus-visible{box-shadow:0 0 0 3px rgba(227,194,114,.6)}
.prow .vol.muted .vbtn{color:#ffb4a8}
/* móvil / táctil: control grande que se abre encima de la barra */
.prow .vol.touch{position:static}
.prow .vol.touch .vsl{position:absolute;left:12px;right:12px;bottom:58px;width:auto;overflow:visible;padding:12px 14px;border-radius:14px;background:rgba(10,10,10,.94);border:1px solid rgba(255,255,255,.14);
  box-shadow:0 14px 40px rgba(0,0,0,.5);opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .18s,transform .18s;z-index:6}
.prow .vol.touch.open .vsl{opacity:1;pointer-events:auto;transform:none}
.prow .vol.touch .vmt{display:flex;width:auto;height:40px;padding:0 12px;gap:6px;align-items:center;border-radius:10px;background:rgba(255,255,255,.1);font-size:12px;font-weight:700}
.prow .vol.touch input[type=range]{flex:1;width:auto;min-width:0;height:6px}
.prow .vol.touch input[type=range]::-webkit-slider-thumb{width:24px;height:24px}
.prow .vol.touch input[type=range]::-moz-range-thumb{width:24px;height:24px}
.prow .vol.touch .vbtn{width:40px;height:40px}
.fm.fm-k .prow .vol input[type=range]{background:linear-gradient(90deg,#00FF88 0,#00FF88 var(--v,100%),rgba(255,255,255,.22) var(--v,100%))}

/* ===== 4. BOTÓN SIGUIENTE LECCIÓN (verde) ===== */
.fm .fm-nc.fm-nx.fm-go{position:relative;background:#00C878!important;border:1px solid #00C878!important;color:#03170D!important;padding:16px 64px 16px 22px;text-align:left;align-items:flex-start;
  box-shadow:0 10px 28px -14px rgba(0,200,120,.7);transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important}
.fm .fm-nc.fm-nx.fm-go .fm-nk{color:#03170D!important;font-weight:800;letter-spacing:2.5px}
.fm .fm-nc.fm-nx.fm-go .fm-nt{color:#03170D!important;font-weight:800}
.fm .fm-nc.fm-nx.fm-go .fm-nr{color:rgba(3,23,13,.72)!important}
.fm .fm-nc.fm-nx.fm-go .fm-arr{position:absolute;right:16px;top:50%;width:36px;height:36px;margin-top:-18px;display:grid;place-items:center;border-radius:50%;background:#03170D;color:#00E08A;transition:transform .2s ease}
.fm .fm-nc.fm-nx.fm-go .fm-arr svg{width:18px;height:18px}
@media (hover:hover){
  .fm a.fm-nc.fm-nx.fm-go:hover{background:#00D884!important;transform:translateY(-2px);box-shadow:0 16px 34px -14px rgba(0,200,120,.85)}
  .fm a.fm-nc.fm-nx.fm-go:hover .fm-arr{transform:translateX(4px)}
}
.fm a.fm-nc.fm-nx.fm-go:active{transform:scale(.98);background:#00B26B!important;box-shadow:0 4px 14px -8px rgba(0,200,120,.8)}
.fm a.fm-nc.fm-nx.fm-go:focus-visible{outline:3px solid #03170D;outline-offset:2px;box-shadow:0 0 0 6px #00C878}
/* bloqueada: claramente deshabilitada */
.fm .fm-nc.fm-nx.fm-lk{cursor:not-allowed;opacity:.85}
.fm .fm-nc.fm-nx.fm-lk .fm-nk{display:inline-flex;align-items:center;gap:6px}
.fm .fm-nc.fm-nx.fm-lk .fm-nk svg{width:13px;height:13px}
/* completar lección ≠ siguiente lección: en Black Zone el de completar pasa a contorno */
.fm.fm-k #doneBtn{background:transparent!important;color:#00FF88!important;border:1.5px solid #00FF88!important;box-shadow:none!important}
.fm.fm-k #doneBtn:not(:disabled):hover{background:rgba(0,255,136,.1)!important}

/* ===== 2. ADMIN — completar desde la lección ===== */
.fm-admc{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:9px;border:1px dashed var(--acl);background:transparent;color:var(--ac);font:700 12px/1 Inter,sans-serif;cursor:pointer;white-space:nowrap}
.fm-admc svg{width:15px;height:15px}
.fm-admc:hover{background:var(--acs)}
.fm-admc:disabled{opacity:.5;cursor:wait}

/* ===== 3. ANIMATION TEST CENTER ===== */
.tl-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:9px 14px;border-radius:10px;background:#111;color:#F6E3A1!important;text-decoration:none;font:800 11px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:2px}
.tl-link svg{width:13px;height:13px}
.tl-link:hover{background:#000}
#sndp .sp-tl{display:block;margin-top:10px;font-size:12px;font-weight:700;color:#a07a24;text-decoration:none}
.tl-backpill{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:640;padding:11px 18px;border-radius:99px;background:#111;color:#F6E3A1;border:1px solid #C9A24B;font:700 13px/1 Inter,sans-serif;text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.35)}
@media (max-width:760px){.tl-backpill{bottom:84px}}
.tlc{padding:34px 0 80px;min-height:calc(100vh - 64px)}
.tlc .wrap{max-width:1180px}
.tlc-h{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap}
.tlc-h .k{font:700 11px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:3px;color:#a07a24}
.tlc-h h1{font:900 clamp(28px,4.6vw,46px)/1 Inter,sans-serif;letter-spacing:-1.2px;margin-top:10px}
.tlc-h p{max-width:640px;margin-top:10px;color:#6f6a5d;font-size:15px;line-height:1.5}
.tlc-back{font-weight:700;font-size:13px;color:#111;text-decoration:none;padding:9px 12px;border:1px solid #e3dfd3;border-radius:10px}
.tlc-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:24px 0 18px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid #ece8dd}
.tlc-sw{display:flex;gap:14px;align-items:flex-start;cursor:pointer;max-width:720px}
.tlc-sw input{position:absolute;opacity:0;pointer-events:none}
.tlc-sw i{flex:none;width:46px;height:26px;border-radius:99px;background:#ddd8cc;position:relative;transition:background .2s;margin-top:2px}
.tlc-sw i:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.tlc-sw input:checked+i{background:#0FA968}
.tlc-sw input:checked+i:after{transform:translateX(20px)}
.tlc-sw input:focus-visible+i{outline:2px solid #C9A24B;outline-offset:2px}
.tlc-sw b{display:block;font:800 12px/1.2 "JetBrains Mono",ui-monospace,monospace;letter-spacing:2px}
.tlc-sw small{display:block;margin-top:5px;color:#6f6a5d;font-size:12.5px;line-height:1.45}
.tlc-vw{display:flex;padding:4px;border-radius:12px;background:#F3F1EC}
.tlc-vw button{padding:9px 14px;border-radius:9px;border:0;background:none;font:700 12.5px/1 Inter,sans-serif;color:#6f6a5d;cursor:pointer}
.tlc-vw button.on{background:#fff;color:#111;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.tlc-g{display:grid;grid-template-columns:1fr;gap:22px}
.tlc-g.m{grid-template-columns:1fr 420px}
.tlc-list{display:grid;gap:10px;align-content:start}
.tlc-c{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #ece8dd}
.tlc-c .n{font:700 12px/1 "JetBrains Mono",ui-monospace,monospace;color:#b5ad98}
.tlc-c b{display:block;font-size:15px}
.tlc-c small{display:block;color:#7d776a;font-size:12.5px;margin-top:3px}
.tlc-c .a{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.tlc-play,.tlc-rst{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border-radius:10px;font:800 10.5px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:1.4px;cursor:pointer;white-space:nowrap}
.tlc-play svg,.tlc-rst svg{width:14px;height:14px}
.tlc-play{background:#111;color:#F6E3A1;border:1px solid #111}
.tlc-play:hover{background:#000}
.tlc-rst{background:#fff;color:#111;border:1px solid #e0dccf}
.tlc-rst:hover{border-color:#C9A24B;background:#fff9ea}
.tlc-play:active,.tlc-rst:active{transform:scale(.97)}
.tlc-ph{position:sticky;top:84px;align-self:start;text-align:center}
.tlc-pf{width:390px;height:844px;max-height:calc(100vh - 140px);margin:0 auto;border-radius:38px;border:10px solid #111;overflow:hidden;background:#000;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)}
.tlc-pf iframe{width:100%;height:100%;border:0;background:#fff}
.tlc-ph small{display:block;margin-top:10px;color:#7d776a;font-size:12px}
.tlc-note{margin-top:18px;color:#7d776a;font-size:12.5px;line-height:1.5}
@media (max-width:760px){
  .tlc{padding-top:22px}
  .tlc-c{grid-template-columns:auto 1fr}
  .tlc-c .a{grid-column:1/-1;justify-content:stretch}
  .tlc-c .a button{flex:1;justify-content:center;min-height:44px}
}
@media (max-width:600px){.prow{gap:4px!important}.prow #tm{white-space:nowrap;font-size:11.5px}.prow button{width:34px}}
