:root{color-scheme:dark;--navy:#09265b;--blue:#174f9f;--line:rgba(255,255,255,.16);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0}
.flipbook-page{overflow:hidden;background:#dfe5ed;color:#fff}
.book-app{position:relative;height:100%;background:radial-gradient(circle at 50% 40%,#f8fafc 0,#e8edf3 46%,#d3dae3 100%)}
.book-toolbar{position:absolute;z-index:50;top:14px;left:18px;right:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}
.book-back,.book-controls{pointer-events:auto;background:rgba(255,255,255,.94);border:1px solid rgba(13,47,110,.08);box-shadow:0 8px 24px rgba(8,29,58,.12);backdrop-filter:blur(12px)}
.book-back{height:44px;padding:0 15px 0 12px;display:flex;align-items:center;gap:7px;border-radius:12px;color:#102b5d;font-size:13px;font-weight:750;transition:transform .2s ease,background .2s ease}.book-back:hover{transform:translateY(-1px);background:#fff}.book-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.book-controls{display:flex;align-items:center;gap:3px;padding:4px;border-radius:13px}.book-controls button,.book-controls>a{width:36px;height:36px;padding:0;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#102b5d;cursor:pointer;transition:background .2s ease,transform .2s ease,opacity .2s ease}.book-controls button:hover,.book-controls>a:hover{background:#e8eff9;transform:translateY(-1px)}.book-controls button:disabled{opacity:.3;cursor:default;transform:none}.book-controls svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.page-control{height:36px;display:flex;align-items:center;gap:5px;padding:0 8px;border-radius:9px;background:#edf2f8;font-size:11px;color:#516177}.page-control input{width:36px;height:25px;padding:0 3px;border:0;border-radius:6px;background:#fff;color:#09265b;font:700 12px/1 inherit;text-align:center;outline:0}.page-control input::-webkit-inner-spin-button{display:none}.compact-page{display:none}
.book-stage{position:absolute;inset:0;display:grid;place-items:center;padding:14px 44px;overflow:hidden}.book-stage:before{content:"";position:absolute;left:12%;right:12%;bottom:2%;height:8%;border-radius:50%;background:rgba(10,30,58,.2);filter:blur(34px)}
#modelo-velez-book{position:relative;z-index:2;width:min(100%,calc(141.3vh - 42px))!important;opacity:0;filter:drop-shadow(0 22px 28px rgba(8,29,58,.28));transition:opacity .35s ease}.book-ready #modelo-velez-book{opacity:1}.book-app[data-orientation="portrait"] #modelo-velez-book{width:min(100%,calc(70.7vh - 24px))!important}.book-app[data-orientation="landscape"] .stf__wrapper:after{content:"";position:absolute;z-index:30;top:0;bottom:0;left:50%;width:18px;pointer-events:none;transform:translateX(-50%);background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(255,255,255,.08) 45%,rgba(0,0,0,.12));mix-blend-mode:multiply}
.book-page{background:#fff;overflow:hidden}.book-page img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;user-select:none;-webkit-user-drag:none}
.book-loader{position:absolute;inset:0;z-index:10;display:grid;place-content:center;justify-items:center;color:#173665;transition:opacity .3s ease,visibility .3s ease}.book-loader span{width:46px;height:46px;border:3px solid #b9c7d8;border-top-color:#174f9f;border-radius:50%;animation:book-spin .75s linear infinite}.book-loader p{margin:14px 0 0;font-size:13px;font-weight:700}.book-ready .book-loader{opacity:0;visibility:hidden}
.is-fullscreen{height:100%}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes book-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.book-toolbar{top:9px;left:9px;right:9px;gap:8px}.book-back{width:38px;height:38px;padding:0;justify-content:center;border-radius:10px}.book-back span{display:none}.book-controls{padding:3px}.book-controls button,.book-controls>a{width:32px;height:32px;border-radius:8px}.page-control{display:none}.compact-page{display:inline-flex;min-width:45px;align-items:center;justify-content:center;color:#102b5d;font-size:11px}.book-stage{padding:9px 7px}}
@media(max-width:390px){.book-controls button,.book-controls>a{width:29px;height:29px}.book-controls svg{width:16px;height:16px}.compact-page{min-width:39px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.book-back{text-decoration:none}
[data-book-sound][aria-pressed="false"] .sound-slash,[data-book-sound][aria-pressed="true"] .sound-wave{display:none}
