:root{color-scheme:light;--ink:#382849}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:#fff6f5;color:var(--ink);font:18px/1.8 Arial,sans-serif}header{display:flex;gap:1.3rem;align-items:center;flex-wrap:wrap;padding:1rem max(1rem,calc((100vw - 1150px)/2));background:linear-gradient(110deg,#f6ddec,#e7e1ff,#e1f2e9);border-bottom:1px solid #ead4e5}a{color:#70438a}header a{text-decoration:none}.brand{font-size:1.35rem;font-weight:bold}main{max-width:1150px;margin:auto;padding:1.2rem}.intro{text-align:center;padding:1rem}.intro h1{font-size:2.5rem;margin:.3rem}h2{color:#70438a}h3{line-height:1.5}.search{background:white;border-radius:20px;padding:1rem 1.3rem;border:1px solid #ecd8e8;margin:0 auto 1.5rem}.search label{display:block;font-weight:bold;margin-bottom:.4rem}input{width:100%;font:inherit;padding:.7rem 1rem;border:1px solid #cfaedb;border-radius:12px;background:#fffafd}#search-status{font-size:.9rem;margin:.5rem 0}#catalog-results{max-height:65vh;overflow:auto}.result{display:block;text-decoration:none;border-top:1px solid #eedfee;padding:.9rem;color:var(--ink)}.result:hover{background:#faf0ff}.result small{display:block;color:#896a8e}.result p{margin:.4rem 0}.topic-grid,.picture-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.topic-tile,.picture-index-card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:white;border:1px solid #eddbea;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px #5c37650b}.topic-tile img,.picture-index-card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.topic-tile strong,.topic-tile span,.picture-index-card span{padding:.6rem 1rem}.topic-tile span{font-size:.9rem;padding-top:0}details{background:white;border:1px solid #ecdbea;border-radius:14px;padding:.8rem 1.1rem;margin:.7rem 0}summary{cursor:pointer;font-weight:bold}li{margin:.5rem 0}.story-card{padding:1.5rem;background:white;border-radius:20px;border:1px solid #ecdbea}.story-kicker{font-size:.9rem;color:#886793}.story-header{display:flex;align-items:baseline;gap:1rem}.story-title{font-size:1.7rem;margin:.5rem 0}.story-num,.story-meta{font-size:.85rem;color:#947997}.story-body{max-width:76ch;margin:auto;line-height:2.1}.story-body p{margin:.9rem 0}.children-illustration{max-width:720px;margin:1.6rem auto}.children-illustration img{width:100%;height:auto;aspect-ratio:3/2;border-radius:16px}.children-illustration figcaption{font-size:.85rem;text-align:center;color:#886793}.footnote-ref{font-size:.65em;vertical-align:super;text-decoration:none;padding:0 .1em}.reading-nav{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:1rem 0}p[id],figure[id]{scroll-margin-top:20px}.reading-target{outline:2px solid #e5c4ed;outline-offset:8px;border-radius:6px}mark{background:#ffe28b;color:inherit;border-radius:3px}.endnote-number{font-weight:bold}dialog{max-width:min(620px,94vw);max-height:80vh;border:1px solid #cda8dd;border-radius:18px;padding:1.3rem;color:var(--ink);line-height:1.9}dialog::backdrop{background:#30213f66}button{font:inherit;cursor:pointer;border:1px solid #dcc3e6;background:#fff4fe;border-radius:10px;padding:.4rem .8rem}#note-preview{position:fixed;z-index:100;max-width:min(430px,calc(100vw - 20px));max-height:40vh;overflow:auto;padding:1rem;background:#fffafd;border:1px solid #d8b8e4;border-radius:14px;box-shadow:0 8px 25px #38284925;font-size:.95rem}footer{text-align:center;padding:2rem;font-size:.85rem;color:#947997}a:focus-visible,button:focus-visible{outline:3px solid #a87cc2;outline-offset:3px}@media(max-width:700px){body{font-size:17px}main{padding:.7rem}.topic-grid,.picture-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.story-card{padding:1rem}.story-title{font-size:1.3rem}header{gap:.8rem;font-size:.85rem}.search{padding:1rem}.children-illustration{margin:1rem 0}}@media print{header,.search,.reading-nav,footer{display:none}.story-card{border:0}body{background:white}}
