.library-page{min-height:100vh;background:#f2ecdf}.library-header{max-width:1320px;margin:auto;padding:28px 5%;display:flex;justify-content:space-between;align-items:center;gap:20px}.map-return,.library-return,.reader-footer a{font:25px/1.3 Caveat,cursive}.library-page main{max-width:1240px;margin:auto;padding:20px 5% 80px}.library-intro{padding:48px 0 80px;background:linear-gradient(90deg,#f2ecdf,#f2ecdfcc 42%,#f2ecdf22),url(/assets/prairie-zkud23Nd.jpg) right 66% / cover;border-bottom:1px solid #a8a18d}.library-kicker{font:23px Caveat,cursive;color:#8d432f;margin-bottom:16px}.library-page h1{font:500 clamp(62px,7vw,104px)/1.06 Caveat,cursive;margin-bottom:18px}.library-intro>p:last-child{max-width:370px;font-size:24px}.library-tools{display:flex;align-items:center;gap:20px;padding:35px 0}.library-tools label{font:25px Caveat,cursive}.library-tools input{width:min(410px,50vw);border:0;border-bottom:1px solid #9b967f;background:transparent;padding:10px 4px;color:inherit;font:18px Caslon,Georgia,serif;border-radius:0}#story-count{margin:0 0 0 auto;font-size:17px;color:#5b624e;white-space:nowrap}#story-shelf{display:grid;grid-template-columns:1fr 1fr;gap:42px}.story-card{display:block;text-decoration:none;border-bottom:1px solid #bbb09a;padding-bottom:28px}.story-card img{display:block;width:100%;height:280px;object-fit:cover;object-position:center 35%;padding:10px;background:#faf6e9;box-shadow:0 3px 12px #54452e18}.story-card>div{padding:25px 8px 0}.story-kind{color:#6a6556;font-size:16px;margin-bottom:10px}.story-card h2{font-size:48px;line-height:1.1;margin-bottom:16px}.story-card p:not(.story-kind){font-size:22px;max-width:420px}.read-story{font:27px Caveat,cursive;text-decoration:underline;text-underline-offset:5px}.story-card:hover h2,.story-card:hover .read-story{color:#8d432f}.library-footer{text-align:center;padding:25px 25px 75px;font:24px Caveat,cursive;color:#5b624e}#reader{max-width:760px;margin:auto}.reader-heading{padding:48px 0 30px;border-bottom:1px solid #b8ad96;margin-bottom:45px}.reader-heading h1{font-size:clamp(58px,7vw,88px)}.reader-heading>p:last-child{color:#5b624e;max-width:560px;font-size:23px}#story-text{max-width:680px;margin:auto;font-size:23px;line-height:1.7}#story-text>p{margin-bottom:1.35em}#story-text>p:first-child:first-letter{float:left;font-size:3.1em;line-height:1;margin:7px 10px 0 0;color:#8d432f}.original-pages{border-top:1px solid #b8ad96;margin-top:50px;padding-top:22px}.original-pages summary{font:28px Caveat,cursive;cursor:pointer;min-height:44px}.original-pages>p{font-size:17px;margin-top:14px}#page-scans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}#page-scans img{width:100%;height:auto;display:block;margin-bottom:8px}#page-scans a{font-size:17px}.reader-footer{display:flex;justify-content:space-between;gap:25px;margin-top:50px;border-top:1px solid #b8ad96;padding-top:25px}@media(max-width:700px){.library-header{padding:22px 6%}.library-header .brand{font-size:27px}.map-return{font-size:22px}.library-header a,.library-return,.reader-footer a{min-height:44px;display:inline-flex;align-items:center}.library-page main{padding:0 6% 35px}.library-intro{padding:42px 0 55px}.library-intro>p:last-child{font-size:21px;max-width:280px}.library-tools{flex-wrap:wrap;gap:10px;padding:26px 0}.library-tools label{width:100%}.library-tools input{flex:1;width:65%;min-width:0;font-size:16px}#story-shelf{grid-template-columns:1fr;gap:35px}.story-card img{height:260px}.story-card h2{font-size:43px}.story-card p:not(.story-kind){font-size:21px}.reader-heading{padding:30px 0 18px;margin-bottom:30px}#story-text{font-size:21px;line-height:1.65}.reader-footer{flex-direction:column}#page-scans{gap:10px}}#story-text>p{white-space:pre-line}.poem-reader #story-text{max-width:620px}.poem-reader #story-text>p{margin-bottom:1.7em;white-space:normal}.poem-reader #story-text>p:first-child:first-letter{float:none;font:inherit;margin:0;color:inherit}.poem-line{display:block;padding-left:1em;text-indent:-1em}#story-gallery{margin-top:64px;border-top:1px solid #b8ad96;padding-top:32px}#gallery-title{font:48px/1.1 Caveat,cursive;margin-bottom:12px}.gallery-note{font-size:19px;color:#5b624e;margin-bottom:28px}#gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px 22px;align-items:start}#gallery-grid figure{margin:0}.gallery-photo{display:block;width:100%;padding:8px;background:#faf6e9;box-shadow:0 3px 12px #54452e18;cursor:zoom-in}.gallery-photo img{display:block;width:100%;height:auto}#gallery-grid figcaption{font:22px/1.3 Caveat,cursive;padding:12px 8px 0}.gallery-viewer{width:min(1050px,94vw);max-height:90dvh;padding:18px 24px}.gallery-toolbar,.gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:18px}.gallery-toolbar p{margin:0;font-size:17px;color:#5b624e}.gallery-viewer button{min-width:44px;min-height:44px;font:24px Caveat,cursive}.gallery-viewer button:disabled{opacity:.35;cursor:default}.gallery-full{display:block;width:100%;height:60dvh;object-fit:contain;margin:12px 0}.gallery-caption{font:23px/1.3 Caveat,cursive;text-align:center;margin:12px 0}@media(max-width:700px){.poem-reader #story-text{font-size:20px;line-height:1.6}#gallery-title{font-size:40px}#gallery-grid{grid-template-columns:1fr;gap:30px}.gallery-viewer{padding:12px 16px}.gallery-full{height:55dvh}.gallery-caption{font-size:21px}}@media(max-height:500px)and (pointer:coarse){.gallery-viewer{padding:8px 16px}.gallery-full{height:43dvh;margin:4px 0}.gallery-caption{margin:4px 0;font-size:18px}}
