.sgph-modal[hidden]{display:none!important}.sgph-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;flex-direction:column!important;background:radial-gradient(ellipse at 50% 32%,#587280 0%,#213844 83%)!important;color:#fff!important;padding:14px clamp(10px,3vw,35px)!important;box-sizing:border-box!important;font-family:Inter,Arial,sans-serif!important}.sgph-modal *{box-sizing:border-box}.sgph-head{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:58px;max-width:1350px;width:100%;margin-inline:auto}.sgph-name{font-size:11px;font-weight:800;letter-spacing:.1em}.sgph-name span{display:block;color:#f2e8e1b8;font-weight:500;letter-spacing:.07em;margin-top:5px}.sgph-actions{display:flex;gap:10px;align-items:center}.sgph-actions a{color:#F2E8E1!important;text-decoration:none;border-bottom:1px solid #B74772;font-size:12px}.sgph-actions button,.sgph-foot button{font-family:inherit;cursor:pointer;background:transparent;color:#fff!important;border:1px solid #ffffff60;border-radius:50px;min-height:39px;padding:5px 16px;font-size:14px;box-shadow:none}.sgph-actions button{width:41px;height:41px;padding:0;font-size:25px}.sgph-actions button:hover,.sgph-foot button:hover{background:#B74772}.sgph-middle{flex:1;min-height:0;display:grid;place-items:center;width:100%;max-width:1360px;margin-inline:auto}.sgph-book-holder{height:min(73vh,780px);width:min(100%,1160px);display:grid;place-items:center;filter:drop-shadow(0 20px 25px #0007)}.sgph-book-holder grab-fold{display:block;width:100%;height:100%;--grabfold-paper:#F2E8E1;--grabfold-edge:#e7d8d0;--grabfold-board:#3B5869;--grabfold-backdrop:#213844}.sgph-page{height:100%;width:100%;background:#F2E8E1;overflow:hidden}.sgph-page img{width:100%;height:100%;object-fit:fill;display:block}.sgph-foot{display:flex;gap:20px;align-items:center;justify-content:center;padding:10px 0 5px}.sgph-foot #sgph-position{min-width:88px;text-align:center;font-size:12px}.sgph-notice{text-align:center;font-size:12px;min-height:22px;color:#F2E8E1}.sgph-loading{text-align:center;color:#F2E8E1}.sgph-locked{overflow:hidden!important}button.sg-book-open{cursor:pointer}@media(max-width:760px){.sgph-modal{padding:8px!important}.sgph-head{min-height:45px}.sgph-name{display:none}.sgph-actions{margin-left:auto}.sgph-book-holder{height:69svh}.sgph-foot{gap:8px}.sgph-foot button{padding:4px 12px}.sgph-actions a{font-size:11px}}
