.characters-wrap{max-width:1320px;margin:auto;padding:26px 32px 0}.character-index-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:26px}.character-index-heading h1{font-size:38px;letter-spacing:2px;margin:8px 0}.character-index-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0}.character-search{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:4px;background:#fffef8;padding:10px 14px;min-width:280px}.character-search>span{font-size:21px;color:#91a37f}.character-search input{background:transparent;border:0;outline:0;min-width:0;flex:1;font-size:11px}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 16px}.character-card{display:flex;align-items:center;gap:15px;padding:16px 18px;background:#fffef8;border:1px solid var(--line);border-radius:5px;text-align:left}.character-card:hover{border-color:#9dac88;box-shadow:0 5px 16px #263b3508}.character-card.active{background:#e7eddc;border-color:#9eae89}.character-card img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated}.character-card strong{display:block;font-family:"Songti SC",serif;font-size:19px;font-weight:600;line-height:1.5}.character-card span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.character-card small{display:block;font:8px/1.8 sans-serif;color:#a0aa91;margin-top:2px}#character-profile{margin-top:30px;scroll-margin-top:105px}.character-hero{position:relative;display:flex;gap:35px;align-items:center;justify-content:space-between;padding:36px 38px;background:linear-gradient(115deg,#23372e,#3b4b3c);color:#e9e9d0;border-radius:6px}.character-hero h2{font-size:43px;letter-spacing:3px;margin:13px 0}.character-hero .eyebrow{color:#a3b097}.character-hero .name-en{font:13px/1.7 Georgia,serif;letter-spacing:3px;color:#b8c4a7;margin:0 0 18px}.character-hero .badges .badge{background:#ffffff0c;border:1px solid #bdc9a62e;color:#cad3b9}.character-portrait{width:176px;height:176px;object-fit:contain;image-rendering:pixelated;margin-right:45px;filter:drop-shadow(0 9px 8px #0004)}.character-hero .profile-facts{font-size:11px;color:#b9c6a9;line-height:2;margin-top:18px}.character-section-nav{position:sticky;top:80px;background:#f6f4ecf5;z-index:10;padding:16px 0;display:flex;gap:24px;border-bottom:1px solid var(--line);font-size:11px;backdrop-filter:blur(8px);overflow:auto;white-space:nowrap}.character-section-nav a:hover{color:#7e965f}.character-section{margin-top:34px;scroll-margin-top:145px}.character-section h3{font-size:24px;line-height:1.5;margin:0 0 15px}.character-section .fields.stats{grid-template-columns:repeat(5,minmax(0,1fr))}.character-section .fields.stats dd{font-size:24px}.character-section .section-heading{margin-bottom:17px}.character-section .section-heading h3{margin:0}.character-section .section-heading>span{font-size:10px;color:var(--muted)}.ability-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ability-card{border:1px solid var(--line);border-radius:4px;background:#fffef8;padding:16px 18px}.ability-card h4{font-size:15px;font-weight:500;margin:0 0 8px}.ability-card p{font-size:11px;color:var(--muted);margin:0}.ability-card small{font-size:9px;color:#9aa48a}.growth-panel{border:1px solid var(--line);border-radius:5px;padding:22px;background:#fffef8}.growth-controls{display:flex;gap:15px;align-items:center;margin-bottom:18px}.growth-controls label{font-size:12px}.growth-controls input[type=number]{width:70px;padding:5px 10px;border:1px solid var(--line);border-radius:3px;background:#f4f6ec}.growth-controls input[type=range]{flex:1;accent-color:#7e9463}.growth-controls span{font-size:10px;color:var(--muted)}.growth-panel .fields{grid-template-columns:repeat(4,minmax(0,1fr))}.character-equip{max-height:450px;overflow:auto;border:1px solid var(--line);border-radius:4px;background:#fffef8}.character-equip thead{position:sticky;top:0;z-index:1}.quest-profile-card{padding:22px;border:1px solid var(--line);border-radius:5px;background:#fffef8;margin-bottom:12px}.quest-profile-card h4{font-family:"Songti SC",serif;font-size:21px;margin:0 0 9px}.quest-profile-card>p{font-size:12px;line-height:1.9;color:var(--muted);white-space:pre-line}.quest-profile-card .pills{margin:12px 0}.quest-profile-card code{font-size:10px;overflow-wrap:anywhere}.character-assets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.character-assets a{border:1px solid var(--line);border-radius:4px;background:#fffef8;overflow:hidden;display:flex;flex-direction:column}.character-assets img{width:100%;height:110px;object-fit:contain;image-rendering:pixelated;background:repeating-conic-gradient(#e3e7dc 0% 25%,#f6f8f0 0% 50%) 50%/16px 16px}.character-assets span{font-size:9px;padding:9px;overflow-wrap:anywhere}.source-table{max-height:500px;overflow:auto;background:#fffef8;border:1px solid var(--line);border-radius:4px}.source-table td{font-size:10px}.source-table thead{position:sticky;top:0;z-index:1}.character-source-footer{margin-top:45px;border-top:1px solid var(--line);padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.character-source-footer h2{font-size:24px;margin:8px 0}.character-source-footer p:not(.eyebrow){font-size:11px;color:var(--muted)}.characters-wrap footer{margin-top:30px}.character-resistance{display:grid;grid-template-columns:1fr 1fr;gap:20px}.character-resistance details{border:1px solid var(--line);padding:14px;background:#fffef8;border-radius:4px}@media(max-width:1000px){.character-card{padding:14px;gap:10px}.character-card img{width:52px;height:52px}.character-card strong{font-size:17px}.character-card span{font-size:9px}.character-portrait{margin-right:15px}.character-section-nav{gap:20px}.character-assets{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:800px){.character-section-nav{top:109px}.characters-wrap{padding:22px 20px 0}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-index-heading{align-items:start}.character-search{min-width:220px}.character-section .fields.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.character-hero{padding:28px}.character-hero h2{font-size:35px}.character-portrait{width:145px;height:145px;margin:0}.ability-group{grid-template-columns:1fr}.character-assets{grid-template-columns:repeat(3,minmax(0,1fr))}.character-source-footer{flex-direction:column;align-items:start}.character-resistance{grid-template-columns:1fr}.character-section{scroll-margin-top:175px}}@media(max-width:500px){.character-index-heading{flex-direction:column;gap:17px}.character-search{width:100%}.character-index-heading h1{font-size:33px}.character-card{padding:13px 11px;gap:10px}.character-card img{width:45px;height:45px}.character-card strong{font-size:17px}.character-card small{font-size:7px;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.character-grid{gap:9px}.character-hero{padding:23px 20px;gap:10px}.character-hero h2{font-size:32px;letter-spacing:1px}.character-hero .name-en{font-size:10px;letter-spacing:1px}.character-hero .eyebrow{font-size:7px;letter-spacing:1px}.character-hero .profile-facts{font-size:9px}.character-portrait{width:105px;height:105px}.character-section-nav{font-size:10px;gap:18px;padding:13px 0}.growth-controls{gap:10px;flex-wrap:wrap}.growth-controls input[type=range]{min-width:150px}.growth-panel{padding:17px}.growth-panel .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.character-section h3{font-size:22px}.character-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.character-assets img{height:115px}.quest-profile-card{padding:18px}.quest-profile-card h4{font-size:19px}}
/* Match the compact vision dossier: smaller hero, dense selectors and rows. */
.characters-wrap{padding-top:14px}.character-index-heading{margin-bottom:12px;gap:18px}.character-index-heading h1{font-size:28px;margin:0 0 3px}.character-index-heading .eyebrow{display:none}.character-search{padding:5px 10px;min-width:260px;height:36px}.character-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:8px 0 12px}.character-card{padding:7px 8px;gap:7px}.character-card img{width:36px;height:36px}.character-card strong{font-size:14px}.character-card span{font-size:9px;margin-top:2px}.character-card small{display:none}#character-profile{margin-top:14px}.character-hero{padding:15px 22px;gap:22px;min-height:0}.character-hero>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 24px;flex:1}.character-hero .eyebrow{display:none}.character-hero h2{font-size:30px;margin:0;grid-column:1;grid-row:1}.character-hero .name-en{font-size:11px;letter-spacing:2px;margin:0;grid-column:1;grid-row:2;text-align:center}.character-hero .badges{grid-column:2;grid-row:1}.character-hero .profile-facts{grid-column:2;grid-row:2;margin:0;font-size:10px;line-height:1.7}.character-portrait{width:100px;height:100px;margin:0}.character-section-nav{padding:9px 0;gap:20px;font-size:11px}.character-section{margin-top:20px}.character-section h3{margin-bottom:10px}.character-section .fields{gap:7px;margin:10px 0}.character-section .fields>div{padding:8px 10px}.character-section .fields.stats{grid-template-columns:repeat(9,minmax(0,1fr))}.character-section .fields.stats dd{font-size:20px}.character-section .note{font-size:11px;margin:7px 0;line-height:1.7}.character-resistance{gap:10px}.character-resistance details{padding:8px 12px;margin:6px 0}.ability-group{gap:0;display:block;border:1px solid var(--line);border-radius:4px;overflow:hidden}.ability-card{display:grid;grid-template-columns:170px minmax(0,1fr) 160px;align-items:center;gap:14px;padding:10px 13px;border:0;border-bottom:1px solid var(--line);border-radius:0}.ability-card:last-child{border-bottom:0}.ability-card h4{margin:0}.ability-card p{line-height:1.7}.character-section .data-table td,.character-section .data-table th{padding:8px 10px}.growth-panel{padding:13px}.growth-controls{margin-bottom:10px}.growth-panel .fields{grid-template-columns:repeat(6,minmax(0,1fr))}.quest-profile-card{padding:13px 16px;margin-bottom:8px}.quest-profile-card>p{font-size:11px;line-height:1.75}.quest-profile-card .pills{margin:7px 0;gap:5px}.quest-profile-card .pills a{padding:3px 7px;font-size:10px}.character-assets{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.character-assets img{height:80px}.character-assets span{padding:6px}.character-source-footer{margin-top:22px;padding-top:15px}
@media(max-width:1100px){.character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.character-section .fields.stats{grid-template-columns:repeat(5,minmax(0,1fr))}.character-assets{grid-template-columns:repeat(6,minmax(0,1fr))}.ability-card{grid-template-columns:140px minmax(0,1fr) 120px}}
@media(max-width:700px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-hero{padding:14px;gap:10px}.character-hero>div{display:block}.character-hero h2{font-size:26px}.character-hero .name-en{margin:3px 0 6px}.character-hero .profile-facts{margin-top:6px}.character-portrait{width:80px;height:80px}.character-section .fields.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-panel .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.ability-card{grid-template-columns:120px minmax(0,1fr);gap:6px 12px}.ability-card small{grid-column:1/-1}.character-assets{grid-template-columns:repeat(3,minmax(0,1fr))}}

