.biblia-rtim-shell,
.biblia-rtim-shell *{box-sizing:border-box}
.biblia-rtim-shell{
 --black:#040609;--black2:#080b10;--panel:#0d1219;--panel2:#121923;
 --white:#f7f4ee;--muted:#9da5af;--gold:#c7a96b;--gold2:#ead59f;
 --border:rgba(255,255,255,.09);--green:#8fc59c;--blue:#8fb8d8;
 width:100%;background:var(--black);color:var(--white);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
 border:1px solid rgba(199,169,107,.12);overflow:hidden
}
.biblia-rtim-shell button,.biblia-rtim-shell input{font:inherit}
.biblia-rtim-shell button{cursor:pointer}

/* HEADER */
.rtim-shell-header{min-height:72px;display:flex;align-items:center;padding:0 26px;background:rgba(4,6,9,.94);border-bottom:1px solid rgba(199,169,107,.13)}
.rtim-shell-brand{display:flex;align-items:center;gap:12px}
.rtim-shell-mark{width:40px;height:40px;border:1px solid rgba(199,169,107,.55);border-radius:50%;display:grid;place-items:center;color:var(--gold);font-weight:900;box-shadow:0 0 0 7px rgba(199,169,107,.035)}
.rtim-shell-brand strong{display:block;font-size:13px;letter-spacing:.13em}.rtim-shell-brand small{display:block;margin-top:3px;color:var(--gold);font-size:9px;letter-spacing:.13em}

