.cm-book-shell{max-width:980px;margin:28px auto 58px}
.cm-book-reader,.cm-book-stage{position:relative}.cm-book-stage{perspective:1600px;transform-style:preserve-3d;touch-action:pan-y}
.cm-book-page{display:none;position:relative;min-height:560px;padding:clamp(30px,5vw,60px);overflow:hidden;background:#fff;border:1px solid #d7e4f7;border-radius:24px;box-shadow:0 22px 60px rgba(20,72,150,.12)}
.cm-book-page.is-active,.cm-book-page.is-leaving{display:block}.cm-book-page.is-leaving{position:absolute;inset:0;width:100%;z-index:5;pointer-events:none}.cm-book-page.cm-turn-out-forward{transform-origin:left center;animation:cmPageTurnForwardOut .44s cubic-bezier(.4,0,.2,1) both}.cm-book-page.cm-turn-in-forward{transform-origin:right center;animation:cmPageTurnForwardIn .44s cubic-bezier(.4,0,.2,1) both}.cm-book-page.cm-turn-out-back{transform-origin:right center;animation:cmPageTurnBackOut .44s cubic-bezier(.4,0,.2,1) both}.cm-book-page.cm-turn-in-back{transform-origin:left center;animation:cmPageTurnBackIn .44s cubic-bezier(.4,0,.2,1) both}@keyframes cmPageTurnForwardOut{0%{opacity:1;transform:rotateY(0)}100%{opacity:.15;transform:rotateY(-14deg)}}@keyframes cmPageTurnForwardIn{0%{opacity:.25;transform:rotateY(10deg) translateX(1.5%)}100%{opacity:1;transform:rotateY(0) translateX(0)}}@keyframes cmPageTurnBackOut{0%{opacity:1;transform:rotateY(0)}100%{opacity:.15;transform:rotateY(14deg)}}@keyframes cmPageTurnBackIn{0%{opacity:.25;transform:rotateY(-10deg) translateX(-1.5%)}100%{opacity:1;transform:rotateY(0) translateX(0)}}
.cm-book-cover{display:none!important;min-height:700px!important;padding:clamp(34px,7vw,74px)!important;align-items:stretch;isolation:isolate;background:radial-gradient(680px 440px at 106% -4%,rgba(80,164,255,.38),transparent 64%),radial-gradient(540px 420px at -8% 105%,rgba(28,109,220,.36),transparent 64%),linear-gradient(145deg,#04152d 0%,#082b57 55%,#0d4f9d 100%)!important;color:#fff;border:1px solid rgba(139,197,255,.34)!important;box-shadow:0 34px 90px rgba(5,37,76,.28),inset 0 1px 0 rgba(255,255,255,.16)!important}
.cm-book-cover.is-active,.cm-book-cover.is-leaving{display:flex!important}
.cm-book-cover:before{content:"";position:absolute;inset:18px;border:1px solid rgba(190,221,255,.18);border-radius:18px;pointer-events:none}
.cm-book-cover:after{content:"";position:absolute;left:0;top:0;bottom:0;width:9px;background:linear-gradient(180deg,#6cb7ff,#1769df 50%,#08244a);box-shadow:8px 0 26px rgba(0,0,0,.18)}
.cm-cover-content{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:center;max-width:820px;width:100%;min-height:540px;padding-left:clamp(2px,2vw,18px)}
.cm-cover-series{display:inline-flex;width:max-content;margin-bottom:clamp(34px,6vw,62px);padding:8px 12px;border:1px solid rgba(185,219,255,.25);border-radius:999px;background:rgba(255,255,255,.07);font:850 .7rem/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#d9ecff}
.cm-book-meta{font:850 .78rem/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#1769e0;margin-bottom:20px}
.cm-book-cover .cm-book-meta{color:#8fc6ff;margin-bottom:14px}
.cm-book-page h1,.cm-book-page .cm-book-title{font:900 clamp(2.1rem,6vw,4.2rem)/1.02 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.045em;margin:0 0 20px;max-width:840px;color:#0a2b4a}
.cm-book-cover h1{max-width:860px;margin-bottom:24px;color:#fff!important;font-size:clamp(2.65rem,7vw,5.35rem);line-height:.94;letter-spacing:-.058em;text-wrap:balance;text-shadow:0 10px 38px rgba(0,0,0,.22)}
.cm-book-page h2{font:900 clamp(1.6rem,4vw,2.35rem)/1.08 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.03em;color:#123765;margin:0 0 24px;padding-bottom:16px;border-bottom:1px solid #dbe7f7}
.cm-book-page p{font:1.08rem/1.78 Georgia,"Times New Roman",serif;color:#24384f;margin:0 0 1.12em}
.cm-book-cover .cm-book-lead{max-width:690px;margin:0;font:600 clamp(1.05rem,2.6vw,1.28rem)/1.62 system-ui,-apple-system,"Segoe UI",sans-serif;color:#d9eaff}
.cm-cover-rule{width:88px;height:3px;margin:clamp(30px,5vw,46px) 0 18px;border-radius:999px;background:linear-gradient(90deg,#87c8ff,#2d86ed,transparent)}
.cm-cover-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:690px;color:#a9c9e8;font:750 .72rem/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;letter-spacing:.09em}
.cm-cover-footer strong{color:#fff;font-size:.9rem;letter-spacing:-.01em;text-transform:none}
.cm-cover-orbit{position:absolute;right:-95px;bottom:-95px;z-index:1;width:390px;height:390px;border-radius:50%;border:1px solid rgba(158,206,255,.13);pointer-events:none}
.cm-cover-orbit i{position:absolute;inset:18%;border:1px solid rgba(158,206,255,.11);border-radius:50%}.cm-cover-orbit i:nth-child(2){inset:36%}.cm-cover-orbit i:nth-child(3){inset:48%;background:rgba(103,180,255,.13);box-shadow:0 0 60px rgba(74,157,255,.22)}
.cm-book-page-number{position:absolute;right:30px;bottom:22px;font:800 .72rem/1 system-ui,-apple-system,"Segoe UI",sans-serif;color:#74859c}
.cm-book-cover .cm-book-page-number{right:34px;bottom:30px;color:#a9ceef;letter-spacing:.08em;text-transform:uppercase}
.cm-book-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0 0;position:relative;z-index:20}
.cm-book-controls button{position:relative;z-index:21;min-height:66px;padding:14px 22px;border:2px solid #1769e0;border-radius:18px;background:#1769e0;color:#fff;font:900 clamp(1.05rem,3.3vw,1.3rem)/1.1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 10px 26px rgba(23,105,224,.22);touch-action:manipulation;-webkit-tap-highlight-color:rgba(255,255,255,.24);pointer-events:auto!important}
.cm-book-controls button:first-child{text-align:left}.cm-book-controls button:last-child{text-align:right}
.cm-book-controls button:hover:not(:disabled){background:#0d58c7}.cm-book-controls button:active:not(:disabled){transform:translateY(1px)}
.cm-book-controls button:focus-visible{outline:4px solid #9bc7ff;outline-offset:4px}
.cm-book-controls button:disabled{background:#e6eef9;color:#74859c;border-color:#d3e0f2;box-shadow:none;cursor:not-allowed}
.cm-book-controls button[disabled]{pointer-events:none!important}
.cm-book-count{display:none!important}
.cm-book-back{display:inline-flex;margin-top:28px;color:#1769e0;font:850 .92rem system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:none}
.cm-book-visual{margin:28px 0;padding:18px;border:1px solid #d8e5f6;border-radius:20px;background:#f5f9ff}.cm-book-visual svg{display:block;width:100%;height:auto}.cm-book-visual figcaption{margin-top:10px;color:#687d98;font:700 .78rem/1.45 system-ui}
.cm-dark .cm-book-page{background:#0a2348;border-color:#284d78;box-shadow:0 22px 60px rgba(0,0,0,.28)}.cm-dark .cm-book-page h1{color:#f3f8ff}.cm-dark .cm-book-page h2{color:#f0faf4;border-color:#305681}.cm-dark .cm-book-page p{color:#e5eef8}.cm-dark .cm-book-controls button:disabled{background:#132d4e;color:#71859f;border-color:#274767}
@media(max-width:640px){.cm-book-shell{margin-top:12px}.cm-book-page{min-height:0;padding:28px 20px 48px;border-radius:20px}.cm-book-cover{min-height:calc(100svh - 170px)!important;padding:34px 25px 62px!important;border-radius:22px!important}.cm-book-cover:before{inset:12px;border-radius:15px}.cm-cover-content{min-height:calc(100svh - 270px);padding-left:0}.cm-cover-series{margin-bottom:38px}.cm-book-cover h1{font-size:clamp(2.65rem,12vw,4rem);line-height:.96}.cm-book-cover .cm-book-lead{font-size:.98rem;line-height:1.55}.cm-cover-footer{align-items:flex-start;flex-direction:column;gap:6px}.cm-cover-orbit{width:270px;height:270px;right:-105px;bottom:-70px}.cm-book-controls{gap:12px;margin-top:18px}.cm-book-controls button{min-height:64px;padding:12px 16px;font-size:1.08rem}.cm-book-page-number{right:20px;bottom:18px}}
@media(prefers-reduced-motion:reduce){.cm-book-controls button{scroll-behavior:auto}.cm-book-page.cm-turn-out-forward,.cm-book-page.cm-turn-in-forward,.cm-book-page.cm-turn-out-back,.cm-book-page.cm-turn-in-back{animation:none!important;transform:none!important}}
.cm-book-page.cm-turn-out-forward,.cm-book-page.cm-turn-in-forward,.cm-book-page.cm-turn-out-back,.cm-book-page.cm-turn-in-back{animation:none!important;transform:none!important}
