/* Homepage-aligned visual theme for hero information pages. */
body:is([data-area="heroes"], [data-area="blog"]){
 background:
  linear-gradient(180deg,rgba(4,7,9,.3),rgba(3,5,7,.72)),
  var(--portal-scene-image,url("/assets/home/dota-battlefield-hero.png")) center/cover fixed no-repeat;
 color:#f1ebe4;
}

/* Axe detail pages use one continuous content-stage base below the global header. */
body[data-area="heroes"][data-hero="axe"]:has(:is(#overview-page,#story-page,#abilities-page,#matches-page,#history-page):not([hidden])){
 background:
  linear-gradient(180deg,transparent 0 var(--header),rgba(10,8,8,.84) var(--header) 100%) 0 0/100% 100% fixed no-repeat,
  linear-gradient(180deg,rgba(4,7,9,.3),rgba(3,5,7,.72)),
  var(--portal-scene-image,url("/assets/home/dota-battlefield-hero.png")) center/cover fixed no-repeat;
}

body:is([data-area="heroes"], [data-area="blog"]) .site-header{
 border-bottom-color:rgba(204,151,112,.22);
 background:linear-gradient(180deg,rgba(7,10,13,.66),rgba(7,11,15,.34));
 backdrop-filter:blur(7px);
}

/* Floating hero navigation */
@media(min-width:701px){
 body[data-area="heroes"] .hero-sidebar{
  top:calc(var(--header) + 14px);
  bottom:14px;
  left:14px;
  width:calc(var(--sidebar) - 28px);
  overflow:hidden auto;
  border:1px solid rgba(190,132,83,.5);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(25,20,18,.88),rgba(8,11,13,.84));
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 18px 42px rgba(0,0,0,.35);
  backdrop-filter:blur(13px) saturate(.85);
 }
 body[data-area="heroes"] .story-page{margin-left:var(--sidebar)}
}