.character-section-nav{position:static;gap:6px;padding:10px 0 0;border-bottom:1px solid var(--line);overflow-x:auto}.character-section-nav a{display:block;padding:8px 15px;border:1px solid transparent;border-bottom:0;border-radius:5px 5px 0 0;font-size:12px}.character-section-nav a[aria-selected="true"]{background:#fffef8;border-color:var(--line);color:#284d37;font-weight:700}.character-section[role="tabpanel"]{margin-top:0;padding:18px 16px;border:1px solid var(--line);border-top:0;border-radius:0 0 5px 5px;background:#fffef8}.character-section[hidden]{display:none!important}@media(max-width:700px){.character-section-nav a{padding:7px 10px;font-size:11px}.character-section[role="tabpanel"]{padding:14px 10px}}

.character-hero .character-portrait{order:-1;flex-shrink:0}.character-source-footer{display:none!important}.character-resistance{display:flex;flex-direction:column;gap:10px}.resistance-strip{display:flex;align-items:center;gap:14px;padding:10px 12px;background:#f4f6ed;border:1px solid var(--line);border-radius:4px;min-width:0}.resistance-strip h4{font-size:13px!important;white-space:nowrap;margin:0;flex-shrink:0}.resistance-values{display:flex;flex:1;gap:8px;overflow-x:auto;min-width:0;padding-bottom:3px}.resistance-values>span{display:flex;flex-direction:column;align-items:center;flex:1 0 auto;gap:3px;min-width:40px}.resistance-values b{font-size:11px;font-weight:500;white-space:nowrap}.resistance-values small{font-size:11px;color:var(--muted)}@media(max-width:700px){.resistance-strip{display:block}.resistance-strip h4{margin-bottom:8px}.character-hero .character-portrait{width:70px;height:70px}}

[data-section="character-assets"],#character-assets{display:none!important}.ability-card{grid-template-columns:170px minmax(0,1fr)}#character-growth-result .level-totals{display:grid;grid-template-columns:repeat(10,minmax(80px,1fr));gap:6px;overflow-x:auto}#character-growth-result .level-totals dd{font-size:20px;font-weight:600}.character-section a:has(>.native-icon){display:inline-flex;gap:6px;align-items:center}.character-section img.native-icon{width:22px;height:22px;object-fit:contain;vertical-align:middle;image-rendering:pixelated}@media(max-width:700px){.ability-card{grid-template-columns:110px minmax(0,1fr)}}

.character-hero>.character-commands{display:flex;flex:0 1 420px;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px;align-content:center}.character-commands a{display:inline-flex;align-items:center;gap:6px;color:#edf1dd;font-size:12px;white-space:nowrap}.character-commands img{width:22px;height:22px;object-fit:contain;image-rendering:pixelated}@media(max-width:800px){.character-hero>.character-commands{flex:1 1 100%;justify-content:flex-start;padding-top:8px;border-top:1px solid #9bad8b44}}

.equipment-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.equipment-tabs button{border:1px solid var(--line);background:#f6f7ef;border-radius:4px;padding:6px 13px;font:inherit;font-size:12px;cursor:pointer}.equipment-tabs button[aria-pressed="true"]{background:#e4ecd8;color:#365b3d;border-color:#a9bb97;font-weight:600}.equipment-tabs small{margin-left:8px;color:var(--muted);font-weight:400}

.character-hero{padding:16px 24px;gap:24px;align-items:center}.hero-identity{margin:0;position:relative;flex:0 0 150px;text-align:center;padding-bottom:44px}.hero-identity .character-portrait{width:132px;height:132px;margin:0}.hero-identity figcaption{position:absolute;left:0;right:0;bottom:0;text-align:center;background:linear-gradient(transparent,#243b32aa);border-radius:5px}.hero-identity h2{font-size:24px;margin:0!important;line-height:1.3;letter-spacing:1px}.hero-identity .name-en{font-size:11px;letter-spacing:1px;margin:2px 0 0!important}.character-hero>.hero-information{display:block;flex:1;min-width:0}.hero-information .badges{display:flex;flex-wrap:wrap;gap:6px}.hero-information .badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;font-size:11px}.hero-information img.native-icon{width:20px;height:20px;object-fit:contain;image-rendering:pixelated}.hero-information .profile-facts{margin:10px 0 0!important}.character-section .fields.stats{display:flex;flex-wrap:nowrap;gap:0;background:transparent;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;overflow-x:auto}.character-section .fields.stats>div{display:flex;flex:1 0 auto;align-items:baseline;justify-content:center;gap:8px;background:transparent;border-radius:0;padding:0 10px}.character-section .fields.stats dd{margin:0;font-size:21px}.character-section .fields.stats dt{white-space:nowrap;font-size:11px}@media(max-width:700px){.character-hero{gap:12px}.hero-identity{flex-basis:115px}.hero-identity .character-portrait{width:110px;height:110px}.hero-identity h2{font-size:21px}.character-section .fields.stats>div{padding:0 10px}}

.hero-information .character-commands{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px 14px;margin-top:12px;align-items:center;border:0;padding:0}
/* One visual language for all overview data: label column and aligned values. */
.characters-wrap>footer{display:none!important}
#character-base>.section-heading{margin-bottom:12px}
#character-base .fields.stats{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:0;margin:0;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:#f7f8f1}
#character-base .fields.stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0 8px;background:none}
#character-base .fields.stats dt{font-size:12px;font-weight:500;color:#52634e;line-height:1.5}
#character-base .fields.stats dd{font:600 18px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif;color:#284538;font-variant-numeric:tabular-nums}
#character-base>.note{font-size:11px;margin:10px 0 14px;color:#7b8773}
#character-base .character-resistance{gap:0;border:1px solid var(--line);border-radius:4px;overflow:hidden}
#character-base .resistance-strip{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;border:0;border-radius:0;border-bottom:1px solid var(--line);background:#f7f8f1;padding:12px}
#character-base .resistance-strip:last-child{border-bottom:0}
#character-base .resistance-strip h4{font:600 12px/1.5 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif!important;text-align:left;margin:0;color:#405a46}
#character-base .resistance-values{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(44px,1fr);gap:7px;margin:0;padding:0;overflow-x:auto}
#character-base .resistance-values>span{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
#character-base .resistance-values b{font-size:11px;font-weight:500;line-height:1.5;color:#52634e}
#character-base .resistance-values small{font-size:12px;line-height:1.5;color:#284538;font-variant-numeric:tabular-nums}
@media(max-width:700px){#character-base .fields.stats{overflow-x:auto;grid-template-columns:repeat(9,minmax(65px,1fr))}#character-base .resistance-strip{grid-template-columns:90px minmax(0,1fr);gap:6px;padding:10px 8px}}

/* Acquisition information belongs beside the selected character profile. */
.character-hero>.chapter-limit-auto{flex:0 1 350px;align-self:center;margin:0 0 0 auto;padding:12px 14px;background:#f1f4e9;color:#294333;min-width:0;font-size:12px}
.character-hero>.chapter-limit-auto h3{color:#294333;font-size:14px;text-align:left;margin:0}
.character-hero>.chapter-limit-auto p{font-size:11px;line-height:1.6;color:#455b43;margin:6px 0}
.character-hero>.chapter-limit-auto summary{font-size:11px;color:#355638}
.character-hero>.chapter-limit-auto .chapter-limit-heading{gap:8px;flex-wrap:wrap}
@media(max-width:850px){.character-hero{flex-wrap:wrap}.character-hero>.chapter-limit-auto{flex:1 1 100%;margin:8px 0 0}}

.character-hero>.chapter-limit-auto>details,.character-hero>.chapter-limit-auto>.chapter-limit-context{display:none!important}

/* Character profiles omit acquisition gates and raw source modules for every role. */
#character-profile .chapter-limit,#character-sources,[data-section="character-sources"]{display:none!important}
