/* One presentation for HeroesMU. The approved phone design becomes three columns on PC. */
#hm-mobile-app .hm-u-layout{display:flex;flex-direction:column;min-width:0}
#hm-mobile-app .hm-u-left,#hm-mobile-app .hm-u-center,#hm-mobile-app .hm-u-right,#hm-mobile-app .hm-u-left-info{display:contents}
#hm-mobile-app .hm-u-navigation{display:none}
#hm-mobile-app .hm-m-welcome{order:1}
#hm-mobile-app .hm-m-quick{order:2}
#hm-mobile-app #hm-mobile-account{order:3}
#hm-mobile-app .hm-m-duels{order:4}
#hm-mobile-app #hm-mobile-main{order:5}
#hm-mobile-app .hm-m-ranking{order:6}
#hm-mobile-app .hm-m-community{order:7}
#hm-mobile-app .hm-m-server{order:8}
#hm-mobile-app .hm-m-social{order:9}
#hm-mobile-app{min-width:0}
#hm-mobile-app #hm-mobile-main{width:100%;max-width:100%}
#hm-mobile-app #login_account input[type=text],#hm-mobile-app #login_account input[type=password]{background:#0e0f10!important;border:1px solid #594a37!important;color:#e6d3b1!important}
#hm-mobile-app #attacklist li:empty{display:none!important}
#hm-mobile-app .hm-u-layout>*{min-width:0}

@media(min-width:960px){
 body.hm-mobile-ready{background:#080807!important}
 #hm-mobile-app{width:calc(100% - 40px);max-width:1460px;padding:0 0 22px}
 #hm-mobile-app .hm-m-header{min-height:94px;padding:20px 0;margin-bottom:20px;border-bottom:1px solid #493726}
 #hm-mobile-app .hm-m-header>[data-hm-open-menu]{display:none}
 #hm-mobile-app .hm-m-brand{text-align:left;display:flex;align-items:center;gap:17px}
 #hm-mobile-app .hm-m-brand strong{font-size:36px;letter-spacing:-1.2px}
 #hm-mobile-app .hm-m-brand small{display:block;font:9px Arial;letter-spacing:2.2px;color:#b69b71;padding-left:17px;border-left:1px solid #59432c}
 #hm-mobile-app .hm-m-header>[data-hm-open-account]{width:48px;height:44px}
 #hm-mobile-app .hm-u-layout{display:grid;grid-template-columns:200px minmax(0,1fr) 252px;gap:20px;align-items:start}
 #hm-mobile-app .hm-u-left,#hm-mobile-app .hm-u-center,#hm-mobile-app .hm-u-right,#hm-mobile-app .hm-u-left-info{display:block;min-width:0}
 #hm-mobile-app .hm-u-layout .hm-m-card{margin:0 0 20px}
 #hm-mobile-app .hm-u-navigation{display:block;padding:16px 12px 13px}
 #hm-mobile-app .hm-u-navigation>h2{font-size:21px;margin:0 0 16px;padding:0 4px}
 #hm-mobile-app .hm-u-navigation .hm-community-menu{width:100%!important;height:auto!important}
 #hm-mobile-app .hm-u-navigation .hm-community-menu tr:has(>td[style*="10px"]){display:none}
 #hm-mobile-app .hm-u-navigation .hm-community-menu td{height:auto!important}
 #hm-mobile-app .hm-u-navigation .hm-community-button{width:100%!important;min-height:42px!important;height:auto!important;margin:5px 0!important;padding-left:36px!important;font-size:11px!important}
 #hm-mobile-app .hm-u-navigation .hm-community-button svg{top:11px!important;left:11px!important;width:17px!important;height:17px!important}
 #hm-mobile-app .hm-u-navigation .hm-m-extra-links{display:grid;gap:4px;margin-top:16px;border-top:1px solid #493726;padding-top:12px}
 #hm-mobile-app .hm-u-navigation .hm-m-extra-links a{display:flex;align-items:center;min-height:33px;padding:6px 7px;border-radius:3px;color:#bba384;text-decoration:none;font-size:10px}
 #hm-mobile-app .hm-u-navigation .hm-m-extra-links a:hover{color:#f5dbb1;background:#3a291a}
 #hm-mobile-app .hm-m-welcome{min-height:295px;padding:30px 28px;border-radius:9px;background-position:center right}
 #hm-mobile-app .hm-m-welcome p{font-size:9px;margin-bottom:15px}
 #hm-mobile-app .hm-m-welcome h1{font-size:42px;line-height:1.05;margin-bottom:15px;max-width:390px}
 #hm-mobile-app .hm-m-welcome>span{font-size:12px}
 #hm-mobile-app .hm-m-welcome>a{font-size:12px;min-height:43px;margin-top:23px}
 #hm-mobile-app .hm-m-quick{gap:11px;margin:13px 0 20px}
 #hm-mobile-app .hm-m-quick a,#hm-mobile-app.hm-m-inner-page .hm-m-quick a{min-height:60px;flex-direction:row;gap:10px;font-size:12px}
 #hm-mobile-app .hm-m-quick svg{width:21px;height:21px}
 #hm-mobile-app .hm-m-duels{margin:0 0 20px;padding:12px 15px}
 #hm-mobile-app .hm-m-duels h2{font-size:9px;margin-bottom:5px}
 #hm-mobile-app .duelo-item span{font-size:18px!important}
 #hm-mobile-app #hm-mobile-account{padding:17px 12px}
 #hm-mobile-app #hm-mobile-account>h2{font-size:21px;gap:8px}
 #hm-mobile-app #hm-mobile-account td{font-size:11px!important;padding:4px 2px!important}
 #hm-mobile-app #hm-mobile-account input:not([type=hidden]):not([type=image]){font-size:13px!important;min-height:38px}
 #hm-mobile-app #hm-mobile-account input[type=image]{width:52px!important;height:44px!important}
 #hm-mobile-app #hm-mobile-account #login_account input{padding:7px!important}
 #hm-mobile-app .hm-m-ranking{padding:17px 13px}
 #hm-mobile-app .hm-m-ranking>h2{font-size:20px;line-height:1.2;gap:7px}
 #hm-mobile-app .hm-m-rank-cards h3{font-size:11px;padding:8px 6px}
 #hm-mobile-app .hm-m-rank-cards li{gap:5px;padding:9px 1px;font-size:11px;min-height:38px}
 #hm-mobile-app .hm-m-rank-cards li>strong{font-size:11px}
 #hm-mobile-app .hm-m-rank-position{width:14px}
 #hm-mobile-app .hm-m-rank-cards img{width:16px;height:11px}
 #hm-mobile-app .hm-m-rank-cards .hm-m-owner-row{font-size:10px;gap:5px}
 #hm-mobile-app .hm-m-server,#hm-mobile-app .hm-m-social{padding:16px 12px}
 #hm-mobile-app .hm-m-server>h2,#hm-mobile-app .hm-m-social>h2{font-size:19px;line-height:1.2}
 #hm-mobile-app .hm-m-server #attacklist ul{display:block!important}
 #hm-mobile-app #attacklist li{font-size:10px!important;min-height:34px;gap:7px}
 #hm-mobile-app #attacklist li span{font-size:10px!important}
 #hm-mobile-app #serverstatus .serverdate{font-size:9px;line-height:1.5}
 #hm-mobile-app #attacklist2 ul{display:block}
 #hm-mobile-app #attacklist2 a{justify-content:flex-start;min-height:35px;margin:5px 0;padding:8px 10px;font-size:11px}
 #hm-mobile-app #news{margin:0 0 20px;padding:22px 22px 18px}
 #hm-mobile-app .hm-m-news-title{font-size:26px;margin-bottom:9px}
 #hm-mobile-app .hm-m-news-list li{padding:17px 0}
 #hm-mobile-app #news .hm-m-news-list a{font-size:14px;line-height:1.65}
 #hm-mobile-app #news .hm-m-news-list small{font-size:10px;margin-top:6px}
 #hm-mobile-app .hm-m-community{padding:20px}
 #hm-mobile-app .hm-m-community>h2{font-size:24px}
 #hm-mobile-app .hm-m-community-cards{gap:13px}
 #hm-mobile-app .hm-m-gens-card{padding:18px 16px}
 #hm-mobile-app .hm-m-gens-card h3{font-size:23px;margin-bottom:12px}
 #hm-mobile-app .hm-m-gens-card strong{font-size:24px}
 #hm-mobile-app .hm-m-gens-card small{font-size:11px}
 #hm-mobile-app .hm-m-gens-card p{font-size:12px;margin-top:15px}
 #hm-mobile-app .hm-m-castle-card{padding:20px}
 #hm-mobile-app .hm-m-castle-card h3{font-size:20px}
 #hm-mobile-app .hm-m-castle-card p{font-size:13px}
 #hm-mobile-app .hm-m-castle-card a{font-size:12px}
 #hm-mobile-app #hm-source-content .hm-ch-head{grid-template-columns:minmax(0,1fr) 104px!important;padding:22px!important}
 #hm-mobile-app #hm-source-content .hm-ch-character-title h3{font-size:28px!important}
 #hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{width:104px;height:104px}
 #hm-mobile-app #hm-source-content .hm-ch-stats dt{font-size:12px!important}
 #hm-mobile-app #hm-source-content .hm-ch-stats dd{font-size:14px!important}
 #hm-mobile-app #hm-source-content .hm-ch-detail-body{padding:20px!important}
 #hm-mobile-app #hm-source-content .hm-ch-stat-headings{font-size:11px!important}
 #hm-mobile-app #hm-source-content .hm-ch-secondary button{font-size:12px!important}
 #hm-mobile-app #hm-source-content .hm-rk-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #hm-mobile-app #hm-source-content .hm-rk-expanded dl{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #hm-mobile-app #hm-source-content .hm-dl-servers,#hm-mobile-app #hm-source-content .hm-dl-requirements{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #hm-mobile-app #hm-source-content .hm-policy-hero{min-height:260px!important;padding:30px 25px!important;background-position:center right!important}
 #hm-mobile-app #hm-source-content .hm-policy-hero h1{font-size:33px!important;max-width:350px!important}
 #hm-mobile-app #hm-source-content .hm-policy-hero p:last-child{max-width:310px!important}
 #hm-mobile-app .hm-m-footer{padding:22px 10px;border-top:1px solid #493726;margin-top:7px}
 #hm-mobile-app .hm-m-bottom{display:none!important}
}

@media(min-width:1360px){
 #hm-mobile-app .hm-u-layout{grid-template-columns:212px minmax(0,1fr) 280px;gap:23px}
 #hm-mobile-app .hm-m-welcome{min-height:325px;padding:35px}
 #hm-mobile-app .hm-m-welcome h1{font-size:48px}
 #hm-mobile-app .hm-m-rank-cards li{font-size:12px;gap:7px}
 #hm-mobile-app .hm-m-rank-cards li>strong{font-size:12px}
 #hm-mobile-app .hm-m-ranking>h2{font-size:22px}
}

@media(max-width:959px){
 #hm-mobile-app{width:100%;max-width:760px;padding:0 12px calc(90px + env(safe-area-inset-bottom))}
 #hm-mobile-app .hm-m-header{border-bottom:0}
 #hm-mobile-app .hm-m-card{width:100%}
 #hm-mobile-app .hm-u-navigation{display:none}
}

#hm-mobile-app .hm-m-server #attacklist ul{display:block!important}
#hm-mobile-app .hm-m-server #attacklist li{height:auto!important;line-height:1.45!important;align-items:center}

#hm-mobile-app #rollattackserver,#hm-mobile-app #attacklist,#hm-mobile-app #attacklist ul{background:none!important}

/* Banner original del usuario: encuadres independientes para PC y celular. */
#hm-mobile-app .hm-m-welcome{
 background-image:linear-gradient(90deg,rgba(7,8,10,.93),rgba(7,8,10,.72) 35%,rgba(7,8,10,.08) 75%),url('https://heroesmu.com/template/season21/images/index-crusader-v1.png');
 background-size:cover;background-position:center,center 27%;
}
@media(min-width:960px){
 #hm-mobile-app .hm-m-welcome{min-height:340px;background-position:center,center 27%;}
 #hm-mobile-app .hm-m-welcome h1{max-width:330px;font-size:40px;}
}
@media(max-width:959px){
 #hm-mobile-app .hm-m-welcome{min-height:330px;padding:25px 20px;background-position:center,18% center;background-image:linear-gradient(90deg,rgba(7,8,10,.88),rgba(7,8,10,.57) 45%,rgba(7,8,10,.04)),url('https://heroesmu.com/template/season21/images/index-crusader-v1.png');}
 #hm-mobile-app .hm-m-welcome h1{max-width:245px;font-size:32px;}
 #hm-mobile-app .hm-m-welcome>span{max-width:190px;line-height:1.6;}
}

@media(max-width:959px){
 #hm-mobile-app .hm-m-welcome{padding:235px 20px 24px;min-height:440px;background-position:center,18% top;background-image:linear-gradient(0deg,rgba(7,8,10,.97),rgba(7,8,10,.82) 33%,rgba(7,8,10,.02) 76%),url('https://heroesmu.com/template/season21/images/index-crusader-v1.png');}
 #hm-mobile-app .hm-m-welcome h1{font-size:30px;max-width:100%;}
}

/* Logo original, sin texto duplicado y sin modificar la imagen. */
#hm-mobile-app .hm-m-brand-logo{position:relative;display:block;flex:none;width:150px;aspect-ratio:3265 / 3007;overflow:hidden;line-height:0;}
#hm-mobile-app .hm-m-brand-logo img{position:absolute;left:-7.626%;top:-10.708%;display:block;width:115.22%;max-width:none;height:auto;}
#hm-mobile-app .hm-m-brand-logo:focus-visible{outline:2px solid #e6b460;outline-offset:4px;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-brand-logo{width:180px;}
 #hm-mobile-app .hm-m-header{padding:12px 0;}
}

/* Cabecera compacta: logo equilibrado con los controles. */
#hm-mobile-app .hm-m-brand-logo{width:96px;}
#hm-mobile-app .hm-m-header{padding:8px 0;min-height:0;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-brand-logo{width:116px;}
 #hm-mobile-app .hm-m-header{padding:9px 0;margin-bottom:16px;}
}

/* Identidad dentro del banner; cabecera reducida a controles. */
#hm-mobile-app .hm-m-header{min-height:0;padding:8px 0;margin-bottom:0;border:0;}
#hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{position:absolute;left:20px;top:16px;width:110px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-header{justify-content:flex-end;padding:8px 0;margin-bottom:8px;}
 #hm-mobile-app .hm-m-welcome{padding-top:134px;min-height:390px;}
 #hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{left:28px;top:14px;width:116px;}
 #hm-mobile-app .hm-m-welcome h1{font-size:36px;}
}
@media(max-width:959px){
 #hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{left:18px;top:16px;width:108px;}
}

/* Sombra suave que sigue el contorno transparente del emblema. */
#hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{overflow:visible;}
#hm-mobile-app .hm-m-banner-logo img{filter:drop-shadow(0 3px 6px rgba(0,0,0,.65)) drop-shadow(0 0 11px rgba(0,0,0,.32));}
@media(max-width:959px){
 #hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{width:126px;}
}

