:root{--paper:#f4f5f0;--white:#fff;--ink:#233733;--muted:#596b60;--line:#dce3dc;--green:#206f59;--light:#e6eee4;--gold:#b59864;--radius:8px;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a:hover{color:var(--green)}:focus-visible{outline:3px solid #91681f;outline-offset:4px}.skip{position:fixed;left:12px;top:-60px;z-index:20;background:white;padding:12px}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.topbar{height:90px;padding:0 38px;display:flex;align-items:center;gap:50px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:15px;min-width:230px}.brand img{background:#243e37;object-fit:contain;padding:6px;border-radius:3px}.brand span{letter-spacing:.18em;font-size:24px;font-weight:700}.brand small{display:block;font-size:10px;letter-spacing:.06em;font-weight:400;margin-top:4px}.topbar nav{display:flex;gap:29px;white-space:nowrap;font-size:14px}.header-search{display:flex;margin-left:auto;background:#f1f4ee;border:1px solid var(--line);border-radius:4px}.header-search input{width:175px;padding:10px 12px;border:0;background:transparent;min-width:0}.header-search button{border:0;background:transparent;padding:0 13px;font-size:24px;color:var(--green)}.shell{display:grid;grid-template-columns:210px minmax(0,1fr);max-width:1600px;margin:auto;min-height:calc(100vh - 176px)}.sidebar{padding:33px 25px;border-right:1px solid var(--line);font-size:13px}.eyebrow{color:var(--green);font-size:10px;font-weight:700;letter-spacing:.16em}.sidebar a{display:flex;justify-content:space-between;padding:11px 10px;border-radius:3px}.sidebar a:hover,.sidebar a[aria-current]{background:var(--light);color:var(--green)}.side-home{font-weight:700;margin:17px 0}.nav-label{margin:28px 10px 7px;color:#596b60;font-size:11px;letter-spacing:.1em}.sidebar small{font-size:10px;color:#76613d}.side-note{margin-top:40px;border-top:1px solid var(--line);padding:22px 10px;color:var(--muted);font-size:11px;line-height:1.8}.side-note strong{color:var(--green);font-size:12px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--gold);border-radius:50%;margin-right:8px}main{padding:30px 38px 45px;min-width:0}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:20px;display:flex;gap:9px;align-items:center}.hero{position:relative;overflow:hidden;border-radius:var(--radius);background:#d3e2db;min-height:395px;display:flex;align-items:center}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 38%}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(239,245,235,.98),rgba(239,245,235,.91) 25%,rgba(233,242,231,.45) 48%,rgba(233,242,231,0) 72%)}.hero-copy{position:relative;z-index:1;width:55%;padding:38px}.hero .eyebrow{font-size:11px;letter-spacing:.3em}.hero h1{font-weight:500;font-size:clamp(30px,3.5vw,49px);letter-spacing:.08em;line-height:1.35;margin:18px 0}.hero h1 span{display:block;font-size:.5em;letter-spacing:.17em;margin-top:9px}.hero-copy>p:not(.eyebrow){font-size:13px;line-height:1.9;max-width:320px;color:#4e655d}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid var(--green);border-radius:3px;padding:12px 20px;background:var(--green);color:#fff;font-size:13px}.button:hover{background:#16523f;color:#fff}.button.secondary{background:transparent;color:var(--green)}.hero .button{margin-top:15px}.hero-credit{position:absolute;bottom:12px;right:15px;z-index:1;background:#213d36c9;color:white;padding:5px 9px;font-size:9px;letter-spacing:.04em}.notice{display:flex;align-items:center;gap:14px;padding:16px 19px;margin:19px 0 28px;border:1px solid #d9ddc9;background:#f3f2e8;border-radius:4px;font-size:12px;line-height:1.7}.notice b{color:#786b41;white-space:nowrap}.notice a{margin-left:auto;color:var(--green);white-space:nowrap}.section-title{display:flex;align-items:end;gap:12px;margin:30px 0 17px}.section-title h2{font-size:20px;font-weight:600;margin:0}.section-title span{font-size:10px;letter-spacing:.14em;color:var(--muted)}.section-title a{margin-left:auto;color:var(--green);font-size:12px}.categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.category{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;align-items:center;gap:17px;transition:transform .2s,border-color .2s}.category:hover{transform:translateY(-2px);border-color:#6c9a83}.category-icon{height:43px;width:43px;display:grid;place-items:center;color:var(--green);background:var(--light);font-size:22px;border-radius:50%;flex-shrink:0}.category h3{margin:0 0 6px;font-size:15px;font-weight:600}.category p{margin:0;color:var(--muted);font-size:11px}.category>span:last-child{margin-left:auto;color:#99a59b}.home-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:24px;margin-top:5px}.article-list{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.article-row{display:block;padding:18px 21px;border-bottom:1px solid var(--line)}.article-row:last-child{border:0}.article-row:hover{background:#f7faf5}.article-row small{color:var(--green);font-size:10px}.article-row h2,.article-row h3{font-size:15px;margin:7px 0;font-weight:600}.article-row p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.info-panel{background:#e7eee4;border-radius:var(--radius);padding:23px;font-size:12px;line-height:1.9}.info-panel h3{font-size:16px;margin:0 0 13px}.info-panel p{color:#53665a}.meta-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #ced9cb;gap:20px}.meta-row b{font-weight:500}.text-link{color:var(--green);text-decoration:underline;text-underline-offset:3px}.page-heading{padding:10px 0 22px;border-bottom:1px solid var(--line);margin-bottom:24px}.page-heading h1{font-size:32px;margin:8px 0 13px;font-weight:500}.page-heading p{font-size:13px;color:var(--muted);line-height:1.8;margin:0;max-width:700px}.filter-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:18px;background:white;border:1px solid var(--line);border-radius:6px;margin-bottom:22px}.filter-form label{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.filter-form input,.filter-form select{background:#f6f8f3;border:1px solid #cdd9ce;padding:11px 12px;border-radius:3px;max-width:100%;color:var(--ink)}.filter-form>div:first-child{flex:1;min-width:190px}.filter-form input{width:100%}.result-meta{color:var(--muted);font-size:12px;margin:20px 0 14px}.empty{padding:45px 25px;text-align:center;background:white;border:1px dashed #bfcdbf;border-radius:var(--radius);line-height:1.9}.empty .empty-mark{font-size:30px;color:#8ea48e}.empty h2{font-size:20px;font-weight:500}.empty p{font-size:13px;color:var(--muted);max-width:520px;margin:0 auto 20px}.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:35px}.prose{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:30px;line-height:1.95;font-size:14px}.prose h2{font-size:19px;margin:28px 0 13px}.prose h2:first-child{margin-top:0}.prose p{margin:0 0 17px}.prose li{padding:4px 0}.facts{width:100%;border-collapse:collapse;font-size:13px}.facts th,.facts td{text-align:left;padding:12px 15px;border:1px solid var(--line)}.facts th{background:#edf3e9;font-weight:500;width:30%}.source-box{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.toc{font-size:12px;line-height:2.1}.toc strong{font-size:13px}.toc p{color:var(--muted)}.tag{display:inline-block;padding:4px 8px;color:var(--green);border:1px solid #ccdcca;font-size:10px;border-radius:3px;margin-right:8px}.version-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.version-card{border:1px solid var(--line);border-radius:6px;background:white;padding:25px;line-height:1.9;font-size:13px}.version-card h2{font-size:18px;margin:0 0 15px}.version-card p{color:var(--muted)}footer{border-top:1px solid var(--line);font-size:10px;color:var(--muted);padding:25px 38px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.noscript{padding:20px}.art-inset{width:100%;border-radius:5px;margin-bottom:18px}@media(min-width:1600px){.hero{min-height:450px}}@media(max-width:1150px){.topbar{gap:22px;padding:0 22px}.topbar nav{gap:18px}.brand{min-width:210px}.header-search input{width:135px}.shell{grid-template-columns:175px minmax(0,1fr)}.sidebar{padding:25px 15px}main{padding:26px}.hero-copy{padding:28px;width:65%}.home-columns{grid-template-columns:1fr}.category{padding:17px;gap:10px}.category-icon{width:35px;height:35px}.reading-layout{grid-template-columns:1fr}.toc{display:none}}@media(max-width:760px){.topbar{height:auto;min-height:78px;flex-wrap:wrap;gap:0;padding:12px 17px}.brand{min-width:0;flex:1;gap:10px}.brand img{width:67px;height:45px}.brand span{font-size:19px}.brand small{font-size:9px}.topbar nav{order:3;width:100%;justify-content:space-between;padding-top:15px;font-size:12px}.header-search{margin-left:12px}.header-search input{width:110px;font-size:11px;padding:9px 8px}.header-search button{font-size:20px;padding:0 8px}.shell{display:block}.sidebar{display:none}main{padding:20px 16px 30px}.breadcrumb{margin-bottom:14px}.hero{min-height:400px;align-items:flex-end}.hero-art{object-position:61% 25%}.hero:after{background:linear-gradient(0deg,rgba(236,243,233,.99),rgba(236,243,233,.87) 34%,rgba(236,243,233,.1) 78%)}.hero-copy{width:100%;padding:24px}.hero .eyebrow{font-size:9px}.hero h1{font-size:32px;margin:12px 0}.hero-copy>p:not(.eyebrow){font-size:12px;max-width:270px;margin:8px 0}.hero .button{padding:10px 16px;margin-top:8px}.hero-credit{top:12px;bottom:auto;font-size:8px}.notice{align-items:start;gap:8px;flex-wrap:wrap;padding:12px;font-size:11px;margin-bottom:24px}.notice b{width:100%}.notice a{margin-left:0}.categories{grid-template-columns:1fr;gap:9px}.category{padding:15px 18px}.category h3{font-size:14px}.section-title{margin-top:26px}.section-title h2{font-size:19px}.section-title span{font-size:8px}.home-columns{gap:0}.prose{padding:21px;font-size:13px}.page-heading h1{font-size:27px}.version-grid{grid-template-columns:1fr}.filter-form{padding:14px}.filter-form select{width:100%}.filter-form>div{flex:1}.filter-form button{width:100%;padding:11px}.facts th,.facts td{padding:9px;font-size:12px}.version-card{padding:21px}footer{padding:20px 17px;gap:10px}footer span:nth-child(2){width:100%;order:3}.source-box{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.item-card{display:block;background:#fff;border:1px solid var(--line);border-radius:8px;padding:23px;position:relative;min-height:215px}.item-card:hover{border-color:#6c9a83}.item-emblem{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;font-size:35px;color:#9b773d;background:#f4efdf;float:right;margin-left:10px}.emblem-1{color:#507f83;background:#e7f0ef}.emblem-2{color:#6e759f;background:#eeeef6}.item-card small{font-size:10px;color:var(--muted)}.item-card h3{font-size:19px;margin:15px 0}.item-card p{font-size:12px;line-height:1.8;color:var(--muted);min-height:44px}.item-card-link{font-size:11px;color:var(--green)}@media(max-width:760px){.item-grid{grid-template-columns:1fr}.item-card{padding:20px;min-height:180px}}

/* Keep the established visual system; make encyclopedias the primary navigation. */
.topbar{gap:26px}.topbar nav{gap:19px}.wiki-hero{min-height:300px}.wiki-hero h1{font-size:clamp(30px,3.1vw,44px)}.character-card{min-height:190px}.name-emblem{display:grid;place-items:center;float:right;width:50px;height:50px;border-radius:50%;background:var(--light);color:var(--green);font-size:25px;margin-left:8px}.atlas-links{grid-template-columns:1fr}.atlas-links .category{padding:16px}.home-search{margin-bottom:13px}.scope-details{margin-top:25px}.home-columns>section{min-width:0}@media(max-width:1150px){.topbar nav{gap:13px}.topbar{gap:18px}.brand{min-width:185px}.header-search input{width:120px}}@media(max-width:760px){.topbar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;text-align:center}.wiki-hero{min-height:330px}.wiki-hero .hero-copy{padding:22px}.wiki-hero h1{font-size:30px}.character-grid{grid-template-columns:1fr}.character-card{min-height:150px}.character-card p{min-height:0}.section-title{flex-wrap:wrap}.home-search{display:flex}.home-search>div:first-child{min-width:0}}
@media(max-width:760px){.topbar{gap:0}.brand{min-width:0}.header-search input{width:100px}}

