:root{--shell:100%;--gut:clamp(12px,1.5vw,30px)}
.chapters>.shell,.body-in,.stab-ia-fold-body,.mast-in,.lid-inner{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
.body-in>.module,.body-in>main,.body-in>.shelf,.body-in>.gwb,.body-in>.gfx,.body-in>.gfdb,.body-in>.dlx,.body-in>.mdb,.body-in>.cab{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
.body-in :is(details.fold,details.stab-ia-fold,details.gale-fold,.fold-body,[class$="-detail"],.tablewrap){max-width:none!important;min-width:0;box-sizing:border-box}
.tablewrap{overflow-x:auto;overscroll-behavior-inline:contain}
.body-in a{overflow-wrap:anywhere}
.body-in :is(img,video,iframe){max-width:100%}
.mast-in .jump{flex-wrap:wrap;min-width:0}
@media(max-width:900px){.mast-in .jump{max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:480px){.body{padding-inline:12px}.stab-ia-fold-body{padding-inline:12px}.body-in :is(.smdb-grid,.smdb-vids,.smdb-cards){grid-template-columns:minmax(0,1fr)}}

/* Constrain the actual chapter containing block, not only its inner shell. */
.chapters section.chapter{width:100%!important;min-width:0!important;max-width:none!important;justify-items:stretch!important;box-sizing:border-box}
.chapters section.chapter>.body{width:100%!important;min-width:0!important;max-width:100%!important;margin-inline:0!important;justify-self:stretch!important;box-sizing:border-box}
.chapters section.chapter>.body>.body-in{width:100%!important;min-width:0!important;max-width:100%!important;justify-self:stretch!important;box-sizing:border-box}
.chapters .body-in>.module,.chapters .body-in>.module>:is(div,main,section){width:100%!important;min-width:0!important;max-width:none!important;justify-self:stretch!important;box-sizing:border-box}
.chapters .body-in .smdb-detail,.chapters .body-in .smdb-sec,.chapters .body-in details.fold{width:100%!important;min-width:0!important;max-width:100%!important;justify-self:stretch!important;box-sizing:border-box}
.chapters .body-in .fold-body{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
.chapters .body-in :is(.smdb-head,.smdb-main,.smdb-content,.smdb-bio,.smdb-text,.smdb-facts,.smdb-jump){min-width:0!important;max-width:100%!important;box-sizing:border-box}
.chapters .body-in :is(.tablewrap,.smdb-tablewrap){max-width:100%!important;overflow-x:auto}
.chapters :is(#stab-films,#screams-stab,#originals) .module>:is(.smx,.stbm,.ogf){padding-inline:clamp(8px,2vw,30px)!important}
@media(max-width:600px){.chapters .body-in .smdb-head{grid-template-columns:minmax(0,1fr)!important}.chapters .body-in .smdb-jump{flex-wrap:wrap}.chapters .body-in .smdb-grid{grid-template-columns:minmax(0,1fr)!important}.chapters .body-in .smdb-detail{padding-inline:0!important}}
