/* HeroesFarm — Manual do Herói (30/09). Mesmo visual da página de entrada (lp.css): fundo noturno, dourado, pixel art. */
@font-face{font-family:"HF Sans";src:url(../fonts/signika-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"HF Sans";src:url(../fonts/signika-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"HF Sans";src:url(../fonts/signika-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"HF Title";src:url(../fonts/alegreya-sc-latin-800-normal.woff2) format("woff2");font-weight:800;font-display:swap}
:root{--bg:#070c14;--bg2:#0c1420;--panel:#111b29;--panel2:#152236;--line:#243246;--text:#e8e1d0;--muted:#9aa6b6;--gold:#f2c14e;--gold2:#ffdf8a;--blue:#6fc9ff;--top:64px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--top) + 12px)}
body.mh{margin:0;background:radial-gradient(1200px 600px at 70% -10%,#16233a 0,transparent 60%),var(--bg);color:var(--text);font:400 16px/1.55 "HF Sans",system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden}
body.mh-lock{overflow:hidden}
img{max-width:100%}
.px{image-rendering:pixelated}
a{color:var(--gold2)}
h1,h2,h3{font-family:"HF Title",Georgia,serif;font-weight:800;line-height:1.15;margin:0}
h4{margin:0 0 4px;font-size:16px;color:#f3e3bd}
p{margin:6px 0}
kbd{display:inline-block;min-width:22px;padding:0 6px;border-radius:5px;background:#243246;border:1px solid #3a4a62;color:var(--gold2);font:700 12px/20px "HF Sans",sans-serif;text-align:center;vertical-align:1px}

/* topo fixo: logo, busca, idioma, jogar */
.mh-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;height:var(--top);padding:0 16px;background:rgba(7,12,20,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.mh-logo img{display:block;height:40px;width:auto}
.mh-search{position:relative;flex:1;max-width:560px;display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border-radius:12px;background:#0d1624;border:1px solid #2c3d57;color:var(--muted)}
.mh-search:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(242,193,78,.15)}
.mh-search svg{width:18px;height:18px;flex:none}
.mh-search input{flex:1;min-width:0;height:100%;border:0;background:none;color:var(--text);font:400 15px "HF Sans",sans-serif;outline:none}
.mh-search input::-webkit-search-cancel-button{display:none}
.mh-x{border:0;background:none;color:var(--muted);font-size:22px;cursor:pointer;padding:0 2px}
.mh-res{position:absolute;left:0;right:0;top:48px;max-height:min(70vh,560px);overflow:auto;padding:6px;border-radius:12px;background:#0f1a2a;border:1px solid #2c3d57;box-shadow:0 18px 40px rgba(0,0,0,.6)}
.mh-reshead{padding:6px 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mh-hit{display:flex;align-items:center;gap:10px;width:100%;padding:7px 8px;border:0;border-radius:9px;background:none;color:var(--text);text-align:left;cursor:pointer;font:inherit}
.mh-hit:hover,.mh-hit:focus{background:#1a2940;outline:none}
.mh-hit img{width:34px;height:34px;flex:none;object-fit:contain}
.mh-hit span{display:flex;flex-direction:column;min-width:0}
.mh-hit b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-hit small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-dot{width:34px;height:34px;flex:none;border-radius:50%;background:radial-gradient(circle,var(--gold) 0 4px,transparent 5px)}
.mh-none{padding:10px;color:var(--muted)}
.mh-langbtn{margin-left:auto;display:flex;align-items:center;gap:6px;height:42px;padding:0 12px;border-radius:12px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);font:600 14px "HF Sans",sans-serif;cursor:pointer;white-space:nowrap}
.mh-langbtn svg{width:18px;height:18px;color:var(--gold)}
.mh-play{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:12px;background:linear-gradient(#ffd66b,#e9a92c);color:#2a1605;font:700 15px "HF Sans",sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 3px 0 #8a5a12}
.mh-note{position:sticky;top:var(--top);z-index:25;padding:8px 16px;background:#1d2c45;color:var(--gold2);font-size:14px;text-align:center;border-bottom:1px solid var(--line)}

/* índice + conteúdo */
.mh-wrap{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;max-width:1280px;margin:0 auto;padding:0 20px}
.mh-toc{position:sticky;top:calc(var(--top) + 16px);align-self:start;display:flex;flex-direction:column;gap:2px;padding:18px 0;max-height:calc(100vh - var(--top) - 32px);overflow:auto}
.mh-tochead{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0 10px 6px}
.mh-toc a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;color:var(--text);text-decoration:none;font-weight:600;font-size:15px}
.mh-toc a img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}
.mh-toc a:hover{background:#111b29}.mh-toc a.on{background:#18263b;color:var(--gold2);box-shadow:inset 3px 0 0 var(--gold)}
.mh-main{min-width:0;padding-bottom:60px}
.mh-loading{display:grid;place-items:center;height:60vh}.mh-loading img{width:180px;opacity:.5;animation:mhp 1.2s ease-in-out infinite alternate}
@keyframes mhp{to{opacity:1}}
.mh-hero{padding:34px 0 10px}
.mh-hero h1{font-size:clamp(34px,5vw,54px);background:linear-gradient(#fff4d0,#f2c14e 70%,#c9892a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 3px 0 #3a2208)}
.mh-hero p{font-size:18px;color:#cfd6e0;max-width:720px}
.mh-auto{display:inline-block;margin-top:6px;padding:2px 10px;border-radius:999px;background:#1d2c45;color:var(--blue);font-size:12px}
.mh-sec{padding:34px 0 8px;border-top:1px solid #16233a;scroll-margin-top:calc(var(--top) + 8px)}
.mh-sec h2{display:flex;align-items:center;gap:12px;font-size:clamp(26px,3.4vw,36px);color:var(--gold2);margin-bottom:8px}
.mh-sec h2 img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}
.mh-intro{font-size:17px;color:#d5dbe3;max-width:820px}
.mh-h3{display:flex;align-items:center;gap:10px;font-size:22px;color:#f3e3bd;margin:26px 0 6px}
.mh-h3 img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}
.mh-sub{margin:18px 0 8px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mh-small{font-size:13px;color:var(--muted)}
.mh-tip{margin:14px 0;padding:10px 14px;border-radius:12px;background:#101c2d;border-left:3px solid var(--blue);color:#d5dbe3}
.mh-tip.gold{border-left-color:var(--gold);color:#f3e3bd}
.mh-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.mh-chip{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;background:#1a2940;border:1px solid #2c3d57;font-size:12.5px;font-weight:600;color:#d8e0ea}
.mh-chip.any{border-color:#3f7a4a;color:#9fe3a4}.mh-chip.gold{border-color:#8a6a2a;color:var(--gold2)}
.mh-chip.rarchip{border-color:var(--rc);color:var(--rc)}
.role-tank{--role:#6fc9ff}.role-healer{--role:#8ff0a0}.role-assassin{--role:#c77dff}.role-dps{--role:#ff9a5a}
.mh-chip.role-tank,.mh-chip.role-healer,.mh-chip.role-assassin,.mh-chip.role-dps{border-color:var(--role);color:var(--role)}
.rar{color:var(--rc)}
.mh-btn{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:9px 16px;border-radius:11px;border:1px solid #3a4a62;background:#16233a;color:var(--text);font:600 14px "HF Sans",sans-serif;text-decoration:none;cursor:pointer}
.mh-btn:hover{border-color:var(--gold);color:var(--gold2)}
.mh-btn.gold{background:linear-gradient(#ffd66b,#e9a92c);color:#2a1605;border-color:#8a5a12}
.mh-flash{animation:mhf 1.6s ease-out}
@keyframes mhf{0%,30%{box-shadow:0 0 0 3px var(--gold),0 0 30px rgba(242,193,78,.5)}100%{box-shadow:0 0 0 0 transparent}}

/* comece por aqui */
.mh-steps{list-style:none;margin:10px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:12px}
.mh-steps li{position:relative;display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:16px;background:linear-gradient(180deg,#13203244,#0e1826);border:1px solid var(--line)}
.mh-steps img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated}
.mh-steps h3{font-size:20px;color:var(--gold2)}
.mh-n{position:absolute;top:10px;right:12px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--gold);color:#2a1605;font:800 14px "HF Sans",sans-serif}

/* heróis */
.mh-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.mh-role{padding:10px 12px;border-radius:12px;background:#0f1a29;border:1px solid var(--line);border-top:3px solid var(--role)}
.mh-role p{font-size:14px;color:#cfd6e0}
.mh-heroes{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin:18px 0 12px}
.mh-hc{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px 8px;border-radius:14px;border:1px solid var(--line);background:#0f1a29;color:var(--text);cursor:pointer;font:inherit;transition:transform .12s}
.mh-hc:hover{transform:translateY(-2px);border-color:var(--role)}
.mh-hc.on{border-color:var(--role);background:#15243a;box-shadow:0 0 0 1px var(--role),0 6px 18px rgba(0,0,0,.4)}
.mh-hc img{width:72px;height:72px;border-radius:10px;background:#0a121d}
.mh-hc b{font-size:15px}.mh-hc small{font-size:12px;color:var(--muted)}
.mh-hc .mh-chip{font-size:11px;padding:1px 7px}
.mh-hp{padding:18px;border-radius:18px;background:linear-gradient(180deg,#132033,#0e1826);border:1px solid var(--line);border-top:3px solid var(--role)}
.mh-hphead{display:flex;gap:16px;align-items:flex-start}
.mh-hphead>img{width:132px;height:132px;flex:none;border-radius:16px;background:#0a121d;border:1px solid #243246}
.mh-hphead h3{font-size:30px;color:#fff1cc}
.mh-weap{color:#f3e3bd}.mh-roletx{color:#cfd6e0;font-size:14px}
.mh-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:6px 18px;margin:14px 0}
.mh-stat{display:grid;grid-template-columns:78px 1fr 40px;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.mh-stat i{height:8px;border-radius:5px;background:#0a121d;overflow:hidden}.mh-stat i b{display:block;height:100%;background:linear-gradient(90deg,var(--role),#fff8)}
.mh-stat em{font-style:normal;color:var(--text);text-align:right;font-weight:700}
.mh-skill{display:flex;gap:12px;align-items:flex-start;padding:10px;border-radius:12px;background:#0d1624;margin-bottom:6px}
.mh-skill img{width:52px;height:52px;flex:none;border-radius:10px;image-rendering:pixelated;background:#08101a}
.mh-skill p{font-size:14.5px;color:#d5dbe3;margin:2px 0}
.mh-skill.ult{border:1px solid #6a4f1c;background:linear-gradient(90deg,#2a1f0c,#0d1624)}
.mh-skill.aura{border:1px solid #2d5a3a;background:linear-gradient(90deg,#10261a,#0d1624)}

/* equipamento */
.mh-gear{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:start}
.mh-doll{position:sticky;top:calc(var(--top) + 20px);display:grid;place-items:center;aspect-ratio:1;border-radius:22px;background:radial-gradient(circle at 50% 60%,#1d3050,#0b1320 70%);border:1px solid var(--line)}
.mh-doll img{width:88%}
.mh-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.mh-slot{display:flex;gap:12px;padding:12px;border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-slot>img{width:56px;height:56px;flex:none;object-fit:contain}
.mh-slot h3{font-size:19px;color:#f3e3bd}.mh-slot p{font-size:14px;color:#cfd6e0}

/* tabelas */
.mh-tablewrap{overflow-x:auto;margin:10px 0;border-radius:14px;border:1px solid var(--line)}
.mh-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:520px}
.mh-table th{padding:9px 10px;background:#122036;color:var(--muted);font-size:12px;letter-spacing:.05em;text-transform:uppercase;text-align:left}
.mh-table td{padding:8px 10px;border-top:1px solid #1a2940;vertical-align:middle}
.mh-table td img{width:34px;height:34px;vertical-align:middle;margin-right:8px;object-fit:contain}
.mh-table b.rar{font-weight:700}
.mh-mult{display:inline-block;width:110px;height:8px;border-radius:5px;background:#0a121d;overflow:hidden;vertical-align:middle;margin-right:6px}.mh-mult b{display:block;height:100%}
.mh-ic{width:28px!important;height:28px!important}
.mh-many{display:inline-flex;align-items:center;gap:2px;color:var(--muted);font-weight:700}
.mh-excs{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}
.mh-exc{padding:12px 14px;border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-exc ul{margin:0;padding-left:18px;font-size:14px;color:#d5dbe3}
.mh-cards2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin:12px 0}
.mh-box{padding:14px;border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-box h4{display:flex;align-items:center;gap:10px;font-size:18px}
.mh-box h4 img{width:40px;height:40px;object-fit:contain}
.mh-box p{font-size:14.5px;color:#d5dbe3}
.mh-box.warn{border-color:#2a6b73;background:linear-gradient(180deg,#0f2428,#0f1a29)}

/* poder */
.mh-chart{padding:16px;border-radius:16px;background:#0f1a29;border:1px solid var(--line)}
.mh-chart h4{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:10px}.mh-chart h4 img{width:44px;height:44px}
.mh-bar{display:grid;grid-template-columns:minmax(150px,240px) 1fr 56px;align-items:center;gap:10px;margin:6px 0;font-size:14px}
.mh-bar i{height:16px;border-radius:8px;background:#0a121d;overflow:hidden}.mh-bar i b{display:block;height:100%;border-radius:8px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.mh-bar em{font-style:normal;font-weight:700;text-align:right;color:#fff1cc}

/* como conseguir */
.mh-odds{margin-top:8px}.mh-oddsbar{display:flex;height:14px;border-radius:8px;overflow:hidden;background:#0a121d}
.mh-oddsbar b{display:block;min-width:3px}
.mh-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:12.5px;color:#cfd6e0}
.mh-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.mh-portals{list-style:none;margin:8px 0 0;padding:0;font-size:13.5px}
.mh-portals li{display:flex;align-items:center;gap:8px;margin:4px 0}.mh-portals li span{flex:1;min-width:0}.mh-portals img{width:26px;height:26px;object-fit:contain}
.mh-mats{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.mh-mat{display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 3px;border-radius:999px;background:#0a121d;font-size:12px;color:#cfd6e0}
.mh-mat img{width:22px;height:22px}.mh-mat.raro{color:#8ec5ff}.mh-mat.trofeu{color:var(--gold2)}

/* ferreiro */
.mh-ladder{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:6px 14px;margin:10px 0}
.mh-step{display:grid;grid-template-columns:96px 1fr 50px 26px 96px;align-items:center;gap:8px;padding:6px 10px;border-radius:10px;background:#0f1a29;font-size:13.5px}
.mh-step.risk{background:#1a1420}
.mh-lv{font-weight:700;color:#f3e3bd;white-space:nowrap}
.mh-step i{height:10px;border-radius:6px;background:#0a121d;overflow:hidden}.mh-step i b{display:block;height:100%}
.mh-step em{font-style:normal;font-weight:700;text-align:right}
.mh-step img{width:24px;height:24px}
.mh-step small{font-size:11.5px;color:#9fe3a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-stones{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}
.mh-stone{display:flex;gap:12px;padding:12px;border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-stone>img{width:48px;height:48px;flex:none}.mh-stone p{font-size:14px;color:#cfd6e0}
.mh-fuses{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
.mh-fuse{display:flex;align-items:center;gap:4px;padding:8px 14px;border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-fuse img{width:30px;height:30px}.mh-fuse b{color:var(--gold);font-size:22px;margin:0 6px}
.mh-fuse em{font-style:normal;font-weight:700;margin-left:10px;color:#fff1cc}
.mh-fuse span{display:inline-flex;align-items:center;gap:3px;margin-left:10px;color:var(--gold2);font-weight:700}.mh-fuse span img{width:20px;height:20px}
.mh-crafts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin-top:12px}
.mh-craft{display:flex;gap:12px;padding:12px;border-radius:14px;background:#0f1a29;border:1px solid var(--line);cursor:pointer}
.mh-craft:hover{border-color:var(--gold)}
.mh-craft>img{width:56px;height:56px;flex:none}
.mh-needs{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.mh-need{display:inline-flex;align-items:center;gap:2px;font-size:12.5px;font-weight:700;color:#e8e1d0}.mh-need img{width:24px;height:24px}

/* mapas */
.mh-maps{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.mh-map{overflow:hidden;border-radius:16px;background:#0f1a29;border:1px solid var(--line)}
.mh-mapimg{height:150px;background-size:cover;background-position:center;image-rendering:pixelated;border-bottom:1px solid var(--line)}
.mh-mapb{padding:12px 14px}
.mh-map h3{display:flex;align-items:center;gap:8px;font-size:21px;color:#fff1cc}
.mh-map h3 .mh-n{position:static;flex:none}
.mh-map p{font-size:14px;color:#cfd6e0}

/* catálogo */
.mh-filters{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:16px;background:#0f1a29;border:1px solid var(--line)}
.mh-filters label{display:block;margin-bottom:6px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mh-picks{display:flex;flex-wrap:wrap;gap:6px}
.mh-pick{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px 0 5px;border-radius:10px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);font:600 13.5px "HF Sans",sans-serif;cursor:pointer}
.mh-pick img{width:28px;height:28px;object-fit:contain;border-radius:6px}
.mh-pick.on{border-color:var(--gold);background:#2a220f;color:var(--gold2)}
.mh-pick[disabled]{opacity:.35;cursor:default}
span.mh-pick{padding:0 12px}
.mh-frow{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:14px}
.mh-frow select{width:100%;height:40px;padding:0 10px;border-radius:10px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);font:600 14px "HF Sans",sans-serif}
.mh-sws{display:flex;flex-wrap:wrap;gap:6px}
.mh-sw{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 10px;border-radius:10px;border:1px solid #2c3d57;background:#0d1624;color:var(--rc);font:700 13px "HF Sans",sans-serif;cursor:pointer}
.mh-sw i{width:12px;height:12px;border-radius:4px;background:var(--rc)}
.mh-sw.on{border-color:var(--rc);box-shadow:0 0 0 1px var(--rc),0 0 14px color-mix(in srgb,var(--rc) 35%,transparent)}
.mh-count{margin:14px 2px 6px}
.mh-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.mh-it{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px 10px;border-radius:14px;border:1px solid var(--line);background:linear-gradient(180deg,#132033,#0d1624);color:var(--text);cursor:pointer;font:inherit;text-align:center}
.mh-it:hover{border-color:var(--rc);transform:translateY(-2px)}
.mh-it img{width:72px;height:72px;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--rc) 45%,transparent))}
.mh-it b{font-size:13.5px;line-height:1.25}
.mh-it small{font-size:11.5px;color:var(--muted)}
.mh-it.boss{border-color:#6a4f1c}
.mh-badge{position:absolute;top:6px;left:6px;padding:1px 7px;border-radius:999px;background:#3a2a0c;color:var(--gold2);font-size:10.5px;font-weight:700}

/* dúvidas */
.mh-faq{display:flex;flex-direction:column;gap:8px}
.mh-q{border-radius:14px;background:#0f1a29;border:1px solid var(--line)}
.mh-q summary{padding:13px 16px;font-weight:700;font-size:16px;cursor:pointer;color:#f3e3bd;list-style:none}
.mh-q summary::before{content:"+";display:inline-block;width:20px;color:var(--gold)}
.mh-q[open] summary::before{content:"−"}
.mh-q p{padding:0 16px 14px 36px;color:#d5dbe3}
.mh-foot{display:flex;gap:10px;justify-content:center;padding:40px 0 10px}

/* janelas */
.mh-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;background:rgba(3,6,10,.72);backdrop-filter:blur(3px)}
.mh-modal[hidden]{display:none}
.mh-card{position:relative;width:min(640px,100%);max-height:88vh;overflow:auto;padding:20px;border-radius:18px;background:#101b2c;border:1px solid #2c3d57;box-shadow:0 30px 70px rgba(0,0,0,.7)}
.mh-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border-radius:10px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);font-size:22px;cursor:pointer}
.mh-ihead{display:flex;gap:14px;align-items:center;padding-right:30px}
.mh-ihead>img{width:96px;height:96px;flex:none;border-radius:16px;background:#0a121d}
.mh-ihead h3{font-size:24px}
.mh-kv{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:14px 0;font-size:14.5px}
.mh-kv b{color:var(--muted);font-weight:600}.mh-kv span{display:flex;align-items:center;gap:6px}
.mh-pw{min-width:0}
.mh-langcard{width:min(460px,100%)}
.mh-langhead input{width:100%;height:42px;padding:0 12px;margin-top:30px;border-radius:12px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);font:400 15px "HF Sans",sans-serif}
.mh-langlist{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.mh-lg{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:11px;border:1px solid #2c3d57;background:#0d1624;color:var(--text);cursor:pointer;font:inherit}
.mh-lg small{color:var(--muted)}.mh-lg.on{border-color:var(--gold);color:var(--gold2)}

/* celular e tablet */
@media (max-width:1100px){.mh-heroes{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media (max-width:900px){
 :root{--top:108px}
 .mh-top{flex-wrap:wrap;height:auto;padding:8px 12px;gap:8px}
 .mh-logo img{height:34px}
 .mh-search{order:3;flex:1 1 100%;max-width:none}
 .mh-langbtn{margin-left:auto;height:38px}.mh-play{height:38px;padding:0 14px}
 .mh-wrap{grid-template-columns:1fr;padding:0 14px}
 .mh-toc{position:sticky;top:var(--top);z-index:20;flex-direction:row;overflow-x:auto;max-height:none;padding:8px 0;margin:0 -14px;padding-left:14px;background:rgba(7,12,20,.94);border-bottom:1px solid #16233a;scrollbar-width:none}
 .mh-toc::-webkit-scrollbar{display:none}
 .mh-tochead{display:none}
 .mh-toc a{flex:none;font-size:13.5px;padding:6px 10px;background:#0f1a29}
 .mh-toc a img{width:20px;height:20px}
 html{scroll-padding-top:calc(var(--top) + 60px)}
 .mh-sec{scroll-margin-top:calc(var(--top) + 56px)}
 .mh-heroes{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mh-hphead>img{width:92px;height:92px}.mh-hphead h3{font-size:24px}
 .mh-gear{grid-template-columns:1fr}.mh-doll{position:static;width:180px;margin:0 auto}
 .mh-frow{grid-template-columns:1fr}
 .mh-items{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
 .mh-bar{grid-template-columns:1fr 50px}.mh-bar span{grid-column:1 / -1;font-size:13px}
 .mh-step{grid-template-columns:86px 1fr 46px 22px;font-size:13px}.mh-step small{grid-column:1 / -1;padding-left:2px}
 .mh-ladder{grid-template-columns:1fr}
 .mh-langlist{grid-template-columns:1fr}
 .mh-res{position:fixed;left:8px;right:8px;top:calc(var(--top) + 4px);max-height:70vh}
}
@media (max-width:420px){.mh-heroes{grid-template-columns:repeat(3,minmax(0,1fr))}.mh-hc img{width:58px;height:58px}.mh-play{display:none}}
@media (max-width:900px){.mh-table{min-width:0;font-size:13px}.mh-table th,.mh-table td{padding:7px 6px}.mh-mult{width:44px}.mh-table td img{width:26px;height:26px;margin-right:4px}}

/* Wiki (10/10): pares nome e valor (combate, XP e eventos). */
.mh-kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px;margin:8px 0 12px}
.mh-kv>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);min-width:0}
.mh-kv span{color:var(--mh-dim,#b9c6d8);font-size:.92em;min-width:0}
.mh-kv b{text-align:right;min-width:0}
.mh-embed .mh-play,.mh-embed .mh-foot{display:none}.mh-embed .mh-logo{pointer-events:none}

/* Insígnias e Códex (20/10): cartões com a arte da insígnia, o nível e como se ganha. */
.mh-h3 .mh-chip{margin-left:4px;font:600 12px/1.4 "HF Sans",system-ui,sans-serif;letter-spacing:0}
.mh-chip.gold{background:#2a2312;border-color:#6b5320;color:#f3d38a}
.mh-insg{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:10px 0 18px}
.mh-ins{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#0f1a29;border:1px solid var(--line);min-width:0}
.mh-ins img{width:48px;height:48px;flex:none;object-fit:contain}
.mh-ins div{min-width:0}
.mh-ins b{display:block;font-size:14.5px;line-height:1.25}
.mh-ins small{display:block;margin:2px 0 4px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.mh-ins p{margin:0;font-size:13px;color:#c3ccd8}
.mh-ins.t0 small{color:#d9955c}.mh-ins.t1 small{color:#c9d2dc}.mh-ins.t2 small{color:#f1c24a}.mh-ins.t3 small{color:#ff8a4c}
.mh-ins.t3{border-color:#5a3a22}