/* CANON V4 — EXTRACCIÓN CINEMATOGRÁFICA, AHORA ESTABLE */
.rtim-canon-hero{position:relative;min-height:calc(100svh - 72px);overflow:hidden;background:radial-gradient(circle at 76% 40%,rgba(199,169,107,.13),transparent 26%),radial-gradient(circle at 22% 76%,rgba(90,115,145,.055),transparent 27%),linear-gradient(122deg,#020407 0%,#06090e 48%,#0c0a08 100%)}
.rtim-canon-vignette{position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse at center,transparent 37%,rgba(0,0,0,.18) 67%,rgba(0,0,0,.72) 100%);pointer-events:none}
.rtim-canon-grid-bg{position:absolute;inset:0;z-index:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:58px 58px;mask-image:radial-gradient(ellipse at 65% 45%,black,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at 65% 45%,black,transparent 72%);pointer-events:none}
.rtim-canon-beam{position:absolute;z-index:0;top:-30%;left:56%;width:260px;height:170%;transform:rotate(16deg);background:linear-gradient(90deg,transparent,rgba(228,205,152,.045),rgba(255,255,255,.055),rgba(199,169,107,.035),transparent);filter:blur(10px);animation:rtimCanonBeam 10s ease-in-out infinite alternate;pointer-events:none}
@keyframes rtimCanonBeam{from{transform:translateX(-90px) rotate(16deg);opacity:.35}to{transform:translateX(120px) rotate(16deg);opacity:.85}}
.rtim-shell-hero-grid{position:relative;z-index:5;width:min(1220px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:.82fr 1.18fr;gap:54px;align-items:center;padding:80px 0 70px}
.rtim-shell-copy{position:relative;z-index:8}
.rtim-canon-system-line{display:flex;align-items:center;gap:10px;margin-bottom:25px;color:#59616c;font-size:7px;font-weight:800;letter-spacing:.18em}.rtim-canon-system-line i{width:38px;height:1px;background:rgba(199,169,107,.34)}
.rtim-shell-kicker{color:var(--gold);font-size:10px;font-weight:800;letter-spacing:.20em;text-transform:uppercase}
.rtim-shell-copy h1{max-width:660px;margin:16px 0 0;color:var(--white);font-size:clamp(54px,6vw,88px);line-height:.94;letter-spacing:-.06em;font-weight:800}.rtim-shell-copy h1 span{display:block;color:var(--gold2);text-shadow:0 0 36px rgba(228,205,152,.09)}
.rtim-shell-copy>p{max-width:570px;margin:28px 0 0;color:#aab1ba;font-size:17px;line-height:1.75}
.rtim-shell-stats{display:grid;grid-template-columns:repeat(3,1fr);max-width:560px;margin-top:42px;border-top:1px solid rgba(199,169,107,.13)}.rtim-shell-stats div{padding:20px 20px 0 0}.rtim-shell-stats strong{display:block;color:var(--white);font-size:25px;font-weight:800}.rtim-shell-stats span{display:block;margin-top:5px;color:#737c87;font-size:8px;font-weight:800;letter-spacing:.14em}
.rtim-shell-instruction{display:flex;align-items:center;gap:10px;margin-top:36px;color:#676f79;font-size:8px;font-weight:800;letter-spacing:.13em}.rtim-shell-instruction-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 0 rgba(199,169,107,.45);animation:rtimInstructionPulse 2.3s infinite}@keyframes rtimInstructionPulse{70%{box-shadow:0 0 0 10px rgba(199,169,107,0)}100%{box-shadow:0 0 0 0 rgba(199,169,107,0)}}

.rtim-canon-stage{--canon-rx:0deg;--canon-ry:0deg;--canon-mx:50%;--canon-my:42%;--canon-px:0px;--canon-py:0px;--focus-x:50%;--focus-y:42%;position:relative;min-height:680px;perspective:1200px;transform-style:preserve-3d;isolation:isolate}
.rtim-canon-stage::before{content:"";position:absolute;inset:4% 0 6%;border:1px solid rgba(199,169,107,.06);border-radius:42% 58% 52% 48%/54% 43% 57% 46%;transform:translate3d(var(--canon-px),var(--canon-py),-20px) rotate(-4deg);box-shadow:inset 0 0 90px rgba(199,169,107,.025);pointer-events:none}
.rtim-canon-aura{position:absolute;left:50%;top:50%;width:570px;height:570px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at var(--canon-mx) var(--canon-my),rgba(228,205,152,.13),rgba(199,169,107,.055) 22%,transparent 66%);filter:blur(10px);animation:rtimCanonAura 7s ease-in-out infinite;pointer-events:none}@keyframes rtimCanonAura{0%,100%{opacity:.55;scale:.94}50%{opacity:.95;scale:1.05}}
.rtim-canon-stage.has-book-focus .rtim-canon-aura{background:radial-gradient(circle at var(--focus-x) var(--focus-y),rgba(249,228,179,.21),rgba(199,169,107,.075) 17%,rgba(199,169,107,.025) 35%,transparent 62%)}
.rtim-shell-map{position:absolute;inset:42px 0 100px;z-index:6;transform:rotateX(var(--canon-rx)) rotateY(var(--canon-ry));transform-style:preserve-3d;transition:transform .28s ease}
.rtim-canon-spine{position:absolute;left:50%;top:52px;bottom:112px;z-index:2;width:1px;transform:translateX(-50%) translateZ(-8px);background:linear-gradient(to bottom,transparent,rgba(199,169,107,.16) 8%,rgba(228,205,152,.64) 50%,rgba(199,169,107,.16) 92%,transparent);box-shadow:0 0 24px rgba(199,169,107,.18);pointer-events:none}.rtim-canon-spine::before,.rtim-canon-spine::after{content:"";position:absolute;left:50%;width:11px;height:11px;transform:translateX(-50%);border-radius:50%;border:1px solid rgba(199,169,107,.44);background:#080b10}.rtim-canon-spine::before{top:0}.rtim-canon-spine::after{bottom:0}.rtim-canon-spine span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-90deg);color:rgba(199,169,107,.20);font-size:9px;font-weight:900;letter-spacing:.48em}
.rtim-canon-ghost{position:absolute;z-index:0;color:rgba(199,169,107,.028);font-family:Georgia,"Times New Roman",serif;line-height:1;pointer-events:none}.rtim-canon-ghost-hebrew{left:6%;top:23%;font-size:300px;animation:rtimGhostA 9s ease-in-out infinite}.rtim-canon-ghost-greek{right:3%;bottom:12%;font-size:220px;animation:rtimGhostB 10s ease-in-out infinite}@keyframes rtimGhostA{50%{transform:translateY(-10px) rotate(2deg);color:rgba(199,169,107,.05)}}@keyframes rtimGhostB{50%{transform:translateY(9px) rotate(-2deg);color:rgba(228,205,152,.045)}}
.rtim-shell-axis{position:absolute;z-index:8;top:24px;color:#59616c;font-size:7px;font-weight:800;letter-spacing:.16em;pointer-events:none}.rtim-shell-axis-at{left:18%}.rtim-shell-axis-nt{left:auto;right:18%;bottom:auto}

.rtim-canon-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}.rtim-canon-link{fill:none;stroke-width:.16;vector-effect:non-scaling-stroke;opacity:.38;filter:drop-shadow(0 0 3px rgba(199,169,107,.12))}.rtim-canon-link.is-at{stroke:rgba(199,169,107,.32)}.rtim-canon-link.is-nt{stroke:rgba(143,184,216,.29)}
.rtim-canon-particles{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}.rtim-canon-particles i{position:absolute;left:var(--px);top:var(--py);width:var(--ps);height:var(--ps);border-radius:50%;background:rgba(228,205,152,.56);box-shadow:0 0 9px rgba(228,205,152,.25);animation:rtimParticle 5.8s ease-in-out var(--pd) infinite}@keyframes rtimParticle{0%,100%{opacity:.12;transform:translate3d(0,7px,0) scale(.7)}50%{opacity:.72;transform:translate3d(0,-8px,0) scale(1.2)}}

.rtim-shell-node{position:absolute;left:var(--x);top:var(--y);z-index:6;width:28px;height:28px;padding:0;transform:translate(-50%,-50%);border:0;border-radius:50%;background:transparent;color:var(--white);outline:none;animation:rtimCanonNodeFloat 5.8s ease-in-out var(--pulse-delay) infinite;transition:opacity .28s ease,filter .28s ease,transform .28s ease,width .42s ease,height .42s ease,border-radius .42s ease,background .42s ease,box-shadow .42s ease;transform-style:preserve-3d}
@keyframes rtimCanonNodeFloat{0%,100%{translate:0 0}50%{translate:0 -3px}}
.rtim-shell-node::before{content:"";position:absolute;left:50%;top:50%;width:42px;height:42px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(199,169,107,.10);opacity:.65;transition:.28s ease;pointer-events:none}.rtim-shell-node[data-testament="NT"]::before{border-color:rgba(143,184,216,.11)}
.rtim-canon-node-core{position:absolute;left:50%;top:50%;z-index:4;width:9px;height:9px;transform:translate(-50%,-50%);border-radius:50%;background:#d7bb7d;box-shadow:0 0 10px rgba(199,169,107,.45),0 0 24px rgba(199,169,107,.12);transition:.34s ease}.rtim-shell-node[data-testament="NT"] .rtim-canon-node-core{background:#a6c8e0;box-shadow:0 0 10px rgba(143,184,216,.42),0 0 24px rgba(143,184,216,.11)}
.rtim-canon-node-number{position:absolute;left:50%;top:50%;z-index:5;transform:translate(-50%,-50%);color:#080a0d;font-size:5px;font-weight:900;opacity:0;transition:.25s ease}
.rtim-canon-book-pages,.rtim-canon-book-spine,.rtim-canon-book-identity,.rtim-canon-book-copy,.rtim-canon-book-mark{position:absolute;opacity:0;pointer-events:none;transition:.38s ease}
.rtim-canon-book-pages{right:-7px;top:9px;bottom:9px;width:10px;border-radius:0 7px 7px 0;background:repeating-linear-gradient(to bottom,#d7c49b 0 1px,#f0dfb8 1px 3px);box-shadow:2px 0 8px rgba(0,0,0,.24)}
.rtim-canon-book-spine{left:0;top:0;bottom:0;width:14px;border-radius:12px 0 0 12px;background:linear-gradient(90deg,rgba(255,255,255,.07),rgba(0,0,0,.28));box-shadow:inset -3px 0 6px rgba(0,0,0,.38),0 0 24px rgba(199,169,107,.24)}
.rtim-canon-book-identity{left:20px;right:14px;top:15px;display:flex;flex-direction:column;align-items:center;gap:4px}.rtim-canon-book-logo{display:block;width:58px;height:58px;object-fit:contain;border-radius:8px;filter:drop-shadow(0 0 10px rgba(228,205,152,.18))}.rtim-canon-book-bible-name{display:block;color:#f0ddb0;font-size:6px;font-weight:900;letter-spacing:.16em;text-align:center;white-space:nowrap}.rtim-canon-book-copy{left:24px;right:14px;top:93px;text-align:center}.rtim-canon-book-label{display:block;color:var(--gold);font-size:6px;font-weight:900;letter-spacing:.11em}.rtim-canon-node-name{display:block;margin-top:6px;color:var(--gold2);font-size:15px;line-height:1.02;letter-spacing:-.02em;overflow-wrap:anywhere}.rtim-canon-node-meta{display:block;margin-top:8px;color:#929aa4;font-size:5.5px;font-weight:800;letter-spacing:.06em;line-height:1.25}
.rtim-canon-book-mark{right:18px;bottom:-18px;width:10px;height:52px;background:linear-gradient(#b54f49,#74302d);clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%)}
.rtim-shell-node:hover,.rtim-shell-node:focus-visible{z-index:25;transform:translate(-50%,-50%) scale(1.28);animation-play-state:paused}.rtim-shell-node:hover::before,.rtim-shell-node:focus-visible::before{width:58px;height:58px;border-color:rgba(228,205,152,.34);box-shadow:0 0 40px rgba(199,169,107,.12)}.rtim-shell-node:hover .rtim-canon-node-core,.rtim-shell-node:focus-visible .rtim-canon-node-core{width:18px;height:18px;background:var(--gold2);box-shadow:0 0 16px rgba(228,205,152,.58),0 0 44px rgba(199,169,107,.24)}.rtim-shell-node:hover .rtim-canon-node-number,.rtim-shell-node:focus-visible .rtim-canon-node-number{opacity:1}
.rtim-canon-map.has-focus .rtim-shell-node:not(.is-selected-book){opacity:.58;filter:brightness(.78) saturate(.78)}
.rtim-shell-node.is-selected-book{z-index:90;width:156px;height:214px;border-radius:16px;background:linear-gradient(145deg,rgba(24,31,40,.96),rgba(9,13,18,.98));border:1px solid rgba(237,214,163,.52);transform:translate(-50%,-50%) rotateY(-10deg) rotateX(3deg) translateZ(44px);box-shadow:0 42px 105px rgba(0,0,0,.72),0 0 70px rgba(199,169,107,.19),0 0 140px rgba(199,169,107,.07),inset 0 1px 0 rgba(255,255,255,.11),inset 12px 0 28px rgba(0,0,0,.28);animation:rtimSelectedPresence 2.2s ease-in-out infinite!important}.rtim-shell-node.is-selected-book[data-testament="NT"]{border-color:rgba(166,200,224,.52);box-shadow:0 42px 105px rgba(0,0,0,.72),0 0 70px rgba(143,184,216,.18),0 0 140px rgba(143,184,216,.06),inset 0 1px 0 rgba(255,255,255,.11),inset 12px 0 28px rgba(0,0,0,.28)}
@keyframes rtimSelectedPresence{0%,100%{filter:brightness(1)}50%{filter:brightness(1.09)}}
.rtim-shell-node.is-selected-book::before{width:180px;height:238px;border-radius:20px;opacity:.34;border-color:rgba(228,205,152,.32);box-shadow:0 0 82px rgba(199,169,107,.15)}
.rtim-shell-node.is-selected-book .rtim-canon-book-pages,.rtim-shell-node.is-selected-book .rtim-canon-book-spine,.rtim-shell-node.is-selected-book .rtim-canon-book-identity,.rtim-shell-node.is-selected-book .rtim-canon-book-copy,.rtim-shell-node.is-selected-book .rtim-canon-book-mark{opacity:1}.rtim-shell-node.is-selected-book .rtim-canon-node-core{left:31px;top:34px;width:34px;height:34px;background:#fff1c5;box-shadow:0 0 14px rgba(255,243,207,.92),0 0 42px rgba(228,205,152,.52),0 0 86px rgba(199,169,107,.30)}.rtim-shell-node.is-selected-book[data-testament="NT"] .rtim-canon-node-core{background:#d7efff;box-shadow:0 0 14px rgba(215,239,255,.88),0 0 42px rgba(143,184,216,.45),0 0 86px rgba(143,184,216,.24)}.rtim-shell-node.is-selected-book .rtim-canon-node-number{left:31px;top:34px;font-size:8px;opacity:1}

.rtim-canon-focus-beam{position:absolute;z-index:3;top:8%;bottom:15%;left:var(--focus-x);width:135px;transform:translateX(-50%) rotate(3deg);background:linear-gradient(90deg,transparent,rgba(228,205,152,.03),rgba(255,247,220,.10),rgba(199,169,107,.04),transparent);filter:blur(8px);opacity:0;transition:opacity .35s ease;pointer-events:none}.rtim-canon-focus-beam.is-active{opacity:1}
.rtim-canon-focus-line{position:absolute;z-index:4;inset:0;background:linear-gradient(90deg,transparent calc(var(--focus-x) - 1px),rgba(228,205,152,.30) var(--focus-x),transparent calc(var(--focus-x) + 1px));mask-image:linear-gradient(to bottom,transparent 7%,black var(--focus-y),transparent 93%);-webkit-mask-image:linear-gradient(to bottom,transparent 7%,black var(--focus-y),transparent 93%);opacity:0;transition:opacity .35s ease;pointer-events:none}.rtim-canon-focus-line.is-active{opacity:.5}
.rtim-canon-backdrop-word{position:absolute;z-index:0;left:50%;top:48%;max-width:96%;transform:translate(-50%,-50%) translateZ(-80px);color:rgba(228,205,152,.035);font-size:clamp(50px,8vw,126px);font-weight:900;letter-spacing:-.06em;white-space:nowrap;opacity:0;transition:opacity .35s ease;pointer-events:none}.rtim-canon-backdrop-word.is-active{opacity:1}

.rtim-shell-readout{position:absolute;z-index:10;left:28px;right:28px;bottom:24px;padding:17px 20px;border-left:2px solid var(--gold);background:rgba(4,6,9,.74);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 18px 48px rgba(0,0,0,.22)}.rtim-shell-readout span{display:block;color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.13em}.rtim-shell-readout strong{display:block;margin-top:5px;font-size:24px}.rtim-shell-readout small{display:block;margin-top:5px;color:#858e98;font-size:11px;letter-spacing:.05em}

/* ÍNDICE / LIBRO / READER — FUNCIONALIDAD EXISTENTE PRESERVADA */
.rtim-shell-index{padding:80px clamp(24px,5vw,72px);background:#070a0e;border-top:1px solid var(--border)}.rtim-shell-index-head{display:flex;justify-content:space-between;align-items:end;gap:30px}.rtim-shell-index-head h2{margin:10px 0 0;font-size:clamp(36px,4vw,58px);letter-spacing:-.045em}.rtim-shell-index-head p{max-width:470px;margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.rtim-shell-controls{display:flex;justify-content:space-between;gap:18px;margin-top:36px}.rtim-shell-tabs{display:flex;gap:8px;flex-wrap:wrap}.rtim-shell-tabs button{min-height:44px;padding:0 15px;border:1px solid var(--border);border-radius:6px;background:#0b0f15;color:#a7afb8;font-size:10px;font-weight:900;letter-spacing:.08em}.rtim-shell-tabs button.is-active{color:#080a0d;background:var(--gold);border-color:var(--gold)}
.rtim-shell-search{min-width:min(320px,100%);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--border);border-radius:6px;background:#0b0f15}.rtim-shell-search span{color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.1em}.rtim-shell-search input{min-width:0;height:44px;border:0;outline:0;background:transparent;color:var(--white);font-size:15px}
.rtim-shell-books{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px}.rtim-shell-book{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:88px;padding:16px 18px;border:1px solid var(--border);border-radius:9px;background:linear-gradient(145deg,#0e141c,#090d12);color:var(--white);text-align:left;transition:transform .2s ease,border-color .2s ease}.rtim-shell-book:hover{transform:translateY(-2px);border-color:rgba(199,169,107,.38)}.rtim-shell-book em{display:block;color:var(--gold);font-style:normal;font-size:9px;font-weight:900;letter-spacing:.1em}.rtim-shell-book strong{display:block;margin-top:5px;font-size:18px}.rtim-shell-book small{display:block;margin-top:5px;color:#848d97;font-size:10px;letter-spacing:.04em}.rtim-shell-book b{font-size:22px;color:rgba(199,169,107,.65)}
.rtim-shell-book-view,.rtim-shell-reader-stage{padding:44px clamp(22px,5vw,72px) 80px;background:#05080c}.rtim-shell-back{min-height:42px;padding:0 14px;border:1px solid var(--border);border-radius:6px;background:#0d1219;color:var(--gold2);font-size:10px;font-weight:900;letter-spacing:.09em}
.rtim-scene{margin-top:26px}.rtim-scene-hero{display:grid;grid-template-columns:1fr auto;gap:35px;align-items:center;padding:42px;border:1px solid rgba(199,169,107,.22);border-radius:18px;background:radial-gradient(circle at 80% 20%,rgba(199,169,107,.10),transparent 32%),linear-gradient(145deg,#111821,#080c11)}.rtim-scene-kicker{color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.14em}.rtim-scene-original{margin-top:15px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,7vw,86px);line-height:1;color:var(--white)}.rtim-scene-translit{margin-top:8px;color:var(--gold2);font-size:12px;font-weight:900;letter-spacing:.18em}.rtim-scene-meaning{margin-top:6px;color:#9fa7b0;font-size:14px}.rtim-scene-title{margin:15px 0 0;font-size:clamp(42px,5vw,68px);letter-spacing:-.05em}.rtim-scene-lead{max-width:760px;margin:20px 0 0;color:var(--muted);font-size:17px;line-height:1.75}.rtim-scene-symbol{width:150px;height:190px;display:grid;place-items:center;border:1px solid rgba(199,169,107,.24);border-radius:12px;color:rgba(228,205,152,.8);font-family:Georgia,serif;font-size:78px;background:rgba(0,0,0,.16)}
.rtim-scene-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.rtim-scene-fact{padding:24px;border:1px solid var(--border);border-radius:10px;background:#0c1118}.rtim-scene-fact span{color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.1em}.rtim-scene-fact h3{margin:10px 0 0;font-size:18px}.rtim-scene-fact p{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
.rtim-scene-roadmap{margin-top:18px;padding:28px;border:1px solid var(--border);border-radius:10px;background:#090d13}.rtim-scene-roadmap h3{margin:0;font-size:22px}.rtim-scene-roadmap>p{color:#89929c;font-size:13px;line-height:1.6}.rtim-scene-roadmap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.rtim-scene-step{padding:16px;border-left:2px solid rgba(199,169,107,.55);background:rgba(255,255,255,.025)}.rtim-scene-step b{display:block;color:var(--gold);font-size:14px}.rtim-scene-step strong{display:block;margin-top:6px}.rtim-scene-step span{display:block;margin-top:5px;color:#8d96a0;font-size:12px;line-height:1.5}.rtim-scene-editorial{margin-top:18px;padding:18px 20px;border-left:2px solid rgba(199,169,107,.55);background:rgba(199,169,107,.04);color:#9aa2ab;font-size:13px;line-height:1.7}.rtim-scene-generic{margin-top:26px;padding:40px;border:1px solid rgba(199,169,107,.18);border-radius:16px;background:linear-gradient(145deg,#111821,#080c11)}.rtim-scene-generic h2{margin:10px 0 0;font-size:clamp(42px,5vw,68px);letter-spacing:-.05em}.rtim-scene-generic p{max-width:760px;color:var(--muted);font-size:16px;line-height:1.7}
.rtim-shell-chapters-wrap{margin-top:34px}.rtim-shell-chapters{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin-top:18px}.rtim-shell-chapters button{min-height:48px;border:1px solid var(--border);border-radius:6px;background:#0c1118;color:var(--white);font-weight:800}.rtim-shell-chapters button:hover{border-color:var(--gold);color:var(--gold2)}
.rtim-shell-reader-stage>.biblia-rtim-reader{margin-top:24px}

@media(max-width:1080px){
 .rtim-shell-hero-grid{grid-template-columns:1fr;gap:24px;padding-top:64px}.rtim-canon-stage{min-height:650px}.rtim-shell-copy>p{max-width:760px}.rtim-shell-books{grid-template-columns:repeat(2,1fr)}.rtim-scene-facts{grid-template-columns:1fr}.rtim-scene-roadmap-grid{grid-template-columns:repeat(2,1fr)}.rtim-shell-chapters{grid-template-columns:repeat(7,1fr)}
}
@media(max-width:760px){
 .rtim-shell-header{padding:0 16px}.rtim-shell-brand small{font-size:9px}.rtim-shell-hero-grid{width:calc(100% - 28px);padding:48px 0 42px}.rtim-shell-copy h1{font-size:clamp(46px,15vw,66px)}.rtim-shell-copy>p{font-size:16px}.rtim-shell-stats{gap:0}.rtim-shell-stats div{padding-right:10px}.rtim-shell-stats span,.rtim-shell-instruction{font-size:9px}.rtim-canon-stage{min-height:760px}.rtim-canon-aura{width:430px;height:430px}.rtim-canon-spine{top:60px;bottom:120px}.rtim-shell-map{inset:50px 0 112px}.rtim-shell-axis{top:25px;font-size:8px}.rtim-shell-axis-at{left:8%}.rtim-shell-axis-nt{right:8%}.rtim-canon-ghost-hebrew{font-size:210px;left:-4%}.rtim-canon-ghost-greek{font-size:170px;right:-3%}.rtim-shell-node{width:24px;height:24px}.rtim-shell-node::before{width:32px;height:32px}.rtim-shell-node:hover,.rtim-shell-node:focus-visible{transform:translate(-50%,-50%) scale(1.15)}.rtim-shell-node.is-selected-book{width:128px;height:178px;transform:translate(-50%,-50%) rotateY(-7deg) translateZ(22px)}.rtim-shell-node.is-selected-book::before{width:144px;height:196px}.rtim-shell-node.is-selected-book .rtim-canon-node-core{left:24px;top:26px;width:24px;height:24px}.rtim-shell-node.is-selected-book .rtim-canon-node-number{left:24px;top:26px}.rtim-shell-node.is-selected-book .rtim-canon-book-identity{left:18px;right:10px;top:10px;gap:2px}.rtim-shell-node.is-selected-book .rtim-canon-book-logo{width:44px;height:44px;border-radius:6px}.rtim-shell-node.is-selected-book .rtim-canon-book-bible-name{font-size:5px;letter-spacing:.11em}.rtim-shell-node.is-selected-book .rtim-canon-book-copy{left:18px;right:10px;top:66px}.rtim-shell-node.is-selected-book .rtim-canon-node-name{font-size:12px;line-height:1.02}.rtim-shell-node.is-selected-book .rtim-canon-node-meta{font-size:5px;margin-top:6px}.rtim-shell-readout{left:12px;right:12px;bottom:16px;padding:14px 16px}.rtim-shell-readout strong{font-size:21px}.rtim-shell-readout small{font-size:10px;line-height:1.35}.rtim-shell-index{padding:60px 16px}.rtim-shell-index-head{align-items:start;flex-direction:column}.rtim-shell-index-head p{font-size:16px}.rtim-shell-controls{flex-direction:column}.rtim-shell-search{min-width:100%}.rtim-shell-search input{font-size:17px}.rtim-shell-tabs button{font-size:12px}.rtim-shell-books{grid-template-columns:1fr}.rtim-shell-book em{font-size:11px}.rtim-shell-book strong{font-size:21px}.rtim-shell-book small{font-size:12px}.rtim-shell-book-view,.rtim-shell-reader-stage{padding:30px 16px 60px}.rtim-scene-hero{grid-template-columns:1fr;padding:26px 20px}.rtim-scene-symbol{width:100%;height:110px;font-size:56px}.rtim-scene-facts{grid-template-columns:1fr}.rtim-scene-roadmap-grid{grid-template-columns:1fr}.rtim-shell-chapters{grid-template-columns:repeat(5,1fr)}.rtim-shell-chapters button{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.rtim-canon-beam,.rtim-canon-aura,.rtim-canon-ghost,.rtim-canon-particles i,.rtim-shell-node,.rtim-shell-instruction-dot{animation:none!important}.rtim-shell-map{transition:none}}

/* CANON 66 v1.0.5 — ANIMACIÓN DE NODOS Y LÍNEAS DE LUZ */
.rtim-canon-links{isolation:isolate}
.rtim-canon-link{
  stroke-width:.18;
  opacity:.26;
  stroke-linecap:round;
  stroke-dasharray:1.3 .92;
  animation:rtimCanonLinkPulse 4.8s ease-in-out infinite;
}
.rtim-canon-link.is-at{stroke:rgba(229,205,146,.34)}
.rtim-canon-link.is-nt{stroke:rgba(151,195,227,.30)}
.rtim-canon-link-trace{
  fill:none;
  vector-effect:non-scaling-stroke;
  stroke-width:.34;
  stroke-linecap:round;
  stroke-dasharray:8 24;
  stroke-dashoffset:0;
  opacity:.95;
  filter:drop-shadow(0 0 5px rgba(255,243,207,.26)) drop-shadow(0 0 14px rgba(228,205,152,.18));
  animation:rtimCanonTrace var(--link-speed,3.6s) linear var(--link-delay,0s) infinite;
}
.rtim-canon-link-trace.is-at{stroke:rgba(255,237,192,.90)}
.rtim-canon-link-trace.is-nt{stroke:rgba(214,238,255,.88)}
@keyframes rtimCanonTrace{from{stroke-dashoffset:34;opacity:.1}12%{opacity:1}to{stroke-dashoffset:0;opacity:.1}}
@keyframes rtimCanonLinkPulse{0%,100%{opacity:.18}50%{opacity:.42}}

.rtim-shell-node{
  animation:rtimCanonNodeFloat 5.8s ease-in-out var(--pulse-delay) infinite,rtimCanonNodeBreath 3.8s ease-in-out var(--pulse-delay) infinite;
}
.rtim-shell-node::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:14px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(228,205,152,.32);
  box-shadow:0 0 0 0 rgba(228,205,152,.22);
  opacity:.0;
  pointer-events:none;
  animation:rtimCanonNodeHalo 3.5s ease-out var(--pulse-delay) infinite;
}
.rtim-shell-node[data-testament="NT"]::after{
  border-color:rgba(166,200,224,.28);
  box-shadow:0 0 0 0 rgba(166,200,224,.18);
}
@keyframes rtimCanonNodeBreath{0%,100%{filter:brightness(.95)}50%{filter:brightness(1.22)}}
@keyframes rtimCanonNodeHalo{
  0%{opacity:.0;transform:translate(-50%,-50%) scale(.55)}
  18%{opacity:.5}
  100%{opacity:0;transform:translate(-50%,-50%) scale(3.2)}
}
.rtim-shell-node:hover::after,.rtim-shell-node:focus-visible::after{animation-duration:1.8s;opacity:.6}

.rtim-canon-node-core{
  box-shadow:0 0 12px rgba(199,169,107,.55),0 0 28px rgba(199,169,107,.16),0 0 60px rgba(199,169,107,.06);
}
.rtim-shell-node[data-testament="NT"] .rtim-canon-node-core{
  box-shadow:0 0 12px rgba(143,184,216,.52),0 0 28px rgba(143,184,216,.16),0 0 60px rgba(143,184,216,.06);
}

.rtim-canon-focus-beam{
  position:absolute;
  inset:10% 8% 14%;
  z-index:0;
  opacity:0;
  pointer-events:none;
  background:
    radial-gradient(circle at var(--focus-x) var(--focus-y),rgba(249,228,179,.18),rgba(249,228,179,.05) 18%,transparent 36%),
    linear-gradient(90deg,transparent,rgba(255,240,194,.09),transparent);
  filter:blur(18px);
  transition:opacity .28s ease;
}
.rtim-canon-focus-beam.is-active{opacity:1;animation:rtimCanonFocusSweep 3.2s ease-in-out infinite}
@keyframes rtimCanonFocusSweep{0%,100%{transform:translateX(-1.5%) scale(1);opacity:.68}50%{transform:translateX(1.5%) scale(1.03);opacity:1}}

.rtim-canon-focus-line{
  position:absolute;
  left:50%;
  top:58px;
  bottom:116px;
  width:2px;
  transform:translateX(-50%);
  background:linear-gradient(to bottom,transparent,rgba(228,205,152,.10) 10%,rgba(255,237,192,.85) 50%,rgba(228,205,152,.10) 90%,transparent);
  opacity:.16;
  pointer-events:none;
}
.rtim-canon-focus-line::before,
.rtim-canon-focus-line::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,243,209,.92);
  box-shadow:0 0 14px rgba(255,237,192,.35),0 0 28px rgba(228,205,152,.18);
  opacity:0;
}
.rtim-canon-focus-line::before{top:0}
.rtim-canon-focus-line::after{bottom:0}
.rtim-canon-focus-line.is-active{
  opacity:.56;
  animation:rtimCanonFocusLineGlow 2.4s ease-in-out infinite;
}
.rtim-canon-focus-line.is-active::before,
.rtim-canon-focus-line.is-active::after{opacity:1}
@keyframes rtimCanonFocusLineGlow{0%,100%{box-shadow:0 0 18px rgba(228,205,152,.10)}50%{box-shadow:0 0 34px rgba(228,205,152,.28)}}

.rtim-shell-node.is-selected-book{
  width:168px;
  height:232px;
  background:
    radial-gradient(circle at 58% 20%,rgba(255,242,201,.12),transparent 24%),
    linear-gradient(145deg,rgba(28,36,46,.97),rgba(8,12,17,.99));
  box-shadow:0 44px 110px rgba(0,0,0,.72),0 0 80px rgba(199,169,107,.20),0 0 150px rgba(199,169,107,.09),inset 0 1px 0 rgba(255,255,255,.10),inset 12px 0 28px rgba(0,0,0,.30);
}
.rtim-shell-node.is-selected-book::before{width:194px;height:256px;opacity:.42}
.rtim-shell-node.is-selected-book::after{
  width:120px;height:120px;border:none;border-radius:50%;
  background:radial-gradient(circle,rgba(255,238,193,.14),rgba(255,238,193,0) 68%);
  opacity:1;animation:rtimCanonSelectedAura 2.8s ease-in-out infinite;
}
@keyframes rtimCanonSelectedAura{0%,100%{transform:translate(-50%,-50%) scale(.92);opacity:.72}50%{transform:translate(-50%,-50%) scale(1.08);opacity:1}}
.rtim-shell-node.is-selected-book .rtim-canon-book-logo{filter:drop-shadow(0 0 12px rgba(255,237,192,.22))}
.rtim-shell-node.is-selected-book .rtim-canon-book-bible-name{font-size:6.2px}
.rtim-shell-node.is-selected-book .rtim-canon-node-name{text-shadow:0 0 18px rgba(228,205,152,.08)}

.rtim-canon-particles i{animation-duration:5.2s}
.rtim-canon-particles i:nth-child(3n){background:rgba(255,239,198,.80)}
.rtim-canon-particles i:nth-child(4n){box-shadow:0 0 12px rgba(228,205,152,.36)}

@media(max-width:760px){
  .rtim-canon-link-trace{stroke-width:.42;stroke-dasharray:7 22}
  .rtim-shell-node::after{width:12px;height:12px}
  .rtim-shell-node.is-selected-book{width:136px;height:188px}
  .rtim-shell-node.is-selected-book::before{width:152px;height:206px}
}

@media(prefers-reduced-motion:reduce){
  .rtim-canon-link,
  .rtim-canon-link-trace,
  .rtim-shell-node::after,
  .rtim-canon-focus-beam,
  .rtim-canon-focus-line,
  .rtim-shell-node.is-selected-book::after{animation:none!important}
}

/* CANON 66 v1.0.8 — PORTADA BIBLIA RTIM BLANCA/AZUL INTEGRADA AL LIBRO SELECCIONADO */
.rtim-canon-book-cover,
.rtim-canon-book-caption{
  position:absolute;
  opacity:0;
  pointer-events:none;
  transition:opacity .32s ease,transform .38s ease,filter .38s ease;
}
.rtim-canon-book-cover{
  inset:0;
  z-index:8;
  border-radius:15px;
  overflow:hidden;
  background:#050505;
  transform:translateZ(5px);
  box-shadow:inset 0 0 0 1px rgba(255,223,145,.20);
}
.rtim-canon-book-cover::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:-1px;
  border-radius:inherit;
  background:
    linear-gradient(115deg,rgba(255,255,255,.16),transparent 21%,transparent 67%,rgba(255,220,130,.11)),
    radial-gradient(circle at 54% 29%,rgba(255,229,158,.11),transparent 31%);
  mix-blend-mode:screen;
  pointer-events:none;
}
.rtim-canon-book-cover::after{
  content:"";
  position:absolute;
  z-index:3;
  left:14%;
  right:10%;
  top:6%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,241,205,.82),transparent);
  box-shadow:0 0 14px rgba(255,221,139,.38);
  opacity:.7;
  animation:rtimCoverShimmer 3.8s ease-in-out infinite;
  pointer-events:none;
}
.rtim-canon-book-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  transform:none;
  filter:none;
  image-rendering:auto;
}
.rtim-canon-book-caption{
  z-index:12;
  left:16px;
  right:10px;
  bottom:8px;
  padding:5px 7px 6px;
  transform:translateY(3px);
  border:1px solid rgba(232,207,149,.28);
  border-radius:6px;
  background:linear-gradient(180deg,rgba(10,12,15,.72),rgba(3,4,6,.88));
  box-shadow:0 8px 20px rgba(0,0,0,.34),0 0 18px rgba(199,169,107,.08);
  text-align:center;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.rtim-canon-book-caption strong{
  display:block;
  color:#f8e5b6;
  font-size:9px;
  line-height:1.05;
  letter-spacing:.02em;
  white-space:normal;
}
.rtim-canon-book-caption small{
  display:block;
  margin-top:4px;
  color:#9da6b0;
  font-size:4.8px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.055em;
  white-space:normal;
}
.rtim-shell-node.is-selected-book{
  width:176px;
  height:220px;
  border-radius:16px;
  background:#050505;
  transform:translate(calc(-50% + var(--selected-shift-x,0px)),calc(-50% + var(--selected-shift-y,0px))) rotateY(-7deg) rotateX(2deg) translateZ(48px);
  border:1px solid rgba(255,220,135,.58);
  box-shadow:
    0 48px 116px rgba(0,0,0,.76),
    0 0 28px rgba(255,223,145,.30),
    0 0 82px rgba(231,188,89,.22),
    0 0 160px rgba(199,169,107,.11),
    inset 0 1px 0 rgba(255,255,255,.11);
}
.rtim-shell-node.is-selected-book[data-testament="NT"]{
  border-color:rgba(255,220,135,.58);
  box-shadow:
    0 48px 116px rgba(0,0,0,.76),
    0 0 28px rgba(255,223,145,.30),
    0 0 82px rgba(231,188,89,.22),
    0 0 160px rgba(143,184,216,.08),
    inset 0 1px 0 rgba(255,255,255,.11);
}
.rtim-shell-node.is-selected-book::before{
  width:204px;
  height:250px;
  border-radius:22px;
  opacity:.64;
  border-color:rgba(255,224,150,.28);
  box-shadow:0 0 44px rgba(255,222,139,.22),0 0 100px rgba(199,169,107,.15);
}
.rtim-shell-node.is-selected-book::after{
  width:150px;
  height:150px;
  background:radial-gradient(circle,rgba(255,226,151,.22),rgba(255,226,151,.06) 38%,rgba(255,226,151,0) 72%);
  filter:blur(8px);
}
.rtim-shell-node.is-selected-book .rtim-canon-book-cover,
.rtim-shell-node.is-selected-book .rtim-canon-book-caption{
  opacity:1;
}
.rtim-shell-node.is-selected-book .rtim-canon-book-caption{
  transform:translateY(0);
}
.rtim-shell-node.is-selected-book .rtim-canon-node-core,
.rtim-shell-node.is-selected-book .rtim-canon-node-number,
.rtim-shell-node.is-selected-book .rtim-canon-book-pages,
.rtim-shell-node.is-selected-book .rtim-canon-book-spine,
.rtim-shell-node.is-selected-book .rtim-canon-book-identity,
.rtim-shell-node.is-selected-book .rtim-canon-book-copy,
.rtim-shell-node.is-selected-book .rtim-canon-book-mark{
  opacity:0;
}
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-cover,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-caption{
  opacity:0;
}
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-node-core,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-node-number,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-identity,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-copy,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-mark{
  opacity:1;
}
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-pages,
.rtim-shell-node.is-selected-book.is-cover-fallback .rtim-canon-book-spine{
  opacity:1;
}
@keyframes rtimCoverShimmer{
  0%,100%{opacity:.38;transform:translateX(-8%)}
  50%{opacity:.95;transform:translateX(8%)}
}
@media(max-width:760px){
  .rtim-shell-node.is-selected-book{
    width:136px;
    height:170px;
    transform:translate(calc(-50% + var(--selected-shift-x,0px)),calc(-50% + var(--selected-shift-y,0px))) rotateY(-5deg) translateZ(24px);
  }
  .rtim-shell-node.is-selected-book::before{width:154px;height:190px}
  .rtim-canon-book-caption{left:13px;right:8px;bottom:6px;padding:4px 5px}
  .rtim-canon-book-caption strong{font-size:8px}
  .rtim-canon-book-caption small{display:none}
}
@media(prefers-reduced-motion:reduce){
  .rtim-canon-book-cover::after{animation:none!important}
}

/* CANON 66 v1.0.10 — imagen original HD + halo CSS, sin re-renderizar texto */
.rtim-shell-node.is-selected-book .rtim-canon-book-cover{
  background:#02050a;
  box-shadow:
    inset 0 0 0 1px rgba(225,238,255,.30),
    0 0 18px rgba(40,145,255,.34),
    0 0 42px rgba(0,105,255,.22);
}
.rtim-shell-node.is-selected-book .rtim-canon-book-cover img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  transform:none;
  filter:none;
}
.rtim-shell-node.is-selected-book::before{
  border-color:rgba(95,178,255,.42);
  box-shadow:
    0 0 30px rgba(58,154,255,.28),
    0 0 76px rgba(24,115,255,.18);
}
.rtim-shell-node.is-selected-book::after{
  background:radial-gradient(circle,
    rgba(78,168,255,.30),
    rgba(32,119,255,.11) 40%,
    rgba(20,84,190,0) 74%);
}


/* ==========================================================
   CANON 66 v1.0.11 · Ajuste final de portada HD
   La imagen original es casi cuadrada. En vez de estirarla dentro
   de todo el nodo vertical, se reserva una zona cuadrada superior
   y una franja inferior limpia para el nombre del libro.
   ========================================================== */
.rtim-shell-node.is-selected-book{
  width:176px;
  height:228px;
  border-radius:20px;
  overflow:visible;
  background:
    radial-gradient(circle at 50% 34%,rgba(67,157,255,.12),transparent 42%),
    linear-gradient(180deg,rgba(8,14,24,.98),rgba(3,7,13,.99));
  border-color:rgba(111,190,255,.46);
  box-shadow:
    0 46px 110px rgba(0,0,0,.74),
    0 0 22px rgba(53,156,255,.30),
    0 0 58px rgba(30,115,255,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.rtim-shell-node.is-selected-book .rtim-canon-book-cover{
  inset:auto;
  left:8px;
  right:8px;
  top:8px;
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:14px;
  background:transparent;
  overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(213,236,255,.24),
    0 0 18px rgba(57,164,255,.24),
    0 0 44px rgba(20,111,255,.14);
}

.rtim-shell-node.is-selected-book .rtim-canon-book-cover::before{
  background:
    linear-gradient(115deg,rgba(255,255,255,.08),transparent 22%,transparent 70%,rgba(80,170,255,.06));
}

.rtim-shell-node.is-selected-book .rtim-canon-book-cover::after{
  background:linear-gradient(90deg,transparent,rgba(151,214,255,.72),transparent);
  box-shadow:0 0 14px rgba(62,166,255,.30);
}

.rtim-shell-node.is-selected-book .rtim-canon-book-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:none;
  filter:none;
  image-rendering:auto;
}

.rtim-shell-node.is-selected-book .rtim-canon-book-caption{
  left:10px;
  right:10px;
  bottom:8px;
  min-height:42px;
  padding:7px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-color:rgba(101,183,255,.30);
  background:
    linear-gradient(180deg,rgba(8,17,28,.94),rgba(3,8,15,.98));
  box-shadow:
    0 6px 18px rgba(0,0,0,.34),
    0 0 18px rgba(31,128,255,.10);
}

.rtim-shell-node.is-selected-book .rtim-canon-book-caption strong{
  color:#f6f7f8;
  font-size:10px;
  line-height:1.1;
}

.rtim-shell-node.is-selected-book .rtim-canon-book-caption small{
  margin-top:3px;
  color:#8fb7d8;
  font-size:5.5px;
  letter-spacing:.05em;
}

.rtim-shell-node.is-selected-book::before{
  width:198px;
  height:248px;
  border-color:rgba(85,174,255,.36);
  box-shadow:
    0 0 30px rgba(55,158,255,.24),
    0 0 74px rgba(24,105,255,.16);
}

.rtim-shell-node.is-selected-book::after{
  width:168px;
  height:168px;
  background:radial-gradient(circle,
    rgba(66,162,255,.26),
    rgba(25,106,255,.09) 42%,
    rgba(16,66,170,0) 74%);
}

@media(max-width:760px){
  .rtim-shell-node.is-selected-book{
    width:146px;
    height:194px;
  }
  .rtim-shell-node.is-selected-book .rtim-canon-book-cover{
    left:7px;
    right:7px;
    top:7px;
  }
  .rtim-shell-node.is-selected-book .rtim-canon-book-caption{
    left:8px;
    right:8px;
    bottom:6px;
    min-height:36px;
    padding:5px 7px;
  }
  .rtim-shell-node.is-selected-book .rtim-canon-book-caption strong{
    font-size:9px;
  }
  .rtim-shell-node.is-selected-book::before{
    width:162px;
    height:212px;
  }
}

/* 1.0.12: Elementor Canvas wrapper must not create an inline line box above CANON. */
body.elementor-template-canvas:has(.biblia-rtim-shell) { background-color: #040609; }
body.elementor-template-canvas .e-con:has(> .elementor-widget-shortcode .biblia-rtim-shell) {
    display: block; padding: 0; margin-block: 0; gap: 0;
}
.biblia-rtim-shell .rtim-shell-instruction { font-size: 11px; color: #aab1ba; line-height: 1.6; }
.biblia-rtim-shell .rtim-shell-axis { font-size: 10px; color: #aab1ba; }
.biblia-rtim-shell .rtim-canon-system-line { font-size: 10px; color: #aab1ba; }
.biblia-rtim-shell .rtim-shell-empty { grid-column: 1 / -1; color: #e8e6de; padding: 24px; line-height: 1.6; }
.biblia-rtim-shell .rtim-shell-empty button { display: block; margin-top: 12px; }
.biblia-rtim-shell button:focus-visible { outline: 2px solid #d9bd7b; outline-offset: 3px; }

/* RTIM Integration 1.0.19 · disponibilidad, búsqueda y navegación */
.rtim-shell-brand{color:inherit;text-decoration:none}
.rtim-shell-brand:focus-visible{outline:2px solid var(--gold);outline-offset:5px;border-radius:6px}
.rtim-canon-status{display:block;margin-top:6px;color:#8fc4a7;font-size:5px;font-weight:900;letter-spacing:.1em}
.rtim-shell-node.is-pending{opacity:.52;filter:saturate(.6)}
.rtim-shell-node.is-pending .rtim-canon-status{color:#c9a66b}
.rtim-shell-status{display:inline-flex;margin-top:8px;padding:4px 7px;border:1px solid rgba(143,196,167,.3);border-radius:999px;color:#a8d1bb;font-size:9px;font-weight:900;letter-spacing:.08em}
.rtim-shell-status.is-preparing{border-color:rgba(199,169,107,.28);color:#c9a66b}
.rtim-shell-book:disabled{cursor:not-allowed;opacity:.56;transform:none}
.rtim-shell-reference-result{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:92px;padding:18px 20px;border:1px solid rgba(199,169,107,.38);border-radius:9px;background:linear-gradient(145deg,#111923,#090d12);color:var(--white);text-align:left}
.rtim-shell-reference-result em{display:block;color:var(--gold);font-style:normal;font-size:9px;font-weight:900;letter-spacing:.1em}
.rtim-shell-reference-result strong{display:block;margin-top:6px;font-size:21px}
.rtim-shell-reference-result small{display:block;margin-top:6px;color:#9ba4ae;font-size:10px;letter-spacing:.05em}
.rtim-shell-reference-result b{color:var(--gold2);font-size:24px}
.rtim-shell-reference-result:disabled{cursor:not-allowed;opacity:.55}

/* 1.0.37 — acciones directas en la puerta del libro */
.rtim-scene-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.rtim-scene-actions button{appearance:none;border-radius:999px;padding:12px 18px;font:inherit;font-size:.78rem;font-weight:800;letter-spacing:.08em;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.rtim-scene-primary{border:1px solid rgba(212,175,55,.72);background:rgba(212,175,55,.16);color:#f4df91}
.rtim-scene-secondary{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);color:#f5f3ea}
.rtim-scene-actions button:hover,.rtim-scene-actions button:focus-visible{transform:translateY(-1px);border-color:rgba(212,175,55,.9);outline:none}
@media (max-width:640px){.rtim-scene-actions{display:grid;grid-template-columns:1fr}.rtim-scene-actions button{width:100%}}

/* 1.0.39 — destinos reales: Entender un pasaje / Mundo bíblico */
.rtim-shell-tool-view{max-width:1180px;margin:0 auto;padding:44px 24px 72px;color:#f5f3ea}
.rtim-tool-hero{padding:42px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:linear-gradient(145deg,rgba(17,25,35,.96),rgba(7,11,16,.98));box-shadow:0 22px 70px rgba(0,0,0,.28)}
.rtim-tool-hero h2{margin:10px 0 12px;font-size:clamp(2rem,5vw,4.4rem);line-height:.98;letter-spacing:-.045em}
.rtim-tool-hero>p{max-width:760px;color:#aab1ba;font-size:1rem;line-height:1.75}
.rtim-tool-search{margin-top:30px}
.rtim-tool-search>label{display:block;margin-bottom:9px;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.13em}
.rtim-tool-search>div{display:grid;grid-template-columns:1fr auto;border:1px solid rgba(212,175,55,.30);border-radius:12px;overflow:hidden;background:#090d12}
.rtim-tool-search input{min-width:0;border:0;background:transparent;color:#fff;padding:18px 20px;font:inherit;font-size:1rem;outline:none}
.rtim-tool-search button{border:0;border-left:1px solid rgba(212,175,55,.25);padding:0 24px;background:#d8bb78;color:#0b0c0e;font:inherit;font-size:.78rem;font-weight:900;letter-spacing:.09em;cursor:pointer}
.rtim-tool-message{min-height:1.4em;margin:8px 0 0;color:#c6a969;font-size:.86rem}
.rtim-tool-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}
.rtim-tool-flow article{padding:18px;border-top:1px solid rgba(212,175,55,.35);background:rgba(255,255,255,.025)}
.rtim-tool-flow span{display:block;color:var(--gold);font-size:.72rem;font-weight:900;letter-spacing:.12em}
.rtim-tool-flow strong{display:block;margin-top:10px;font-size:1.04rem}
.rtim-tool-flow small{display:block;margin-top:7px;color:#9fa7b0;line-height:1.55}
.rtim-world-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.rtim-world-grid article{min-height:230px;padding:26px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:linear-gradient(145deg,#111923,#090d12);display:flex;flex-direction:column}
.rtim-world-grid article>span{color:var(--gold);font-size:.68rem;font-weight:900;letter-spacing:.12em}
.rtim-world-grid h3{margin:16px 0 8px;font-size:1.5rem;line-height:1.15}
.rtim-world-grid p{margin:0;color:#aab1ba;line-height:1.65}
.rtim-world-grid button{margin-top:auto;padding:18px 0 0;border:0;background:transparent;color:#d8bb78;text-align:left;font:inherit;font-size:.78rem;font-weight:900;letter-spacing:.08em;cursor:pointer}
.rtim-world-grid button:hover,.rtim-world-grid button:focus-visible{color:#fff;outline:none}
@media(max-width:760px){
  .rtim-shell-tool-view{padding:24px 14px 48px}
  .rtim-tool-hero{padding:26px 20px}
  .rtim-tool-search>div{grid-template-columns:1fr}
  .rtim-tool-search button{min-height:52px;border-left:0;border-top:1px solid rgba(212,175,55,.25)}
  .rtim-tool-flow,.rtim-world-grid{grid-template-columns:1fr}
}

/* Biblia RTIM Integration 1.0.53 · identidad y accesibilidad del Canon. */
.biblia-rtim-shell .rtim-shell-official-logo{display:block;flex:0 0 auto;width:46px;height:46px;object-fit:contain}
.biblia-rtim-shell .rtim-shell-waf{display:block;margin-top:1px;color:#ead59f;font-size:9px;letter-spacing:.19em;font-weight:700}
.biblia-rtim-shell .rtim-shell-jump{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:46px;margin-top:26px;padding:11px 17px;border:1px solid rgba(199,169,107,.45);border-radius:10px;background:rgba(199,169,107,.12);color:#f6deaa;text-decoration:none;font-size:14px;font-weight:800}
.biblia-rtim-shell .rtim-shell-index-summary{margin:18px 0;color:#d0d3d8;font-size:14px;line-height:1.55}
.biblia-rtim-shell #rtimCanonIndex{scroll-margin-top:90px}
.biblia-rtim-shell .rtim-shell-jump:focus-visible,
.biblia-rtim-shell .rtim-shell-node:focus-visible,
.biblia-rtim-shell .rtim-shell-tabs button:focus-visible{outline:3px solid #f2d99e;outline-offset:3px}
.biblia-rtim-shell .rtim-shell-node[aria-pressed="true"]:not(.is-selected-book){outline:2px solid #f2d99e;outline-offset:5px}
@media(max-width:760px){
  .biblia-rtim-shell .rtim-shell-index-head p{font-size:15px;line-height:1.6}
  .biblia-rtim-shell .rtim-shell-jump{width:100%;max-width:260px}
  .biblia-rtim-shell .rtim-shell-index-summary{font-size:14px}
  .biblia-rtim-shell .rtim-shell-tabs{grid-template-columns:1fr}
  .biblia-rtim-shell .rtim-shell-node:not(.is-selected-book){min-width:30px;min-height:30px}
}
