.overview-features{margin-top:36px}
.overview-feature{display:grid;grid-template-columns:1fr 1.7fr;gap:80px;padding:42px 0;border-top:1px solid var(--line)}
.overview-label .roman{color:var(--gold);margin-bottom:16px}
.overview-label .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:17px}
.overview-label h3{font-size:36px;line-height:1.12;max-width:340px}
.overview-label p{font-size:13px;color:var(--muted);max-width:300px}
.overview-content{color:var(--muted);font-size:14px}
.overview-content strong{color:var(--paper);font-weight:500}
.overview-content ul{list-style:none;padding:0;margin:0}
.overview-content li{position:relative;padding-left:20px;margin-bottom:19px}
.overview-content li:before{content:'✦';position:absolute;left:0;top:3px;color:var(--gold);font-size:9px}
.overview-content .event{margin-top:25px;font-size:11px}
.save-quote{border-left:2px solid var(--gold);margin:28px 0 0;padding:5px 0 5px 20px;font:italic 26px/1.35 var(--serif);color:var(--paper)}
.save-quote span{display:block;font:12px/1.7 var(--sans);color:var(--gold);margin-top:9px}
@media(max-width:900px){.overview-feature{gap:35px;grid-template-columns:1fr 1.5fr}.overview-label h3{font-size:31px}}
@media(max-width:650px){.overview-feature{grid-template-columns:1fr;gap:12px;padding:32px 0}.overview-label p{max-width:none}.overview-label h3{max-width:none}.overview-content{font-size:13px}}

.module-intro>div{max-width:850px}
.guide-link{color:var(--gold);text-decoration:underline;text-underline-offset:5px}.guide-jumps{display:flex;flex-wrap:wrap;gap:20px;padding-top:30px}.guide-jumps a{font-size:13px;color:var(--gold)}.guide-section{max-width:none;border-bottom:1px solid var(--line);color:var(--muted);line-height:1.85}.guide-section h2{color:var(--paper)}.guide-section li{margin-bottom:15px}.guide-section strong{color:var(--paper)}.animation-placeholder{margin:35px 0 0;padding:40px 25px;border:1px dashed #c5a76e70;background:#c5a76e08;text-align:center}.animation-placeholder>div{font:25px var(--serif);color:var(--gold);letter-spacing:2px}.animation-placeholder figcaption{font-size:12px;max-width:500px;margin:20px auto 0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:15px;border-bottom:1px solid var(--line)}th{color:var(--gold)}

.module-demo{margin:35px 0}.module-demo img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:4px}.module-demo figcaption{font-size:12px;color:var(--muted);margin-top:14px}

.hud-demo{max-width:370px}.hud-demo img{width:100%}
.region-walkthrough{display:flex;flex-wrap:wrap;align-items:flex-start;gap:24px;margin:35px 0}.region-walkthrough .module-demo{margin:0;max-width:100%;flex:none}.region-walkthrough .module-demo:nth-child(1){width:381px}.region-walkthrough .module-demo:nth-child(2){width:214.5px}.region-walkthrough .module-demo:nth-child(3){width:358px}.region-walkthrough figcaption{line-height:1.6}@media(max-width:650px){.region-walkthrough{gap:28px}.region-walkthrough .module-demo{width:100%;max-width:381px}}

.options-demo{width:387.5px;max-width:100%}

.aoe-demo{width:511px;max-width:100%}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,387.5px);gap:32px;align-items:start}.settings-layout .options-demo{margin:0;width:100%}.settings-copy>p:first-child{margin-top:0}@media(max-width:760px){.settings-layout{grid-template-columns:1fr}.settings-layout .options-demo{max-width:387.5px}}
.region-step-rows{list-style:none;padding:0;counter-reset:region-step}.region-step-rows>li{counter-increment:region-step;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,381px);gap:32px;align-items:start;padding:25px 0;border-bottom:1px solid var(--line)}.region-step-copy h3{font:26px var(--serif);color:var(--paper);margin:0 0 15px}.region-step-copy h3:before{content:counter(region-step) ". ";color:var(--gold)}.region-step-copy>p{margin:0 0 15px}.region-step-rows .module-demo{margin:0;max-width:100%}.region-step-rows img[src$="region-item-drop.png"]{max-width:214.5px}.region-step-rows img[src$="region-configuration.png"]{max-width:358px}@media(max-width:760px){.region-step-rows>li{grid-template-columns:1fr}.region-step-rows .module-demo{max-width:381px}}

