:root{--accent:#ef4038;--ink:#25272b;--muted:#74777f;--bg:#f3f2ef;--white:#fff;--line:#e7e5e1;--soft:#f9f8f5;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a{transition:color .18s,background .18s}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.bar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 1%;gap:14px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brandmark{width:45px;height:45px;border-radius:13px;background:var(--accent);color:white;display:grid;place-items:center;font-weight:900;font-size:25px;overflow:hidden}.brandmark img{width:100%;height:100%;object-fit:contain}.brand strong{font-size:17px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{font-size:9px;color:var(--muted);letter-spacing:1.35px}.bar-right{display:flex;gap:24px;align-items:center;font-size:13px}.subtle-link{color:#878787}.layout{display:flex;min-height:calc(100dvh - 77px)}.side{width:290px;flex:none;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:calc(100dvh - 77px);max-height:calc(100dvh - 77px);position:sticky;top:0}.side-head{font-size:11px;font-weight:900;letter-spacing:1.6px;padding:23px 22px 17px;color:var(--muted);display:flex;justify-content:space-between}.close-mobile{display:none}.library{padding:0 13px 18px}.lib-item{padding:12px;border-radius:9px;width:100%;display:flex;gap:11px;text-align:left;border:0;background:none;align-items:center}.lib-item:hover,.lib-item.active{background:#f2f0eb}.lib-item img{height:64px;width:45px;object-fit:cover;border-radius:3px}.lib-item b{display:block;font-size:13px}.lib-item small{display:block;color:var(--muted);margin-top:5px}.side-foot{margin-top:auto;padding:22px;border-top:1px solid var(--line);font-size:9px;letter-spacing:1px;color:#aaa}.tabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 12px}.tabs button{border:0;background:none;padding:14px 11px;font-size:12px;flex:1}.tabs .selected{box-shadow:inset 0 -3px var(--accent);font-weight:700}#chapters,#search,#thumbs{padding:15px;overflow:auto;max-height:55vh}.chapter{width:100%;padding:10px 8px;text-align:left;border:0;border-bottom:1px solid #f0efed;background:none;font-size:12px;display:flex;gap:9px}.chapter b{color:var(--accent);min-width:23px}.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.thumbnail{background:none;border:0;padding:0;font-size:10px;color:var(--muted)}.thumbnail img{width:100%;box-shadow:0 2px 7px #0002}.thumbnail span{display:block}#searchInput{width:100%;padding:11px;border:1px solid var(--line);border-radius:6px}.search-hit{width:100%;text-align:left;background:#fff;padding:12px 5px;border:0;border-bottom:1px solid var(--line);font-size:11px}.search-hit strong{display:block;color:var(--accent);margin-bottom:5px}.content{width:calc(100% - 290px);min-width:0;padding:22px clamp(12px,3vw,46px) 34px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:1.3px;margin-bottom:18px}.btn{border:1px solid var(--line);background:#fff;padding:9px 14px;border-radius:7px;color:var(--ink);font-size:12px}.btn:hover{border-color:var(--accent);color:var(--accent)}.btn.ghost{background:transparent}.hero{background:#fff;border-radius:18px;padding:clamp(25px,6vw,75px);min-height:310px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line);position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:270px;height:270px;background:var(--accent);opacity:.12;border-radius:50%;right:-70px;top:-100px}.kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--accent)}h1{font-size:clamp(29px,4.4vw,62px);letter-spacing:-2px;line-height:1.06;margin:24px 0 15px}h1 em{font-style:normal;color:var(--accent)}.hero p{color:var(--muted);max-width:500px;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:20px;margin-top:20px}.cards .cover{width:100%;aspect-ratio:4/5;object-fit:contain;background:#e9e6e1;border-radius:9px;padding:9px}.cardpub{text-align:left;background:white;padding:13px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.cardpub h3{font-size:15px;margin:12px 0 5px}.cardpub p{font-size:12px;color:var(--muted);margin:0 0 10px}.cardpub small{font-size:11px;color:var(--accent);font-weight:700}.read-top{display:flex;justify-content:space-between;align-items:center;background:white;padding:14px 19px;border:1px solid var(--line);border-radius:10px 10px 0 0;font-size:12px;font-weight:800;gap:10px}.read-space{background:#e5e2de;display:flex;align-items:center;justify-content:space-between;min-height:min(70vh,900px);height:calc(100dvh - 280px);gap:5px;overflow:hidden}.book{height:100%;min-width:0;flex:1;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 6px 10px #0002);perspective:1600px}.book.turn{animation:enter .28s ease-out}@keyframes enter{from{opacity:.66;transform:rotateY(3deg) scale(.993)}to{opacity:1;transform:none}}.page{height:100%;max-width:100%;position:relative;background:white;overflow:hidden}.page img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.page a.hotspot{position:absolute;z-index:5}.page .edge{position:absolute;width:8%;height:100%;top:0;z-index:3;cursor:pointer}.page .edge.left{left:0}.page .edge.right{right:0}.arrow{font-size:34px;border:0;background:#fff9;color:#333;width:37px;min-width:28px;border-radius:7px;margin:0 6px;height:64px;z-index:2}.arrow:disabled{opacity:.25}.bottom{display:flex;gap:15px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:0 0 10px 10px;padding:12px 17px;font-size:12px}.bottom input[type=range]{flex:1;accent-color:var(--accent)}.bottom form{display:flex;align-items:center;gap:4px}.bottom input[type=number]{width:58px;border:1px solid var(--line);padding:5px}.bottom form button{border:0;background:var(--accent);color:white;padding:6px 11px;border-radius:5px}.helpnote{font-size:11px;color:var(--muted);padding:15px;text-align:center}.overlay{position:fixed;inset:0;background:#151618ee;z-index:100;display:flex;flex-direction:column}.lightbar{height:56px;flex:none;display:flex;align-items:center;justify-content:space-between;color:white;padding:0 25px;font-size:13px}.lightbar button{border:1px solid #555;color:white;background:#333;border-radius:7px;padding:7px 12px}.lightcontent{height:calc(100vh - 56px);overflow:auto;text-align:center;padding:25px}.lightcontent img{max-width:none;width:auto;min-height:75vh;height:auto;box-shadow:0 10px 40px #0009;cursor:zoom-in}.lightcontent img.fit{max-width:100%;max-height:calc(100vh - 120px);min-height:0;cursor:zoom-in}@media(max-width:900px){.side{position:fixed;top:77px;bottom:0;z-index:20;transform:translateX(-110%);transition:transform .24s;box-shadow:5px 0 22px #0002}.side.open{transform:none}.close-mobile{display:block;border:0;background:none}.content{width:100%;padding:13px}.read-space{height:calc(100dvh - 250px);min-height:380px}}@media(max-width:600px){.bar{padding:0 12px}.bar-right{gap:10px}.brand small{display:none}.brand strong{font-size:13px}.read-space{height:calc(100dvh - 250px);min-height:320px}.arrow{width:23px;min-width:23px;font-size:27px;margin:0}.bottom{gap:6px;padding:8px}.bottom input[type=range]{min-width:30px}.bottom form label{font-size:0}.bottom form input{font-size:12px}.read-top{padding:9px}.content{padding:8px}.helpnote{font-size:10px}.hero{min-height:230px}.hero p{font-size:13px}}

.photospot{position:absolute;border:0;background:transparent;cursor:zoom-in;z-index:4;padding:0}.photospot:hover{outline:2px solid var(--accent);outline-offset:-2px;background:#ef403815}

.public-footer{display:flex;gap:18px;justify-content:center;padding:14px;font-size:12px;color:#777}.public-footer a{color:inherit;text-decoration:none}

#siteTitle,
.section-heading {
	display: none;
}

.brandmark {
    width: 140px;
    height: 45px;
    border-radius: 13px;
    background: transparent;
    color: white;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 25px;
    overflow: hidden;
}
