#telefone {
 position: fixed; inset: auto max(18px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;
 width: min(390px, calc(100vw - 32px)); max-height: min(690px, calc(100dvh - 32px));
 margin: 0; padding: 0; overflow: hidden; border: 5px solid #253b3d; border-radius: 30px;
 box-shadow: 0 20px 70px #000b, inset 0 0 0 1px #76988e60;
 background: radial-gradient(ellipse at 30% 0,#294947 0,#101f22 58%); color: #f2fffc;
 font: 15px/1.35 system-ui,sans-serif;
}
#telefone[open] { display: flex; flex-direction: column }
#telefone::backdrop { background: #08191b69 }
#telefone [hidden] { display: none !important }
#telefone .telefone-topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 13px; gap: 8px }
#telefone .telefone-topo h2 { margin: 2px 0 0; font-size: 24px; letter-spacing: -.045em }
#telefone .telefone-topo small { color: #c3e6db; font: 700 12px system-ui }
#telefone .telefone-topo button { min-width: 40px; font-size: 22px; background: #06171882 }
#telefone .telefone-corpo { overflow: auto; overscroll-behavior: contain; min-height: 0 }
#telefone section { margin: 0; padding: 12px 18px 16px }
#telefone section h3 { margin: 0 0 13px; font-size: 19px }
#telefone nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 6px; margin: 0; padding: 4px 0 16px }
#telefone nav :is(button,a) {
 display: grid; justify-items: center; gap: 7px; padding: 5px 1px; min-height: 82px;
 border: 0; background: transparent; color: #effbf7; text-decoration: none; font-size: 12px; font-weight: 700;
}
#telefone nav i {
 display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px;
 font: 900 29px/1 system-ui; color: #092421; box-shadow: inset 0 1px 0 #fff8, 0 4px 14px #0003;
}
#telefone .app-mapa { background: #78e2c5 }
#telefone .app-jogo { background: #ffd26b }
#telefone .app-amigos { background: #a4b9f4 }
#telefone .app-servicos { background: #ff9a83 }
#telefone .app-def { background: #c6d5dc }
#telefone .app-suporte { background: #8edf91 }
#telefone :is(button,select) {
 min-height: 38px; margin: 0; padding: 7px 10px; border: 1px solid #6b97896b; border-radius: 10px;
 color: #effbf7; background: #1d3836; font: inherit;
}
#telefone :focus-visible { outline: 2px solid #91fce2; outline-offset: 2px }
#telefone footer { display: grid; gap: 8px; padding: 0 18px 9px }
#telefone footer span { justify-self: center; width: 72px; height: 3px; border-radius: 3px; background: #a1bcb4 }
#telefone footer button { justify-self: start }
#telefone [data-config] label { display: block; margin: 0 0 12px; font-size: 13px }
#telefone [data-config] output { float: right; display: inline; margin: 0; color: #88e2c6; font-variant-numeric: tabular-nums }
#telefone [data-config] input { display: block; width: 100%; margin: 5px 0 0; accent-color: #73e5c4 }
#telefone [data-config] .telefone-check { display: flex; align-items: center; gap: 8px }
#telefone [data-config] .telefone-check input { width: auto; margin: 0 }
#telefone .telefone-comando { margin-top: 16px; color: #cfe5df; font-size: 13px }
#telefone .telefone-comando summary { cursor: pointer; min-height: 44px; padding: 10px 0 }
#telefone [data-comando-estado] { color: #94dfc8 }
#telefone #painel-jogo {
 position: static; display: grid; gap: 8px; background: transparent; padding: 0; border-radius: 0;
}
#telefone #painel-jogo select, #telefone #vida-status { display: block; width: 100%; max-width: none }
#telefone #painel-jogo :is(a,small,#estado) { color: #bddbd3; font-size: 12px }
@media (pointer: coarse) {
 #telefone { inset-inline: 0; margin-inline: auto }
}
#gps .gps-legenda { display: flex; gap: .45em; align-items: center; margin: 3px 4px 0 0; color: #b6c4c6 }
#gps .gps-legenda { flex-wrap: wrap }
.gps-legenda em { color: #ffd267; font-style: normal }
.gps-legenda [data-legenda-sic] { color: #f9d883 }
.gps-legenda b { width: .9em; height: 2px; background: #e3d8b8 }
.gps-legenda b:nth-of-type(2) { background: #6c8886 }
.gps-legenda b:nth-of-type(3) { background: #66c7c0 }


#telefone .app-rotina { background: #eabb95 }
#telefone [data-rotina] article { border-top: 1px solid #6b97896b; padding: 11px 0 }
#telefone [data-rotina] h4 { margin: 0; font-size: 15px }
#telefone [data-rotina] p { margin: 4px 0 7px; color: #b7d4cb; font-size: 13px }
#telefone [data-rotina] output { display: block; color: #ffd26b; padding: 8px 0 }
#telefone [data-rotina] button:disabled { opacity: .48; cursor: default }
#telefone .rotina-medidores, #telefone .rotina-acoes { display: flex; flex-wrap: wrap; gap: 7px }
#telefone .rotina-medidores { gap: 12px; margin: 10px 0 16px }
#telefone .rotina-medidores label { flex: 1; font-size: 12px }
#telefone .rotina-medidores meter { width: 100%; margin-top: 4px; height: 11px }

#telefone .app-roteiros { background: #89d3ca }
#telefone .app-penaltis { background: #e7c982 }
#telefone :is([data-roteiros],[data-penaltis]) article { border-top: 1px solid #6b97896b; padding: 11px 0 }
#telefone :is([data-roteiros],[data-penaltis]) h4 { margin: 0 0 6px; font-size: 15px }
#telefone :is([data-roteiros],[data-penaltis]) :is(p,output) { color: #b7d4cb; font-size: 13px }
#telefone .app-cidade-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0 }
#telefone .app-cidade-linha button { flex-shrink: 0 }
#telefone [data-roteiros] button:disabled { opacity: .58; cursor: default }
#telefone [data-penaltis] canvas { width: 100%; height: auto; border-radius: 12px }
#telefone .penaltis-acoes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 10px 0 }
#telefone .penaltis-acoes button { min-width: 0; padding-inline: 5px }

#telefone .app-agenda { background: #d7bcf6 }
#telefone .app-biscates { background: #93d6ad }
#telefone :is([data-agenda],[data-biscates]) article { border-top: 1px solid #6b97896b; padding: 11px 0 }
#telefone :is([data-agenda],[data-biscates]) h4 { margin: 3px 0 6px; font-size: 15px }
#telefone :is([data-agenda],[data-biscates]) :is(p,small) { color: #b7d4cb; font-size: 13px }
#telefone [data-biscates] output { color: #ffd26b }
#telefone [data-biscates] button:disabled { opacity: .58; cursor: default }
#telefone .tarefas-acoes { display: flex; flex-wrap: wrap; gap: 7px }

#telefone .app-online { background:#a6e2b9 }
#telefone .app-missoes { background:#f6cb82 }
#telefone :is([data-missoes],.social-lista) article { border-top:1px solid #6b97896b; padding:10px 0 }
#telefone :is([data-missoes],.social-lista) h4 { margin:0 0 5px }
#telefone :is([data-missoes],.social-lista) p { color:#b7d4cb; margin:4px 0 8px }
#telefone [data-missoes] button:disabled { opacity:.58; cursor:default }
#telefone .social-mensagens { min-height:110px; max-height:240px; overflow:auto; margin:10px 0; display:grid; gap:5px }
#telefone .social-mensagens p { width:fit-content; max-width:90%; margin:0; border-radius:9px; background:#274443; padding:7px 10px; white-space:pre-wrap; overflow-wrap:anywhere; color:#f1faf5 }
#telefone .social-mensagens .minha { justify-self:end; background:#315749 }
#telefone .social-enviar { display:flex; gap:5px }
#telefone .social-enviar input { flex:1; min-width:0; border-radius:8px; border:1px solid #6b9789; background:#102422; color:#f2fffc; padding:8px }
#nomes-online { position:fixed; inset:0; z-index:2; pointer-events:none }
#gps .gps-legenda i { width:8px; height:8px; border:1px solid #b9e8ff; border-radius:50%; background:#192e43; flex:none }
#gps .gps-legenda b:nth-of-type(1) { background:#b6c7cb }
#gps .gps-legenda b:nth-of-type(2) { background:#6a7a83 }
#gps .gps-legenda b:nth-of-type(3) { background:#426b7c }
#telefone .app-garagem { background:#99bded }
#telefone .garagem-lista article { border-top:1px solid #6b97896b; padding:10px 0 }
#telefone .garagem-lista h4 { margin:0 0 4px }
#telefone .garagem-lista p { margin:5px 0; color:#b7d4cb }
#gps .gps-legenda { flex-wrap:wrap }
