:root{--bg:#f6f1e7;--ink:#654d40;--muted:#786c60;--green:#37665f;--line:#e2d9ca;--cream:#e1ece4}html{scroll-behavior:smooth}body{font-family:ui-rounded,'Avenir Next',Avenir,'Trebuchet MS',sans-serif;padding-left:236px}h1,h2,h3,.brand,.card h3,.stats strong,footer{font-family:ui-rounded,'Avenir Next','Trebuchet MS',sans-serif;font-weight:400}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fbf7ef;border-right:1px solid var(--line);padding:20px 16px;display:flex;flex-direction:column;z-index:2;overflow-y:auto}.identity{display:block;text-align:center}.identity img{width:190px;height:190px;object-fit:contain;mix-blend-mode:multiply}.sidebar nav{display:grid;gap:8px;margin-top:18px}.sidebar nav button,.sidebar nav a{text-align:left;padding:13px 14px;text-decoration:none;border-radius:13px;line-height:1.4}.navActive{background:var(--cream);color:var(--green)}.languageLabel{margin-top:auto;padding-top:30px;font-size:11px;font-weight:400}.languageLabel select{background:#fbf7ef}.localNote{font-size:11px;line-height:1.6;color:var(--muted)}header{margin:0 32px;max-width:none;height:72px}.brand{font-size:26px;color:var(--ink);letter-spacing:1px}.tagline{letter-spacing:.4px;font-size:12px}main{max-width:1280px;padding:0 32px}.intro{min-height:310px;gap:20px}h1{font-size:clamp(32px,3.2vw,52px);letter-spacing:-1.4px;line-height:1.2;white-space:pre-line}.heroLogo{object-fit:contain;max-width:34%;mix-blend-mode:multiply}.lead{font-size:16px}.stats{background:#e1ece4;border:0;padding:24px;margin-bottom:32px}.stats strong{color:var(--ink)}.stats span{color:#655b50}.stats .statNote{font-family:inherit;color:var(--green)}.shelf{background:#fdf9f1;border-radius:20px;padding:25px;scroll-margin-top:20px}.toolbar{gap:8px}.toolbar select{max-width:190px}.searchBox{margin:0}.viewToggle button{font-size:22px;min-width:40px}.viewToggle .active{background:#a9cec1}.primary{border-radius:12px}.primary:hover{background:#294f49}.grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.card{background:#fdfaf3}.coverArea{background:#e2eade}.spineRow{display:flex;gap:7px;align-items:flex-end;min-height:230px;padding:20px 10px 0;border-bottom:10px solid #c6a77e;box-shadow:0 5px 4px -5px #60473570;margin-bottom:27px}.spine{width:var(--w);height:var(--h);flex-shrink:0;background:var(--spine);color:var(--spine-ink);border-radius:4px 5px 1px 1px;padding:14px 7px;position:relative;box-shadow:inset 3px 0 3px #fff2,inset -4px 0 5px #0002,2px 2px 4px #0002;overflow:hidden}.spine:before,.spine:after{content:'';position:absolute;left:5px;right:5px;border-top:1px solid currentColor;opacity:.45;top:9px}.spine:after{top:auto;bottom:9px}.spineLabel{writing-mode:vertical-rl;display:flex;align-items:center;gap:8px;height:100%;font-size:12px;line-height:1.15;overflow:hidden}.spineLabel b{font-weight:500;max-height:75%;overflow:hidden;text-overflow:ellipsis}.spineLabel small{font-size:9px;opacity:.85}.spine:hover{transform:translateY(-5px)}button:focus-visible,a:focus-visible{outline:3px solid #37665f;outline-offset:4px}dialog{background:#f6f1e7}.bottomTools{align-items:flex-start;gap:12px}.bottomTools>div{display:flex;flex-wrap:wrap;justify-content:flex-end}footer{gap:18px;font-size:18px}.chips:empty{display:none}.hint{color:#71675b}.empty{background:#edf2e9}.localNotice{font-size:12px;line-height:1.7;background:#e1ece4;padding:15px;border-radius:12px}input[type=color]{height:44px;width:100%}button,a{touch-action:manipulation}@media(max-width:1050px){body{padding-left:196px}.sidebar{width:196px}.identity img{width:160px;height:160px}main{padding:0 20px;margin:0}header{margin:0 20px}.stats>div{padding-left:12px}.stats .statNote{display:none}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){body{padding-left:0}.sidebar{position:static;width:100%;border-right:0;border-bottom:1px solid var(--line);padding:12px 18px;display:grid;grid-template-columns:1fr 140px;align-items:center}.identity{text-align:left}.identity img{height:105px;width:120px}.sidebar nav,.localNote{display:none}.languageLabel{margin:0;padding:0}.languageLabel select{padding:7px}header{height:55px}header .brand{display:none}.tagline{display:block;flex:1}.intro{min-height:225px}.heroLogo{display:none}main{padding:0 16px}.lead{font-size:14px}.shelf{padding:16px}.sectionHead{gap:8px}.sectionHead h2{font-size:22px}.stats{padding:18px 8px}.stats>div{padding-left:6px}.stats span{font-size:10px}.toolbar select{max-width:45%}.searchBox{flex-basis:100%}h1{font-size:34px}.bottomTools{flex-direction:column}.spineRow{gap:5px;padding-left:4px;padding-right:4px}.sectionHead .primary{white-space:nowrap;font-size:11px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}footer{flex-direction:column}#helpBtn{margin-left:0}}

.communityNav{display:flex;gap:7px;flex-wrap:wrap;margin:15px 32px}.communityNav .active{background:#a9cec1}.communityNav button{font-size:13px;border-radius:12px}#communityArea h1{font-size:34px;margin:24px 0}.tropePanel{background:#e1ece4;padding:17px;border-radius:15px;margin:18px 0}.tropePanel .chips{max-height:260px;overflow:auto;margin-top:13px}.tropePanel input[type=text],.tropePanel select{margin:12px 0}.tropePanel input[type=checkbox],#communityArea input[type=checkbox],#publicBookDialog input[type=checkbox],#accountDialog input[type=checkbox]{width:auto;accent-color:#37665f}summary{cursor:pointer;padding:13px 0;color:#37665f}.tropeEntry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #e2d9ca}.tropeEntry h3{font-size:21px;margin:5px 0}.tropeEntry .eyebrow{margin-bottom:6px}.tropeEntry p{line-height:1.6}.tropeEntry button{border:1px solid #a9cec1;flex-shrink:0}.pager{display:flex;gap:16px;align-items:center;justify-content:center;padding:25px}.pager button{border:1px solid #a9cec1}.pager button:disabled{opacity:.35;cursor:default}.anonymousReview{padding:15px 0;border-bottom:1px solid #e2d9ca}.anonymousReview p{white-space:pre-wrap;overflow-wrap:anywhere}.communityCard h3{overflow-wrap:anywhere}#publicBookDialog .chips,#communityArea details>.chips{max-height:280px;overflow:auto}#publicBookDialog .close,#accountDialog>.close,#suggestDialog>.close{float:right}#publicBookDialog section{margin-top:20px}#publicBookDialog p{line-height:1.7}#accountContent button{margin:7px 0}#communityStatus{font-size:12px}#publicReview{margin-bottom:14px}.communityCard .coverArea{height:200px}.communityCard .coverArea img{height:170px}#accountMessage,#publicBookMessage,#suggestMessage{white-space:pre-wrap;color:#76533f}@media(max-width:720px){.communityNav{margin:10px 16px;gap:4px}.communityNav button{font-size:11px;padding:9px}.tropeEntry{display:block}.tropeEntry button{margin-top:9px}#communityArea h1{font-size:28px}.communityCard .coverArea{height:180px}.communityCard .coverArea img{height:155px}.communityNav~main{padding-top:0}}

#tropes{max-height:300px;overflow:auto;margin-top:12px}#localTropeQuery{margin-bottom:8px}

/* Transparent brand artwork: no rectangular backdrop or blending. */
.identity,.identity img{background:transparent;box-shadow:none;border:0}.identity img{mix-blend-mode:normal}.intro{min-height:260px}.heroLogo{display:none}.readingNook{display:flex;justify-content:flex-end;align-items:flex-end;min-height:140px;padding:12px 12px 0;pointer-events:none}.readingNook img{width:250px;height:auto;max-width:40%;object-fit:contain;background:transparent}main>footer{margin-top:12px}@media(max-width:720px){.intro{min-height:220px}.readingNook{min-height:110px;padding-right:0}.readingNook img{width:190px;max-width:65%}}

/* The reading fairy rests on a full-width strip at the bottom of every view. */
body{--sidebar-space:236px;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body>header,body>nav{flex-shrink:0}
body>main{flex:1 0 auto;width:100%}
.gardenFooter{position:relative;z-index:3;flex-shrink:0;margin:180px 0 0 calc(0px - var(--sidebar-space));width:calc(100% + var(--sidebar-space));min-height:76px;padding:25px 32px 25px calc(var(--sidebar-space) + 32px);background:#a9cec1;color:#37665f}

.gardenFooter footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0;padding:0;border:0;color:inherit;font-size:18px}
.gardenFooter footer span{font-size:12px;color:inherit}
.gardenFooter .readingNook{position:absolute;right:clamp(18px,4vw,64px);bottom:100%;display:block;width:clamp(220px,28vw,340px);min-height:0;padding:0;margin:0;pointer-events:none}
.gardenFooter .readingNook img{display:block;width:100%;max-width:none;height:auto;margin:0;transform:translateY(9%)}
@media(max-width:1050px){body{--sidebar-space:196px}}
@media(max-width:720px){body{--sidebar-space:0px}.gardenFooter{margin-top:150px;padding:22px 20px;min-height:74px}.gardenFooter .readingNook{width:240px;right:12px}.gardenFooter footer{gap:8px;font-size:17px}.gardenFooter footer span{font-size:11px}}
@media print{.gardenFooter{display:none}}

/* Uneven meadow tufts and a few books left beside the reading fairy. */
.gardenFooter::before{content:"";position:absolute;left:0;right:0;bottom:100%;pointer-events:none;height:64px;background:url("meadow-grass.svg") repeat-x left bottom;background-size:1200px 64px}
.meadowBook{position:absolute;bottom:calc(100% - 3px);display:block;background-repeat:no-repeat;background-size:contain;background-position:center bottom;pointer-events:none}
.meadowBook-open{left:23%;width:81px;height:50px;background-image:url("meadow-book-open.svg");transform:rotate(-4deg)}
.meadowBook-closed{left:35%;width:62px;height:39px;background-image:url("meadow-book-closed.svg");transform:rotate(7deg)}
.meadowBook-stack{left:55%;width:78px;height:47px;background-image:url("meadow-book-stack.svg");transform:rotate(-3deg)}
@media(max-width:720px){.gardenFooter::before{background-size:850px 45px;height:45px}.meadowBook-open{left:5%;width:64px;height:40px}.meadowBook-closed{left:27%;width:48px;height:31px}.meadowBook-stack{display:none}}
@media(max-width:420px){.meadowBook-closed{display:none}}

/* Crisp edition covers and the personal edition chooser. */
.card .coverArea{height:290px;padding:18px;display:flex;align-items:center;justify-content:center;position:relative;background:#e6ede5}
.card .coverArea img{height:100%;max-height:100%;max-width:100%;width:auto;object-fit:contain;border-radius:3px;box-shadow:0 7px 16px #44332724}
.card .editionQuickPick{font-size:12px;color:#37665f;border:1px solid #b6cfc1;border-radius:9px;margin-top:6px}
.editionHero{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:12px 0 24px}.editionHero img{width:150px;height:225px;object-fit:contain;filter:drop-shadow(0 7px 8px #44332725)}
#editionDialog{width:min(980px,94vw);max-width:94vw;max-height:90vh;overflow:auto;background:#f6f1e7;border:1px solid #d9cfbd;border-radius:22px;padding:28px;color:#654d40}
#editionDialog>.close{float:right}.editionToolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:18px 0}.editionToolbar label{flex:1}.editionGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:18px;margin:20px 0}.editionChoice{display:flex;flex-direction:column;align-items:start;gap:9px;background:#fffaf1;border:1px solid #ded8ca;border-radius:14px;padding:14px;overflow-wrap:anywhere}.editionChoice.selected{border:2px solid #37665f;padding:13px;background:#edf3eb}.editionChoice img{width:100%;height:210px;object-fit:contain}.editionChoice strong{font-weight:500;font-size:15px}.editionChoice small{font-size:11px;line-height:1.5}.editionChoice a{font-size:11px;color:#37665f}.editionChoice button{margin-top:auto;width:100%;font-size:12px}.coverUnavailable{visibility:hidden}#editionMessage{color:#37665f;line-height:1.7}#editionWorkList{display:grid;gap:7px;max-height:260px;overflow:auto}#editionWorkList button{text-align:left}#editionSearchForm{display:flex;gap:12px;align-items:end;flex-wrap:wrap}#editionSearchForm label{flex:1}#localEditionPick{align-self:center}
@media(max-width:600px){.card .coverArea{height:230px;padding:12px}.editionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editionChoice{padding:10px}.editionChoice img{height:165px}#editionDialog{padding:18px}.editionHero img{width:110px;height:165px}}

.agePending main>.intro,.agePending main>.stats,.agePending main>.shelf{display:none!important}.faeliraWelcome p{max-width:850px}.faeliraWelcome button{margin:4px 8px 4px 0}@media(max-width:720px){.faeliraWelcome{margin:16px!important;padding:20px!important}}

.lexiconMobileLink{display:none}@media(max-width:720px){header .lexiconMobileLink{display:inline-block;max-width:135px;line-height:1.4}header{gap:9px}header .tagline{display:none}}
