/* Celular como central única (3.38): sem ☰ no HUD, pastas na tela inicial, apps em grade, painéis dentro da moldura e listas de frota e equipe. */
/* HUD: o CELULAR é a única entrada; o ☰ e os atalhos de pausa, missões e administrar saem, e o mapa ocupa o canto livre. */
body.cel-central #mobileMore,body.cel-central #btnsTop>[data-btn=pause],body.cel-central #btnsTop>[data-btn=missions],body.cel-central #btnsTop>[data-btn=manage]{display:none!important}
.mobile-play.cel-central #mobileMap{right:var(--edge-right,12px)!important}
.mobile-play.cel-central #mobileQuick{right:calc(var(--edge-right,12px) + 56px)!important}
/* Moldura: VOLTAR em cima à esquerda, INÍCIO e FECHAR embaixo, alvos de 44 px. */
.cel-central .phone-shell .btn.phone-back{min-height:44px}
.cel-central .phone-home{gap:8px}
.cel-central .phone-shell .btn.phone-close,.cel-central .phone-shell .btn.cel-start{flex:1 1 0;width:auto;max-width:46%;min-height:44px;margin:0;border-radius:20px;font-size:12px}
.cel-central .phone-shell .btn.cel-start{background:#2f5562;border-color:#6d9a98}
.cel-central .phone-head h2{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cel-central .phone-shell{min-width:0;max-width:calc(100vw - 12px);box-sizing:border-box}
.cel-frame .phone-screen{overflow-x:hidden;min-width:0}
.cel-content{max-width:100%;min-width:0;overflow-wrap:break-word}
.phone-screen .cel-content .btn{width:auto;max-width:100%;margin:4px 4px 4px 0}
.cel-central #menuBox .phone-screen button.btn{min-height:44px;min-width:44px}
.cel-central .phone-row .btn.small{min-height:44px}
.cel-content>*{max-width:100%;box-sizing:border-box}
.cel-content h2{font-size:18px!important;margin:2px 2px 8px!important}
.cel-content .hub-cards,.cel-content .gsm-cards,.cel-content .gsu-cards{grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr))!important}
.cel-content img,.cel-content canvas{max-width:100%}
.cel-content .mcl-bar,.cel-content .mcl-tabs,.cel-content .gsu-pick,.cel-content .gsu-tabs,.cel-content .hub-tabs{display:flex;flex-wrap:wrap;max-width:100%;min-width:0}
.cel-content .mcl-tabs .btn,.cel-content .gsu-pick .btn{flex:1 1 auto;min-width:0;white-space:normal}
.cel-content .phone-shell{width:100%!important;border:0;box-shadow:none;padding:0}
.cel-hidden{display:none!important}
#menuBox:has(>.phone-shell.cel-frame)>:not(.phone-shell){display:none!important}
/* Tela inicial e pastas: ícones grandes com rótulo curto e selo. */
body.phone-big #menuBox .phone-grid.cel-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 6px}
#menuBox .cel-app{min-height:84px;min-width:44px;position:relative}
#menuBox .cel-app i{width:54px;height:54px;border-radius:16px}
#menuBox .cel-app .icon{width:28px;height:28px}
#menuBox .cel-app span{max-width:100%;font-size:12px!important;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:auto}
#menuBox .cel-folder .cel-app span{font-size:11.5px!important;letter-spacing:-.15px}
#menuBox .cel-folders .cel-app i{width:60px;height:60px;border-radius:18px}
#menuBox .cel-folders .cel-app{min-height:92px}
#menuBox .cel-folders .cel-app span{font-size:13px!important}
#menuBox .phone-app i.cel-tone-gold{background:linear-gradient(150deg,#a7783a,#6d4a20)}
#menuBox .phone-app i.cel-tone-blue{background:linear-gradient(150deg,#3f6ea3,#233f63)}
#menuBox .phone-app i.cel-tone-green{background:linear-gradient(150deg,#5f8a46,#36522a)}
#menuBox .phone-app i.cel-tone-brown{background:linear-gradient(150deg,#8a5a3c,#5c3a2a)}
#menuBox .phone-app i.cel-tone-teal{background:linear-gradient(150deg,#2f6a73,#1d4450)}
#menuBox .phone-app i.cel-tone-red{background:linear-gradient(150deg,#b04a3c,#6e2a22)}
#menuBox .phone-app i.cel-tone-violet{background:linear-gradient(150deg,#6a5a9a,#3e3462)}
#menuBox .phone-app i.cel-tone-gray{background:linear-gradient(150deg,#5a6870,#36434a)}
.cel-badge{position:absolute;top:-6px;right:-8px;z-index:2;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#d2453a;color:#fff;font:800 11px/20px system-ui,sans-serif;text-align:center;box-shadow:0 0 0 2px #0f1c26}
.cel-group h3{margin:6px 2px 6px!important}
.cel-group+.cel-group{margin-top:6px;padding-top:4px;border-top:1px solid #2c4652}
.cel-goal{display:flex;gap:6px;align-items:baseline;margin:0 2px 8px!important;font-size:12.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cel-goal b{flex:none;color:var(--ph-gold);font:800 11px system-ui;letter-spacing:.06em}
.cel-goal span{overflow:hidden;text-overflow:ellipsis}
.cel-now{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}
.cel-now-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:6px 10px;border:1px solid #d2a44d;border-radius:14px;background:#3a2c14e6;color:var(--ph-ink);text-align:left;cursor:pointer;touch-action:manipulation}
.cel-now-btn i{display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:12px;background:linear-gradient(150deg,#a7783a,#6d4a20);color:#fff3d6;font-style:normal}
.cel-now-btn span{display:flex;flex-direction:column;min-width:0}.cel-now-btn b{font:750 13px system-ui}.cel-now-btn small{font-size:11.5px;color:var(--ph-soft);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cel-row i{flex:none}
.cel-sug{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.phone-screen .cel-sug .btn{flex:1 1 200px;width:auto;margin:0;font-size:12px}
.phone-screen>.hub-now{margin:0 0 10px}
.cel-exit{display:flex;flex-direction:column;gap:8px}
/* Listas de frota e equipe: linha = ícone, nome, detalhe, selo; ações embaixo; filtros que quebram linha (sem rolar para o lado). */
.cel-filters,.cel-units,.cel-wrap{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.phone-screen .btn.cel-chip{width:auto;flex:1 1 0;min-width:0;min-height:44px;margin:0;padding:4px 6px;font-size:10.5px;line-height:1.15;white-space:normal;border-radius:12px}
.phone-screen .btn.cel-chip.cel-on{background:#eac17c;color:#1a1408;border-color:#eac17c}
.phone-screen .cel-units .btn.cel-chip,.phone-screen .cel-wrap .btn.cel-chip{flex:0 1 auto;padding:4px 12px}
.cel-rows{display:flex;flex-direction:column;gap:6px}
.cel-li{display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid #33515c;border-radius:14px;background:#10222cd9}
.cel-li[data-state=player],.cel-li[data-state=entrega],.cel-li[data-state=entregue]{border-color:#8a7347}
.cel-li-main{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0;border:0;background:transparent;color:var(--ph-ink);text-align:left;cursor:pointer;touch-action:manipulation}
.cel-li-main.static{cursor:default}
.cel-li-ic{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:12px;background:linear-gradient(150deg,#2f6a73,#1d4450);border:1px solid #6d9a98;color:#f6e3b8;font-style:normal}
.cel-li-ic .icon{width:22px;height:22px}
.cel-li-txt{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.cel-li-txt b{font:750 13.5px system-ui;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cel-li-txt small{font-size:11.5px;color:var(--ph-soft);line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cel-li-txt .cel-li-where{color:#cfe0dc}
.cel-st{flex:none;max-width:42%;padding:3px 8px;border-radius:10px;font:800 11px/1.3 system-ui;font-style:normal;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.cel-st.tone-gold{background:#b88a35;color:#1b1206}.cel-st.tone-blue{background:#3a6fb0}.cel-st.tone-teal{background:#2c7a74}.cel-st.tone-orange{background:#c06a2a}.cel-st.tone-red{background:#b33a32}.cel-st.tone-gray{background:#56636b}.cel-st.tone-violet{background:#6a5aa8}
.cel-li-acts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.phone-screen .cel-li-acts .btn{width:auto;flex:1 1 130px;min-height:44px;margin:0;padding:6px 10px;font-size:11.5px}
.cel-foot{margin-top:10px}
.cel-msg{margin:0 0 8px!important;padding:6px 10px;border-radius:10px;font-weight:700}
.cel-msg.ok{background:#1f3d2a;color:#bfe8c4!important}.cel-msg.no{background:#3d1f1d;color:#f3c3bd!important}
.cel-ficha .phone-card{gap:6px}
.cel-ficha-top{display:flex;align-items:center;gap:10px}
.cel-ficha-top span{display:flex;flex-direction:column;flex:1;min-width:0}
.cel-ficha-st{margin:2px 0!important}
.cel-dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:0;font-size:12.5px}
.cel-dl dt{color:var(--ph-soft)}.cel-dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.cel-row2{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.cel-row2 span{flex:1;font-weight:700}
.phone-screen .btn.cel-sq{width:52px;min-height:44px;margin:0;font-size:18px}
.cel-seg{display:flex;gap:6px;margin:0 0 8px}
.phone-screen .cel-seg .btn{flex:1;margin:0}
.cel-why{color:#f3c3bd!important;font-size:12px!important}
.phone-screen .btn.cel-danger{background:#5c1f1b;border-color:#b33a32;color:#ffd9d3}
.cel-sample{min-width:0}
/* Larguras: a grade e as listas se ajustam à largura da tela do celular (container), não da janela. */
.cel-central .phone-screen{container-type:inline-size}
@container (min-width:440px){body.phone-big #menuBox .phone-grid.cel-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.cel-li{flex-direction:row;align-items:center}.cel-li-main{flex:1;min-width:0}.cel-li-acts{flex:0 1 auto;max-width:56%}.phone-screen .cel-li-acts .btn{flex:0 1 auto}}
@container (min-width:560px){body.phone-big #menuBox .phone-grid.cel-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}body.phone-big #menuBox .phone-grid.cel-grid.cel-folders{grid-template-columns:repeat(8,minmax(0,1fr))!important}.cel-now{flex-direction:row;flex-wrap:wrap}.cel-now-btn{flex:1 1 220px;width:auto}}
@media(min-width:700px) and (min-height:521px){.cel-central .phone-shell{width:min(560px,calc(100vw - 24px))}.cel-central .phone-shell.cel-frame{width:min(760px,calc(100vw - 24px))}}
@media(orientation:landscape) and (max-height:520px){
 .cel-central .phone-shell.cel-frame{width:min(780px,calc(100vw - 12px))}
 #menuBox .cel-app{min-height:74px}#menuBox .cel-app i{width:48px;height:48px}#menuBox .cel-folders .cel-app i{width:52px;height:52px}#menuBox .cel-folders .cel-app{min-height:80px}
}
@media(orientation:portrait){.cel-central .phone-shell.cel-frame{width:calc(100vw - 16px)}}
/* Tela baixa (até 360 px): a arma sobe para a fileira de cima, ao lado do CELULAR, só com ícone e munição, sem cobrir o minimapa. */
@media(orientation:landscape) and (max-height:360px){
 .mobile-play.cel-central.has-session:not(.ui-open):not(.map-mode) #wheelChip:not([hidden]){top:var(--edge-top,12px);bottom:auto;right:calc(var(--edge-right,12px) + 168px);min-width:56px;padding:4px 8px 4px 6px}
 .mobile-play.cel-central #wheelChip .wc-name{display:none}
}
/* 3.39 (limpeza dos menus): pastas com até 6 ícones menores, lista Mais, grade de DPs/bases com cadeado, linhas de uma linha de estado, ficha com MANDAR PARA e topo da frota com guinchos. */
#menuBox .cel-folder .cel-app{min-height:72px}
#menuBox .cel-folder .cel-app i{width:46px;height:46px;border-radius:14px}
#menuBox .cel-folder .cel-app .icon{width:24px;height:24px}
body.phone-big #menuBox .phone-grid.cel-grid.cel-top,body.phone-big #menuBox .phone-grid.cel-grid.cel-unit-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 6px}
#menuBox .cel-more i .cel-count{background:#56636b}
#menuBox .cel-unit small{display:block;font:700 10.5px/1.1 system-ui;color:#eac17c}
#menuBox .cel-locked i{opacity:.75}
#menuBox .cel-locked span{color:var(--ph-soft)}
.cel-funds,.cel-towbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0 0 8px!important;padding:6px 10px;border-radius:12px;background:#10222cd9;border:1px solid #2c4652;font-size:12.5px!important}
.cel-funds span{color:var(--ph-soft)}.cel-funds b{color:#eac17c;font:800 14px system-ui}.cel-funds .cel-tows{margin-left:auto}
.cel-towbar span{flex:1 1 160px;min-width:0}.cel-towbar em{color:#f3c3bd;font-style:normal;font-weight:700}
.phone-screen .cel-towbar .btn{flex:0 1 auto;width:auto;margin:0;padding:6px 12px;font-size:12px}
.phone-screen .btn.cel-chip.cel-q{flex:0 0 44px;font:800 15px system-ui}
.cel-help{margin:-2px 0 8px!important;padding:6px 10px;border-radius:10px;background:#1b2f38;font-size:12px!important;line-height:1.35}
.cel-li{padding:2px 8px;gap:0;border-radius:12px}
.cel-li-main{min-height:48px;gap:8px}
.cel-li-ic{width:34px;height:34px;border-radius:10px}
.cel-li-ic .icon{width:20px;height:20px}
.cel-li-txt b{font-size:13px}.cel-li-txt small{font-size:11px}
.cel-rows{gap:4px}
.cel-dest{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:6px;margin:0 0 6px}
.phone-screen .cel-dest .btn{width:100%;margin:0;font-size:12.5px}
.cel-wait{margin:0 0 8px;padding:8px 10px;border-radius:12px;background:#3d1f1d;border:1px solid #b33a32}
.cel-wait p{margin:0 0 6px!important;font-size:12px!important;color:#f3c3bd!important}
.phone-screen .cel-wait .btn{width:100%;margin:0}
.phone-screen .cel-ficha>.btn{width:100%;margin:0 0 6px}
.cel-ficha .cel-dl{grid-template-columns:auto 1fr auto 1fr}
.cel-more-dp summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700;color:var(--ph-soft)}
.cel-lock .cel-dl{grid-template-columns:auto 1fr}
.phone-screen .btn.cel-pay{width:100%;margin:8px 0 0}
.cel-mais .phone-row{min-height:48px;padding:4px 8px}
.cel-mais .phone-row i{width:34px;height:34px;border-radius:10px}
.cel-mais .phone-row b{font:700 13.5px system-ui}
@container (min-width:440px){body.phone-big #menuBox .phone-grid.cel-grid.cel-top{grid-template-columns:repeat(6,minmax(0,1fr))!important}body.phone-big #menuBox .phone-grid.cel-grid.cel-unit-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.cel-mais .phone-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}}
@container (min-width:640px){body.phone-big #menuBox .phone-grid.cel-grid.cel-unit-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important}.cel-mais .phone-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:520px){#menuBox .cel-folder .cel-app{min-height:64px}#menuBox .cel-folder .cel-app i{width:40px;height:40px}#menuBox .cel-folders .cel-app i{width:46px;height:46px}#menuBox .cel-folders .cel-app{min-height:70px}}
/* Tela inicial em paisagem baixa: nome, destaque urgente e pastas primeiro; faixa da mensagem, objetivo e sugestões descem. */
@media(orientation:landscape) and (max-height:520px){
 .cel-home .phone-screen{display:flex;flex-direction:column}
 .cel-home .phone-greet{order:-3}.cel-home .cel-now{order:-2}.cel-home .cel-folders{order:-1;margin-bottom:10px}
 body.phone-big #menuBox .phone-grid.cel-grid.cel-folders{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px 2px}
 #menuBox .cel-folders .cel-app span{font-size:12px!important}
}
