.simple-header.return-masthead{display:grid!important;grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);align-items:center;gap:24px;padding:8px 38px!important;min-height:228px;box-sizing:border-box;border-bottom:1px solid #6a3b28;background:radial-gradient(ellipse at 50% 0,#300a0e,#0c0508 70%);z-index:40}.return-masthead .masthead-left{display:flex!important;gap:14px;justify-content:flex-end;align-items:center;margin:0!important}.return-masthead .masthead-right{display:flex!important;gap:14px;justify-content:flex-start;align-items:center;margin:0!important}.return-masthead .btn{white-space:nowrap;padding:15px 18px;font-size:11px;letter-spacing:.07em;min-width:0}.return-masthead .masthead-brand{position:relative;display:block!important;min-width:0!important;width:230px!important;height:220px;margin:0!important;isolation:isolate;overflow:visible}.return-masthead .return-logo{display:block;width:230px!important;height:220px!important;max-height:none!important;object-fit:contain;mix-blend-mode:screen;filter:contrast(1.06) brightness(1.12)}.logo-flame-motion{position:absolute;inset:0;background:url('/assets/logo.webp') center/contain no-repeat;mix-blend-mode:screen;mask-image:radial-gradient(ellipse at center,transparent 42%,#000 73%);opacity:.45;pointer-events:none;animation:return-flames 3.8s ease-in-out infinite alternate}.return-masthead .header-discord{width:42px;height:42px;flex:none}.return-masthead .account-dropdown{position:relative}.return-masthead .account-links{right:0;left:auto;z-index:60}.return-two,footer .return-title-top .return-two{font-size:1em!important;vertical-align:baseline!important;line-height:inherit!important}@keyframes return-flames{from{transform:translateY(1px);opacity:.3}to{transform:translateY(-4px);opacity:.55}}@media(max-width:1100px){.simple-header.return-masthead{gap:12px;padding:6px 20px!important;grid-template-columns:1fr 185px 1fr;min-height:185px}.return-masthead .masthead-brand{width:185px!important;height:180px}.return-masthead .return-logo{width:185px!important;height:180px!important}.return-masthead .btn{padding:13px 11px;font-size:10px}.return-masthead .masthead-left,.return-masthead .masthead-right{gap:8px}}@media(max-width:800px){.simple-header.return-masthead{grid-template-columns:1fr;gap:0;padding:4px 12px 12px!important;min-height:0}.return-masthead .masthead-brand{grid-row:1;justify-self:center;width:160px!important;height:150px}.return-masthead .return-logo{width:160px!important;height:150px!important}.return-masthead .masthead-left{grid-row:2;justify-content:center;padding:0 0 9px}.return-masthead .masthead-right{grid-row:3;justify-content:center}.return-masthead .btn{padding:11px 15px;font-size:10px}.return-masthead .header-discord{width:36px;height:36px}.return-masthead .account-links{right:0;min-width:200px}}@media(prefers-reduced-motion:reduce){.logo-flame-motion{animation:none}}
.return-masthead .return-logo{mask-image:radial-gradient(ellipse at center,#000 63%,transparent 100%)}
@media(max-width:800px){.simple-header.return-masthead{grid-template-columns:minmax(0,1fr)!important}.return-masthead .masthead-left,.return-masthead .masthead-right{grid-column:1!important;justify-self:stretch;min-width:0;width:auto}.return-masthead .masthead-brand{grid-column:1!important}}
@media(min-width:901px){html.wiki-page .wiki-nav{top:calc(var(--masthead-height,228px) + 20px);max-height:calc(100vh - var(--masthead-height,228px) - 40px);overflow-y:auto}}
html.wiki-page .prose :is(h2,h3),.systems-guide .return-system{scroll-margin-top:calc(var(--masthead-height,228px) + 36px)}
@media(max-width:900px){html.wiki-page .prose :is(h2,h3),.systems-guide .return-system{scroll-margin-top:calc(var(--masthead-height,252px) + 100px)}}
/* Compact masthead: brand left, all actions aligned on the right. */
.simple-header.return-masthead{grid-template-columns:120px minmax(0,1fr) auto!important;min-height:124px;gap:18px;padding:6px 38px!important}.return-masthead .masthead-brand{grid-column:1!important;grid-row:1!important;justify-self:start;width:120px!important;height:110px}.return-masthead .return-logo{width:120px!important;height:110px!important}.return-masthead .masthead-left{grid-column:2!important;grid-row:1!important;justify-content:flex-end!important}.return-masthead .masthead-right{grid-column:3!important;grid-row:1!important;justify-content:flex-end!important}.return-masthead .btn{padding:14px 17px;font-size:11px}@media(max-width:1050px){.simple-header.return-masthead{padding:6px 20px!important;gap:12px}.return-masthead .btn{padding:12px 10px;font-size:10px}.return-masthead .masthead-left,.return-masthead .masthead-right{gap:8px}}
@media(max-width:800px){.simple-header.return-masthead{grid-template-columns:100px minmax(0,1fr)!important;gap:6px 12px;padding:7px 12px!important}.return-masthead .masthead-brand{grid-row:1/3!important;width:100px!important;height:100px}.return-masthead .return-logo{width:100px!important;height:100px!important}.return-masthead .masthead-left{grid-column:2!important;grid-row:1!important;align-self:end;padding:0!important;flex-wrap:wrap}.return-masthead .masthead-right{grid-column:2!important;grid-row:2!important;align-self:start;flex-wrap:wrap}.return-masthead .btn{padding:10px 9px;font-size:9px}.return-masthead .header-discord{width:31px;height:31px}.return-masthead .account-links{right:0;min-width:200px}}
/* Blend the entire logo, including its animated flame layer, into the masthead. */
.return-masthead .masthead-brand{background:none!important;border:0!important;box-shadow:none!important;isolation:auto;mix-blend-mode:screen;-webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 64%,rgba(0,0,0,.9) 76%,rgba(0,0,0,.4) 90%,transparent 100%);mask-image:radial-gradient(ellipse closest-side at center,#000 64%,rgba(0,0,0,.9) 76%,rgba(0,0,0,.4) 90%,transparent 100%)}
.return-masthead .return-logo{-webkit-mask-image:none;mask-image:none;filter:brightness(1.1)}

.return-masthead .itemshop-nav{border-color:#a26a45;background:linear-gradient(#672734,#35131f);color:#efd59e}.return-masthead .masthead-left{flex-wrap:wrap}.return-masthead .itemshop-nav[aria-current="page"]{box-shadow:inset 0 -2px #d5b06b}

/* Let the homepage introduction use the full story panel width. */
#poveste.story .sub{max-width:none;width:100%}

.chapter-results a.has-search-icon{display:flex;align-items:center;gap:12px}.chapter-results a.has-search-icon>img{width:32px;height:40px;flex:0 0 32px;object-fit:contain;background:transparent}.chapter-results .search-result-copy{min-width:0;display:block}.chapter-results .search-result-copy>strong,.chapter-results .search-result-copy>small{display:block}.bp-window{padding:0!important;background:transparent!important}.bp-window img{display:block;width:100%;height:auto;object-fit:contain}