body[data-area="heroes"] .back-link{
 margin:18px 16px 18px;
 color:#d5cbc1;
 font-size:13px;
 gap:9px;
}
body[data-area="heroes"] .back-link:hover{color:#ff986b}
body[data-area="heroes"] .back-link .icon{width:15px;height:15px;filter:invert(84%) sepia(13%) saturate(332%) hue-rotate(345deg)}
body[data-area="heroes"] .hero-identity{padding:0 12px}
body[data-area="heroes"] .hero-avatar{
 width:126px;
 height:112px;
 border-color:#b96a43;
 border-radius:6px;
 background:#24120f;
 box-shadow:0 8px 24px rgba(0,0,0,.32),inset 0 0 0 1px rgba(255,188,137,.08);
}
body[data-area="heroes"] .hero-identity h2{margin-top:9px;color:#f0e8df;font-size:25px;letter-spacing:2px}
body[data-area="heroes"] .hero-identity p{margin:2px 0 16px;color:#c9b9aa;font-size:14px;letter-spacing:4px}
body[data-area="heroes"] .hero-nav{gap:3px}
body[data-area="heroes"] .hero-nav a{
 height:48px;
 padding:0 17px;
 gap:13px;
 border-left:4px solid transparent;
 border-radius:0 7px 7px 0;
 color:#d8d0c8;
 font-size:15px;
 letter-spacing:.4px;
}
body[data-area="heroes"] .hero-nav a:hover{background:rgba(83,48,34,.55)}
body[data-area="heroes"] .hero-nav a[aria-current]{
 border-left-color:#f05f37;
 background:linear-gradient(90deg,rgba(145,48,27,.86),rgba(81,37,26,.68));
 box-shadow:inset 0 0 18px rgba(231,79,36,.08);
 color:#fff4ec;
}
body[data-area="heroes"] .hero-nav a .icon{width:18px;height:18px;filter:invert(91%) sepia(9%) saturate(354%) hue-rotate(343deg)}
body[data-area="heroes"] .loadout-cta{
 margin:auto 14px 17px;
 min-height:48px;
 border-color:rgba(197,151,111,.38);
 border-radius:7px;
 background:rgba(28,26,25,.7);
 color:#e8dfd6;
 font-size:14px;
 gap:10px;
}
body[data-area="heroes"] .loadout-cta:hover{border-color:#d77a4f;background:rgba(91,45,29,.72)}

/* Hero overview stage */
body[data-area="heroes"] .overview-page{
 padding-top:calc(var(--header) + 14px);
 padding-bottom:28px;
 background:#100b0a;
}
body[data-area="heroes"] .overview-hero{
 height:clamp(300px,39vh,352px);
 margin:0 18px 0 14px;
 border:1px solid rgba(190,132,83,.52);
 border-radius:10px;
 background-position:right 28%;
 box-shadow:inset 0 -35px 55px rgba(3,5,7,.66),0 16px 38px rgba(0,0,0,.25);
}
body[data-area="heroes"] .overview-hero::after{
 background:
  linear-gradient(90deg,rgba(5,8,10,.97) 0%,rgba(7,10,12,.84) 27%,rgba(8,10,11,.28) 58%,transparent 78%),
  linear-gradient(0deg,rgba(5,7,8,.78) 0%,transparent 57%);
}
body[data-area="heroes"] .overview-hero-copy{padding:38px 38px 0}
body[data-area="heroes"] .overview-eyebrow{color:#ef7146;font-size:12px;font-weight:700;letter-spacing:2.5px}
body[data-area="heroes"] .overview-hero h1{color:#f4ede5;font-size:62px;font-family:"Noto Serif SC","Songti SC",serif;text-shadow:0 4px 18px #000}
body[data-area="heroes"] .overview-hero h1 small{color:#e1d6ca;font-size:18px}
body[data-area="heroes"] .overview-tagline{color:#d1c7bd;text-shadow:0 2px 8px #000}
body[data-area="heroes"] .overview-roles span{
 border-color:rgba(201,164,130,.35);
 border-radius:5px;
 background:rgba(18,18,18,.52);
 color:#d8cfc6;
}
body[data-area="heroes"] .overview-roles span:first-child{border-color:#bd583b;background:rgba(83,34,23,.7);color:#ff9c76}
body[data-area="heroes"] .overview-version{
 right:20px;
 bottom:20px;
 border-color:rgba(198,139,89,.5);
 border-radius:7px;
 background:rgba(20,16,15,.72);
 box-shadow:0 10px 28px rgba(0,0,0,.3);
 backdrop-filter:blur(9px);
}
body[data-area="heroes"] .overview-version span,
body[data-area="heroes"] .overview-version small{color:#b6a99d}

body[data-area="heroes"] .overview-grid{
 gap:14px;
 margin-top:20px;
 padding:0 18px 0 14px;
}
body[data-area="heroes"] .overview-card,
body[data-area="heroes"] .panel{
 border-color:rgba(181,126,81,.46);
 border-radius:8px;
 background-color:rgba(12,14,15,.79);
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.2);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] .overview-card{
 border-color:rgba(165,103,70,.58);
 background-color:rgba(22,14,12,.9);
 backdrop-filter:blur(4px) saturate(.72);
}
body[data-area="heroes"] .overview-card{min-height:326px;padding:16px 18px 14px}
body[data-area="heroes"] .overview-card-heading{border-bottom-color:rgba(200,160,122,.22)}
body[data-area="heroes"] .overview-heading-icon{
 border-color:rgba(201,158,119,.4);
 border-radius:6px;
 background:rgba(47,39,34,.65);
 color:#eee4da;
}
body[data-area="heroes"] .overview-card-heading p{color:#ac9480}
body[data-area="heroes"] .overview-card-heading h2{color:#eee7df;font-family:"Noto Serif SC","Songti SC",serif}
body[data-area="heroes"] .overview-card-status{border-color:#aa4a32;background:rgba(75,29,21,.8);color:#f18b67}
body[data-area="heroes"] .overview-card-status.verified{border-color:rgba(191,148,111,.38);background:rgba(37,35,33,.72);color:#c8bab0}
body[data-area="heroes"] .overview-card-meta{color:#a99d92}
body[data-area="heroes"] .overview-more{color:#ee6d43}
body[data-area="heroes"] .overview-more:hover{color:#ff9c72}

body[data-area="heroes"] .overview-story{
 background-image:linear-gradient(90deg,rgba(20,12,10,.96),rgba(21,13,11,.88) 54%,rgba(19,10,8,.64)),url("/assets/story/red-mist-army.png");
}
body[data-area="heroes"] .overview-story::after{background:linear-gradient(0deg,rgba(18,11,10,.96),transparent 66%)}
body[data-area="heroes"] .overview-story-copy p{color:#d9d0c7}
body[data-area="heroes"] .overview-story-stats{border-color:rgba(194,151,113,.34);border-left-color:#e65e39;background:rgba(17,17,16,.7);color:#b9aca1}
body[data-area="heroes"] .overview-story-stats span{color:#9c8d81}
body[data-area="heroes"] .overview-story-stats strong{color:#e6ddd4}

body[data-area="heroes"] .overview-upgrades article,
body[data-area="heroes"] .overview-ability-list article{
 border-color:rgba(193,153,117,.25);
 background:rgba(34,22,19,.9);
}
body[data-area="heroes"] .overview-upgrades img,
body[data-area="heroes"] .overview-talent-icon,
body[data-area="heroes"] .overview-ability-list img,
body[data-area="heroes"] .overview-innate img{border-color:rgba(201,158,119,.45)}
body[data-area="heroes"] .overview-upgrades article div span,
body[data-area="heroes"] .overview-innate p{color:#aa9d92}
body[data-area="heroes"] .overview-innate{border-top-color:rgba(195,153,116,.22);border-bottom-color:rgba(195,153,116,.22)}

body[data-area="heroes"] .overview-match-head{color:#9b8c80}
body[data-area="heroes"] .overview-match-list,
body[data-area="heroes"] .overview-match-row,
body[data-area="heroes"] .overview-history-row{border-color:rgba(195,153,116,.2)}
body[data-area="heroes"] .overview-match-row:hover,
body[data-area="heroes"] .overview-history-row:hover{background:rgba(82,45,31,.42)}
body[data-area="heroes"] .overview-match-context small,
body[data-area="heroes"] .overview-change small,
body[data-area="heroes"] .overview-patch time{color:#a99c91}
body[data-area="heroes"] .overview-history-list::before{background:#765a48}

/* Carry the warm glass language into the other hero-information sections. */
body[data-area="heroes"] .story-body,
body[data-area="heroes"] .story-rail .panel,
body[data-area="heroes"] .mechanics-shell,
body[data-area="heroes"] .match-table-panel{
 border-color:rgba(181,126,81,.42);
 background-color:rgba(10,13,14,.84);
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.2);
}

@media(max-width:1250px) and (min-width:701px){
 body[data-area="heroes"] .hero-avatar{width:112px;height:100px}
 body[data-area="heroes"] .hero-nav a{padding-left:13px;gap:10px;font-size:14px}
 body[data-area="heroes"] .overview-hero-copy{padding-left:30px}
}

@media(max-width:700px){
 body[data-area="heroes"]{background-attachment:scroll}
 body[data-area="heroes"] .hero-sidebar{
  margin-top:var(--header);
  border-color:rgba(190,132,83,.42);
  background:rgba(11,14,16,.9);
 }
 body[data-area="heroes"] .hero-identity{padding:0}
 body[data-area="heroes"] .hero-avatar{width:42px;height:42px;box-shadow:none}
 body[data-area="heroes"] .hero-identity h2{font-size:23px;margin:0}
 body[data-area="heroes"] .hero-identity p{margin:0;font-size:13px;letter-spacing:2px}
 body[data-area="heroes"] .overview-page{padding-top:0}
 body[data-area="heroes"] .overview-hero{
  height:246px;
  margin:10px 8px 0;
  border-radius:8px;
 }
 body[data-area="heroes"] .overview-hero-copy{padding:30px 20px 0}
 body[data-area="heroes"] .overview-hero h1{font-size:45px}
 body[data-area="heroes"] .overview-grid{margin-top:12px;padding:0 8px;gap:10px}
 body[data-area="heroes"] .overview-card{min-height:0;padding:14px}
}

/* Approved detail-page refresh: story, abilities, matches and history. */
body[data-area="heroes"] #story-page,
body[data-area="heroes"] #abilities-page,
body[data-area="heroes"] #matches-page,
body[data-area="heroes"] #history-page{
 padding-top:calc(var(--header) + 14px);
 padding-bottom:28px;
 background:transparent;
}

body[data-area="heroes"] #story-page .story-banner,
body[data-area="heroes"] #abilities-page .mechanics-banner,
body[data-area="heroes"] #matches-page .matches-banner,
body[data-area="heroes"] #history-page .history-hero{
 height:250px;
 margin:0 18px 20px 14px;
 overflow:hidden;
 border:1px solid rgba(190,132,83,.56);
 border-radius:10px;
 background-position:right 28%;
 box-shadow:inset 0 -34px 54px rgba(3,5,7,.58),0 16px 38px rgba(0,0,0,.25);
}

body[data-area="heroes"] #story-page .story-banner::after,
body[data-area="heroes"] #abilities-page .mechanics-banner::after,
body[data-area="heroes"] #matches-page .matches-banner::after,
body[data-area="heroes"] #history-page .history-hero::after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:
  linear-gradient(90deg,rgba(7,9,10,.96),rgba(9,10,10,.78) 28%,rgba(10,9,8,.2) 62%,transparent 80%),
  linear-gradient(0deg,rgba(6,7,8,.7),transparent 58%);
}
body[data-area="heroes"] #story-page .banner-copy,
body[data-area="heroes"] #abilities-page .banner-copy,
body[data-area="heroes"] #matches-page .banner-copy{
 position:relative;
 z-index:1;
 min-height:100%;
 background:transparent;
}

/* Background story */
body[data-area="heroes"] #story-page .banner-copy{padding:42px 38px 0}
body[data-area="heroes"] #story-page .banner-copy h1{color:#f2eae1;font-size:58px;text-shadow:0 4px 18px #000}
body[data-area="heroes"] #story-page .story-subtitle{color:#d8cbc0}
body[data-area="heroes"] #story-page .adaptation>span{
 border-color:#b95b3d;
 border-radius:6px;
 background:rgba(76,31,22,.72);
 color:#ff916c;
}
body[data-area="heroes"] #story-page .story-columns{
 grid-template-columns:minmax(0,1fr) minmax(300px,340px);
 gap:18px;
 padding:0 18px 28px 14px;
}
body[data-area="heroes"] #story-page .story-body,
body[data-area="heroes"] #story-page .story-rail .panel{
 border:1px solid rgba(181,126,81,.5);
 border-radius:10px;
 background:linear-gradient(145deg,rgba(22,18,16,.9),rgba(8,11,12,.88));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.22);
 backdrop-filter:blur(10px) saturate(.85);
}
body[data-area="heroes"] #story-page .story-body{padding:24px 28px 16px}
body[data-area="heroes"] #story-page .story-body section{
 border-bottom-color:rgba(199,157,118,.2);
 padding-bottom:25px;
 margin-bottom:25px;
}
body[data-area="heroes"] #story-page .story-body h2{
 border-left-width:5px;
 border-left-color:#ed5e39;
 color:#eee6de;
 font-family:"Noto Serif SC","Songti SC",serif;
}
body[data-area="heroes"] #story-page .story-body p{color:#d2c8bf;line-height:1.78}
body[data-area="heroes"] #story-page .story-rail{top:calc(var(--header) + 14px);gap:12px}
body[data-area="heroes"] #story-page .story-rail .panel{padding:14px 16px}
body[data-area="heroes"] #story-page .story-rail h2{
 color:#eee5dc;
 border-bottom:1px solid rgba(196,153,115,.2);
 padding-bottom:10px;
}
body[data-area="heroes"] #story-page .contents-panel nav button+button,
body[data-area="heroes"] #story-page .relation-row,
body[data-area="heroes"] #story-page .source-row{border-color:rgba(196,153,115,.18)}
body[data-area="heroes"] #story-page .contents-panel nav button[aria-current]{
 border-left-color:#ef5d39;
 background:linear-gradient(90deg,rgba(124,44,28,.68),rgba(71,33,25,.38));
}
body[data-area="heroes"] #story-page .contents-panel nav button>span{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 padding:0 0 1px;
 font:700 12px/1 Arial,"Microsoft YaHei",sans-serif;
 text-align:center;
}
body[data-area="heroes"] #story-page .relation-copy strong{padding-right:0}

/* Abilities and mechanics */
body[data-area="heroes"] #abilities-page{position:relative}
body[data-area="heroes"] #abilities-page .mechanics-banner .banner-copy{padding:42px 38px 0}
body[data-area="heroes"] #abilities-page .mechanics-banner h1{color:#f3ece4;font-size:58px;text-shadow:0 4px 18px #000}
body[data-area="heroes"] #abilities-page .hero-roles span{border-color:rgba(202,162,125,.28);color:#d8cec4}
body[data-area="heroes"] #abilities-page .hero-roles span:first-child{color:#ff8a63}
body[data-area="heroes"] #abilities-page .mechanics-shell.panel{
 margin:0 18px 0 14px;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
 backdrop-filter:none;
}
body[data-area="heroes"] #abilities-page .mechanics-titlebar{
 position:absolute;
 z-index:3;
 top:calc(var(--header) + 14px);
 right:34px;
 height:230px;
 min-height:0;
 padding:0 0 16px;
 align-items:flex-end;
 pointer-events:none;
}
body[data-area="heroes"] #abilities-page .mechanics-titlebar>.icon,
body[data-area="heroes"] #abilities-page .mechanics-titlebar>h2,
body[data-area="heroes"] #abilities-page .mechanics-titlebar>p{display:none}
body[data-area="heroes"] #abilities-page .version-state{display:none}
body[data-area="heroes"] #abilities-page .version-state span:first-child,
body[data-area="heroes"] #abilities-page .version-state a{
 border:1px solid rgba(194,145,104,.42);
 border-radius:6px;
 background:rgba(22,19,17,.72);
 padding:7px 10px;
 color:#cbbcb0;
 text-decoration:none;
}
body[data-area="heroes"] #abilities-page .mechanics-section{
 margin:0 0 14px;
 padding:0 16px 16px;
 border:1px solid rgba(181,126,81,.48);
 border-radius:9px;
 background:linear-gradient(145deg,rgba(22,18,16,.88),rgba(8,11,12,.86));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 32px rgba(0,0,0,.19);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] #abilities-page .mechanics-section-heading{min-height:52px}
body[data-area="heroes"] #abilities-page .mechanics-section-heading>span{color:#c08b59}
body[data-area="heroes"] #abilities-page .mechanics-section-heading h3{color:#eee6dd;font-family:"Noto Serif SC","Songti SC",serif}
body[data-area="heroes"] #abilities-page .mechanics-section:first-of-type{
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 backdrop-filter:none;
}
body[data-area="heroes"] #abilities-page .mechanics-section:first-of-type>.mechanics-section-heading{display:none}
body[data-area="heroes"] #abilities-page .upgrade-grid{grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:14px}
body[data-area="heroes"] #abilities-page .upgrade-items,
body[data-area="heroes"] #abilities-page .talent-tree{
 position:relative;
 border:1px solid rgba(181,126,81,.48);
 border-radius:9px;
 background:linear-gradient(145deg,rgba(22,18,16,.9),rgba(8,11,12,.87));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 32px rgba(0,0,0,.19);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] #abilities-page .upgrade-items{padding:52px 16px 12px}
body[data-area="heroes"] #abilities-page .upgrade-items::before{
 content:"升级";
 position:absolute;
 top:15px;
 left:17px;
 color:#eee6dd;
 font:700 20px/1.2 "Noto Serif SC","Songti SC",serif;
}
body[data-area="heroes"] #abilities-page .upgrade-card{
 border:0;
 border-radius:0;
 background:transparent;
}
body[data-area="heroes"] #abilities-page .upgrade-card+.upgrade-card{border-top:1px solid rgba(196,153,115,.18)}
body[data-area="heroes"] #abilities-page .talent-tree{
 border-left:1px solid rgba(181,126,81,.48);
 padding:15px 16px 13px;
}
body[data-area="heroes"] #abilities-page .talent-tree h4{color:#eee6dd;font-family:"Noto Serif SC","Songti SC",serif}
body[data-area="heroes"] #abilities-page .talent-row>div{background:linear-gradient(90deg,rgba(51,43,38,.7),rgba(24,24,23,.42))}
body[data-area="heroes"] #abilities-page .innate-card{background:linear-gradient(90deg,rgba(46,40,35,.62),rgba(17,19,19,.25))}
body[data-area="heroes"] #abilities-page .ability-tabs button:hover{background:rgba(66,46,37,.55)}
body[data-area="heroes"] #abilities-page .ability-tabs button[aria-selected=true]{
 border-color:#ed643e;
 background:linear-gradient(0deg,rgba(119,48,31,.5),rgba(50,28,23,.08));
}
body[data-area="heroes"] #abilities-page .mechanics-explanation{border-left-color:rgba(196,153,115,.2)}