/* En PC la cuenta ya est  visible en la columna derecha. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-header{display:none;}
 #hm-mobile-app.hm-u-desktop{padding-top:20px;}
}

/* Arte horizontal exclusivo de PC; celular conserva el banner vertical. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-welcome{aspect-ratio:1004 / 414;min-height:0;padding:0;background-image:url('https://heroesmu.com/template/season21/images/index-crusader-pc-v1.jpg');background-size:cover;background-position:center;}
 #hm-mobile-app .hm-m-welcome>p,#hm-mobile-app .hm-m-welcome>h1,#hm-mobile-app .hm-m-welcome>span{display:none;}
 #hm-mobile-app .hm-m-welcome>a:not(.hm-m-banner-logo){position:absolute;left:24px;bottom:18px;margin:0;box-shadow:0 2px 12px #0009;}
 #hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{left:22px;top:12px;width:110px;}
}

/* Logo en la zona superior izquierda, con leyenda fuera del arte. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-welcome{aspect-ratio:auto;min-height:0;padding:41.235% 24px 20px;background-color:#131211;background-size:100% auto;background-position:center top;background-repeat:no-repeat;}
 #hm-mobile-app .hm-m-welcome>.hm-m-banner-logo{left:14%;top:12px;width:clamp(104px,18%,156px);}
 #hm-mobile-app .hm-m-welcome>h1{display:block;margin:17px 160px 5px 0;font-size:22px;line-height:1.25;max-width:none;}
 #hm-mobile-app .hm-m-welcome>h1 br{display:none;}
 #hm-mobile-app .hm-m-welcome>h1 br:after{content:' ';}
 #hm-mobile-app .hm-m-welcome>span{display:block;margin:0 160px 0 0;font-size:11px;line-height:1.5;}
 #hm-mobile-app .hm-m-welcome>a:not(.hm-m-banner-logo){left:auto;right:24px;bottom:22px;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app .hm-m-welcome>h1{font-size:18px;margin-right:0;}
 #hm-mobile-app .hm-m-welcome>span{margin-right:0;}
 #hm-mobile-app .hm-m-welcome>a:not(.hm-m-banner-logo){position:static;margin-top:15px;}
}

/*  ltimos duelos: presentaci n sobre el carrusel original. */
#hm-mobile-app .hm-m-duels{margin:18px 0;padding:15px 20px 12px;border:1px solid #4b4031;border-radius:9px;background:radial-gradient(ellipse at top,rgba(184,139,71,.08),transparent 70%),linear-gradient(120deg,#1b1b1e,#111214);box-shadow:inset 0 1px 0 #ffffff06;}
#hm-mobile-app .hm-m-duels h2{display:flex;align-items:center;gap:9px;margin:0 0 9px;padding-bottom:10px;border-bottom:1px solid #ffffff0d;color:#d1b07b;font:bold 11px/1.4 Arial;letter-spacing:1.4px;}
#hm-mobile-app .hm-m-duels h2 svg{width:18px;height:18px;flex:none;}
#hm-mobile-app #duelos-viewport{height:70px!important;}
#hm-mobile-app #duelos-track{height:70px!important;}
#hm-mobile-app .duelo-item{height:70px!important;display:flex;align-items:center;justify-content:center;gap:0;font-size:0!important;line-height:1.3;}
#hm-mobile-app .duelo-item strong:first-child,#hm-mobile-app .duelo-item strong:last-child{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;}
#hm-mobile-app .duelo-item strong:first-child{text-align:right;padding-right:20px;}
#hm-mobile-app .duelo-item strong:last-child{text-align:left;padding-left:20px;}
#hm-mobile-app .duelo-item span{text-shadow:none!important;font:bold 18px/1.3 Arial!important;color:#e8dcc5!important;}
#hm-mobile-app .duelo-item strong:nth-of-type(2){flex:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:9px 15px;border:1px solid #5a4b34;border-radius:7px;background:#0c0d0f;box-shadow:0 3px 10px #0003;}
#hm-mobile-app .duelo-item strong:nth-of-type(2) span{font-size:27px!important;min-width:24px;}
#hm-mobile-app .duelo-item strong:nth-of-type(2) span:first-child{color:#9ebbd3!important;}
#hm-mobile-app .duelo-item strong:nth-of-type(2) span:nth-child(2){color:#7f7564!important;font-size:17px!important;min-width:0;}
#hm-mobile-app .duelo-item strong:nth-of-type(2) span:last-child{color:#dfa58b!important;}
@media(max-width:699px){
 #hm-mobile-app .hm-m-duels{padding:13px 12px 10px;}
 #hm-mobile-app .duelo-item span{font-size:13px!important;}
 #hm-mobile-app .duelo-item strong:first-child{padding-right:10px;}
 #hm-mobile-app .duelo-item strong:last-child{padding-left:10px;}
 #hm-mobile-app .duelo-item strong:nth-of-type(2){padding:8px 10px;gap:5px;}
 #hm-mobile-app .duelo-item strong:nth-of-type(2) span{font-size:23px!important;min-width:22px;}
}

/* Mayor contraste crom tico en el resultado. */
#hm-mobile-app .duelo-item strong:nth-of-type(2) span:first-child{color:#459fff!important;text-shadow:0 0 10px rgba(34,126,255,.35)!important;}
#hm-mobile-app .duelo-item strong:nth-of-type(2) span:last-child{color:#ff5858!important;text-shadow:0 0 10px rgba(255,54,54,.32)!important;}

#hm-mobile-app .duelo-item strong:first-child span{color:#7bbaff!important;}
#hm-mobile-app .duelo-item strong:last-child span{color:#ff8989!important;}

/* Acceso con campos apilados y bot n amplio; conserva el control de env o original. */
#hm-mobile-app #login_account .hm-login-fields{display:flex;flex-direction:column;gap:14px;text-align:left;padding:6px 0 0;}
#hm-mobile-app #login_account .hm-login-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;background:none;}
#hm-mobile-app #login_account .hm-login-field>span{font:11px/1.4 Arial;color:#c5b59a;}
#hm-mobile-app #login_account .hm-login-field input{box-sizing:border-box;height:44px!important;min-height:44px;width:100%!important;border-radius:5px!important;padding:10px!important;font-size:16px!important;}
#hm-mobile-app #login_account .hm-login-field input:focus{outline:2px solid #d6a45a;outline-offset:2px;}
#hm-mobile-app #login_account .hm-login-verify{display:grid;grid-template-columns:minmax(0,1fr) 84px;align-items:end;gap:10px;}
#hm-mobile-app #login_account .hm-login-verify img{width:84px;height:44px;object-fit:contain;background:#0e0f10;border:1px solid #594a37;border-radius:5px;box-sizing:border-box;}
#hm-mobile-app #login_account .hm-login-submit{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #b48440;border-radius:5px;background:linear-gradient(#9b4027,#632315);box-shadow:inset 0 1px #ffffff14,0 3px 9px #0003;color:#ffe4b5;transition:background .15s,border-color .15s;}
#hm-mobile-app #login_account .hm-login-submit>span{display:flex;align-items:center;justify-content:center;gap:9px;font:bold 13px Arial;pointer-events:none;}
#hm-mobile-app #login_account .hm-login-submit input[type=image]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:46px!important;margin:0!important;padding:0!important;opacity:0;cursor:pointer;}
#hm-mobile-app #login_account .hm-login-submit:hover{background:linear-gradient(#b34c2d,#7c2b18);border-color:#dfb267;}
#hm-mobile-app #login_account .hm-login-submit:focus-within{outline:2px solid #f0c47f;outline-offset:3px;}
#hm-mobile-app #login_account .hm-login-submit:active{background:#632315;}
#hm-mobile-app #login_account .hm-login-help{margin:19px 0 12px;text-align:center;font:11px/1.6 Arial;}
#hm-mobile-app #login_account .hm-login-register{margin:0;text-align:center;font:11px/1.6 Arial;color:#bfb09b;}
#hm-mobile-app #login_account .hm-login-help a,#hm-mobile-app #login_account .hm-login-register a{color:#e5bb79;}

/* Misma hora del servidor y actualizaci n original, con jerarqu a legible. */
#hm-mobile-app #hm-mobile-account .hm-server-clock{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;padding:12px;margin:0 0 6px;text-align:left;border:1px solid #42392d;border-radius:6px;background:linear-gradient(110deg,#191a1b,#111214);}
#hm-mobile-app .hm-server-clock>svg{color:#c7a56e;}
#hm-mobile-app .hm-clock-label{display:block;margin-bottom:5px;color:#ab9c85;font:10px/1.4 Arial;letter-spacing:.5px;}
#hm-mobile-app #ServerTime{display:block;color:#a99f90;font:11px/1.5 Arial;white-space:normal;font-variant-numeric:tabular-nums;}
#hm-mobile-app #ServerTime>span{display:block;margin-bottom:2px;color:#edc78d;font:bold 22px/1.2 Arial;letter-spacing:1px;font-variant-numeric:tabular-nums;}

/* Paleta original del reloj: amarillo para hora y naranja para fecha. */
#hm-mobile-app #ServerTime{color:#df5f18;}
#hm-mobile-app #ServerTime>span{color:#f8b710;}

/* Tercer acceso r pido para celular. */
#hm-mobile-app .hm-m-quick .hm-quick-desktop{display:none;}
#hm-mobile-app .hm-m-quick .hm-quick-mobile{display:flex;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-quick .hm-quick-desktop{display:flex;}
 #hm-mobile-app .hm-m-quick .hm-quick-mobile{display:none;}
}

/* Etiquetas visibles para identificar los controles del tel fono. */
@media(max-width:959px){
 #hm-mobile-app .hm-m-header>button{width:auto;min-width:98px;min-height:44px;padding:0 13px;gap:8px;}
 #hm-mobile-app .hm-m-header>button>span{font:bold 12px/1.3 Arial;color:#ead1a3;white-space:nowrap;}
 #hm-mobile-app .hm-m-header>button>svg{width:19px;height:19px;flex:none;}
}

/* Recupera la leyenda conmemorativa en la franja del banner de PC. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-welcome>p{display:block;margin:15px 160px 7px;color:#e1a759;font:bold 9px/1.4 Arial;letter-spacing:2px;}
 #hm-mobile-app .hm-m-welcome>h1{margin-top:0;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app .hm-m-welcome>p{margin-right:0;}
}

/* Presentaci n del servidor y accesos r pidos exclusivos de celular. */
#hm-mobile-app .hm-m-welcome>span{font-size:12px;line-height:1.65;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-quick{display:none;}
 #hm-mobile-app .hm-m-welcome>span{margin-right:180px;max-width:590px;}
}
@media(max-width:959px){
 #hm-mobile-app .hm-m-welcome>h1{font-size:26px;line-height:1.15;max-width:290px;}
 #hm-mobile-app .hm-m-welcome>span{max-width:285px;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app .hm-m-welcome>span{margin-right:0;}
}

/* Identidad persistente en todos los m dulos interiores. */
#hm-mobile-app .hm-m-inner-identity{display:none;}
#hm-mobile-app.hm-m-inner-page .hm-m-inner-identity{display:flex;align-items:center;gap:18px;order:0;padding:8px 18px;margin:0 0 4px;min-width:0;border-bottom:1px solid #493b28;text-decoration:none;background:linear-gradient(100deg,#1e1b16,#111213);border-radius:7px;}
#hm-mobile-app .hm-inner-logo{position:relative;display:block;flex:none;width:86px;aspect-ratio:3265 / 3007;overflow:visible;}
#hm-mobile-app .hm-inner-logo img{position:absolute;left:-7.626%;top:-10.708%;display:block;width:115.22%;max-width:none;height:auto;filter:drop-shadow(0 2px 5px #0008);}
#hm-mobile-app .hm-inner-brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
#hm-mobile-app .hm-inner-brand-copy strong{font:bold 25px/1.1 Georgia,serif;color:#efd29e;}
#hm-mobile-app .hm-inner-brand-copy small{font:10px/1.5 Arial;color:#c5ad84;letter-spacing:1px;}
#hm-mobile-app .hm-m-inner-identity:focus-visible{outline:2px solid #dfb268;outline-offset:3px;}
@media(max-width:959px){
 #hm-mobile-app.hm-m-inner-page .hm-m-inner-identity{gap:14px;padding:8px 14px;margin-bottom:0;}
 #hm-mobile-app .hm-inner-logo{width:64px;}
 #hm-mobile-app .hm-inner-brand-copy strong{font-size:22px;}
 #hm-mobile-app .hm-inner-brand-copy small{font-size:9px;}
}

