/* ════════════════════════════════════════════════════════════════════════
 * v4-scenes.css — Las escenas de la v4 (js/scenes1.js y scenes2.js): "tu
 * pantalla" de 660 × 760 px con la barra de menús, ventanas de apps de
 * verdad (visor de PDF, editor, Word, Zoom, calendario, Chrome, terminal…)
 * y, encima, el overlay real de Niva (con su CSS en su Shadow DOM).
 * ══════════════════════════════════════════════════════════════════════ */

/* ═══ Comunes ═══ */
.sc { position: absolute; inset: 0; opacity: 0; visibility: hidden; filter: blur(8px); transition: opacity 0.5s ease, filter 0.5s ease, visibility 0s linear 0.5s; font-family: var(--hv); color: var(--ink); }
.sc.on { opacity: 1; visibility: visible; filter: none; transition-delay: 0s; }
.nv-host { position: absolute; z-index: 40; height: 10px; pointer-events: none; }
.sc-cursor { position: absolute; left: 0; top: 0; z-index: 60; width: 22px; height: 22px; margin: -3px 0 0 -4px; opacity: 0; pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28)); transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease; }
.sc-cursor.on { opacity: 1; }
.sc-cursor.tap { animation: tap 0.22s ease; }
@keyframes tap { 50% { scale: 0.8; } }
@keyframes lineIn { from { opacity: 0; translate: 0 6px; } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes grow { from { transform: scaleY(0.08); } }
/* La barra de menús */
.mb { position: absolute; left: 0; right: 0; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 24px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 6px 16px -10px rgba(20, 24, 32, 0.4); font: 500 11.5px/1 var(--hv); color: rgba(11, 12, 16, 0.75); }
.mb-app { font-weight: 700; color: var(--ink); }
.mb-r { display: flex; align-items: center; gap: 12px; margin-left: auto; font-variant-numeric: tabular-nums; }
.mb-wifi { width: 13px; height: 9px; border-radius: 13px 13px 2px 2px; background: radial-gradient(circle at 50% 100%, var(--ink) 2px, transparent 2.5px), rgba(11, 12, 16, 0.55); clip-path: polygon(50% 100%, 0 20%, 100% 20%); }
.mb-bat { width: 20px; height: 9px; border-radius: 2.5px; box-shadow: inset 0 0 0 1.2px rgba(11, 12, 16, 0.6); background: linear-gradient(90deg, var(--ink) 0 70%, transparent 70%) 2px 2px / 16px 5px no-repeat; }
.mb-t { font-weight: 600; }
/* Ventanas */
.wn { position: absolute; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 46px 90px -46px rgba(15, 20, 30, 0.55), 0 0 0 1px rgba(15, 20, 30, 0.09); transition: opacity 0.45s ease, transform 0.55s var(--ease), box-shadow 0.3s ease, filter 0.4s ease; }
.wn.dark { background: #1e1f24; color: #d4d8e0; box-shadow: 0 46px 90px -46px rgba(5, 8, 14, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.wn-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: #f3f4f6; border-bottom: 1px solid #e3e5e9; font: 600 12px/1 var(--hv); color: #3b3f46; white-space: nowrap; }
.wn.dark .wn-bar { background: #2a2b31; border-color: #17181c; color: #c9ccd3; }
.wn-bar.blue { background: #2b579a; border-color: #234a85; color: #fff; }
.wn-bar.orange { background: #c4441f; border-color: #a83a1a; color: #fff; }
.wn-bar.green { background: #217346; border-color: #1b5e3a; color: #fff; }
.tl { position: relative; z-index: 1; display: flex; gap: 6px; }
.tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15); }
.tl i:nth-child(2) { background: #febc2e; }
.tl i:nth-child(3) { background: #28c840; }
.tt { position: absolute; left: 60px; right: 60px; text-align: center; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.ic { flex: none; display: inline-grid; place-items: center; width: 24px; height: 16px; border-radius: 3px; font: 700 7px/1 var(--hv); font-style: normal; color: #fff; }
.ic.pdf { background: #e5484d; }
.ic.img { background: #8b5cf6; }
.ic.exe { background: #64748b; }
.pv-lines i { display: block; width: var(--w, 90%); height: 6px; margin: 0 0 8px; border-radius: 3px; background: #e3e6ea; }
/* Avisos de Niva (como las notificaciones del sistema) */
.bt-toasts { position: absolute; right: 10px; bottom: 14px; z-index: 35; display: flex; flex-direction: column; gap: 8px; width: 270px; pointer-events: none; }
.bt-toast { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 18px 40px -22px rgba(15, 20, 30, 0.55); font: 500 12px/1.3 var(--hv); animation: toastIn 0.5s var(--spring); }
.bt-toast img { width: 26px; height: 26px; }
.bt-toast b { display: block; font-size: 11px; color: rgba(11, 12, 16, 0.5); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(0.96); } }
/* Lo que dibuja Niva (Point & ask) */
.sc .mk-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; }
.sc .mk-x { position: absolute; z-index: 46; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transform: scale(0.6); pointer-events: none; transition: opacity 0.25s ease, transform 0.4s var(--spring); }
.sc .mk-x.on { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
/* Vídeos de las personas */
.ls-tile, .ls-prof, .ch-p, .cy-prof { position: relative; overflow: hidden; background: #2a2c33; }
.ls-tile video, .ls-prof video, .ch-p video, .cy-prof video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-tile b, .ls-prof b, .ch-p b, .cy-prof b { position: absolute; left: 7px; bottom: 7px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 600 10.5px/1 var(--hv); }

/* ═══ 1 · The Teacher ═══ */
.tc-art { left: 0; top: 34px; width: 660px; height: 726px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.985); cursor: crosshair; touch-action: none; transition: opacity 0.45s ease, transform 0.6s var(--ease), visibility 0s linear 0.45s; }
.tc-art.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* Visor de PDF */
.tc-pdf { background: #e9ebef; }
.pv-side { position: absolute; left: 0; top: 34px; bottom: 0; width: 86px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; background: #dfe2e7; }
.pv-side i { width: 54px; height: 70px; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.pv-side i.on { box-shadow: 0 0 0 2.5px var(--blue); }
.pv-page { position: absolute; left: 100px; top: 50px; right: 18px; bottom: 0; padding: 26px 26px; background: #fff; box-shadow: 0 6px 24px rgba(15, 20, 30, 0.12); }
.pv-k { margin: 0; font: 700 9.5px/1 var(--hv); letter-spacing: 0.14em; text-transform: uppercase; color: #8a8f9b; }
.pv-page h4 { margin: 8px 0 16px; font: 700 23px/1.1 var(--hv); letter-spacing: -0.02em; }
.tc-gw { position: absolute; left: 24px; top: 300px; width: 290px; }
.tc-gw svg { display: block; width: 100%; height: auto; }
.tc-cs { fill: rgba(44, 107, 255, 0.08); }
.tc-eq { position: absolute; left: 24px; top: 528px; margin: 0; padding: 9px 12px; border-radius: 8px; background: #f4f6f9; font: 400 14px/1.2 var(--hv); white-space: nowrap; }
.tc-eq sub { font-size: 0.7em; }
.pv-n { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font: 500 10px/1 var(--hv); color: #9aa0ab; }
/* Editor de código */
.vs-act { position: absolute; left: 0; top: 34px; bottom: 0; width: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 14px; background: #2a2b31; }
.vs-act i { width: 16px; height: 16px; border-radius: 4px; background: #5b5f6b; }
.vs-act i.on { background: #c9ccd3; }
.vs-tree { position: absolute; left: 36px; top: 34px; bottom: 200px; width: 112px; padding: 10px 0; background: #222329; font: 400 11px/1 var(--hv); color: #aab0bc; }
.vs-tree p { margin: 0; padding: 5px 10px; white-space: nowrap; }
.vs-tree .h { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: #7d8391; }
.vs-tree .d1 { padding-left: 18px; }
.vs-tree .d2 { padding-left: 28px; }
.vs-tree .on { background: #37373f; color: #fff; }
.vs-ed { position: absolute; left: 148px; top: 34px; right: 0; bottom: 200px; background: #1e1f24; }
.vs-tabs { display: flex; margin: 0; height: 28px; background: #25262c; font: 500 11px/28px var(--hv); color: #8d93a0; }
.vs-tabs span { padding: 0 14px; }
.vs-tabs .on { background: #1e1f24; color: #e5e7eb; box-shadow: inset 0 1px 0 var(--blue); }
.vs-code { margin: 0; padding: 8px 0 0 6px; font: 400 11px/21px var(--mono); color: #d4d8e0; white-space: pre; }
.vs-code .ln { display: inline-block; width: 24px; margin-right: 8px; text-align: right; color: #5b606c; }
.vs-code .k { color: #c792ea; }
.vs-code .s { color: #c3e88d; }
.vs-code .c { color: #6b7385; font-style: italic; }
.vs-code .n { color: #f78c6c; }
.vs-code .op { color: #ff8a80; font-weight: 700; }
.sc-teacher.fixed .vs-code .op { color: #86efac; background: rgba(134, 239, 172, 0.14); border-radius: 3px; }
.vs-term { position: absolute; left: 36px; right: 0; bottom: 0; height: 200px; background: #18191d; border-top: 1px solid #2c2d33; }
.vs-th { display: flex; gap: 18px; margin: 0; padding: 9px 14px; font: 700 9.5px/1 var(--hv); letter-spacing: 0.06em; color: #6b7280; }
.vs-th .on { color: #e5e7eb; box-shadow: 0 6px 0 -4px var(--blue); }
.vs-out { padding: 0 14px; font: 400 11.5px/1.75 var(--mono); }
.vs-out p { margin: 0; animation: lineIn 0.3s var(--ease); }
.vs-out b { color: #7dd3fc; }
.vs-out .ok { color: #86efac; }
.vs-out .bad { color: #ff8a80; display: inline-block; }
/* Word */
.tc-wd { background: #e8eaef; }
.wd-rib { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 14px; background: #f3f6fb; border-bottom: 1px solid #dfe3ea; font: 600 11px/1 var(--hv); color: #4b5563; }
.wd-rib .on { color: #2b579a; box-shadow: 0 9px 0 -7px #2b579a; }
.wd-rib i { width: 18px; height: 18px; border-radius: 4px; background: #dfe4ed; }
.wd-rib i:first-of-type { margin-left: auto; }
.wd-page { position: absolute; left: 24px; top: 96px; width: 380px; bottom: 0; padding: 28px 30px; background: #fff; box-shadow: 0 6px 24px rgba(15, 20, 30, 0.12); }
.wd-page h4 { margin: 0 0 16px; font: 700 21px/1.1 Georgia, "Times New Roman", serif; }
.wd-h { margin: 10px 0 7px; font: 700 12px/1 Georgia, serif; }
.wd-p { margin: 0; font: 400 14px/1.6 Georgia, "Times New Roman", serif; color: #1a1c22; }

/* ═══ 2 · The Learner ═══ */
.ln-ex { left: 0; top: 296px; width: 420px; height: 292px; }
.ex-side { position: absolute; left: 0; top: 34px; bottom: 0; width: 112px; padding: 10px 0; background: #f1f2f5; font: 500 11.5px/1 var(--hv); color: #3b3f46; }
.ex-side p { margin: 0; padding: 6px 12px; }
.ex-side .h { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; color: #9aa0ab; padding-top: 10px; }
.ex-side .on { background: rgba(44, 107, 255, 0.12); color: var(--blue); font-weight: 700; }
.sc-learner.s2 .ex-side .dl { background: none; color: #3b3f46; font-weight: 500; }
.sc-learner.s2 .ex-side .iv { background: rgba(44, 107, 255, 0.12); color: var(--blue); font-weight: 700; }
.ex-main { position: absolute; left: 112px; top: 34px; right: 0; bottom: 0; padding: 10px 12px; }
.ex-crumb { margin: 0 0 8px; font: 700 13px/1 var(--hv); }
.ex-head, .ex-r { display: grid; grid-template-columns: minmax(0, 1fr) 76px 54px; gap: 8px; align-items: center; margin: 0; }
.ex-head { padding: 0 6px 6px; border-bottom: 1px solid #eceef1; font: 600 10px/1 var(--hv); color: #9aa0ab; }
.ex-r { padding: 6px; border-radius: 6px; font: 400 11.5px/1.2 var(--hv); color: #3b3f46; }
.ex-r > span:first-child { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ex-r em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-style: normal; color: var(--ink); }
.ex-r > span + span { color: #8a8f9b; font-size: 10.5px; }
.ex-list[data-f="iv"], .sc-learner.s2 .ex-list[data-f="dl"] { display: none; }
.sc-learner.s2 .ex-list[data-f="iv"] { display: block; }
.ex-r.new { display: none; }
.sc-learner.s0 .ex-list[data-f="dl"] .new { display: grid; background: rgba(44, 107, 255, 0.09); animation: lineIn 0.4s var(--ease); }
.sc-learner.s1 .ex-list[data-f="dl"] .new em { color: var(--blue); }
.sc-learner.s2 .ex-list[data-f="iv"] .new { display: grid; background: rgba(34, 197, 94, 0.12); animation: lineIn 0.5s var(--ease); }
.ln-ml { left: 268px; top: 420px; width: 392px; height: 300px; z-index: 2; opacity: 0; transform: translateY(18px) scale(0.98); }
.sc-learner.s3 .ln-ml { opacity: 1; transform: none; }
.ml-f { display: flex; gap: 10px; margin: 0; padding: 9px 14px; border-bottom: 1px solid #eceef1; font: 400 12px/1.2 var(--hv); }
.ml-f b { width: 52px; font-weight: 500; color: #9aa0ab; }
.ml-body { min-height: 70px; margin: 0; padding: 12px 14px; font: 400 13px/1.5 var(--hv); }
.ml-att { display: none; align-items: center; gap: 8px; margin: 0 14px; padding: 8px 10px; border-radius: 9px; background: #f2f4f7; font: 500 11.5px/1 var(--hv); }
.ml-att span { margin-left: auto; color: #9aa0ab; }
.sc-learner.s3 .ml-att { display: flex; animation: lineIn 0.4s var(--ease); }
.ml-send { position: absolute; right: 14px; bottom: 14px; padding: 9px 18px; border-radius: 999px; background: var(--blue); color: #fff; font: 700 12px/1 var(--hv); transition: opacity 0.3s ease; }
.ml-sent { position: absolute; right: 14px; bottom: 14px; padding: 9px 14px; border-radius: 999px; background: rgba(34, 197, 94, 0.15); color: #15803d; font: 700 12px/1 var(--hv); opacity: 0; transition: opacity 0.3s ease; }
.sc-learner.s4 .ln-ml .ml-send, .sc-listener.sent .ml-send { opacity: 0; }
.sc-learner.s4 .ln-ml .ml-sent, .sc-listener.sent .ls-ml .ml-sent { opacity: 1; }
.ln-pr { left: 0; top: 604px; width: 252px; height: 156px; }
.pr-r { display: flex; align-items: center; margin: 0; padding: 7px 12px; border-bottom: 1px solid #f0f1f4; font: 400 12px/1.2 var(--hv); }
.pr-r b { font-weight: 700; }
.pr-r span { margin-left: auto; color: #9aa0ab; font-size: 11px; }
.pr-r.new { display: none; }
.sc-learner.learned .pr-r.new { display: flex; background: rgba(165, 180, 252, 0.18); animation: lineIn 0.5s var(--ease); }
.pr-u { padding: 3px 7px; border-radius: 999px; background: rgba(44, 107, 255, 0.12); color: var(--blue) !important; font-weight: 700; }

/* ═══ 3 · The Builder ═══ */
.bd-w { width: 325px; height: 184px; opacity: 0.5; filter: saturate(0.2); }
.bd-w.on { opacity: 1; filter: none; }
.bd-pp { left: 0; top: 386px; }
.bd-wd { left: 335px; top: 386px; }
.bd-xl { left: 0; top: 578px; height: 182px; }
.bd-br { left: 335px; top: 578px; height: 182px; }
.pp-th { position: absolute; left: 0; top: 34px; bottom: 0; width: 58px; display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #f4f1ef; }
.pp-th i { height: 20px; border-radius: 2px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); opacity: 0; transform: scale(0.8); transition: opacity 0.3s ease, transform 0.4s var(--spring); }
.pp-th i.on { opacity: 1; transform: none; }
.pp-th i:first-child.on { box-shadow: 0 0 0 1.5px #c4441f; }
.pp-sl { position: absolute; left: 68px; top: 44px; right: 10px; bottom: 10px; display: grid; align-content: start; gap: 5px; padding: 12px 14px; border-radius: 4px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); opacity: 0; transition: opacity 0.5s ease; }
.bd-pp.done .pp-sl { opacity: 1; }
.pp-sl p { margin: 0; font: 700 8px/1 var(--hv); letter-spacing: 0.1em; text-transform: uppercase; color: #8a8f9b; }
.pp-sl b { font: 700 19px/1.05 var(--hv); letter-spacing: -0.02em; }
.pp-sl em { font-size: 11px; font-style: normal; color: #16a34a; }
.pp-k { display: flex; gap: 10px; }
.pp-k i { font: 700 12px/1.1 var(--hv); font-style: normal; }
.pp-k small { display: block; font: 400 8.5px/1 var(--hv); color: #8a8f9b; }
.pp-bars { position: absolute; right: 12px; bottom: 10px; display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.pp-bars i { width: 12px; height: calc(var(--h) * 100%); border-radius: 2px; background: #d6d9df; transform-origin: bottom; }
.pp-bars i:last-child { background: #c4441f; }
.pp-tip { position: absolute; right: 6px; bottom: 62px; padding: 4px 6px; border-radius: 5px; background: var(--ink); color: #fff; font: 600 9px/1 var(--hv); opacity: 0; }
.bd-pp.live .pp-bars i { animation: grow 1.3s var(--ease) both; }
.bd-pp.live .pp-tip { animation: tip 3s ease 1s infinite; }
@keyframes tip { 0%, 100% { opacity: 0; } 15%, 80% { opacity: 1; } }
.wd-pg { position: absolute; left: 22px; right: 22px; top: 44px; bottom: 0; padding: 14px 16px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.bd-wd { background: #eceef2; }
.wd-t { margin: 0 0 6px; font: 700 13px/1.1 Georgia, serif; }
.wd-tx { margin: 0; font: 400 9.5px/1.5 Georgia, serif; color: #2a2d33; }
.bd-wd.es .wd-t::after { content: "ES"; margin-left: 6px; padding: 2px 4px; border-radius: 3px; background: #fbbf24; font: 700 8px/1 var(--hv); vertical-align: middle; }
.xl-fx { display: flex; gap: 10px; margin: 0; padding: 5px 10px; border-bottom: 1px solid #e3e5e9; font: 400 10px/1 var(--mono); color: #4b5563; }
.xl-fx b { color: #217346; font-family: var(--hv); }
.xl-g { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); font: 500 9.5px/1 var(--hv); }
.xl-g i { height: 20px; padding: 5px 6px; border-right: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; font-style: normal; text-align: right; }
.xl-g i:nth-child(-n + 5) { background: #e7f2ec; font-weight: 700; text-align: center; }
.xl-g i:nth-child(5n + 1) { text-align: left; font-weight: 600; }
.xl-g i.in { animation: cellIn 0.35s ease; }
@keyframes cellIn { from { background: rgba(33, 115, 70, 0.25); } }
.br-pg { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; overflow: hidden; background: #fff; }
.br-nav, .br-hero, .br-cards { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.bd-br.s1 .br-nav, .bd-br.done .br-nav, .bd-br.s2 .br-hero, .bd-br.done .br-hero, .bd-br.done .br-cards { opacity: 1; transform: none; }
.br-nav { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 12px; font: 500 9.5px/1 var(--hv); color: #6b7280; }
.br-nav b { margin-right: auto; font: 700 12px/1 var(--hv); color: var(--ink); }
.br-hero { display: grid; justify-items: start; gap: 6px; margin: 0 10px; padding: 14px 14px; border-radius: 8px; background: radial-gradient(70% 90% at 85% 30%, #ffb38a, transparent 70%), linear-gradient(130deg, #1b1430, #3a1f4f 60%, #12101c); color: #fff; }
.br-hero b { font: 700 14px/1.1 var(--hv); }
.br-hero span { padding: 4px 9px; border-radius: 999px; background: #fff; color: #111; font: 700 8.5px/1 var(--hv); }
.br-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 10px 0; }
.br-cards i { height: 30px; border-radius: 6px; background: #f2f3f6; }

/* ═══ 4 · The Listener ═══ */
.ls-zm { left: 0; top: 34px; width: 660px; height: 726px; }
.zm-rec { position: absolute; right: 14px; top: 11px; font: 700 10.5px/1 var(--hv); color: #ff6b6b; }
.zm-share { position: absolute; left: 12px; right: 12px; top: 46px; height: 288px; padding: 18px 22px; border-radius: 8px; background: #fff; color: var(--ink); }
.zs-k { margin: 0; font: 700 9.5px/1 var(--hv); letter-spacing: 0.12em; text-transform: uppercase; color: #8a8f9b; }
.zs-t { margin: 8px 0 14px; font: 700 20px/1 var(--hv); }
.zs-i { margin: 0 0 8px; padding-left: 24px; position: relative; font: 400 13px/1.3 var(--hv); }
.zs-i::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #c4c8cf; }
.zs-i.done::before { background: #16a34a; box-shadow: none; }
.zm-grid { position: absolute; left: 12px; right: 12px; top: 344px; height: 316px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; transition: opacity 0.4s ease; }
.ls-tile { border-radius: 8px; transition: box-shadow 0.3s ease; }
.ls-tile.speaking { box-shadow: 0 0 0 2.5px #7dd3fc, 0 0 18px rgba(125, 211, 252, 0.45); }
.zm-lec { position: absolute; left: 12px; top: 344px; width: 396px; height: 316px; opacity: 0; transition: opacity 0.4s ease; }
.ls-prof { width: 100%; height: 100%; border-radius: 8px; }
.sc-listener.lec .zm-grid { opacity: 0; }
.sc-listener.lec .zm-lec { opacity: 1; }
.zm-ctl { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; background: #17181c; }
.zm-ctl i { width: 30px; height: 30px; border-radius: 9px; background: #2f3138; }
.zm-ctl i.sh { background: #16a34a; }
.zm-ctl span { margin-left: 20px; padding: 8px 14px; border-radius: 8px; background: #e5484d; color: #fff; font: 700 11px/1 var(--hv); }
.ls-ml { left: 300px; top: 480px; width: 360px; height: 240px; z-index: 3; opacity: 0; transform: translateY(18px) scale(0.98); }
.sc-listener.mail .ls-ml { opacity: 1; transform: none; }
.ls-nt { left: 420px; top: 378px; width: 240px; height: 316px; z-index: 3; opacity: 0; transform: translateY(18px) scale(0.98); }
.sc-listener.lec .ls-nt { opacity: 1; transform: none; }
.nt-b { padding: 14px 16px; }
.nt-h { margin: 0 0 10px; font: 700 14px/1.2 Georgia, serif; }
.nt-p { position: relative; margin: 0 0 8px; padding-left: 13px; font: 400 12px/1.4 var(--hv); animation: lineIn 0.4s var(--ease); }
.nt-p::before { content: "•"; position: absolute; left: 2px; }

/* ═══ 5 · The Cheater ═══ */
.sc-cheater { --cut: 50%; }
.ch-zm { left: 0; top: 34px; width: 660px; height: 726px; }
.ch-ban { display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; background: #16a34a; color: #fff; font: 700 11.5px/1 var(--hv); }
.ch-ban i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.ch-ban span { margin-left: auto; padding: 5px 9px; border-radius: 6px; background: #e5484d; font-size: 10.5px; }
.ch-screen { position: absolute; left: 12px; right: 12px; top: 74px; height: 440px; overflow: hidden; border-radius: 8px; cursor: ew-resize; touch-action: none; }
.ch-layer { position: absolute; inset: 0; background: #fff; color: var(--ink); }
.ch-you { z-index: 0; }
.ch-them { z-index: 1; clip-path: inset(0 0 0 var(--cut)); }
.ch-slide { position: absolute; inset: 0; padding: 22px 26px; }
.ch-slide p { margin: 0; font: 700 9.5px/1 var(--hv); letter-spacing: 0.12em; text-transform: uppercase; color: #9097a3; }
.ch-slide h4 { margin: 8px 0 6px; font: 700 28px/1 var(--hv); letter-spacing: -0.03em; }
.ch-sub { font: 400 12px/1 var(--hv); color: #6b7080; }
.ch-tiers { position: absolute; left: 26px; right: 26px; bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ch-tiers div { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 10px; background: #f2f3f6; }
.ch-tiers div.hl { background: var(--ink); color: #fff; }
.ch-tiers em { position: absolute; right: 8px; top: 8px; padding: 3px 6px; border-radius: 999px; background: #fff; color: #111; font: 700 7.5px/1 var(--hv); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; }
.ch-tiers b { font: 700 14px/1 var(--hv); }
.ch-tiers span { font: 400 10.5px/1 var(--hv); opacity: 0.6; }
.ch-tiers strong { margin-top: 6px; font: 700 22px/1 var(--hv); letter-spacing: -0.02em; }
.ch-tiers small { font-size: 10px; font-weight: 500; opacity: 0.6; }
.ch-tiers ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font: 400 10px/1.2 var(--hv); opacity: 0.8; }
.ch-tiers li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.ch-ovy { position: absolute; left: 72px; top: 0; width: 492px; height: 10px; }
.ch-ovy .nv-host { left: 0 !important; top: 8px !important; }
.ch-ovw { position: absolute; left: 72px; top: 8px; width: 492px; transition: opacity 0.7s ease, filter 0.7s ease; }
.ch-ovh { position: relative; width: 492px; }
.sc-cheater:not(.ghost) .ch-them .ch-ovw::after { content: ""; position: absolute; inset: -6px; border-radius: 28px; box-shadow: 0 0 0 3px #ef4444; pointer-events: none; }
.sc-cheater.ghost .ch-them .ch-ovw { opacity: 0; filter: blur(10px); }
.ch-div { position: absolute; top: 0; bottom: 0; left: var(--cut); z-index: 50; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 12, 16, 0.18); pointer-events: none; }
.ch-div i { position: absolute; left: 50%; top: 62%; width: 30px; height: 30px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.ch-div i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px/1 var(--hv); color: var(--ink); }
.ch-tag { position: absolute; bottom: 8px; z-index: 50; padding: 5px 9px; border-radius: 999px; font: 700 9.5px/1 var(--hv); letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
.ch-tag.l { left: 8px; background: var(--ink); color: #fff; }
.ch-tag.r { right: 8px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(11, 12, 16, 0.1); }
.ch-strip { position: absolute; left: 12px; right: 12px; top: 526px; height: 150px; display: flex; gap: 8px; align-items: stretch; }
.ch-p { width: 150px; border-radius: 8px; }
.ch-note { display: flex; align-items: center; flex: 1; margin: 0; padding: 0 6px; font: 600 13px/1.4 var(--hv); color: #d4d8e0; }
.ch-note b { margin-right: 8px; }
.ch-note .ok { color: #4ade80; }
.ch-note .bad { color: #f87171; }

/* ═══ 6 · The Orchestrator ═══ */
.or-w { width: 325px; height: 180px; }
.or-br { left: 0; top: 386px; }
.or-wd { left: 335px; top: 386px; background: #eceef2; }
.or-ml { left: 0; top: 576px; height: 184px; }
.or-db { left: 335px; top: 576px; height: 184px; }
.or-w.busy { box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.7), 0 46px 90px -46px rgba(15, 20, 30, 0.55); }
.or-w.done { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.8), 0 46px 90px -46px rgba(15, 20, 30, 0.55); }
.or-w.front { z-index: 5; transform: scale(1.04); }
.or-url { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-bottom: 1px solid #eceef1; font: 500 10px/1 var(--hv); color: #4b5563; }
.or-url i { width: 7px; height: 7px; border-radius: 2px; background: #5f6368; }
.or-url em { margin-left: auto; font-style: normal; color: var(--blue); font-weight: 700; }
.or-pg { padding: 8px 12px; }
.or-pg > b { font: 700 13px/1 var(--hv); }
.or-pg > p { display: flex; gap: 6px; margin: 6px 0; }
.or-pg > p i { flex: 1; height: 5px; border-radius: 3px; background: #e3e6ea; }
.or-pg > p i.s { flex: 0.5; }
.or-pg > p i.hl { background: rgba(250, 204, 21, 0.6); }
.or-tbl { opacity: 0; transition: opacity 0.4s ease; }
.or-br.s2 .or-tbl, .or-br.done .or-tbl { opacity: 1; }
.or-tbl p { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin: 0; padding: 3px 0; border-bottom: 1px solid #f0f1f4; font: 400 10.5px/1.2 var(--hv); }
.or-tbl b { font-weight: 700; font-size: 9.5px; color: #8a8f9b; }
.or-tbl em { font-style: normal; color: #15803d; }
.or-doc { position: absolute; left: 18px; right: 18px; top: 44px; bottom: 0; padding: 12px 14px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.or-doc .t { margin: 0 0 6px; font: 700 13px/1 Georgia, serif; }
.or-tx { margin: 0; font: 400 10px/1.5 Georgia, serif; color: #2a2d33; }
.or-mside { position: absolute; left: 0; top: 34px; bottom: 0; width: 110px; padding: 8px 0; background: #f1f2f5; font: 500 11px/1 var(--hv); }
.or-mside p { display: flex; margin: 0; padding: 6px 10px; }
.or-mside em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--blue); }
.or-mlist { position: absolute; left: 110px; right: 0; top: 34px; bottom: 0; padding: 4px 8px; }
.or-mlist p { margin: 0; padding: 6px 4px; border-bottom: 1px solid #f0f1f4; font: 400 11px/1.2 var(--hv); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.or-mlist p.gone { opacity: 0; transform: translateX(-30px); }
.or-dash { padding: 10px 12px; }
.or-dash .t { display: flex; margin: 0 0 8px; font: 700 12px/1 var(--hv); }
.or-dash .t span { margin-left: auto; padding: 2px 6px; border-radius: 999px; background: rgba(34, 197, 94, 0.15); color: #15803d; font-size: 9px; }
.or-kpi { display: flex; gap: 12px; margin-bottom: 8px; font: 700 13px/1 var(--hv); opacity: 0; transition: opacity 0.4s ease; }
.or-kpi b:nth-child(2) { color: #16a34a; }
.or-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; opacity: 0; }
.or-chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px; background: linear-gradient(180deg, #7c3aed, #c4b5fd); transform-origin: bottom; }
.or-db.s2 .or-kpi, .or-db.done .or-kpi { opacity: 1; }
.or-db.s2 .or-chart, .or-db.done .or-chart { opacity: 1; }
.or-db.s2 .or-chart i { animation: grow 1.2s var(--ease) both; }
.or-night { position: absolute; inset: 0; z-index: 20; border-radius: 10px; pointer-events: none; background: rgba(10, 14, 32, 0.06); transition: background-color 1.2s ease; }
.sc-orchestrator.run .or-night { background: rgba(10, 14, 32, 0.4); }
.sc-orchestrator.morning .or-night { background: rgba(255, 214, 140, 0.08); }
.or-clock { position: absolute; left: 50%; bottom: 14px; z-index: 30; display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px; translate: -50% 0; border-radius: 999px; background: rgba(12, 14, 20, 0.85); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.or-clock b { font: 700 20px/1 var(--hv); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.or-clock span { font: 600 11.5px/1 var(--hv); color: rgba(255, 255, 255, 0.6); }
.or-moon { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset -5px -1px 0 0 #fff; transition: box-shadow 0.8s ease, background-color 0.8s ease; }
.sc-orchestrator.morning .or-moon { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25); }

/* ═══ 7 · The Butler ═══ */
.bt-cal { left: 0; top: 34px; width: 660px; height: 726px; }
.bt-side { position: absolute; left: 0; top: 34px; bottom: 0; width: 176px; padding: 14px 12px; background: #f5f6f8; border-right: 1px solid #e6e8ec; }
.bt-mh { margin: 0 0 8px; font: 700 12px/1 var(--hv); }
.bt-mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 18px; font: 400 9.5px/1 var(--hv); text-align: center; }
.bt-mini b { font-weight: 600; color: #9aa0ab; padding: 3px 0; }
.bt-mini i { display: grid; place-items: center; height: 18px; border-radius: 50%; font-style: normal; }
.bt-mini i.dim { color: #c4c8cf; }
.bt-mini i.on { background: #ef4444; color: #fff; font-weight: 700; }
.bt-rh { margin: 0 0 8px; font: 700 10px/1 var(--hv); letter-spacing: 0.08em; text-transform: uppercase; color: #8a8f9b; }
.bt-rt { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #eceef1; transition: opacity 0.3s ease; }
.bt-rt span { display: grid; gap: 3px; flex: 1; min-width: 0; }
.bt-rt b { font: 700 12px/1.1 var(--hv); }
.bt-rt em { font: 400 10px/1 var(--hv); font-style: normal; color: #8a8f9b; white-space: nowrap; }
.bt-rt.off { opacity: 0.4; }
.bt-sw { position: relative; flex: none; width: 32px; height: 19px; padding: 0; border: 0; border-radius: 999px; background: #d4d6db; cursor: pointer; transition: background-color 0.3s ease; }
.bt-sw i { position: absolute; left: 2px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--spring); }
.bt-sw.on { background: #34c759; }
.bt-sw.on i { transform: translateX(13px); }
.bt-day { position: absolute; left: 176px; right: 0; top: 34px; bottom: 0; }
.bt-dh { position: absolute; left: 14px; top: 6px; margin: 0; font: 700 13px/1 var(--hv); }
.bt-hr { position: absolute; left: 0; right: 0; height: 0; margin: 0; border-top: 1px solid #eef0f3; }
.bt-hr span { position: absolute; left: 10px; top: -6px; padding-right: 6px; background: #fff; font: 500 10px/1 var(--mono); color: #9aa0ab; }
.bt-ev { position: absolute; left: 60px; right: 14px; padding: 5px 8px; border-radius: 6px; background: rgba(59, 130, 246, 0.14); box-shadow: inset 3px 0 0 #3b82f6; font: 600 11px/1.2 var(--hv); color: #1e3a8a; }
.bt-ev.rt { background: repeating-linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0 6px, rgba(124, 58, 237, 0.04) 6px 12px); box-shadow: inset 3px 0 0 #7c3aed; color: #4c1d95; display: flex; align-items: center; gap: 8px; }
.bt-ev.rt em { margin-left: auto; font-style: normal; font-weight: 500; color: #15803d; opacity: 0; }
.bt-ev.rt.done { background: rgba(34, 197, 94, 0.14); box-shadow: inset 3px 0 0 #16a34a; color: #14532d; }
.bt-ev.rt.done b::after { content: " ✓"; }
.bt-ev.rt.done em { opacity: 1; }
.bt-ev.rt.off { opacity: 0.35; }
.bt-now { position: absolute; left: 50px; right: 0; top: 0; height: 0; z-index: 3; border-top: 1.5px solid #ef4444; transition: transform 0.08s linear; }
.bt-now::before { content: ""; position: absolute; left: -5px; top: -5.5px; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.bt-now span { position: absolute; left: -48px; top: -8px; padding: 2px 4px; border-radius: 4px; background: #ef4444; color: #fff; font: 700 10px/1.2 var(--mono); }

/* ═══ 8 · The Roommate ═══ */
/* Tus apps conectadas (lo que Niva puede usar, igual que tú) */
.rm-cn { left: 0; top: 368px; width: 272px; height: 392px; }
.cn-h { margin: 0; padding: 10px 14px 4px; font: 700 9.5px/1.2 var(--hv); letter-spacing: 0.1em; text-transform: uppercase; color: #8a8f9b; }
.cn-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 12px; border: 0; background: none; text-align: left; cursor: pointer; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.cn-r:hover { background: #f5f6f8; }
.cn-r i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--c); color: #fff; font: 700 10.5px/1 var(--hv); font-style: normal; }
.cn-r > span:first-of-type { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cn-r b { font: 700 12px/1.1 var(--hv); }
.cn-r em { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 10px/1.1 var(--hv); font-style: normal; color: #8a8f9b; }
.cn-act { display: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 10px/1.1 var(--hv); color: var(--blue); }
.cn-r.used em { display: none; }
.cn-r.used .cn-act { display: block; }
.cn-st { flex: none; padding: 3px 7px; border-radius: 999px; background: rgba(34, 197, 94, 0.13); color: #15803d; font: 700 9px/1 var(--hv); }
.cn-r.hot { background: rgba(44, 107, 255, 0.09); box-shadow: inset 3px 0 0 var(--blue); }
.cn-r.hot i { animation: cnPulse 0.9s ease infinite; }
@keyframes cnPulse { 50% { transform: scale(1.12); } }
/* Chrome, con tus sesiones (Stripe, Gmail…) y la extensión de Niva */
.rm-cr { left: 282px; top: 356px; width: 378px; height: 404px; }
.cr-tabs { display: flex; align-items: flex-end; gap: 2px; height: 36px; padding: 0 8px; background: #dee1e6; }
.cr-tabs .tl { align-self: center; margin-right: 8px; }
.cr-tab { display: flex; align-items: center; gap: 6px; height: 28px; max-width: 118px; padding: 0 10px; border-radius: 8px 8px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 10.5px/1 var(--hv); color: #3c4043; opacity: 0.75; }
.cr-tab.on { background: #fff; opacity: 1; }
.cr-tab i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.rm-cr .cr-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-bottom: 1px solid #e8eaed; background: #fff; }
.cr-nav { font: 500 11px/1 var(--hv); letter-spacing: 0.1em; color: #5f6368; white-space: nowrap; }
.rm-cr .cr-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; overflow: hidden; white-space: nowrap; border-radius: 999px; background: #f1f3f4; font: 500 11px/1 var(--hv); color: #202124; }
.rm-cr .cr-url i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: #5f6368; }
.rm-cr .cr-url b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.rm-cr .cr-ext { position: relative; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; transition: box-shadow 0.3s ease; }
.rm-cr .cr-ext b { width: 16px; height: 16px; background: url("../assets/img/mark-logo.png") center / contain no-repeat; }
.rm-cr .cr-ext em { position: absolute; right: -6px; bottom: -3px; padding: 2px 3px; border-radius: 4px; background: #16a34a; color: #fff; font: 700 6.5px/1 var(--hv); font-style: normal; }
.rm-cr.pop .cr-ext { box-shadow: 0 0 0 2px var(--blue); }
.cr-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #7c3aed; color: #fff; font: 700 9px/1 var(--hv); }
.cr-pg { position: absolute; left: 0; right: 0; top: 72px; bottom: 0; display: grid; grid-template-columns: 92px 1fr; background: #f6f8fa; }
.st-nav { display: grid; align-content: start; gap: 2px; padding: 12px 8px; background: #fff; border-right: 1px solid #e6e8ec; font: 500 11px/1 var(--hv); color: #4b5563; }
.st-nav b { margin: 0 0 10px 6px; font: 800 13px/1 var(--hv); color: #635bff; }
.st-nav span { padding: 6px 8px; border-radius: 6px; }
.st-nav .on { background: rgba(99, 91, 255, 0.1); color: #635bff; font-weight: 700; }
.st-main { position: relative; padding: 12px 10px; }
.st-h { display: flex; align-items: baseline; margin: 0 0 10px; font: 700 16px/1 var(--hv); }
.st-h em { margin-left: auto; font: 500 9.5px/1 var(--hv); font-style: normal; color: #8a8f9b; }
.st-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 62px 34px 14px; gap: 6px; align-items: center; margin: 0; padding: 8px 6px; border-bottom: 1px solid #eceef1; background: #fff; font: 400 10.5px/1.2 var(--hv); white-space: nowrap; transition: background-color 0.3s ease; }
.st-row span { overflow: hidden; text-overflow: ellipsis; }
.st-head { background: transparent; font-weight: 700; font-size: 9.5px; color: #8a8f9b; }
.st-row .paid { color: #15803d; font-weight: 700; }
.st-row .open { color: #b45309; font-weight: 700; }
.st-dl { color: #635bff; font-weight: 700; text-align: center; }
.st-row.sel { background: rgba(99, 91, 255, 0.09); }
.st-toast { position: absolute; left: 10px; right: 10px; bottom: 12px; margin: 0; padding: 9px 12px; border-radius: 9px; background: #ecfdf3; color: #166534; box-shadow: inset 0 0 0 1px #bbf7d0; font: 700 11px/1 var(--hv); opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--spring); }
.st-main.dl .st-toast { opacity: 1; transform: none; }
.rm-cr .bk-focus { position: absolute; z-index: 2; border-radius: 8px; box-shadow: 0 0 0 2px #2f6bff, 0 0 0 5px rgba(47, 107, 255, 0.18); opacity: 0; pointer-events: none; transition: left 0.36s var(--ease), top 0.36s var(--ease), width 0.36s var(--ease), height 0.36s var(--ease), opacity 0.25s ease; }
.rm-cr .bk-focus.on { opacity: 1; }
/* El panel de la extensión (como al pulsar su icono en Chrome) */
.cr-pop { position: absolute; right: 8px; top: 70px; z-index: 5; width: 232px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 22px 46px -16px rgba(15, 20, 30, 0.45), 0 0 0 1px rgba(15, 20, 30, 0.08); opacity: 0; transform: translateY(-6px) scale(0.97); transform-origin: top right; transition: opacity 0.3s ease, transform 0.45s var(--spring); pointer-events: none; }
.rm-cr.pop .cr-pop { opacity: 1; transform: none; }
.cp-h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 700 12px/1 var(--hv); }
.cp-h img { width: 20px; height: 20px; }
.cp-h em { margin-left: auto; padding: 3px 6px; border-radius: 999px; background: #16a34a; color: #fff; font: 700 9px/1 var(--hv); font-style: normal; }
.cp-r { margin: 0 0 8px; font: 400 11px/1.35 var(--hv); color: #4b5563; }
.cp-site { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 7px 9px; border-radius: 8px; background: #f4f6f9; font: 500 11px/1 var(--hv); }
.cp-site i { width: 7px; height: 7px; border-radius: 2px; background: #5f6368; }
.cp-site b { margin-left: auto; color: #15803d; font-size: 10px; }
.cp-doing { margin: 0; font: 600 11px/1.2 var(--hv); color: var(--blue); }

/* ═══ 9 · The Classy ═══ */
.cy-lec { left: 0; top: 34px; width: 660px; height: 392px; }
.cy-slide { position: absolute; left: 14px; top: 48px; width: 410px; bottom: 14px; padding: 18px 22px; border-radius: 8px; background: #fff; color: var(--ink); }
.cy-slide p { margin: 0; font: 700 9.5px/1 var(--hv); letter-spacing: 0.12em; text-transform: uppercase; color: #8a8f9b; }
.cy-slide h4 { margin: 6px 0 10px; font: 700 22px/1.05 var(--hv); letter-spacing: -0.02em; }
.cy-slide svg { display: block; width: 300px; height: auto; }
.cy-slide .cy-f { margin-top: 10px; text-transform: none; letter-spacing: 0; font: 400 13px/1 var(--hv); color: var(--blue); }
.cy-prof { position: absolute; right: 14px; top: 48px; width: 208px; height: 156px; border-radius: 8px; }
.cy-doc { left: 152px; top: 438px; width: 508px; height: 322px; background: #eceef2; }
.cy-pg { position: absolute; left: 20px; right: 20px; top: 46px; bottom: 0; padding: 18px 22px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.cy-h { display: flex; align-items: center; margin: 0 0 12px; font: 700 16px/1.2 Georgia, serif; }
.cy-saved { margin-left: auto; padding: 4px 8px; border-radius: 999px; background: rgba(34, 197, 94, 0.15); color: #15803d; font: 700 10px/1 var(--hv); font-style: normal; opacity: 0; transition: opacity 0.3s ease; }
.sc-classy.saved .cy-saved { opacity: 1; }
.cy-body p { position: relative; margin: 0 0 9px; padding-left: 15px; font: 400 13.5px/1.4 var(--hv); animation: lineIn 0.4s var(--ease); }
.cy-body p::before { content: "•"; position: absolute; left: 3px; }
.cy-ctl { position: absolute; left: 0; top: 446px; width: 140px; }
.cy-cap { margin: 0 0 8px 2px; font: 700 10.5px/1 var(--hv); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(11, 12, 16, 0.45); }
.cy-seg { position: relative; display: grid; gap: 0; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(11, 12, 16, 0.1); }
.cy-seg button { position: relative; z-index: 1; height: 36px; border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left; padding: 0 14px; font: 700 13px/1 var(--hv); color: rgba(11, 12, 16, 0.55); transition: color 0.3s ease; }
.cy-seg button.on { color: #fff; }
.cy-thumb { position: absolute; left: 4px; right: 4px; top: 4px; height: 36px; border-radius: 12px; background: var(--ink); transition: transform 0.45s var(--spring); }
.sc-classy[data-look="glass"] .cy-thumb { transform: translateY(36px); }
.sc-classy[data-look="pill"] .cy-thumb { transform: translateY(72px); }
/* Burbujas o Transcript (el botón especial "Chat view" de la app) */
.cy-cv { margin-bottom: 0; }
.cy-seg + .cy-cap { margin-top: 20px; }
.sc-classy .cy-cv .cy-thumb { transform: none; }
.sc-classy[data-cv="transcript"] .cy-cv .cy-thumb { transform: translateY(36px); }

/* ═══ 10 · The Rest ═══ */
.rs-ml { left: 0; top: 34px; width: 660px; height: 726px; }
.rs-list { position: absolute; left: 0; top: 34px; bottom: 0; width: 196px; background: #f5f6f8; border-right: 1px solid #e6e8ec; }
.rs-list p { display: grid; gap: 3px; margin: 0; padding: 10px 12px; border-bottom: 1px solid #eceef1; font: 400 11px/1.2 var(--hv); color: #6b7280; }
.rs-list p b { font: 700 12px/1.1 var(--hv); color: var(--ink); }
.rs-list p.on { background: rgba(44, 107, 255, 0.1); }
.rs-mail { position: absolute; left: 196px; right: 0; top: 34px; bottom: 0; padding: 18px 22px; }
.rs-from { margin: 0; font: 400 12px/1.3 var(--hv); color: #6b7280; }
.rs-from b { color: var(--ink); }
.rs-subj { margin: 6px 0 14px; font: 700 18px/1.2 var(--hv); }
.rs-mb { padding: 18px; border-radius: 10px; background: #f5f7fb; font: 400 13px/1.5 var(--hv); }
.rs-logo { margin: 0 0 10px; font: 800 italic 20px/1 var(--hv); color: #1e3a8a; }
.rs-btn { display: inline-block; margin: 10px 0; padding: 10px 18px; border-radius: 999px; background: #1e3a8a; color: #fff; font: 700 12px/1 var(--hv); }
.rs-fine { margin: 6px 0 0; font-size: 10.5px; color: #9aa0ab; }
.rs-ses { left: 0; top: 560px; width: 260px; height: 190px; z-index: 8; opacity: 0; transform: translateY(16px); }
.sc-rest.ses .rs-ses { opacity: 1; transform: none; }
.rs-s { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin: 0; padding: 9px 12px; border-bottom: 1px solid #f0f1f4; font: 400 11px/1.2 var(--hv); color: #8a8f9b; }
.rs-s b { font: 700 12.5px/1.2 var(--hv); color: var(--ink); }
.rs-s em { grid-row: 1 / span 2; grid-column: 2; align-self: center; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1 var(--hv); font-style: normal; }
.rs-cap { position: absolute; left: 6px; top: 300px; z-index: 45; max-width: 128px; margin: 0; padding: 9px 12px; border-radius: 12px; background: rgba(12, 14, 20, 0.88); color: #fff; font: 700 12px/1.3 var(--hv); opacity: 0; }
.rs-cap.on { opacity: 1; animation: lineIn 0.4s var(--ease); }

/* ═══ Móvil: la escena se ve más grande y se recortan ~50 px de cada lado (js/v4.js · fitScene).
 * Lo que vivía pegado a los bordes se mete hacia dentro para que no se corte. ═══ */
@media (max-width: 660px) {
  .v4-scene-in { --mk-pad: 58px; }
  .ln-ex, .ln-pr { left: 48px; }
  .ln-ml { left: 220px; }
  .ch-tag.l { left: 44px; }
  .ch-tag.r { right: 44px; }
  .ch-strip { left: 48px; right: 52px; }
  .ch-note { font-size: 11.5px; }
  .bt-cal { left: 46px; width: 568px; }
  .bt-toasts { right: 56px; width: 250px; }
  .rm-cn { left: 48px; width: 248px; }
  .rm-cr { left: 302px; width: 310px; }
  .rm-cr .cr-pg { grid-template-columns: 0 1fr; }
  .rm-cr .st-nav { display: none; }
  .rm-cr .cr-tab { max-width: 96px; }
  .rm-cr .st-h em { display: none; }
  .cy-ctl { left: 50px; width: 98px; }
  .cy-seg button { padding: 0 10px; font-size: 12px; }
  .cy-doc { left: 156px; width: 456px; }
  .rs-ml { left: 46px; width: 568px; }
  .rs-cap { left: 54px; }
  .rs-ses { left: 52px; }
}
