/* Desenvolvido por FGDeveloper's. */
/* ================= RETRATO (celular em pé) ================= */
.m-portrait #topbar{height:104px;flex-wrap:wrap;align-content:center;gap:6px;padding:6px 8px}
.m-portrait .tb-logo,.m-portrait #topbar>.grow,.m-portrait .tb-cur small,.m-portrait .tb-cur.tb-exp{display:none}
.m-portrait .tb-player{order:1;flex:1 1 38%;min-width:0;width:auto;height:48px;padding:0 10px 0 4px}
.m-portrait .tb-player .avatar{width:40px;height:40px}.m-portrait .tb-player .t-xs{display:none}
.m-portrait .tb-power{order:2;height:48px;padding:0 10px}.m-portrait .tb-power .ic{width:26px;height:26px}.m-portrait .tb-power b{font-size:18px}
.m-portrait .tb-ic{order:3;width:44px;height:44px}
.m-portrait .tb-cur{order:10;flex:1 1 28%;min-width:0;height:36px;font-size:15.5px}
.m-portrait #nav{top:auto;left:0;right:0;bottom:0;width:auto;height:76px;flex-direction:row;gap:2px;padding:5px 6px calc(5px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid #57461f;box-shadow:0 -4px 14px rgba(0,0,0,.6)}
.m-portrait .nv{flex:1;flex-direction:column;justify-content:center;gap:1px;height:auto;padding:0;font-size:13px}
.m-portrait .nv .ic{width:32px;height:32px}.m-portrait .nv .dot{top:5px;right:22%}
.m-portrait #screen{left:0;top:105px;bottom:77px;padding:8px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.m-portrait #screen::-webkit-scrollbar{display:none}
/* coluna única */
.m-portrait #screen>*{display:flex;flex-direction:column;gap:8px;height:auto!important;min-height:100%}
.m-portrait #screen>*>*{flex:none;min-width:0}
.m-portrait #screen .panel.grow,.m-portrait #screen .col.grow,.m-portrait #screen .side{flex:none;width:auto}
.m-portrait #screen .scroll{overflow:visible;max-height:none}
.m-portrait .tabs{overflow-x:auto;flex:none;max-width:100%;scrollbar-width:none}.m-portrait .tabs::-webkit-scrollbar{display:none}
.m-portrait .tab{flex:none;padding:0 12px}
.m-portrait .scr-head{height:auto;min-height:48px;flex-wrap:wrap;row-gap:6px}.m-portrait .scr-head>.ic{width:34px;height:34px}
.m-portrait .t-title{font-size:23px}
.m-portrait .qhead{height:72px;padding:0 12px;gap:10px}.m-portrait .qhead .ic.s64{width:44px;height:44px}.m-portrait .qhead .t-muted{font-size:13.5px}
.m-portrait .hgrid{grid-template-columns:repeat(3,1fr);justify-content:stretch;padding:8px;gap:8px}
.m-portrait .hgrid .hcard{width:100%}
.m-portrait .hgrid.sm{grid-template-columns:repeat(5,1fr)}
.m-portrait .igrid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));justify-items:center;padding:8px}
/* início */
.m-portrait .city{height:390px}.m-portrait .home .shorts{order:2;height:158px;padding:8px}
.m-portrait .home .side{order:3}.m-portrait .home .chat{order:4;height:250px}
.m-portrait #screen .chat-lines{overflow-y:auto;flex:1 1 0;min-height:0}
.m-portrait .hot{height:34px;font-size:14px;padding:0 12px 0 5px}.m-portrait .hot .ic{width:24px;height:24px}
.m-portrait .short .ic{width:32px;height:32px}.m-portrait .short{font-size:12.5px}
.m-portrait .idlebox{right:8px;bottom:8px;padding:4px 10px 4px 6px}.m-portrait .idlebox .ic.s64{width:44px;height:44px}
/* aventura */
.m-portrait .map{height:440px}.m-portrait .node{transform:translate(-50%,-50%) scale(.66)}.m-portrait .node:hover{transform:translate(-50%,-50%) scale(.7)}
.m-portrait .diffs{top:8px;padding:4px;gap:4px}.m-portrait .diffs .tab{height:30px;font-size:14px;padding:0 9px}
/* heróis */
.m-portrait .heroes .hside{display:none}
.m-portrait #screen .grow.bgart,.m-portrait .thead{flex:none}
.m-portrait .herod .stagebox{height:400px;flex:0 0 400px}.m-portrait .herod .show>.row:first-child{flex-wrap:wrap}
.m-portrait .bigspr{zoom:.82}
.m-portrait .board{height:320px}.m-portrait .fslot{transform:translate(-50%,-100%) scale(.62);transform-origin:50% 100%}
.m-portrait .rowlabel{font-size:13px;padding:3px 10px}.m-portrait .rowlabel small{display:none}.m-portrait .rowlabel.back{left:10%}.m-portrait .rowlabel.front{left:56%}
/* inventário / forja */
.m-portrait #screen .inv .igrid{max-height:360px;overflow-y:auto}.m-portrait #screen .forge .igrid{max-height:170px;overflow-y:auto}
.m-portrait .inv .side{min-height:150px}
.m-portrait .anvil{height:200px;gap:50px}.m-portrait .fitem{transform:scale(1.2)}
.m-portrait .inv .row.between,.m-portrait .arena .row{flex-wrap:wrap;row-gap:6px}
/* invocação */
.m-portrait .btabs{overflow-x:auto;scrollbar-width:none}.m-portrait .btab{flex:0 0 214px;height:64px;padding:0 12px}.m-portrait .btab b{font-size:16px}
.m-portrait .altar{height:470px}.m-portrait .feat{left:14px;top:12px}.m-portrait .feat .rr{font-size:40px}.m-portrait .feat p{max-width:200px!important}
.m-portrait .fspr{transform:translate(-50%,-100%) scale(.78);transform-origin:50% 100%}
.m-portrait .pity{left:10px;right:10px;bottom:10px;gap:8px;padding:6px 10px;font-size:14px}.m-portrait .pity>span:last-child{display:none}
.m-portrait .pool{height:88px}
/* guilda */
.m-portrait .ghall{height:168px}.m-portrait .ginfo{padding:0 12px;gap:12px}.m-portrait .gban{height:110px}
.m-portrait .ginfo [style*="width:360px"]{width:auto!important;max-width:300px}.m-portrait .ginfo .row.gap16{gap:10px;flex-wrap:wrap}
.m-portrait .gside{order:2}.m-portrait .gmain{order:3}
.m-portrait .gr{grid-template-columns:30px 1.7fr 44px 1fr;padding:0 8px}.m-portrait .gr>:nth-child(3),.m-portrait .gr>:nth-child(6),.m-portrait .gr>:nth-child(7){display:none}
.m-portrait #screen .gtable{max-height:440px;overflow-y:auto}
/* arena */
.m-portrait .atop{flex-direction:column;height:auto}.m-portrait .rank{width:auto}.m-portrait .rank .ic.s96{width:60px;height:60px}
.m-portrait .vs{height:210px;flex:none;padding:0 10px 40px}.m-portrait .vteam{zoom:.5}.m-portrait .vmark{font-size:44px}
.m-portrait .vlab{font-size:13px}.m-portrait .vlab.l{left:10px}.m-portrait .vlab.r{right:10px}
.m-portrait .opps{grid-template-columns:1fr 1fr}
/* missões / eventos / treino */
.m-portrait .qmain{flex-direction:column}.m-portrait .qmain>.panel{width:auto!important;max-height:210px}
.m-portrait #screen .qmain>.panel .scroll{overflow-y:auto}
.m-portrait .qmain .parchment>.row.between{flex-wrap:wrap;row-gap:10px}
.m-portrait .qrow{flex-wrap:wrap;row-gap:8px;padding:10px}.m-portrait .qrow>.grow{flex:1 1 100%}
.m-portrait .phdr{flex-wrap:wrap;row-gap:8px}.m-portrait .plv{width:60px;height:60px}.m-portrait .plv b{font-size:24px}
.m-portrait .ptrack{overflow-x:auto}.m-portrait .pcol,.m-portrait .plab{grid-template-rows:104px 30px 104px}
.m-portrait .login7{grid-template-columns:1fr 1fr}.m-portrait .lday{min-height:150px}
.m-portrait .thead{min-height:0}.m-portrait .tslots{grid-template-columns:1fr;gap:8px;padding:8px}
.m-portrait .tslot{display:grid;grid-template-columns:110px 1fr;column-gap:12px;align-items:center;text-align:left;padding:10px}
.m-portrait .tslot .dummy{grid-row:1/6;height:110px}.m-portrait .tslot .dummy .spr{zoom:.8}
.m-portrait .train>.col>.panel.row{flex-wrap:wrap}
/* loja / correio / ajustes / perfil */
.m-portrait .shopgrid{grid-template-columns:1fr 1fr}.m-portrait .shopgrid.six{grid-template-columns:repeat(3,1fr)}
.m-portrait .sfeat{height:auto;padding:14px;flex-direction:column;align-items:flex-start}.m-portrait .bigchest{position:absolute;right:6px;top:6px;width:120px;height:120px;opacity:.9}
.m-portrait .sf-in .t-title{font-size:26px!important;max-width:70%}.m-portrait .sf-in p{font-size:15px;max-width:72%!important}
.m-portrait .freebie{height:auto;padding:6px 10px;flex:1 1 100%;flex-wrap:wrap}
.m-portrait .mailbox{grid-template-columns:1fr}.m-portrait #screen .mailbox>.panel:first-child .scroll{max-height:250px;overflow-y:auto}
.m-portrait .mhead{height:92px}.m-portrait .mailbox .parchment{min-height:160px}
.m-portrait .setgrid{grid-template-columns:1fr}.m-portrait .setrow{flex-wrap:wrap;row-gap:6px}
.m-portrait .pstats,.m-portrait .achgrid{grid-template-columns:1fr}
/* batalha */
.m-portrait .battle .bwrap{height:400px}.m-portrait .battle.duel .bwrap{height:auto;flex:1 1 0;min-height:420px}
.m-portrait .bbottom{order:2;flex-direction:column;align-items:stretch}.m-portrait .bside{order:3}
.m-portrait .bbottom>.panel:first-child{height:130px}.m-portrait .bctrl{width:auto}
.m-portrait #screen #blog{overflow-y:auto;flex:1 1 0;min-height:0}
.m-portrait .b-top{top:6px}.m-portrait .b-plate{height:30px;font-size:14px;padding:0 16px}.m-portrait .b-timebar{width:180px}
.m-portrait .b-allies{top:46px;left:6px;gap:4px}.m-portrait .ally{width:38px}.m-portrait .ally .avatar{width:34px;height:34px}.m-portrait .ally .enb{width:34px}
.m-portrait .b-ehp{top:46px;right:6px;width:150px;font-size:13px}
.m-portrait .b-banner{padding:14px 30px 16px;width:100%}.m-portrait .b-banner .ttl{font-size:44px}
.m-portrait .d-vs{gap:8px;padding:6px 10px;width:calc(100% - 16px)}.m-portrait .d-side{width:0;flex:1;min-width:0}.m-portrait .d-side b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-portrait .d-side .avatar,.m-portrait .d-side .ic.s48{width:36px;height:36px}.m-portrait .d-mid .b-timebar{width:70px}
.m-portrait #screen .strow{flex:none}
/* modais */
.m-portrait #modal>.panel{width:calc(var(--W) - 20px);min-width:0}
.m-portrait #modal .mbody{width:auto!important;padding:14px}
.m-portrait #modal .mbody.row{flex-wrap:wrap}
.m-portrait #modal .hgrid.sm{grid-template-columns:repeat(4,1fr)}
.m-portrait .rv-grid{gap:8px}.m-portrait .rv .hcard{width:92px;height:122px}.m-portrait .rv .hcard .art{bottom:30px}.m-portrait .rv .hcard .nm{font-size:13px}
.m-portrait #toasts{top:112px;width:92%}.m-portrait .toast{font-size:15px;padding:8px 14px;text-align:center}
.moregrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.moregrid .short{height:86px}
/* tela inicial */
.m-portrait .start{background-position:50% 50%}
.m-portrait .start::before{background:linear-gradient(180deg,rgba(4,6,12,.72),rgba(4,6,12,.35) 40%,rgba(4,6,12,.88))}
.m-portrait .start .logo{left:50%;top:5%;width:88%;transform:translateX(-50%)}
.m-portrait .start .menu{left:50%;top:auto;bottom:112px;width:80%;transform:translateX(-50%)}
.m-portrait .start .news{display:none}


.m-portrait .sbtn:hover{transform:none}
.m-portrait #boot img{width:84%;height:auto}.m-portrait .boot-bar{width:70%}
