html,body{height:100%;overflow:hidden}body{height:100dvh}main{height:100%;min-height:0}.cover,.fitting .cover{height:100%;min-height:0}
.fitting main{height:auto;min-height:0;flex:1 1 0%}.fitting .cover{min-height:0}.fitting #fitting{flex:none;max-height:44dvh;overflow:auto}
.reader{color:#39342f;background:#f5eedf;border:1px solid #c9b99d;padding:0;width:min(35rem,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 28px);box-shadow:0 12px 60px #240e2280}
.reader::backdrop{background:#301822b8}.letter-sheet{padding:clamp(16px,5vw,42px);display:flex;flex-direction:column;height:min(31rem,calc(100dvh - 32px));box-sizing:border-box}.letter-sheet header,.letter-sheet nav{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#775548;font-size:.86rem}.letter-sheet header{border-bottom:1px solid #a58b714d}.reader button{background:transparent;border:0;min-height:44px;padding:0 6px;color:inherit;cursor:pointer}.reader button:disabled{opacity:.35}.sheet-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;font:1rem/1.9 LetterSong,var(--serif)}.sheet-body h2{font-size:1.32rem;font-weight:400;margin:1.2em 0 .6em}.sheet-body p{margin:.7em 0}.sheet-body .signature{text-align:right}.letter-sheet nav{border-top:1px solid #a58b714d;margin-top:8px}.letter-sheet nav span{font:italic .85rem Georgia,serif}
