/* =========================================================
   MU HATSAN - INDEX ÚNICO V2 / RANKING PREMIUM
   Banner > Menu > Conteúdo dinâmico no próprio Index.
   Sem modal, sem blur e sem patches antigos.
   ========================================================= */

:root {
    --mh-bg: #05020a;
    --mh-bg-2: #09030e;
    --mh-panel: #100718;
    --mh-panel-2: #09040f;
    --mh-border: rgba(182, 79, 232, .24);
    --mh-border-soft: rgba(255, 255, 255, .065);
    --mh-purple: #b84feb;
    --mh-purple-dark: #661391;
    --mh-purple-light: #dda1ff;
    --mh-gold: #e2aa28;
    --mh-gold-dark: #845500;
    --mh-text: #f5eff8;
    --mh-muted: rgba(255, 255, 255, .48);
    --mh-green: #42e881;
    --mh-red: #ef6077;
}

html { background: var(--mh-bg); scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--mh-text);
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 22, 151, .08), transparent 26%),
        var(--mh-bg);
}

a, button, input { font-family: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

/* ---------- BANNER ---------- */

.mh-banner {
    position: relative;
    width: min(1160px, calc(100% - 28px));
    min-height: 330px;
    margin: 12px auto 0;
    overflow: hidden;
    border: 1px solid rgba(163, 122, 103, .36);
    background: #09030e;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.mh-banner::before,
.mh-banner::after {
    content: "";
    position: absolute;
    z-index: 5;
    width: 72px;
    height: 72px;
    border-color: rgba(190, 151, 96, .58);
    pointer-events: none;
}

.mh-banner::before { left: 7px; top: 7px; border-left: 1px solid; border-top: 1px solid; }
.mh-banner::after { right: 7px; bottom: 7px; border-right: 1px solid; border-bottom: 1px solid; }

.mh-banner-art {
    position: absolute;
    inset: 0;
    background: url('/images/banner-home.jpg') center / cover no-repeat;
    filter: saturate(1.04) contrast(1.03);
}

.mh-banner-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 1, 8, .10), rgba(7, 1, 11, .50) 42%, rgba(5, 1, 8, .23)),
        linear-gradient(180deg, rgba(0, 0, 0, .01), rgba(3, 0, 7, .52));
}

.mh-banner-copy {
    position: relative;
    z-index: 6;
    width: 53%;
    margin-left: auto;
    padding: 48px 55px 36px 20px;
    box-sizing: border-box;
    text-align: center;
}

