:root{--rift-gold:#d9b969;--rift-purple:#23152e}.reveal{opacity:1!important;transform:none!important}.rift-brand{background:none!important;border:0!important}.rift-brand img{width:32px;height:42px}.header-cta{text-decoration:none;white-space:nowrap}.desktop-nav{gap:19px}.desktop-nav>a{white-space:nowrap}body:not(.home-page) main{padding-top:104px}.collection-masthead{padding-top:65px;padding-bottom:45px}.collection-masthead h1{max-width:1000px;margin:15px auto;font-size:clamp(38px,5vw,66px);line-height:1.1}.collection-masthead>p:last-child{max-width:750px;margin:20px auto;color:#cabfd0;line-height:1.8}.collection-masthead{text-align:center}.breadcrumb{display:inline-block;margin-bottom:24px;color:#d4bd86}.text-page,.profile-page,.route-map,.quiz-wrap,.shop-end{padding-bottom:80px}.text-page{max-width:900px;line-height:1.85}.text-page h2{margin-top:40px;color:#e5d5ae}.text-page img{max-width:100%;height:auto;border-radius:12px}.profile-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}.profile-lead figure{margin:0}.profile-lead img{width:100%;height:580px;object-fit:cover;object-position:center 32%;border-radius:18px;border:1px solid #796141}.profile-lead figcaption{text-align:center;font-size:12px;color:#b5a6ba;margin-top:12px}.profile-intro{font-size:22px;line-height:1.7;color:#eee0cf}.profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-facts div{border-top:1px solid #59445f;padding-top:14px}.profile-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#d9b969}.profile-facts dd{margin:8px 0;line-height:1.6}.profile-lore{max-width:850px;margin:55px auto;line-height:1.9;font-size:18px}.related-block{margin:45px 0}.related-grid,.start-paths{display:flex;flex-wrap:wrap;gap:15px}.related-link{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 23px;background:#302039;border:1px solid #5c4464;border-radius:8px;color:#edddb8;text-decoration:none;flex:1;min-width:190px}.related-link:hover{background:#42304b;border-color:#d9b969}.rating-details{max-width:700px;margin:40px auto;background:#291b32;padding:24px;border:1px solid #5b4361;border-radius:10px}.rating-details summary{cursor:pointer;color:#dfc88d}.simple-rating{display:grid;grid-template-columns:120px 1fr 45px;gap:15px;margin:16px 0}.simple-rating meter{width:100%}.fine-print,.field-note{color:#c1b2c6;line-height:1.7;font-size:14px}.field-note{border-left:3px solid #d9b969;padding:18px 22px;background:#2e1e36}.profile-share-button,.quiz-back{padding:13px 20px;background:transparent;border:1px solid #b39868;border-radius:6px;color:#ead8aa;cursor:pointer}.share-status{min-height:24px}.atlas-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:30px}.atlas-toolbar input{background:#302039;border:1px solid #806886;border-radius:6px;color:white;padding:14px;width:min(100%,400px)}.atlas-filters{display:flex;flex-wrap:wrap;gap:10px}.atlas-filters button{padding:10px 17px;border:1px solid #705377;border-radius:30px;color:#ded0e4;background:transparent;cursor:pointer}.atlas-filters button[aria-pressed=true]{background:#d9b969;color:#24172d}.atlas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding-bottom:65px}.atlas-card{border:1px solid #5e4465;background:#2c1d34;border-radius:13px;overflow:hidden;text-decoration:none;color:#e9dfe9;display:block;transition:transform .2s,border-color .2s}.atlas-card:hover{transform:translateY(-5px);border-color:#d9b969}.atlas-card img,.atlas-card .atlas-art{width:100%;height:330px;object-fit:cover;object-position:center 30%;background-size:cover}.atlas-card>div:last-child{padding:24px;text-align:center}.atlas-card h2,.atlas-card h3{margin:8px 0;font-size:26px;color:#f0dfb9}.atlas-card p{line-height:1.7}.atlas-card .eyebrow{font-size:10px}.atlas-card[hidden],*[hidden]{display:none!important}.journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.journal-card{display:block;text-decoration:none;background:#2c1d34;border:1px solid #62496b;border-radius:12px;overflow:hidden;color:#dfd1e5}.journal-card img{width:100%;height:240px;object-fit:cover;object-position:center 30%}.journal-card>div{padding:25px}.journal-card h2,.journal-card h3{color:#edddb8;font-size:26px}.journal-card p{line-height:1.7}.journal-card time{color:#c7ae78;font-size:12px}.journal-section{padding:70px 0}.journal-section h2{text-align:center;font-size:40px}.journal-article{max-width:850px;font-size:18px;line-height:1.9;padding-bottom:70px}.journal-article>img{width:100%;max-height:530px;object-fit:cover;border-radius:14px;margin-bottom:30px}.welcome-strip{padding:35px 0;background:#2d1c36;border-top:1px solid #684b69;border-bottom:1px solid #684b69}.welcome-strip .shell{display:flex;gap:30px;align-items:center;justify-content:space-between}.welcome-strip p{line-height:1.6;margin:6px 0}.interactive-banner{background:linear-gradient(120deg,#392348,#1d1428);border:1px solid #71567a;border-radius:16px;padding:45px;margin-top:45px;margin-bottom:45px;text-align:center}.interactive-banner h2{font-size:39px}.interactive-banner p{max-width:650px;margin:20px auto;line-height:1.8}.route-stops{list-style:none;padding:0;display:grid;gap:30px;max-width:900px;margin:20px auto 40px;counter-reset:stops}.route-stops li{position:relative;border-left:2px solid #c6a15a;padding-left:30px;counter-increment:stops}.route-stops li:before{content:counter(stops);position:absolute;left:-17px;top:20px;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#d9b969;color:#24172d}.route-card{display:block;background:#2e1e37;border:1px solid #695271;padding:25px;border-radius:12px;color:#e4d4e8;text-decoration:none}.route-card h2{color:#edd9ac}.route-card p{line-height:1.8}.route-map>.field-note{max-width:900px;margin:25px auto}.quiz-wrap{max-width:850px}.quiz-card{background:linear-gradient(130deg,#34223f,#21172a);border:1px solid #806080;border-radius:18px;padding:45px;min-height:420px}#quiz-progress{color:#d9b969;text-transform:uppercase;letter-spacing:2px;font-size:12px}#quiz-question{font-size:32px;line-height:1.4}#quiz-answers{display:grid;gap:13px;margin:25px 0}#quiz-answers button{padding:18px 22px;background:#3b2944;color:#eee0e8;text-align:left;border:1px solid #7f6388;border-radius:8px;cursor:pointer;line-height:1.6;font:inherit}#quiz-answers button:hover,#quiz-answers button:focus{border-color:#e1bd72;background:#4a3454}.quiz-actions{display:flex;gap:20px;margin-top:30px}.shop-story{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding-top:45px;padding-bottom:65px;border-bottom:1px solid #58415f}.shop-story img{width:100%;max-height:550px;object-fit:contain;border-radius:15px;background:#eee9ef}.shop-story h2{font-size:40px}.shop-story p{line-height:1.8}.shop-story .related-link{margin:25px 0}.shop-end{text-align:center;padding-top:50px}.book-details{padding-top:40px}.media-downloads{display:flex;flex-wrap:wrap;gap:15px}.result-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.result-layout img{width:100%;max-height:550px;object-fit:cover;border-radius:14px}.result-layout p{line-height:1.8}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #e5c878;outline-offset:5px}section[id]{scroll-margin-top:110px}
@media(max-width:1100px){.desktop-nav{gap:11px;font-size:12px}.header-cta{padding:12px}.brand-type{max-width:145px}}
@media(max-width:900px){.desktop-nav,.header-cta{display:none}.menu-toggle{display:block}.mobile-nav.open{display:flex!important;flex-direction:column;max-height:75vh;overflow:auto}.profile-lead,.shop-story,.result-layout{grid-template-columns:1fr;gap:30px}.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-grid{grid-template-columns:1fr}.journal-card{display:grid;grid-template-columns:180px 1fr}.journal-card img{height:100%;min-height:240px}.welcome-strip .shell{flex-direction:column;text-align:center}.profile-lead img{height:500px}.profile-lead>div{max-width:700px}.shop-story{text-align:center}.shop-story img{max-height:450px}}
@media(max-width:550px){.collection-masthead{padding-top:35px;padding-bottom:25px}.collection-masthead h1{font-size:37px}.atlas-grid{grid-template-columns:1fr}.atlas-card img,.atlas-card .atlas-art{height:380px}.profile-lead img{height:450px}.profile-facts{grid-template-columns:1fr}.profile-intro{font-size:20px}.quiz-card{padding:24px}#quiz-question{font-size:26px}.journal-card{display:block}.journal-card img{height:250px}.interactive-banner{padding:28px 20px}.interactive-banner h2{font-size:31px}.simple-rating{grid-template-columns:90px 1fr 40px;gap:8px}.route-stops li{padding-left:22px}.related-link{min-width:150px}.text-page,.journal-article{font-size:16px}.shop-story h2{font-size:32px}.atlas-toolbar input{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.atlas-tools{display:flex;flex-wrap:wrap;gap:20px;align-items:end;margin-bottom:25px}.atlas-tools label{display:grid;gap:10px;color:#d8c49a}.atlas-tools input{background:#302039;border:1px solid #806886;border-radius:6px;color:white;padding:14px;max-width:100%}.fauna-filters{margin-bottom:25px}.journal-home{padding-bottom:70px}.journal-card{padding-bottom:20px}.journal-card>h2,.journal-card>h3,.journal-card>p,.journal-card>time,.journal-card>span{margin-left:24px;margin-right:24px}.companion-result{max-width:900px;padding-bottom:80px;text-align:center}.companion-result>img{width:min(100%,550px);max-height:600px;object-fit:cover;object-position:center 30%;border-radius:16px}.companion-result p{line-height:1.8;max-width:700px;margin:25px auto}.companion-result h2{font-size:36px}.companion-result .related-grid{text-align:left}.journal-article .article-hero{width:100%;max-height:550px;object-fit:cover}.mobile-nav>a{padding:12px 20px}
.journal-card>img{display:block}.journal-home .journal-card{display:block}.journal-home .journal-card img{height:260px}.journal-card .eyebrow{display:block;margin:20px 24px 10px}.atlas-art{display:block}.atlas-tools label{max-width:100%}
.profile-lead img{object-position:center 12%}
.text-page{background:#281b31;color:#e7dce9;border:1px solid #604969;border-radius:12px}.text-page h1,.text-page h2,.text-page h3{color:#ead4a2}.text-page a:not(.button):not(.related-link){color:#e5c780}.text-page .related-link{color:#edddb8}.text-page .fine-print{color:#c9bacf}
@media(max-width:550px){.text-page{padding:25px 20px;margin-left:20px;margin-right:20px;width:auto}}
/* Reading hierarchy and compact introductions. */
.collection-masthead{padding-top:34px;padding-bottom:30px}.collection-masthead .breadcrumb{margin-bottom:14px}.collection-masthead h1{font-size:clamp(36px,4.4vw,58px)}.collection-masthead>p:last-child{margin:16px auto}.home-page .interactive-banner{margin-top:25px;margin-bottom:45px;padding:30px}.home-page .interactive-banner h2{font-size:34px}.home-page .interactive-banner p{margin:13px auto}.book-focus{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:55px;padding-top:45px;padding-bottom:55px;align-items:center}.book-focus figure{margin:0}.book-focus img{width:100%;height:530px;object-fit:cover;border:1px solid #796141;border-radius:12px}.book-focus figcaption{font-size:12px;text-align:center;color:#bdafc5;margin-top:13px}.book-focus h1{font-family:Georgia,serif;font-size:clamp(42px,4.6vw,68px);font-weight:400;line-height:1.07;color:#eee0c3;margin:18px 0}.book-focus p{line-height:1.8}.book-focus .book-focus-hook{font-size:21px;color:#e6d4ae}.book-focus .button{margin:15px 0}.book-focus .breadcrumb{margin-bottom:8px}.book-details{margin:0 auto 60px}.contact-page form{display:grid;gap:20px;margin:30px 0 45px}.contact-page label{display:grid;gap:9px}.contact-page input,.contact-page select,.contact-page textarea{box-sizing:border-box;width:100%;background:#1d1425;border:1px solid #907397;color:#f2e9f5;padding:14px;border-radius:6px;font:inherit}.contact-page form .button{justify-self:start;cursor:pointer}.contact-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact-page textarea{resize:vertical}.contact-page #contact-status{margin:0;color:#ead4a2;min-height:26px}
@media(max-width:780px){.book-focus{grid-template-columns:1fr;padding-top:30px;gap:30px}.book-focus img{height:320px}.book-focus>div{order:-1}.book-focus .book-focus-hook{font-size:19px}.collection-masthead{padding-top:25px;padding-bottom:23px}.collection-masthead h1{font-size:36px}.collection-masthead .breadcrumb{margin-bottom:10px}.text-page h2{margin-top:25px}}
/* Submission milestone: the real book leads, the world invites exploration. */
.home-page .hero{min-height:710px;padding:128px 0 100px}.home-page .hero-content{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:center;gap:65px;width:100%}.home-page .hero-copy{max-width:700px;width:auto}.home-page .hero h1{font-size:clamp(48px,5.7vw,82px)}.hero-cover{display:block;max-width:275px;justify-self:center;text-decoration:none;text-align:center}.hero-cover img{display:block;width:100%;height:auto;box-shadow:0 24px 65px #08040acc;border:1px solid #ac874d;border-radius:3px}.hero-cover span{display:block;font-size:12px;letter-spacing:.08em;color:#e5c780;margin-top:16px}.hero-release{display:flex;align-items:center;gap:9px;color:#e4d0a2;font-size:12px;line-height:1.7;margin-top:25px}.submitted-cover{display:flex;flex-direction:column;align-items:center}.submitted-cover>a{display:block;max-width:380px}.submitted-cover img{display:block;width:100%;height:auto;box-shadow:0 22px 65px #0e071c99;border:1px solid #95733d;border-radius:3px}.book-focus figure{max-width:350px;justify-self:center}.book-focus img{height:auto!important;aspect-ratio:2/3;object-fit:contain;border-radius:3px}.edition-section{padding:25px 0 60px;scroll-margin-top:110px}.edition-section>h2{font:42px/1.2 Georgia,serif;color:#ebd9b7;margin:15px 0}.edition-section>p{max-width:820px;line-height:1.8}.edition-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0 20px}.edition-grid article{background:#2d1e35;border:1px solid #715478;border-radius:12px;padding:25px}.edition-grid h3{font:29px Georgia,serif;color:#ead7ad;margin:17px 0}.edition-price{font-size:34px;color:#f4e7cf;margin:20px 0}.edition-price small{font-size:12px;color:#c4b3ca}.edition-state{color:#d9c28e;font-size:13px;border-top:1px solid #654b6b;padding-top:16px}.release-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.release-actions .related-link{flex:0 1 auto}.launch-journal-card>img{object-fit:contain!important;background:#1e1428}.article-book-cover{height:auto!important;max-height:620px!important;width:auto!important;max-width:100%;display:block;margin:0 auto 35px!important;object-fit:contain!important}.site-footer nav{flex-wrap:wrap}.reading-chapter{scroll-margin-top:110px}.mobile-nav a[aria-current=page]{color:#f1cc7a}.reading-end{padding-top:30px}.journal-grid{padding-bottom:30px}
@media(max-width:780px){.home-page .hero{padding:112px 0 80px;min-height:0}.home-page .hero-content{grid-template-columns:1fr;gap:30px}.hero-cover{max-width:180px}.home-page .hero h1{font-size:clamp(44px,9vw,64px)}.hero-release{justify-content:center}.edition-grid{grid-template-columns:1fr;gap:15px}.edition-grid article{padding:23px}.edition-section>h2{font-size:34px}.book-focus figure{max-width:270px}.book-focus img{height:auto!important}.hero-cover span{margin-top:11px}.release-actions{align-items:stretch;flex-direction:column}.release-actions .related-link{flex:auto}.submitted-cover>a{max-width:290px}.edition-section{padding-top:15px}}
.home-page .hero-content{width:min(1280px,calc(100% - 96px));margin-left:auto;margin-right:auto}.home-page .welcome-strip h2{font-size:clamp(27px,3vw,40px);line-height:1.2}.home-page .welcome-strip .button{flex-shrink:0;white-space:nowrap}.home-page .welcome-strip{padding:28px 0}
@media(max-width:780px){.home-page .hero-content{width:calc(100% - 40px)}.home-page .hero-copy{text-align:center}.hero-actions{justify-content:center}.home-page .hero-description{margin-left:auto;margin-right:auto}}
/* Keep portrait heads inside the character gallery at every card width. */
.atlas-card[href^="/characters/"] img{object-position:center top}
/* Book Two preview material is always distinguished from the published-book guide. */
.draft-badge{display:table!important;margin:0 auto 14px;padding:6px 10px;border:1px solid #b79759;border-radius:4px;color:#eed29a;background:#392846;font-size:10px;letter-spacing:1px;line-height:1.6}.atlas-card small{display:block;color:#ceb985;letter-spacing:1px;font-size:10px}.draft-note,.draft-collection-note{background:#302039;border-left:3px solid #d9b969;padding:18px 22px;color:#dacee1;font-size:14px;line-height:1.8;margin:0 0 32px}.draft-note a,.draft-collection-note a{color:#efd49b}.draft-note a{font-size:11px;letter-spacing:1px}.book-filter-label select{color:#eee0f1;background:#302039;padding:13px;border:1px solid #806886;border-radius:6px;font:inherit;max-width:100%}.atlas-tools .book-filter-label{min-width:220px}.book-two-profile .profile-lead{align-items:start}.book-two-profile .profile-lead img{height:auto;max-height:620px;object-fit:contain;object-position:center top;background:#24172c}.book-two-profile .profile-intro{font-size:19px;line-height:1.8;margin-top:0}.book-two-profile .profile-facts{grid-template-columns:1fr}.book-two-profile .profile-facts div{padding-top:12px}.book-two-banner{display:flex;align-items:center;gap:40px;justify-content:space-between;padding:40px;margin-top:35px;margin-bottom:55px;border:1px solid #8a6a8b;border-radius:14px;background:linear-gradient(120deg,#392749,#22162d)}.book-two-banner h2{font-size:34px;line-height:1.2;margin:14px 0;color:#ebd8af}.book-two-banner p{max-width:740px;line-height:1.8}.book-two-banner .button{flex-shrink:0}.atlas-card[href^="/peoples/"] img{object-position:center top}
@media(max-width:780px){.book-two-banner{flex-direction:column;text-align:center;padding:28px 20px;gap:20px}.book-two-banner h2{font-size:29px}.atlas-tools .book-filter-label{width:100%;min-width:0}.book-filter-label select{width:100%}.book-two-profile .profile-lead img{max-height:500px}.draft-note,.draft-collection-note{padding:15px 18px}}
/* Compact collections put the artwork and its name within easier reach. */
.compact-collection-head{padding-top:22px;padding-bottom:18px}.compact-collection-head .breadcrumb{margin-bottom:8px}.compact-collection-head h1{font-size:clamp(34px,3.8vw,48px);margin:10px auto}.compact-collection-head>p:last-child{margin:10px auto;line-height:1.6}.atlas-collection .draft-collection-note{padding:9px 14px;margin:0 0 18px;font-size:12px}.atlas-tools{gap:14px;margin-bottom:20px}.atlas-tools input,.book-filter-label select{padding:10px 12px}.atlas-tools label{gap:7px;font-size:13px}.atlas-tools .book-filter-label{min-width:205px}.clear-filters{padding:11px 15px;background:transparent;color:#e7cf95;border:1px solid #977844;border-radius:5px;cursor:pointer;white-space:nowrap}.clear-filters:hover{background:#3c2a45}.atlas-card[href^="/creatures/"] img{object-fit:contain;object-position:center;background:#21162a}.atlas-card>div:last-child{padding:18px 20px}.atlas-card h2{font-size:25px}.atlas-card p{margin:10px 0}.contact-email-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px 0}.contact-email-grid h3{font-size:20px;margin:0 0 12px}.contact-email-grid a{overflow-wrap:anywhere}.coming-soon-note{color:#e5c780}
@media(max-width:780px){.compact-collection-head{padding-top:20px;padding-bottom:15px}.compact-collection-head h1{font-size:34px}.atlas-tools .book-filter-label{width:auto;flex:1;min-width:0}.atlas-tools{align-items:end}.atlas-tools>label:first-child{width:100%}.atlas-tools input{width:100%}.atlas-tools #atlas-count{font-size:13px;margin:5px 0}.contact-email-grid{grid-template-columns:1fr;gap:25px}.atlas-card[href^="/creatures/"] img{height:330px}}

@media(max-width:600px){.atlas-toolbar label:has(#atlas-book){flex-basis:100%;width:100%}.atlas-toolbar #atlas-book{width:100%;max-width:100%}}

.shop-guide-note{max-width:760px;margin:22px auto 0;text-align:center;line-height:1.7}.shop-guide-note a,.dispatch-teaser a{color:#e8ca82;text-decoration:underline;text-underline-offset:3px}.dispatch-teaser{max-width:800px;margin:16px auto 0;text-align:center;color:#cbbdce;font-size:14px;line-height:1.8}.dispatch-note{max-width:850px;margin:22px auto 70px;padding:28px 32px;text-align:center;background:#2b1d34;border:1px solid #614a67;border-left:3px solid #d9b969;border-radius:10px}.dispatch-note>p:not(.eyebrow){max-width:650px;margin:12px auto 20px;color:#d6c8db;line-height:1.8}.dispatch-note .button{display:inline-flex}

/* Shared encyclopedia section navigation and media fit. */
.ency-section-nav{box-sizing:border-box;display:flex;align-items:center;gap:8px;max-width:1200px;margin:0 auto 24px;padding:10px 18px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-block:1px solid #59445f;background:#21172a;white-space:nowrap}
.ency-section-nav a{flex:0 0 auto;padding:10px 12px;color:#e6d7bc;text-decoration:none;font-size:12px;letter-spacing:.04em;border:1px solid transparent;border-radius:3px}
.ency-section-nav a:hover,.ency-section-nav a[aria-current]{color:#f2d58f;border-color:#8b724c;background:#302238}
.ency-section-nav a:focus-visible{outline:3px solid #e5c878;outline-offset:2px}
.profile-page img,.profile-page figure,.profile-page svg{box-sizing:border-box;max-width:100%}
.profile-lead img{display:block;width:100%;height:clamp(400px,68vh,680px);object-fit:contain;object-position:center top;background:#21162a}
.creature-wide{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border:1px solid #796141;border-radius:12px;background:#21162a}
.route-diagram .route-node-number{fill:#24172d;font:700 18px/1 system-ui,sans-serif;pointer-events:none}
#quiz-answers .quiz-choice-group{display:grid;gap:12px;margin:25px 0;padding:0;border:0}
#quiz-answers .quiz-answer{display:flex;align-items:flex-start;gap:13px;padding:16px 18px;background:#3b2944;color:#eee0e8;border:1px solid #7f6388;border-radius:8px;cursor:pointer;line-height:1.6}
#quiz-answers .quiz-answer:hover{border-color:#e1bd72;background:#4a3454}
#quiz-answers .quiz-answer input{flex:0 0 auto;width:19px;height:19px;margin:3px 0 0;accent-color:#e1bd72}
#quiz-answers .quiz-answer:has(input:checked){border-color:#e1bd72;background:#4a3454;box-shadow:inset 3px 0 #e1bd72}
#quiz-answers .quiz-answer:focus-within{outline:3px solid #e5c878;outline-offset:3px}
@media(max-width:900px){.ency-section-nav{margin-bottom:20px;padding-inline:12px;gap:4px}.ency-section-nav a{font-size:11px;padding:10px 9px}.profile-lead img{height:clamp(360px,62vh,560px)}}
@media(max-width:550px){.ency-section-nav{margin:0 0 18px;padding:8px 12px}.ency-section-nav a{padding:9px 10px}.profile-lead img{height:min(62vh,500px);min-height:340px}.creature-wide{aspect-ratio:4/3}.quiz-actions{flex-wrap:wrap}}

/* Make the live paperback the clear purchase action while keeping the free sample visible. */
.book-purchase-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}
.book-purchase-actions .button{margin:0}
.edition-grid article .button{margin-top:15px;justify-content:center}
@media(max-width:780px){.book-purchase-actions{align-items:stretch;flex-direction:column}.book-purchase-actions .button{width:100%;justify-content:center}}

/* Keep mobile pages tied to the viewport and give every page the same gutter. */
html,body{width:100%;max-width:100%}
body{min-width:0;overflow-x:clip}
main{width:100%;min-width:0}
@media(max-width:780px){
  .shell{box-sizing:border-box;width:calc(100% - 40px);max-width:100%;min-width:0;margin-inline:auto}
  .home-page{width:100%;min-width:0}
  .home-page main,.home-page .hero{width:100%;min-width:0;max-width:100%}
  .home-page .hero-content{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);width:calc(100% - 40px);max-width:100%;min-width:0;margin-inline:auto}
  .home-page .hero-copy,.home-page .hero-description{width:100%;min-width:0;max-width:100%}
  .home-page .hero h1{max-width:100%;overflow-wrap:anywhere}
}