.portrait-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:16px}.portrait-card{display:block;overflow:hidden;border:1px solid var(--line);background:#fff;border-radius:8px;max-width:245px}.portrait-card:hover{border-color:var(--green);box-shadow:0 4px 16px #23373315}.portrait-image{position:relative;aspect-ratio:1;background:linear-gradient(150deg,#e4ede4,#bdcec5);overflow:hidden;border-bottom:3px solid}.quality-gold{border-color:#b99a55;background-color:#e8ddbe}.quality-purple{border-color:#9a7cc1;background-color:#ddd2e9}.portrait-image img{display:block;width:100%;height:100%;object-fit:contain}.quality-label{position:absolute;right:6px;top:6px;background:#ffffffd9;padding:3px 6px;border-radius:3px;font-size:10px}.portrait-caption{padding:11px 13px}.portrait-caption h3{font-size:16px;margin:0 0 5px}.portrait-caption p{font-size:11px;color:var(--muted);margin:0}.character-filter{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px}.roster-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding-bottom:17px}.roster-search label{font-size:13px}.roster-search input{border:1px solid var(--line);background:var(--paper);padding:10px;flex:1;min-width:140px}.roster-search .reset-all{font-size:12px}.character-filter fieldset{border:0;border-top:1px solid var(--line);display:flex;align-items:center;gap:15px;padding:12px 0;margin:0;min-width:0}.character-filter legend{float:left;width:70px;padding:8px 0;font-size:13px;font-weight:600;flex-shrink:0}.facet-options{display:flex;gap:8px;flex-wrap:wrap;flex:1}.facet-choice{position:relative;display:inline-flex;align-items:center;cursor:pointer;font-size:12px}.facet-choice input{margin:0 6px 0 0;accent-color:var(--green)}.facet-choice span{padding:7px 11px;border:1px solid var(--line);border-radius:4px}.facet-choice input:checked+span{background:var(--green);border-color:var(--green);color:white}.group-reset{font-size:11px;color:var(--muted);white-space:nowrap}.selected-facets{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.filter-chip{font-size:11px;border:1px solid #b8cbbd;border-radius:4px;padding:6px 9px;background:var(--light);color:var(--green)}.character-identity{display:grid;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:center;margin:25px 0}.identity-portrait{border-radius:10px;overflow:hidden;border-bottom:4px solid}.identity-portrait img{display:block;width:100%;height:auto}.character-identity h1{font-weight:500;font-size:34px;margin:8px 0 20px}.identity-facts{display:flex;gap:24px;flex-wrap:wrap;margin:0}.identity-facts div{min-width:70px}.identity-facts dt{font-size:11px;color:var(--muted)}.identity-facts dd{margin:5px 0 0;font-weight:600;font-size:14px}.detail-sections{display:flex;gap:23px;padding:17px 0;border-top:1px solid var(--line);font-size:13px;color:var(--green)}.collection-note{font-size:12px;color:var(--muted);line-height:1.8}.skill-group{border-top:1px solid var(--line);margin-top:25px}.skill-heading{display:flex;align-items:center;justify-content:space-between}.skill-heading h3{font-size:18px}.skill-entry{padding:15px 0;border-top:1px solid #edf1eb}.skill-entry h4{margin:0 0 9px;font-size:15px;color:var(--green)}.skill-entry p{font-size:13px;margin-bottom:8px}.character-prose section{scroll-margin-top:18px}@media(max-width:760px){.portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.portrait-card{min-width:0}.portrait-caption{padding:9px 7px}.portrait-caption h3{font-size:13px}.portrait-caption p{font-size:10px}.quality-label{font-size:8px;padding:2px 4px}.character-filter{padding:14px}.roster-search{gap:8px}.roster-search input{min-width:0;flex-basis:150px}.character-filter fieldset{align-items:flex-start;gap:8px;flex-wrap:wrap}.character-filter legend{width:100%;padding:0;margin:0 0 8px}.facet-options{min-width:0}.facet-choice span{padding:6px 8px}.group-reset{padding-top:7px}.character-identity{grid-template-columns:110px minmax(0,1fr);gap:16px;margin:20px 0}.character-identity h1{font-size:26px;margin:5px 0 12px}.identity-facts{gap:12px}.identity-facts div{min-width:50px}.identity-facts dd{font-size:12px}.identity-facts dt{font-size:10px}.detail-sections{gap:18px;font-size:12px}.character-prose{padding:18px}.topbar nav{grid-template-columns:repeat(3,minmax(0,1fr))}}

.roster-facets summary{display:none;cursor:pointer;color:var(--green);font-size:13px;font-weight:600;padding:11px 0}.roster-facets{border-top:1px solid var(--line)}@media(max-width:760px){.roster-facets summary{display:list-item}.character-filter fieldset:first-child{border-top:0}.roster-search{padding-bottom:8px}}

.skill-view-switch{display:flex;gap:.5rem;margin:.75rem 0}.skill-view-switch button{padding:.5rem .9rem;background:var(--paper,#fff);border:1px solid var(--line,#d4ddd8);border-radius:4px;color:inherit;cursor:pointer}.skill-view-switch button[aria-pressed=true]{background:#326356;color:#fff}.skill-heading select{padding:.4rem;border:1px solid #bccac3;background:#fff;color:#263c34;max-width:100%}.skill-group [hidden]{display:none!important}

.calibration-table th{width:auto}.calibration-table th:last-child{min-width:3.5em}@media(max-width:640px){.calibration-table th,.calibration-table td{padding:.6rem .35rem;font-size:.8rem}}
/* Fixed-release artwork and native game badges; candidate review stays local. */
.native-badge{display:inline-flex;align-items:center;gap:.4rem;vertical-align:middle;white-space:nowrap;font-size:.85rem;line-height:1.4}.native-badge img{width:24px;height:24px;object-fit:contain;flex:none}.native-badge.profession img{background:#3e665b;border-radius:4px;padding:3px}.card-badges{display:flex;gap:.7rem;flex-wrap:wrap}.facet-choice .native-badge{font-size:inherit}.filter-chip .native-badge{font-size:inherit}.article-row .card-badges{margin:.65rem 0}
.illustrated-roster{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:1.15rem}.illustrated-card{position:relative;border:1px solid #d3dfd6;border-radius:9px;background:#f1f4ed;overflow:hidden;transition:transform .18s,box-shadow .18s}.illustrated-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #29463818}.illustrated-card .portrait-image{height:280px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#fff 0,#e3ebe0 55%,#d5e1d4 100%)}.illustrated-card .portrait-image:before{content:'';position:absolute;inset:16% 10%;border:1px solid #b6caba80;border-radius:50%;transform:rotate(-22deg)}.illustrated-card .portrait-image img.roster-illustration{position:relative;width:100%;height:100%;object-fit:contain;object-position:center;padding:12px 4px 0;transform:none;filter:drop-shadow(0 8px 5px #203e351a)}.illustrated-card .portrait-caption{padding:1rem;background:#fbfcf8;border-top:1px solid #d7e0d5}.illustrated-card h3{font-size:1.2rem;margin:0 0 .6rem}.illustrated-card .native-badge{font-size:.77rem;gap:.25rem}.illustrated-card .native-badge img{width:20px;height:20px}.illustrated-card .card-badges{gap:.5rem}.illustrated-card .quality-label{position:absolute;left:12px;top:12px;bottom:auto;right:auto;background:#fbfcf0e8;color:#4a604f;font-size:.7rem;padding:.25rem .5rem}.card-candidate{position:absolute;bottom:10px;right:10px;color:#375849;font-size:.67rem;letter-spacing:.1em;border-bottom:1px solid #64856d}
.character-dossier{--ink:#203e35;--muted:#64776c;--accent:#2e6555;color:var(--ink)}.character-stage{position:relative;display:grid;grid-template-columns:42% 58%;min-height:570px;margin-top:1.5rem;border-radius:10px;overflow:hidden;background:radial-gradient(ellipse at 76% 45%,#f9fbf0 0,#dce7d8 48%,#cfdfd0 100%);isolation:isolate}.character-stage:before{content:'';position:absolute;inset:7% 8% 7% 47%;border:1px solid #9bb8a66b;border-radius:50%;transform:rotate(-25deg);z-index:-1}.stage-copy{position:relative;z-index:2;align-self:center;padding:3rem 0 3rem 2.5rem}.stage-copy .eyebrow{font-size:.64rem;letter-spacing:.18em;margin:0 0 2.5rem;color:#587360}.review-status{display:inline-block;color:#55715f;font-size:.7rem;letter-spacing:.06em;border-left:2px solid #789d80;padding-left:.55rem}.stage-copy h1{font-size:clamp(2.4rem,4vw,4.6rem);line-height:1.1;letter-spacing:.03em;margin:.65rem 0 1.3rem;font-weight:750}.stage-badges{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 2rem}.stage-badges .native-badge{font-size:.9rem;background:#f8fbf09e;padding:.4rem .6rem;border-radius:5px;border:1px solid #c1d1bd}.stage-badges .native-badge img{width:28px;height:28px}.stage-facts{display:flex;gap:2rem;margin:0 0 2rem}.stage-facts div{display:grid;gap:.35rem}.stage-facts dt{font-size:.69rem;color:var(--muted)}.stage-facts dd{font-size:.95rem;margin:0}.stage-note{font-size:.77rem;color:#61776a;line-height:1.8;max-width:27em}.stage-art{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;padding:20px 14px 20px 0;z-index:1}.stage-art img{width:100%;height:530px;object-fit:contain;filter:drop-shadow(0 20px 15px #34544422)}.stage-baseline{position:absolute;bottom:14px;left:2.5rem;font-size:.65rem;letter-spacing:.1em;color:#607764}
.dossier-tabs{position:sticky;top:0;z-index:8;display:flex!important;gap:0!important;margin:1.8rem 0 0!important;padding:0!important;border-top:1px solid #b8c9bc;border-bottom:1px solid #b8c9bc;background:#f5f8efeF;backdrop-filter:blur(10px);overflow-x:auto;white-space:nowrap}.dossier-tabs a{padding:1rem 1.2rem;font-size:.87rem;border-bottom:3px solid transparent;color:#6a7c70;flex:none}.dossier-tabs a[aria-current=true]{border-color:#356752;color:#244d3e;font-weight:700}.dossier-tabs a:hover{background:#e7eee1}.dossier-content{background:#fbfcf8;border:1px solid #dde5da;border-top:0;border-radius:0 0 10px 10px}.detail-panel{padding:2.1rem 2.2rem;scroll-margin-top:70px}.detail-panel[hidden],.focused-skill[hidden],.stat-strip[hidden]{display:none!important}.panel-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.panel-heading .eyebrow{font-size:.61rem;letter-spacing:.2em;margin:0 0 .55rem;color:#6b8572}.panel-heading h2{font-size:1.55rem;margin:0;letter-spacing:.04em}.section-caption{font-size:.75rem;color:#7a897f}.level-control{font-size:.77rem;color:#6d7e73;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.level-control select{border:1px solid #c6d5c4;background:#fff;padding:.5rem .6rem;font:inherit;color:#244e3d;border-radius:4px}.data-note{font-size:.77rem;color:#748376;line-height:1.8}.stat-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:1.4rem 0;border-block:1px solid #dce5d8;margin:1.5rem 0}.stat-strip div{padding:.35rem 1rem;border-right:1px solid #dce5d8}.stat-strip div:first-child{padding-left:0}.stat-strip div:last-child{border:0}.stat-strip span{display:block;font-size:.75rem;color:#6d7e71;margin-bottom:.65rem}.stat-strip strong{font-size:1.6rem;font-weight:600;font-variant-numeric:tabular-nums}.quiet-disclosure{margin:1rem 0 1.8rem;color:#6a7e6f;font-size:.8rem}.quiet-disclosure summary,.source-disclosure summary{cursor:pointer}.attribute-labels{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.attribute-labels span{background:#edf2e7;padding:.35rem .65rem;border-radius:3px}.candidate-copy{max-width:42em;line-height:1.9;padding:.5rem 0 1.5rem}.candidate-copy h3{font-size:1.1rem}.candidate-copy p{font-size:.88rem;color:#6d7d71}
.skill-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.45rem;border-bottom:1px solid #dce5d8;padding-bottom:1.2rem;margin-bottom:1.8rem}.skill-picker button{border:0;border-radius:5px;background:transparent;color:#718175;padding:.6rem .15rem;cursor:pointer;display:grid;justify-items:center;gap:.5rem;font:inherit;font-size:.68rem;line-height:1.5}.skill-picker img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 1px 1px #1c372b80)}.skill-picker button[aria-pressed=true]{background:#355f50;color:#fff;box-shadow:inset 0 -2px 0 #c8d9ad}.skill-picker button:hover{background:#e4ecdf}.skill-picker button[aria-pressed=true]:hover{background:#355f50}.focused-skill{border:0!important;margin:0!important;padding:0!important}.skill-title{display:flex;gap:.8rem;align-items:center}.skill-title img{background:#476f5d;border-radius:7px;padding:5px;object-fit:contain}.skill-title h3{font-size:1.3rem;margin:0}.skill-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.skill-view-switch{margin:1.3rem 0!important;padding:.2rem;background:#e8eee2;width:max-content;border-radius:5px}.skill-view-switch button{border:0!important;background:transparent!important;padding:.45rem 1.2rem!important;font-size:.8rem}.skill-view-switch button[aria-pressed=true]{background:#fff!important;color:#2b5846!important;box-shadow:0 1px 5px #36503815}.character-dossier .skill-entry{margin:0;padding:1.1rem 0;border-top:1px solid #e1e8dc}.character-dossier .skill-entry h4{margin:.1rem 0 .7rem;font-size:1rem;color:#365f4c}.character-dossier .skill-entry p{font-size:.87rem;line-height:1.9;margin:.45rem 0;color:#425e4b}.table-scroll{overflow-x:auto;max-width:100%;margin:.8rem 0}.character-dossier .facts{margin:0;width:100%;font-size:.85rem;line-height:1.6}.character-dossier .facts th{font-weight:500;background:#eaf0e3;color:#45604d}.character-dossier .facts td{background:#fff;color:#314f3e;font-variant-numeric:tabular-nums}.character-dossier .facts th,.character-dossier .facts td{border-color:#dce5d5;padding:.75rem 1rem}
.calibration-summary{display:grid;grid-template-columns:1fr 1.2fr;gap:2rem;align-items:start;margin:1.4rem 0 2rem}.calibration-summary h3{font-size:1rem;margin:0 0 .6rem}.calibration-summary p{font-size:.82rem;line-height:1.8}.cost-bands{display:flex;border:1px solid #d4dfce;border-radius:6px;overflow:hidden}.cost-bands div{flex:1;padding:.8rem .6rem;background:#edf3e6;border-right:1px solid #d4dfce;display:grid;text-align:center;gap:.45rem}.cost-bands div:last-child{border:0}.cost-bands span{font-size:.64rem;min-height:2.8em;color:#73806e;line-height:1.4}.cost-bands strong{font-size:1.6rem;font-weight:500}.cost-bands small{font-size:.6rem;color:#7c8977}.calibration-zone{border-top:1px solid #cad8c4}.calibration-zone summary{display:flex;align-items:center;gap:1rem;padding:1.3rem .25rem;cursor:pointer;list-style:none}.calibration-zone summary:after{content:'+';margin-left:auto;font-size:1.4rem;font-weight:300;color:#7b947e}.calibration-zone[open] summary:after{content:'−'}.zone-number{font-size:1.5rem;color:#96ac91;font-weight:300;min-width:2rem}.calibration-zone summary strong{font-size:1rem}.calibration-zone summary small{display:block;font-size:.7rem;color:#879580;margin-top:.3rem}.zone-content{padding:.2rem 0 1.6rem}.condition-line{font-size:.72rem!important;color:#83917a!important;margin:.3rem 0 .7rem!important}.threshold-effect{border-left:3px solid #91ad7f;background:#f1f5eb;padding:.9rem 1.1rem;margin:1rem 0 1.4rem}.threshold-effect h4{font-size:.95rem;margin:0 0 .5rem}.threshold-effect p{font-size:.82rem;line-height:1.8;margin:0}.character-dossier .calibration-table th{width:auto}.calibration-table th:first-child{white-space:nowrap}
.destiny-stage{display:grid;grid-template-columns:48px 1fr;gap:1.1rem;border-top:1px solid #dbe5d5;padding:1.4rem 0}.destiny-number{font-size:1.6rem;font-weight:300;color:#a3b798;line-height:1.5}.destiny-stage h3{font-size:1.1rem;margin:.25rem 0 .8rem}.destiny-stage p{font-size:.86rem;line-height:1.9;color:#4b6552;margin:.5rem 0}.outfit-text-list>section{display:grid;grid-template-columns:2rem 1fr;gap:1rem;padding:1.5rem 0;border-top:1px solid #dce6d6}.outfit-index{font-size:1.2rem;font-weight:300;color:#a3b798}.outfit-text-list h3{font-size:1.1rem;margin:0 0 .8rem}.outfit-text-list p{font-size:.87rem;line-height:1.9;margin:0;color:#526a57}.source-disclosure{font-size:.72rem;color:#899482;padding:1.5rem .3rem;line-height:1.9}.source-disclosure p{max-width:75em}.character-dossier button:focus-visible,.character-dossier a:focus-visible,.character-dossier select:focus-visible{outline:3px solid #b68b36;outline-offset:3px}
@media(max-width:1100px){.character-stage{min-height:500px}.stage-copy{padding-left:1.6rem}.stage-art img{height:470px}.stage-copy h1{font-size:3.2rem}.skill-picker{grid-template-columns:repeat(4,1fr)}.calibration-summary{grid-template-columns:1fr;gap:1rem}.illustrated-roster{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}}
@media(max-width:640px){.character-stage{display:flex;flex-direction:column;min-height:0;margin-top:1rem}.stage-copy{align-self:stretch;padding:1.7rem 1.35rem 0}.stage-copy .eyebrow{margin-bottom:1.2rem;font-size:.55rem}.stage-copy h1{font-size:2.8rem;margin:.5rem 0 1rem}.stage-copy .review-status{font-size:.64rem}.stage-badges{margin-bottom:.8rem;gap:.5rem}.stage-badges .native-badge{font-size:.8rem;padding:.3rem .5rem}.stage-facts{margin:.6rem 0;gap:1.5rem}.stage-facts div{display:flex;align-items:center;gap:.5rem}.stage-facts dt{font-size:.65rem}.stage-facts dd{font-size:.75rem}.stage-note{display:none}.stage-art{padding:0 8px 25px;height:330px;flex:none}.stage-art img{height:100%;max-width:100%}.stage-baseline{bottom:10px;left:1.35rem;font-size:.55rem}.character-stage:before{inset:33% 5% 10%}.dossier-tabs{margin-top:1.2rem!important}.dossier-tabs a{font-size:.75rem;padding:.85rem .8rem}.detail-panel{padding:1.5rem 1rem}.panel-heading{align-items:center;gap:.5rem}.panel-heading h2{font-size:1.2rem}.panel-heading .eyebrow{font-size:.52rem}.section-caption{display:none}.level-control{font-size:.65rem;gap:.35rem}.level-control select{padding:.4rem}.stat-strip{grid-template-columns:repeat(3,1fr);padding:.7rem 0;margin:1rem 0;gap:.9rem 0}.stat-strip div{padding:.25rem .7rem}.stat-strip div:nth-child(3){border:0}.stat-strip div:nth-child(4){padding-left:0}.stat-strip span{font-size:.65rem;margin-bottom:.4rem}.stat-strip strong{font-size:1.3rem}.skill-picker{gap:.3rem;margin-bottom:1.2rem}.skill-picker button{font-size:.62rem;gap:.35rem}.skill-picker img{width:34px;height:34px}.skill-title{gap:.6rem}.skill-title h3{font-size:1.05rem}.skill-title img{width:38px;height:38px}.character-dossier .skill-entry p{font-size:.81rem}.character-dossier .facts th,.character-dossier .facts td{padding:.65rem .5rem;font-size:.75rem}.character-dossier .calibration-table{min-width:350px}.calibration-zone summary{padding:1rem .1rem}.calibration-zone summary strong{font-size:.95rem}.destiny-stage{grid-template-columns:30px 1fr;gap:.65rem}.destiny-number{font-size:1.3rem}.destiny-stage h3{font-size:1rem}.destiny-stage p{font-size:.81rem}.illustrated-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.illustrated-card .portrait-image{height:210px}.illustrated-card .portrait-caption{padding:.75rem .6rem}.illustrated-card h3{font-size:1rem}.illustrated-card .native-badge{font-size:.65rem;gap:.18rem}.illustrated-card .native-badge img{width:18px;height:18px}.illustrated-card .card-badges{gap:.25rem .5rem}.illustrated-card .quality-label{left:8px;top:8px;font-size:.6rem}.card-candidate{font-size:.57rem;right:7px}.source-disclosure{font-size:.67rem}.candidate-copy p{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.illustrated-card{transition:none}}

.facet-choice .native-badge,.facet-choice .native-badge span{border:0!important;padding:0!important;background:transparent!important}.facet-choice>span{display:inline-flex;align-items:center}.skill-picker img{background:#557664;padding:5px;border-radius:50%;filter:none}.skill-picker button[aria-pressed=true] img{background:#6a8c70}

.filter-chip{display:inline-flex;align-items:center;gap:.25rem}.filter-chip .native-badge{gap:.25rem}.filter-chip .native-badge img{width:20px;height:20px}

.table-scroll:focus-visible{outline:3px solid #b68b36;outline-offset:3px}
/* S/A are the game labels; gold/violet are supporting visual layers only. */
.native-badge.rarity img{width:24px;height:36px;object-fit:contain;padding:0;background:transparent}
.stage-badges .native-badge.rarity img{width:28px;height:42px}.stage-badges .native-badge.rarity{padding:.15rem .55rem;gap:.35rem}
.facet-choice .native-badge.rarity img{width:20px;height:30px}.filter-chip .native-badge.rarity img{width:18px;height:27px}
.illustrated-card.grade-s{border:2px solid #b39043}.illustrated-card.grade-a{border:2px solid #8b76be}
.illustrated-card.grade-s .portrait-image{background:#302919 url('./assets/backgrounds/gacha-bg-s.webp') center 72%/cover no-repeat}
.illustrated-card.grade-a .portrait-image{background:#292039 url('./assets/backgrounds/gacha-bg-a.webp') center 72%/cover no-repeat}
.illustrated-card .portrait-image:before{display:none}
.illustrated-card .portrait-image img.roster-illustration{filter:drop-shadow(0 5px 5px #0d0c164d);padding-top:18px}
.illustrated-card .card-grade{position:absolute;top:8px;left:8px;z-index:2;display:grid;justify-items:center;gap:0;pointer-events:none}
.illustrated-card .card-grade img{position:static;width:48px;height:72px;object-fit:contain;padding:0;filter:drop-shadow(0 2px 3px #08091680)}
.illustrated-card .card-grade>span{color:#fff;font-size:.69rem;font-weight:700;line-height:1.4;letter-spacing:.06em;padding:.12rem .55rem;background:#252822e8;border-radius:3px;margin-top:-3px}
.illustrated-card .card-candidate{color:#f7f5ef;background:#1b1d21b8;border:1px solid #ffffff42;border-radius:3px;padding:.2rem .4rem;font-size:.62rem}
.illustrated-card.grade-s .portrait-caption{border-top:4px solid #b79441;background:linear-gradient(120deg,#fff9df,#f8f4e9)}
.illustrated-card.grade-a .portrait-caption{border-top:4px solid #8c74bc;background:linear-gradient(120deg,#f0eafa,#f7f4fb)}
.illustrated-card .card-badges{align-items:center;gap:.35rem .65rem}.illustrated-card .card-badges .native-badge.rarity img{width:20px;height:30px}
.illustrated-card .card-badges .native-badge.rarity{font-weight:700}
@media(max-width:640px){.illustrated-card .card-grade{top:6px;left:5px}.illustrated-card .card-grade img{width:38px;height:57px}.illustrated-card .card-grade>span{font-size:.6rem;padding:.1rem .4rem}.illustrated-card .card-candidate{right:6px;bottom:7px;font-size:.56rem}.illustrated-card .card-badges{gap:.3rem .4rem}.illustrated-card .card-badges .native-badge.rarity img{width:16px;height:24px}.stage-badges .native-badge.rarity img{width:24px;height:36px}.illustrated-card .portrait-image img.roster-illustration{padding-top:16px}}

.illustrated-card .portrait-image{width:100%;max-width:100%;aspect-ratio:auto;box-sizing:border-box}

/* User-provided A-grade result screenshot, top40px permanently cropped. */
.character-stage.result-scene{background:#f1e7ed var(--character-scene) center/cover no-repeat}.result-scene:before{inset:0;border:0;border-radius:0;transform:none;background:linear-gradient(90deg,rgba(247,248,239,.98),rgba(247,248,239,.94) 30%,rgba(247,248,239,.25) 60%,transparent);z-index:0}.result-scene .stage-note,.result-scene .stage-baseline{color:#344b40}.result-scene .stage-baseline{background:#f6f8eff0;padding:3px 6px;border-radius:3px}
@media(max-width:640px){.character-stage.result-scene{background-position:58% bottom;background-size:auto 100%;background-repeat:no-repeat}.result-scene:before{background:linear-gradient(180deg,#f7f8effc 0%,#f7f8eff7 24%,#f7f8efb0 38%,#f7f8ef00 65%)}.result-scene .stage-copy{z-index:2}.result-scene .stage-art{width:100%}}

.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}.collection-card{border:1px solid var(--line);background:var(--white);border-radius:8px;padding:16px;display:flex;flex-direction:column;align-items:center}.collection-card img{max-width:100%;object-fit:contain}.collection-card h2{font-size:1rem;line-height:1.5}.collection-card p{font-size:.8rem;color:var(--muted)}.collection-hero{display:flex;align-items:center;gap:2rem;margin:2rem 0}.collection-hero img{object-fit:contain;max-width:40%}.collection-filter{flex-wrap:wrap}.collection-filter details{flex-basis:100%;min-width:0}.collection-filter fieldset{max-height:180px;overflow:auto}.collection-filter .facet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:640px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.collection-card{padding:10px}.collection-card img{width:110px;height:110px}.collection-filter .facet-grid{grid-template-columns:1fr}.collection-hero{gap:1rem}.collection-hero h1{font-size:1.6rem}.collection-hero img{width:120px;height:120px}}

.collection-filter .facet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.collection-filter fieldset{margin:0;border:1px solid var(--line);border-radius:5px;padding:10px;max-height:160px}.collection-filter legend{font-size:.8rem;padding:0 5px}.collection-filter fieldset label{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;margin:4px 10px 4px 0;padding:5px;background:#f1f4ee;border-radius:4px}.collection-filter input[type=checkbox]{width:auto;margin:0;accent-color:var(--green)}.collection-filter summary{padding:10px 0;color:var(--green);font-size:.85rem;cursor:pointer}.collection-filter details{border-top:1px solid var(--line)}@media(max-width:640px){.collection-filter .facet-grid{grid-template-columns:1fr}.collection-filter fieldset{max-height:150px}.collection-filter fieldset label{padding:8px;min-height:36px}}

.topbar nav .mobile-sidebar-link{display:none}@media(max-width:640px){.topbar nav .desktop-nav-link{display:none}.topbar nav .mobile-sidebar-link{display:inline}}

.banner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.banner-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.banner-card>img{width:100%;height:180px;object-fit:cover}.banner-card>div{padding:18px}.banner-card h2{font-size:1.2rem}.banner-detail-art{width:100%;max-height:320px;object-fit:contain;background:#e9eee5;border-radius:8px}.banner-featured{display:flex;gap:18px;margin:20px 0}.banner-featured a{display:flex;align-items:center;gap:8px}.outfit-picker{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.outfit-picker a{padding:10px 18px;border:1px solid var(--line);border-radius:5px}.outfit-picker a[aria-current]{background:var(--green);color:white}.outfit-preview>img{display:block;width:100%;max-height:680px;object-fit:contain;background:linear-gradient(145deg,#edf2e9,#dce8df);border-radius:8px}.outfit-preview>p{line-height:1.8;max-width:55em}@media(max-width:640px){.banner-grid{grid-template-columns:1fr}.banner-card>img{height:auto}.banner-featured{flex-wrap:wrap}.banner-featured img{width:50px;height:50px}.outfit-preview>img{max-height:480px}.outfit-picker a{padding:10px 12px}}

.topbar nav{gap:22px}.nav-group{display:flex;flex-direction:column;gap:7px}.nav-group>small{font-size:9px;color:var(--muted);letter-spacing:.1em}.nav-links{display:flex;gap:15px}.sidebar .nav-label{margin-top:26px}.sidebar .nav-label:first-of-type{margin-top:18px}@media(max-width:1200px){.topbar{gap:22px;padding-left:22px;padding-right:22px}.brand{min-width:185px}.nav-links{gap:11px}.topbar nav{gap:16px}}@media(max-width:760px){.topbar{height:auto;padding:12px 16px;gap:14px}.topbar nav{display:grid;grid-template-columns:1fr 2.3fr;gap:12px 18px;width:100%}.topbar nav .nav-group:first-child{grid-column:1/-1}.nav-links{gap:14px;flex-wrap:wrap}.topbar nav a{font-size:13px}.nav-group>small{font-size:9px}.topbar nav .nav-group{gap:5px}}
