*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 50% 5%,#20375e 0%,#0c1c36 35%,#071225 82%);color:#f7edd6;font-family:Georgia,'Times New Roman',serif;min-height:100vh}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #f4d483;outline-offset:3px}.masthead{display:flex;align-items:center;justify-content:space-between;padding:20px clamp(18px,4vw,55px);border-bottom:1px solid #b5954a35;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:clamp(13px,1.6vw,19px);font-weight:normal}.brand small{display:block;font:12px system-ui,sans-serif;color:#c2b58e;margin-top:4px;letter-spacing:.08em}.star{font-size:33px;color:#eac979}.ghost,.nav-button{color:#e5cf99;background:#142746;border:1px solid #cfa95970;border-radius:7px;padding:10px 15px;text-decoration:none;font:13px system-ui,sans-serif;white-space:nowrap}.ghost:hover,.nav-button:hover:not(:disabled){background:#234068}.nav-button:disabled{opacity:.3;cursor:default}main{max-width:1440px;margin:auto;padding:24px 20px 42px;text-align:center}.overline{font:11px system-ui,sans-serif;letter-spacing:.23em;color:#dcb96a;margin:10px 0 12px}h1{font-size:clamp(28px,4.2vw,50px);font-weight:normal;line-height:1.1;margin:0}.intro{font-size:clamp(13px,1.6vw,16px);color:#c8cbd3;line-height:1.5;max-width:640px;margin:12px auto 24px}.book-layout{display:flex;justify-content:center;align-items:start;gap:14px;position:relative}.reader{width:100%;max-width:950px;min-width:0}.book{position:relative;width:100%;max-width:890px;margin:auto;perspective:1700px;filter:drop-shadow(0 16px 26px #000a)}.spread{display:flex;align-items:stretch;justify-content:center;width:100%;aspect-ratio:4/3}.page-slot{position:relative;min-width:0;flex:1;overflow:hidden;background:#f8f2e3;border:1px solid #c4ae72}.page-slot:first-child{box-shadow:inset -10px 0 16px #3325061a;border-radius:4px 0 0 4px}.page-slot:last-child{box-shadow:inset 10px 0 16px #33250619;border-radius:0 4px 4px 0}.page-slot img{display:block;width:100%;height:100%;object-fit:contain}.page-slot.empty{visibility:hidden}.turn-leaf{pointer-events:none;position:absolute;top:0;left:50%;height:100%;width:50%;display:none;transform-origin:left center;transform-style:preserve-3d;z-index:4;box-shadow:7px 5px 17px #0004}.turn-leaf img{width:100%;height:100%;object-fit:contain;background:#fff6e9}.turn-leaf.turn-next{display:block;animation:flipNext .48s ease-in-out forwards}.turn-leaf.turn-prev{display:block;transform-origin:left center;animation:flipPrev .48s ease-in-out forwards}@keyframes flipNext{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes flipPrev{0%{transform:rotateY(-180deg)}100%{transform:rotateY(0)}}.reader-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0 8px}.page-label{font-size:16px;min-width:0}.page-label span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw}.page-label small{display:block;color:#b5a57d;font:12px system-ui,sans-serif;margin-top:4px}.progress{height:3px;background:#ffffff25;border-radius:10px;overflow:hidden}.progress div{height:100%;width:0;background:#dfb85e;transition:width .3s}.tools{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:18px}.hint{color:#9fa9bb;font:12px system-ui,sans-serif;line-height:1.6}.contents{width:280px;max-height:690px;overflow:auto;text-align:left;flex-shrink:0;display:none;background:#102344;border:1px solid #b99a5257;border-radius:10px;padding:17px;box-shadow:0 10px 25px #0004}.contents.open{display:block}.contents-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:#ead49b}.icon-button{background:none;border:0;color:#ead49b;font-size:20px}.toc-heading{font:11px system-ui,sans-serif;letter-spacing:.17em;color:#d4b063;margin:17px 0 6px;text-transform:uppercase}.toc-item{width:100%;display:block;color:#e5dfd2;text-align:left;font:13px/1.4 system-ui,sans-serif;padding:9px 6px;background:none;border:0;border-bottom:1px solid #ffffff14;border-radius:3px}.toc-item:hover,.toc-item.active{background:#ffffff18;color:#f4d18b}footer{text-align:center;padding:30px 15px 40px;border-top:1px solid #b5954a28;color:#c9b884;font-size:14px;line-height:1.8}footer div{font-style:italic;margin-top:8px}dialog{border:1px solid #cda85e;border-radius:8px;background:#101d30;color:#ead6a2;max-width:min(96vw,760px);max-height:96vh;box-shadow:0 15px 80px #000c;padding:10px}dialog::backdrop{background:#000d}.zoom-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:5px 4px 10px}#zoomImage{display:block;max-width:100%;max-height:85vh;margin:auto}#toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#ead3a1;color:#152743;padding:10px 20px;border-radius:7px;font:13px system-ui,sans-serif;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}@media(min-width:1100px){.book-layout:has(.contents.open) .reader{max-width:800px}}@media(max-width:700px){.masthead{padding:14px}.brand strong{font-size:13px}.brand small{font-size:10px}.masthead .ghost{padding:9px}.masthead .ghost span{display:none}main{padding:24px 12px}.overline{font-size:9px;letter-spacing:.1em}.intro{margin-bottom:18px}.spread{aspect-ratio:2/3;max-width:440px;margin:auto}.page-slot{flex:1}.page-slot:first-child{display:none}.page-slot:last-child{border-radius:4px}.page-label{font-size:13px}.page-label span{max-width:45vw}.nav-button{padding:10px 11px}.nav-button span{display:none}.contents{position:absolute;z-index:10;top:0;left:0;width:min(90vw,320px);max-height:65vh}.turn-leaf{left:0;width:100%;transform-origin:left center}.tools{gap:7px}.tools .ghost{font-size:12px;padding:9px 10px}footer{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}/* 21 EFFECTS adaptations */
body{background:radial-gradient(ellipse at 50% 5%,#1d2c52 0%,#101B35 40%,#0A1225 85%)}
.brand a{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}
.brand img{width:40px;height:40px}
.masthead-links{display:flex;gap:9px;align-items:center}
.text-edition{max-width:760px;margin:22px auto 0;padding:14px 18px;border:1px solid #cfa95970;border-radius:10px;background:#0f1d3a;font:14px/1.6 system-ui,sans-serif;color:#e5dfd2}
.text-edition a{color:#E5C78D}