/* Recent matches */
body[data-area="heroes"] #matches-page .matches-banner .banner-copy{padding:42px 38px 0}
body[data-area="heroes"] #matches-page .matches-banner h1{color:#f3ebe3;font-size:58px}
body[data-area="heroes"] #matches-page .matches-banner p{color:#d3c7bc}
body[data-area="heroes"] #matches-page .matches-shell{margin:0 18px 0 14px}
body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .matches-filters.panel{
 grid-template-columns:minmax(220px,1.08fr) minmax(150px,.85fr) minmax(130px,.74fr) minmax(115px,.68fr) minmax(260px,1.16fr) auto;
 gap:10px;
 margin:0 0 14px;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
 backdrop-filter:none;
}
body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-filter,
body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-reset{
 min-height:42px;
 height:42px;
 border-color:rgba(190,139,96,.5);
 border-radius:7px;
 background:linear-gradient(145deg,rgba(35,29,25,.82),rgba(13,16,17,.8));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 7px 20px rgba(0,0,0,.16);
}
body[data-area="heroes"] #matches-page .match-reset:hover{border-color:#e0734c;background:rgba(64,40,30,.82)}
/* Match and history fields keep their resting appearance while open or focused. */
body[data-area="heroes"] :is(#matches-page,#history-page,#alchemist-page,#hero-detail-page) :is(.matches-shell,.history-filters) :is(select,input):is(:focus,:focus-visible){
 outline:none;
 box-shadow:none;
}
body[data-area="heroes"] #matches-page .matches-context{display:none}
body[data-area="heroes"] #matches-page .match-table-panel{
 overflow:hidden;
 border:1px solid rgba(181,126,81,.52);
 border-radius:9px;
 background:rgba(12,13,13,.86);
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.22);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] #matches-page .matches-table th{
 background:rgba(43,35,30,.7);
 border-bottom-color:rgba(199,157,118,.24);
 color:#c9b9aa;
}
body[data-area="heroes"] #matches-page .matches-table td{border-bottom-color:rgba(194,151,113,.13);color:#d7cec6}
body[data-area="heroes"] #matches-page .matches-table tbody .match-row:nth-of-type(4n+1) td{background:rgba(39,32,28,.5)}
body[data-area="heroes"] #matches-page .matches-table tbody .match-row:nth-of-type(4n+3) td{background:rgba(22,22,21,.56)}
body[data-area="heroes"] #matches-page .match-row:hover td{background:rgba(86,50,36,.48)!important}
body[data-area="heroes"] #matches-page .matches-footer{border-top-color:rgba(194,151,113,.2)}

