.profile-shell{background:#eeeae1;padding:32px 16px 50px}.profile-reader{max-width:1180px;margin:auto;direction:ltr}.book-toolbar{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px}.book-toolbar button,.book-toolbar select,.book-toolbar a{border:1px solid #c5ad74;background:#fff;border-radius:8px;padding:10px 14px;font:inherit;color:#252525;cursor:pointer;text-decoration:none}.book-toolbar button:hover,.book-toolbar a:hover{background:#f7eed8}.book-toolbar button:disabled{opacity:.4;cursor:default}.book-toolbar button:focus-visible,.book-page:focus-visible{outline:3px solid #987028;outline-offset:4px}.book-stage{position:relative;perspective:2200px;display:flex;justify-content:center;max-width:1050px;margin:auto;touch-action:pan-y;min-height:240px}.book-spread{display:flex;justify-content:center;width:100%;filter:drop-shadow(0 15px 15px #332c222e)}.book-page{position:relative;display:block;flex:0 0 50%;border:0;padding:0;background:#fff;cursor:zoom-in;overflow:hidden;aspect-ratio:595.5/842.25}.book-page img{width:100%;height:100%;object-fit:contain;display:block}.book-spread:not(.is-cover) .book-page:first-child:after{content:"";position:absolute;right:0;top:0;bottom:0;width:20px;background:linear-gradient(90deg,transparent,#00000015);pointer-events:none}.book-spread.is-cover .book-page{box-shadow:4px 4px 0 #d7d1c4,7px 7px 0 #fff}.book-turn{position:absolute;top:0;width:50%;height:100%;pointer-events:none;z-index:2;backface-visibility:hidden;transform-style:preserve-3d;object-fit:contain;background:white}.book-turn.forward{right:0;transform-origin:left center}.book-turn.backward{left:0;transform-origin:right center}.book-caption{text-align:center;margin:22px 0 6px;color:#474137}.book-help{text-align:center;font-size:.85rem;color:#665d4b;margin:0}.profile-reader:fullscreen,.profile-reader.is-fullscreen{max-width:none;background:#eeeae1;padding:20px;overflow:auto}.profile-reader:fullscreen .book-stage,.profile-reader.is-fullscreen .book-stage{max-width:min(1050px,calc((100vh - 170px)*1.414))}.profile-reader.is-fullscreen{position:fixed;inset:0;z-index:9999}.book-zoom{border:0;padding:0;background:#252525;max-width:96vw;max-height:96vh;width:1000px;overflow:auto;border-radius:10px}.book-zoom::backdrop{background:#000c}.book-zoom img{display:block;width:100%;height:auto}.zoom-controls{position:sticky;top:0;display:flex;justify-content:center;gap:12px;padding:10px;background:#252525;z-index:1}.zoom-controls button{background:#fff;border:0;border-radius:5px;padding:10px 16px;font:inherit;cursor:pointer}.book-zoom.is-enlarged img{width:180%;max-width:none}.profile-reader .book-toolbar{direction:inherit}@media(max-width:700px){.profile-shell{padding:22px 10px 36px}.book-page{flex-basis:100%}.book-toolbar{gap:6px}.book-toolbar button,.book-toolbar select,.book-toolbar a{font-size:.8rem;padding:9px}.book-stage{max-width:500px}.book-spread.is-cover .book-page{box-shadow:none}.book-spread:not(.is-cover) .book-page:first-child:after{display:none}.book-turn{width:100%}.profile-reader:fullscreen .book-stage,.profile-reader.is-fullscreen .book-stage{max-width:min(500px,calc((100vh - 200px)*.707))}}@media(prefers-reduced-motion:reduce){.book-turn{display:none}}
/* Raised paper edges, a curved spine and a full two-sided paper turn. */
.profile-shell{background:radial-gradient(ellipse at 50% 20%,#faf8f2 0,#eae5da 75%);padding:36px 24px 50px}.book-toolbar{background:#ffffffb8;border:1px solid #d4c5a2;border-radius:18px;padding:10px;max-width:850px;margin:0 auto 34px;box-shadow:0 8px 25px #51412a09}.book-toolbar button,.book-toolbar select,.book-toolbar a{border:0;border-radius:10px;background:transparent;font-size:.88rem}.book-toolbar a{background:#b99448;color:#fff;font-weight:600}.book-toolbar button:hover{background:#eae2d0}.book-stage{isolation:isolate;perspective:1900px;overflow:visible;margin-bottom:32px;max-width:1000px;filter:drop-shadow(0 26px 18px #30251233)}.book-stage:before,.book-stage:after{content:"";position:absolute;top:3px;bottom:-7px;z-index:-1;width:50%;background:repeating-linear-gradient(to bottom,#f4f0e6 0px,#f4f0e6 1px,#c9beaa 1px,#eee6d7 2px);border:1px solid #bfb297;pointer-events:none}.book-stage:before{left:calc(-1 * var(--left-stack,4px));border-radius:5px 0 0 6px;transform:skewY(-.5deg)}.book-stage:after{right:calc(-1 * var(--right-stack,9px));border-radius:0 5px 6px 0;transform:skewY(.5deg)}.book-stage.is-cover:before{display:none}.book-stage.is-cover:after{width:50%;right:calc(25% - var(--right-stack,9px));bottom:-9px;transform:skewY(0)}.book-spread{filter:none;position:relative;background:linear-gradient(90deg,#342d21,#87754f 50%,#342d21);border-radius:3px}.book-spread.is-cover{background:transparent}.book-page{overflow:visible}.book-page img{position:relative;border-radius:1px;box-shadow:inset 0 0 2px #594a2c}.book-page:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#00000003 0%,transparent 80%,#00000008 94%,#00000035 100%)}.book-page:nth-child(2):before{background:linear-gradient(90deg,#00000032 0%,#00000008 6%,transparent 20%,#ffffff12 96%,#0000000b 100%)}.book-spread:not(.is-cover) .book-page:first-child:after{width:4px;background:#53463055;right:-2px;z-index:2}.book-spread.is-cover .book-page{box-shadow:none}.book-spread.is-cover .book-page:before{background:linear-gradient(90deg,#00000030,transparent 3%,#ffffff18 5%,transparent 10%,transparent 97%,#00000015)}.book-corner{position:absolute;bottom:0;width:56px;height:56px;padding:0;border:0;z-index:4;cursor:pointer;background:linear-gradient(135deg,transparent 49%,#e5ddcc 50%,#fffcf5 75%,#d8cba9);color:#7d642b;clip-path:polygon(100% 0,100% 100%,0 100%);filter:drop-shadow(-3px -3px 3px #0003);transition:width .25s,height .25s}.book-corner span{position:absolute;right:5px;bottom:4px;font-size:21px}.book-corner-next{right:0}.book-corner-prev{left:0;transform:scaleX(-1)}.book-corner-prev span{transform:scaleX(-1)}.book-stage.is-cover .book-corner-next{right:25%}.book-corner:hover,.book-corner:focus-visible{width:74px;height:74px;outline:none}.book-leaf{position:absolute;top:0;z-index:6;transform-style:preserve-3d;pointer-events:none}.book-strip{position:absolute;left:0;top:0;transform-origin:left center;transform-style:preserve-3d;will-change:transform}.book-face{position:absolute;inset:0;background-repeat:no-repeat;backface-visibility:hidden;background-color:#fffcf5}.book-face-back{transform:rotateY(180deg)}.book-stationary{position:absolute;top:0;height:100%;z-index:3;pointer-events:none;object-fit:fill}.book-moving-shadow{position:absolute;top:0;bottom:0;z-index:4;pointer-events:none;background:linear-gradient(90deg,transparent,#0009,transparent);filter:blur(14px)}.is-turning .book-corner{visibility:hidden}.book-progress{height:3px;max-width:180px;margin:0 auto 12px;border-radius:3px;background:#d8cfbc;overflow:hidden}.book-progress:after{content:"";display:block;height:100%;width:var(--progress,8%);background:#a7843b;transition:width .6s}.book-caption{font-size:.88rem;font-weight:600;letter-spacing:.03em}.book-help{font-size:.8rem}@media(max-width:700px){.profile-shell{padding:22px 20px 38px}.book-toolbar{padding:7px;margin-bottom:25px;border-radius:13px;gap:2px}.book-toolbar button,.book-toolbar select,.book-toolbar a{font-size:.73rem;padding:9px 10px}.book-stage{max-width:460px}.book-stage:before{display:none}.book-stage:after,.book-stage.is-cover:after{width:100%;right:calc(-1 * var(--right-stack,7px));bottom:-6px}.book-page:before,.book-spread:not(.is-cover) .book-page:first-child:after{display:none}.book-stage.is-cover .book-corner-next{right:0}.book-corner{width:44px;height:44px}.book-corner span{font-size:18px}.book-corner:hover{width:54px;height:54px}}@media(prefers-reduced-motion:reduce){.book-leaf,.book-stationary,.book-moving-shadow{display:none}.book-corner,.book-progress:after{transition:none}}
