/* Desenvolvido por FGDeveloper's. */
/* Layout adaptativo. O palco (#stage) recebe m-wide | m-compact | m-portrait em main.js (fit()).
   wide     = desenho-base; as grades já esticam em telas mais largas/altas.
   compact  = celular deitado / janela baixa: casca enxuta, alturas fixas reduzidas.
   portrait = celular em pé: coluna única com rolagem + navegação inferior. */

/* ================= COMPACTO (paisagem pequena) ================= */
.m-compact #topbar{height:58px;gap:7px;padding:0 8px}
.m-compact .tb-logo{display:none}
.m-compact .tb-player{height:46px;width:220px;padding:0 10px 0 4px}
.m-compact .tb-player .avatar{width:38px;height:38px}
.m-compact .tb-player .nm{font-size:16px}.m-compact .tb-player .t-xs{display:none}
.m-compact .tb-power{height:46px;padding:0 10px}.m-compact .tb-power .ic{width:26px;height:26px}.m-compact .tb-power b{font-size:18px}
.m-compact .tb-cur{height:36px;min-width:112px;font-size:15.5px}.m-compact .tb-cur small{display:none}
.m-compact .tb-cur.tb-exp{min-width:104px}
.m-compact .tb-ic{width:40px;height:40px}.m-compact .tb-ic .ic{width:24px;height:24px}
.m-compact #nav{top:59px;width:78px;padding:3px 4px;gap:1px;overflow-y:auto;scrollbar-width:none}
.m-compact #nav::-webkit-scrollbar{display:none}
.m-compact .nv{flex:none;flex-direction:column;justify-content:center;gap:0;height:46px;padding:0;font-size:11.5px;line-height:1.1}
.m-compact .nv .ic{width:25px;height:25px}.m-compact .nv .dot{top:3px;right:16px}
.m-compact .season{display:none}
.m-compact #screen{left:78px;top:59px;padding:6px}
.m-compact .scr-head{height:42px}.m-compact .scr-head>.ic{width:32px;height:32px}.m-compact .t-title{font-size:23px}
.m-compact .qhead{height:60px}.m-compact .qhead .ic.s64{width:42px;height:42px}
.m-compact .banner{height:74px}.m-compact .banner.sm{height:50px}
/* telas */
.m-compact .home{grid-template-columns:1fr 310px 330px;grid-template-rows:1fr 150px}
.m-compact .home .side p,.m-compact .adv .side p{display:none}
.m-compact .short .ic{width:30px;height:30px}.m-compact .short{font-size:12.5px}
.m-compact .event{height:64px}
.m-compact .battle{grid-template-columns:1fr 330px;grid-template-rows:1fr 140px}
.m-compact .bctrl{width:270px;font-size:14.5px;padding:8px 10px}
.m-compact .claim .ic.s64{width:44px;height:44px}
.m-compact .adv{grid-template-columns:1fr 350px}
.m-compact .node .lm{width:92px;height:76px}.m-compact .node .plate b{font-size:14px}
.m-compact .heroes,.m-compact .inv,.m-compact .forge,.m-compact .form{grid-template-columns:1fr 350px}
.m-compact .hero-top{height:150px}.m-compact .hero-top>div{padding:10px 14px}
.m-compact .herod{grid-template-columns:500px 1fr}
.m-compact .pedestal{padding-bottom:52px}.m-compact .pedestal::before{bottom:36px}
.m-compact .bigspr{zoom:.82}.m-compact .eqcol{gap:10px}
.m-compact .board{height:250px}.m-compact .fslot{transform:translate(-50%,-100%) scale(.74);transform-origin:50% 100%}
.m-compact .anvil{height:190px}.m-compact .fitem{transform:scale(1.15)}
.m-compact .summon{grid-template-columns:1fr 320px;grid-template-rows:62px 1fr 78px}
.m-compact .btab{height:62px}.m-compact .fspr{transform:translate(-50%,-100%) scale(.8);transform-origin:50% 100%}
.m-compact .feat{left:18px;top:14px}.m-compact .feat .rr{font-size:40px}.m-compact .feat p{display:none}
.m-compact .pcell{width:56px;height:62px}
.m-compact .guild{grid-template-columns:1fr 340px;grid-template-rows:128px 1fr}
.m-compact .gban{height:104px}.m-compact .bossart{height:112px}.m-compact .bossart .spr{zoom:.7}
.m-compact .arena{grid-template-columns:1fr 300px}.m-compact .atop{height:216px}
.m-compact .rank{width:230px}.m-compact .rank .ic.s96{width:58px;height:58px}.m-compact .vteam{zoom:.82}.m-compact .vmark{font-size:56px}
.m-compact .quests,.m-compact .train{grid-template-columns:1fr 320px}
.m-compact .parchment .banner{height:74px!important}
.m-compact .tslot .dummy{height:96px}.m-compact .tslot .dummy .spr{zoom:.78}
.m-compact .sfeat{height:210px}.m-compact .bigchest{width:170px;height:170px}
.m-compact .mailbox{grid-template-columns:420px 1fr}.m-compact .mhead{height:84px}
.m-compact .profile{grid-template-columns:360px 1fr}.m-compact .pbg{height:110px}
.m-compact .pcard,.m-compact .setgrid>.panel{overflow-y:auto}
.m-compact .lday{min-height:150px}
.m-compact .start .logo{width:400px;top:18px;left:28px}
.m-compact .start .menu{top:150px;left:32px;width:290px;gap:7px}
.m-compact .sbtn{height:44px;font-size:18px}.m-compact .sbtn.primary{height:52px;font-size:21px}

.m-compact .start .news{top:14px;bottom:64px;right:14px;width:340px}
.m-compact .news-item .thumb{height:84px}
.m-compact #boot img{width:460px}