/* Patch history */
body[data-area="heroes"] #history-page .history-hero-copy{padding:42px 0 0 38px}
body[data-area="heroes"] #history-page .history-hero-copy>h1{color:#f2eae1;font-size:58px}
body[data-area="heroes"] #history-page .history-hero-copy>p{margin-bottom:18px;color:#d3c7bc}
body[data-area="heroes"] #history-page .history-title h2{color:#f1e9e1}
body[data-area="heroes"] #history-page .history-title small{color:#c4b6aa}
body[data-area="heroes"] .detail-banner-copy h1{
 margin:0;
 line-height:1.15;
 letter-spacing:5px;
}
body[data-area="heroes"] .detail-banner-copy .story-subtitle{
 margin:0 0 18px;
 color:#d8cbc0;
 font-size:25px;
 letter-spacing:4px;
 text-shadow:0 2px 5px #000;
}
body[data-area="heroes"] .detail-banner-note{align-items:center}
body[data-area="heroes"] .detail-banner-note>span{
 border-color:#b95b3d;
 border-radius:6px;
 background:rgba(76,31,22,.72);
 color:#ff916c;
}
body[data-area="heroes"] .detail-banner-note p{
 margin:0;
 background:transparent;
 color:#d3c7bc;
 text-shadow:0 2px 5px #000;
}
body[data-area="heroes"] #history-page .history-status{
 right:18px;
 bottom:16px;
 border-color:#43866d;
 border-radius:18px;
 background:rgba(20,66,51,.86);
 color:#9be2be;
}
body[data-area="heroes"] #history-page .history-shell{padding:0 18px 0 14px}
body[data-area="heroes"] #history-page .history-filters{
 grid-template-columns:auto 150px 170px minmax(260px,1fr) auto;
 gap:10px;
 padding:0;
 margin:0 0 14px;
}
body[data-area="heroes"] #history-page .history-periods,
body[data-area="heroes"] #history-page .history-filters label{
 height:42px;
 border-color:rgba(190,139,96,.5);
 border-radius:7px;
 background:linear-gradient(145deg,rgba(35,29,25,.82),rgba(13,16,17,.8));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 7px 20px rgba(0,0,0,.16);
}
body[data-area="heroes"] #history-page .history-periods button{height:40px;background:transparent;border-color:rgba(190,139,96,.28)}
body[data-area="heroes"] #history-page .history-periods button[aria-pressed=true]{
 background:linear-gradient(135deg,#a84025,#71311f);
 box-shadow:inset 0 0 0 1px #ef774d;
}
body[data-area="heroes"] #history-page .history-filters select{background-color:transparent}
body[data-area="heroes"] #history-page .history-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
body[data-area="heroes"] #history-page .history-timeline{
 gap:8px;
 padding:12px 14px 12px 42px;
 overflow:hidden;
 border:1px solid rgba(181,126,81,.52);
 border-radius:9px;
 background:linear-gradient(145deg,rgba(22,18,16,.89),rgba(8,11,12,.87));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.21);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] #history-page .history-timeline::before{left:28px;top:48px;bottom:18px;background:linear-gradient(#ef4c32 0 26%,#826856 26%)}
