/* UI187: reference typography, map catalog text and archive previews. */
:root{--serif:"BianSerif","FenghuaSerif","Source Han Serif SC",serif;--game:"FenghuaGame","KaiTi",serif;--gold:#e8c477;--bright:#f8e4ac;--line:#e8c47733;--header:78px}
body{font-size:15px;line-height:1.65}
.site-header{padding-inline:3vw;gap:22px}.brand{width:190px}.main-nav{gap:clamp(14px,2vw,30px)}.main-nav a span{font-size:13px;letter-spacing:.05em}.main-nav small{font-family:var(--num);font-size:10px;letter-spacing:.12em}.header-group{white-space:nowrap;font-size:12px}
.button{position:relative;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));font-weight:700}.button.gold{background:linear-gradient(120deg,#c6a468,#f8e4ac)}
.action-mark{display:inline-block;vertical-align:middle;width:18px;height:18px;flex:0 0 18px;margin-left:5px;background:currentColor;mask:url("assets/action-seal.svg") center/contain no-repeat;-webkit-mask:url("assets/action-seal.svg") center/contain no-repeat;transition:transform .35s}
a:hover>.action-mark,button:hover>.action-mark{transform:rotate(90deg)}.home-actions .action-mark{width:20px;height:20px;flex-basis:20px}.home-actions .button{gap:14px}.hero-affix .action-mark{width:13px;height:13px;flex-basis:13px}
.home-mindscape-card h3,.home-mindscape-card small,.home-mindscape-card>div>span{font-family:var(--game)}.home-video-controls{display:none}.home-title{font-family:var(--serif)!important}.home-version{font-family:var(--sans)}
.home-section-heading h2,.page-heading h1,.mastery-heading h2,.deck-heading h2{font-family:var(--serif);font-weight:900}
.heroes-view{padding-top:calc(var(--header) + 34px)}.hero-stage{height:470px;max-width:1240px;margin-top:14px}.hero-cards{height:450px}.hero-portrait-card{width:320px;height:375px;top:40px;transform:translateX(calc(-50% + var(--shift) * 1.14)) rotateY(var(--turn)) scale(var(--scale))}.hero-portrait-card.active{height:430px;top:8px}.hero-portrait-card.active img{filter:none}.hero-card-label{font-size:25px}.stage-prev,.stage-next{width:48px;height:48px;background:#080b12d9;font-size:12px;z-index:12}.hero-details{max-width:1180px;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:50px}.hero-details>div{min-width:0}.hero-description{font-size:14px;line-height:1.9}.hero-series{color:var(--gold)}
.skill-list{display:block;max-height:440px;overflow-y:auto;overscroll-behavior:contain;padding:0 10px 8px 0;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#c4a56d #0b1018}.skill-list::-webkit-scrollbar{width:10px}.skill-list::-webkit-scrollbar-track{background:#0b1018}.skill-list::-webkit-scrollbar-thumb{background:#b69a65;border:2px solid #0b1018}.skill-item{margin-bottom:9px}.skill-item summary{min-height:62px}.skill-item summary img{width:44px;height:44px;object-fit:contain}.skill-item p{font-size:13px;line-height:1.8}.skills-heading{gap:10px}
.atlas-view .page-heading>div>p:last-child{font-size:14px}.atlas-topbar{margin-bottom:25px}.atlas-layout{grid-template-columns:190px minmax(0,1fr);gap:28px}.atlas-main{min-width:0}.atlas-sidebar{align-self:start;min-width:0}.standard-filters,.exclusive-picker{width:100%;min-width:0}.search-box,.search-box input{min-width:0}.talent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.talent-card{min-width:0;text-align:left}.talent-card h3,.talent-card-copy,.detail-copy h2,.detail-body,.detail-introduction,.card-tags,.evolution-node,.grade-filter,.rarity,.deck-card,.deck-set-effect,.map-copy,.card-lifecycle{font-family:var(--game)}.talent-card h3{font-size:21px;font-weight:400;line-height:1.4;min-height:30px}.talent-card-copy>p{font-size:15px;line-height:1.55;height:47px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}.talent-card-copy .card-tags{min-height:30px}.card-tags span{font-size:13px}.card-base-label{font-size:11px}.card-base-label b{display:flex;align-items:center;gap:4px;font-weight:400}.card-base-label .action-mark{width:13px;height:13px;flex-basis:13px}.rarity{left:auto;right:9px;font-style:normal;font-size:19px;line-height:1;padding:6px 9px;background:#05080de8;color:var(--grade);border:1px solid color-mix(in srgb,var(--grade),transparent 65%)}.talent-art,.detail-art{position:relative}.vanish-badge,.material-badge{position:absolute;left:8px;top:8px;background:#281c14ec;border:1px solid #d89c69;color:#ffd09d;padding:4px 8px;font:13px/1.3 var(--game);z-index:2;box-shadow:0 2px 10px #0007}.material-badge{background:#112b27e6;color:#b6edd4;border-color:#68a78e}.card-favorite{top:auto;bottom:8px}
.detail-copy h2{font-size:32px;font-weight:400;line-height:1.4}.detail-introduction{font-size:15px;line-height:1.8;color:#c4b6d4;margin:18px 0}.detail-body .effect-text{font-family:var(--game);font-size:18px;line-height:1.85;white-space:normal}.detail-body h3{font-family:var(--game);font-size:23px}.extra-effect{padding-top:22px}.detail-body .condition-box,.shop-effect p{font-family:var(--game);font-size:17px}.card-lifecycle{border:1px solid #b1805655;border-left:3px solid #e0ad7c;background:#a26c3010;padding:15px 18px;margin-bottom:24px;font-size:17px;color:#edc49e}.card-lifecycle b{font-weight:400}.card-lifecycle p{margin-top:7px;color:#c9baa5}.route-node{max-width:210px}.route-node span{font-family:var(--game);font-size:15px}.route-node small{font-size:13px}.route-connector{width:26px;min-width:26px;height:1px;background:var(--gold);align-self:center}.detail-body{overflow-wrap:anywhere}
.exclusive-layout{grid-template-columns:235px minmax(0,1fr)}.exclusive-picker{position:sticky;top:calc(var(--header) + 22px)}#exclusive-search{width:100%;height:42px;border:1px solid var(--line);background:#0d131e;padding:10px;color:var(--ink);margin-bottom:14px}.exclusive-heroes{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:620px;overflow:auto;padding:0 8px 5px 0;scrollbar-width:thin;scrollbar-color:#ac915f #0a0e16}.exclusive-heroes button{padding:0;background:#101621;border:1px solid #27303b;min-width:0;text-align:left}.exclusive-heroes img{width:100%;aspect-ratio:1/1;object-fit:cover}.exclusive-heroes span{font-size:11px;line-height:1.6;display:block;padding:7px 5px}.exclusive-heroes button.active{border-color:var(--gold);background:#c6a25d20}.selected-character{display:flex;gap:24px;align-items:center;padding:24px;background:linear-gradient(110deg,#222028,#101722);border:1px solid var(--line)}.selected-character>img{width:112px;height:112px;object-fit:cover}.selected-character h2{font:900 29px/1.4 var(--serif);margin:3px 0 12px}.selected-character small{color:var(--muted);font-size:12px}.selected-affixes{display:flex;flex-wrap:wrap;gap:7px}.selected-affixes button{font:14px var(--game);border:1px solid #e8c47744;padding:6px 10px;color:var(--bright)}.selected-affixes button.active{background:#e8c47722}.exclusive-modes{margin:15px 0 23px}.exclusive-modes button{padding:12px 14px;font-size:13px}.exclusive-modes small{color:var(--gold);margin-left:8px}.exclusive-modes button:last-child{margin-left:auto}
.atlas-tree-section{grid-column:1/-1;min-width:0;border:1px solid var(--line);background:linear-gradient(140deg,#141b27,#0c111b);padding:22px}.tree-heading{display:flex;gap:14px;align-items:center;border-bottom:1px solid #e8c47722;padding-bottom:16px;margin-bottom:20px}.tree-heading small{font:13px var(--num);letter-spacing:.12em;color:var(--dim)}.tree-heading h3{font:23px var(--game)}.tree-heading>span{margin-left:auto;color:var(--muted);font-size:12px}.tree-scroll{max-width:100%;overflow:auto;padding:8px 5px 16px;scrollbar-color:#a98c56 #0a0f17;scrollbar-width:thin}.evolution-tree{position:relative;margin:0 auto}.evolution-tree svg{position:absolute;inset:0;overflow:visible;fill:none;stroke:#b3935c;stroke-width:1.5}.evolution-node{position:absolute;width:190px;height:180px;border:1px solid #8c78475e;background:#121b27;text-align:left;padding:0;overflow:hidden}.evolution-node>img{width:100%;height:92px;object-fit:cover}.evolution-node strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:46px;font-size:17px;font-weight:400;line-height:1.35;margin:7px 9px 1px}.evolution-node>small{display:block;font-size:11px;color:#a39986;margin:3px 9px}.tree-grade{position:absolute;right:6px;top:5px;background:#060b13de;padding:2px 5px;font-size:15px}.evolution-node .vanish-badge,.evolution-node .material-badge{font-size:10px;left:5px;top:5px;padding:3px 5px}.evolution-node.current,.evolution-node:hover{border-color:var(--gold);box-shadow:0 0 0 1px #e8c47733}.evolution-node.context-node{opacity:.5}.branch-conditions{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:20px}.branch-conditions>div{border-left:2px solid #b3935c;padding:8px 12px;background:#e8c47706}.branch-conditions b{font-size:14px;font-weight:400;color:var(--bright)}.branch-conditions p,.tree-note{font:14px/1.65 var(--game);margin-top:6px;color:#bcb8b5}
.archive-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.archive-entry{position:relative;display:block;min-height:230px;overflow:hidden;padding:32px;border:1px solid var(--line);background:linear-gradient(135deg,#1c202b,#0c111c)}.archive-entry:after{content:"";position:absolute;inset:0;background:url("assets/footer-tracery.svg") right 25%/480px 64px repeat-x;opacity:.07;pointer-events:none;transform:rotate(-25deg) scale(1.5)}.archive-entry>small{font:15px var(--num);letter-spacing:.18em;color:var(--dim)}.archive-entry h3{font:900 30px var(--serif);margin:10px 0}.archive-entry p{font-size:13px;color:var(--muted)}.archive-entry b{display:block;color:var(--gold);font-size:12px;margin-top:25px}.entry-mark{position:absolute;right:30px;top:60px;width:90px;height:90px;background:url("assets/action-seal.svg") center/contain no-repeat;opacity:.25;transform:rotate(22.5deg)}.deck-entry .entry-mark{transform:rotate(0)}.archive-entry:hover{border-color:var(--gold)}
.preview-label{font-size:12px;letter-spacing:.08em;color:var(--gold);border:1px solid var(--line);padding:8px 13px;white-space:nowrap}.archive-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px}.archive-selector{min-width:0}.archive-selector .search-box{padding:8px 12px}.archive-heroes{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:650px;overflow-y:auto;margin-top:16px;padding-right:10px;scrollbar-width:thin;scrollbar-color:#b3935c #080c14}.archive-heroes button{min-width:0;padding:0;background:#121923;border:1px solid #27303b;text-align:left}.archive-heroes button.active{border-color:var(--gold);background:#e8c47715}.archive-heroes img{width:100%;aspect-ratio:1/1;object-fit:cover}.archive-heroes span{display:block;font-size:12px;padding:7px}.mastery-detail{min-width:0}.mastery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line)}.mastery-heading small,.deck-heading small{font:14px var(--num);letter-spacing:.12em;color:var(--dim)}.mastery-heading h2,.deck-heading h2{font-size:32px;margin:7px 0 10px}.mastery-heading p{font:18px var(--game);color:#d4c7a9}.mastery-heading>span{font-size:12px;color:var(--muted)}.mastery-stage-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin:25px 0;gap:10px}.mastery-stage-tabs button{padding:12px 10px;border:1px solid var(--line);background:#131922;display:flex;align-items:center;gap:12px;justify-content:center}.mastery-stage-tabs button.active{background:#e8c47720;border-color:var(--gold)}.mastery-stage-tabs b{font:29px var(--num);color:var(--gold);font-weight:400}.mastery-stage-tabs span{font-size:12px}.mastery-stage{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);border:1px solid var(--line);background:#101722}.mastery-art{min-height:320px;background:#080c14;display:flex;align-items:center;justify-content:center}.mastery-art img{max-width:100%;max-height:420px;width:auto;height:auto;object-fit:contain}.mastery-stage-copy{padding:35px;align-self:center}.mastery-stage-copy h3{font:900 28px/1.5 var(--serif);margin:10px 0 15px}.threshold{display:inline-block;padding:5px 10px;border:1px solid #d2b47b44;color:var(--gold);font-size:12px;margin-bottom:18px}.map-copy{font-size:18px;line-height:1.8;color:#d6cce4}.archive-preview-note{font-size:12px;line-height:1.7;color:var(--muted);margin:24px 0 0}
.deck-toolbar{display:flex;gap:16px;margin-bottom:25px}.deck-toolbar .search-box{flex:1}.deck-toolbar select{width:280px;padding:12px;border:1px solid var(--line);background:#101620}.deck-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:35px;background:linear-gradient(110deg,#24202a,#111822);padding:30px;border:1px solid var(--line);margin-bottom:28px}.deck-heading span{font-size:12px;color:var(--muted)}.deck-set-effect{border-left:1px solid var(--line);padding-left:30px;align-self:center}.deck-set-effect h3{color:var(--gold);font-size:20px;margin-bottom:10px}.deck-set-effect p{font-size:17px;line-height:1.75}.deck-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.deck-card{border:1px solid #e8c4772c;background:#101721;min-width:0}.deck-art{position:relative;background:#090d13;display:flex;align-items:center;justify-content:center;height:240px;overflow:hidden}.deck-art img{width:100%;height:100%;object-fit:contain}.deck-card>div:last-child{padding:17px}.deck-card h3{font:21px/1.4 var(--game);margin-bottom:10px}.deck-card p{font-size:16px;line-height:1.7;color:#cfc2dc}.deck-art .rarity{position:absolute;top:9px;right:9px}
body[data-view=home] .site-footer{display:block}.site-footer{display:block;padding:0;background:#050810;border-top:1px solid var(--line);position:relative;min-height:0}.site-footer>div{border:0;padding:0}.footer-inner{display:flex;align-items:center;gap:45px;max-width:1440px;margin:0 auto;padding:42px max(4vw,24px)!important}.footer-brand{flex:none;width:180px}.footer-brand img{width:100%;height:auto}.footer-inner nav{display:flex;flex-wrap:wrap;gap:16px 25px;font-size:12px;color:#aaaeb7;flex:1;justify-content:center}.footer-inner nav a:hover{color:var(--gold)}.footer-crest{display:block;width:44px;height:44px;background:url("assets/action-seal.svg") center/contain no-repeat;opacity:.6}.footer-pattern{height:34px;background:url("assets/footer-tracery.svg") center/255px 34px repeat-x;opacity:.45}.header-group .action-mark{width:14px;height:14px;flex-basis:14px}
@media(min-width:1600px){.hero-portrait-card{width:350px}.hero-portrait-card.active{height:450px}.hero-stage{height:490px}.hero-cards{height:470px}.talent-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.brand{width:168px}.site-header{gap:16px;padding-inline:24px}.main-nav{gap:14px}.main-nav a span{font-size:12px}.header-group{padding:9px}.deck-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-details{gap:28px}.mastery-stage-tabs button{gap:7px}.mastery-stage-tabs span{font-size:11px}.mastery-stage-copy{padding:24px}.mastery-heading{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:1000px){.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:34px;height:38px;padding:7px;margin-left:auto}.menu-toggle span{display:block;width:20px;height:1px;background:var(--gold)}.site-header>.header-group{display:none}.main-nav{position:absolute;top:var(--header);left:0;right:0;height:auto;background:#090e19fa;padding:18px 25px;display:none;grid-template-columns:repeat(2,1fr);gap:0;border-bottom:1px solid var(--line)}.main-nav.open{display:grid}.main-nav a{padding:15px;min-height:65px}.main-nav a span{font-size:14px}.main-nav a:after{display:none}.hero-details{grid-template-columns:1fr}.skill-list{max-height:400px}.exclusive-layout{grid-template-columns:180px minmax(0,1fr)}.talent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-layout{grid-template-columns:200px minmax(0,1fr)}.mastery-stage{grid-template-columns:1fr}.mastery-art{min-height:220px;max-height:300px}.mastery-art img{max-height:300px}.mastery-stage-copy{padding:25px}.deck-heading{gap:20px;padding:24px}.selected-character{gap:16px;padding:18px}.selected-character>img{width:90px;height:90px}.exclusive-modes button{padding:10px;font-size:12px}}
@media(max-width:720px){:root{--header:68px}.brand{width:174px}.site-header{padding:0 20px}.home-actions{gap:8px}.home-actions .button{min-height:48px;font-size:12px;gap:6px;padding:11px 12px}.home-actions .action-mark{width:14px;height:14px;flex-basis:14px}.heroes-view{padding-top:calc(var(--header) + 22px)}.hero-stage{height:390px;margin:12px -20px 0}.hero-cards{height:380px}.hero-portrait-card{width:252px;height:305px;top:35px;transform:translateX(calc(-50% + var(--shift)*.78)) rotateY(var(--turn)) scale(var(--scale))}.hero-portrait-card.active{height:355px;top:10px}.hero-card-label{font-size:22px}.stage-prev,.stage-next{width:38px;height:38px;font-size:10px}.stage-prev{left:8px}.stage-next{right:8px}.hero-caption{font-size:10px;gap:10px}.hero-caption>span:last-child{max-width:180px}.skills-heading{flex-wrap:wrap}.skills-heading small{font-size:10px}.skill-list{max-height:360px}.hero-heading-line h2{font-size:28px}
.atlas-layout{display:block}.atlas-sidebar{padding:0;border:0}.exclusive-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.atlas-sidebar{display:block}.standard-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.standard-filters .filter-heading,.standard-filters .rarity-filter,.standard-filters .check-line{grid-column:1/-1}.standard-filters select{max-width:none;width:100%;margin:0}.standard-filters .check-line{padding:6px 0}.exclusive-picker{min-width:0}.exclusive-picker{position:static}.exclusive-heroes{display:flex;max-height:none;overflow-x:auto;gap:8px;padding-bottom:10px}.exclusive-heroes button{flex:0 0 90px}.exclusive-heroes img{width:88px;height:88px}.exclusive-heroes span{font-size:10px}.exclusive-picker .field-label{font-size:12px}.selected-character>img{width:78px;height:78px}.selected-character h2{font-size:25px}.selected-character small{font-size:10px}.selected-affixes button{font-size:12px;padding:5px 8px}.selected-character{gap:13px}.exclusive-modes{flex-wrap:wrap;gap:0}.exclusive-modes button{padding:10px 8px;font-size:11px}.exclusive-modes small{margin-left:4px}.exclusive-modes button:last-child{margin-left:0}.talent-grid{gap:12px}.talent-card h3{font-size:18px}.talent-card-copy>p{font-size:13px;height:42px}.talent-card-copy{padding:12px 10px}.card-tags span{font-size:11px}.card-base-label{font-size:9px;gap:3px}.card-base-label .action-mark{display:none}.rarity{right:5px;font-size:16px;padding:4px 7px}.vanish-badge,.material-badge{font-size:11px;padding:3px 5px;top:5px;left:5px}.detail-body .effect-text{font-size:17px}.detail-copy h2{font-size:27px}.detail-introduction{font-size:15px}.atlas-tree-section{padding:15px}.tree-heading{gap:10px}.tree-heading small{display:none}.tree-heading h3{font-size:21px}.branch-conditions{grid-template-columns:1fr}.detail-body h3{font-size:21px}.tree-scroll{padding-inline:0}.evolution-tree{margin-left:auto;margin-right:auto}
.archive-entry-grid{grid-template-columns:1fr}.archive-entry{min-height:210px;padding:26px}.archive-entry h3{font-size:27px}.archive-layout{display:block}.archive-heroes{display:flex;max-height:none;overflow-x:auto;padding:0 0 12px;margin-bottom:24px}.archive-heroes button{flex:0 0 94px}.archive-heroes img{width:92px;height:92px}.archive-heroes span{font-size:10px}.mastery-heading h2{font-size:28px}.mastery-stage-tabs{gap:6px}.mastery-stage-tabs button{padding:10px 5px;flex-direction:column;gap:5px}.mastery-stage-tabs b{font-size:25px}.mastery-stage-copy h3{font-size:26px}.mastery-art img{max-height:280px}.mastery-stage-copy .map-copy{font-size:17px}.preview-label{font-size:10px;padding:6px 8px;white-space:normal}.deck-toolbar{flex-direction:column;gap:12px}.deck-toolbar select{width:100%}.deck-heading{grid-template-columns:1fr;gap:20px;padding:22px}.deck-heading h2{font-size:28px}.deck-set-effect{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.deck-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.deck-art{height:195px}.deck-card>div:last-child{padding:12px}.deck-card h3{font-size:18px}.deck-card p{font-size:14px}.footer-inner{flex-wrap:wrap;gap:22px;padding:30px 24px!important}.footer-brand{width:170px}.footer-inner nav{order:3;flex-basis:100%;gap:14px 18px;font-size:11px;justify-content:flex-start}.footer-crest{margin-left:auto;width:34px;height:34px}.footer-pattern{height:28px;background-size:210px 28px}}
