/* Collection layout using the established site-forged classes and assets. Scoped so the existing Chronicle overview stays intact. */
.chronicle-subnav{display:flex;gap:6px;position:sticky;top:0;z-index:20;padding:12px 0;margin:0 0 26px;}
.chronicle-subnav .chronicle-subtab{display:flex;align-items:center;gap:12px;padding:13px 22px;font:600 14px/1.3 system-ui;cursor:pointer}
.chronicle-subnav .chronicle-subtab[aria-selected=true]{}
.subtab-count{min-width:21px;padding:3px 5px;text-align:center;font:500 10px system-ui;}
.chronicle-collection-panel[hidden],.chronicle-overview[hidden]{display:none!important}
.chronicle-masthead.collection-masthead{min-height:105px;max-height:none;overflow:hidden}
body.site-forged.chronicle-page.collection-open .site-nav{position:relative;top:auto}
.collection-masthead .masthead-copy{padding:17px 25px;align-self:center}
.collection-masthead .masthead-portrait,.collection-masthead .masthead-motto,.collection-masthead .masthead-meta{display:none}
.collection-masthead .masthead-seal{margin:0}.collection-masthead .chronicle-crest{width:24px;height:28px}
.collection-masthead h1{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 11px;font-size:clamp(27px,2.5vw,34px);line-height:1.1;margin:7px 0}
.collection-masthead .chronicle-word{font-size:inherit;line-height:inherit}
.collection-masthead .career-link{display:none}
.chronicle-preview-notice{padding:9px 13px;margin:18px 0 8px;font:11px/1.4 system-ui;letter-spacing:.06em}

.collection-album{}
.album-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:24px 0}
.album-kicker{margin:0 0 8px;font:600 10px/1.4 system-ui;letter-spacing:.18em}
.album-heading h2{margin:0 0 8px;font:400 clamp(31px,3.4vw,45px)/1.1 Georgia,serif}
.album-description{max-width:650px;margin:0;font:13px/1.65 system-ui}
.album-completion{min-width:155px;text-align:right;font:15px Georgia}
.album-completion strong{font-size:38px;font-weight:400}
.album-completion progress{display:block;width:100%;height:4px;margin-top:9px}
.album-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:23px;align-items:start}
.album-dungeon-index{padding:15px 0;position:sticky;top:85px;max-height:calc(100vh - 110px);overflow:auto;scrollbar-width:thin;}
.album-index-title{font:600 11px system-ui;letter-spacing:.12em;text-transform:uppercase;margin:0 12px 18px}
.album-index-tier{padding:4px 0}
.album-index-tier:last-child{}
.album-index-tier>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 10px;cursor:pointer;font:600 13px/1.2 Georgia}
.album-index-tier>summary::after{content:'+';font:17px Georgia;margin-left:10px}
.album-index-tier[open]>summary::after{content:'−'}
.album-index-tier>summary small{font:10px system-ui;margin-left:auto}
.album-tier-dungeons{display:grid;gap:3px;padding:0 0 8px}
.collection-album .album-dungeon-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;width:100%;padding:10px;text-align:left;font:12px/1.35 system-ui;cursor:pointer}
.album-dungeon-button small{font-size:10px;white-space:nowrap}
.collection-album .album-dungeon-button[aria-current=true]{}
.collection-album .album-dungeon-button:hover{}
.mobile-dungeon-select{display:none}

.album-book{position:relative;padding:0 25px;}
.album-book::after{content:'';position:absolute;pointer-events:none;top:10px;bottom:10px;right:7px;}
.album-book-heading{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:122px;padding:24px 0 22px;overflow:hidden}
.album-book-heading>div{position:relative;z-index:1}
.trophy-book .album-book-heading{min-height:93px;padding:18px 0}
.album-book-heading h3{margin:7px 0 0;font:400 clamp(27px,3vw,39px)/1.05 Georgia,serif}
.album-chapter{margin:0;font:700 10px/1.5 system-ui;letter-spacing:.13em;text-transform:uppercase}
.chapter-scenery{position:absolute;z-index:0;inset:0 0 0 auto;width:58%;height:100%;object-fit:cover;object-position:center 60%;opacity:.28;mask-image:linear-gradient(to right,transparent,#000 65%)}
.chapter-completion{text-align:right;min-width:94px;align-self:center}
.chapter-completion strong{display:block;font:400 24px/1 Georgia}
.chapter-completion span{display:block;font:10px system-ui;margin:6px 0 8px}
.chapter-completion progress{width:95px;height:4px;}
.album-toolbar,.trophy-toolbar{display:flex;align-items:center;gap:12px;padding:17px 0 13px}
.collection-album .album-toolbar input,.collection-album .album-toolbar select,.collection-album .trophy-toolbar select{padding:11px 12px;font:12px/1.4 system-ui;min-height:42px;color-scheme:dark;}
.album-toolbar input{flex:1;min-width:0}.album-toolbar input::placeholder{}
.trophy-toolbar{justify-content:space-between}.trophy-toolbar p{margin:0;font:12px/1.5 Georgia}
.album-results-status{font:11px/1.5 system-ui;margin:0 0 15px;min-height:17px}
.album-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.collection-album .album-slot{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0;padding:0;text-align:center;cursor:pointer;overflow:hidden;min-height:285px}
.collection-album .album-slot:hover{transform:translateY(-2px)}
.slot-topline{display:flex;align-items:center;justify-content:space-between;gap:3px;margin:10px 9px 0;font:9px/1.2 system-ui;text-transform:uppercase;letter-spacing:.03em}
.slot-number{font-family:Georgia;font-size:11px;}.slot-role{font-size:9px;text-align:right}
.slot-painting{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:174px;padding:12px 9px 4px;margin:8px 8px 0;}
.slot-painting::after{content:'';position:absolute;width:65%;height:9px;bottom:2px;z-index:0}
.slot-monster{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;}
.is-locked .slot-monster,.locked-detail-painting .slot-monster{opacity:.88}
.slot-caption{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 9px 14px;flex:1}
.slot-caption::before{content:'';width:32px;margin:0 0 4px}
.slot-name{font:400 16px/1.12 Georgia,serif;overflow-wrap:anywhere;}
.is-locked .slot-name{font:400 23px/1.15 Georgia;letter-spacing:.12em;}
.slot-record,.slot-dungeon{font:10px/1.4 system-ui;}
.slot-record{margin-top:auto;padding-top:4px}.is-recorded .slot-record{}
.slot-dungeon{font-size:10px}
.slot-earned-seal{position:absolute;z-index:2;top:27px;right:7px;display:grid;place-items:center;width:19px;height:19px;font:13px Georgia;}
.is-trophy .slot-painting{height:195px}.collection-album .is-trophy{min-height:325px}.is-trophy .slot-name{font-size:17px}.is-trophy.is-locked .slot-name{font-size:25px}
.album-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 0;padding:17px 0 20px;}
.album-page-range{margin:0;font:11px/1.5 Georgia}.album-page-controls{display:flex;align-items:center;gap:13px}.album-page-number{font:12px Georgia;white-space:nowrap}
.collection-album .album-page-button{padding:9px 11px;min-height:39px;font:11px system-ui;cursor:pointer}
.collection-album .album-page-button:hover{}.collection-album .album-page-button:disabled{opacity:.4;cursor:default}
.album-empty{grid-column:1/-1;padding:50px 15px 65px;text-align:center;}.album-empty h4{font:400 24px Georgia;margin:0 0 10px}.album-empty p{font:13px system-ui}

.creature-dialog{width:min(1040px,calc(100vw - 40px));max-height:90vh;padding:0;color-scheme:dark}
.creature-dialog::backdrop{backdrop-filter:blur(4px)}
.creature-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 28px;}
.creature-detail-heading h2{font:400 31px/1.1 Georgia;margin:6px 0 0;}
.creature-dialog .creature-close{min-height:40px;flex-shrink:0;padding:9px 14px;font:12px system-ui;cursor:pointer}
.creature-detail-body{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:24px 28px;max-height:72vh;overflow:auto}
.creature-painting{position:sticky;top:0;align-self:start;min-height:330px;display:flex;align-items:center;justify-content:center;}
.creature-full-art{width:100%;height:auto;max-height:540px;object-fit:contain;}
.creature-detail-info>p{font:13px/1.6 system-ui;margin:0 0 8px}.creature-detail-info .creature-kill-count{font-size:15px;margin-top:14px}
.creature-detail-info .creature-classification,.creature-detail-info .creature-record-date{font-size:11px;}
.creature-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:24px 0}
.creature-stat-grid>div{padding:11px 10px;}.creature-stat-grid dt{font:10px system-ui;}.creature-stat-grid dd{font:400 24px Georgia;margin:6px 0 0;}
.creature-affinities h3{font:400 22px Georgia;margin:25px 0 12px;}
.creature-affinities>div{display:flex;justify-content:space-between;padding:8px 0;font:11px system-ui;}.creature-affinities strong{}
.locked-entry-detail{position:relative;padding:35px 40px 45px;text-align:center}.locked-entry-detail>.creature-close{position:absolute;right:18px;top:18px}.locked-entry-detail>.album-chapter{padding-top:25px}.locked-detail-painting{height:280px;margin:22px auto 0;max-width:330px}.locked-entry-detail h2{font:400 41px Georgia;letter-spacing:.13em;margin:15px 0}.locked-entry-detail>p:not(.album-chapter){font:14px/1.6 system-ui;margin:8px auto;max-width:440px}
.album-slot:focus-visible,.album-dungeon-button:focus-visible,.chronicle-subtab:focus-visible{outline:3px solid var(--forge-gold-light)!important;outline-offset:3px}

@media(max-width:1150px){.album-layout{grid-template-columns:175px minmax(0,1fr);gap:16px}.album-book{padding:0 18px}.album-grid{gap:9px}.slot-painting{height:160px}.slot-name{font-size:15px}.slot-topline{margin:9px 7px 0}.slot-role{font-size:7px}.collection-album .album-slot{min-height:270px}}
@media(max-width:950px){.bestiary-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.trophy-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.slot-painting{height:170px}.album-book-heading h3{font-size:30px}.album-description{max-width:520px}.album-pagination{flex-wrap:wrap}.album-page-controls{margin-left:auto}}
@media(max-width:700px){
 #career-content{padding-left:14px;padding-right:14px}
 .chronicle-subnav{gap:5px;padding:9px 0;margin-bottom:16px}.chronicle-subnav .chronicle-subtab{padding:11px 10px;font-size:11px;gap:7px;white-space:nowrap;flex:1;justify-content:center}.subtab-count{font-size:9px;padding:2px 4px;min-width:16px}
 .chronicle-masthead.collection-masthead{min-height:98px}.collection-masthead .masthead-copy{padding:16px 18px}.collection-masthead h1{font-size:27px}
 .album-heading{margin:20px 0;align-items:flex-start;gap:18px}.album-heading h2{font-size:31px}.album-kicker{font-size:8px;letter-spacing:.13em}.album-description{font-size:11px;line-height:1.65}.album-completion{min-width:75px;font-size:11px}.album-completion strong{font-size:29px}
 .album-layout{display:block}.album-dungeon-index{position:static;max-height:none;padding:0 0 14px;overflow:visible}.album-index-groups,.album-index-title{display:none}
 .collection-album .mobile-dungeon-select{display:block;width:100%;padding:12px;font:12px system-ui}
 .album-book{padding:0 13px;}.album-book-heading{min-height:109px;padding:20px 0;gap:12px}.album-book-heading h3{font-size:28px}.album-chapter{font-size:8px;letter-spacing:.1em}.chapter-completion{min-width:65px}.chapter-completion strong{font-size:22px}.chapter-completion progress{width:68px}.chapter-completion span{font-size:9px}
 .album-toolbar{display:grid;grid-template-columns:1fr;padding-top:14px;gap:8px}.collection-album .album-toolbar input,.collection-album .album-toolbar select{font-size:11px;padding:10px}.album-results-status{font-size:9px;line-height:1.7}
 .album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.slot-painting{height:170px}.slot-topline{margin:10px 9px 0}.slot-role{font-size:7px}.slot-name{font-size:17px}.slot-caption{padding:9px 10px 13px}.collection-album .album-slot{min-height:285px}.slot-record{font-size:9px}.is-trophy .slot-painting{height:195px}.collection-album .is-trophy{min-height:325px}
 .album-pagination{gap:10px;justify-content:center;padding-bottom:16px}.album-page-range{font-size:10px;text-align:center;width:100%}.album-page-controls{margin:0;gap:15px}.collection-album .album-page-button{font-size:10px}.album-page-number{font-size:11px}
 .trophy-toolbar{gap:12px}.trophy-toolbar p{font-size:11px}.collection-album .trophy-toolbar select{font-size:11px;padding:9px}
 .creature-dialog{width:calc(100vw - 22px);max-height:93vh}.creature-detail-heading{padding:18px 16px;gap:12px}.creature-detail-heading h2{font-size:25px}.creature-detail-body{display:block;padding:16px;max-height:74vh}.creature-painting{position:static;min-height:210px;margin-bottom:20px}.creature-full-art{max-height:300px}.creature-dialog .creature-close{font-size:11px;padding:9px}.locked-entry-detail{padding:30px 20px}.locked-detail-painting{height:240px}
}
@media(prefers-reduced-motion:reduce){.collection-album *,.chronicle-subnav *{animation:none!important;transition:none!important}.collection-album .album-slot:hover{transform:none}}