body[data-area="heroes"] #history-page .history-table-head{
 border:0;
 border-bottom:1px solid rgba(196,153,115,.22);
 border-radius:0;
 background:transparent;
 color:#aa9684;
}
body[data-area="heroes"] #history-page .history-entry{
 border-color:rgba(181,126,81,.3);
 border-radius:7px;
 background:rgba(18,17,16,.7);
 box-shadow:none;
}
body[data-area="heroes"] #history-page .history-entry>header{
 border-right-color:rgba(196,153,115,.2);
 background:linear-gradient(135deg,rgba(69,47,38,.72),rgba(20,20,19,.5) 74%);
}
body[data-area="heroes"] #history-page .history-entry-body{background:rgba(14,15,15,.54)}
body[data-area="heroes"] #history-page .history-ability-group,
body[data-area="heroes"] #history-page .history-change p{border-color:rgba(196,153,115,.14)}
body[data-area="heroes"] #history-page .history-dot{left:-35px;border-color:#ff8a63;background:#e4472c;box-shadow:0 0 9px #e4472c99}
body[data-area="heroes"] #history-page .history-rail{top:calc(var(--header) + 14px);gap:12px}
body[data-area="heroes"] #history-page .history-rail .panel{
 padding:15px;
 border:1px solid rgba(181,126,81,.52);
 border-radius:9px;
 background:linear-gradient(145deg,rgba(22,18,16,.9),rgba(8,11,12,.88));
 box-shadow:inset 0 1px rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.2);
 backdrop-filter:blur(9px) saturate(.85);
}
body[data-area="heroes"] #history-page .history-rail h3{border-bottom-color:rgba(196,153,115,.2);color:#eee5dc}
body[data-area="heroes"] #history-page .history-index nav::before{background:#846f5d}

