#ency-page-content>.ency-character-cards{box-sizing:border-box;width:100%;min-width:0;max-width:none;align-self:stretch}
.hero-gallery{box-sizing:border-box;width:100%;min-width:0;--hero-rule:#8c7550;--hero-accent:#e4bd79;--hero-text:#f1e4cf;--hero-muted:#acb8c1;max-width:72rem;margin:0 auto;padding:clamp(1.1rem,4vw,3.5rem);color:var(--hero-text)}
.hero-gallery h1,.hero-gallery h2{font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.08;color:inherit;margin:0;letter-spacing:-.025em}
.hero-gallery h1{font-size:clamp(2.4rem,5.5vw,4.7rem)}
.hero-race-strip{display:flex;align-items:center;gap:clamp(.3rem,2.5vw,2rem);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid var(--hero-rule);padding:.5rem .1rem .65rem}
.hero-race-button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;flex:0 0 auto;width:clamp(2.75rem,6vw,4.25rem);height:clamp(2.9rem,6.6vw,4.55rem);display:grid;place-items:center;cursor:pointer;color:var(--hero-text);padding:.28rem}
.hero-race-button img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.hero-race-button[aria-pressed=true]{border-bottom-color:var(--hero-accent);background:radial-gradient(ellipse at center,#89b7d21c,transparent 72%)}
.hero-race-button:disabled{opacity:.33;cursor:default}.hero-race-button:focus-visible,.hero-gallery a:focus-visible{outline:2px solid var(--hero-accent);outline-offset:-2px}
.hero-gallery-card{min-width:0;border-bottom:1px solid var(--hero-rule);scroll-margin-top:var(--ency-reader-offset,6rem)}
.hero-gallery-list{display:grid;gap:clamp(1rem,3vw,2.25rem);margin-top:1.2rem}
.hero-card-scene{position:relative;isolation:isolate;display:grid;align-items:center;overflow:hidden;background:#101c25}
.hero-gallery-card:not(.without-portrait) .hero-card-scene{min-height:clamp(19rem,35vw,33rem)}
.hero-gallery-portrait,.hero-gallery-portrait img,.hero-gallery-portrait::after{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-gallery-portrait{z-index:-1}.hero-gallery-portrait img{display:block;object-fit:cover;object-position:center}.hero-gallery-portrait img.character-portrait{object-position:center 7%}
.hero-gallery-portrait::after{content:"";background:linear-gradient(var(--shade-angle,90deg),#07121af5 0%,#07121adb 36%,#07121ab8 57%,#07121a25 88%)}
.hero-gallery-copy{position:relative;box-sizing:border-box;width:min(60%,44rem);min-width:0;padding:clamp(1.3rem,4vw,3.25rem);overflow-wrap:anywhere;color:#fbf2e2}
.hero-gallery-card.is-reverse{--shade-angle:270deg}.hero-gallery-card.is-reverse .hero-gallery-copy{justify-self:end}
.hero-gallery-card.without-portrait .hero-gallery-copy{width:min(100%,70ch);padding-block:1.4rem}
.hero-gallery-copy h2{font:500 clamp(1.85rem,4vw,3.4rem)/1.08 Georgia,'Times New Roman',serif;color:inherit;letter-spacing:-.025em;margin:0}
.hero-description{white-space:pre-line;font:400 clamp(1.05rem,2vw,1.4rem)/1.55 Georgia,'Times New Roman',serif;margin:1.1rem 0 0}
.hero-gallery-copy h2:after{content:"";display:block;width:3.3rem;height:2px;background:var(--hero-accent);margin-top:.8rem}
.hero-gallery-empty,.hero-gallery-muted{color:var(--hero-muted)}
.hero-locked .cms-access-badges{position:static;display:inline-flex;margin:.65rem .5rem 0 0;vertical-align:middle}
.hero-locked .cms-access-badge{width:auto;height:auto;min-height:2.75rem;padding:.45rem .85rem;gap:.5rem;border-radius:.5rem}
.hero-locked-label{font:500 1rem/1.4 system-ui,sans-serif}
.hero-gallery-tools:empty{display:none}.hero-gallery-tools{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.85rem 0 .25rem}
.crm-hero-gallery{width:100%;min-width:0}.crm-hero-gallery .hero-gallery{--hero-rule:#304957;--hero-accent:#84d2e9;--hero-text:#e8eff3;--hero-muted:#a7b9c4;padding:clamp(.8rem,2vw,1.5rem);max-width:none;background:#0c1a25;border:1px solid var(--hero-rule);border-radius:12px}
.crm-hero-gallery .hero-gallery h1{font-size:2.2rem}.crm-hero-gallery .hero-gallery h2{font-size:clamp(1.6rem,2.8vw,2.5rem)}
.crm-hero-gallery .hero-card-scene,.hero-editor-preview .hero-card-scene{border-radius:8px}
.crm-hero-gallery .hero-description{font:inherit;line-height:1.55}
.hero-card-tools{padding:0 .3rem 1rem}
.hero-publication-status{display:inline-block;color:#f0c578;background:#322819;border:1px solid #6c5532;padding:.22rem .6rem;border-radius:99px;font-size:.8rem;margin-bottom:.65rem}
.hero-publication-status[data-status=published]{color:#9ee2bd;border-color:#376650;background:#162d27}
.hero-source-link{display:inline-block;margin-top:.8rem;color:#88d3e7}.hero-publication-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.55rem;margin:.9rem 0 0;border:0;border-top:1px solid var(--hero-rule);padding:.65rem 0 0;min-width:0}
.hero-publication-controls legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.hero-publication-controls label{display:grid;gap:.15rem;color:var(--hero-muted);font-size:.83rem}.hero-publication-controls label[hidden]{display:none}
.hero-publication-controls select,.hero-publication-controls input,.hero-gallery-search{padding:.5rem .65rem;min-height:2.4rem;color:#eaf2f5;background:#132735;border:1px solid #385566;border-radius:6px}
.hero-publication-controls input{width:10rem}.hero-publication-controls button{min-height:2.4rem}.hero-withdraw{background:none;border:0;color:#b5c7d0;text-decoration:underline;cursor:pointer}
.hero-action-message{font-size:.9rem;line-height:1.4}.hero-action-message:empty{display:none}
.cms-editor.showing-chronicle-heroes>.cms-editor-heading,.cms-editor.showing-chronicle-heroes>#cms-message,.cms-editor.showing-chronicle-heroes>#cms-save-floating{display:none}
@media(max-width:640px){
  .hero-gallery{padding:1.1rem}.hero-race-strip{gap:.4rem}
  .hero-gallery-card:not(.without-portrait) .hero-card-scene{min-height:clamp(18rem,95vw,28rem);align-items:end}
  .hero-gallery-copy{width:100%;padding:1.25rem}
  .hero-gallery-card:not(.without-portrait) .hero-gallery-copy{margin-top:4rem;padding-top:4rem;background:linear-gradient(180deg,transparent 0,#07121ac9 3.5rem,#07121ae8 100%)}
  .hero-gallery-portrait::after{background:linear-gradient(180deg,#07121a0a,#07121a40)}

}
.crm-character-views,.hero-editor-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.crm-character-views{margin:0 0 .8rem}.crm-character-views [aria-pressed=true]{color:#ace7f5;border-color:#77c6db;background:#18313e}
.hero-edit-card{margin:.85rem 1rem 0 0}
dialog.hero-card-editor{box-sizing:border-box;width:min(42rem,calc(100vw - 2rem));max-height:90dvh;overflow:auto;padding:clamp(1rem,3vw,1.6rem);color:#e8eff3;background:#101f2b;border:1px solid #3a5868;border-radius:12px}
.hero-card-editor::backdrop{background:#04101bbd}.hero-card-editor h2{margin:0;font-size:1.65rem}.hero-editor-preview{--hero-accent:#e4bd79;margin-top:.65rem;max-height:19rem;overflow:auto}.hero-editor-preview .hero-card-scene{min-height:11rem!important}.hero-editor-preview .hero-gallery-copy{padding:1.2rem}.hero-editor-preview .hero-description{font-size:1rem;line-height:1.45}.hero-editor-preview .hero-gallery-copy h2{font-size:1.65rem}
.hero-edit-fields{display:grid;gap:.8rem;min-width:0;padding:0;margin:0;border:0}.hero-card-editor [hidden]{display:none!important}
.hero-edit-fields label{display:grid;gap:.4rem;color:#cedee5}.hero-edit-fields textarea{box-sizing:border-box;resize:vertical;padding:.65rem;width:100%;font:inherit;line-height:1.45;border-radius:6px;color:#edf2f5;background:#0a1822;border:1px solid #3a5666}
.hero-edit-fields .hero-upload-label{display:inline-flex;position:relative;justify-self:start;align-items:center;min-height:2.5rem;padding:.35rem .8rem;border:1px solid #537582;border-radius:6px;background:#172e3c;color:#a8dbe8;font-weight:600;cursor:pointer}
.hero-editor-hint{color:#afc0ca;font-size:.87rem}.hero-upload-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.hero-upload-label:focus-within{outline:2px solid #8cd3e5;outline-offset:2px}.hero-edit-fields>.secondary-action{justify-self:start}
.hero-editor-actions:last-child{justify-content:flex-end;padding-top:.8rem;border-top:1px solid #304957}.hero-card-editor .hero-action-message{margin:0;color:#c7d7df}

.geo-gallery-card{margin-inline-start:calc(var(--geo-depth,0)*clamp(.4rem,1.8vw,1.55rem))}
.geo-card-location{font:500 .85rem/1.45 system-ui,sans-serif;letter-spacing:.035em;color:#d6be96;margin:0 0 .55rem}
.crm-hero-gallery .geo-card-location{color:#9ed2dd}