/* Same banner component on the homepage and all internal modules. */
#hm-mobile-app.hm-page-is-inner .hm-m-welcome{display:block;}
/* Latest duels are part of Conquistas; visibility is restricted to home below. */
#hm-mobile-app.hm-page-is-inner .hm-m-welcome{background-image:linear-gradient(0deg,rgba(7,8,10,.97),rgba(7,8,10,.82) 33%,rgba(7,8,10,.02) 76%),var(--hm-page-art);background-position:center,60% top;}
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{background-image:none;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome:before{content:'';position:absolute;top:0;left:0;width:100%;aspect-ratio:1004 / 414;background-image:linear-gradient(90deg,#0002,transparent 60%),var(--hm-page-art);background-size:cover;background-position:center top;border-radius:8px 8px 0 0;pointer-events:none;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>h1{margin-top:18px;}
}
/* Retain account state, versions, payment tags and forms in the source modules.
   Only their duplicated decorative titles and images are removed. */
#hm-mobile-app.hm-page-is-inner #hm-source-content #hm-register-v2 .hm-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-policy-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hr-anniversary{display:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-ch-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-hcoins-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-hero{min-height:0!important;height:auto!important;padding:14px 18px!important;background:none!important;border:0!important;border-bottom:1px solid #493b28!important;box-shadow:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-hero:before{display:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-brand-row,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-title,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-hero-copy,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-dl-hero-action,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-hero-art,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-rk-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-ch-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-ch-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-hero>.hm-hero-art,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-pay-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-hcoins-hero>small,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-hcoins-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-hcoins-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-hero>.cs-hero-art,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-hero h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .cs-hero p{display:none!important;}

/* Align the outer edges; retain padding INSIDE individual panels and fields. */
#hm-mobile-app #hm-source-content #hm-register-v2,
#hm-mobile-app #hm-source-content #hm-recovery-v2,
#hm-mobile-app #hm-source-content .hm-dl-page,
#hm-mobile-app #hm-source-content .hm-rk,
#hm-mobile-app #hm-source-content .hm-policy,
#hm-mobile-app #hm-source-content .hm-community,
#hm-mobile-app #hm-source-content .hm-profile,
#hm-mobile-app #hm-source-content .hm-ch-page,
#hm-mobile-app #hm-source-content .hm-pay-page,
#hm-mobile-app #hm-source-content .hm-hcoins,
#hm-mobile-app #hm-source-content .cs-redesign,
#hm-mobile-app #hm-source-content .hm-agency,
#hm-mobile-app #hm-source-content .hm-bank,
#hm-mobile-app #hm-source-content .hm-crypto,
#hm-mobile-app #hm-source-content>main{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;}
#hm-mobile-app #hm-source-content .hm-shell,
#hm-mobile-app #hm-source-content .hm-dl-panel,
#hm-mobile-app #hm-source-content .hm-card,
#hm-mobile-app #hm-source-content .hm-ch-panel,
#hm-mobile-app #hm-source-content .hm-profile-section,
#hm-mobile-app #hm-source-content .hm-pay-card,
#hm-mobile-app #hm-source-content .hm-agency-panel,
#hm-mobile-app #hm-source-content .hm-bank-panel,
#hm-mobile-app #hm-source-content .hm-crypto-summary,
#hm-mobile-app #hm-source-content .hm-crypto-panel{border-radius:10px!important;}
#hm-mobile-app #hm-source-content #hm-register-v2 .hm-steps,
#hm-mobile-app #hm-source-content #hm-recovery-v2 .hm-steps{border-radius:9px 9px 0 0;}
#hm-mobile-app.hm-page-is-inner .hm-m-quick{display:none!important;}
#hm-mobile-app .hm-m-welcome>.hm-page-tags{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 11px;max-width:100%;position:relative;}
#hm-mobile-app .hm-page-tags:empty{display:none;}
#hm-mobile-app .hm-page-tags>.hm-page-tag{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:28px;padding:5px 9px;box-sizing:border-box;border:1px solid #88703f;border-radius:20px;background:#0b0e11e8;color:var(--hm-tag-color,#e6c68d);font:bold 10px/1.4 Arial;letter-spacing:0;white-space:normal;}
#hm-mobile-app .hm-page-tag svg{display:inline-block;flex:none;width:14px;height:14px;vertical-align:middle;color:inherit;}
#hm-mobile-app .hm-page-tag img{max-width:19px;height:auto;}
#hm-mobile-app .hm-page-tag .hm-profile-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;}
#hm-mobile-app .hm-banner-tags-source,#hm-mobile-app .hm-banner-tag-source-item,
#hm-mobile-app #hm-source-content .hm-shared-banner-empty{display:none!important;}
@media(min-width:960px){
 #hm-mobile-app .hm-m-welcome>.hm-page-tags{margin-right:180px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-page-tags{margin-top:10px;}
}
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{background-position:center,85% top;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app .hm-m-welcome>.hm-page-tags{margin-right:0;}
}
/* Preserve the source nodes for their own scripts; only mirrored labels live above. */
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile-hero-description{display:none!important;}
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .hm-dl-hero,
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .hm-rk-hero,
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .hm-pay-hero,
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .hm-hcoins-hero,
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .cs-hero{display:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content #hm-recovery-v2 .hm-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hc-hero{display:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-agency-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-bank-hero,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-hero{background:none!important;min-height:0!important;padding:8px 0!important;border:0!important;box-shadow:none!important;}
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-agency-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-bank-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-hero:before,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-agency-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-bank-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-kicker,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-hero-art,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-agency-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-bank-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-hero>h1,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-agency-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-bank-hero>p,
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-crypto-hero>p{display:none!important;}

/* PC: informaci n original integrada sobre la imagen, sin franja ni CTA. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{padding:142px 30px 28px;min-height:350px;background-color:#101114;background-image:linear-gradient(90deg,rgba(5,8,13,.91),rgba(5,8,13,.72) 40%,rgba(5,8,13,.1) 83%),var(--hm-page-art);background-size:cover;background-position:center,right top;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome:before{display:none;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{left:30px;top:18px;width:108px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>h1{position:relative;display:block;margin:0 0 15px;max-width:68%;font-size:34px;line-height:1.12;text-shadow:0 2px 8px #0009;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-page-tags{max-width:72%;margin:0 0 14px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{position:relative;display:block;max-width:62%;margin:0;padding:9px 0 9px 12px;border-left:2px solid #ba9754;font-size:13px;line-height:1.7;color:#e3d9c8;text-shadow:0 1px 5px #000;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span:empty{display:none;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>a:not(.hm-m-banner-logo){display:none!important;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{padding:128px 22px 24px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{left:22px;top:15px;width:100px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>h1{font-size:27px;max-width:88%;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-page-tags{max-width:90%;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{max-width:85%;font-size:12px;}
}

/* PC: imagen con su brillo original y presentaci n anclada abajo. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:390px;padding:148px 30px 24px;background-image:var(--hm-page-art);background-size:cover;background-position:right top;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>h1{max-width:72%;margin:0 0 12px;text-shadow:-1px -1px 2px #000b,1px -1px 2px #000b,-1px 1px 2px #000b,1px 1px 2px #000b,0 2px 7px #000,0 0 16px #000c;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-page-tags{margin:0 0 12px;max-width:76%;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{max-width:70%;margin:0;padding:0;border:0;background:none;color:#f5ebdb;text-shadow:-1px -1px 2px #000d,1px -1px 2px #000d,-1px 1px 2px #000d,1px 1px 2px #000d,0 2px 7px #000,0 0 13px #000e,0 0 22px #0009;}
}
@media(min-width:960px) and (max-width:1199px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome{min-height:370px;padding:132px 22px 22px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>h1{max-width:90%;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-page-tags{max-width:96%;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{max-width:90%;}
}

/* Descripci n con su franja dorada y fondo localizado; sin oscurecer el banner. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{padding:10px 14px;border-left:2px solid #c5a055;border-radius:0 4px 4px 0;background:linear-gradient(90deg,rgba(3,6,10,.87),rgba(3,6,10,.7) 72%,rgba(3,6,10,.18));box-shadow:4px 0 18px 5px rgba(0,0,0,.24);}
}

/* Tama o de logo anterior a la integraci n de textos en PC. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{width:clamp(104px,18%,156px);}
}

/* Cuadro uniforme de descripci n en todos los m dulos y tama os. */
#hm-mobile-app.hm-page-is-inner .hm-m-welcome>span{padding:10px 14px;box-sizing:border-box;border-left:2px solid #c5a055;border-radius:0 4px 4px 0;background:#080a0dd9;box-shadow:none;backdrop-filter:none;}

/* Mobile header: brand, account and menu. */
@media(max-width:959px){
 #hm-mobile-app .hm-m-header{justify-content:flex-start;gap:8px;}
 #hm-mobile-app .hm-m-header>.hm-m-header-logo{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:none;}
 #hm-mobile-app .hm-m-header>.hm-m-header-logo>img{display:block;width:44px;height:44px;object-fit:contain;}
 #hm-mobile-app .hm-m-header>[data-hm-open-menu]{margin-left:auto;}
}

/* Compact server information, using the existing live values. */
#hm-mobile-app .hm-server-enhanced #serverstatus{display:none!important;}
#hm-mobile-app .hm-m-server{background:#111214;border-color:#3b3430;}
#hm-mobile-app .hm-m-server>h2{font-size:18px;line-height:1.3;margin-bottom:14px;}
#hm-mobile-app .hm-server-info{font:12px/1.5 Arial,sans-serif;color:#c1bab0;}
#hm-mobile-app .hm-server-info svg{width:17px;height:17px;flex:none;stroke-linecap:round;stroke-linejoin:round;color:#c3a36b;}
#hm-mobile-app .hm-server-summary{display:flex;align-items:center;gap:8px;padding:10px;background:#191b1f;border-radius:8px;flex-wrap:wrap;}
#hm-mobile-app .hm-server-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;}
#hm-mobile-app .hm-server-summary strong{font-size:16px;color:#f0d298;}
#hm-mobile-app .hm-server-summary small{display:block;width:100%;font-size:10px;color:#918b81;padding-left:25px;}
#hm-mobile-app .hm-server-group{margin-top:16px;}
#hm-mobile-app .hm-server-group h3{display:flex;gap:6px;align-items:center;font:bold 11px/1.4 Arial,sans-serif;color:#dec49b;margin:0 0 8px;}
#hm-mobile-app .hm-server-versions{display:grid;grid-template-columns:1fr auto;gap:0;margin:0;}
#hm-mobile-app .hm-server-versions dt,#hm-mobile-app .hm-server-versions dd{margin:0;padding:6px 0;border-bottom:1px solid #ffffff08;}
#hm-mobile-app .hm-server-versions dd{text-align:right;color:#e4d8c4;font-weight:bold;}
#hm-mobile-app .hm-server-rates{table-layout:fixed;width:100%!important;border-collapse:collapse;font:11px/1.4 Arial,sans-serif;background:none;}
#hm-mobile-app .hm-server-rates th,#hm-mobile-app .hm-server-rates td{padding:7px 2px;border:0;border-bottom:1px solid #ffffff08;background:none;text-align:right;}
#hm-mobile-app .hm-server-rates th:first-child{text-align:left;width:39%;font-weight:normal;color:#b8b1a7;}
#hm-mobile-app .hm-server-rates thead th{font-size:10px;color:#8e939a;font-weight:normal;}
#hm-mobile-app .hm-server-rates td{color:#e5e5e7;font-weight:bold;}
#hm-mobile-app .hm-server-rates .hm-server-vip{color:#efbd67;}
#hm-mobile-app .hm-server-updated{font:10px/1.5 Arial,sans-serif;color:#85817a;margin:12px 0 0;}
@media(min-width:960px){#hm-mobile-app .hm-server-info{font-size:11px;}#hm-mobile-app .hm-server-rates{font-size:10px;}}

/* Ranking panel: dark, compact, live source preserved. */
#hm-mobile-app .hm-m-ranking{background:#111214;border-color:#3b3430;}
#hm-mobile-app .hm-m-ranking>h2{font-size:19px;line-height:1.3;margin-bottom:10px;}
#hm-mobile-app .hm-m-rank-cards section+section{margin-top:0;}
#hm-mobile-app .hm-m-rank-cards h3{display:flex;align-items:center;gap:6px;background:#1b1d21;border-radius:4px;margin:0;padding:9px 7px;color:#d9bf94;font:bold 11px/1.4 Arial,sans-serif;}
#hm-mobile-app .hm-m-rank-cards h3 svg{width:15px;height:15px;flex:none;color:#c7a265;stroke-linecap:round;stroke-linejoin:round;}
#hm-mobile-app .hm-m-rank-cards li{display:flex;align-items:center;gap:5px;min-height:40px;padding:8px 2px;border-bottom:1px solid #ffffff07;font:11px/1.4 Arial,sans-serif;}
#hm-mobile-app .hm-m-rank-cards li:last-child{border-bottom:0;}
#hm-mobile-app .hm-m-rank-position{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:23px;border-radius:50% 50% 45% 45%;font:bold 10px Arial,sans-serif;color:#a8a8ad;background:#282a30;}
#hm-mobile-app .hm-rank-place-1 .hm-m-rank-position{color:#f7d78b;background:#665026;}
#hm-mobile-app .hm-rank-place-2 .hm-m-rank-position{color:#e0e5ed;background:#424a58;}
#hm-mobile-app .hm-rank-place-3 .hm-m-rank-position{color:#e9bb94;background:#503c31;}
#hm-mobile-app .hm-m-rank-name{min-width:0;flex:1;overflow-wrap:anywhere;color:#dfddd9;font-weight:normal;}
#hm-mobile-app .hm-rank-place-1 .hm-m-rank-name{color:#f0d7a3;font-weight:bold;}
#hm-mobile-app .hm-m-rank-cards li>strong{font:bold 11px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums;color:#dfbf83;white-space:nowrap;flex:none;}
#hm-mobile-app .hm-m-rank-cards img{width:16px;height:11px;object-fit:contain;flex:none;}
#hm-mobile-app .hm-m-ranking>.hm-m-text-link{display:block;padding:11px 0 0;margin:5px 0 0;border-top:1px solid #ffffff0c;color:#c7a265;font:11px/1.5 Arial,sans-serif;text-align:center;}
#hm-mobile-app .hm-m-rank-cards .hm-m-owner-row{font:10px/1.5 Arial,sans-serif;color:#c9c2b7;}
@media(max-width:959px){#hm-mobile-app .hm-m-rank-cards li{font-size:12px;min-height:43px;}#hm-mobile-app .hm-m-rank-cards li>strong{font-size:12px;}}

/* More visible medals and winner identities. */
#hm-mobile-app .hm-m-rank-position{position:relative;isolation:isolate;width:26px;height:31px;border-radius:0;background:none!important;color:#fff4cf;font:bold 12px/1 Arial;text-shadow:0 1px 2px #000;box-sizing:border-box;padding-bottom:6px;}
#hm-mobile-app .hm-m-rank-position svg{position:absolute;inset:0;width:26px;height:31px;z-index:-1;stroke:#e4b84e;fill:#72521a;filter:drop-shadow(0 0 3px #c18b2838);}
#hm-mobile-app .hm-rank-place-1 .hm-m-rank-position{color:#fff4bf;}
#hm-mobile-app .hm-rank-place-1 .hm-m-rank-position svg{fill:#9b701f;stroke:#ffdf77;filter:drop-shadow(0 0 4px #efbe4a55);}
#hm-mobile-app .hm-rank-place-2 .hm-m-rank-position{color:#fff;}
#hm-mobile-app .hm-rank-place-2 .hm-m-rank-position svg{fill:#626d7d;stroke:#e0e8f5;}
#hm-mobile-app .hm-rank-place-3 .hm-m-rank-position{color:#ffe1be;}
#hm-mobile-app .hm-rank-place-3 .hm-m-rank-position svg{fill:#77503a;stroke:#e9b185;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-row{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:8px;min-height:62px;padding:9px 2px;}
#hm-mobile-app .hm-winner-crest{display:flex;align-items:center;justify-content:center;flex:none;width:27px;height:32px;color:#d7ad65;}
#hm-mobile-app .hm-winner-crest svg{width:25px;height:28px;stroke-linecap:round;stroke-linejoin:round;}
#hm-mobile-app .hm-rank-arka .hm-winner-crest{color:#ca9d67;}
#hm-mobile-app .hm-winner-details{flex:1;min-width:0;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-clan{display:block;font:bold 12px/1.5 Arial,sans-serif;color:#f0d39b;overflow-wrap:anywhere;}
#hm-mobile-app .hm-winner-leader{display:block;color:#dedbd4;font:11px/1.5 Arial,sans-serif;overflow-wrap:anywhere;}
#hm-mobile-app .hm-winner-leader small{color:#888b91;font-size:10px;}
#hm-mobile-app .hm-winner-marks{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:3px;max-width:42px;flex:none;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-marks img{width:auto;max-width:18px;height:auto;max-height:18px;object-fit:contain;}

#hm-mobile-app .hm-m-rank-cards .hm-winner-crest img{width:27px;height:27px;max-width:none;max-height:none;object-fit:contain;}

#hm-mobile-app .hm-m-rank-cards .hm-rank-arka .hm-winner-crest img{width:28px;height:28px;object-fit:contain;}

/* Real character class portraits replace rank medals. */
#hm-mobile-app .hm-m-rank-cards .hm-m-rank-position.hm-rank-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;padding:0;flex:none;border:1px solid #62503b;border-radius:50%;background:#202226!important;box-shadow:none;text-shadow:none;overflow:visible;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-avatar>img{display:block;width:27px;height:27px;max-width:none;max-height:none;object-fit:cover;border-radius:50%;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-avatar>svg{position:static;width:17px;height:17px;z-index:auto;stroke:#c2a476;fill:none;filter:none;}
#hm-mobile-app .hm-rank-avatar-place{position:absolute;right:-3px;bottom:-2px;display:flex;align-items:center;justify-content:center;min-width:12px;height:12px;padding:0 2px;box-sizing:border-box;border-radius:4px;background:#111214;color:#e8decf;font:bold 8px/1 Arial,sans-serif;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-place-1 .hm-m-rank-name{color:#f0cc75;font-weight:bold;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-place-2 .hm-m-rank-name{color:#d1d9e5;font-weight:bold;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-place-3 .hm-m-rank-name{color:#ce9c75;font-weight:bold;}

/* Castle crowns, vector guild marks and legible leader flags. */
#hm-mobile-app .hm-m-rank-cards h3>.hm-castle-crown-icon{width:19px;height:19px;object-fit:contain;flex:none;}
#hm-mobile-app .hm-m-rank-cards .hm-rank-avatar>.hm-castle-crown-icon{width:25px;height:25px;border-radius:0;object-fit:contain;}
#hm-mobile-app .hm-m-rank-cards li>img{width:22px;height:15px;object-fit:contain;}
#hm-mobile-app .hm-winner-clan-heading{display:flex;align-items:center;gap:6px;min-width:0;}
#hm-mobile-app .hm-winner-clan-heading>.hm-sidebar-guildmark{width:24px;height:24px;flex:none;border-radius:2px;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-crest{width:32px;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-crest>.hm-castle-crown-icon{width:32px;height:32px;object-fit:contain;}
#hm-mobile-app .hm-winner-leader{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:3px;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-leader img{width:26px;height:18px;object-fit:contain;flex:none;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-row{min-height:70px;}

/* Winner clan logo shares the ranking portrait column. */
#hm-mobile-app .hm-m-rank-cards .hm-winner-crest{width:29px;justify-content:center;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-crest>.hm-sidebar-guildmark{width:28px;height:28px;flex:none;border-radius:2px;}
#hm-mobile-app .hm-winner-clan-heading{gap:5px;}
#hm-mobile-app .hm-winner-event-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:20px;flex:none;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-event-icon>img,#hm-mobile-app .hm-m-rank-cards .hm-winner-event-icon>svg{width:19px;height:19px;max-width:none;max-height:none;object-fit:contain;}

/* Restore event symbol at left; guild logo aligns with ranking scores at right. */
#hm-mobile-app .hm-m-rank-cards .hm-winner-marks{display:flex;align-items:center;justify-content:flex-end;width:28px;max-width:28px;flex:0 0 28px;margin-left:auto;}
#hm-mobile-app .hm-m-rank-cards .hm-winner-marks>.hm-sidebar-guildmark{display:block;width:28px;height:28px;flex:none;border-radius:2px;}

/* Home-only new Crusader artwork. Inner module banners keep their images. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{background-image:url('https://heroesmu.com/template/season21/images/index-crusader-integrado-v4.webp');background-position:center top;background-size:100% auto;}
}
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{background-image:linear-gradient(0deg,rgba(7,8,10,.94),rgba(7,8,10,.72) 31%,rgba(7,8,10,0) 66%),url('https://heroesmu.com/template/season21/images/index-crusader-renovado-mobile-v1.webp');background-position:center,center top;background-size:cover;}
}

/* Phone framing remains independent from the desktop lettering baked into the art. */

@media(max-width:959px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{padding:88% 20px 24px;min-height:0;background-color:#0b0b0d;background-image:linear-gradient(0deg,#0b0b0d 0%,rgba(11,11,13,.92) 22%,rgba(11,11,13,.18) 58%,transparent 80%),url('https://heroesmu.com/template/season21/images/index-crusader-fondo-dl-mobile-v3-opt-v1.webp');background-position:center,center top;background-size:100% 100%,100% auto;background-repeat:no-repeat;}
}
@media(min-width:600px) and (max-width:959px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{padding-top:430px;background-size:100% 100%,auto 490px;}
}

/* Keep the original phone card height; compact PC brand grouping. */
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{padding:235px 20px 24px;min-height:440px;background-size:100% 100%,100% auto;}
}
@media(min-width:600px) and (max-width:959px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{padding-top:235px;background-size:100% 100%,auto 420px;}
}
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{left:14%;top:12px;width:128px;}
}
@media(min-width:1200px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{width:150px;}
}
@media(min-width:1400px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{width:180px;}
}

/* Keep the original logo corner position and dimensions. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{left:22px;top:15px;width:128px;}
}
@media(min-width:1200px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{left:30px;top:18px;width:150px;}
}
@media(min-width:1400px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>.hm-m-banner-logo{width:180px;}
}

/* Real class portraits in the existing latest-duels carousel. */
#hm-mobile-app .duelo-item .hm-duel-player{display:flex;align-items:center;justify-content:flex-end;gap:9px;}
#hm-mobile-app .duelo-item .hm-duel-player:last-child{justify-content:flex-start;}
#hm-mobile-app .duelo-item .hm-duel-player span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#hm-mobile-app .duelo-item .hm-duel-player img{display:block;width:36px;height:36px;flex:0 0 36px;border-radius:50%;object-fit:cover;border:1px solid #6a87a7;box-shadow:0 0 7px #459fff30;}
#hm-mobile-app .duelo-item .hm-duel-player:last-child img{border-color:#a66a65;box-shadow:0 0 7px #ff585830;}
@media(max-width:599px){
 #hm-mobile-app .duelo-item .hm-duel-player{flex-direction:column;justify-content:center;gap:3px;}
 #hm-mobile-app .duelo-item .hm-duel-player:last-child{justify-content:center;}
 #hm-mobile-app .duelo-item .hm-duel-player img{width:30px;height:30px;flex-basis:30px;}
 #hm-mobile-app .duelo-item .hm-duel-player span{max-width:100%;}
}

/* Subtle classic duel-dialog atmosphere; retain carousel measurements. */
#hm-mobile-app .hm-m-duels{background-color:#111214;background-image:linear-gradient(#080a0c30,#080a0c30),url('https://heroesmu.com/template/season21/images/duelos-piedra-espadas-v1.webp');background-position:center;background-size:cover;border-color:#514b40;box-shadow:inset 0 0 16px #0005;}
#hm-mobile-app .hm-m-duels h2{text-shadow:0 1px 3px #000,0 0 5px #000;border-bottom-color:#d7cab21a;}
#hm-mobile-app .duelo-item .hm-duel-player span{text-shadow:0 1px 3px #000,0 0 6px #000!important;}

/* Desktop: full-height emblem, never zoomed or cropped. Phone unchanged. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-duels{position:relative;isolation:isolate;background-image:radial-gradient(ellipse at center,#252420,#141415 75%);}
 #hm-mobile-app .hm-m-duels:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:url('https://heroesmu.com/template/season21/images/duelos-piedra-espadas-v1.webp') center/auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,black 30%,black 70%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 30%,black 70%,transparent);border-radius:inherit;}
 #hm-mobile-app .duelo-item .hm-duel-player,#hm-mobile-app .duelo-item .hm-duel-player:last-child{flex-direction:column;justify-content:center;gap:3px;}
 #hm-mobile-app .duelo-item .hm-duel-player span{max-width:100%;}
}

/* Native artwork proportions: responsive border pieces, unchanged panel size. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-duels{background-image:url('https://heroesmu.com/template/season21/images/duelos-marco-adaptable-v5.svg');background-position:center;background-size:100% 100%;background-repeat:no-repeat;}
 #hm-mobile-app .hm-m-duels:before{content:none;}
}
/* Original-resolution art and soft silhouette around the unchanged logo. */
#hm-mobile-app .hm-m-banner-logo img{image-rendering:auto;filter:drop-shadow(0 0 2px #000) drop-shadow(0 3px 5px rgba(0,0,0,.9)) drop-shadow(0 0 10px rgba(0,0,0,.7));}
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{padding-bottom:6px;}
 #hm-mobile-app.hm-page-is-home .hm-m-welcome>h1{margin-top:14px;}
}

/* PC: personaje junto a la orilla, mismas dimensiones. */
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-home .hm-m-welcome{background-image:url('https://heroesmu.com/template/season21/images/index-crusader-fondo-dl-v3-opt-v1.webp');}
 #hm-mobile-app.hm-page-is-home .hm-m-welcome:after{content:"";position:absolute;left:3.2%;top:0;margin-top:32%;width:40%;aspect-ratio:1600 / 220;background:url('https://heroesmu.com/template/season21/images/crusader-rotulo-original-hd-v3-opt-v1.webp') center/contain no-repeat;pointer-events:none;}
}

/* Ranking: neutral charcoal palette shared with Downloads and Registration. */
#hm-mobile-app .hm-rk-board{background:#111214!important;border-color:#493e2d!important;}
#hm-mobile-app .hm-rk-board-head{background:#1b1c1f!important;}
#hm-mobile-app .hm-rk-categories>a{background:linear-gradient(#1d1e21,#111214)!important;}
#hm-mobile-app .hm-rk-categories>a[aria-current]{background:linear-gradient(#963d20,#571c10)!important;}
#hm-mobile-app .hm-rk-filters input,#hm-mobile-app .hm-rk-filters select{background:#0c0d0f!important;}
#hm-mobile-app .hm-rk-filter-panel,#hm-mobile-app .hm-rk-compare-panel,#hm-mobile-app .hm-rk details>summary{background-color:#1b1c1f!important;}
#hm-mobile-app .hm-rk-result[open],#hm-mobile-app .hm-rk-expanded{background:#151619!important;}
#hm-mobile-app .hm-rk .hm-rk-primary{background:linear-gradient(#963d20,#571c10)!important;}
#hm-mobile-app .hm-rk-podium-card{background-color:#151619!important;}
/* Use the index logo dimensions consistently in every module. */
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{width:126px;}
}
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{width:128px;}
}
@media(min-width:1200px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{width:150px;}
}
@media(min-width:1400px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome>.hm-m-banner-logo{width:180px;}
}
/* Roadmap and privacy: shared charcoal panels, gold borders, rounded corners. */
#hm-mobile-app .hc-roadmap-shell .hr-identity,#hm-mobile-app .hc-roadmap-shell .hr-era{background:#1b1c1f!important;border-radius:9px;}
#hm-mobile-app .hc-roadmap-shell .hr-panel,#hm-mobile-app .hc-roadmap-shell .hr-plan,#hm-mobile-app .hc-roadmap-shell .hr-next{background:#111214!important;border-radius:9px;overflow:hidden;}
#hm-mobile-app .hc-roadmap-shell .hr-panel-head{background:#1b1c1f!important;}
#hm-mobile-app .hc-roadmap-shell .hr-features li{background:transparent!important;}
#hm-mobile-app .hc-roadmap-shell .hr-jumps a{background:linear-gradient(#242529,#141518)!important;border-radius:8px;}
#hm-mobile-app .hc-roadmap-shell .hr-jumps a:last-child,#hm-mobile-app .hm-policy-nav a{background:linear-gradient(#963d20,#571c10)!important;border-radius:8px;}
#hm-mobile-app .hc-roadmap-shell .hr-artwork{background-color:#141518!important;}
#hm-mobile-app .hm-policy details{margin:8px 0;border:1px solid #493e2d;border-radius:9px;overflow:hidden;background:#111214;}
#hm-mobile-app .hm-policy details[open]>summary{background:#1b1c1f;}
#hm-mobile-app .hm-policy-contact{background:#1b1c1f;border-radius:9px;}