@media(max-width:1250px) and (min-width:701px){
 body[data-area="heroes"] #story-page .story-columns{grid-template-columns:minmax(0,1fr) 300px}
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .matches-filters.panel{grid-template-columns:1.1fr .75fr .68fr .62fr}
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-search{grid-column:1/4}
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-reset{grid-column:4}
 body[data-area="heroes"] #history-page .history-layout{grid-template-columns:minmax(0,1fr) 250px}
 body[data-area="heroes"] #history-page .history-filters{grid-template-columns:auto 130px 150px minmax(180px,1fr)}
}

@media(max-width:1000px) and (min-width:701px){
 body[data-area="heroes"] #story-page .story-columns{grid-template-columns:1fr}
 body[data-area="heroes"] #story-page .story-rail{position:static;display:grid;grid-template-columns:1fr 1fr}
 body[data-area="heroes"] #story-page .contents-panel{grid-column:1/-1}
 body[data-area="heroes"] #history-page .history-layout{grid-template-columns:1fr}
 body[data-area="heroes"] #history-page .history-rail{position:static;grid-template-columns:1fr 1fr}
}

@media(max-width:700px){
 body[data-area="heroes"] #abilities-page{max-width:100%;overflow-x:hidden}
 body[data-area="heroes"] #story-page,
 body[data-area="heroes"] #abilities-page,
 body[data-area="heroes"] #matches-page,
 body[data-area="heroes"] #history-page{padding-top:0}
 body[data-area="heroes"] #story-page .story-banner,
 body[data-area="heroes"] #abilities-page .mechanics-banner,
 body[data-area="heroes"] #matches-page .matches-banner,
 body[data-area="heroes"] #history-page .history-hero{
  height:220px;
  margin:10px 8px 12px;
  border-radius:8px;
 }
 body[data-area="heroes"] #story-page .banner-copy,
 body[data-area="heroes"] #abilities-page .mechanics-banner .banner-copy,
 body[data-area="heroes"] #matches-page .matches-banner .banner-copy,
 body[data-area="heroes"] #history-page .history-hero-copy{padding:28px 18px 0}
 body[data-area="heroes"] #story-page .banner-copy h1,
 body[data-area="heroes"] #abilities-page .mechanics-banner h1,
 body[data-area="heroes"] #matches-page .matches-banner h1,
 body[data-area="heroes"] #history-page .history-hero-copy>h1{font-size:42px}
 body[data-area="heroes"] #story-page .story-columns{grid-template-columns:minmax(0,1fr);padding:0 8px 20px;gap:10px}
 body[data-area="heroes"] #story-page .story-body{padding:18px 16px}
 body[data-area="heroes"] #story-page .story-rail{display:contents}
 body[data-area="heroes"] #story-page .contents-panel{grid-column:1}
 body[data-area="heroes"] #abilities-page .mechanics-shell.panel,
 body[data-area="heroes"] #abilities-page .mechanics-section,
 body[data-area="heroes"] #abilities-page .upgrade-grid,
 body[data-area="heroes"] #abilities-page .upgrade-items,
 body[data-area="heroes"] #abilities-page .upgrade-card,
 body[data-area="heroes"] #abilities-page .upgrade-card>div,
 body[data-area="heroes"] #abilities-page .talent-tree{min-width:0;max-width:100%}
 body[data-area="heroes"] #abilities-page .mechanics-shell.panel{margin:0 8px}
 body[data-area="heroes"] #abilities-page .mechanics-titlebar{top:10px;left:8px;right:16px;height:220px;padding-bottom:12px;justify-content:flex-end}
 body[data-area="heroes"] #abilities-page .version-state a{display:none}
 body[data-area="heroes"] #abilities-page .upgrade-card dd,
 body[data-area="heroes"] #abilities-page .upgrade-card p,
 body[data-area="heroes"] #abilities-page .talent-row span{overflow-wrap:anywhere}
 body[data-area="heroes"] #abilities-page .upgrade-grid{grid-template-columns:1fr;gap:10px}
 body[data-area="heroes"] #abilities-page .upgrade-items,
 body[data-area="heroes"] #abilities-page .talent-tree,
 body[data-area="heroes"] #abilities-page .mechanics-section{border-radius:8px}
 body[data-area="heroes"] #matches-page .matches-shell{margin:0 8px 18px}
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .matches-filters.panel{grid-template-columns:1fr;gap:7px;margin-bottom:10px}
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-search,
 body[data-area="heroes"] :is(#matches-page,#alchemist-page,#hero-detail-page) .match-reset{grid-column:auto}
 body[data-area="heroes"] #matches-page .match-table-panel{border-radius:8px}
 body[data-area="heroes"] #history-page .history-status{right:10px;bottom:10px}
 body[data-area="heroes"] #history-page .history-shell{padding:0 8px}
 body[data-area="heroes"] #history-page .history-filters{grid-template-columns:1fr;gap:7px;margin-bottom:10px}
 body[data-area="heroes"] #history-page .history-layout{grid-template-columns:1fr;gap:10px}
 body[data-area="heroes"] #history-page .history-timeline{padding:10px 10px 10px 28px;border-radius:8px}
 body[data-area="heroes"] #history-page .history-timeline::before{left:16px}
 body[data-area="heroes"] #history-page .history-dot{left:-21px}
 body[data-area="heroes"] #history-page .history-rail{grid-template-columns:1fr}
}
