:root{--detail-hero-height:520px;--detail-gap:18px;--detail-card-padding:26px;--detail-reading-width:760px;--detail-inner-radius:18px;--detail-card-shadow:0 18px 50px #0003}:is(.character-page,.creature-page,.object-page,.location-page,.encounter-page,.structured-resource-page){padding:42px 0 80px}:is(.creature-hero,.object-hero,.location-hero,.encounter-hero,.resource-detail-hero),:is(.creature-hero__portrait,.object-hero__portrait,.location-hero__image,.encounter-hero__image,.resource-detail-hero__image){min-height:var(--detail-hero-height)}:is(.character-hero__content,.creature-hero__content,.object-hero__content,.location-hero__content,.encounter-hero__content,.resource-detail-hero__content){padding:clamp(28px,5vw,56px)}:is(.character-hero__excerpt,.creature-hero__excerpt,.object-hero__excerpt,.location-hero__excerpt,.encounter-hero__excerpt,.resource-detail-summary){max-width:var(--detail-reading-width);line-height:1.6}:is(.character-badges,.creature-badges,.object-badges,.location-badges,.encounter-badges,.resource-detail-badges){gap:8px;margin:18px 0 24px}:is(.character-navigation,.creature-navigation,.object-navigation,.location-navigation,.encounter-navigation,.resource-detail-navigation){margin-top:var(--detail-gap);padding:8px 10px;display:block;top:86px;box-shadow:0 16px 40px #00000047}:is(.character-navigation__anchors,.creature-navigation__anchors,.object-navigation__anchors,.location-navigation__anchors,.encounter-navigation__anchors,.resource-detail-navigation__anchors){justify-content:flex-start;gap:3px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}:is(.character-navigation__anchors,.creature-navigation__anchors,.object-navigation__anchors,.location-navigation__anchors,.encounter-navigation__anchors,.resource-detail-navigation__anchors) a{color:var(--muted);white-space:nowrap;border-radius:999px;flex:none;padding:7px 9px;font-size:12px;font-weight:800;line-height:1.35}:is(.character-layout,.creature-layout,.object-layout,.location-layout,.encounter-layout,.structured-resource-layout){gap:var(--detail-gap);margin-top:var(--detail-gap)}:is(.character-card,.character-quick,.creature-card,.object-card,.location-card,.encounter-card,.structured-resource-card){border-radius:var(--radius-lg);box-shadow:var(--detail-card-shadow)}:is(.character-card,.character-quick,.creature-card,.object-card,.location-card,.encounter-card,.structured-resource-card) h2{font-family:var(--serif);letter-spacing:-.04em;font-size:clamp(28px,3vw,42px);line-height:1.05}:is(.character-card,.creature-card,.object-card,.location-card,.encounter-card,.structured-resource-card) :is(p,li,dd){line-height:1.65}:is(.character-back-to-top-wrap,.creature-back-to-top-wrap,.object-back-to-top-wrap,.back){justify-content:center;margin:0;padding:26px 0 0;display:flex}:is(.character-back-to-top,.creature-back-to-top,.object-back-to-top,.back a){border:1px solid var(--line);color:var(--muted);background:#ffffff08;border-radius:999px;align-items:center;gap:.45rem;padding:.7rem 1rem;font-size:.9rem;font-weight:800;text-decoration:none;transition:color .2s,border-color .2s,background .2s,transform .2s;display:inline-flex}:is(.character-back-to-top,.creature-back-to-top,.object-back-to-top,.back a):is(:hover,:focus-visible){color:#fff;background:#f6c76b14;border-color:#f6c76b94;transform:translateY(-2px)}@media (width<=900px){:is(.creature-hero__portrait,.object-hero__portrait,.location-hero__image,.encounter-hero__image,.resource-detail-hero__image){min-height:400px}}@media (width<=620px){:root{--detail-gap:12px;--detail-card-padding:20px}:is(.character-page,.creature-page,.object-page,.location-page,.encounter-page,.structured-resource-page){padding-top:18px}:is(.character-hero__portrait,.creature-hero__portrait,.object-hero__portrait,.location-hero__image,.encounter-hero__image,.resource-detail-hero__image){min-height:320px}:is(.character-hero__content,.creature-hero__content,.object-hero__content,.location-hero__content,.encounter-hero__content,.resource-detail-hero__content){padding:24px 20px}:is(.character-card,.character-quick,.creature-card,.object-card,.location-card,.encounter-card,.structured-resource-card){padding:var(--detail-card-padding)}:is(.character-navigation,.creature-navigation,.object-navigation,.location-navigation,.encounter-navigation,.resource-detail-navigation){padding:7px 8px;top:72px}}