/* Gens and territorial winners share one responsive community section. */
#hm-mobile-app .hm-m-community{background:#111214;border-color:#493e2d;}
#hm-mobile-app .hm-m-community-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#hm-mobile-app .hm-m-gens-card{position:relative;min-width:0;padding:18px;border:1px solid #493e2d;border-radius:9px;background:linear-gradient(140deg,#242020,#141518);}
#hm-mobile-app .hm-m-gens-card:nth-child(2){background:linear-gradient(140deg,#1b252d,#141518);border-color:#354857;}
#hm-mobile-app .hm-m-gens-card h3{font-size:23px;line-height:1.2;margin:0 0 14px;color:#e4b184;}
#hm-mobile-app .hm-m-gens-card:nth-child(2) h3{color:#9cc6e6;}
#hm-mobile-app .hm-m-gens-card>strong{display:block;font:700 clamp(18px,2.3vw,27px)/1.2 Arial,sans-serif;color:#f1d29d;overflow-wrap:anywhere;letter-spacing:.2px;}
#hm-mobile-app .hm-m-gens-card>small{display:block;color:#a5a6aa;font:11px/1.5 Arial,sans-serif;margin-top:5px;}
#hm-mobile-app .hm-gens-leader{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:18px 0 0!important;padding-top:12px;border-top:1px solid #ffffff0e;color:#dfd9cf;font:12px/1.5 Arial,sans-serif;}
#hm-mobile-app .hm-gens-leader img{width:25px;height:17px;object-fit:contain;}
#hm-mobile-app .hm-community-winners{grid-column:1/-1;min-width:0;padding:18px!important;background:#17181b!important;border:1px solid #493e2d;border-radius:9px;}
#hm-mobile-app .hm-community-winners>h3{display:flex;align-items:center;gap:9px;font:700 20px/1.25 Georgia,serif;margin:0 0 8px;padding:0 0 13px;border-bottom:1px solid #ffffff0d;color:#edcea0;}
#hm-mobile-app .hm-community-winners>h3 svg{width:22px;height:22px;flex:none;color:#d4aa61;}
#hm-mobile-app .hm-community-winners>h3 img{width:27px;height:27px;object-fit:contain;flex:none;}
#hm-mobile-app .hm-community-winners ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;margin:0;padding:0;gap:0 20px;}
#hm-mobile-app .hm-community-winners .hm-winner-row{display:flex;align-items:center;gap:12px;min-width:0;min-height:82px;padding:14px 0;border-bottom:1px solid #ffffff0c;}
#hm-mobile-app .hm-community-winners .hm-winner-crest{width:38px;height:38px;flex:none;}
#hm-mobile-app .hm-community-winners .hm-winner-crest img{display:block;width:36px;height:36px;object-fit:contain;}
#hm-mobile-app .hm-community-winners .hm-winner-clan{font:700 14px/1.5 Arial,sans-serif;color:#f0d39b;overflow-wrap:anywhere;}
#hm-mobile-app .hm-community-winners .hm-winner-leader{font-size:12px;}
#hm-mobile-app .hm-community-winners .hm-winner-leader img{width:24px;height:16px;object-fit:contain;}
#hm-mobile-app .hm-community-winners .hm-winner-marks{max-width:36px;margin-left:auto;}
#hm-mobile-app .hm-community-winners .hm-sidebar-guildmark{display:block;width:30px;height:30px;flex:none;border-radius:2px;}
#hm-mobile-app .hm-community-more{display:inline-flex;align-items:center;font:12px/1.5 Arial,sans-serif;margin-top:13px;color:#e4b373;text-decoration:none;}
#hm-mobile-app .hm-community-more:hover{text-decoration:underline;color:#ffdda4;}
#hm-mobile-app .hm-community-empty{font:12px/1.6 Arial,sans-serif;color:#a6a6ab;}
@media(max-width:600px){
 #hm-mobile-app .hm-m-gens-card{padding:14px 11px;}
 #hm-mobile-app .hm-m-gens-card h3{font-size:20px;}
 #hm-mobile-app .hm-m-gens-card>strong{font-size:19px;letter-spacing:-.4px;}
 #hm-mobile-app .hm-gens-leader{font-size:11px;gap:5px;}
 #hm-mobile-app .hm-community-winners{padding:15px!important;}
 #hm-mobile-app .hm-community-winners>h3{font-size:19px;}
 #hm-mobile-app .hm-community-winners ul{grid-template-columns:minmax(0,1fr);}
 #hm-mobile-app .hm-community-winners .hm-winner-row{min-height:76px;}
}