/* Backlighting keeps undiscovered silhouettes readable without revealing color. */
.collection-album .is-locked .slot-painting{}
.collection-album .slot-caption{margin-top:8px}
.collection-album .slot-name{font-size:18px}.collection-album .is-locked .slot-name{font-size:25px}
.collection-album .slot-record{font-size:11px}.collection-album .slot-dungeon{font-size:11px}
.locked-detail-painting{}

/* Shared branding: panel, monster-card, dungeon-sidebar and monster-dialog
   are painted by the existing site-forged.css. No new frame or theme. */
.collection-album{color:#eee5e6}
.collection-album :is(.album-heading h2,.album-book-heading h3,.slot-name){color:var(--forge-gold-light)}
.collection-album :is(.album-kicker,.album-chapter,.album-index-title,.album-index-tier>summary,.album-completion strong){color:var(--forge-gold)}
.collection-album :is(.album-description,.album-results-status,.slot-record,.slot-dungeon,.slot-topline,.slot-number,.slot-role,.album-page-range,.album-page-number,.chapter-completion){color:var(--forge-muted)}
.collection-album progress{accent-color:var(--forge-gold)}
body.site-forged .collection-album .album-book{border-width:8px;border-image-width:12px;border-radius:0}
body.site-forged .collection-album .album-slot{--rarity:var(--forge-gold);border-width:8px;border-image-width:12px;border-radius:0}
body.site-forged .collection-album .album-slot:hover{transform:none}
.collection-album .slot-painting{background:radial-gradient(ellipse at 50% 58%,#f0d49a14,transparent 72%)}
.collection-album .is-locked .slot-painting{background:radial-gradient(ellipse at 50% 56%,#c1b3c733,transparent 76%)}
.collection-album .slot-monster{filter:drop-shadow(0 5px 4px #0009)}
.collection-album .is-locked .slot-monster,.locked-detail-painting .slot-monster{filter:brightness(0) drop-shadow(0 0 1px #c5a46699);opacity:.88}
.collection-album .slot-caption{border-top:1px solid #947b4c44}
.collection-album .slot-caption::before{border-top:1px solid #947b4c55}
.collection-album .slot-earned-seal{border:1px solid var(--forge-gold);background:#241a2a;color:var(--forge-gold-light);border-radius:50%}
.collection-album :is(.album-book-heading,.album-pagination,.album-index-tier){border-color:#947b4c55}
.collection-album .album-book-heading{border-bottom:1px solid #947b4c55}
.collection-album .album-pagination{border-top:1px solid #947b4c55}
.collection-album .album-index-tier{border-top:1px solid #947b4c44}
.collection-album .album-index-tier>summary::after{color:var(--forge-gold)}
body.site-forged .collection-album .album-dungeon-index{top:85px;padding:16px 12px;max-height:calc(100vh - 110px)}
.collection-album .album-dungeon-button[aria-current=true]{border-left:3px solid var(--forge-gold-light);color:var(--forge-gold-light)}
.collection-album .album-dungeon-button small{color:var(--forge-muted)}
.collection-album :is(.album-toolbar input,.album-toolbar select,.trophy-toolbar select,.mobile-dungeon-select){border:1px solid #8b734c;border-radius:1px;color:#ecdbb6;background:linear-gradient(#28232ad9,#110e18f2),var(--forge-stone) center/350px}
.collection-album .album-toolbar input::placeholder{color:var(--forge-muted)}
.chronicle-subnav{background:linear-gradient(#080a0cf5,#08090af5),var(--forge-stone) center/512px;border-bottom:1px solid #947b4c55}
.chronicle-subnav .chronicle-subtab{border:1px solid #967b4c;border-radius:1px}
.chronicle-subnav .chronicle-subtab[aria-selected=true]{color:var(--forge-gold-light);box-shadow:inset 0 -3px var(--forge-gold)}
.subtab-count{color:var(--forge-gold);background:#120e1a;border-radius:1px}
.creature-dialog{color:#eee5e6}
.creature-detail-heading{border-bottom:1px solid #947b4c55}
.creature-dialog :is(h2,h3,.creature-kill-count){color:var(--forge-gold-light)}
.creature-dialog :is(p,dt,.creature-record-date,.creature-classification){color:var(--forge-muted)}
.creature-dialog .album-chapter{color:var(--forge-gold)}
.creature-dialog .creature-close{border:1px solid #967b4c;border-radius:1px}
.creature-dialog :is(.creature-stat-grid>div,.creature-affinities>div){border:1px solid #947b4c44}
.creature-stat-grid>div{background:#18101ed9}
.creature-dialog :is(dd,.creature-affinities strong){color:#ecdbb6}
.creature-dialog::backdrop{background:#030208d9;backdrop-filter:blur(4px)}
.locked-detail-painting{background:radial-gradient(ellipse,#c1b3c722,transparent 72%)}
.creature-entry-navigation{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 18px;padding:13px 20px;border-top:1px solid #947b4c55;background:#120e1a}
.creature-entry-button{min-height:44px;padding:10px 16px;font:13px Georgia,serif;cursor:pointer}
.creature-entry-button:disabled{opacity:.38;cursor:default}
.creature-entry-position{display:grid;gap:3px;text-align:center;min-width:0}
.creature-entry-position strong{color:var(--forge-gold-light);font:14px Georgia,serif}
.creature-entry-position span{color:var(--forge-muted);font:11px/1.4 system-ui}
.creature-entry-status{grid-column:1/-1;text-align:center;font:11px/1.5 system-ui;margin:0;color:var(--forge-muted)}
.creature-entry-status:empty{display:none}
.creature-dialog:has(.creature-entry-navigation) .creature-detail-body{max-height:calc(90vh - 185px)}
@media(max-width:700px){
 body.site-forged .collection-album .album-book,body.site-forged .collection-album .album-slot{border-width:5px;border-image-width:8px}
 body.site-forged .collection-album .album-dungeon-index{position:static;max-height:none;padding:9px}
 .creature-entry-navigation{gap:8px;padding:11px 10px}
 .creature-entry-button{padding:9px 11px;font-size:11px}
 .creature-entry-position strong{font-size:12px}.creature-entry-position span{font-size:10px}
 .creature-dialog:has(.creature-entry-navigation) .creature-detail-body{max-height:calc(93vh - 185px)}
}

/* Art and collection progress, in the existing forged-stone palette. */
.album-completed-dungeons{font:11px/1.6 system-ui;color:var(--forge-gold);margin:12px 0 0}
.collection-album .album-dungeon-button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}
.album-dungeon-button progress{grid-column:1/-1;width:100%;height:3px;opacity:.75}
.chapter-completion{position:relative}
.chapter-laurel{position:absolute;right:110px;top:0;width:44px;height:44px}
:is(.chapter-laurel,.trophy-laurel,.trophy-total-laurel,.empty-laurel,.trophy-record-laurel){fill:none;stroke:var(--forge-gold);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.chapter-completion.is-complete :is(strong,span){color:var(--forge-gold-light)}
.bestiary-slot-grid .slot-painting{height:194px;padding:8px 3px 0}
.collection-album .bestiary-slot-grid .slot-name{font-size:17px}
.trophy-total{display:grid;grid-template-columns:48px auto;align-items:center;gap:3px 13px;flex-shrink:0}
.trophy-total-laurel{grid-row:1/3;width:48px;height:48px}
.trophy-total strong{font:400 38px/1 Georgia;color:var(--forge-gold-light)}
.trophy-total span{font:11px system-ui;color:var(--forge-muted)}
.trophy-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:5px 0 10px}
body.site-forged .collection-album .trophy-plaque{min-height:350px;border-width:8px;border-image-width:12px}
.trophy-painting{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;height:225px;overflow:hidden;background:radial-gradient(ellipse at 50% 65%,#c5a46622,transparent 70%)}
.trophy-scenery{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;opacity:.23;mask-image:linear-gradient(#0009,#000 40%,transparent)}
.trophy-monster{width:100%;height:100%;object-fit:contain;padding:14px 12px 0;filter:drop-shadow(0 7px 4px #000)}
.trophy-inscription{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;padding:14px 12px 17px;border-top:1px solid #947b4c77;background:#120e1aaa}
.trophy-dungeon{color:var(--forge-muted);font:10px/1.4 system-ui}
.trophy-name{font:400 21px/1.1 Georgia;color:var(--forge-gold-light);overflow-wrap:anywhere}
.trophy-victories{display:grid;grid-template-columns:28px auto auto;align-items:center;justify-content:center;gap:7px;margin-top:auto;padding-top:7px;color:var(--forge-gold)}
.trophy-victories strong{font:400 26px/1 Georgia;color:var(--forge-gold-light)}
.trophy-victories>span{font:11px system-ui}.trophy-laurel{width:28px;height:28px}
.trophy-date{font:10px/1.5 system-ui;color:var(--forge-muted)}
.empty-laurel{width:76px;height:76px;opacity:.6;margin-bottom:16px}
.trophy-empty h3{font:400 29px Georgia;color:var(--forge-gold-light);margin:0}
.trophy-empty p{color:var(--forge-muted);line-height:1.7;max-width:360px;margin:15px auto 25px}
.creature-detail-body{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:28px;padding:20px 24px}
.creature-painting{position:relative;isolation:isolate;min-height:400px;overflow:hidden;align-self:stretch}
.creature-habitat{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22;mask-image:radial-gradient(ellipse,#000 15%,transparent 73%)}
.creature-full-art{position:relative;max-height:500px;filter:drop-shadow(0 8px 6px #000b)}
.creature-detail-info{padding:22px 0 10px}
.creature-detail-info .creature-home{color:var(--forge-gold-light);font:24px/1.15 Georgia;margin-bottom:12px}
.creature-record{display:flex;flex-direction:column;gap:5px;padding:23px 0;margin:20px 0 16px;border-block:1px solid #947b4c55}
.creature-record strong{color:var(--forge-gold-light);font:400 44px/1 Georgia}
.creature-record span{color:var(--forge-muted);font:11px system-ui}
.creature-facts{border-top:1px solid #947b4c55;margin-top:27px;padding-top:15px}
.creature-facts>summary{color:var(--forge-gold);font:16px Georgia;cursor:pointer;padding:8px 0}
.creature-facts .creature-stat-grid{margin:16px 0}
.creature-facts .creature-stat-grid dd{font-size:20px}
.trophy-record{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:350px;padding:10px 0}
.trophy-record-laurel{width:78px;height:78px;margin-bottom:24px}
.trophy-record .album-chapter{font-size:9px}
.trophy-record-count{color:var(--forge-gold-light);font:400 84px/1 Georgia;margin-top:17px}
.trophy-record .trophy-record-label{color:var(--forge-gold-light);font:24px Georgia;margin:5px 0 16px}
.trophy-record .trophy-record-dungeon{color:var(--forge-gold);font:21px Georgia;margin:24px 0 0}
@media(max-width:1150px){.trophy-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bestiary-slot-grid .slot-painting{height:180px}}
@media(max-width:700px){
 .album-completed-dungeons{font-size:10px;margin-top:9px}.chapter-laurel{display:none}
 .trophy-total{grid-template-columns:auto;gap:3px;text-align:center;min-width:73px}.trophy-total-laurel{display:none}.trophy-total strong{font-size:31px}.trophy-total span{font-size:9px;max-width:73px}
 .trophy-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.site-forged .collection-album .trophy-plaque{min-height:305px;border-width:5px;border-image-width:8px}
 .trophy-painting{height:168px}.trophy-inscription{padding:12px 7px;gap:7px}.trophy-name{font-size:18px}.trophy-dungeon{font-size:9px}.trophy-date{font-size:9px}.trophy-victories{gap:5px}.trophy-victories strong{font-size:23px}.trophy-victories>span{font-size:10px}
 .bestiary-slot-grid .slot-painting{height:180px}.collection-album .bestiary-slot-grid .slot-name{font-size:17px}
 .creature-detail-body{display:block;padding:16px}.creature-painting{min-height:280px;margin:0}.creature-full-art{max-height:340px}.creature-detail-info{padding:15px 3px}.creature-detail-info .creature-home{font-size:24px}.creature-record{margin:16px 0;padding:16px 0}.creature-record strong{font-size:36px}
 .trophy-record{min-height:0;padding:16px 0 10px}.trophy-record-laurel{display:none}.trophy-record-count{font-size:64px}.trophy-record .trophy-record-dungeon{margin-top:15px}
}

.creature-preview-art{position:absolute;width:100%;height:100%;max-height:500px;object-fit:contain;filter:drop-shadow(0 8px 6px #000b)}
.creature-painting:not(.art-ready) .creature-full-art{opacity:0}
@media(max-width:700px){.creature-preview-art{max-height:340px}}

.collection-album .album-pagination[hidden]{display:none}

/* Restore the established Dungeon Atlas presentation inside the personal collection. */
.bestiary-atlas-layout{grid-template-columns:244px minmax(0,1fr);gap:22px;margin-top:8px;scroll-margin-top:85px}
.atlas-dungeon-banner{scroll-margin-top:85px}
.bestiary-catalogue .album-dungeon-index{top:72px;max-height:calc(100vh - 92px);padding:0 14px 16px}
.atlas-index-heading{position:sticky;top:0;z-index:3;padding:23px 4px 16px;background:#14101b}
.atlas-index-heading .album-kicker{font-size:10px;color:#cdb573;margin:0 0 5px}
.atlas-index-heading h3{font:700 20px/1.15 Georgia,serif;color:#f4da9a;margin:0}
.atlas-tier-label{display:flex;justify-content:space-between;gap:12px;font:700 11px/1.4 system-ui;text-transform:uppercase;color:#f0d582;letter-spacing:.07em;margin:17px 2px 8px}
.atlas-tier-label small{font-size:10px;font-weight:400;color:#c8bda9;letter-spacing:0}
.bestiary-catalogue .atlas-tier-group{padding:0;border:0}
.bestiary-catalogue .album-tier-dungeons{gap:5px;padding:0}
.bestiary-catalogue .album-dungeon-button{min-height:38px;padding:9px 11px;color:#e1d7bf;border:1px solid #8a7546;background:linear-gradient(#231e29,#100e16);font:600 12px/1.25 system-ui}
.bestiary-catalogue .album-dungeon-button[aria-current=true]{border-color:#e2d69e;background:linear-gradient(100deg,#193326,#11251d);box-shadow:inset 3px 0 #b2e5aa;color:#f1f3d7}
.bestiary-catalogue .album-dungeon-button:hover{background:#302737;color:#fff1c8}
.bestiary-catalogue .bestiary-book{padding:0;min-width:0;background:none!important;border:0!important;border-image:none!important;box-shadow:none!important}
.bestiary-catalogue .bestiary-book::before,.bestiary-catalogue .bestiary-book::after{display:none}
.atlas-dungeon-banner{position:relative;isolation:isolate;min-height:280px;overflow:hidden;margin:0;padding:0!important}
.atlas-banner-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%;opacity:1;z-index:0}
.atlas-banner-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#07080dec 0%,#08090bb0 50%,#08090b16 100%),linear-gradient(0deg,#07080de8,transparent 70%)}
.atlas-dungeon-copy{position:relative;z-index:2;padding:31px 32px 72px;max-width:85%}
.atlas-dungeon-meta{display:flex;gap:7px;flex-wrap:wrap}
.atlas-dungeon-meta>span{font:700 9px/1.3 system-ui;padding:5px 7px;color:#e9e1e9;background:#090b0f99;border:1px solid #777075}
.atlas-dungeon-meta .atlas-tier-pill{color:#c8efad;border-color:#91ac61}
.site-forged .bestiary-catalogue .atlas-dungeon-title{font:700 clamp(36px,4.1vw,57px)/1.02 Georgia,serif;color:#f6dfa3;margin:12px 0 9px;text-shadow:0 2px 5px #000}
.atlas-dungeon-description{font:13px/1.6 system-ui;color:#e8e0df;margin:0;max-width:650px}
.atlas-dungeon-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}
.atlas-dungeon-facts>span{padding:6px 8px;background:#0a0912b5;color:#dcd3d7;font:10px/1.3 system-ui}
.atlas-dungeon-facts strong{color:#e5c966;font-weight:700}
.atlas-dungeon-stepper{position:absolute;z-index:3;bottom:16px;left:24px;right:24px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.atlas-dungeon-stepper>span{text-align:center;font:10px/1.4 system-ui;color:#d0c5d6}
.atlas-dungeon-stepper button{min-height:36px;padding:8px 12px;font-size:11px}
.bestiary-catalogue .atlas-monster-toolbar{display:grid;grid-template-columns:minmax(170px,1fr) minmax(110px,.34fr) minmax(110px,.34fr) auto;gap:10px;padding:18px 17px;margin:18px 0 0}
.atlas-filter-label{display:grid;gap:6px;min-width:0;font:700 9px/1.3 system-ui;letter-spacing:.07em;color:#c9b87f}
.bestiary-catalogue .atlas-filter-label input,.bestiary-catalogue .atlas-filter-label select{width:100%;min-width:0;height:40px;font:12px/1.3 system-ui;padding:9px 10px}
.atlas-clear-filters{align-self:end;min-height:40px;font-size:11px;white-space:nowrap}
.atlas-collection-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:27px 2px 15px}
.atlas-collection-heading .album-kicker{font-size:9px;color:#ccb681;margin:0 0 6px}
.atlas-collection-heading h3{font:700 clamp(25px,2.8vw,35px)/1.1 Georgia,serif;color:#f2d79d;margin:0}
.atlas-collection-heading .album-results-status{font-size:10px;margin:0 0 3px;text-align:right;min-height:0}
.bestiary-catalogue .bestiary-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.bestiary-catalogue .album-slot{min-height:365px;text-align:left;background:linear-gradient(150deg,#241d2c,#100e16 62%);border-color:#9d7b3b}
.bestiary-catalogue .slot-topline{position:absolute;z-index:3;top:12px;left:12px;right:12px;margin:0;align-items:start}
.bestiary-catalogue .slot-role:not(:empty){padding:4px 7px;border:1px solid #984f60;background:#330f1bbd;color:#ffbdc8;border-radius:20px;font:700 8px/1.2 system-ui;letter-spacing:.05em}
.atlas-size-badge:not(:empty){margin-left:auto;border:1px solid #488ba5;border-radius:18px;padding:3px 6px;background:#071c27bf;color:#bceaff;font:700 8px/1.2 system-ui;text-transform:none}
.bestiary-catalogue .slot-painting{height:clamp(205px,18vw,265px);margin:4px 8px 0;padding:24px 11px 0;background:radial-gradient(ellipse at 50% 62%,#74604c22,transparent 68%)}
.bestiary-catalogue .slot-monster{filter:drop-shadow(0 8px 7px #0009);object-position:center bottom}
.bestiary-catalogue .is-locked .slot-monster{filter:brightness(0) drop-shadow(0 0 2px #d0b56a80);opacity:.96}
.bestiary-catalogue .slot-caption{align-items:stretch;gap:4px;padding:13px 14px 15px;background:linear-gradient(#0e0c14db,#090910)}
.bestiary-catalogue .slot-caption::before{display:none}
.bestiary-catalogue .slot-name{font:700 18px/1.15 Georgia,serif;color:var(--creature-rarity);text-align:left;margin:0}
.atlas-card-level{font:800 8px/1.2 system-ui;letter-spacing:.1em;color:var(--creature-rarity);text-transform:uppercase}
.atlas-card-family{font:10px/1.4 system-ui;color:#c7bace}
.atlas-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}
.atlas-card-stats>span{display:flex;flex-direction:column;gap:3px;text-align:center;padding:7px 2px;border:1px solid #635268;background:#08070e}
.atlas-card-stats strong{color:#f0e9ed;font:700 11px/1.2 system-ui}
.atlas-card-stats>span>span{color:#c2b6c9;font:8px/1.2 system-ui}
.atlas-card-traits{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.atlas-card-traits>span{padding:4px 5px;background:#22192d;color:#d6c2eb;font:700 7px/1.2 system-ui;text-transform:uppercase}
.bestiary-catalogue .is-locked .slot-caption{justify-content:center;min-height:116px}
.bestiary-catalogue .is-locked .slot-name{text-align:center;font-size:21px;color:#dfc88e;letter-spacing:.15em}
@media(max-width:1100px){.bestiary-atlas-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}.bestiary-catalogue .atlas-monster-toolbar{grid-template-columns:minmax(150px,1fr) 110px 110px}.atlas-clear-filters{grid-column:1/-1}.atlas-dungeon-copy{max-width:95%;padding-left:24px;padding-right:24px}.bestiary-catalogue .bestiary-slot-grid{gap:12px}.bestiary-catalogue .slot-caption{padding:12px 10px}.bestiary-catalogue .slot-name{font-size:16px}}
@media(max-width:850px){.bestiary-atlas-layout{grid-template-columns:1fr}.bestiary-catalogue .album-dungeon-index{position:relative;top:auto;max-height:none;padding:16px}.atlas-index-heading{position:static;padding:0 0 12px;background:none}.bestiary-catalogue .album-index-groups{display:none}.bestiary-catalogue .mobile-dungeon-select{display:block;width:100%;min-height:44px}.bestiary-catalogue .bestiary-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-dungeon-banner{min-height:265px}}
@media(max-width:600px){.bestiary-catalogue .bestiary-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bestiary-catalogue .slot-painting{height:190px;padding:24px 5px 0;margin:3px 5px 0}.bestiary-catalogue .album-slot{min-height:318px}.bestiary-catalogue .atlas-monster-toolbar{grid-template-columns:1fr 1fr;padding:15px}.atlas-filter-label:first-child{grid-column:1/-1}.atlas-dungeon-copy{padding:23px 20px 76px;max-width:100%}.atlas-dungeon-title{font-size:36px}.atlas-dungeon-description{font-size:12px}.atlas-dungeon-stepper{left:17px;right:17px;gap:7px}.atlas-dungeon-stepper button{padding:7px 9px;font-size:10px}.atlas-collection-heading{align-items:start;flex-direction:column;gap:9px;margin-top:24px}.atlas-collection-heading h3{font-size:29px}.bestiary-catalogue .slot-name{font-size:16px}.atlas-card-stats{gap:3px}.atlas-card-stats>span{padding:6px 1px}.bestiary-catalogue .slot-topline{left:8px;right:8px;top:9px}.bestiary-catalogue .slot-role:not(:empty){font-size:7px;padding:3px 4px}.atlas-size-badge:not(:empty){font-size:7px}}

/* Established purple cabinet, with restrained identity-colored light. */
.bestiary-catalogue .album-slot{background:linear-gradient(150deg,#23182e,#140f1d 67%);}
.bestiary-catalogue .slot-painting.creature-art-stage{margin:4px 2px 0;padding:0;isolation:isolate;background:linear-gradient(155deg,#261a32,#17121f 68%,#120e19);overflow:hidden;}
.creature-art-stage{--monster-glow:131 113 153;}
.bestiary-catalogue .slot-painting.creature-art-stage::before,.creature-dialog .creature-art-stage::before{content:'';position:absolute;inset:13% 0 -8%;z-index:0;background:radial-gradient(ellipse at 50% 68%,rgb(var(--monster-glow)/.30),rgb(var(--monster-glow)/.13) 34%,transparent 70%);pointer-events:none;}
.bestiary-catalogue .slot-painting.creature-art-stage::after{inset:auto 0 0;width:auto;height:24%;background:linear-gradient(transparent,#140f1d);z-index:2;pointer-events:none;}
.bestiary-catalogue .creature-art-stage .slot-monster{position:absolute;max-width:none;max-height:none;object-fit:fill;object-position:initial;z-index:1;filter:drop-shadow(0 8px 7px #000b);}
.bestiary-catalogue .is-locked .creature-art-stage{--monster-glow:121 103 148!important;}
.bestiary-catalogue .is-locked .creature-art-stage .slot-monster{filter:brightness(0) drop-shadow(0 0 2px #d0b56a80);opacity:.96;}
.bestiary-catalogue .slot-caption{background:linear-gradient(#160f20,#100c18);}
.collection-album.bestiary-catalogue .is-recorded .slot-name,.collection-album.bestiary-catalogue .is-recorded .atlas-card-level{color:var(--creature-rarity);}
.creature-dialog .creature-art-stage{position:relative;min-height:0;height:420px;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#251a30,#130e1c);}
.creature-dialog .creature-art-stage .creature-full-art,.creature-dialog .creature-art-stage .creature-preview-art{position:absolute;max-width:none;max-height:none;object-fit:fill;z-index:1;filter:drop-shadow(0 10px 9px #000a);}
@media(max-width:700px){.creature-dialog .creature-art-stage{height:290px;}}

/* Bestiary browsing keeps the window and navigation still between entries.
   Trophy dialogs retain their existing layout. */
.creature-dialog[open]:not(.is-trophy-view){display:flex;flex-direction:column;box-sizing:border-box;height:min(800px,90vh);height:min(800px,90dvh);overflow:hidden;}
.creature-dialog[open]:not(.is-trophy-view)>.creature-detail{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;}
.creature-dialog[open]:not(.is-trophy-view) .creature-detail-heading{flex:0 0 auto;}
.creature-dialog[open]:not(.is-trophy-view) .creature-detail-body{flex:1 1 0;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.creature-dialog[open]:not(.is-trophy-view)>.locked-entry-detail{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.creature-dialog[open]:not(.is-trophy-view)>.creature-entry-navigation{position:relative;flex:0 0 auto;grid-template-columns:112px minmax(0,1fr) 112px;grid-template-rows:44px 17px;gap:5px 18px;}
.creature-dialog[open]:not(.is-trophy-view) .creature-entry-button{white-space:nowrap;}
.creature-dialog[open]:not(.is-trophy-view) .creature-entry-position span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.creature-dialog[open]:not(.is-trophy-view) .creature-entry-status{display:block;min-height:17px;line-height:17px;}
@media(max-width:700px){
 .creature-dialog[open]:not(.is-trophy-view){height:93vh;height:93dvh;}
 .creature-dialog[open]:not(.is-trophy-view)>.creature-entry-navigation{grid-template-columns:84px minmax(0,1fr) 84px;column-gap:8px;}
 .creature-dialog[open]:not(.is-trophy-view) .creature-entry-button{padding:9px 6px;}
 .creature-dialog[open]:not(.is-trophy-view) .creature-entry-position strong{font-size:11px;white-space:nowrap;}
}

/* The same framed Dungeon Atlas, with real tier groups on small screens. */
.bestiary-catalogue .atlas-tier-group>.atlas-tier-label{list-style:none;padding:0;margin:17px 2px 8px;cursor:default;font:700 11px/1.4 system-ui;}
.bestiary-catalogue .atlas-tier-label::-webkit-details-marker{display:none;}
.bestiary-catalogue .atlas-tier-group>.atlas-tier-label::after{display:none;}
.bestiary-catalogue .atlas-tier-label:focus-visible{outline:2px solid var(--forge-gold-light);outline-offset:3px;}
@media(max-width:850px){
 body.site-forged .bestiary-catalogue .album-dungeon-index{position:relative;top:auto;max-height:none;overflow:visible;padding:12px;}
 .bestiary-catalogue .album-index-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .bestiary-catalogue .atlas-tier-group{margin:0;padding:0;border:6px solid transparent;border-image:var(--forge-frame) 32 / 9px / 0 stretch;background:linear-gradient(125deg,#1d1420f2,#100d15f5 70%),var(--forge-stone) center / 512px;box-shadow:inset 0 0 24px #0005,0 6px 14px #0005;}
 .bestiary-catalogue .atlas-tier-group[open]{grid-column:1/-1;}
 .bestiary-catalogue .atlas-tier-group>.atlas-tier-label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;min-height:62px;margin:0;padding:10px;cursor:pointer;font-size:12px;}
 .bestiary-catalogue .atlas-tier-label>small{grid-column:1;white-space:nowrap;}
 .bestiary-catalogue .atlas-tier-group>.atlas-tier-label::after{display:block;grid-column:2;grid-row:1/3;align-self:center;margin:0;font:23px/1 Georgia;content:'+';}
 .bestiary-catalogue .atlas-tier-group[open]>.atlas-tier-label::after{content:'−';}
 .bestiary-catalogue .atlas-tier-group.is-current-tier>.atlas-tier-label{color:#c8efad;}
 .bestiary-catalogue .album-tier-dungeons{padding:0 8px 8px;gap:7px;}
 .bestiary-catalogue .album-dungeon-button{min-height:44px;padding:11px;font-size:12px;}
}

/* T99 Bestiary moves (Hal 2026-11-07): portrait column with the 3 strongest moves under it. */
.creature-portrait-column{display:flex;flex-direction:column;gap:16px;min-width:0;align-self:start}
.creature-portrait-column .creature-painting{align-self:stretch}
.creature-moves{border:1px solid #947b4c55;border-radius:8px;background:#0f0c0bcc;padding:14px 16px}
.creature-moves h3{color:var(--forge-gold,#d9b46a);font:16px Georgia,serif;margin:0 0 10px}
.creature-move-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.creature-move{border-left:3px solid #947b4c;padding:1px 0 1px 11px}
.creature-move.is-signature{border-left-color:#b98ae6}
.creature-move-name{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;color:#f3e3c0;font:600 15px/1.3 Georgia,serif}
.creature-move-tag{color:#c9a0ff;font:700 10px system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.creature-move-text{margin:3px 0 0;color:#d8cfbf;font:14px/1.45 system-ui,sans-serif}
.creature-move-school{color:var(--school,#c3cede);font-weight:700}
.creature-move-school.school-physical{--school:#c3cede}
.creature-move-school.school-fire{--school:#ff9c65}.creature-move-school.school-water{--school:#6ac9ff}.creature-move-school.school-wind{--school:#75e5d7}
.creature-move-school.school-nature{--school:#99dd79}.creature-move-school.school-holy{--school:#ffe08a}.creature-move-school.school-magic{--school:#c9a0ff}
@media (max-width:760px){.creature-portrait-column{margin-bottom:8px}}
/* Locked entries: full page, details inked out. */
.is-locked-entry .creature-painting.locked-detail-painting{margin:0;background:none}
.locked-silhouette{filter:brightness(0) drop-shadow(0 0 2px #d0b56a80);opacity:.92}
.is-locked-entry .creature-detail-heading h2{letter-spacing:.18em;color:#cdb98a}
.creature-moves.is-unrecorded .creature-move-name,.is-locked-entry .creature-stat-grid dd{color:#8d8170;letter-spacing:.12em}
.creature-moves.is-unrecorded .creature-move-text,.is-locked-entry .creature-affinities p{color:#8d8170;font-style:italic}
.creature-unrecorded-note{margin-top:22px;color:#cdb98a;font:italic 15px/1.5 Georgia,serif}
@media (max-width:760px){.is-locked-entry .creature-painting.locked-detail-painting{min-height:260px}}

/* Bestiary book page (user 2026-11-07: "if were gonna try like a book style lets go all out", fantasy monster-book
   reference). The entry becomes a parchment page inside the dark dialog, which reads as the book's cover. */
.is-tome .creature-detail{--ink:#2b1d12;--ink-soft:#5b4630;--rubric:#7c1d12;--rule:#9c2a17;--block:#f4e7c6;--block-edge:#a8792c;
  color:var(--ink);border-radius:4px;
  background:
    radial-gradient(ellipse at 18% 12%,#ffffff55,transparent 45%),
    radial-gradient(ellipse at 85% 90%,#b08a5533,transparent 50%),
    radial-gradient(circle at 70% 30%,#c9a46a22 0 2px,transparent 3px) 0 0/37px 41px,
    radial-gradient(circle at 20% 70%,#8a6a3a1a 0 1.5px,transparent 2.5px) 0 0/53px 47px,
    linear-gradient(180deg,#f3e5c3,#ead6a8 60%,#e2cb98);
  box-shadow:inset 0 0 90px #8b62305e,inset 0 0 14px #6b4a2266}
.is-tome .creature-detail-heading{background:none;border-bottom:0;padding:26px 34px 6px;position:relative}
.is-tome .creature-detail-heading::after{content:"";position:absolute;left:34px;right:34px;bottom:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--rule) 6%,var(--rule) 94%,transparent);clip-path:polygon(0 50%,6% 0,94% 0,100% 50%,94% 100%,6% 100%)}
.is-tome .creature-detail-heading h2{font-family:'Cinzel','Trajan Pro',Georgia,serif;font-weight:700;font-variant:normal;letter-spacing:.06em;color:var(--rubric);font-size:34px;line-height:1.05;text-shadow:0 1px 0 #fff6}
.is-tome .creature-detail-heading .album-chapter{font-family:'EB Garamond',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:.02em;text-transform:none;color:var(--ink-soft);font-size:15px}
.is-tome .creature-close{background:#2b1d12;color:#f3e5c3;border-color:#2b1d12}
.is-tome .creature-detail-body{font-family:'EB Garamond',Georgia,serif;gap:34px;padding:22px 34px 30px;scrollbar-color:#8b6230 transparent}
.is-tome .creature-painting{background:none!important;border:0;box-shadow:none;min-height:360px}
.is-tome .creature-painting img{filter:drop-shadow(0 14px 14px #3b250f66) drop-shadow(0 2px 2px #3b250f55)}
.is-tome .creature-painting::before,.is-tome .creature-painting::after{display:none}
/* Abilities: a stat-block box with ruled top and bottom edges. */
.is-tome .creature-moves{background:var(--block);border:0;border-top:4px solid var(--block-edge);border-bottom:4px solid var(--block-edge);border-radius:0;
  box-shadow:0 2px 6px #6b4a2240;padding:12px 16px 14px}
.is-tome .creature-moves h3,.is-tome .creature-facts>summary,.is-tome .creature-affinities h3{font-family:'Cinzel',Georgia,serif;font-weight:700;font-variant:normal;color:var(--rubric);letter-spacing:.05em;
  font-size:17px;border-bottom:1px solid var(--rule);padding-bottom:3px;margin:0 0 10px}
.is-tome .creature-move-list{gap:9px}
.is-tome .creature-move{border-left:0;padding:0}
.is-tome .creature-move-name,.is-tome .creature-move-text{display:inline;font-variant:normal;letter-spacing:0}
.is-tome .creature-move-name{color:var(--ink);font:italic 700 16px/1.4 'EB Garamond',Georgia,serif}
.is-tome .creature-move-name>span:first-child::after{content:"."}
.is-tome .creature-move-tag{color:#fff;background:var(--rubric);border-radius:2px;padding:0 5px;margin:0 4px 0 2px;font:700 9px/1.6 system-ui,sans-serif;letter-spacing:.08em;vertical-align:2px}
.is-tome .creature-move-text{color:var(--ink);font:16px/1.4 'EB Garamond',Georgia,serif;margin-left:3px}
.is-tome .creature-move-school{font-weight:700}
.is-tome .creature-move-school.school-physical{--school:#45434d}.is-tome .creature-move-school.school-fire{--school:#b0401a}
.is-tome .creature-move-school.school-water{--school:#1c679a}.is-tome .creature-move-school.school-wind{--school:#17806f}
.is-tome .creature-move-school.school-nature{--school:#4a7a26}.is-tome .creature-move-school.school-holy{--school:#94700b}
.is-tome .creature-move-school.school-magic{--school:#6a3a9e}
/* Right page: dungeon, classification, stat block, affinities, quote. */
.is-tome .creature-detail-info{padding-top:6px}
.is-tome .creature-detail-info .creature-home{font-family:'Cinzel',Georgia,serif;font-weight:700;font-variant:normal;color:var(--rubric);font-size:22px;margin-bottom:2px}
.is-tome .creature-detail-info .creature-classification{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
.is-tome .creature-facts{border-top:0;margin-top:16px;padding:12px 16px;background:var(--block);border-top:4px solid var(--block-edge);border-bottom:4px solid var(--block-edge);box-shadow:0 2px 6px #6b4a2240}
.is-tome .creature-facts>summary{list-style:none;cursor:default}
.is-tome .creature-facts>summary::-webkit-details-marker{display:none}
.is-tome .creature-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 6px;margin:6px 0 12px}
.is-tome .creature-stat-grid>div{background:none;border:0;padding:0;text-align:center}
.is-tome .creature-stat-grid dt{font:700 11px/1.2 'Cinzel',Georgia,serif;letter-spacing:.06em;color:var(--rubric);text-transform:uppercase}
.is-tome .creature-stat-grid dd{font:600 19px/1.25 'EB Garamond',Georgia,serif;color:var(--ink);margin:2px 0 0}
.is-tome .creature-affinities{margin-top:6px}
.is-tome .creature-affinities>div{display:flex;justify-content:space-between;border:0;border-bottom:1px dotted #a8792c88;padding:3px 0;background:none;font:15px 'EB Garamond',Georgia,serif;color:var(--ink)}
.is-tome .creature-affinities>div span{font-variant:small-caps;letter-spacing:.04em;text-transform:lowercase}
.is-tome .creature-affinities>div strong{font-weight:700;color:var(--ink)}
.is-tome .creature-affinities p{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft);margin:0}
.is-tome .creature-quote{margin:20px 6px 0;padding:12px 16px;border:1px solid #a8792c66;background:#fbf2dacc;box-shadow:2px 3px 0 #a8792c33;transform:rotate(-.6deg);
  font:italic 16px/1.45 'EB Garamond',Georgia,serif;color:var(--ink)}
.is-tome .creature-quote footer{margin-top:6px;font:13px 'EB Garamond',Georgia,serif;font-variant:small-caps;letter-spacing:.06em;color:var(--ink-soft);text-align:right}
.is-tome .creature-record{margin-top:14px;font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
/* Unwritten (locked) pages. */
.is-tome .is-locked-entry .creature-detail-heading h2,.is-tome.is-locked-entry .creature-detail-heading h2{color:#7c1d1299}
.is-tome .creature-moves.is-unrecorded .creature-move-name,.is-tome .is-locked-entry .creature-stat-grid dd{color:#5b463099}
.is-tome .creature-moves.is-unrecorded .creature-move-text,.is-tome .is-locked-entry .creature-affinities p{color:#5b4630aa}
.is-tome .creature-unrecorded-note{color:var(--rubric);font:italic 16px 'EB Garamond',Georgia,serif}
.is-tome .locked-silhouette{filter:brightness(0) drop-shadow(0 12px 12px #3b250f55)!important;opacity:.88}
.is-tome .creature-stat-grid>div{display:flex;flex-direction:column;justify-content:flex-end}
.is-tome .creature-moves.is-unrecorded .creature-move-name>span:first-child::after{content:none}
/* Affinity radar. Base colours suit the dark site; .is-tome re-inks them for parchment. */
.creature-affinity-chart{margin-top:20px;--aff-grid:#947b4c55;--aff-outer:#947b4caa;--aff-shape:#e8c46a;--aff-fill:#e8c46a26;--aff-weak:#ff8c7a;--aff-normal:#d8cfbf;--aff-resist:#e8c46a;--aff-unknown:#8d8170}
.creature-affinity-chart h3{margin:0 0 4px}
.aff-svg{display:block;width:100%;max-width:440px;height:auto;margin:0 auto;overflow:visible}
.aff-ring{fill:none;stroke:var(--aff-grid);stroke-width:1}.aff-ring.is-outer{stroke:var(--aff-outer);stroke-width:1.4}
.aff-axis{stroke:var(--aff-grid);stroke-width:1}
.aff-shape{fill:var(--aff-fill);stroke:var(--aff-shape);stroke-width:2.4;stroke-linejoin:round}
.aff-dot{fill:var(--aff);stroke:#1a1410;stroke-width:2}
.aff-icon{fill:none;stroke:var(--aff);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.aff-name{fill:var(--aff);font:700 12.5px 'Cinzel',Georgia,serif;letter-spacing:.06em}
.aff-val{font:600 17px 'EB Garamond',Georgia,serif}.aff-val.is-weak{fill:var(--aff-weak)}.aff-val.is-normal{fill:var(--aff-normal)}.aff-val.is-resist{fill:var(--aff-resist)}.aff-val.is-unknown{fill:var(--aff-unknown);font-size:20px}
.aff-fire{--aff:#ff9c65}.aff-water{--aff:#6ac9ff}.aff-nature{--aff:#99dd79}.aff-wind{--aff:#75e5d7}.aff-holy{--aff:#ffe08a}.aff-shadow{--aff:#c9a0ff}
.aff-legend{border-top:1px solid var(--aff-grid);margin-top:6px;padding-top:10px;text-align:center}
.aff-legend p{margin:0 0 8px;font:italic 14px 'EB Garamond',Georgia,serif;color:var(--aff-normal)}
.aff-legend ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));position:relative}
.aff-legend ol::before{content:"";position:absolute;left:8%;right:8%;top:5px;height:1px;background:var(--aff-outer)}
.aff-legend li{position:relative;padding-top:16px;font:600 12px/1.2 'EB Garamond',Georgia,serif}
.aff-legend li::before{content:"";position:absolute;top:0;left:50%;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px #1a1410}
.aff-legend li.is-weak{color:var(--aff-weak)}.aff-legend li.is-normal{color:var(--aff-normal)}.aff-legend li.is-resist{color:var(--aff-resist)}
.is-tome .creature-affinity-chart{--aff-grid:#8b62304d;--aff-outer:#8b6230aa;--aff-shape:#7c1d12;--aff-fill:#9c2a1722;--aff-weak:#a3241a;--aff-normal:#5b4630;--aff-resist:#7a5410;--aff-unknown:#5b463099;
  background:var(--block);border-top:4px solid var(--block-edge);border-bottom:4px solid var(--block-edge);box-shadow:0 2px 6px #6b4a2240;padding:12px 16px 14px}
.is-tome .creature-affinity-chart h3{font-family:'Cinzel',Georgia,serif;font-weight:700;color:var(--rubric);letter-spacing:.05em;font-size:17px;border-bottom:1px solid var(--rule);padding-bottom:3px;margin:0 0 6px}
.is-tome .aff-dot{stroke:#f4e7c6}.is-tome .aff-legend li::before{box-shadow:0 0 0 2px #f4e7c6}
.is-tome .aff-fire{--aff:#b0401a}.is-tome .aff-water{--aff:#1c679a}.is-tome .aff-nature{--aff:#4a7a26}.is-tome .aff-wind{--aff:#17806f}.is-tome .aff-holy{--aff:#94700b}.is-tome .aff-shadow{--aff:#6a3a9e}
@media (max-width:520px){.aff-legend li{font-size:10.5px}}
/* Compact radar (user 2026-11-07: "this kinda ruins the perfect spacing"): keep both page columns balanced. */
.creature-affinity-chart{margin-top:14px}
.is-tome .creature-affinity-chart{padding:8px 14px 10px}
.aff-svg{max-width:290px;margin:-6px auto -10px}
.aff-legend{margin-top:2px;padding-top:6px}
.aff-legend p{margin:0;font-size:13px}
.aff-legend ol{display:none}
/* Weak vs Normal (user 2026-11-07): red-tinted core inside a dashed Normal baseline; weak dots red with a halo. */
.aff-weak-zone{fill:var(--aff-weak-fill);stroke:none}
.aff-ring.is-normal{stroke:var(--aff-normal-ring);stroke-width:1.6;stroke-dasharray:5 4}
.aff-weak-halo{fill:var(--aff-weak);opacity:.22}
.aff-dot.is-weak{fill:var(--aff-weak)}
.aff-val.is-weak{font-weight:700;letter-spacing:.08em}
.creature-affinity-chart{--aff-weak-fill:#ff8c7a1f;--aff-normal-ring:#d8cfbf99}
.is-tome .creature-affinity-chart{--aff-weak-fill:#a3241a1c;--aff-normal-ring:#5b4630aa}/* No-scroll fit (user 2026-11-07: "i want these to fit perfectly so theres never a scroll"). On desktop every block is
   sized from the viewport height so the whole page sits inside the open dialog. */
@media (min-width:761px){
  .creature-dialog.is-tome[open]:not(.is-trophy-view) .creature-detail-body{overflow:hidden;scrollbar-gutter:auto;gap:30px;padding:14px 30px 16px;align-items:start}
  .is-tome .aff-name{font-size:16px}.is-tome .aff-val{font-size:20px}
  .is-tome .creature-detail-heading{padding:16px 30px 4px}
  .is-tome .creature-detail-heading h2{font-size:clamp(24px,3.6vh,32px)}
  .is-tome .creature-detail-heading .album-chapter{font-size:13px;margin:0}
  .is-tome .creature-portrait-column{gap:10px}
  .is-tome .creature-painting{min-height:0!important;height:clamp(170px,calc(93vh - 470px),400px)}
  .is-tome .creature-moves{padding:8px 14px 9px}
  .is-tome .creature-moves h3,.is-tome .creature-facts>summary,.is-tome .creature-affinity-chart h3{font-size:15px;margin-bottom:6px}
  .is-tome .creature-move-list{gap:4px}
  .is-tome .creature-move-name{font-size:15px}.is-tome .creature-move-text{font-size:15px;line-height:1.3}
  .is-tome .creature-detail-info{padding-top:0}
  .is-tome .creature-detail-info .creature-home{font-size:20px}
  .is-tome .creature-facts{margin-top:8px;padding:7px 14px 8px}
  .is-tome .creature-stat-grid{margin:2px 0 0;gap:4px 6px;grid-template-columns:repeat(7,minmax(0,1fr))}
  .is-tome .creature-stat-grid dt{font-size:9.5px;letter-spacing:.03em}
  .is-tome .creature-stat-grid dd{font-size:16px}
  .is-tome .creature-affinity-chart{margin-top:8px;padding:6px 14px 4px}
  .is-tome .aff-svg{max-width:none;width:auto;height:clamp(150px,calc(93vh - 520px),270px);margin:-4px auto -8px}
  .is-tome .creature-unrecorded-note{margin-top:8px;font-size:14px}
}
/* Previous / Next as part of the book: a leather band with gilt-edged plates. */
.is-tome .creature-entry-navigation{background:linear-gradient(180deg,#3a2817,#24170d);border-top:2px solid #a8792c;box-shadow:inset 0 1px 0 #f0d9a433,inset 0 -6px 14px #0008}
.is-tome .creature-entry-button{font:700 14px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4;background:linear-gradient(180deg,#5a3d20,#3a2614);
  border:1px solid #c9a45c;border-radius:3px;box-shadow:inset 0 1px 0 #f0d9a455,inset 0 0 0 3px #2b1d1299,0 2px 4px #0009;padding:10px 20px;text-shadow:0 1px 0 #000}
.is-tome .creature-entry-button:hover:not(:disabled){background:linear-gradient(180deg,#6e4b27,#45301a);color:#fff3d6}
.is-tome .creature-entry-button:focus-visible{outline:2px solid #f0d9a4;outline-offset:2px}
.is-tome .creature-entry-button:disabled{opacity:.35;cursor:default;box-shadow:none}
.is-tome .creature-entry-position strong{font:700 15px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4}
.is-tome .creature-entry-position span{font:italic 14px 'EB Garamond',Georgia,serif;color:#d9bf8a}
.is-tome .creature-entry-status{color:#d9bf8a;font:italic 13px 'EB Garamond',Georgia,serif}@media (max-width:760px){.is-tome .creature-detail-heading{padding:20px 18px 6px}.is-tome .creature-detail-heading::after{left:18px;right:18px}
  .is-tome .creature-detail-heading h2{font-size:27px}.is-tome .creature-detail-body{padding:16px 18px 22px}.is-tome .creature-painting{min-height:240px}}

/* ===== Bestiary as a book (user 2026-11-07: "i kinda want the front page to have like a big TOME feel that says
   BESTIARY in old letter or Book of Monsters and Demons ... i want this to really pop"). Scoped to the Bestiary tab. */
.bestiary-catalogue.is-tome{--ink:#2b1d12;--ink-soft:#5b4630;--rubric:#7c1d12;--rule:#9c2a17;--gilt:#c9a45c;--gilt-deep:#a8792c;
  --parch:linear-gradient(180deg,#f3e5c3,#ead6a8 60%,#e2cb98);
  --parch-tex:radial-gradient(ellipse at 18% 12%,#ffffff55,transparent 45%),radial-gradient(ellipse at 85% 90%,#b08a5533,transparent 50%),radial-gradient(circle at 70% 30%,#c9a46a22 0 2px,transparent 3px) 0 0/37px 41px,radial-gradient(circle at 20% 70%,#8a6a3a1a 0 1.5px,transparent 2.5px) 0 0/53px 47px;
  --leather:radial-gradient(ellipse at 30% 20%,#6b4426aa,transparent 55%),radial-gradient(ellipse at 80% 85%,#00000088,transparent 60%),repeating-radial-gradient(circle at 40% 60%,#ffffff05 0 1px,transparent 1px 3px),linear-gradient(160deg,#4a2c17,#2a170b 60%,#1c0f07)}

/* --- The cover --- */
.bestiary-catalogue.is-tome .tome-cover{position:relative;margin:0 0 22px;padding:38px 24px 30px;text-align:center;background:var(--leather);
  border:3px solid var(--gilt-deep);border-radius:6px;box-shadow:inset 0 0 0 6px #1c0f07,inset 0 0 0 7px #c9a45c88,inset 0 0 70px #000c,0 10px 30px #000a;overflow:hidden}
.bestiary-catalogue.is-tome .tome-cover::before{content:"";position:absolute;inset:14px;border:1px solid #c9a45c55;border-radius:3px;pointer-events:none}
.tome-corner{position:absolute;width:54px;height:54px;pointer-events:none;color:var(--gilt)}
.tome-corner svg{width:100%;height:100%;display:block}
.tome-corner.tl{top:8px;left:8px}.tome-corner.tr{top:8px;right:8px;transform:scaleX(-1)}.tome-corner.bl{bottom:8px;left:8px;transform:scaleY(-1)}.tome-corner.br{bottom:8px;right:8px;transform:scale(-1,-1)}
.tome-cover-kicker{margin:0;font:700 12px/1 'Cinzel',Georgia,serif;letter-spacing:.42em;color:#d9bf8a;text-shadow:0 1px 0 #000}
.tome-cover-title{margin:10px 0 0;font:400 clamp(58px,9vw,118px)/.95 'UnifrakturMaguntia','Old English Text MT',Georgia,serif;letter-spacing:.02em;
  background:linear-gradient(180deg,#fff1c4 0%,#f0d08a 38%,#c99a45 62%,#8a5f22 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 0 #1c0f07) drop-shadow(0 0 14px #c9a45c44)}
.tome-cover-sub{margin:8px 0 0;font:italic 400 clamp(18px,2.2vw,26px)/1.2 'EB Garamond',Georgia,serif;color:#ead6a8;text-shadow:0 1px 2px #000}
.tome-cover-rule{display:block;width:min(420px,80%);height:22px;margin:14px auto 12px;color:var(--gilt)}
.tome-cover-count{margin:0;font:600 15px 'EB Garamond',Georgia,serif;color:#d9bf8a;letter-spacing:.04em}
.tome-cover-count strong{font:700 17px 'Cinzel',Georgia,serif;color:#f0d9a4}
.tome-cover-meter{display:block;width:min(320px,70%);height:6px;margin:9px auto 0;border:1px solid #c9a45c88;border-radius:4px;background:#1c0f07;overflow:hidden}
.tome-cover-meter>span{display:block;height:100%;background:linear-gradient(90deg,#8a5f22,#f0d08a)}

/* --- The open book: leather surround, parchment pages --- */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .bestiary-atlas-layout{background:var(--leather);border:2px solid var(--gilt-deep);border-radius:6px;padding:16px;gap:16px;box-shadow:inset 0 0 50px #000b,0 10px 30px #0009}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-index,
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .bestiary-book{background:var(--parch-tex),var(--parch)!important;border:0!important;border-image:none!important;border-radius:3px;box-shadow:inset 0 0 60px #8b62305e,inset 0 0 10px #6b4a2255,2px 3px 8px #0008!important;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .bestiary-book{padding:18px 20px 8px!important}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-index{padding:4px 14px 16px}

/* Table of contents */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-index-heading{background:none;padding:18px 4px 10px;border-bottom:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-index-heading .album-kicker{font:700 10px 'Cinzel',Georgia,serif;letter-spacing:.24em;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-index-heading h3{font:700 21px/1.1 'Cinzel',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-tier-group{border:0;border-image:none;background:none;box-shadow:none}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-tier-group>.atlas-tier-label{font:700 12px 'Cinzel',Georgia,serif;letter-spacing:.1em;color:var(--rubric);min-height:0;padding:12px 2px 5px;margin:0;border-bottom:1px solid #9c2a1755}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-tier-label>small{font:italic 13px 'EB Garamond',Georgia,serif;letter-spacing:0;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-tier-group.is-current-tier>.atlas-tier-label{color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-tier-dungeons{gap:0;padding:2px 0 4px}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-button{min-height:0;padding:7px 8px 6px 12px;background:none;border:0;border-bottom:1px dotted #8b623088;border-radius:0;box-shadow:none;
  color:var(--ink);font:500 16px/1.25 'EB Garamond',Georgia,serif;text-align:left;position:relative}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-button:hover{background:#c9a45c26;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-button[aria-current=true]{background:#9c2a1714;color:var(--rubric);font-weight:700;box-shadow:inset 4px 0 var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-dungeon-button:focus-visible{outline:2px solid var(--rubric);outline-offset:1px}

/* Dungeon banner as a framed illustration plate */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-dungeon-banner{border:3px solid var(--gilt-deep)!important;border-image:none!important;border-radius:3px;box-shadow:0 0 0 4px #f3e5c3,0 0 0 5px #8b623088,0 6px 14px #3b250f66!important}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-dungeon-title{font-family:'Cinzel',Georgia,serif;letter-spacing:.03em}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-dungeon-meta>span{border-color:#c9a45c99;font-family:'Cinzel',Georgia,serif;letter-spacing:.08em}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-dungeon-stepper>span{font:italic 14px 'EB Garamond',Georgia,serif;color:#ead6a8}

/* Chapter heading on the page */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-collection-heading{margin:22px 2px 14px;padding-bottom:8px;border-bottom:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-collection-heading .album-kicker{font:700 10px 'Cinzel',Georgia,serif;letter-spacing:.24em;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-collection-heading h3{font:700 clamp(24px,2.6vw,34px)/1.1 'Cinzel',Georgia,serif;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-collection-heading .album-results-status{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}

/* Creature cards as illustration plates */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-slot{background:#f6ead0!important;border:1px solid var(--gilt-deep)!important;border-radius:3px;box-shadow:inset 0 0 0 4px #f6ead0,inset 0 0 0 5px #a8792c66,2px 3px 6px #6b4a2255!important;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-slot:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 4px #f6ead0,inset 0 0 0 5px #9c2a17aa,4px 8px 14px #6b4a2266!important}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-slot:focus-visible{outline:2px solid var(--rubric);outline-offset:2px}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .slot-painting.creature-art-stage{background:radial-gradient(ellipse at 50% 70%,#e9d3a0,#f6ead0 72%)!important;margin:8px 8px 0}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .slot-painting.creature-art-stage::before{opacity:.35}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .slot-painting.creature-art-stage::after{background:linear-gradient(transparent,#f6ead0)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .creature-art-stage .slot-monster{filter:drop-shadow(0 10px 9px #3b250f77) drop-shadow(0 2px 2px #3b250f55)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .is-locked .creature-art-stage .slot-monster{filter:brightness(0) drop-shadow(0 8px 8px #3b250f55);opacity:.88}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .slot-caption{background:none!important;padding:8px 14px 14px}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .slot-role:not(:empty){background:var(--rubric);border-color:var(--rubric);color:#fff3dc;font:700 8.5px/1.2 'Cinzel',Georgia,serif;letter-spacing:.1em}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-size-badge:not(:empty){background:#f6ead0;border-color:var(--ink-soft);color:var(--ink);font:700 9px/1.2 'EB Garamond',Georgia,serif;letter-spacing:.04em}
:is(body.site-forged,body.hero-gear-page) .collection-album.bestiary-catalogue.is-tome .is-recorded .atlas-card-level{color:var(--rubric);font:700 10px 'Cinzel',Georgia,serif;letter-spacing:.12em}
:is(body.site-forged,body.hero-gear-page) .collection-album.bestiary-catalogue.is-tome .is-recorded .slot-name{color:var(--ink);font:700 19px/1.15 'Cinzel',Georgia,serif;padding-bottom:3px;border-bottom:3px solid var(--creature-rarity)}
:is(body.site-forged,body.hero-gear-page) .collection-album.bestiary-catalogue.is-tome .is-recorded[data-kind=keeper] .slot-name{color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-card-family{font:italic 14px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-card-stats>span{background:#fbf3df;border:0;border-top:2px solid var(--gilt-deep);border-bottom:2px solid var(--gilt-deep)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-card-stats strong{color:var(--ink);font:700 15px/1.1 'EB Garamond',Georgia,serif}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-card-stats>span>span{color:var(--rubric);font:700 8.5px/1.2 'Cinzel',Georgia,serif;letter-spacing:.06em;text-transform:uppercase}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .atlas-card-traits>span{background:none;border:1px solid #8b623088;color:var(--ink-soft);font:700 9px/1.3 'EB Garamond',Georgia,serif;letter-spacing:.06em}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .is-locked .slot-name{color:#5b463099;font:700 24px 'Cinzel',Georgia,serif;letter-spacing:.3em}

/* Page footer + all buttons as gilt leather plates */
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-pagination{border-top:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-page-range,:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-page-number{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-page-button{font:700 13px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4;background:linear-gradient(180deg,#5a3d20,#3a2614);
  border:1px solid var(--gilt);border-radius:3px;box-shadow:inset 0 1px 0 #f0d9a455,inset 0 0 0 3px #2b1d1299,0 2px 4px #0007;text-shadow:0 1px 0 #000;padding:9px 16px}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-page-button:hover:not(:disabled){background:linear-gradient(180deg,#6e4b27,#45301a);color:#fff3d6}
:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .album-page-button:disabled{opacity:.35;box-shadow:none}

@media (max-width:850px){
  :is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .bestiary-atlas-layout{padding:10px;gap:10px}
  .bestiary-catalogue.is-tome .tome-cover{padding:30px 16px 24px}.tome-corner{width:38px;height:38px}
}
@media (max-width:600px){:is(body.site-forged,body.hero-gear-page) .bestiary-catalogue.is-tome .bestiary-book{padding:12px 10px 6px!important}}

/* Locked silhouette centring (user 2026-11-07): the old locked-page rule capped this box at 330px wide. */
.is-locked-entry .creature-painting.locked-detail-painting{max-width:none!important;width:100%}

/* ===== Boss Trophies as the same book (user 2026-11-07: "lets stylize the boss trophies section in a similar manner"). */
.trophy-catalogue.is-tome{--ink:#2b1d12;--ink-soft:#5b4630;--rubric:#7c1d12;--rule:#9c2a17;--gilt:#c9a45c;--gilt-deep:#a8792c;
  --parch:linear-gradient(180deg,#f3e5c3,#ead6a8 60%,#e2cb98);
  --parch-tex:radial-gradient(ellipse at 18% 12%,#ffffff55,transparent 45%),radial-gradient(ellipse at 85% 90%,#b08a5533,transparent 50%),radial-gradient(circle at 70% 30%,#c9a46a22 0 2px,transparent 3px) 0 0/37px 41px,radial-gradient(circle at 20% 70%,#8a6a3a1a 0 1.5px,transparent 2.5px) 0 0/53px 47px;
  --leather:radial-gradient(ellipse at 30% 20%,#6b4426aa,transparent 55%),radial-gradient(ellipse at 80% 85%,#00000088,transparent 60%),repeating-radial-gradient(circle at 40% 60%,#ffffff05 0 1px,transparent 1px 3px),linear-gradient(160deg,#4a2c17,#2a170b 60%,#1c0f07)}
.trophy-catalogue.is-tome .tome-cover{position:relative;margin:0 0 22px;padding:38px 24px 30px;text-align:center;background:var(--leather);
  border:3px solid var(--gilt-deep);border-radius:6px;box-shadow:inset 0 0 0 6px #1c0f07,inset 0 0 0 7px #c9a45c88,inset 0 0 70px #000c,0 10px 30px #000a;overflow:hidden}
.trophy-catalogue.is-tome .tome-cover::before{content:"";position:absolute;inset:14px;border:1px solid #c9a45c55;border-radius:3px;pointer-events:none}
/* The trophy book: parchment page in a leather surround. */
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-book{background:var(--parch-tex),var(--parch)!important;border:16px solid transparent!important;border-image:none!important;border-radius:6px;
  box-shadow:0 0 0 2px var(--gilt-deep),inset 0 0 60px #8b62305e,0 10px 30px #0009!important;outline:16px solid #2a170b;outline-offset:0;color:var(--ink);padding:10px 22px 6px!important;margin:16px}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-book::before,:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-book::after{display:none}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-toolbar{border-bottom:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-toolbar p{font:italic 16px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .collection-album.trophy-catalogue.is-tome .trophy-toolbar select{background:#f6ead0;color:var(--ink);border:1px solid var(--gilt-deep);font:600 14px 'EB Garamond',Georgia,serif;color-scheme:light}
/* Each trophy: a framed painting with an engraved brass nameplate. */
:is(body.site-forged,body.hero-gear-page) .collection-album.trophy-catalogue.is-tome .trophy-plaque{background:#f6ead0!important;border:1px solid var(--gilt-deep)!important;border-image:none!important;border-radius:3px;padding:8px;
  box-shadow:inset 0 0 0 4px #f6ead0,inset 0 0 0 5px #a8792c66,2px 3px 6px #6b4a2255!important;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .collection-album.trophy-catalogue.is-tome .trophy-plaque:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 4px #f6ead0,inset 0 0 0 5px #9c2a17aa,4px 8px 14px #6b4a2266!important}
:is(body.site-forged,body.hero-gear-page) .collection-album.trophy-catalogue.is-tome .trophy-plaque:focus-visible{outline:2px solid var(--rubric);outline-offset:2px}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-painting{background:#1c140e;border:3px solid var(--gilt-deep);box-shadow:inset 0 0 0 2px #2b1d12,inset 0 0 30px #000a,0 3px 6px #3b250f55}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-scenery{opacity:.55;mask-image:none}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-monster{filter:drop-shadow(0 8px 6px #000)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-inscription{margin:10px 6px 2px;padding:10px 10px 11px;border:1px solid #6b4a22;border-radius:2px;
  background:linear-gradient(180deg,#f0d08a,#c99a45 55%,#a87a30);box-shadow:inset 0 1px 0 #fff3c6,inset 0 -1px 0 #6b4a22,0 2px 4px #3b250f66}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-dungeon{font:italic 13px 'EB Garamond',Georgia,serif;color:#3b2a14}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-name{font:700 19px/1.1 'Cinzel',Georgia,serif;color:#2b1d12;text-shadow:0 1px 0 #fff3c688}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-victories{color:#2b1d12}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-victories strong{font:700 24px/1 'Cinzel',Georgia,serif;color:#2b1d12}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-victories>span{font:italic 14px 'EB Garamond',Georgia,serif}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-laurel{stroke:#5b3a12}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-date{font:italic 12px 'EB Garamond',Georgia,serif;color:#3b2a14}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-empty h3{font:700 26px 'Cinzel',Georgia,serif;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-empty p{color:var(--ink-soft);font:italic 16px 'EB Garamond',Georgia,serif}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .empty-laurel{stroke:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .album-pagination{border-top:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .album-page-range,:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .album-page-number{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .album-page-button{font:700 13px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4;background:linear-gradient(180deg,#5a3d20,#3a2614);
  border:1px solid var(--gilt);border-radius:3px;box-shadow:inset 0 1px 0 #f0d9a455,inset 0 0 0 3px #2b1d1299,0 2px 4px #0007;text-shadow:0 1px 0 #000;padding:9px 16px}
:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .album-page-button:disabled{opacity:.35;box-shadow:none}
/* Trophy detail page (opened from a trophy) on the same parchment. */
.is-tome .trophy-detail{--ink:#2b1d12;--ink-soft:#5b4630;--rubric:#7c1d12;--rule:#9c2a17;color:var(--ink);border-radius:4px;
  background:radial-gradient(ellipse at 18% 12%,#ffffff55,transparent 45%),radial-gradient(ellipse at 85% 90%,#b08a5533,transparent 50%),linear-gradient(180deg,#f3e5c3,#ead6a8 60%,#e2cb98);box-shadow:inset 0 0 90px #8b62305e}
.is-tome .trophy-detail .creature-detail-heading{background:none;border-bottom:2px solid var(--rule)}
.is-tome .trophy-detail .creature-detail-heading h2{font:700 32px/1.05 'Cinzel',Georgia,serif;color:var(--rubric)}
.is-tome .trophy-detail .creature-detail-heading .album-chapter{font:italic 15px 'EB Garamond',Georgia,serif;letter-spacing:.02em;color:var(--ink-soft)}
.is-tome .trophy-detail .creature-painting{background:none!important}
.is-tome .trophy-detail .creature-painting img{filter:drop-shadow(0 14px 14px #3b250f66)}
.is-tome .trophy-record .album-chapter{font:700 11px 'Cinzel',Georgia,serif;letter-spacing:.2em;color:var(--rubric)}
.is-tome .trophy-record-count{font:700 84px/1 'Cinzel',Georgia,serif;color:var(--rubric)}
.is-tome .trophy-record .trophy-record-label{font:italic 24px 'EB Garamond',Georgia,serif;color:var(--ink)}
.is-tome .trophy-record .trophy-record-dungeon{font:700 20px 'Cinzel',Georgia,serif;color:var(--ink)}
.is-tome .trophy-record .trophy-date{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
.is-tome .trophy-record-laurel{stroke:var(--rubric)}
.is-tome .creature-close{background:#2b1d12;color:#f3e5c3;border-color:#2b1d12}
@media (max-width:600px){:is(body.site-forged,body.hero-gear-page) .trophy-catalogue.is-tome .trophy-book{margin:8px;border-width:8px!important;outline-width:8px;padding:8px 10px 4px!important}}

/* ===== The whole Chronicle as one book (user 2026-11-07: "i would like chronicle restyled like this then published").
   Scoped to #career-content.is-tome-chronicle (added by hero-career.js). */
.is-tome-chronicle{--ink:#2b1d12;--ink-soft:#5b4630;--rubric:#7c1d12;--rule:#9c2a17;--gilt:#c9a45c;--gilt-deep:#a8792c;
  --parch:linear-gradient(180deg,#f3e5c3,#ead6a8 60%,#e2cb98);
  --parch-tex:radial-gradient(ellipse at 18% 12%,#ffffff55,transparent 45%),radial-gradient(ellipse at 85% 90%,#b08a5533,transparent 50%),radial-gradient(circle at 70% 30%,#c9a46a22 0 2px,transparent 3px) 0 0/37px 41px,radial-gradient(circle at 20% 70%,#8a6a3a1a 0 1.5px,transparent 2.5px) 0 0/53px 47px;
  --leather:radial-gradient(ellipse at 30% 20%,#6b4426aa,transparent 55%),radial-gradient(ellipse at 80% 85%,#00000088,transparent 60%),repeating-radial-gradient(circle at 40% 60%,#ffffff05 0 1px,transparent 1px 3px),linear-gradient(160deg,#4a2c17,#2a170b 60%,#1c0f07)}

/* --- Masthead: the book's cover --- */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-masthead{position:relative;background:var(--leather)!important;border:3px solid var(--gilt-deep)!important;border-image:none!important;border-radius:6px;
  box-shadow:inset 0 0 0 6px #1c0f07,inset 0 0 0 7px #c9a45c88,inset 0 0 80px #000c,0 10px 30px #000a!important;overflow:hidden}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-masthead::after{content:"";position:absolute;inset:14px;border:1px solid #c9a45c55;border-radius:3px;pointer-events:none;z-index:2}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-backdrop{opacity:.22!important;filter:sepia(.7) saturate(.8)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-copy{position:relative;z-index:3}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-seal .career-eyebrow{font:700 12px 'Cinzel',Georgia,serif;letter-spacing:.42em;color:#d9bf8a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-seal .chronicle-crest{stroke:var(--gilt);color:var(--gilt)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-masthead h1{font:700 clamp(22px,2.6vw,32px)/1.1 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4;text-shadow:0 2px 0 #1c0f07}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-masthead h1 .chronicle-word{display:block;margin-top:4px;font:400 clamp(58px,8.5vw,112px)/.95 'UnifrakturMaguntia','Old English Text MT',Georgia,serif;letter-spacing:.02em;
  background:linear-gradient(180deg,#fff1c4 0%,#f0d08a 38%,#c99a45 62%,#8a5f22 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 #1c0f07) drop-shadow(0 0 14px #c9a45c44)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-motto{font:italic clamp(17px,2vw,23px)/1.3 'EB Garamond',Georgia,serif;color:#ead6a8}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-meta span{font:600 12px 'Cinzel',Georgia,serif;letter-spacing:.12em;color:#d9bf8a;border-color:#c9a45c66}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .masthead-portrait{z-index:3} /* keep the original absolute placement on the right */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-hero{filter:drop-shadow(0 14px 18px #000c)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .portrait-halo{background:radial-gradient(circle,#f0d08a44,transparent 66%)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .portrait-ribbon{background:linear-gradient(180deg,#8c2416,#5e1209)!important;border:1px solid var(--gilt)!important;box-shadow:inset 0 1px 0 #ffb3a044,0 4px 8px #000a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .portrait-ribbon strong{font:700 16px 'Cinzel',Georgia,serif;letter-spacing:.08em;color:#fff1d6}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .portrait-ribbon span{font:600 11px 'Cinzel',Georgia,serif;letter-spacing:.16em;color:#f0d9a4}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-link{font:700 13px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:#f0d9a4;background:linear-gradient(180deg,#5a3d20,#3a2614);border:1px solid var(--gilt);border-radius:3px;
  box-shadow:inset 0 1px 0 #f0d9a455,inset 0 0 0 3px #2b1d1299,0 2px 4px #0007;text-shadow:0 1px 0 #000}

/* --- Section tabs as ribbon bookmarks --- */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-subnav{gap:8px;border-bottom:2px solid var(--gilt-deep)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-subnav button{font:700 14px 'Cinzel',Georgia,serif;letter-spacing:.08em;color:#f0d9a4;background:linear-gradient(180deg,#4a2c17,#2a170b)!important;
  border:1px solid var(--gilt-deep)!important;border-bottom:0!important;border-image:none!important;border-radius:4px 4px 0 0;box-shadow:inset 0 1px 0 #f0d9a433;text-shadow:0 1px 0 #000;padding:11px 20px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-subnav button:hover{color:#fff3d6;background:linear-gradient(180deg,#6b4426,#3a2213)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-subnav button[aria-selected=true]{color:#fff3dc;background:linear-gradient(180deg,#a02c1b,#6e170c)!important;border-color:var(--gilt)!important;box-shadow:inset 0 1px 0 #ffb3a055,0 -2px 8px #0008}

/* --- Chapters: parchment pages in a leather frame --- */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-chapter{background:var(--parch-tex),var(--parch)!important;border:0!important;border-image:none!important;border-radius:4px;color:var(--ink);
  box-shadow:0 0 0 2px var(--gilt-deep),0 0 0 14px #2a170b,0 0 0 15px #c9a45c66,inset 0 0 60px #8b62305e,0 12px 30px #000a!important;margin:30px 15px;padding:26px 30px 30px!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-heading{border-bottom:2px solid var(--rule);padding-bottom:10px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-heading>div{display:flex;align-items:center;gap:16px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-number{display:grid;place-items:center;min-width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#b23a24,#7c1d12 60%,#4e0f07);
  color:#f6e2b8;font:700 22px/1 'Cinzel',Georgia,serif;box-shadow:inset 0 2px 3px #ffb3a055,inset 0 -3px 5px #0006,0 2px 4px #3b250f88;border:0}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-heading h2{font:700 clamp(24px,2.6vw,34px)/1.1 'Cinzel',Georgia,serif;color:var(--rubric);letter-spacing:.03em;margin:0}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-note{font:italic 17px/1.45 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-label{font:700 11px 'Cinzel',Georgia,serif;letter-spacing:.12em;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-eyebrow{font:700 11px 'Cinzel',Georgia,serif;letter-spacing:.16em}

/* Chapter I: victories */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription{background:none!important;border:0!important;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription strong{font:700 clamp(54px,6vw,84px)/1 'Cinzel',Georgia,serif;color:var(--rubric);text-shadow:0 1px 0 #fff6}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription p{font:italic 16px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-laurel{stroke:var(--rubric)!important;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-register{background:#f6ead0cc!important;border:0!important;border-top:4px solid var(--gilt-deep)!important;border-bottom:4px solid var(--gilt-deep)!important;box-shadow:0 2px 6px #6b4a2240}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row{border-color:#8b623055!important;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row span{font:600 17px 'EB Garamond',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row strong{font:700 24px 'Cinzel',Georgia,serif;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row small{font:italic 14px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-rule{background:linear-gradient(90deg,var(--rule),transparent)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote{color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote strong{font:700 22px 'Cinzel',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote small{font:italic 14px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote svg{stroke:var(--rubric);color:var(--rubric)}

/* Chapter II: the vault */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection{background:none!important;border:0!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row{background:#f6ead0!important;border:1px solid var(--gilt-deep)!important;border-image:none!important;border-radius:3px;color:var(--ink);
  box-shadow:inset 0 0 0 4px #f6ead0,inset 0 0 0 5px #a8792c66,2px 3px 6px #6b4a2255!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-display{background:radial-gradient(ellipse at 50% 60%,#e9d3a0,transparent 72%)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-arch{border-color:var(--gilt-deep)!important;opacity:.6}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-art{filter:drop-shadow(0 8px 8px #3b250f77)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-banner{background:var(--rubric)!important;color:#fff3dc!important;font:700 12px 'Cinzel',Georgia,serif;letter-spacing:.12em;border-bottom:3px solid var(--rarity)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-totals strong{font:700 30px 'Cinzel',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-totals span,:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-percent{font:italic 15px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress{accent-color:var(--gilt-deep);height:7px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress::-webkit-progress-bar{background:#2b1d1222;border-radius:4px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress::-webkit-progress-value{background:linear-gradient(90deg,#8a5f22,#d9a94f);border-radius:4px}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress::-moz-progress-bar{background:linear-gradient(90deg,#8a5f22,#d9a94f)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-placeholder{stroke:var(--gilt-deep)}

/* Chapter III: battle ledgers */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-period-tabs{border-bottom:2px solid var(--rule)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-period-tab{font:700 15px 'Cinzel',Georgia,serif;letter-spacing:.05em;color:var(--ink-soft);background:transparent!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-period-tab:hover{color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-period-tab[aria-selected=true]{color:var(--rubric);background:#9c2a1714!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-period-tab[aria-selected=true]::after{background:var(--rubric)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role{background:#f6ead0!important;border:0!important;border-image:none!important;border-top:4px solid var(--gilt-deep)!important;border-bottom:4px solid var(--gilt-deep)!important;
  box-shadow:0 2px 6px #6b4a2240!important;color:var(--ink);--role-color:#7c1d12}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-heart{--role-color:#1c679a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-shield{--role-color:#5b3a8a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-spark{--role-color:#4a7a26}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-heading h3{font:700 26px 'Cinzel',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .role-metrics .ledger-metric{border-top:1px dotted #8b623088}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .role-metrics .career-label{color:var(--ink);font:700 12px 'Cinzel',Georgia,serif;letter-spacing:.06em}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .role-metrics .ledger-metric strong{font:700 24px 'Cinzel',Georgia,serif;color:var(--role-color)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .role-metrics .ledger-metric small{font:italic 14px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}

/* Chapter V: honours as wax seals */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal{background:none!important;border:0!important;border-image:none!important;box-shadow:none!important;color:var(--ink);text-align:center}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .medal-seal{width:86px;height:86px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;border:0!important;
  background:radial-gradient(circle at 35% 30%,#c0412a,#8c2416 55%,#5e1209)!important;box-shadow:inset 0 3px 4px #ffb3a055,inset 0 -5px 8px #0007,0 0 0 4px #8c241633,0 3px 6px #3b250f88!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .medal-seal svg{width:40px;height:40px;stroke:#f6d8b0;fill:none;filter:drop-shadow(0 1px 0 #4e0f07)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal h3{font:700 16px 'Cinzel',Georgia,serif;letter-spacing:.06em;color:var(--rubric)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal>strong{font:700 34px 'Cinzel',Georgia,serif;color:var(--ink)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal small{font:italic 14px 'EB Garamond',Georgia,serif;color:var(--ink-soft)}

/* Footer: the back cover band */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-footer{background:var(--leather);border:2px solid var(--gilt-deep);border-radius:4px;padding:18px;color:#d9bf8a;font:700 12px 'Cinzel',Georgia,serif;letter-spacing:.3em}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-footer svg{stroke:var(--gilt);color:var(--gilt)}

@media (max-width:700px){
  :is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-chapter{margin:22px 9px;padding:18px 14px 20px!important;box-shadow:0 0 0 2px var(--gilt-deep),0 0 0 8px #2a170b,inset 0 0 50px #8b62305e!important}
  :is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-number{min-width:42px;height:42px;font-size:18px}
  :is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chronicle-subnav button{padding:9px 12px;font-size:12px}
}

/* T103: Collector's Vault rarity colours (banner, aura, fill bar) */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-display{background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--rarity) 38%,transparent),transparent 72%)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-arch{border-color:color-mix(in srgb,var(--rarity) 80%,#3b250f)!important;border-width:2px!important;opacity:1;box-shadow:0 0 16px color-mix(in srgb,var(--rarity) 75%,transparent),inset 0 0 14px color-mix(in srgb,var(--rarity) 45%,transparent)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .collection-banner{background:linear-gradient(180deg,color-mix(in srgb,var(--rarity) 62%,#1a0f06),color-mix(in srgb,var(--rarity) 42%,#1a0f06))!important;color:#fff8e8!important;text-shadow:0 1px 2px #000a;border-top:1px solid color-mix(in srgb,var(--rarity) 85%,#fff);border-bottom:3px solid var(--rarity)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress{accent-color:var(--rarity)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress::-webkit-progress-value{background:linear-gradient(90deg,color-mix(in srgb,var(--rarity) 55%,#1a0f06),var(--rarity))!important;box-shadow:0 0 6px color-mix(in srgb,var(--rarity) 70%,transparent)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .career-collection-row progress::-moz-progress-bar{background:linear-gradient(90deg,color-mix(in srgb,var(--rarity) 55%,#1a0f06),var(--rarity))!important}
/* T103: MVP colours on battle-ledger cards and honour seals (post-game MVP palette) */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-sword{--role-color:#a8182a;--role-bright:#ff5d69}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-heart{--role-color:#157a43;--role-bright:#60ff9a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-shield{--role-color:#1a5f9e;--role-bright:#61b9ff}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role.role-spark{--role-color:#6e2fb0;--role-bright:#c776ff}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role{border-top:4px solid var(--role-color)!important;border-bottom:4px solid var(--role-color)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--role-bright) 35%,transparent),0 0 18px color-mix(in srgb,var(--role-bright) 30%,transparent),0 2px 6px #6b4a2240!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .career-eyebrow{color:var(--role-color)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-seal,:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-seal svg{color:var(--role-color)!important;stroke:var(--role-color)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal:nth-child(1){--seal-bright:#ff5d69;--seal-deep:#a8182a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal:nth-child(2){--seal-bright:#60ff9a;--seal-deep:#157a43}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal:nth-child(3){--seal-bright:#61b9ff;--seal-deep:#1a5f9e}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal:nth-child(4){--seal-bright:#c776ff;--seal-deep:#6e2fb0}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal .medal-seal{background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--seal-bright) 80%,#fff),var(--seal-deep) 58%,color-mix(in srgb,var(--seal-deep) 60%,#000))!important;box-shadow:inset 0 3px 4px #ffffff55,inset 0 -5px 8px #0007,0 0 0 4px color-mix(in srgb,var(--seal-bright) 35%,transparent),0 0 16px color-mix(in srgb,var(--seal-bright) 45%,transparent),0 3px 6px #3b250f88!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal .medal-seal svg{stroke:#fff8ec;filter:drop-shadow(0 1px 1px #0008)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .mvp-medal h3{color:var(--seal-deep)!important}
/* T103: easier-to-read chapter titles (no dark offset shadow) */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .chapter-heading h2{text-shadow:none!important;-webkit-text-stroke:0!important;filter:none!important;color:#7a1a10!important;-webkit-text-fill-color:#7a1a10!important;background:none!important;font-weight:700;letter-spacing:.04em}
/* T103: keep the blackletter cover title on the My Character page (page heading rules were overriding it) */
:is(body.site-forged,body.hero-gear-page) .tome-cover .tome-cover-title{font:400 clamp(58px,9vw,118px)/.95 'UnifrakturMaguntia','Old English Text MT',Georgia,serif!important;letter-spacing:.02em!important;text-transform:none!important;margin:10px 0 0!important;
  background:linear-gradient(180deg,#fff1c4 0%,#f0d08a 38%,#c99a45 62%,#8a5f22 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;
  filter:drop-shadow(0 2px 0 #1c0f07) drop-shadow(0 0 14px #c9a45c44)!important}
/* T103b: filled MVP-colour ledger cards with light, readable text */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role{background:radial-gradient(ellipse at 20% 0%,color-mix(in srgb,var(--role-bright) 30%,transparent),transparent 60%),linear-gradient(165deg,color-mix(in srgb,var(--role-color) 88%,#000),color-mix(in srgb,var(--role-color) 52%,#0b0604))!important;color:#fff6e6;border-top:4px solid var(--role-bright)!important;border-bottom:4px solid var(--role-bright)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-heading h3{color:#fff8ec!important;text-shadow:0 2px 3px #0008}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .career-eyebrow{color:color-mix(in srgb,var(--role-bright) 45%,#fff)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-seal,:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .support-seal svg{color:color-mix(in srgb,var(--role-bright) 40%,#fff)!important;stroke:color-mix(in srgb,var(--role-bright) 40%,#fff)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .role-metrics .ledger-metric{border-top:1px dotted #ffffff4d!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .role-metrics .career-label{color:#fff3dc!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .role-metrics .ledger-metric strong{color:color-mix(in srgb,var(--role-bright) 30%,#fff)!important;text-shadow:0 0 10px color-mix(in srgb,var(--role-bright) 55%,transparent),0 2px 2px #0009}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role .role-metrics .ledger-metric small{color:#f3e4cbd9!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role::before,:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .battle-role::after{border-color:#ffffff59!important}
/* T103c: Chapter I spruce-up: gilded victory medallion, leather record register, mourning band for deaths */
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription{position:relative;padding:34px 22px 30px!important;border-radius:6px!important;border:2px solid #b8893a!important;
  background:radial-gradient(circle at 50% 42%,#8e2a1a 0%,#5c160d 45%,#2a0b06 100%)!important;
  box-shadow:inset 0 0 0 5px #2a0b06,inset 0 0 0 6px #d9a94f88,inset 0 0 40px #000a,0 0 22px #c9a45c55,0 4px 10px #3b250f88!important;color:#f6e2b8}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription .career-label{color:#f0d08a!important;letter-spacing:.22em;text-shadow:0 1px 2px #000a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription strong{background:linear-gradient(180deg,#fff1c4 0%,#f0d08a 40%,#c99a45 68%,#8a5f22 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 3px 0 #1c0605) drop-shadow(0 0 16px #f0c86a66)}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-inscription p{color:#e9cfa0!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .victory-laurel{stroke:#d9a94f!important;color:#d9a94f!important;opacity:.55}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-register{background:linear-gradient(165deg,#3a2414,#1c110a)!important;border-top:4px solid #d9a94f!important;border-bottom:4px solid #d9a94f!important;border-radius:3px;
  box-shadow:0 0 0 1px #d9a94f55,0 0 18px #c9a45c40,0 3px 8px #3b250f88!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row{border-color:#d9a94f33!important;color:#fff3dc}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row span{color:#fff3dc!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row small{color:#e8d3b0cc!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row strong{color:var(--rec,#f0d08a)!important;text-shadow:0 0 10px color-mix(in srgb,var(--rec,#f0d08a) 50%,transparent),0 2px 2px #0009}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row .record-rule{background:linear-gradient(90deg,var(--rec,#d9a94f),transparent)!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row:nth-child(1){--rec:#ff8a92}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row:nth-child(2){--rec:#f0d08a}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row:nth-child(3){--rec:#8fd0ff}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .record-row:nth-child(4){--rec:#c9b8ad}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote{background:linear-gradient(90deg,#2a0b06,#4a140c 50%,#2a0b06)!important;border:1px solid #b8893a!important;border-radius:4px;box-shadow:inset 0 0 18px #000a,0 2px 6px #3b250f66!important;color:#f6e2b8}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote .career-label{color:#ff8a92!important;letter-spacing:.2em}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote strong{color:#fff3dc!important;text-shadow:0 0 10px #ff5d6955}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote small{color:#e8d3b0cc!important}
:is(body.site-forged,body.hero-gear-page) .is-tome-chronicle .casualty-footnote svg{stroke:#ff8a92!important;color:#ff8a92!important}
/* T103d: red creature names in the bestiary dialog on every page; no Immunities box (creature types get their own section later) */
:is(body.site-forged,body.hero-gear-page) .creature-dialog.is-tome .creature-detail-heading h2{color:#7a1a10!important;-webkit-text-fill-color:#7a1a10!important;background:none!important;text-shadow:0 1px 0 #fff6!important;filter:none!important;-webkit-text-stroke:0!important;font-family:'Cinzel','Trajan Pro',Georgia,serif!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:none!important}
:is(body.site-forged,body.hero-gear-page) .creature-dialog.is-tome .is-locked-entry .creature-detail-heading h2,:is(body.site-forged,body.hero-gear-page) .creature-dialog.is-tome.is-locked-entry .creature-detail-heading h2{color:#7c1d1299!important;-webkit-text-fill-color:#7c1d1299!important}
.creature-dialog.is-tome .creature-immunities{display:none!important}

/* Boss trophies display their real unique accessory as a keepsake. */
.trophy-token-display {
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 45%,#30212e,#0b090d 76%)!important;
}
.trophy-token-display>.trophy-token {
  display:block;
  position:absolute!important;
  inset:0;
  width:100%!important;height:100%!important;max-width:100%;max-height:100%;
  padding:12px;
  box-sizing:border-box;
  object-fit:contain!important;
  object-position:center!important;
}
.trophy-token-unavailable {display:grid;place-items:center;width:100%;height:100%;color:#b99658;}
.trophy-token-unavailable svg {width:34%;height:34%;stroke:currentColor;}
.trophy-token-plaque .trophy-inscription,
html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque .trophy-inscription {
  position:relative;
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px!important;
  box-sizing:border-box;
  min-height:64px!important;
  margin:8px 2px 1px!important;
  padding:12px 14px!important;
  border:1px solid #67431f;
  border-radius:2px;
  background:linear-gradient(105deg,#ac7a35,#e4c177 24%,#d9ae5f 61%,#a6732e)!important;
  box-shadow:inset 0 0 0 2px #f7dc9355,inset 0 3px 0 #ffedb555,inset 0 -3px 0 #50301466,0 3px 5px #2d1c1755;
}
.trophy-token-plaque .trophy-inscription::before,
.trophy-token-plaque .trophy-inscription::after {content:'';position:absolute;top:50%;width:3px;height:3px;border-radius:50%;background:#5b3b20;box-shadow:0 1px 0 #ffe7a188;transform:translateY(-50%);}
.trophy-token-plaque .trophy-inscription::before {left:5px;}
.trophy-token-plaque .trophy-inscription::after {right:5px;}
.trophy-token-plaque .trophy-name,
html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque .trophy-name {
  margin:0!important;
  color:#2e1b0f;
  font:700 16px/1.3 Cinzel,Georgia,serif!important;
  text-align:left;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  text-shadow:0 1px 0 #fff0b866;
}
.trophy-token-count {
  display:grid;place-items:center;
  min-width:42px;min-height:36px;
  padding:3px 7px;
  box-sizing:border-box;
  border:1px solid #725027;
  border-radius:2px;
  background:linear-gradient(#795025,#4c2e18);
  color:#ffe7ae;
  box-shadow:inset 0 1px 0 #f0ce7e44,0 1px 0 #ffe8a777;
  font:700 19px/1 Cinzel,Georgia,serif;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.trophy-token-large {width:100%;height:min(440px,55dvh);min-height:180px;border:1px solid #a88146;box-sizing:border-box;}
.trophy-token-record {display:grid;place-items:center;padding:18px;}
.trophy-token-record .trophy-record-count {font:700 clamp(32px,6vw,64px)/1.2 Cinzel,Georgia,serif;white-space:nowrap;}
@media(max-width:600px) {
  html body #t159-dialog.armory-modal-trophies .trophy-slot-grid {grid-template-rows:none!important;grid-auto-rows:auto!important;align-items:start!important;}
  .trophy-token-plaque {min-height:0!important;height:auto!important;}
  html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque {min-height:0!important;height:auto!important;}
  .trophy-token-plaque .trophy-token-display,
  html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque .trophy-token-display {height:auto!important;min-height:0!important;flex:0 0 auto!important;aspect-ratio:1/1;}
  .trophy-token-plaque .trophy-inscription,
  html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque .trophy-inscription {
    grid-template-columns:minmax(0,1fr);justify-items:center;gap:8px!important;
    min-height:94px!important;padding:10px!important;
  }
  .trophy-token-plaque .trophy-name,
  html body #t159-dialog.armory-modal-trophies .trophy-slot-grid .trophy-token-plaque .trophy-name {
    font-size:14px!important;text-align:center;line-height:1.3!important;
  }
  .trophy-token-count {font-size:18px;min-height:32px;}
  .trophy-token-display>.trophy-token {padding:7px;}
}