.mh-banner-mark { display: block; margin-bottom: 4px; color: var(--mh-purple); font-size: 18px; }
.mh-banner h1 { margin: 0; color: #f3edf7; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 5vw, 72px); font-weight: 500; line-height: .98; letter-spacing: 3px; text-shadow: 0 3px 28px rgba(162, 65, 224, .18); }

.mh-banner-season { display: flex; margin: 13px 0; align-items: center; justify-content: center; gap: 15px; color: #c957fa; font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: 4px; }
.mh-banner-season span { width: 62px; height: 1px; background: linear-gradient(90deg, transparent, #a23ed3); }
.mh-banner-season span:last-child { transform: scaleX(-1); }
.mh-banner-copy > p { margin: 0 0 20px; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.5; }

.mh-banner-actions { display: flex; justify-content: center; gap: 12px; }
.mh-banner-btn { display: flex; width: 195px; min-height: 55px; box-sizing: border-box; align-items: center; justify-content: center; gap: 10px; border-radius: 6px; color: #fff; text-decoration: none; cursor: pointer; transition: transform .14s ease, filter .14s ease, box-shadow .14s ease; }
.mh-banner-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.mh-banner-btn.purple { border: 1px solid #9c3ada; background: linear-gradient(180deg, #8e22ca, #5b1288); box-shadow: 0 9px 24px rgba(111, 22, 161, .14); }
.mh-banner-btn.gold { border: 1px solid #cb880b; background: linear-gradient(180deg, #ad7007, #724700); box-shadow: 0 9px 24px rgba(156, 97, 0, .12); }
.mh-banner-btn b { font-size: 18px; }
.mh-banner-btn strong, .mh-banner-btn small { display: block; }
.mh-banner-btn strong { font-size: 11px; }
.mh-banner-btn small { margin-top: 3px; color: rgba(255,255,255,.63); font-size: 8px; }

/* ---------- MENU ---------- */

.mh-nav-shell {
    position: relative;
    z-index: 80;
    background: transparent;
}

.mh-nav-shell.under-banner {
    width: min(1160px, calc(100% - 28px));
    margin: 0 auto;
}

.mh-nav-shell.standalone {
    width: 100%;
    border-bottom: 1px solid rgba(179, 72, 230, .16);
    background: #07030b;
}

.mh-menu-bar {
    min-height: 68px;
    padding: 0 13px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(179, 72, 230, .18);
    border-top: 0;
    background:
        linear-gradient(180deg, rgba(16, 7, 23, .99), rgba(7, 3, 11, .99));
    box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.02);
}

.standalone .mh-menu-bar { width: min(1160px, calc(100% - 28px)); margin: 0 auto; border-top: 1px solid rgba(179, 72, 230, .18); }

.mh-main-menu { display: flex; flex: 1 1 auto; align-items: stretch; justify-content: center; gap: 2px; }

.mh-main-menu a {
    position: relative;
    display: inline-flex;
    min-width: 86px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .35px;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease, background .15s ease, text-shadow .15s ease, transform .15s ease;
}

.mh-main-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 3px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, #c25af0 32%, #df9bff 50%, #c25af0 68%, transparent);
    box-shadow: 0 -4px 15px rgba(189, 75, 239, .25);
    transition: left .15s ease, right .15s ease, opacity .15s ease;
}

.mh-main-menu a:hover,
.mh-main-menu a.active {
    color: #e8bcff;
    background: linear-gradient(180deg, rgba(181, 69, 231, .08), rgba(102, 22, 139, .03));
    text-shadow: 0 0 13px rgba(194, 86, 239, .45);
}

.mh-main-menu a:hover::after,
.mh-main-menu a.active::after { left: 13%; right: 13%; opacity: 1; }
.mh-main-menu a:hover { transform: translateY(-1px); }
.mh-admin-link { color: #e7b64d !important; }

.mh-menu-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding-left: 4px; }
.mh-big-menu-btn { display: inline-flex; min-width: 112px; height: 43px; padding: 0 17px; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 6px; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .35px; text-decoration: none; cursor: pointer; transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, border-color .14s ease; }
.mh-big-menu-btn.login { border: 1px solid rgba(187, 85, 236, .44); background: rgba(255,255,255,.018); }
.mh-big-menu-btn.create { min-width: 132px; border: 1px solid #9e37d5; background: linear-gradient(180deg, #9126cc, #5d1487); box-shadow: 0 8px 19px rgba(127, 28, 179, .14); }
.mh-big-menu-btn:hover, .mh-big-menu-btn.active { transform: translateY(-1px); filter: brightness(1.12); box-shadow: 0 8px 25px rgba(145, 44, 196, .24); }
.mh-mobile-toggle { display: none; }

/* ---------- INDEX / TROCA DE SEÇÃO ---------- */

.mh-page { min-height: 58vh; }
.mh-home { width: min(1160px, calc(100% - 28px)); margin: 12px auto 34px; }
.mh-view { display: none; opacity: 0; }
.mh-view.active { display: block; animation: mhViewIn .15s ease forwards; }

@keyframes mhViewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.mh-global-message { display: flex; min-height: 45px; margin-bottom: 12px; padding: 0 14px; align-items: center; justify-content: space-between; gap: 12px; border-radius: 5px; font-size: 10px; font-weight: 800; }
.mh-global-message.success { color: #dcffe7; border: 1px solid rgba(67, 218, 122, .24); background: rgba(45, 166, 90, .11); }
.mh-global-message.error { color: #ffdce2; border: 1px solid rgba(237, 83, 108, .25); background: rgba(182, 37, 60, .11); }
.mh-global-message button { width: 28px; height: 28px; border: 0; color: inherit; background: transparent; font-size: 18px; cursor: pointer; }

/* ---------- HOME ---------- */

.mh-portal-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(280px, .95fr); gap: 12px; }
.mh-content-column, .mh-sidebar { display: grid; align-content: start; gap: 12px; }
.mh-two-columns { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; }
.mh-bottom-pair { grid-template-columns: .95fr 1.15fr; }

.mh-card,
.mh-page-card { position: relative; overflow: hidden; border: 1px solid var(--mh-border); border-radius: 5px; background: linear-gradient(180deg, rgba(18,7,27,.985), rgba(8,3,13,.99)); box-shadow: 0 13px 30px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.02); }
.mh-card::after, .mh-page-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 0%, rgba(162,57,213,.05), transparent 40%); }

.mh-card-title { position: relative; z-index: 2; display: flex; min-height: 46px; padding: 0 16px; align-items: center; gap: 9px; border-bottom: 1px solid var(--mh-border-soft); }
.mh-card-title > span { color: #b750e6; font-size: 15px; }
.mh-card-title > span.gold { color: var(--mh-gold); }
.mh-card-title h2 { margin: 0; color: #c97af3; font-size: 13px; font-weight: 900; letter-spacing: .45px; }

.mh-card-button { position: relative; z-index: 2; display: flex; min-height: 34px; margin: 7px 13px 12px; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(173,73,224,.24); border-radius: 4px; color: #c673ec; text-decoration: none; font-size: 9px; font-weight: 900; letter-spacing: .45px; background: rgba(110,26,144,.04); cursor: pointer; transition: border-color .14s ease, color .14s ease, background .14s ease; }
.mh-card-button:hover { border-color: rgba(196,94,249,.48); color: #e1a2ff; background: rgba(137,38,180,.07); }



.mh-news { position: relative; z-index: 2; padding: 9px 13px 2px; }
.mh-news-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; min-height: 42px; padding: 7px 0; align-items: start; border-bottom: 1px solid rgba(255,255,255,.045); }
.mh-news-tag { display: inline-flex; min-height: 17px; align-items: center; justify-content: center; border-radius: 3px; color: #d58df7; font-size: 7px; font-weight: 900; background: rgba(134,36,179,.22); }
.mh-news-row strong { display: block; color: rgba(255,255,255,.84); font-size: 10.5px; }
.mh-news-row p { margin: 4px 0 0; color: rgba(255,255,255,.42); font-size: 9px; line-height: 1.35; }
.mh-news-row time { color: rgba(255,255,255,.34); font-size: 8px; white-space: nowrap; }

.mh-server-data { position: relative; z-index: 2; padding: 8px 15px 12px; }
.mh-server-data > div { display: flex; min-height: 28px; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.045); }
.mh-server-data > div:last-child { border-bottom: 0; }
.mh-server-data span { color: rgba(255,255,255,.58); font-size: 10px; }
.mh-server-data strong { color: rgba(255,255,255,.86); font-size: 10px; }
.mh-online { display: inline-flex; align-items: center; gap: 6px; color: #65e992 !important; }
.mh-online i { width: 6px; height: 6px; border-radius: 50%; background: var(--mh-green); box-shadow: 0 0 10px rgba(57,230,123,.85); }

.mh-staff { position: relative; z-index: 2; display: grid; grid-template-columns: 39px 1fr auto; gap: 10px; min-height: 64px; margin: 13px; padding: 0 11px; align-items: center; border: 1px solid rgba(255,255,255,.07); border-radius: 6px; background: rgba(255,255,255,.018); }
.mh-staff-avatar { display: flex; width: 33px; height: 33px; align-items: center; justify-content: center; border: 1px solid rgba(211,60,85,.5); border-radius: 50%; color: #ff7a8e; font-size: 14px; font-weight: 900; background: radial-gradient(circle, rgba(193,34,57,.2), rgba(75,8,18,.05)); }
.mh-staff-name strong, .mh-staff-name small { display: block; }
.mh-staff-name strong { color: #fff; font-size: 10px; }
.mh-staff-name small { margin-top: 3px; color: #ff6d80; font-size: 7px; font-weight: 900; }
.mh-staff-status { display: inline-flex; align-items: center; gap: 5px; font-size: 7px; font-weight: 900; }
.mh-staff-status i { width: 6px; height: 6px; border-radius: 50%; }
.mh-staff-status.online { color: #55e98b; }
.mh-staff-status.online i { background: var(--mh-green); box-shadow: 0 0 9px rgba(57,230,123,.75); }
.mh-staff-status.offline { color: #ef6176; }
.mh-staff-status.offline i { background: var(--mh-red); }
.mh-staff-status.unknown { color: rgba(255,255,255,.31); }

.mh-steps { position: relative; z-index: 2; padding: 12px 16px 5px; }
.mh-steps > div { display: flex; min-height: 47px; align-items: center; gap: 10px; }
.mh-steps b { display: flex; width: 24px; height: 24px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid rgba(182,78,231,.44); border-radius: 50%; color: #d484f5; font-size: 9px; }
.mh-steps strong, .mh-steps small { display: block; }
.mh-steps strong { color: rgba(255,255,255,.90); font-size: 10px; }
.mh-steps small { margin-top: 3px; color: rgba(255,255,255,.42); font-size: 8.5px; }

.mh-client-body { position: relative; z-index: 2; padding: 13px 20px 15px; text-align: center; }
.mh-portal-symbol { display: flex; width: 78px; height: 78px; margin: 0 auto 4px; align-items: center; justify-content: center; border-radius: 50%; color: #c55ff0; font-size: 40px; background: radial-gradient(circle, rgba(167,52,222,.28), rgba(94,20,126,.04) 66%); filter: drop-shadow(0 0 16px rgba(159,48,215,.18)); }
.mh-client-body h3 { margin: 0; color: #f2ebf6; font-size: 14px; }
.mh-client-body p { margin: 7px 0 11px; color: rgba(255,255,255,.48); font-size: 9.5px; }
.mh-download-button { display: flex; min-height: 37px; align-items: center; justify-content: center; border: 1px solid #9735cd; border-radius: 5px; color: #fff; text-decoration: none; font-size: 10px; font-weight: 900; background: linear-gradient(180deg, #8621c1, #57117f); cursor: pointer; }
.mh-client-body small { display: block; margin-top: 9px; color: rgba(255,255,255,.34); font-size: 7.5px; }
.mh-empty { padding: 45px 12px; color: rgba(255,255,255,.35); text-align: center; font-size: 9px; }



/* =========================================================
   HOME V4 - CORRIGIDA E ISOLADA
   Classes exclusivas "mhv4-" evitam conflito com CSS antigo.
   As molduras Top 1/2/3 são BACKGROUNDS fixos: nunca expandem o layout.
   ========================================================= */

.mhv4-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 305px !important;
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 12px !important;
}

.mhv4-side {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    min-width: 0 !important;
    align-content: start !important;
}

.mhv4-info {
    min-width: 0 !important;
}

.mhv4-info .mh-card-title {
    min-height: 39px;
    padding: 0 13px;
}

.mhv4-info .mh-card-title h2 {
    font-size: 11px;
}

.mhv4-info .mh-server-data {
    padding: 5px 12px 8px;
}

.mhv4-info .mh-server-data > div {
    min-height: 23px;
}

.mhv4-info .mh-server-data span,
.mhv4-info .mh-server-data strong {
    font-size: 8.6px;
}

.mhv4-info .mh-staff {
    min-height: 57px;
    margin: 9px 10px;
}

.mhv4-info .mh-card-button {
    min-height: 29px;
    margin: 6px 10px 9px;
}

/* ---------- ranking compacto ---------- */

.mhv4-ranking {
    position: relative !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 13px 16px 14px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(190,126,75,.30) !important;
    border-radius: 7px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(132,35,180,.10), transparent 32%),
        linear-gradient(180deg, rgba(15,6,22,.99), rgba(7,3,11,.99)) !important;
    box-shadow: 0 15px 36px rgba(0,0,0,.25) !important;
}

.mhv4-rank-title {
    position: relative;
    z-index: 3;
    text-align: center;
}

.mhv4-rank-title > span {
    color: rgba(255,255,255,.50);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: 1.15px;
}

.mhv4-rank-title h2 {
    margin: 2px 0 0;
    color: #f3edf6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: .55px;
}

.mhv4-rank-title > div {
    display: flex;
    width: 220px;
    margin: 6px auto 3px;
    align-items: center;
    gap: 7px;
    color: #ba7d2d;
}

.mhv4-rank-title > div i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(205,145,56,.56));
}

.mhv4-rank-title > div i:last-child {
    transform: scaleX(-1);
}

.mhv4-rank-title > div b {
    font-size: 6px;
}

/* ---------- TOP 3 ---------- */

.mhv4-podium {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: .92fr 1.10fr .92fr !important;
    gap: 7px !important;
    align-items: end !important;
    width: min(100%, 680px) !important;
    margin: 8px auto 7px !important;
}

.mhv4-player {
    position: relative !important;
    height: 202px !important;
    min-height: 202px !important;
    max-height: 202px !important;
    overflow: hidden !important;
    padding: 42px 8px 12px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 7px !important;
    text-align: center !important;
    background-color: rgba(7,3,11,.86) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    box-shadow: none !important;
}

.mhv4-player::after {
    content: "";
    position: absolute;
    inset: 15% 11% 8%;
    z-index: 0;
    background: radial-gradient(circle at 50% 25%, rgba(146,47,195,.075), transparent 38%);
    pointer-events: none;
}

.mhv4-second {
    background-image: url('/images/rank-top2.png') !important;
}

.mhv4-first {
    height: 226px !important;
    min-height: 226px !important;
    max-height: 226px !important;
    padding-top: 49px !important;
    background-image: url('/images/rank-top1.png') !important;
}

.mhv4-third {
    background-image: url('/images/rank-top3.png') !important;
}

.mhv4-player > * {
    position: relative;
    z-index: 2;
}

.mhv4-place {
    position: absolute !important;
    left: 50%;
    top: 5px;
    display: flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    transform: translateX(-50%);
    background: rgba(10,5,15,.92);
}

.mhv4-second .mhv4-place {
    border: 2px solid #c8c4ed;
    color: #eeeaff;
}

.mhv4-first .mhv4-place {
    border: 2px solid #e5ad29;
    color: #ffe59a;
    background: rgba(84,49,1,.94);
}

.mhv4-third .mhv4-place {
    border: 2px solid #c56b49;
    color: #ffc0a8;
    background: rgba(74,27,16,.94);
}

.mhv4-crest {
    display: flex;
    width: 46px;
    height: 46px;
    margin: 9px auto 7px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.mhv4-second .mhv4-crest {
    color: #e1ddff;
    text-shadow: 0 0 11px rgba(169,143,255,.55);
}

.mhv4-first .mhv4-crest {
    width: 51px;
    height: 51px;
    color: #ffcf42;
    font-size: 24px;
    text-shadow: 0 0 12px rgba(229,170,29,.62);
}

.mhv4-third .mhv4-crest {
    color: #e88766;
    text-shadow: 0 0 11px rgba(218,101,70,.48);
}

.mhv4-player strong {
    display: block;
    overflow: hidden;
    max-width: 88%;
    margin: 0 auto;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mhv4-player small {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.37);
    font-size: 6.8px;
    font-weight: 900;
    letter-spacing: .9px;
}

.mhv4-player em {
    display: block;
    margin-top: 1px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: normal;
    line-height: 1;
}

.mhv4-second em { color: #ddd8ff; }
.mhv4-first em { color: #f2ba34; font-size: 28px; }
.mhv4-third em { color: #e48a69; }

/* ---------- posições 4-10 ---------- */

.mhv4-rank-list {
    position: relative;
    z-index: 2;
    width: min(100%, 680px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 5px;
    background: rgba(4,2,8,.28);
}

.mhv4-rank-head,
.mhv4-rank-row {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) 67px;
    min-height: 25px;
    padding: 0 9px;
    box-sizing: border-box;
    align-items: center;
    gap: 7px;
}

.mhv4-rank-head {
    color: rgba(255,255,255,.28);
    font-size: 6.5px;
    font-weight: 900;
    letter-spacing: .38px;
    background: rgba(255,255,255,.014);
}

.mhv4-rank-row {
    border-top: 1px solid rgba(255,255,255,.038);
}

.mhv4-rank-row b {
    color: rgba(255,255,255,.34);
    font-size: 8px;
}

.mhv4-rank-row strong {
    overflow: hidden;
    color: rgba(255,255,255,.73);
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mhv4-rank-row span {
    color: #d274f1;
    text-align: right;
    font-size: 9px;
    font-weight: 900;
}

/* ---------- botão ---------- */

.mhv4-rank-button {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100%, 680px);
    min-height: 35px;
    margin: 9px auto 0;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(197,84,240,.45);
    border-radius: 4px;
    color: #efd7fa;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .58px;
    text-decoration: none;
    background:
        linear-gradient(90deg, rgba(80,15,112,.20), rgba(155,41,202,.15), rgba(80,15,112,.20));
    cursor: pointer;
    transition: transform .13s ease, filter .13s ease;
}

.mhv4-rank-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

/* ---------- conteúdo abaixo ---------- */

.mhv4-lower {
    display: grid !important;
    grid-template-columns: 1.45fr .92fr .98fr !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.mhv4-news {
    min-width: 0 !important;
}

/* Evita que regras globais de IMG interfiram com o pódio V4. */
.mhv4-ranking img {
    display: none !important;
}

/* ---------- responsivo controlado ---------- */

@media (max-width: 820px) {
    .mhv4-top {
        grid-template-columns: 1fr !important;
    }

    .mhv4-side {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    }

    .mhv4-lower {
        grid-template-columns: 1fr 1fr !important;
    }

    .mhv4-news {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 650px) {
    .mhv4-side,
    .mhv4-lower {
        grid-template-columns: 1fr !important;
    }

    .mhv4-news {
        grid-column: auto !important;
    }

    .mhv4-podium {
        gap: 4px !important;
    }

    .mhv4-player,
    .mhv4-first {
        height: 175px !important;
        min-height: 175px !important;
        max-height: 175px !important;
        padding: 37px 4px 8px !important;
    }

    .mhv4-player strong {
        font-size: 10.5px;
    }

    .mhv4-player em,
    .mhv4-first em {
        font-size: 21px;
    }

    .mhv4-crest,
    .mhv4-first .mhv4-crest {
        width: 39px;
        height: 39px;
        margin-top: 8px;
        font-size: 18px;
    }
}

@media (max-width: 430px) {
    .mhv4-podium {
        grid-template-columns: 1fr !important;
        max-width: 270px !important;
        gap: 12px !important;
    }

    .mhv4-first {
        order: -1;
    }

    .mhv4-player,
    .mhv4-first {
        height: 205px !important;
        min-height: 205px !important;
        max-height: 205px !important;
    }

    .mhv4-rank-head,
    .mhv4-rank-row {
        grid-template-columns: 34px minmax(0,1fr) 56px;
        padding: 0 7px;
    }
}


/* ---------- RANKING COMPLETO PREMIUM ---------- */

.mh-ranking-page-premium {
    padding: 28px 34px 34px;
}

.mh-full-rank-title {
    position: relative;
    z-index: 2;
    text-align: center;
}

.mh-full-rank-title > span {
    color: #cc70ef;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.mh-full-rank-title h2 {
    margin: 4px 0 7px;
    color: #f5eef7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    font-weight: 500;
}

.mh-full-rank-title p {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255,255,255,.52);
    font-size: 10px;
}

.mh-full-rank-title p i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mh-green);
    box-shadow: 0 0 9px rgba(66,232,129,.6);
}

.mh-full-podium {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .95fr 1.12fr .95fr;
    max-width: 930px;
    margin: 35px auto 20px;
    gap: 14px;
    align-items: stretch;
}

.mh-full-podium-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    min-height: 120px;
    padding: 20px 18px 17px;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
}

.mh-full-podium-card.champion {
    transform: translateY(-7px);
}

.mh-full-podium-card .mh-position-medal {
    top: -17px;
}

.mh-full-podium-card .mh-rank-crest {
    width: 62px;
    height: 62px;
    margin: 0;
}

.mh-full-podium-card strong,
.mh-full-podium-card em,
.mh-full-podium-card span {
    display: block;
}

.mh-full-podium-card strong {
    overflow: hidden;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mh-full-podium-card em {
    margin-top: 4px;
    color: #d47cf3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-style: normal;
    line-height: 1;
}

.mh-full-podium-card span {
    margin-top: 3px;
    color: rgba(255,255,255,.34);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .9px;
}

.mh-full-podium-card.gold em { color: #efbb3c; }
.mh-full-podium-card.silver em { color: #d8dfea; }
.mh-full-podium-card.bronze em { color: #dc8467; }

.mh-full-ranking {
    position: relative;
    z-index: 2;
    max-width: 990px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(182,76,226,.18);
    border-radius: 6px;
    background: rgba(5,2,9,.22);
}

.mh-full-ranking-head,
.mh-full-ranking-row {
    display: grid;
    grid-template-columns: 70px 1fr 120px;
    min-height: 45px;
    padding: 0 17px;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.mh-full-ranking-head {
    color: rgba(255,255,255,.34);
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: .45px;
    background: rgba(126,31,170,.055);
}

.mh-full-ranking-row {
    border-top: 1px solid rgba(255,255,255,.045);
    color: rgba(255,255,255,.76);
    font-size: 11px;
    transition: background .12s ease;
}

.mh-full-ranking-row:hover {
    background: rgba(169,61,215,.035);
}

.mh-full-ranking-row > b {
    color: rgba(255,255,255,.42);
}

.mh-full-ranking-row > strong {
    font-size: 11.5px;
}

.mh-full-ranking-row > span {
    color: #d47cf2;
    text-align: right;
    font-size: 11.5px;
    font-weight: 900;
}


/* ---------- PÁGINAS INTERNAS DO INDEX ---------- */

.mh-page-card { position: relative; z-index: 2; min-height: 330px; padding: 28px; box-sizing: border-box; }
.mh-center-card { max-width: 760px; margin: 0 auto; padding: 42px; text-align: center; }
.mh-form-card { max-width: 520px; margin: 0 auto; }
.mh-form-card.wide { max-width: 680px; }
.mh-page-icon { position: relative; z-index: 2; display: flex; width: 62px; height: 62px; margin: 0 auto 12px; align-items: center; justify-content: center; border: 1px solid rgba(185,78,235,.28); border-radius: 50%; color: #ca67f2; font-size: 28px; background: radial-gradient(circle, rgba(157,47,211,.19), rgba(84,17,113,.03)); box-shadow: 0 0 28px rgba(149,43,203,.10); }
.mh-page-icon.gold { color: #efbd49; border-color: rgba(230,174,45,.28); background: radial-gradient(circle, rgba(178,118,0,.15), rgba(84,51,0,.03)); }
.mh-page-kicker { position: relative; z-index: 2; display: block; color: #c86def; font-size: 9px; font-weight: 900; letter-spacing: 1.7px; }
.mh-page-kicker.gold { color: #e5b34a; }
.mh-page-card h2 { position: relative; z-index: 2; margin: 5px 0 8px; color: #fff; font-size: 28px; }
.mh-page-card > p, .mh-center-card > p { position: relative; z-index: 2; max-width: 550px; margin: 0 auto 22px; color: rgba(255,255,255,.46); font-size: 10px; line-height: 1.6; }

.mh-download-box { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 16px; }
.mh-download-box > div { padding: 14px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; background: rgba(255,255,255,.016); }
.mh-download-box span, .mh-download-box strong { display: block; }
.mh-download-box span { color: rgba(255,255,255,.34); font-size: 7px; font-weight: 900; letter-spacing: .9px; }
.mh-download-box strong { margin-top: 5px; color: #fff; font-size: 11px; }

.mh-primary-button { position: relative; z-index: 2; display: flex; width: 100%; min-height: 47px; padding: 0 18px; box-sizing: border-box; align-items: center; justify-content: center; border: 1px solid #9f3bd4; border-radius: 6px; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .45px; text-decoration: none; background: linear-gradient(180deg, #9026c9, #5d1485); cursor: pointer; transition: transform .14s ease, filter .14s ease, box-shadow .14s ease; }
.mh-primary-button:hover { transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 8px 26px rgba(137,37,191,.20); }
.mh-note { position: relative; z-index: 2; display: block; margin-top: 12px; color: rgba(255,255,255,.30); font-size: 8px; }

.mh-section-heading { position: relative; z-index: 2; display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 18px; }
.mh-section-heading h2 { margin-bottom: 0; }
.mh-section-count { padding: 7px 10px; border: 1px solid rgba(187,82,236,.20); border-radius: 4px; color: #c876ee; font-size: 8px; font-weight: 900; background: rgba(134,34,180,.05); }

.mh-coming-soon { position: relative; z-index: 2; max-width: 520px; margin: 25px auto 0; padding: 22px; border: 1px solid rgba(187,78,236,.16); border-radius: 7px; background: rgba(255,255,255,.014); }
.mh-coming-soon.compact { margin-top: 18px; padding: 17px; }
.mh-coming-soon span, .mh-coming-soon strong, .mh-coming-soon small { display: block; }
.mh-coming-soon span { color: #c56bea; font-size: 7px; font-weight: 900; letter-spacing: 1.3px; }
.mh-coming-soon strong { margin: 5px 0; color: #fff; font-size: 16px; }
.mh-coming-soon small { color: rgba(255,255,255,.34); font-size: 8px; }

.mh-support-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.mh-support-grid > div { padding: 18px 12px; border: 1px solid rgba(255,255,255,.065); border-radius: 6px; background: rgba(255,255,255,.015); }
.mh-support-grid b { display: block; color: #c461ed; font-size: 17px; }
.mh-support-grid strong { display: block; margin: 5px 0; color: #fff; font-size: 9px; }
.mh-support-grid span { display: block; color: rgba(255,255,255,.34); font-size: 7.5px; line-height: 1.45; }

/* ---------- FORMS ---------- */

.mh-form-heading { position: relative; z-index: 2; display: flex; margin-bottom: 24px; align-items: center; gap: 15px; }
.mh-form-heading .mh-page-icon { flex: 0 0 auto; margin: 0; }
.mh-form-heading h2 { margin: 3px 0 4px; }
.mh-form-heading p { margin: 0; color: rgba(255,255,255,.40); font-size: 9px; }

.mh-index-form { position: relative; z-index: 2; display: grid; gap: 12px; }
.mh-index-form label { display: grid; gap: 6px; }
.mh-index-form label > span { color: rgba(255,255,255,.65); font-size: 9px; font-weight: 900; letter-spacing: .7px; }
.mh-index-form label > small { color: rgba(255,255,255,.30); font-size: 7.5px; }
.mh-index-form input { width: 100%; height: 45px; padding: 0 12px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.10); border-radius: 6px; outline: none; color: #fff; background: rgba(0,0,0,.25); font-size: 12px; }
.mh-index-form input:focus { border-color: rgba(189,82,239,.62); box-shadow: 0 0 0 3px rgba(155,47,209,.08); }
.mh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mh-form-grid .wide { grid-column: 1 / -1; }
.mh-inline-switch { position: relative; z-index: 2; margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.055); color: rgba(255,255,255,.38); text-align: center; font-size: 9px; }
.mh-inline-switch a { color: #d17af4; font-weight: 900; text-decoration: none; }

/* ---------- PAINEL NO INDEX ---------- */

.mh-account-badges { display: flex; gap: 8px; }
.mh-account-badges > span { padding: 8px 10px; border: 1px solid rgba(183,77,231,.19); border-radius: 4px; color: rgba(255,255,255,.38); font-size: 7px; font-weight: 900; background: rgba(255,255,255,.012); }
.mh-account-badges b { margin-left: 5px; color: #d481f4; }
.mh-account-line { position: relative; z-index: 2; display: flex; min-height: 45px; padding: 0 14px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.06); border-radius: 5px; background: rgba(255,255,255,.012); }
.mh-account-line span { color: rgba(255,255,255,.34); font-size: 8px; }
.mh-account-line strong { color: rgba(255,255,255,.75); font-size: 9px; }

.mh-character-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }
.mh-character-card { padding: 14px; border: 1px solid rgba(255,255,255,.065); border-radius: 5px; background: rgba(255,255,255,.014); }
.mh-character-card > strong { display: block; margin-bottom: 10px; color: #fff; font-size: 12px; }
.mh-character-card > span { display: flex; min-height: 22px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 8px; }
.mh-character-card b { color: #cf7cf2; }

.mh-panel-bottom { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 16px; align-items: end; }
.mh-password-form { padding: 14px; border: 1px solid rgba(255,255,255,.06); border-radius: 5px; background: rgba(255,255,255,.012); }
.mh-password-form h3 { margin: 0 0 10px; color: #c66bed; font-size: 9px; }
.mh-password-form > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.mh-password-form input { height: 36px; padding: 0 9px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.09); border-radius: 4px; outline: none; color: #fff; background: rgba(0,0,0,.22); font-size: 9px; }
.mh-password-form button { min-height: 34px; margin-top: 8px; padding: 0 13px; border: 1px solid rgba(177,74,229,.34); border-radius: 4px; color: #d787f5; font-size: 8px; font-weight: 900; background: rgba(118,26,156,.08); cursor: pointer; }
.mh-panel-actions { display: grid; gap: 7px; }
.mh-secondary-button { display: flex; min-width: 125px; min-height: 36px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid rgba(178,74,228,.24); border-radius: 4px; color: #d17cf1; font-size: 8px; font-weight: 900; text-decoration: none; background: rgba(123,29,159,.05); }
.mh-secondary-button.danger { color: #f07b8c; border-color: rgba(234,83,107,.20); }

/* ---------- FOOTER ---------- */

.mh-footer { border-top: 1px solid rgba(178,76,231,.15); background: #06020a; }
.mh-footer-inner { width: min(1160px, calc(100% - 28px)); margin: 0 auto; padding: 26px 0 22px; display: grid; grid-template-columns: 1.15fr .8fr .7fr .85fr; gap: 32px; }
.mh-footer h3 { margin: 0 0 10px; color: #c16bea; font-size: 9px; letter-spacing: .5px; }
.mh-footer p { margin: 0; color: rgba(255,255,255,.36); font-size: 8px; line-height: 1.6; }
.mh-footer-logo strong, .mh-footer-logo span { display: block; }
.mh-footer-logo strong { color: #eee6f4; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.mh-footer-logo span { margin-bottom: 9px; color: #c456ed; font-size: 7px; font-weight: 900; letter-spacing: 2px; }
.mh-footer-links { display: grid; gap: 6px; }
.mh-footer-links a { color: rgba(255,255,255,.44); font-size: 8px; text-decoration: none; }
.mh-footer-links a:hover { color: #d38af5; }
.mh-footer-support { display: inline-flex; min-height: 30px; margin-top: 10px; padding: 0 14px; align-items: center; justify-content: center; border: 1px solid rgba(170,70,219,.28); border-radius: 4px; color: #cf7cf2; font-size: 8px; font-weight: 900; text-decoration: none; }
.mh-footer-copy { padding: 11px 15px 15px; border-top: 1px solid rgba(255,255,255,.04); color: rgba(255,255,255,.24); text-align: center; font-size: 7.5px; }

/* ---------- RESPONSIVO ---------- */

@media (max-width: 1080px) {
    .mh-main-menu a { min-width: 74px; padding: 0 11px; font-size: 10px; }
    .mh-big-menu-btn { min-width: 96px; padding: 0 12px; }
    .mh-big-menu-btn.create { min-width: 112px; }
}

@media (max-width: 900px) {
    .mh-mobile-toggle { display: inline-flex; height: 42px; padding: 0 15px; align-items: center; border: 1px solid rgba(181,78,231,.25); border-radius: 5px; color: #fff; font-size: 9px; font-weight: 900; background: transparent; cursor: pointer; }
    .mh-menu-bar { min-height: 62px; align-items: center; justify-content: space-between; }
    .mh-main-menu { position: absolute; left: 0; right: 0; top: 62px; z-index: 100; display: none; padding: 8px; flex-direction: column; border: 1px solid var(--mh-border); background: rgba(8,3,12,.995); box-shadow: 0 16px 30px rgba(0,0,0,.35); }
    .mh-main-menu.open { display: flex; }
    .mh-main-menu a { min-height: 40px; }
    .mh-menu-actions { margin-left: auto; }
    .mh-portal-grid { grid-template-columns: 1fr; }
    .mh-sidebar { grid-template-columns: repeat(3,1fr); }
    .mh-footer-inner { grid-template-columns: 1fr 1fr; }
    .mh-banner-copy { width: 58%; padding-right: 28px; }
}

@media (max-width: 720px) {
    .mh-banner { width: calc(100% - 18px); min-height: 485px; margin-top: 9px; }
    .mh-banner-art { background-position: 28% center; }
    .mh-banner-shade { background: linear-gradient(180deg, rgba(4,1,7,.06), rgba(5,1,9,.35) 40%, rgba(5,1,9,.95) 67%, rgba(5,1,9,.99)); }
    .mh-banner-copy { width: auto; padding: 288px 18px 24px; }
    .mh-banner h1 { font-size: 42px; }
    .mh-banner-season { font-size: 20px; letter-spacing: 2px; }
    .mh-banner-season span { width: 30px; }
    .mh-nav-shell.under-banner { width: calc(100% - 18px); }
    .mh-menu-bar { padding: 0 8px; }
    .mh-menu-actions { gap: 5px; }
    .mh-big-menu-btn { min-width: 78px; height: 38px; padding: 0 9px; font-size: 8px; }
    .mh-big-menu-btn.create { min-width: 96px; }
    .mh-home { width: calc(100% - 18px); margin-top: 9px; }
    .mh-two-columns, .mh-bottom-pair { grid-template-columns: 1fr; }
    .mh-sidebar { grid-template-columns: 1fr; }
    .mh-page-card, .mh-center-card { padding: 22px 16px; }
    .mh-form-grid { grid-template-columns: 1fr; }
    .mh-form-grid .wide { grid-column: auto; }
    .mh-download-box { grid-template-columns: 1fr; }
    .mh-support-grid { grid-template-columns: 1fr; }
    .mh-character-grid { grid-template-columns: 1fr 1fr; }
    .mh-panel-bottom { grid-template-columns: 1fr; }
    .mh-password-form > div { grid-template-columns: 1fr; }
    .mh-footer-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 470px) {
    .mh-banner-actions { flex-direction: column; }
    .mh-banner-btn { width: 100%; }
    .mh-big-menu-btn.login { display: none; }
    .mh-news-row { grid-template-columns: 42px 1fr; }
    .mh-news-row time { display: none; }
    .mh-full-ranking-head, .mh-full-ranking-row { grid-template-columns: 42px 1fr 70px; padding: 0 10px; }
    .mh-character-grid { grid-template-columns: 1fr; }
    .mh-account-badges { flex-direction: column; }
}


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mh-view.active { animation: none; opacity: 1; }
    .mh-banner-btn, .mh-main-menu a, .mh-big-menu-btn, .mh-primary-button { transition: none; }
}