.region-step-copy .shortcut-demo{width:303px;max-width:100%;margin-top:22px}

.undo-demo{width:319px;max-width:100%}

.graze-demo{width:319px;max-width:100%}
.guide-sticky-nav{position:sticky;top:0;z-index:20;background:#111a1e;border-bottom:1px solid var(--line);box-shadow:0 8px 20px #0003}.guide-sticky-nav .guide-jumps{padding-top:15px;padding-bottom:15px}.guide-section,[id="critical-damage"],[id="concentration-hud"],[id="graze-example"]{scroll-margin-top:130px}@media(max-width:650px){.guide-sticky-nav .subnav .wrap,.guide-sticky-nav .guide-jumps{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:20px}.guide-sticky-nav .guide-jumps a{flex:none}}

.release-shot{width:320px;max-width:100%}.release-shot-pair{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}

.overview-feature{scroll-margin-top:155px}.guide-sticky-nav .guide-jumps{font-size:12px}
.guide-jumps a{border-bottom:2px solid transparent;padding-bottom:5px}.guide-jumps a.is-current{color:var(--paper);border-bottom-color:var(--gold);text-shadow:0 0 12px #c5a76e55}

.subnav a[aria-current=page]{color:var(--gold);box-shadow:inset 0 -2px var(--gold);padding-bottom:5px}

/* Detailed Summary follows the module settings hierarchy. */
.detail-automation-nav{display:flex;align-items:center;gap:20px;padding-top:0;padding-bottom:14px;overflow-x:auto;white-space:nowrap;font-size:12px}
.detail-automation-nav>span{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}
.detail-automation-nav a,.detail-class-nav a{color:var(--gold);text-decoration:none}
.detail-automation-nav a:hover,.detail-class-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.detail-class-nav{display:flex;flex-wrap:wrap;gap:10px 22px;margin:26px 0 35px;padding:18px 0;border-block:1px solid var(--line);font-size:13px}
.detail-class{padding-top:24px;margin-top:20px;border-top:1px solid var(--line);scroll-margin-top:215px}
.detail-class>h3{font:30px var(--serif);color:var(--paper);margin:0 0 18px}
.detail-example{max-width:540px}
#automations,.guide-section{scroll-margin-top:210px}
@media(max-width:650px){.detail-automation-nav{gap:18px}.detail-class>h3{font-size:26px}.detail-class,.guide-section,#automations{scroll-margin-top:190px}}

.detail-page-tabs{display:flex;gap:26px;padding-top:18px;padding-bottom:4px;overflow-x:auto;white-space:nowrap;font-size:14px}
.detail-page-tabs a{flex:none;color:var(--muted);padding-bottom:10px;border-bottom:2px solid transparent;text-decoration:none}
.detail-page-tabs a[aria-current="page"]{color:var(--gold);border-bottom-color:var(--gold)}
.detail-page-tabs a:hover{color:var(--paper)}
@media(max-width:650px){.detail-page-tabs{gap:22px;font-size:12px}}

/* Only section shortcuts remain frozen; page/category navigation scrolls away. */
.summary-primary-nav{background:var(--bg,#111a1e);border-bottom:1px solid var(--line)}
.summary-primary-nav .detail-page-tabs{padding-bottom:12px}
.guide-sticky-nav .guide-jumps{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:22px;padding-top:12px;padding-bottom:9px}
.guide-sticky-nav .guide-jumps a{flex:none;font-size:12px}
.module-hero#summary,.guide-section,.detail-class,.overview-feature,#automations,[id="critical-damage"],[id="concentration-hud"],[id="graze-example"]{scroll-margin-top:72px}
@media(max-width:650px){.guide-sticky-nav .guide-jumps{gap:18px}.guide-section,.detail-class,.overview-feature,#automations{scroll-margin-top:72px}}

/* Keep the class chooser within reach of the frozen Classes shortcut. */
.guide-sticky-nav .guide-jumps.has-class-menu{overflow:visible;flex-wrap:wrap;white-space:normal}
.class-menu{position:relative;flex:none}
.class-menu-trigger{display:inline-block}
.class-menu-links{display:none;position:absolute;top:100%;left:-12px;min-width:180px;padding:10px;background:#111a1e;border:1px solid var(--line);border-radius:4px;box-shadow:0 12px 28px #0006;z-index:30}
.class-menu.is-open .class-menu-links,.class-menu:not(.is-dismissed):hover .class-menu-links,.class-menu:not(.is-dismissed):focus-within .class-menu-links{display:flex;flex-direction:column;gap:0}
.class-menu-links a{display:block;padding:9px 12px;color:var(--gold);border:0!important;text-decoration:none;white-space:nowrap}
.class-menu-links a:hover,.class-menu-links a:focus-visible{background:#c5a76e16;color:var(--paper)}

/* Native-size Barbarian configuration examples. */
.barbarian-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:30px 0}.barbarian-examples .module-demo{margin:0;min-width:0;max-width:410px}.barbarian-examples img{width:auto;max-width:100%;height:auto}.barbarian-examples a{display:block;width:fit-content;max-width:100%}.barbarian-examples figcaption{line-height:1.65}.barbarian-examples figcaption strong{color:var(--paper)}@media(max-width:650px){.barbarian-examples{grid-template-columns:1fr}}

.barbarian-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.barbarian-highlight p{margin:0;line-height:1.8}.barbarian-highlight strong{color:var(--paper)}

/* Barbarian text with ordered configuration screenshots alongside. */
.barbarian-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,410px);gap:36px;align-items:start}.barbarian-copy{min-width:0}.barbarian-layout .barbarian-examples{display:flex;flex-direction:column;gap:30px;margin:22px 0 0;min-width:0}.barbarian-layout .barbarian-examples .module-demo{width:100%;max-width:410px}@media(max-width:900px){.barbarian-layout{grid-template-columns:1fr;gap:12px}.barbarian-layout .barbarian-examples{margin-top:10px}}

/* Bard roll-card examples alongside the feature guide. */
.bard-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,310px);gap:36px;align-items:start}.bard-copy{min-width:0}.bard-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.bard-highlight p{margin:0;line-height:1.8}.bard-highlight strong{color:var(--paper)}.bard-examples{display:flex;flex-direction:column;gap:30px;margin:22px 0 0;min-width:0}.bard-examples .module-demo{margin:0;max-width:310px;min-width:0}.bard-examples img{width:auto;max-width:100%;height:auto}.bard-examples a{display:block;width:fit-content;max-width:100%}.bard-examples figcaption{line-height:1.65}.bard-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.bard-layout{grid-template-columns:1fr;gap:12px}.bard-examples{margin-top:10px}}

/* Battle Master maneuver configuration alongside feature details. */
.battle-master-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,402px);gap:36px;align-items:start}.battle-master-copy{min-width:0}.battle-master-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.battle-master-highlight p{margin:0;line-height:1.8}.battle-master-highlight strong{color:var(--paper)}.battle-master-examples{margin:22px 0 0;min-width:0}.battle-master-examples .module-demo{margin:0;max-width:402px}.battle-master-examples img{width:auto;max-width:100%;height:auto}.battle-master-examples a{display:block;width:fit-content;max-width:100%}.battle-master-examples figcaption{line-height:1.65}.battle-master-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.battle-master-layout{grid-template-columns:1fr;gap:12px}.battle-master-examples{margin-top:10px}}

