:root{--bg:#121919;--paper:#e8e6d9;--muted:#98a39d;--gold:#d7af77;--line:#34413b}html{scroll-behavior:smooth;scroll-padding-top:30px}body{background:var(--bg);color:var(--paper);font-family:'Microsoft YaHei',sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.header{position:relative;background:#0b1016}.site-nav .nav-home::after{transform:scaleX(0)}.site-nav .nav-home{color:#dce0e7}.wrap{max-width:1440px;width:calc(100% - 112px);margin:auto}.breadcrumb{display:flex;align-items:center;gap:15px;color:#929d95;font-size:14px;padding:28px 0 35px}.breadcrumb small{margin-left:auto;font:12px Georgia;letter-spacing:2px;color:#7f8d83}.opening-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:600;color:#c2bea7}.opening-label>span{font-size:13px;color:#929e95}.opening-label i{margin:0 12px;color:var(--gold)}.feature-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:35px}.hero-poster-dota{position:relative;min-height:490px;overflow:hidden;background:#162426}.battle{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:64% 52%}.hero-poster-dota:after{position:absolute;content:'';inset:0;background:linear-gradient(90deg,#071817b8,transparent 68%),linear-gradient(0deg,#071615b3,transparent 35%);pointer-events:none}.art-frame{position:absolute;inset:-2.7%;width:105.4%;height:105.4%;z-index:3;pointer-events:none}.hero-copy{position:relative;padding:72px 0 64px 38px;z-index:2;width:51%}.hero-kicker{font-size:12px;letter-spacing:2px;color:#c5c6ad}.hero-copy h1{margin:15px 0 8px;width:330px;max-width:100%;line-height:1}.hero-copy h1 img{width:100%;display:block}.hero-description{font-size:13px;line-height:2;color:#c2cdc3;margin-bottom:25px}.art-button{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:25px;padding:13px 24px;background:#bc9257;color:#17201b;font-weight:600;font-size:14px;border:0}.art-button:after{content:'';position:absolute;inset:-4px;background:url('home-button-frame.png') center/100% 100% no-repeat;pointer-events:none}.art-button:after{background-image:url('assets/home-button-frame.png')}.art-button:hover{background:#e0b87d}.poster-caption{position:absolute;bottom:20px;left:30px;right:30px;display:flex;justify-content:space-between;font-size:12px;letter-spacing:2px;color:#b4c2b4;z-index:2}.featured{display:flex;flex-direction:column;padding-top:7px}.aside-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:17px;border-bottom:1px solid var(--line)}.aside-heading h2{font-size:17px}.aside-heading>span{font-size:12px;letter-spacing:1px;color:#849187}.aside-intro{color:#a7b2a5;font-size:14px;line-height:1.9;margin:22px 0 10px}.spotlight{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:none;border:0;border-bottom:1px solid #2c3833;padding:17px 0}.spotlight img{width:56px;height:56px;object-fit:cover}.spotlight .number{font:italic 18px Georgia;color:#8c9c87}.spotlight:first-child .number{color:var(--gold)}.spotlight strong{font-size:16px;display:block;margin-bottom:7px;font-weight:500}.spotlight small{font-size:12px;color:#8fa18f}.spotlight .arrow{margin-left:auto;color:#8d9c86}.spotlight:hover strong{color:var(--gold)}.aside-end{display:flex;align-items:center;gap:17px;margin-top:auto;padding:18px 0 0}.aside-end>span{font:italic 47px Georgia;color:#6c7963}.aside-end p{font-size:12px;line-height:1.8;color:#8e9f8d}.aside-end strong{color:#c6cbb3;font-weight:400}.attribute-paths{display:grid;grid-template-columns:1fr 1.25fr 1.25fr 1.25fr;gap:24px;padding:30px 0;margin:31px 0 54px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.path-intro{align-self:center}.path-intro span{color:#8e9b90;font-size:12px}.path-intro strong{font-size:16px;font-weight:500;display:block;margin-top:9px}.attribute-paths button{background:transparent;border:0;border-left:1px solid var(--line);padding:0 0 0 24px;text-align:left}.path-number{font:12px Georgia;letter-spacing:1.5px;color:#b48b6f}.agility .path-number{color:#8cae84}.intelligence .path-number{color:#7aa4b7}.attribute-paths button strong{display:block;font-size:16px;font-weight:500;margin:10px 0}.attribute-paths button strong b{font-weight:400;color:#8a9c88;float:right}.attribute-paths button>span:last-child{font-size:12px;color:#93a190}.attribute-paths button:hover strong{color:var(--gold)}.library{scroll-margin-top:30px}.library-heading{display:flex;align-items:center;justify-content:space-between}.library-heading h2{font-size:32px;font-weight:650;letter-spacing:1px;margin:10px 0 11px}.library-heading h2 span{color:var(--gold)}.library-heading>div>p:last-child{font-size:13px;color:#94a193}.search{display:flex;align-items:center;gap:13px;width:300px;padding:12px 0;border-bottom:1px solid #6b7461;color:#9eac9b}.search>span{font:30px Georgia}.search input{min-width:0;width:100%;background:none;border:0;outline:0;color:var(--paper);font-size:13px}.search input::placeholder{color:#8d9b90}.search kbd{font-size:13px;color:#6f7c70}.filters{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:27px 0 21px;border-bottom:1px solid var(--line);margin-top:13px}.attributes,.camps{display:flex;gap:7px}.filters button{border:0;background:none;padding:10px 17px;color:#9ca99b;font-size:14px;display:flex;gap:8px;align-items:center}.attributes button[aria-pressed=true]{background:#d3b17d;color:#1b261e}.camps button{padding:7px 10px;font-size:12px}.camps button[aria-pressed=true]{color:#e1bd84;background:#28342c}.attr-dot{display:inline-block;width:6px;height:6px;transform:rotate(45deg)}.str{background:#b46c5d}.agi{background:#7c9c67}.int{background:#6e9fac}.results-meta{display:flex;justify-content:space-between;font-size:12px;color:#8b9b8d;padding:20px 0}.results-meta strong{color:#d2cbb1;font-weight:400}.hero-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 20px}.hero-card{display:block;background:none;border:0;text-align:left;padding:0;min-width:0}.portrait-stage{position:relative;overflow:hidden;aspect-ratio:1.43;background:#1b2926;display:flex;align-items:center;justify-content:center}.portrait-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0e1c17b3,transparent 70%);pointer-events:none}.portrait-stage>img.portrait{width:100%;height:100%;object-fit:cover;image-rendering:auto;transition:transform .35s;filter:saturate(.77)}.portrait-stage>.art-frame{opacity:.7;z-index:2}.camp-label{position:absolute;left:12px;bottom:11px;z-index:3;font-size:12px;color:#d4ddc9;letter-spacing:1px}.portrait-stage .card-index{position:absolute;right:13px;top:10px;font:italic 12px Georgia;color:#e2ddc4;z-index:3}.hero-card:hover .portrait{transform:scale(1.08);filter:saturate(1)}.hero-card:hover h3{color:var(--gold)}.card-title{display:flex;align-items:center;justify-content:space-between;margin:12px 0 6px;gap:6px}.card-title h3{font-size:16px;line-height:1.6;font-weight:500}.card-title>span{color:#889b83;font-size:13px}.card-meta{font-size:12px;color:#91a18d;display:flex;gap:8px;align-items:center}.card-meta i{width:5px;height:5px}.card-meta em{font-style:normal;opacity:.4}.load-row{text-align:center;padding:40px 0 25px}.load-row button{font-size:13px;color:#d5c19c;padding:13px 36px;border:1px solid #485443;background:none}.load-row button span{margin-left:25px}.load-row button:hover{background:#26342a}.load-row p{font-size:12px;color:#84977f;margin-top:13px}.empty{text-align:center;padding:70px 15px;color:#b9c3ab}.empty h3{font-size:20px}.empty p{margin:16px 0 25px;font-size:14px}.closing{display:flex;align-items:center;gap:30px;padding:31px 0 44px;margin-top:22px;border-top:1px solid var(--line)}.closing>span{font:italic 24px Georgia;letter-spacing:2px;color:#b7b098}.closing p{font-size:13px;color:#8e9e88}.closing p strong{color:#c2c8b1;font-weight:400}.closing>a{margin-left:auto;font-size:12px;color:#95a58b}.footer{background:#0e1419}dialog{position:fixed;inset:0;margin:auto;width:min(850px,calc(100% - 32px));max-height:88vh;overflow:auto;background:#17211e;color:var(--paper);border:1px solid #5d6550;padding:0;box-shadow:0 30px 100px #000b}dialog::backdrop{background:#050c0cdb;backdrop-filter:blur(8px)}.dialog-close{position:absolute;right:18px;top:16px;background:#26332b;color:#e7dfc4;width:36px;height:36px;border:1px solid #536049;font-size:25px;z-index:2}.detail-head{display:flex;gap:26px;align-items:center;padding:38px 40px 28px;background:linear-gradient(120deg,#24352c,#15221e)}.detail-head img{width:112px;height:112px;object-fit:cover}.detail-head .eyebrow{font-size:12px}.detail-head h2{font-size:34px;margin:8px 0}.detail-head p:last-child{font-size:13px;color:#a4b79b}.detail-content{padding:28px 40px 38px}.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:28px}.stat-grid>div{padding:14px 10px;background:#202d25;border-bottom:1px solid #4d6045}.stat-grid span{font-size:12px;color:#95a38b;display:block}.stat-grid strong{font:18px Georgia;display:block;margin-top:8px}.detail-content h3{font-size:17px;margin:22px 0 13px;color:#ded8bc}.biography{font-size:13px;line-height:2;color:#aebba5}.skill-tabs{display:flex;gap:10px;flex-wrap:wrap}.skill-tabs button{display:flex;align-items:center;gap:9px;font-size:12px;border:1px solid #40513a;background:#202e24;padding:7px 12px 7px 7px;color:#b9c5ad}.skill-tabs button[aria-pressed=true]{border-color:#b99a62;color:#eed3a4;background:#33402c}.skill-tabs img{width:32px;height:32px}.skill-description{margin-top:16px;padding:20px;background:#111c17;min-height:130px}.skill-description h4{font-size:15px;font-weight:500;margin-bottom:13px}.skill-description p{white-space:pre-line;font-size:13px;color:#a9b99e;line-height:1.9}.skill-levels{display:flex;align-items:center;gap:8px;margin-top:15px;font-size:12px;color:#99a88e}.skill-levels button{background:#263622;border:1px solid #4b5f40;padding:5px 11px;color:#c4d0ba}.skill-levels button[aria-pressed=true]{color:#e7c38a;border-color:#b2945e}.source-note{font-size:12px;color:#7e9277;margin-top:22px}[hidden]{display:none!important}.load-error{padding:80px 20px;text-align:center;color:#d1bb94}.back-top{position:fixed;bottom:24px;right:25px;padding:10px 14px;color:#d5bb88;background:#263229;z-index:5}
@media(min-width:1600px){.hero-poster-dota{min-height:550px}.hero-copy{padding-top:80px}.hero-copy h1{width:370px}.aside-intro{margin-top:27px}.spotlight{padding:22px 0}}
@media(max-width:1200px){.wrap{width:calc(100% - 70px)}.feature-layout{grid-template-columns:minmax(0,2.8fr) minmax(220px,1fr);gap:26px}.hero-poster-dota{min-height:440px}.hero-copy{padding-left:28px;padding-top:55px;width:55%}.hero-copy h1{width:300px}.aside-heading>span{display:none}.aside-intro{margin:15px 0 5px}.spotlight{padding:13px 0}.spotlight img{width:45px;height:45px}.hero-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.attribute-paths{gap:18px}.attribute-paths button{padding-left:18px}.attribute-paths button strong{font-size:14px}.attribute-paths button>span:last-child{font-size:12px}.path-intro strong{font-size:14px}}
@media(max-width:950px){.wrap{width:calc(100% - 48px)}.hero-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.featured{display:none}.feature-layout{display:block}.hero-poster-dota{min-height:470px}.hero-copy{width:48%}.hero-copy h1{width:330px}.hero-copy{padding-top:60px}.attribute-paths{grid-template-columns:repeat(3,1fr);margin-bottom:40px}.path-intro{display:none}.attribute-paths button:first-of-type{border:0;padding-left:0}.filters{flex-wrap:wrap}.search{width:270px}.library-heading h2{font-size:28px}.camps{margin-left:auto}.stat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.breadcrumb{padding:20px 0 26px;font-size:12px}.breadcrumb small{display:none}.opening-label{margin-bottom:14px}.opening-label>span{display:none}.eyebrow{font-size:12px;letter-spacing:1.5px}.hero-poster-dota{min-height:515px}.battle{object-position:64% center}.hero-poster-dota:after{background:linear-gradient(90deg,#0a1a18ad,transparent 100%),linear-gradient(0deg,#071615f5,transparent 85%)}.hero-copy{width:90%;padding:125px 20px 60px}.hero-kicker{font-size:12px;letter-spacing:1px}.hero-copy h1{width:265px;margin:12px 0}.hero-description{font-size:12px;margin-bottom:19px}.art-button{font-size:13px;padding:12px 23px}.poster-caption{left:23px;right:23px;bottom:16px;font-size:12px;letter-spacing:1px}.poster-caption span:last-child{display:none}.attribute-paths{grid-template-columns:1fr;gap:21px;padding:24px 0;margin-top:25px}.attribute-paths button{padding:0;border:0}.attribute-paths button strong{font-size:17px;margin:7px 0}.attribute-paths button>span:last-child{font-size:12px}.path-number{font-size:12px}.library-heading{display:block}.library-heading h2{font-size:28px}.search{width:100%;margin-top:22px}.filters{padding-top:16px;gap:16px;margin-top:5px}.filters button{padding:9px 12px;font-size:13px}.attributes{gap:3px}.camps{margin-left:0;gap:6px}.camps button{font-size:12px;padding:6px 10px}.results-meta{font-size:12px;gap:10px}.results-meta>span:last-child{font-size:12px}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}.portrait-stage{aspect-ratio:1.1}.card-title{margin:9px 0 5px}.card-title h3{font-size:13px}.card-title>span{display:none}.card-meta{font-size:12px;gap:5px;flex-wrap:wrap}.card-meta>span:last-child,.card-meta em{display:none}.camp-label{left:7px;bottom:8px;font-size:12px}.portrait-stage .card-index{font-size:12px;right:8px;top:6px}.closing{gap:17px;flex-wrap:wrap;padding:23px 0 30px}.closing>span{font-size:20px}.closing p{font-size:12px;line-height:1.8}.closing>a{display:none}.detail-head{padding:36px 22px 24px;gap:17px}.detail-head img{width:75px;height:75px}.detail-head h2{font-size:26px}.detail-head p:last-child{font-size:12px}.detail-content{padding:20px 22px 30px}.stat-grid{gap:7px}.stat-grid strong{font-size:16px}.stat-grid>div{padding:12px 8px}.skill-tabs{gap:7px}.skill-tabs button{padding:6px;font-size:12px}.skill-tabs img{width:27px;height:27px}.dialog-close{right:10px;top:8px;width:28px;height:28px;font-size:20px}}
.art-frame{max-width:none}.hero-poster-dota>.art-frame{inset:-4%;width:108%;height:108%}.card-meta{min-height:17px}.dialog-close{position:sticky;float:right;top:12px;right:16px;margin:12px 16px -48px 0}.hero-copy{clear:none}.archive-title{width:410px;max-width:100%;height:69px;margin:5px 0!important}.archive-title img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.library-heading{gap:25px}@media(max-width:600px){.archive-title{width:310px;height:53px}}
/* 原版英雄头像为 64×64：框内居中显示，避免铺满卡片造成放大与裁切。 */
.portrait-stage>img.portrait{width:64px;height:auto;max-width:calc(100% - 28px);max-height:calc(100% - 34px);aspect-ratio:1;object-fit:contain;filter:none;transition:none;position:relative;z-index:1}
.hero-card:hover .portrait{transform:none;filter:none}
/* ImageGen 青铜关闭按钮；保留 button 的可访问名称及键盘交互。 */
.dialog-close{width:44px;height:44px;padding:0;border:0;background:transparent url('assets/close-button.png') center/100% 100% no-repeat;font-size:0;color:transparent;cursor:pointer;transition:filter .18s}
.dialog-close:hover{filter:brightness(1.25)}
.dialog-close:active{filter:brightness(.9)}
/* 主视觉与遮罩共同收进青铜框内沿，装饰框外保持透明。 */
.hero-poster-dota{background:transparent}
.hero-poster-dota .battle,.hero-poster-dota:after{clip-path:inset(5.2% .6% 6.2% .6% round 4% / 8%)}
.hero-poster-dota .hero-copy{padding-bottom:96px}
.hero-poster-dota .poster-caption{bottom:10%;left:38px;right:38px;font-size:12px}
@media(max-width:600px){.hero-poster-dota .poster-caption{left:23px;right:23px}.hero-poster-dota .battle,.hero-poster-dota:after{clip-path:inset(5.2% .6% 6.2% .6% round 4% / 8%)}}
/* 英雄卡片的底色和渐变同样沿装饰框内侧裁切，框外透明。 */
.portrait-stage{background:transparent}
.portrait-stage:before{content:'';position:absolute;inset:0;background:#1b2926;pointer-events:none}
.portrait-stage:before,.portrait-stage:after{clip-path:inset(6% 1.5% 7% 1.5% round 4% / 8%)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


