/* 1.11.7 — shared page geometry, based on the play-directory header. */
:root{--dg-layout-width:1120px;--dg-layout-gutter:clamp(16px,2.2vw,30px);--dg-layout-title:clamp(46px,5.5vw,86px);--dg-layout-top:78px}
body.dg-inner-page .site-shell>.section{box-sizing:border-box;width:100%;max-width:var(--dg-layout-width)!important;margin-inline:auto!important;padding-inline:var(--dg-layout-gutter)!important;padding-top:var(--dg-layout-top)!important;padding-bottom:55px;min-width:0}
body.dg-inner-page .site-shell>.section+.section{padding-top:28px!important}
body.dg-inner-page .site-shell :is(.dg-page-header,.account-shared-header){text-align:left!important;margin:0 0 28px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;max-width:none!important}
body.dg-inner-page .site-shell :is(.section>.section-divider,.dg-page-header>.section-divider,.account-shared-header>.section-divider){display:block!important;width:min(420px,100%)!important;height:28px!important;max-width:100%!important;margin:0 0 28px!important;background:url('divider.svg') left center/contain no-repeat!important;opacity:.95}
body.dg-inner-page .site-shell :is(.section>h1,.dg-page-header>h1,.account-shared-header>h1,.forum-header h1,.legal-panel>h1,.discord-link-panel>h1,.discord-only-login>h1,.guild-directory-copy>h1,.story-banner>h1,.guild-character-details-page h1){font-family:Georgia,'Times New Roman',serif!important;font-size:var(--dg-layout-title)!important;font-weight:500!important;line-height:1.12!important;letter-spacing:.01em!important;color:#f1d7a2!important;margin:14px 0 18px!important;text-align:left!important;text-shadow:0 3px 12px #0006}
body.dg-inner-page .site-shell :is(.section>.kicker,.section>.eyebrow,.dg-page-header>.kicker,.account-shared-header>.eyebrow){display:block;font-size:11px;letter-spacing:.16em;line-height:1.6;color:#d5a965;text-align:left}
body.dg-inner-page .site-shell :is(.section>.lead,.dg-page-header>.lead,.account-shared-header>.lead){max-width:850px!important;margin:0 0 27px!important;font-size:15px!important;line-height:1.8!important;color:#c8bba8!important;text-align:left!important}
body.dg-inner-page .site-shell .dg-page-header::before,body.dg-inner-page .site-shell .dg-page-header::after{content:none!important}
/* Tool pages keep one left-aligned page header, then their local navigation. */
body.dg-inner-page .site-shell #klassen-builds .dg-resource-subnav{justify-content:flex-start!important;margin:0 0 28px!important}
body.dg-inner-page .site-shell .dg-resource-subnav{justify-content:flex-start;gap:12px;flex-wrap:wrap}
body.dg-inner-page .site-shell :is(.panel,.dg-resource-card,.dg-resource-controls){box-sizing:border-box;min-width:0}
body.dg-inner-page .site-shell .section :is(.form-grid,.dg-resource-grid,.admin-grid,.member-grid,.roster-layout){min-width:0}
body.dg-inner-page .site-shell .section :is(input,select,textarea){box-sizing:border-box}
body.dg-inner-page .site-shell .section .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Special banners keep their content and media, sharing title scale and page edges. */
body.dg-inner-page .site-shell :is(.story-banner,.guild-directory-hero,.legal-panel){max-width:100%;box-sizing:border-box}
body.dg-inner-page .site-shell .forum-header{align-items:flex-start}
body.dg-inner-page .site-shell .section{scroll-margin-top:130px}
@media(max-width:760px){:root{--dg-layout-top:40px;--dg-layout-title:clamp(32px,7vw,46px)}body.dg-inner-page .site-shell :is(.section>.lead,.dg-page-header>.lead,.account-shared-header>.lead){font-size:15px!important}body.dg-inner-page .site-shell :is(.section>.section-divider,.dg-page-header>.section-divider,.account-shared-header>.section-divider){margin-bottom:22px!important}body.dg-inner-page .site-shell .section{scroll-margin-top:30px}}

body.dg-inner-page .site-shell .section h1{font-family:Georgia,'Times New Roman',serif;font-size:var(--dg-layout-title)!important;line-height:1.12!important;font-weight:500;letter-spacing:.01em;color:#f1d7a2;text-align:left}