/* Monk and Grappler configuration examples. */
.monk-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,402px);gap:36px;align-items:start}.monk-copy{min-width:0}.monk-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.monk-highlight p{margin:0;line-height:1.8}.monk-highlight strong{color:var(--paper)}.monk-examples{margin:22px 0 0;min-width:0}.monk-examples .module-demo{margin:0;max-width:402px}.monk-examples img{width:auto;max-width:100%;height:auto}.monk-examples a{display:block;width:fit-content;max-width:100%}.monk-examples figcaption{line-height:1.65}.monk-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.monk-layout{grid-template-columns:1fr;gap:12px}.monk-examples{margin-top:10px}}

.battle-master-examples .module-demo + .module-demo{margin-top:30px}

/* Paladin damage configuration alongside feature details. */
.paladin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:36px;align-items:start}.paladin-copy{min-width:0}.paladin-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.paladin-highlight p{margin:0;line-height:1.8}.paladin-highlight strong{color:var(--paper)}.paladin-examples{margin:22px 0 0;min-width:0}.paladin-examples .module-demo{margin:0;max-width:400px}.paladin-examples img{width:auto;max-width:100%;height:auto}.paladin-examples a{display:block;width:fit-content;max-width:100%}.paladin-examples figcaption{line-height:1.65}.paladin-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.paladin-layout{grid-template-columns:1fr;gap:12px}.paladin-examples{margin-top:10px}}

