#sgph-modal[hidden]{display:none!important}#sgph-modal{position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;width:min(1116px,calc(100vw - 46px))!important;height:min(790px,calc(100dvh - 46px))!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;background:#F5EEE8!important;color:#153245!important;border:0!important;border-radius:24px!important;overflow:visible!important;box-shadow:0 34px 110px rgb(0 0 0 / .35)!important;isolation:isolate!important;font-family:Inter,Arial,sans-serif!important}#sgph-modal::before{content:"";position:fixed;inset:-100vh -100vw;z-index:-1;background:rgb(10 27 41 / .83);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);pointer-events:none}#sgph-modal *{box-sizing:border-box}#sgph-modal .sgph-head{display:flex;flex:0 0 94px;min-height:0;align-items:center;justify-content:space-between;gap:15px;padding:15px 36px;background:#F5EEE8;border-radius:24px 24px 0 0;border-bottom:1px solid #d5c9c0;width:100%;max-width:none;margin:0}#sgph-modal .sgph-name{display:flex;flex-direction:column;gap:5px;letter-spacing:0;color:#193848;font-size:30px;font-family:'DM Serif Display',Georgia,serif;font-weight:400;line-height:1.08}#sgph-modal .sgph-name small{font:600 11px/1.3 Inter,Arial,sans-serif;letter-spacing:.12em;color:#B74772}#sgph-modal .sgph-name small span{display:inline;color:#B74772;margin:0 8px;font:inherit;letter-spacing:0}#sgph-modal .sgph-name #sgph-title{display:block;color:#193848;font:inherit;letter-spacing:0;margin:0}#sgph-modal .sgph-actions{display:flex;gap:14px;align-items:center;flex-shrink:0}#sgph-modal .sgph-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 19px;border:1px solid #c7b3a7!important;border-radius:30px;color:#244355!important;background:#fff0;text-decoration:none!important;font:600 11px Inter,Arial,sans-serif;letter-spacing:.05em;white-space:nowrap}#sgph-modal .sgph-actions a:hover{border-color:#B74772!important;color:#B74772!important;background:#fff8}#sgph-modal .sgph-actions button{display:inline-grid;place-items:center;flex-shrink:0;border:0!important;background:transparent!important;color:#244355!important;cursor:pointer;width:41px;height:41px;padding:0;font:normal 26px Inter,Arial,sans-serif;min-height:0;box-shadow:none;border-radius:50%}#sgph-modal #sgph-close{background:#3B5869!important;color:#fff!important;font-size:27px;font-weight:300}#sgph-modal #sgph-close:hover{background:#B74772!important}#sgph-modal .sgph-middle{flex:1;min-height:0;width:100%;max-width:none;margin:0;background:linear-gradient(155deg,#dcd9d5,#d7d5d1);display:grid;place-items:center;padding:15px 60px;overflow:hidden}#sgph-modal .sgph-book-holder{position:relative;width:100%;max-width:900px;height:100%;max-height:none!important;display:grid;place-items:center;filter:drop-shadow(0 17px 19px rgb(0 0 0 / .35))}#sgph-modal .sgph-book-holder grab-fold{display:block;width:100%;height:100%;--grabfold-paper:#F2E8E1;--grabfold-edge:#e7d8d0;--grabfold-board:#3B5869;--grabfold-backdrop:transparent}#sgph-modal .sgph-page{height:100%;width:100%;background:#F2E8E1;overflow:hidden}#sgph-modal .sgph-page img{height:100%;width:100%;display:block;object-fit:fill}#sgph-modal .sgph-foot{flex:0 0 78px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 38px;margin:0;background:#F5EEE8;border-radius:0 0 24px 24px;border-top:1px solid #d5c9c0}#sgph-modal .sgph-foot button{font:600 12px Inter,Arial,sans-serif;letter-spacing:.06em;cursor:pointer;background:transparent!important;color:#3B5869!important;border:0!important;border-radius:0!important;padding:10px 0!important;min-height:0!important;box-shadow:none!important}#sgph-modal .sgph-foot button:hover{color:#B74772!important}#sgph-modal #sgph-position{margin-left:auto;margin-right:0;min-width:108px;text-align:right;color:#3B5869;font:600 12px Inter,Arial,sans-serif;letter-spacing:.06em}#sgph-modal .sgph-notice{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);max-width:90%;pointer-events:none;color:#B74772;text-align:center;font-size:10px}#sgph-modal .sgph-notice:empty{display:none}#sgph-modal .sgph-loading{color:#3B5869;text-align:center}html.sgph-locked,body.sgph-locked{overflow:hidden!important}button.sg-book-open{cursor:pointer}#sgph-modal button:focus-visible,#sgph-modal a:focus-visible{outline:2px solid #B74772!important;outline-offset:3px}@media(max-width:760px){#sgph-modal{width:calc(100vw - 16px)!important;height:min(780px,calc(100dvh - 22px))!important;border-radius:15px!important}#sgph-modal .sgph-head{flex-basis:78px;padding:10px 15px;border-radius:15px 15px 0 0}#sgph-modal .sgph-name{font-size:20px}#sgph-modal .sgph-name small{font-size:8px}#sgph-modal .sgph-actions{gap:6px}#sgph-modal .sgph-actions a{font-size:9px;padding:0 10px;min-height:35px}#sgph-modal .sgph-actions button{width:36px;height:36px}#sgph-modal #sgph-full{display:none}#sgph-modal .sgph-middle{padding:12px 8px}#sgph-modal .sgph-foot{flex-basis:65px;padding:8px 16px;border-radius:0 0 15px 15px}#sgph-modal .sgph-foot button{font-size:10px}#sgph-modal #sgph-position{font-size:10px;min-width:auto}}@media(max-width:410px){#sgph-modal .sgph-name{font-size:16px}#sgph-modal .sgph-actions a{font-size:0;min-width:36px;padding:0}#sgph-modal .sgph-actions a::before{content:"↓ PDF";font-size:10px}#sgph-modal .sgph-middle{padding:8px 2px}}@media(prefers-reduced-motion:reduce){#sgph-modal *,#sgph-modal *::before,#sgph-modal *::after{scroll-behavior:auto}}