/* Castle Siege artwork: preserve banner sizes and readable winner identities. */
#hm-mobile-app .hm-community-winners.hm-m-castle-card{
 background-image:linear-gradient(90deg,rgba(8,9,12,.94),rgba(8,9,12,.84) 48%,rgba(8,9,12,.38)),url('https://heroesmu.com/template/season21/images/castle-siege-mejorado-v1-opt-v1.webp')!important;
 background-size:cover!important;background-position:center,right center!important;background-repeat:no-repeat!important;
}
#hm-mobile-app .hm-community-winners.hm-m-castle-card>h3,
#hm-mobile-app .hm-community-winners.hm-m-castle-card .hm-winner-clan,
#hm-mobile-app .hm-community-winners.hm-m-castle-card .hm-winner-leader,
#hm-mobile-app .hm-community-winners.hm-m-castle-card .hm-community-more{text-shadow:0 1px 3px #000,0 0 8px #000;}
#hm-mobile-app .hm-community-winners.hm-m-castle-card ul{grid-template-columns:minmax(0,1fr);max-width:480px;}
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="castle-siege-mejorado-v1"]{background-position:center,83% top;}
}
@media(max-width:600px){
 #hm-mobile-app .hm-community-winners.hm-m-castle-card{background-position:center,78% center!important;}
}

@media(max-width:600px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="castle-siege-mejorado-v1"]{background-color:#0b0b0d;background-image:linear-gradient(0deg,#0b0b0d 0%,rgba(11,11,13,.92) 22%,transparent 70%),var(--hm-page-art);background-size:100% 100%,auto 330px;background-position:center,right top;background-repeat:no-repeat;}
}

/* Castle lists: neutral surfaces on desktop and mobile, without legacy row textures. */
#hm-mobile-app .cs-list{border-radius:10px;background:#111214!important;}
#hm-mobile-app .cs-list table,#hm-mobile-app .cs-list table tr,#hm-mobile-app .cs-list table td,#hm-mobile-app .cs-list table th{background-image:none!important;}
#hm-mobile-app .cs-list table tr:first-child td{background-color:#242529!important;}
#hm-mobile-app .cs-list table tr:not(:first-child) td{background-color:#17181b!important;}
#hm-mobile-app .cs-list table tr:nth-child(even):not(:first-child) td{background-color:#1c1d21!important;}
@media(max-width:600px){
 #hm-mobile-app .cs-list table tr{background:#17181b!important;border-color:#39342b!important;border-radius:8px;}
 #hm-mobile-app .cs-list table tr td{background-color:transparent!important;background-image:none!important;}
 #hm-mobile-app .cs-list table tr td:before{color:#c7b287;}
}

/* Latest duels belong to Conquistas, before both Gens cards. */
#hm-mobile-app .hm-m-community>.hm-m-duels{width:100%;box-sizing:border-box;margin:0 0 14px!important;}

/* Native Castle phone cards must not inherit the generic 540px table adapter. */
@media(max-width:600px){
 #hm-mobile-app .cs-list .hm-m-table-scroll{overflow:visible;min-width:0;width:100%;}
 #hm-mobile-app .cs-list table,#hm-mobile-app .cs-list table.hm-m-data-table{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;table-layout:fixed;}
 #hm-mobile-app .cs-list table tbody{min-width:0;}
 #hm-mobile-app .cs-list table tr{width:100%;max-width:100%;min-width:0;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;}
 #hm-mobile-app .cs-list table tr td,#hm-mobile-app .cs-list table tr th{width:auto!important;min-width:0!important;max-width:100%;height:auto!important;min-height:64px;box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;line-height:1.45!important;padding:9px 10px!important;gap:5px;justify-content:flex-start;}
 #hm-mobile-app .cs-list table tr:not(:first-child) td,#hm-mobile-app .cs-list table tr:nth-child(even):not(:first-child) td{background:#1c1d21!important;}
 #hm-mobile-app .cs-list table td:before{display:block;flex:none;line-height:1.3;margin:0;letter-spacing:.06em;font-size:10px;}
 #hm-mobile-app .cs-list table td>div{width:100%;min-width:0;height:auto;line-height:1.45;white-space:normal;overflow-wrap:anywhere;text-align:left;}
 #hm-mobile-app .cs-list table td svg{width:30px;height:30px;display:block;}
 #hm-mobile-app .cs-list table td img{object-fit:contain;}
}

/* Consolidated duel panel base; current responsive artwork follows. */
#hm-mobile-app .hm-m-community>.hm-m-duels,#hm-mobile-app .hm-m-duels{background-color:#111315;background-repeat:no-repeat;}
#hm-mobile-app .hm-m-duels:before{content:none;}
#hm-mobile-app .hm-duel-player span{font-family:Arial,'Segoe UI Symbol','Cambria Math',sans-serif!important;}