/* Ranger damage riders alongside feature details. */
.ranger-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,394px);gap:36px;align-items:start}.ranger-copy{min-width:0}.ranger-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.ranger-highlight p{margin:0;line-height:1.8}.ranger-highlight strong{color:var(--paper)}.ranger-examples{margin:22px 0 0;min-width:0}.ranger-examples .module-demo{margin:0;max-width:394px}.ranger-examples img{width:auto;max-width:100%;height:auto}.ranger-examples a{display:block;width:fit-content;max-width:100%}.ranger-examples figcaption{line-height:1.65}.ranger-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.ranger-layout{grid-template-columns:1fr;gap:12px}.ranger-examples{margin-top:10px}}

/* Sorcerer cast-time Metamagic example alongside feature details. */
.sorcerer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,421px);gap:36px;align-items:start}.sorcerer-copy{min-width:0}.sorcerer-highlight{border-left:3px solid var(--gold);background:rgba(195,160,95,.07);padding:18px 22px;margin:22px 0 28px}.sorcerer-highlight p{margin:0;line-height:1.8}.sorcerer-highlight strong{color:var(--paper)}.sorcerer-examples{margin:22px 0 0;min-width:0}.sorcerer-examples .module-demo{margin:0;max-width:421px}.sorcerer-examples img{width:auto;max-width:100%;height:auto}.sorcerer-examples a{display:block;width:fit-content;max-width:100%}.sorcerer-examples figcaption{line-height:1.65}.sorcerer-examples figcaption strong{color:var(--paper)}@media(max-width:900px){.sorcerer-layout{grid-template-columns:1fr;gap:12px}.sorcerer-examples{margin-top:10px}}

.sorcerer-examples .module-demo + .module-demo{margin-top:30px}

.sorcerer-empowered-examples{display:flex;flex-direction:column;align-items:flex-start;gap:28px;margin-top:28px;min-width:0}.sorcerer-empowered-examples .module-demo{margin:0;max-width:100%}.sorcerer-empowered-examples a{display:block;width:fit-content;max-width:100%}.sorcerer-empowered-examples img{width:auto;max-width:100%;height:auto}.sorcerer-empowered-examples figcaption{max-width:460px;line-height:1.65}

/* Empowered Spell: card on the left, dice picker on the right. */
.sorcerer-empowered-examples{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px;align-items:start}.sorcerer-empowered-examples .module-demo{min-width:0;width:100%}@media(max-width:650px){.sorcerer-empowered-examples{grid-template-columns:1fr}}

/* Shield reaction example beside the spell helper text. */
.shield-guide-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,311px);gap:30px;align-items:start;margin:20px 0 30px}.shield-guide-copy{min-width:0}.shield-guide-item .shield-example{margin:0;max-width:311px}.shield-example a{display:block;width:fit-content;max-width:100%}.shield-example img{width:auto;max-width:100%;height:auto}.shield-example figcaption{line-height:1.65}@media(max-width:750px){.shield-guide-item{grid-template-columns:1fr}}

/* Consistent chat-card examples for Rolls & Saves. */
.gm-card-example-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:32px;align-items:start;margin-top:18px}.gm-card-example-layout>div{min-width:0}.gm-card-example-layout .gm-card-example{margin:0;max-width:300px}.gm-card-example a{display:block;max-width:100%;width:fit-content}.gm-card-example img{width:auto;max-width:100%;height:auto}.gm-card-example figcaption{line-height:1.65}@media(max-width:750px){.gm-card-example-layout{grid-template-columns:1fr;gap:16px}}

.gm-mode-examples{display:flex;flex-direction:column;gap:26px;min-width:0}

/* Attack and save mode examples below their shared explanation. */
.gm-mode-example-layout{margin-top:18px}.gm-mode-example-layout .gm-mode-examples{display:grid;grid-template-columns:repeat(2,minmax(0,300px));gap:28px;align-items:start;margin-top:24px}.gm-mode-example-layout .gm-card-example{margin:0;width:100%;max-width:300px}@media(max-width:650px){.gm-mode-example-layout .gm-mode-examples{grid-template-columns:minmax(0,300px)}}

/* Region configuration screenshot beside its explanation. */
.region-config-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,358px);gap:36px;align-items:start;margin-top:24px}.region-config-copy{min-width:0}.region-config-layout .region-config-example{margin:0;max-width:358px}.region-config-example img{width:auto;max-width:100%;height:auto}@media(max-width:850px){.region-config-layout{grid-template-columns:1fr;gap:22px}}

