*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;font-family:Arial,Helvetica,sans-serif;background:#818181;color:#fff}header{height:58px;background:#666;display:flex;align-items:center;padding:0 22px;box-shadow:0 4px 10px #555;position:relative;z-index:5}.brand{font-size:31px;letter-spacing:-2px}.brand b{background:#fff;color:#5c5c5c;padding:0 3px;font-weight:700}.brand span{color:#fff}.title{margin-left:auto;font-size:14px;font-weight:400}.title::first-letter{text-transform:uppercase}#stage{position:absolute;top:58px;bottom:78px;left:0;right:0;display:flex;align-items:center;justify-content:center;background:#818181}#book{display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 5px 10px #555);transform-origin:center;transition:transform .18s}#book img{height:auto;max-height:calc(100vh - 145px);max-width:30vw;display:block;background:white}.edge{position:fixed;top:48%;transform:translateY(-50%);background:transparent;border:0;color:#fff;font-size:54px;cursor:pointer;z-index:4}.edge.left{left:24px}.edge.right{right:24px}#toolbar{height:78px;position:fixed;bottom:0;left:0;right:0;background:#19aaa9;display:flex;align-items:center;justify-content:center;z-index:6;clip-path:polygon(5.5% 0,94.5% 0,91% 100%,9% 100%)}.buttons{display:flex;gap:10px;align-items:center}.buttons button,.buttons a{width:44px;height:44px;border-radius:50%;border:0;background:#eef3f4;color:#079b9b;font-size:20px;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;box-shadow:0 1px 2px #0a7777}.buttons button:hover,.buttons a:hover{background:#fff;transform:translateY(-1px)}#pageTag{position:fixed;bottom:68px;left:50%;transform:translateX(-50%);background:#19aaa9;color:#174f50;border-radius:15px;padding:4px 14px;font-size:12px;z-index:7}#thumbPanel{position:fixed;left:-320px;top:58px;bottom:78px;width:320px;background:#666;z-index:9;transition:left .2s;box-shadow:4px 0 12px #444;overflow:hidden}#thumbPanel.open{left:0}.panelHead{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#555}.panelHead button{background:none;border:0;color:white;font-size:25px}#thumbs{height:calc(100% - 45px);overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px}.thumb{width:100%;border:2px solid transparent;cursor:pointer}.thumb.active{border-color:#19aaa9}#helpBox{display:none;position:fixed;right:18px;bottom:90px;background:#fff;color:#555;width:260px;padding:18px;border-radius:5px;z-index:10;box-shadow:0 3px 15px #444;font-size:13px}#helpBox.open{display:block}@media(max-width:800px){header{height:48px}.brand{font-size:24px}.title{font-size:10px}#stage{top:48px;bottom:67px}#book img{max-width:88vw;max-height:calc(100vh - 130px)}#right{display:none!important}#toolbar{height:67px;clip-path:none}.buttons{gap:5px}.buttons button,.buttons a{width:36px;height:36px;font-size:16px}.edge{font-size:40px}.edge.left{left:4px}.edge.right{right:4px}#pageTag{bottom:58px}}