/* Extend the previous canvas only. Character proportions and colors unchanged. */
#hm-mobile-app .hm-m-community>.hm-m-duels,#hm-mobile-app .hm-m-duels{background-image:url('https://heroesmu.com/template/season21/images/duelos-lienzo-largo-v3.webp');background-size:cover;background-position:right center;}
@media(max-width:600px){#hm-mobile-app .hm-m-community>.hm-m-duels,#hm-mobile-app .hm-m-duels{background-image:url('https://heroesmu.com/template/season21/images/duelos-lienzo-cel-v3.webp');background-size:cover;background-position:right center;}}

/* One continuous panorama with unique scenery, no mirrored or tiled sections. */
@media(min-width:601px){#hm-mobile-app .hm-m-community>.hm-m-duels,#hm-mobile-app .hm-m-duels{background-image:url('https://heroesmu.com/template/season21/images/duelos-fondo-continuo-v4.webp');background-size:cover;background-position:right center;background-repeat:no-repeat;}}

/* Index spacing and account clock after the existing links. */
#hm-mobile-app.hm-page-is-home .hm-u-center>.hm-m-welcome{margin-bottom:24px;}
#hm-mobile-app #hm-mobile-account [data-hm-slot="account"]>.hm-server-clock{margin:20px 0 0;padding:12px;border-radius:8px;}
@media(min-width:960px){#hm-mobile-app .hm-community-winners.hm-m-castle-card{background-image:url('https://heroesmu.com/template/season21/images/castle-siege-mejorado-v1-opt-v1.webp')!important;background-position:right center!important;}}
/* Compact footer, matching the charcoal panels and fine gold accents. */
#hm-mobile-app .hm-m-footer{margin:24px 0 0;padding:22px 24px;border:1px solid #493e2e;border-radius:12px;background:linear-gradient(120deg,#17181a,#101113);color:#a99e8b;text-align:left;}
#hm-mobile-app .hm-footer-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:18px;border-bottom:1px solid #c5a05525;}
#hm-mobile-app .hm-footer-brand{display:flex;align-items:center;gap:12px;color:#e9cc98;text-decoration:none;}
#hm-mobile-app .hm-footer-brand img{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 2px 4px #000);}
#hm-mobile-app .hm-footer-brand strong{margin:0;font:bold 21px/1.3 Georgia;color:#edcf99;}
#hm-mobile-app .hm-footer-brand small{display:block;margin-top:4px;color:#9c927e;font:10px/1.5 Arial;letter-spacing:1.3px;}
#hm-mobile-app .hm-footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;}
#hm-mobile-app .hm-footer-links a{display:flex;align-items:center;gap:7px;min-height:40px;color:#c7b58f;text-decoration:none;font:12px/1.5 Arial;}
#hm-mobile-app .hm-footer-links a:hover{color:#ffe0a5;}
#hm-mobile-app .hm-footer-links svg{width:16px;height:16px;color:#c5a055;}
#hm-mobile-app .hm-footer-legal{padding-top:15px;text-align:center;font:11px/1.8 Arial;color:#958b7b;}
#hm-mobile-app .hm-footer-legal td{color:#958b7b!important;}
@media(max-width:600px){#hm-mobile-app .hm-m-footer{padding:18px 16px;margin-top:20px;}#hm-mobile-app .hm-footer-heading{flex-direction:column;gap:12px;}#hm-mobile-app .hm-footer-links{justify-content:center;gap:4px 15px;}#hm-mobile-app .hm-footer-links a{font-size:11px;}#hm-mobile-app .hm-footer-brand img{width:60px;height:60px;}}

/* Castle champion: one title crown, guild crest beside the identity. */
#hm-mobile-app .hm-community-winners.hm-m-castle-card{background-image:linear-gradient(90deg,rgba(8,9,12,.88),rgba(8,9,12,.67) 48%,rgba(8,9,12,.28)),url('https://heroesmu.com/template/season21/images/castle-siege-mejorado-v1-opt-v1.webp')!important;}
#hm-mobile-app .hm-m-castle-card .hm-winner-row{gap:16px;min-height:100px;border-bottom:0;}
#hm-mobile-app .hm-m-castle-card .hm-winner-crest{width:48px;height:48px;}
#hm-mobile-app .hm-m-castle-card .hm-winner-crest>.hm-sidebar-guildmark{width:44px;height:44px;border-radius:3px;filter:drop-shadow(0 2px 4px #000);}
#hm-mobile-app .hm-m-castle-card .hm-winner-clan{font:700 25px/1.3 Georgia,serif;color:#ffe0a2;letter-spacing:.3px;}
#hm-mobile-app .hm-m-castle-card .hm-winner-leader{margin-top:7px;gap:6px;font-size:14px;color:#f2e8d7;}
#hm-mobile-app .hm-m-castle-card .hm-winner-leader small{font-size:12px;color:#c5b89e;}
#hm-mobile-app .hm-m-castle-card .hm-castle-leader-name{font:700 16px/1.4 Arial,sans-serif;color:#fff0d5;}
@media(max-width:600px){#hm-mobile-app .hm-m-castle-card .hm-winner-clan{font-size:23px;}#hm-mobile-app .hm-m-castle-card .hm-castle-leader-name{font-size:15px;}}

/* Compact the empty legacy clock rows after moving the live clock. */
#hm-mobile-app #hm-mobile-account>h2{margin-bottom:12px;}
#hm-mobile-app #hm-source-account>tbody>tr:nth-child(-n+2){display:none!important;}
#hm-mobile-app #login_account .hm-login-fields{padding-top:0;}
#hm-mobile-app .hm-m-castle-card .hm-winner-clan,#hm-mobile-app .hm-m-castle-card .hm-winner-leader,#hm-mobile-app .hm-m-castle-card .hm-castle-leader-name,#hm-mobile-app .hm-m-castle-card>h3,#hm-mobile-app .hm-m-castle-card .hm-community-more{text-shadow:-1px -1px 1px #000,1px 1px 1px #000,0 2px 4px #000,0 0 9px #000,0 0 16px #000;}
#hm-mobile-app .hm-m-social>h2{display:flex;align-items:center;gap:9px;}
#hm-mobile-app .hm-m-social>h2 svg{width:22px;height:22px;flex:none;color:#c5a055;}
#hm-mobile-app #attacklist2 a{justify-content:flex-start;gap:10px;min-height:44px;margin:6px 0;padding:7px 10px;border:1px solid #3d3931;border-radius:8px;background:linear-gradient(110deg,#1b1c1f,#151618);color:#e3d4bb;transition:border-color .15s,background .15s;}
#hm-mobile-app #attacklist2 a:hover{border-color:#a9874c;background:#222326;color:#ffe0a5;}
#hm-mobile-app .hm-social-icon{display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex:0 0 29px;border-radius:7px;background:#ffffff08;}
#hm-mobile-app .hm-social-icon svg{display:block;width:20px;height:20px;}
#hm-mobile-app .hm-social-whatsapp{color:#43ce7a;}#hm-mobile-app .hm-social-telegram{color:#50b8ee;}#hm-mobile-app .hm-social-discord{color:#939bff;}#hm-mobile-app .hm-social-facebook{color:#6eabff;}#hm-mobile-app .hm-social-instagram{color:#f28baf;}#hm-mobile-app .hm-social-tiktok{color:#80e5df;}#hm-mobile-app .hm-social-twitter{color:#e0e1e4;}
#hm-mobile-app .hm-social-name{font:600 12px/1.4 Arial,sans-serif;}

/* Server time belongs with the server information, retaining the same timer. */
#hm-mobile-app .hm-m-server>.hm-server-clock{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:10px;margin:0 0 14px;padding:12px;border:1px solid #42392d;border-radius:8px;background:linear-gradient(110deg,#191a1b,#111214);text-align:left;}
#hm-mobile-app .hm-m-server>.hm-server-clock>svg{width:21px;height:21px;color:#c7a56e;}
#hm-mobile-app .hm-server-health{display:flex;align-items:center;gap:8px;margin:0 0 14px;font:12px/1.5 Arial;color:#b8afa0;}
#hm-mobile-app .hm-server-health-dot{width:8px;height:8px;border-radius:50%;background:#928b7f;flex:none;}
#hm-mobile-app .hm-server-online{color:#80d99a;}#hm-mobile-app .hm-server-online .hm-server-health-dot{background:#50c879;box-shadow:0 0 6px #50c87950;}
#hm-mobile-app .hm-server-offline{color:#e48d80;}#hm-mobile-app .hm-server-offline .hm-server-health-dot{background:#d57264;}

/* Simple phone navigation: only the current page receives an orange pill. */
@media(max-width:959px){
#hm-mobile-menu{inset:0 0 0 auto;width:min(340px,92vw);max-width:92vw;height:100dvh;max-height:100dvh;margin:0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));border:0;border-left:1px solid #6b4e2f;background:#17120f;color:#ead0a4;box-sizing:border-box;}
#hm-mobile-app .hm-m-menu-heading{margin:0 -20px 16px;padding:0 20px 18px;border-bottom:1px solid #ffffff0d;}
#hm-mobile-app .hm-m-menu-heading h2{font:600 19px/1.3 Arial,Helvetica,sans-serif;color:#f1f1f2;}
#hm-mobile-app .hm-m-menu-heading button{width:40px;height:40px;border-radius:50%;border:1px solid #ffffff12;background:transparent;color:#ddd;}
#hm-mobile-menu nav{width:100%;}
#hm-mobile-menu .hm-community-menu,#hm-mobile-menu .hm-community-menu tbody,#hm-mobile-menu .hm-community-menu tr,#hm-mobile-menu .hm-community-menu td{width:100%!important;max-width:100%!important;border:0!important;background:none!important;padding:0!important;box-sizing:border-box;}
#hm-mobile-menu .hm-community-menu{border-spacing:0!important;}
#hm-mobile-menu .hm-community-menu a.hm-community-button,#hm-mobile-menu .hm-m-extra-links a{position:relative!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;height:auto!important;min-height:52px!important;margin:3px 0!important;padding:12px 18px!important;box-sizing:border-box!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:#a9a9b2!important;font:500 17px/1.4 Arial,Helvetica,sans-serif!important;text-decoration:none!important;text-shadow:none!important;letter-spacing:0!important;text-align:left!important;}
#hm-mobile-menu .hm-community-button svg{display:none!important;}
#hm-mobile-menu .hm-community-button span{font:inherit!important;letter-spacing:inherit!important;}
#hm-mobile-menu a.hm-community-button[aria-current=page],#hm-mobile-menu .hm-m-extra-links a[aria-current=page]{background:linear-gradient(110deg,#a44027,#742516)!important;color:#fff2e8!important;font-weight:600!important;}
#hm-mobile-menu nav a:hover{color:#fff!important;background-color:#ffffff08!important;}
#hm-mobile-menu nav a:focus-visible{outline:2px solid #c65c39!important;outline-offset:2px!important;}
#hm-mobile-menu .hm-m-extra-links{gap:0;margin-top:16px;padding-top:12px;border-top:1px solid #ffffff10;}
#hm-mobile-menu .hm-m-extra-links a{font-size:14px!important;min-height:44px!important;}
}

/* Portrait artwork keeps all five faces outside the logo area on phones. */
@media(max-width:959px){
#hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="personajes-season21-banner.webp"]{background-image:linear-gradient(0deg,rgba(7,8,10,.97),rgba(7,8,10,.82) 23%,rgba(7,8,10,.05) 62%,transparent 80%),url('https://heroesmu.com/template/season21/images/personajes-mobile-v2.webp');background-size:100% 100%,100% auto;background-position:center,center top;background-repeat:no-repeat;background-color:#080c14;}
}

/* Soft black contour behind the Characters heading. */
#hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="personajes-season21-banner.webp"]>h1{text-shadow:-1px -1px 2px #000,1px -1px 2px #000,-1px 1px 2px #000,1px 1px 2px #000,0 2px 5px #000,0 0 10px #000,0 0 18px #000c;}

/* Account summary and original character brand restored. */
#hm-mobile-app #hm-source-content .hm-ch-brand-column{display:flex!important}
#hm-mobile-app.hm-page-presentation-ready #hm-source-content .hm-ch-hero{display:none!important}
#hm-mobile-app #login_in .hm-account-summary{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;text-align:left}
#hm-mobile-app .hm-account-identity{display:flex;flex-direction:column;gap:6px}
#hm-mobile-app .hm-account-identity>span,#hm-mobile-app .hm-account-balance>span,#hm-mobile-app .hm-account-membership>span{display:block;font:11px/1.5 Arial,sans-serif;color:#b7ae9e}
#hm-mobile-app .hm-account-identity>a{font:bold 18px/1.4 Georgia,serif;color:#f3d59b;overflow-wrap:anywhere;text-decoration:none}
#hm-mobile-app .hm-account-balance{padding:14px;border:1px solid #665033;border-radius:10px;background:#101113}
#hm-mobile-app .hm-account-balance>strong{display:block;margin-top:5px;font:bold 24px/1.3 Arial,sans-serif;color:#f7c86e;font-variant-numeric:tabular-nums}
#hm-mobile-app .hm-account-balance small{font-size:11px;font-weight:normal;color:#c9b78f}
#hm-mobile-app .hm-account-membership{padding:0 2px}
#hm-mobile-app .hm-account-membership>strong{display:block;margin:4px 0;color:#f0c96f;font:bold 13px/1.5 Arial,sans-serif}
#hm-mobile-app .hm-account-membership p{margin:0;color:#ded5c4;font:12px/1.6 Arial,sans-serif}
#hm-mobile-app .hm-account-reserve{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:10px 0;border-top:1px solid #51412d;font:11px/1.5 Arial,sans-serif;color:#bdb5a8}
#hm-mobile-app .hm-account-reserve strong{color:#86c8e9}
#hm-mobile-app .hm-account-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#hm-mobile-app .hm-account-shortcuts a{padding:10px 5px;border:1px solid #665033;border-radius:7px;text-align:center;text-decoration:none;font:bold 11px/1.5 Arial,sans-serif;background:#231c15;color:#f3d59b}
#hm-mobile-app #login_in .hm-account-exit{width:100%;margin:0;padding:10px;border:1px solid #755132;border-radius:7px;background:linear-gradient(#923c24,#632417);color:#ffe6c2;cursor:pointer}
#hm-mobile-app .hm-account-shortcuts a:hover{background:#382619}


/* Three explicit columns: brand, character details, portrait/share. */
#hm-mobile-app #hm-source-content .hm-ch-head{display:grid!important;grid-template-columns:60px minmax(0,1fr) 104px!important;align-items:start!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-brand-column{grid-column:1;grid-row:1;width:60px;min-width:0;max-width:60px}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-head-copy{grid-column:2;grid-row:1;min-width:0;width:auto}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-portrait-column{grid-column:3;grid-row:1;min-width:0;width:104px;margin:0!important}
@media(max-width:540px){
#hm-mobile-app #hm-source-content .hm-ch-head{grid-template-columns:40px minmax(0,1fr) 64px!important;gap:10px!important;padding:18px 12px!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-brand-column{width:40px;max-width:40px}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-brand{width:40px;height:40px;flex-basis:40px}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-portrait-column{width:64px}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{width:64px!important;height:64px!important;flex-basis:64px}
#hm-mobile-app #hm-source-content .hm-ch-head-copy h3{font-size:21px!important}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-share{padding:5px;font-size:9px;gap:3px}
#hm-mobile-app #hm-source-content .hm-ch-gens-summary{flex-wrap:wrap}
}

/* Mobile character card: identity gets the full available width. */
@media(max-width:767px){
#hm-mobile-app #hm-source-content .hm-ch-head{grid-template-columns:minmax(0,1fr) 88px!important;gap:14px 12px!important;padding:18px 16px!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-brand-column{grid-column:1;grid-row:1;width:56px;max-width:56px;align-self:center;padding:0}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-brand{width:56px;height:56px;flex-basis:56px}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-portrait-column{grid-column:2;grid-row:1;width:88px;gap:8px}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{width:72px!important;height:72px!important;flex-basis:72px}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-share{width:88px;box-sizing:border-box;padding:7px 6px;font-size:10px;white-space:nowrap;word-break:normal;overflow-wrap:normal;gap:4px}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-share .hm-ch-icon{width:12px;height:12px;flex:0 0 12px}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-head-copy{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-character-title{flex-wrap:wrap;gap:8px}
#hm-mobile-app #hm-source-content .hm-ch-head-copy h3{font-size:25px!important;line-height:1.25!important;margin:0}
#hm-mobile-app #hm-source-content .hm-ch-gens-summary{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;margin-top:14px;padding-top:12px}
#hm-mobile-app #hm-source-content .hm-ch-gens-summary>img{width:40px;height:56px;flex:0 0 40px;object-fit:contain}
#hm-mobile-app #hm-source-content .hm-ch-gens-summary>div{flex:1;min-width:0}
#hm-mobile-app #hm-source-content .hm-ch-gens-badges{display:flex;flex-wrap:wrap;gap:6px}
}

/* Mobile: class portrait left, brand and share action right. */
@media(max-width:767px){
#hm-mobile-app #hm-source-content .hm-ch-head{grid-template-columns:minmax(0,1fr) 96px!important;grid-template-rows:60px auto auto;gap:8px 12px!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-brand-column{grid-column:2;grid-row:1;width:56px;max-width:56px;justify-self:center;align-self:center}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-portrait-column{display:contents!important}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{grid-column:1;grid-row:1/3;width:96px!important;height:96px!important;max-width:100%;flex-basis:96px;align-self:center;justify-self:start}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-share{grid-column:2;grid-row:2;justify-self:center;align-self:start;width:96px;margin:0!important}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-share-status{grid-column:1/-1;grid-row:4}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-head-copy{grid-column:1/-1;grid-row:3;margin-top:10px}
}

/* Duel navigation and larger class portraits. */
#hm-mobile-app .hm-duel-data{position:relative;width:100%}
#hm-mobile-app .hm-duel-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0 0 4px;padding:0;background:transparent}
#hm-mobile-app .hm-duel-controls button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:28px;padding:0;border:1px solid #806335;border-radius:6px;background:#211b15;color:#ffd38c;font:bold 25px/1 Arial;cursor:pointer}
#hm-mobile-app .hm-duel-controls button:hover{background:#87361f}
#hm-mobile-app .hm-duel-controls button:focus-visible{outline:2px solid #ffd38c;outline-offset:2px}
#hm-mobile-app .hm-duel-controls button:disabled{opacity:.45;cursor:default}
#hm-mobile-app #hm-duel-count{min-width:48px;text-align:center;color:#f4d39a;font:11px/1.4 Arial;font-variant-numeric:tabular-nums}
#hm-mobile-app .duelo-item .hm-duel-player img{width:44px;height:44px;flex-basis:44px}
@media(max-width:600px){#hm-mobile-app .duelo-item .hm-duel-player img{width:38px;height:38px;flex-basis:38px}}
/* Character portrait without the discontinued sharing action. */
@media(min-width:768px){
#hm-mobile-app #hm-source-content .hm-ch-head{grid-template-columns:60px minmax(0,1fr) 144px!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-portrait-column{width:144px;align-self:start!important;justify-content:flex-start!important}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{width:144px!important;height:144px!important;flex-basis:144px;max-width:100%}
}
@media(max-width:767px){
#hm-mobile-app #hm-source-content .hm-ch-head{grid-template-rows:128px auto!important}
#hm-mobile-app #hm-source-content .hm-ch-head .hm-ch-class-portrait[data-hm-portrait-family]{width:128px!important;height:128px!important;flex-basis:128px;grid-row:1;align-self:start!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-head-copy{grid-row:2!important}
#hm-mobile-app #hm-source-content .hm-ch-head>.hm-ch-brand-column{align-self:start!important}
}

/* Quick account information inside the phone menu. */
#hm-mobile-app .hm-menu-account{display:none}
@media(max-width:959px){
#hm-mobile-app #hm-mobile-menu .hm-menu-account{display:grid;grid-template-columns:1fr 1fr;gap:12px;box-sizing:border-box;width:100%;padding:20px;margin:0 0 10px;border:0;border-bottom:1px solid #ffffff0d;border-radius:0;background:transparent;box-shadow:none;color:#e8d4b0;text-align:left}
#hm-mobile-app .hm-menu-account .hm-account-identity{grid-column:1/-1;display:block}
#hm-mobile-app .hm-menu-account .hm-account-identity a{font:bold 18px/1.4 Georgia,serif;color:#f3d59b;text-decoration:none;overflow-wrap:anywhere}
#hm-mobile-app .hm-menu-account .hm-account-balance{padding:10px;border-radius:8px;background:#121214;border:1px solid #58412c;min-width:0}
#hm-mobile-app .hm-menu-account .hm-account-balance>span,#hm-mobile-app .hm-menu-account .hm-account-membership>span{display:block;font:11px/1.4 Arial;color:#bdb2a2}
#hm-mobile-app .hm-menu-account .hm-account-balance strong{display:block;margin-top:5px;font:bold 20px/1.4 Arial;color:#ffd080;overflow-wrap:anywhere}
#hm-mobile-app .hm-menu-account .hm-account-balance small{display:block;font:10px/1.4 Arial;color:#cfc0a7}
#hm-mobile-app .hm-menu-account .hm-account-membership{padding:4px 0;min-width:0}
#hm-mobile-app .hm-menu-account .hm-account-membership strong{display:block;margin:4px 0;font:bold 12px/1.4 Arial;color:#ffd080}
#hm-mobile-app .hm-menu-account .hm-account-membership p,#hm-mobile-app .hm-menu-account .hm-account-membership a{margin:0;font:11px/1.6 Arial;color:#ded5c4}
#hm-mobile-app .hm-menu-account .hm-account-reserve{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid #58412c;font:11px/1.5 Arial}
#hm-mobile-app .hm-menu-account .hm-account-reserve strong{color:#86c8e9}
#hm-mobile-app .hm-menu-account .hm-menu-account-exit{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;padding:8px 12px;border:1px solid #a9683d;border-radius:20px;background:linear-gradient(#9f4026,#712817);color:#ffe6c2;font:bold 12px/1.5 Arial;cursor:pointer}
#hm-mobile-app .hm-menu-account-exit svg{width:18px;height:18px}
}

/* Controls and title share the left side, leaving the background face clear. */
#hm-mobile-app .hm-m-duels .hm-duel-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0 0 9px;padding:0 0 9px;border-bottom:1px solid #d7cab21a}
#hm-mobile-app .hm-duel-heading .hm-duel-controls{flex:none;justify-content:flex-start;margin:0}
#hm-mobile-app .hm-m-duels .hm-duel-heading h2{margin:0;padding:0;border:0;min-width:0}
@media(max-width:600px){
#hm-mobile-app .hm-m-duels .hm-duel-heading{gap:8px}
#hm-mobile-app .hm-duel-heading .hm-duel-controls{gap:4px}
#hm-mobile-app .hm-duel-heading .hm-duel-controls button{width:28px;height:28px}
#hm-mobile-app .hm-duel-heading #hm-duel-count{min-width:42px}
#hm-mobile-app .hm-m-duels .hm-duel-heading h2{font-size:9px;letter-spacing:1px;gap:5px}
}

/* Precise arrow alignment, account colors and server status tile. */
#hm-mobile-app .hm-duel-controls button{box-sizing:border-box;line-height:0;font-size:0;vertical-align:middle}
#hm-mobile-app .hm-duel-controls button svg{display:block;width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#hm-mobile-app .hm-account-balance>strong,#hm-mobile-app .hm-menu-account .hm-account-balance strong{color:#ffbb00}
#hm-mobile-app .hm-account-balance small,#hm-mobile-app .hm-menu-account .hm-account-balance small{color:#ff6600}
#hm-mobile-app .hm-server-health{padding:12px 10px;border-radius:8px;background:#191b1f;gap:8px;flex-wrap:wrap}
#hm-mobile-app .hm-server-health-label{color:#e8d4b0;font-size:11px;flex:1}
#hm-mobile-app .hm-server-health strong{font-size:12px}
#hm-mobile-app .hm-m-news-list .hm-news-new{display:inline-block;width:34px;height:16px;vertical-align:middle;margin-left:8px;object-fit:contain}
@media(min-width:960px){#hm-mobile-app.hm-page-is-home .hm-m-welcome:after{width:44%}}

/* v33: compact desktop duel grouping and readable utility navigation. */
@media(min-width:960px){
#hm-mobile-app .duelo-item .hm-duel-player{flex:0 1 160px!important;padding-right:14px;box-sizing:border-box}
#hm-mobile-app .duelo-item .hm-duel-player:last-child{padding-right:0;padding-left:14px}
#hm-mobile-app .duelo-item .hm-duel-player img{width:48px;height:48px;flex-basis:48px}
#hm-mobile-app .duelo-item .hm-duel-player span{line-height:18px!important}
#hm-mobile-app.hm-page-is-home .hm-m-welcome:after{width:44%}
#hm-mobile-app .hm-u-navigation .hm-m-extra-links{gap:3px;padding-top:12px}
#hm-mobile-app .hm-u-navigation .hm-m-extra-links a{gap:9px;min-height:36px;padding:8px 7px;font-size:12px;line-height:1.4;border-radius:6px;color:#d2bea2;transition:background .15s,color .15s}
#hm-mobile-app .hm-u-navigation .hm-m-extra-links a:hover,#hm-mobile-app .hm-u-navigation .hm-m-extra-links a[aria-current=page]{color:#ffe1b4;background:#87361f40}
}
#hm-mobile-app .hm-m-extra-links a>svg{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:#cf9b55;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#hm-mobile-menu .hm-m-extra-links a{gap:12px}
#hm-mobile-app .hm-m-news-list .hm-news-new{width:40px;height:16px;object-fit:contain}
@media(prefers-reduced-motion:reduce){#hm-mobile-app .hm-u-navigation .hm-m-extra-links a{transition:none}}

/* v36: consistent modern section headings. */
#hm-mobile-app .hm-u-navigation>h2,
#hm-mobile-app .hm-m-news-title,
#hm-mobile-app .hm-m-server>h2,
#hm-mobile-app #hm-mobile-account>h2,
#hm-mobile-app .hm-m-community>h2,
#hm-mobile-app .hm-m-ranking>h2{
 font-family:Arial,Helvetica,sans-serif;
 font-weight:700;
}
/* v38: desktop heading sizes and community typography. */
@media(min-width:960px){
 #hm-mobile-app .hm-m-social>h2{font-family:Arial,Helvetica,sans-serif;font-weight:700}
 #hm-mobile-app .hm-u-navigation>h2,
 #hm-mobile-app .hm-m-server>h2,
 #hm-mobile-app #hm-mobile-account>h2,
 #hm-mobile-app .hm-m-social>h2{font-size:20px;line-height:1.25}
 #hm-mobile-app .hm-m-ranking>h2{font-size:21px;line-height:1.25}
 #hm-mobile-app .hm-m-news-title{font-size:26px;line-height:1.25}
 #hm-mobile-app .hm-m-community>h2{font-size:24px;line-height:1.25}
}
/* Crisp text with an orange highlight cycling through N, E and W. */
#hm-mobile-app .hm-m-news-list .hm-news-new{display:inline-flex;width:auto;height:auto;gap:0;vertical-align:baseline;margin-left:8px;font:800 13px/1 Arial,Helvetica,sans-serif;letter-spacing:.6px;white-space:nowrap;color:#fff0d5;text-shadow:none}
#hm-mobile-app .hm-news-new>span{animation:hm-news-letter 1.5s linear infinite}
#hm-mobile-app .hm-news-new>span:nth-child(2){animation-delay:-1s}
#hm-mobile-app .hm-news-new>span:nth-child(3){animation-delay:-.5s}
@keyframes hm-news-letter{0%,30%{color:#ff8a24}33.333%,100%{color:#fff0d5}}
@media(prefers-reduced-motion:reduce){#hm-mobile-app .hm-news-new>span{animation:none;color:#ff8a24}}

/* Account identity remains a distinct compact card below the shared banner. */
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile>.hm-profile-hero{padding:18px 20px!important;background:linear-gradient(120deg,#232323,#161616)!important;border:1px solid #675332!important;border-radius:8px;box-shadow:inset 0 1px 0 #ffffff08!important}
#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-identity{display:flex;align-items:center;gap:14px;min-width:0}
#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-logo{display:flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px}
#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-logo img{width:52px!important;height:52px!important;min-width:0;object-fit:contain}
#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-user{font:700 22px/1.3 Arial,Helvetica,sans-serif;color:#ffe1a4;text-shadow:none}
#hm-mobile-app #hm-source-content .hm-profile-hero .hp-hero-member-since{margin-top:6px;font-size:11px;line-height:1.5;white-space:normal}
@media(max-width:540px){#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile>.hm-profile-hero{padding:14px!important}#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-user{font-size:19px}#hm-mobile-app #hm-source-content .hm-profile-hero .hm-profile-identity{gap:10px}}

/* Keep promotional artwork inside its card despite the generic responsive image rule. */
#hm-mobile-app #hm-source-content .hm-pay-promotion{overflow:hidden}
#hm-mobile-app #hm-source-content .hm-pay-promotion>img.hm-promo-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center bottom;border-radius:inherit}

/* Account identity belongs inside the shared profile banner. */
#hm-mobile-app.hm-page-is-inner #hm-source-content .hm-profile>.hm-profile-hero.hm-profile-identity-moved{display:none!important}
#hm-mobile-app .hm-m-welcome>.hm-banner-account-identity{position:relative;display:flex;align-items:center;gap:12px;margin:0 0 14px;max-width:72%;color:#ffe1a4;text-shadow:0 2px 5px #000}
#hm-mobile-app .hm-banner-account-identity>.hm-profile-logo{display:block;flex:0 0 48px;width:48px;height:48px}
#hm-mobile-app .hm-banner-account-identity .hm-profile-logo img{display:block;width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 2px 5px #000)}
#hm-mobile-app .hm-banner-account-identity>div{min-width:0}
#hm-mobile-app .hm-banner-account-identity .hm-profile-user{display:block;font:700 23px/1.3 Arial,Helvetica,sans-serif;color:#ffe1a4;overflow-wrap:anywhere}
#hm-mobile-app .hm-banner-account-identity .hp-hero-member-since{display:inline-flex;align-items:center;gap:7px;max-width:100%;margin-top:5px;padding:4px 9px;border:1px solid #9b793d;border-radius:16px;background:#000b;color:#e8c982;font:11px/1.5 Arial,Helvetica,sans-serif}
#hm-mobile-app .hm-banner-account-identity .hp-hero-member-since>.hp-svg{width:15px;height:15px;flex:none}
#hm-mobile-app .hm-banner-account-identity .hp-hero-member-since strong{color:#ffe3a2}
@media(max-width:959px){#hm-mobile-app .hm-m-welcome>.hm-banner-account-identity{max-width:100%;margin:12px 0}#hm-mobile-app .hm-banner-account-identity .hm-profile-user{font-size:20px}}

/* Profile banner: same desktop dimensions, without the redundant description. */
#hm-mobile-app.hm-page-is-inner .hm-m-welcome:has(>.hm-banner-account-identity)>span{display:none!important}
@media(min-width:960px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome:has(>.hm-banner-account-identity){min-height:390px;padding-top:148px}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome:has(>.hm-banner-account-identity)>h1{margin-bottom:10px}
 #hm-mobile-app .hm-m-welcome>.hm-banner-account-identity{margin-bottom:10px}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome:has(>.hm-banner-account-identity)>.hm-page-tags{margin-bottom:0}
}
@media(min-width:960px) and (max-width:1199px){#hm-mobile-app.hm-page-is-inner .hm-m-welcome:has(>.hm-banner-account-identity){min-height:370px;padding-top:132px}}

/* Keep the HCoins promotion artwork inside the promotion card. */
#hm-mobile-app #hm-source-content .hm-hcoins-themed-promo{overflow:hidden}
#hm-mobile-app #hm-source-content .hm-hcoins-themed-promo>img.hm-hc-promo-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center bottom;border-radius:inherit}

/* Compact mobile account summary; use the drawer's existing side padding. */
@media(max-width:959px){
 #hm-mobile-app #hm-mobile-menu .hm-m-menu-heading{margin-bottom:8px}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account{padding:4px 0 12px;margin:0 0 8px;gap:10px}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-account-identity{margin:0;padding:0}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-account-reserve{padding:7px 0}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-menu-account-exit{justify-self:center;width:auto;min-width:160px;max-width:100%;min-height:36px;padding:6px 16px;border-radius:6px;font-size:11px;gap:6px}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account-exit svg{width:16px;height:16px}
}

/* Reserved VIP uses its own full-width row in the mobile account summary. */

/* Dedicated portrait artwork: hosted remotely, mobile only. */
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="hcoins-banner-bk-alas-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/hcoins-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="vip-banner-mago-castillo-v2.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/vip-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="castle-siege-mejorado-v1-opt-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/castle-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="ranking-illusion-banner-v3-opt-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/ranking-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="roadmap-elf-sin-union-v5-opt-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/roadmap-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="privacidad-rune-mejorado-v8-opt-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/privacy-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="descargas-rojo-mejorado-v1-opt-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/downloads-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="pagos-nightmare-kanturu-v1.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/payments-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="centro-cuenta-banner.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/account-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="registration-banner.jpg"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/registration-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="recovery-gun-wings-light.jpg"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/recovery-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="personajes-season21-banner.webp"]{--hm-mobile-art:url('https://heroesmu.com/template/season21/images/mobile/characters-portrait-v1.webp');}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]{position:relative;isolation:isolate;overflow:hidden;min-height:440px;padding:235px 20px 24px;background:#0b0b0d;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]:before{content:'';display:block;position:absolute;z-index:-1;pointer-events:none;top:0;left:50%;transform:translateX(-50%);width:100%;height:360px;aspect-ratio:auto;border-radius:0;background-image:linear-gradient(to bottom,transparent 52%,#0b0b0d 100%),var(--hm-mobile-art,var(--hm-page-art));background-size:100% 100%,auto 360px;background-position:center,right top;background-repeat:no-repeat;mask-image:linear-gradient(to right,transparent,#000 45%);}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>.hm-m-banner-logo{position:absolute;left:18px;top:16px;width:126px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>h1{max-width:none;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]:has(>.hm-banner-account-identity){min-height:440px;padding-top:235px;}
}

/* Full-width portrait artwork; total phone height measured from the home banner. */
@media(max-width:959px){
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;height:var(--hm-index-banner-height,470px);min-height:var(--hm-index-banner-height,470px);padding:140px 20px 24px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]:before{width:100%;height:100%;aspect-ratio:auto;mask-image:none;background-image:linear-gradient(to bottom,transparent 28%,rgba(11,11,13,.65) 55%,#0b0b0d 84%),var(--hm-mobile-art,var(--hm-page-art));background-size:100% 100%,100% auto;background-position:center,center top;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>h1{flex-shrink:0;margin:0 0 8px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>.hm-page-tags{flex-shrink:0;gap:6px;margin:0 0 8px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>span{flex-shrink:0;max-width:100%;font-size:12px;line-height:1.5;padding:8px 10px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]>a:not(.hm-m-banner-logo){flex-shrink:0;margin-top:12px;}
 #hm-mobile-app.hm-page-is-inner .hm-m-welcome[style]:has(>.hm-banner-account-identity){min-height:var(--hm-index-banner-height,470px);padding-top:140px;}
}

/* Enlarge only the original Season 21 lettering by 20%; keep the emblem intact. */
#hm-mobile-app .hm-m-banner-logo img{clip-path:inset(0 0 26.1% 0);}
#hm-mobile-app .hm-m-banner-logo:after{content:'';position:absolute;pointer-events:none;left:0;top:81%;width:100%;height:25%;background-image:url('https://heroesmu.com/template/season21/images/heroesmu-logo-restaurado-v2.webp');background-size:138.264% auto;background-position:center 86.6%;background-repeat:no-repeat;filter:drop-shadow(0 2px 3px rgba(0,0,0,.7));}

/* Brown HM icon beside the desktop menu title. */
@media(min-width:960px){#hm-mobile-app .hm-u-navigation>h2{display:flex;align-items:center;gap:9px;}#hm-mobile-app .hm-u-navigation>h2>.hm-menu-brand-icon{display:block;flex:0 0 28px;width:28px;height:28px;object-fit:contain;}}

/* Keep Castle Siege control badges on separate, spaced lines on phones. */
@media(max-width:599px){
 #hm-mobile-app #hm-source-content .cs-guild-title{align-items:flex-start;gap:12px;}
 #hm-mobile-app #hm-source-content .cs-guild-title>.cs-mark{flex-shrink:0;}
 #hm-mobile-app #hm-source-content .cs-guild-title>div{min-width:0;}
 #hm-mobile-app #hm-source-content .cs-guild-title .cs-label{display:flex;flex-direction:column;align-items:flex-start;gap:6px;}
 #hm-mobile-app #hm-source-content .cs-guild-title .cs-sovereign-badge{display:inline-flex;align-items:center;gap:5px;margin:0;max-width:100%;white-space:normal;line-height:1.4;}
 #hm-mobile-app #hm-source-content .cs-guild-title .cs-sovereign-badge svg{flex-shrink:0;}
 #hm-mobile-app #hm-source-content .cs-guild-title h3{margin-top:8px;}
}
@media(min-width:960px) and (max-width:1023px){
 #hm-mobile-app{width:calc(100% - 24px);}
 #hm-mobile-app .hm-u-layout{grid-template-columns:180px minmax(0,1fr) 220px;gap:14px;}
}

/* Classic Gens artwork: live labels remain readable over the original-style scene. */
#hm-mobile-app .hm-m-gens-card{min-height:200px;padding:20px 18px;border-color:#864b39;background:linear-gradient(90deg,rgba(10,8,7,.48),transparent 72%),url('https://heroesmu.com/template/season21/images/gens-duprian-rostro-v2.webp') right center/cover no-repeat #15110e;overflow:hidden;}
#hm-mobile-app .hm-m-gens-card:nth-child(2){border-color:#3e657e;background:linear-gradient(90deg,rgba(6,9,13,.48),transparent 72%),url('https://heroesmu.com/template/season21/images/gens-vanert-rostro-v2.webp') right center/cover no-repeat #101419;}
#hm-mobile-app .hm-m-gens-card h3{font:700 28px/1.15 Georgia,serif;color:#ffb49b;letter-spacing:.4px;text-shadow:0 2px 3px #000,0 0 15px #641b12;margin:0 0 14px;}
#hm-mobile-app .hm-m-gens-card:nth-child(2) h3{color:#b4deff;text-shadow:0 2px 3px #000,0 0 15px #174971;}
#hm-mobile-app .hm-m-gens-card>strong{color:#ffe0a3;text-shadow:0 2px 4px #000;max-width:67%;}
#hm-mobile-app .hm-m-gens-card>small{color:#eee1ce;text-shadow:0 1px 3px #000;}
#hm-mobile-app .hm-m-gens-card .hm-gens-leader{max-width:65%;border-top-color:#b58c5966;color:#fff1d8;text-shadow:0 1px 3px #000;overflow-wrap:anywhere;}
@media(max-width:600px){
 #hm-mobile-app .hm-m-community-cards{grid-template-columns:minmax(0,1fr);}
 #hm-mobile-app .hm-m-gens-card{min-height:190px;padding:18px 16px;}
 #hm-mobile-app .hm-m-gens-card h3{font-size:27px;}
 #hm-mobile-app .hm-m-gens-card>strong{font-size:24px;}
}

/* Strong faction nameplates over the final artwork. */
#hm-mobile-app .hm-m-gens-card h3{display:table;max-width:100%;box-sizing:border-box;padding:7px 12px;margin:0 0 13px;border-left:3px solid #ff724c;border-radius:0 5px 5px 0;background:linear-gradient(90deg,rgba(65,15,9,.96),rgba(15,8,6,.84));font:700 29px/1.1 Georgia,serif;text-transform:uppercase;letter-spacing:1px;color:#ffd1a9;text-shadow:0 2px 2px #000,0 0 10px #a32c16;box-shadow:0 2px 10px #0008;}
#hm-mobile-app .hm-m-gens-card:nth-child(2) h3{border-left-color:#65c8ff;background:linear-gradient(90deg,rgba(9,39,65,.96),rgba(6,11,17,.84));color:#c9ecff;text-shadow:0 2px 2px #000,0 0 10px #236eae;}
@media(max-width:600px){#hm-mobile-app .hm-m-gens-card h3{font-size:26px;letter-spacing:.7px;}#hm-mobile-app .hm-m-gens-card{background-position:center;}}

/* Dim artwork only; keep scores, labels and leaders bright. */
#hm-mobile-app .hm-m-gens-card{box-shadow:inset 0 0 0 1000px rgba(0,0,0,.32);}
#hm-mobile-app .hm-m-gens-card .hm-gens-leader{max-width:76%;gap:6px;}
#hm-mobile-app .hm-m-gens-card .hm-gens-leader .hm-gens-leader-name{display:inline;font:700 15px/1.4 Arial,sans-serif;color:#ffe5b4;letter-spacing:.2px;text-shadow:0 2px 3px #000;overflow-wrap:anywhere;}
#hm-mobile-app .hm-m-gens-card:nth-child(2) .hm-gens-leader .hm-gens-leader-name{color:#e0f2ff;}

/* Individual Arka War cards; element follows the existing winner data. */
#hm-mobile-app .hm-community-arka{padding:0!important;background:transparent!important;border:0;}
#hm-mobile-app .hm-community-arka>h3{margin:0 0 14px;padding:3px 0 0;border-bottom:0;}
#hm-mobile-app .hm-community-arka ul{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));}
#hm-mobile-app .hm-community-arka .hm-winner-row{--arka-accent:#bea779;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-neutral-v1.webp');display:block;position:relative;isolation:isolate;min-width:0;min-height:210px;padding:18px;border:1px solid var(--arka-accent);border-radius:9px;overflow:hidden;background:#0e1013 var(--arka-art) right center/auto 100% no-repeat;}
#hm-mobile-app .hm-community-arka .hm-winner-row:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.44) 62%,rgba(0,0,0,.48));pointer-events:none;}
#hm-mobile-app .hm-community-arka .hm-winner-crest{display:inline-flex;align-items:center;gap:7px;width:auto;height:auto;padding:4px 8px;margin-bottom:14px;background:#090b10d9;border:1px solid var(--arka-accent);border-radius:16px;color:#eee1c9;}
#hm-mobile-app .hm-community-arka .hm-winner-crest img{width:24px;height:24px;}
#hm-mobile-app .hm-community-arka .hm-arka-element-label{font:700 11px/1.3 Arial,sans-serif;}
#hm-mobile-app .hm-community-arka .hm-winner-details{width:65%;min-width:0;text-shadow:0 2px 3px #000;}
#hm-mobile-app .hm-community-arka .hm-arka-clan-mark{display:block;margin:0 0 8px;max-width:none;}
#hm-mobile-app .hm-community-arka .hm-arka-clan-mark .hm-sidebar-guildmark{width:36px;height:36px;border:1px solid #b79e6c77;background:#08090bd9;padding:3px;box-sizing:content-box;}
#hm-mobile-app .hm-community-arka .hm-winner-clan{display:block;font:700 clamp(20px,2vw,26px)/1.2 Georgia,serif;color:#ffe0a2;overflow-wrap:anywhere;}
#hm-mobile-app .hm-community-arka .hm-winner-leader{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:9px;font:12px/1.4 Arial,sans-serif;color:#e3d8c7;}
#hm-mobile-app .hm-community-arka .hm-winner-leader img{width:22px;height:15px;}
#hm-mobile-app .hm-community-arka .hm-arka-leader-name{font:700 14px/1.4 Arial,sans-serif;color:#fff0d4;overflow-wrap:anywhere;}
@media(max-width:600px){#hm-mobile-app .hm-community-arka ul{grid-template-columns:minmax(0,1fr);}#hm-mobile-app .hm-community-arka .hm-winner-row{min-height:205px;padding:16px;}#hm-mobile-app .hm-community-arka .hm-winner-clan{font-size:24px;}}
#hm-mobile-app .hm-community-arka .hm-winner-row[data-arka-element="fire"]{--arka-accent:#b46643;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-fire-v1.webp');}
#hm-mobile-app .hm-community-arka .hm-winner-row[data-arka-element="water"]{--arka-accent:#518cb8;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-water-v1.webp');}
#hm-mobile-app .hm-community-arka .hm-winner-row[data-arka-element="earth"]{--arka-accent:#ba944e;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-earth-v1.webp');}
#hm-mobile-app .hm-community-arka .hm-winner-row[data-arka-element="wind"]{--arka-accent:#528e70;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-wind-v1.webp');}
#hm-mobile-app .hm-community-arka .hm-winner-row[data-arka-element="darkness"]{--arka-accent:#9460b8;--arka-art:url('https://heroesmu.com/template/season21/images/arka-torre-darkness-v1.webp');}

#hm-mobile-app .hm-community-arka .hm-arka-card-title{margin:0 0 12px;color:#f5d49b;font:700 17px/1.25 Georgia,serif;text-shadow:0 2px 3px #000;position:relative;}
#hm-mobile-app .hm-community-arka .hm-winner-row{min-height:238px;}
@media(max-width:600px){#hm-mobile-app .hm-community-arka .hm-winner-row{min-height:230px;}#hm-mobile-app .hm-community-arka .hm-arka-card-title{font-size:16px;}}

/* Compact clan identity: crest and name on one row. */
#hm-mobile-app .hm-community-arka .hm-winner-details{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;row-gap:8px;width:76%;}
#hm-mobile-app .hm-community-arka .hm-arka-clan-mark{margin:0;grid-column:1;grid-row:1;}
#hm-mobile-app .hm-community-arka .hm-winner-clan-heading{grid-column:2;grid-row:1;min-width:0;}
#hm-mobile-app .hm-community-arka .hm-winner-details:not(:has(.hm-arka-clan-mark)) .hm-winner-clan-heading{grid-column:1/-1;}
#hm-mobile-app .hm-community-arka .hm-winner-leader{grid-column:1/-1;margin-top:0;}
#hm-mobile-app .hm-community-arka .hm-winner-row{min-height:200px;}
@media(max-width:600px){#hm-mobile-app .hm-community-arka .hm-winner-row{min-height:195px;}#hm-mobile-app .hm-community-arka .hm-winner-details{width:88%;column-gap:8px;}#hm-mobile-app .hm-community-arka .hm-winner-clan{font-size:22px;}}

/* Dedicated FAQ artwork; retain the shared index banner height. */
@media(max-width:959px){#hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="preguntas-dark-knight-v2.webp"]{--hm-mobile-art:url("https://heroesmu.com/template/season21/images/mobile/preguntas-portrait-v1.webp");}}

/* Grouped footer: HeroesMU palette, two columns on phones. */
#hm-mobile-app .hm-footer-expanded{padding:32px;border:1px solid #493e2e;border-radius:10px;background:#101010;color:#c0b197;font:13px/1.7 Arial,sans-serif;text-align:left}
#hm-mobile-app .hm-footer-main{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2.6fr);gap:48px}
#hm-mobile-app .hm-footer-intro{min-width:0;max-width:290px}
#hm-mobile-app .hm-footer-intro p{margin:16px 0 12px;font-size:13px;line-height:1.8;color:#bfb099}
#hm-mobile-app .hm-footer-season{font-size:11px;color:#bc965c}
#hm-mobile-app .hm-footer-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
#hm-mobile-app .hm-footer-groups section{min-width:0}
#hm-mobile-app .hm-footer-groups h2{margin:10px 0 15px;color:#d9b675;font:bold 11px/1.5 Arial,sans-serif;letter-spacing:1.3px;text-transform:uppercase}
#hm-mobile-app .hm-footer-groups ul{list-style:none;padding:0;margin:0}
#hm-mobile-app .hm-footer-groups li{padding:0;margin:0}
#hm-mobile-app .hm-footer-groups a{display:flex;align-items:center;min-height:38px;padding:5px 0;color:#c7baa5;text-decoration:none;font:13px/1.5 Arial,sans-serif;overflow-wrap:anywhere}
#hm-mobile-app .hm-footer-groups a:hover,#hm-mobile-app .hm-footer-top:hover{color:#ffe0a5}
#hm-mobile-app .hm-footer-expanded a:focus-visible{outline:2px solid #d6ad62;outline-offset:4px;border-radius:2px}
#hm-mobile-app .hm-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;padding-top:20px;border-top:1px solid #493e2e}
#hm-mobile-app .hm-footer-bottom .hm-footer-legal{padding:0;text-align:left;line-height:1.8;color:#a99a83}
#hm-mobile-app .hm-footer-top{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:#d2b17b;text-decoration:none;white-space:nowrap;font-size:12px}
@media(max-width:1100px){#hm-mobile-app .hm-footer-main{grid-template-columns:1fr;gap:24px}#hm-mobile-app .hm-footer-intro{max-width:480px}}
@media(max-width:600px){#hm-mobile-app .hm-footer-expanded{padding:24px 20px;margin-top:24px}#hm-mobile-app .hm-footer-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px}#hm-mobile-app .hm-footer-groups h2{margin:0 0 10px}#hm-mobile-app .hm-footer-groups a{min-height:42px;font-size:13px}#hm-mobile-app .hm-footer-brand{justify-content:flex-start}#hm-mobile-app .hm-footer-brand img{width:64px;height:64px}#hm-mobile-app .hm-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px;margin-top:24px}}

/* Requested creator and technology credits. */
#hm-mobile-app .hm-footer-credits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px;padding-top:24px;border-top:1px solid #493e2e}
#hm-mobile-app .hm-footer-credit{display:flex;align-items:center;gap:14px;min-width:0;text-decoration:none;color:#e7c88c}
#hm-mobile-app .hm-footer-credit>img{width:58px;height:58px;flex:0 0 58px;object-fit:contain}
#hm-mobile-app .hm-footer-credit>img.hm-credit-igcn{width:74px;height:40px;flex-basis:74px}
#hm-mobile-app .hm-footer-credit>div{min-width:0}
#hm-mobile-app .hm-footer-credit span{display:block;margin-bottom:4px;font:10px/1.5 Arial;letter-spacing:1.2px;text-transform:uppercase;color:#ad9c80}
#hm-mobile-app .hm-footer-credit strong{display:block;margin:0;font:bold 18px/1.4 Arial;color:#eed29c;overflow-wrap:anywhere}
#hm-mobile-app .hm-footer-credit small{display:inline;font:12px/1.5 Arial;color:#c7baa5;white-space:nowrap}
@media(max-width:700px){#hm-mobile-app .hm-footer-credits{grid-template-columns:1fr;gap:22px}#hm-mobile-app .hm-footer-credit>img{width:52px;height:52px;flex-basis:64px}#hm-mobile-app .hm-footer-credit>img.hm-credit-igcn{width:64px;height:auto;flex-basis:64px}#hm-mobile-app .hm-footer-credit strong{font-size:17px}}

#hm-mobile-app .hm-footer-credit .hm-credit-description{margin:5px 0 0;color:#b7ad9d;font:12px/1.5 Arial,sans-serif}

#hm-mobile-app .hm-footer-expanded .hm-footer-main{display:block}
#hm-mobile-app .hm-footer-expanded .hm-footer-groups{display:block}
#hm-mobile-app .hm-footer-expanded .hm-footer-groups ul{display:flex;flex-wrap:wrap;gap:8px 28px}
@media(max-width:600px){#hm-mobile-app .hm-footer-expanded .hm-footer-groups ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}}

#hm-mobile-app .hm-m-footer.hm-footer-expanded{background:#0d0d0d;background-image:none}

/* Perfil: elevar solo la ilustracion movil, sin cambiar el banner. */
@media(max-width:959px){#hm-mobile-app.hm-page-is-inner .hm-m-welcome[style*="perfil-mago-claro-v1.webp"]:before{background-position:center,center clamp(-72px,-12vw,-40px);}}

/* Mobile rankings are shown only on the home page. */
@media(max-width:959px){
 #hm-mobile-app:not(.hm-page-is-home) .hm-m-ranking{display:none!important}
}

/* Mobile account: quieter logout action and clear separation from navigation. */
@media(max-width:959px){
 #hm-mobile-app #hm-mobile-menu .hm-menu-account{padding-bottom:24px;margin-bottom:24px}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-menu-account-exit{background:#24211c;border-color:#8e713f;color:#f5dfb3;box-shadow:none;margin-top:8px}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-menu-account-exit:hover{background:#332b20;border-color:#c59c55}
 #hm-mobile-app #hm-mobile-menu .hm-menu-account .hm-menu-account-exit:focus-visible{outline:2px solid #e3bb70;outline-offset:3px}
}

/* Profile navigation: all sections visible without horizontal scrolling. */
@media(max-width:959px){
 #hm-mobile-app .hm-profile .hp-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;overflow:visible!important;width:100%;box-sizing:border-box}
 #hm-mobile-app .hm-profile .hp-tabs a{min-width:0!important;width:auto!important;flex:none!important;min-height:64px;box-sizing:border-box;padding:10px 4px!important;white-space:normal;text-align:center;overflow-wrap:anywhere}
}

/* Social links now live in the footer, without a tall sidebar card. */
#hm-mobile-app .hm-footer-social{margin:0 0 24px;padding:0 0 24px;border-bottom:1px solid #49402e;min-width:0}
#hm-mobile-app .hm-footer-social h2{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#d9b675;font:bold 11px/1.5 Arial,sans-serif;letter-spacing:1.3px;text-transform:uppercase}
#hm-mobile-app .hm-footer-social h2 svg{width:19px;height:19px;flex:none}
#hm-mobile-app .hm-footer-social #attacklist2 ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}
#hm-mobile-app .hm-footer-social #attacklist2 a{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:7px 10px;text-decoration:none}
#hm-mobile-app .hm-footer-social .hm-social-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){#hm-mobile-app .hm-footer-social #attacklist2 ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#hm-mobile-app .hm-footer-social{margin-bottom:18px;padding-bottom:18px}}
/* Compact social navigation: icons and labels without cards. */
#hm-mobile-app .hm-footer-social{margin:0;padding:0;border-bottom:0}
#hm-mobile-app .hm-footer-social #attacklist2 a{width:fit-content;max-width:100%;min-height:44px;padding:6px 0;border:0;border-radius:0;background:none;box-shadow:none;gap:10px;color:#d9ccb5;transition:color .15s}
#hm-mobile-app .hm-footer-social #attacklist2 a:hover{background:none;border:0;color:#ffe0a5}
#hm-mobile-app .hm-footer-social #attacklist2 a:hover .hm-social-name{text-decoration:underline;text-underline-offset:4px}
#hm-mobile-app .hm-footer-social #attacklist2 a:focus-visible{outline:2px solid #d4a460;outline-offset:4px;border-radius:3px}
#hm-mobile-app .hm-footer-social .hm-social-icon{width:24px;height:24px;flex:0 0 24px;background:none;border:0;border-radius:0}
#hm-mobile-app .hm-footer-social .hm-social-icon svg{width:22px;height:22px}
#hm-mobile-app .hm-footer-social #attacklist2 ul{gap:4px 24px;margin:0;padding:0;list-style:none}
@media(max-width:600px){#hm-mobile-app .hm-footer-social #attacklist2 ul{gap:4px 12px}#hm-mobile-app .hm-footer-social{margin:0;padding:0}}

/* Conquistas, including duels, is exclusive to Inicio on every screen size. */
#hm-mobile-app:not(.hm-page-is-home) .hm-m-community,
#hm-mobile-app:not(.hm-page-is-home) .hm-m-duels{display:none!important}
