@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#29251f;color:#493728;font-family:Georgia,serif}.book-shell{min-height:100svh;max-width:1550px;margin:auto;background:#f2e5ca url('art/parchment.png') center top / 100% auto repeat-y;box-shadow:0 0 65px #0007;display:flex;flex-direction:column}header{padding:18px clamp(18px,4vw,58px);border-bottom:1px solid #ae91614a}header a{color:#655036;font-size:.88rem;text-decoration:none}.cover{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:560px;padding:24px}.cover img{width:min(1100px,96%);max-height:76svh;object-fit:contain}.cover button,nav button{font:600 1rem Georgia,serif;background:#f8ecd2;border:1px solid #aa8957;border-radius:25px;color:#5c432b;padding:11px 24px;cursor:pointer}.page{flex:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:center;gap:clamp(14px,3vw,48px);padding:clamp(22px,4vw,58px);min-height:560px}.picture{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0}.picture img{width:100%;max-height:74svh;object-fit:contain;filter:drop-shadow(0 14px 12px #6e54351c)}.story{grid-column:1;grid-row:1;max-height:73svh;overflow:auto;min-width:0}.passage{font:clamp(1rem,1.2vw,1.15rem)/1.9 'Libre Baskerville',Georgia,serif}.passage p{margin:0 0 1em}.passage p:first-child:first-letter{font:600 2.6em 'Cormorant Garamond',Georgia,serif;line-height:.6;float:left;margin:.13em .1em 0 0;color:#936b32}.page.reversed .picture{grid-column:1}.page.reversed .story{grid-column:2}nav{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px clamp(20px,5vw,70px) 18px;border-top:1px solid #ae91614a}nav button:disabled{opacity:.3}#counter{font-size:.85rem;color:#806a4d}.progress{height:4px;background:#d6c5a7}.progress>div{height:100%;background:#a7864e}.ending{margin:28px auto 0;display:flex;align-items:center;justify-content:center;gap:16px;color:#77572d;font:italic 600 1.9rem 'Cormorant Garamond',Georgia,serif}.ending-rule{font:1rem Georgia,serif;color:#a6874f}@media(max-width:850px){.page,.page.reversed{display:flex;flex-direction:column;min-height:0;gap:8px;padding:14px 20px 26px}.picture{width:100%}.picture img{max-height:45svh}.story,.page.reversed .story{max-height:none;overflow:visible;width:100%}.passage{font-size:1.03rem;line-height:1.85;padding:10px 4px}nav{position:sticky;bottom:0;background:#f2e5cdef;backdrop-filter:blur(9px);padding:10px 14px}nav button{min-width:98px;padding:10px;font-size:.9rem}.cover{min-height:0;padding:24px 8px}.cover img{max-height:70svh}}