/* Compact feature summary spacing and vertically centered descriptions. */
.feature-summary-page #summary{border-bottom:0;padding-bottom:20px}.feature-summary-page #overview{padding-top:0}.feature-summary-page #overview .overview-features{margin-top:0}.feature-summary-page #overview .overview-feature:first-child{border-top:0}.feature-summary-page #overview .overview-content{align-self:center}.feature-summary-page #overview .overview-content>p:first-child{margin-top:0}.feature-summary-page #overview .overview-content>p:last-child{margin-bottom:0}

/* Align descriptions below each number and category label. */
@media(min-width:651px){.feature-summary-page #overview .overview-feature{grid-template-rows:auto auto 1fr;row-gap:0}.feature-summary-page #overview .overview-label{display:contents}.feature-summary-page #overview .overview-label .roman{grid-column:1;grid-row:1}.feature-summary-page #overview .overview-label .eyebrow{grid-column:1;grid-row:2}.feature-summary-page #overview .overview-label h3{grid-column:1;grid-row:3}.feature-summary-page #overview .overview-content{grid-column:2;grid-row:3;align-self:start}}
.feature-summary-page #overview{padding-bottom:0}.feature-summary-page #compatibility{border-top:1px solid var(--line);padding-top:48px}

/* Roman numeral, rule and category share one line. */
.feature-summary-page .overview-category{display:flex;align-items:center;gap:12px;margin-bottom:20px}.feature-summary-page .overview-category .roman{margin:0;flex:none}.feature-summary-page .overview-category .eyebrow{margin:0;min-width:0}@media(min-width:651px){.feature-summary-page #overview .overview-feature{grid-template-rows:auto 1fr}.feature-summary-page #overview .overview-category{grid-column:1;grid-row:1}.feature-summary-page #overview .overview-label h3{grid-row:2}.feature-summary-page #overview .overview-content{grid-row:2}}

/* One compact introduction: title, versions, then the summary. */
.feature-summary-page .summary-intro{padding-top:48px;padding-bottom:32px}.feature-summary-page .summary-intro h1{margin:0 0 18px}.feature-summary-page .summary-intro .tags{margin-top:0}.feature-summary-page .summary-intro h2{margin-top:32px;margin-bottom:20px}.feature-summary-page .summary-intro p{max-width:760px;margin-bottom:0}

/* Bring the integrations section closer to the Foundry / Misc introduction. */
.foundry-misc-page .module-hero#summary{padding-bottom:28px}.foundry-misc-page #integrations{padding-top:28px}

/* Separate paragraphs in the Feature Summary introduction. */
.feature-summary-page .summary-intro p+p{margin-top:20px}

/* Class guide additions for v0.8.2. */
.class-feature-group{margin-top:28px;scroll-margin-top:100px}.class-feature-group h4{font:24px var(--serif);color:var(--paper);margin:0 0 14px}.class-feature-group li+li{margin-top:10px}

.class-feature-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 22px;font-size:13px}.class-feature-links a{color:var(--gold);text-decoration:none}.class-feature-links a:hover{text-decoration:underline;text-underline-offset:4px}

/* v1.1.0: original Foundry screenshots, kept readable at their native scale. */
.card-showcase{border-top:1px solid var(--line)}
.card-showcase-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-bottom:48px}
.card-showcase-heading h2{margin-bottom:0}
.card-showcase-heading p,.card-showcase-grid p{color:var(--muted)}
.card-showcase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;align-items:start}
.card-showcase-grid figure{margin:0;min-width:0}
.card-showcase-grid figcaption{min-height:205px}
.card-showcase-grid h3{font:30px/1.15 var(--serif);margin:14px 0}
.card-showcase-grid p{font-size:14px;line-height:1.7}
.card-showcase-grid a{display:block;width:fit-content;max-width:100%;border-radius:5px}
.card-showcase-grid a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}
.card-showcase-grid img{display:block;max-width:100%;width:auto;height:auto;border:1px solid var(--line);border-radius:5px;box-shadow:0 16px 35px #0004}
.card-showcase-note{max-width:740px;margin:36px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.release-back{padding-top:28px}
@media(max-width:900px){.card-showcase-heading{gap:30px}.card-showcase-grid{gap:22px}.card-showcase-grid figcaption{min-height:235px}}
@media(max-width:650px){.card-showcase-heading{grid-template-columns:1fr;gap:16px;margin-bottom:32px}.card-showcase-grid{grid-template-columns:1fr;gap:42px}.card-showcase-grid figcaption{min-height:0;max-width:420px;margin-bottom:22px}.card-showcase-grid img{max-width:min(100%,326px)}}
