/* Estilos das telas em arquivo proprio do app do cliente (Ruas e Falar com a equipe). */

/* ---- Falar com a equipe ---- */
body.falar-ativo { padding-bottom: 0; overflow: hidden; }
body.falar-ativo main { padding-bottom: 0; }
body.falar-digitando .abas { display: none; }
.falar { --falar-h: calc(100dvh - 180px); height: var(--falar-h); display: flex; flex-direction: column; gap: .6rem; min-height: 0; }
.falar__cab { display: grid; gap: .5rem; flex: none; }
.falar__cab .t-pagina { font-size: 1.6rem; }
.falar__horario { display: flex; align-items: center; gap: .5rem; padding: .5rem .7rem; border: 2px solid var(--preto); border-radius: 12px; font-size: .88rem; font-weight: 700; line-height: 1.25; }
.falar__horario--aberto { background: #ECFDF3; }
.falar__horario--fechado { background: #FFFBEB; }
.falar__horario svg { flex: none; }
.falar__lista { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .45rem; padding: .6rem; background: #fff; border: var(--contorno); border-radius: var(--raio); -webkit-overflow-scrolling: touch; }
.falar__dia { align-self: center; margin: .35rem 0 .1rem; }
.falar__dia span { display: inline-block; padding: .15rem .65rem; border-radius: 999px; background: var(--cinza-2); color: var(--cinza-5); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.falar__linha { display: flex; flex-direction: column; max-width: 86%; min-width: 0; }
.falar__linha--eu { align-self: flex-end; align-items: flex-end; }
.falar__linha--eq { align-self: flex-start; align-items: flex-start; }
.falar__bolha { padding: .5rem .75rem .35rem; border-radius: 16px; border: 2px solid var(--preto); min-width: 0; max-width: 100%; }
.falar__bolha--eu { background: var(--vermelho); color: #fff; border-bottom-right-radius: 4px; }
.falar__bolha--eq { background: var(--cinza-1); color: var(--preto); border-bottom-left-radius: 4px; }
.falar__bolha--erro { background: #fff; color: var(--preto); border-color: var(--erro, #E11D2A); border-style: dashed; }
.falar__autor { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--vermelho); margin-bottom: .1rem; }
.falar__texto { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; line-height: 1.35; }
.falar__meta { display: flex; align-items: center; justify-content: flex-end; gap: .3rem; margin-top: .15rem; font-size: .7rem; font-weight: 700; opacity: .8; }
.falar__marca { display: inline-flex; }
.falar__marca svg { width: 14px; height: 14px; }
.falar__falha { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .25rem; font-size: .8rem; font-weight: 700; color: #991B1B; }
.falar__retentar, .falar__descartar, .falar__mais { min-height: 36px; padding: .25rem .8rem; border: 2px solid var(--preto); border-radius: 999px; background: #fff; font-weight: 800; font-size: .8rem; cursor: pointer; }
.falar__retentar { background: var(--preto); color: #fff; }
.falar__mais { align-self: center; flex: none; }
.falar__sistema { align-self: center; max-width: 92%; text-align: center; padding: .4rem .75rem; border: 2px dashed var(--cinza-3); border-radius: 12px; background: #FFFBEB; font-size: .84rem; }
.falar__sistema-texto { margin: 0; overflow-wrap: anywhere; }
.falar__hora { display: block; font-size: .68rem; font-weight: 700; color: var(--cinza-4); }
.falar__vazio { margin: auto; padding: 1rem; text-align: center; display: grid; justify-items: center; gap: .35rem; color: var(--cinza-4); }
.falar__vazio-titulo { font-weight: 800; color: var(--preto); }
.falar__vazio p { margin: 0; }
.falar__form { position: relative; flex: none; display: flex; align-items: flex-end; gap: .5rem; padding-bottom: .5rem; }
.falar__campo { flex: 1; min-width: 0; resize: none; max-height: 140px; min-height: 48px; padding: .7rem .8rem; border: var(--contorno); border-radius: 14px; background: #fff; font: inherit; font-size: 1rem; line-height: 1.3; }
.falar__campo:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 2px; }
.falar__enviar { flex: none; width: 52px; height: 48px; display: grid; place-items: center; border: 2px solid var(--preto); border-radius: 14px; background: var(--vermelho); color: #fff; cursor: pointer; box-shadow: 3px 3px 0 var(--preto); }
.falar__enviar svg { width: 22px; height: 22px; }
.falar__enviar[disabled] { opacity: .45; box-shadow: none; cursor: default; }
.falar__contador { position: absolute; right: 70px; top: -1.2rem; font-size: .72rem; font-weight: 800; color: var(--cinza-4); }
.falar__contador--fim { color: var(--vermelho); }

/* ---- Mapa de alertas ---- */
body.mapa-ativo { padding-bottom: 0; overflow: hidden; }
body.mapa-ativo main { padding: 0; }
.mapa { --mapa-h: calc(100dvh - 150px); height: var(--mapa-h); display: flex; flex-direction: column; background: #14161b; color: #fff; min-height: 0; }
.mapa__espera { padding: 1rem; }
.mapa__area { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mapa__area > .mapa__tela { position: absolute; inset: 0; touch-action: none; background: #14161b; }
.mapa__area > .mapa__tela--marcando, .mapa__tela--marcando .maplibregl-canvas { cursor: crosshair; }
.mapa__tela .maplibregl-canvas { outline: none; }
.mapa-credito { margin: .4rem 0 0; font-size: .75rem; color: #9aa0ab; text-align: center; }
.mapa-credito a { color: #c9ccd4; }
.mapa__topo { position: absolute; top: 8px; left: 8px; right: 70px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 5; pointer-events: none; }
.mapa__voltar { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 22px; background: rgba(11,11,13,.92); border: 2px solid #3a3f4a; color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none; }
.mapa__voltar svg { width: 20px; height: 20px; }
.mapa__aviso { pointer-events: auto; max-width: 100%; padding: 8px 12px; border-radius: 12px; background: rgba(11,11,13,.92); border: 2px solid #3a3f4a; font-size: .88rem; font-weight: 700; line-height: 1.3; }
.mapa__aviso[hidden] { display: none; }
.mapa__aviso--erro { border-color: var(--erro, #E11D2A); }
.mapa__aviso-bt { margin-left: 4px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--vermelho); color: #fff; font-weight: 800; cursor: pointer; }
.mapa__lateral { position: absolute; top: 8px; right: 8px; z-index: 5; display: flex; flex-direction: column; gap: 8px; }
.mapa__btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(11,11,13,.92); border: 2px solid #3a3f4a; color: #fff; cursor: pointer; padding: 0; --icone-acento: var(--vermelho); }
.mapa__btn[hidden] { display: none; }
.mapa__btn[aria-pressed="true"] { background: var(--vermelho); border-color: #fff; --icone-acento: #fff; }
.mapa__btn:focus-visible, .mapa__informar:focus-visible, .mapa-tipo:focus-visible, .mapa-btn:focus-visible, .mapa-pino:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mapa__informar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid #fff; border-radius: 20px; background: var(--vermelho); color: #fff; font-size: 1.3rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.5); --icone-acento: #fff; }
.mapa__informar[hidden] { display: none; }
.mapa__informar svg { width: 28px; height: 28px; }
.mapa--piloto .mapa__informar { min-height: 84px; font-size: 1.5rem; }
.mapa__marcar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(11,11,13,.96); border: 2px solid var(--vermelho); font-weight: 800; }
.mapa__marcar[hidden] { display: none; }
.mapa__marcar-x { min-height: 44px; padding: 0 14px; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.mapa__folha { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; max-height: 78%; display: flex; flex-direction: column; background: #0B0B0D; border-top: 3px solid var(--vermelho); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,.5); }
.mapa__folha[hidden] { display: none; }
.mapa__folha-cab { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 6px; }
.mapa__folha-tit { margin: 0; font-size: 1.15rem; font-weight: 900; }
.mapa__folha-x { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #3a3f4a; border-radius: 14px; background: transparent; color: #fff; cursor: pointer; }
.mapa__folha-corpo { overflow-y: auto; padding: 0 14px 16px; display: grid; gap: 12px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.mapa-informar__onde { margin: 0; color: #c9ccd4; font-size: .92rem; }
.mapa-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mapa-tipo { min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border: 2px solid var(--cor, #3a3f4a); border-radius: 16px; background: #17191f; color: #fff; font-size: .78rem; font-weight: 800; line-height: 1.15; text-align: center; cursor: pointer; --icone-acento: var(--cor, #E11D2A); }
.mapa-tipo:disabled { opacity: .5; }
.mapa-tipo[aria-pressed="false"] { opacity: .4; border-style: dashed; }
.mapa-mais { border: 2px solid #3a3f4a; border-radius: 14px; padding: 0 12px; }
.mapa-mais summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.mapa-mais__corpo { display: grid; gap: 10px; padding-bottom: 12px; }
.mapa-campo { width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid #3a3f4a; border-radius: 12px; background: #17191f; color: #fff; font: inherit; }
.mapa-sentidos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mapa-sentido { min-height: 44px; border: 2px solid #3a3f4a; border-radius: 12px; background: transparent; color: #fff; font-weight: 800; font-size: .85rem; cursor: pointer; }
.mapa-sentido[aria-pressed="true"] { background: var(--vermelho); border-color: #fff; }
.mapa-postar { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.mapa-postar input { width: 24px; height: 24px; accent-color: var(--vermelho); }
.mapa-link { min-height: 44px; border: 0; background: transparent; color: #fff; text-decoration: underline; font-weight: 700; text-align: left; cursor: pointer; padding: 0; }
.mapa-cartao { display: grid; gap: 10px; }
.mapa-cartao__linha { display: flex; align-items: center; gap: 12px; }
.mapa-cartao__icone { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 3px solid var(--cor, #E11D2A); border-radius: 50%; background: #17191f; --icone-acento: var(--cor, #E11D2A); }
.mapa-cartao__nome { display: block; font-size: 1.15rem; }
.mapa-cartao__quando { display: block; color: #c9ccd4; font-size: .88rem; }
.mapa-cartao__nota { margin: 0; padding: 10px 12px; border-radius: 12px; background: #17191f; font-size: 1rem; overflow-wrap: anywhere; }
.mapa-cartao__conf { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .88rem; }
.mapa-cartao__barra { flex: 1; height: 10px; border-radius: 6px; background: #2b2e36; overflow: hidden; }
.mapa-cartao__barra-in { display: block; height: 100%; background: var(--vermelho); }
.mapa-cartao__info, .mapa-cartao__meu { margin: 0; color: #c9ccd4; font-size: .9rem; }
.mapa-cartao__votos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mapa-btn { min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 2px solid #fff; border-radius: 16px; background: #17191f; color: #fff; font-size: 1rem; font-weight: 900; text-decoration: none; text-align: center; cursor: pointer; --icone-acento: currentColor; }
.mapa-btn--sim { background: #14803c; }
.mapa-btn--nao { background: #8d1a22; }
.mapa-btn--sim[aria-pressed="true"], .mapa-btn--nao[aria-pressed="true"] { box-shadow: 0 0 0 4px #fff; }
.mapa-btn--claro { background: transparent; }
.mapa-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mapa-lista__item { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 6px 10px; border: 2px solid #3a3f4a; border-radius: 14px; background: #17191f; color: #fff; text-align: left; cursor: pointer; }
.mapa-lista__txt { flex: 1; min-width: 0; display: grid; }
.mapa-lista__txt small { color: #c9ccd4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapa-lista__dist { flex: none; font-weight: 900; }
.mapa-vazio { margin: 0; color: #c9ccd4; }
.mapa-marc { width: 0; height: 0; }
.mapa-pino { position: absolute; left: -23px; top: -23px; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 3px solid var(--cor, #E11D2A); border-radius: 50%; background: #0B0B0D; color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.6); --icone-acento: var(--cor, #E11D2A); }
.mapa-pino--duvida { opacity: .72; border-style: dashed; }
.mapa-pino--meu { box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.6); }
.mapa-grupo { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border: 3px solid #fff; border-radius: 50%; background: var(--vermelho); color: #fff; font-weight: 900; font-size: 1rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.mapa-mira { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50%; background: rgba(225,29,42,.45); pointer-events: none; }
/* Camada Posts: balão de conversa (claro, com rabinho), diferente dos alertas (redondos, escuros, borda colorida). */
.mapa-post { position: absolute; left: -22px; top: -54px; width: 44px; height: 40px; display: grid; place-items: center; padding: 0; border: 3px solid #1b1d24; border-radius: 14px; background: #F4F6FA; color: #1b1d24; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.55); --icone-acento: #2F6BFF; }
.mapa-post::after { content: ''; position: absolute; left: 50%; bottom: -11px; width: 0; height: 0; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 10px solid #1b1d24; }
.mapa-post::before { content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 0; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #F4F6FA; z-index: 1; }
.mapa-post__n { position: absolute; right: -9px; top: -9px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; background: #2F6BFF; color: #fff; font: 700 .8rem/1 system-ui, sans-serif; border: 2px solid #fff; }
.mapa-post:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mapa-cartao__icone--post { --cor: #2F6BFF; }
.mapa-cartao--post + .mapa-cartao--post { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.mapa-cartao__nota--post { white-space: pre-wrap; overflow-wrap: anywhere; }
.mapa-post__foto { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; margin: 8px 0; background: #17191f; }
.mapa-post__capa { display: grid; gap: 4px; justify-items: center; width: 100%; padding: 22px 12px; margin: 8px 0; border: 1px dashed #8a8f99; border-radius: 12px; background: #17191f; color: #fff; font: inherit; cursor: pointer; }
.mapa-filtro-posts { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-bottom: 12px; }
.mapa-filtro-posts[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
.mapa-destaque { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; pointer-events: none; }
.mapa-destaque span { position: absolute; inset: 0; border: 4px solid #FFD400; border-radius: 50%; animation: mapa-destaque 1.6s ease-out infinite; }
.mapa-destaque span:nth-child(2) { animation-delay: .8s; }
@keyframes mapa-destaque { from { transform: scale(.25); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mapa-destaque span { animation: none; transform: scale(.7); } }
/* Ponto do motoboy: ponto azul, seta que vira, círculo da precisão do GPS. O rumo e o tamanho do círculo vêm de mapa.js a cada quadro. */
.mapa-eu { width: 28px; height: 28px; pointer-events: none; will-change: transform; }
.mapa-eu__prec { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%,-50%); background: rgba(47,125,255,.14); border: 1.5px solid rgba(47,125,255,.45); }
.mapa-eu__prec[hidden] { display: none; }
.mapa-eu__ponto { position: absolute; inset: 0; border: 4px solid #fff; border-radius: 50%; background: #2F7DFF; box-shadow: 0 2px 8px rgba(0,0,0,.45); transition: background-color .3s, filter .3s; }
.mapa-eu__giro { position: absolute; inset: -14px; display: block; transition: opacity .2s; will-change: transform; }
.mapa-eu__seta { position: absolute; left: 50%; top: 0; width: 0; height: 0; transform: translateX(-50%); border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid #2F7DFF; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.mapa-eu--sem-rumo .mapa-eu__giro { opacity: 0; }
.mapa-eu--velho .mapa-eu__ponto { background: #8a8f99; }
.mapa-eu--velho .mapa-eu__seta { border-bottom-color: #8a8f99; }
.mapa-eu--velho .mapa-eu__prec { opacity: .5; }
/* Modo pilotagem: no lugar do ponto redondo entra a seta do app (o mesmo desenho do botão de pilotar), sempre visível. Sem rumo ainda, aponta para a frente. */
.mapa-eu__nav { display: none; }
.mapa--piloto .mapa-eu__ponto, .mapa--piloto .mapa-eu__seta { display: none; }
.mapa--piloto .mapa-eu__giro { opacity: 1; }
.mapa--piloto .mapa-eu__nav { display: block; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; transform: translate(-50%, -50%); color: #fff; --icone-acento: var(--vermelho); filter: drop-shadow(0 3px 5px rgba(0,0,0,.6)); transition: opacity .3s; }
.mapa--piloto .mapa-eu__nav path:not([data-a]) { fill: #0B0B0D; }
.mapa--piloto .mapa-eu--velho .mapa-eu__nav { --icone-acento: #8a8f99; color: #c9ccd4; }
@media (prefers-reduced-motion: reduce) { .mapa-eu__ponto, .mapa-eu__giro { transition: none; } }
.mapa__hud { position: absolute; top: 8px; left: 8px; right: 70px; z-index: 5; display: flex; gap: 8px; align-items: stretch; pointer-events: none; }
.mapa__hud[hidden] { display: none; }
.mapa--piloto .mapa__topo { top: auto; bottom: 100px; left: 8px; right: 8px; }
.mapa--piloto .mapa__voltar { display: none; }
.mapa__hud-caixa { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 84px; padding: 6px 10px; border-radius: 14px; background: rgba(11,11,13,.94); border: 2px solid #3a3f4a; }
.mapa__hud-velo { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.mapa__hud-caixa small { font-size: .7rem; color: #c9ccd4; }
.mapa__hud-prox { flex: 1; display: flex; align-items: center; padding: 6px 12px; border-radius: 14px; background: rgba(11,11,13,.94); border: 2px solid #3a3f4a; font-size: 1.15rem; font-weight: 900; line-height: 1.2; }
.mapa__hud-prox--achou { border-color: var(--vermelho); }
.mapa__pergunta { position: absolute; left: 10px; right: 72px; top: 84px; z-index: 9; padding: 12px; border-radius: 18px; background: rgba(11,11,13,.97); border: 3px solid #fff; display: grid; gap: 10px; }
.mapa__pergunta[hidden] { display: none; }
.mapa__pergunta p { margin: 0; font-size: 1.2rem; font-weight: 900; }
.mapa__pergunta-bts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mapa__pergunta .mapa-btn { min-height: 76px; font-size: 1.4rem; }
@media (max-width: 340px) { .mapa-tipos { grid-template-columns: repeat(2, 1fr); } }

/* ---- Rede Ruas ---- */
.ruas { display: flex; flex-direction: column; gap: .9rem; min-width: 0; padding-bottom: 5rem; }
.ruas-conteudo { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.ruas a { -webkit-tap-highlight-color: transparent; }
.ruas-cab { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.ruas-cab__t { font-size: 1.7rem; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ruas-cab__voltar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--preto); border-radius: 12px; background: #fff; color: var(--preto); }
.ruas-cab__botoes { display: flex; gap: .5rem; flex: none; }
.ruas-icone { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 12px; color: var(--preto); cursor: pointer; text-decoration: none; }
.ruas-icone--borda { border: 2px solid var(--preto); background: #fff; }
.ruas-sino .bolinha { top: -7px; right: -7px; }
.ruas-abas { display: flex; flex-wrap: nowrap; gap: .25rem; padding: .25rem; background: #fff; border: 2px solid var(--preto); border-radius: 14px; }
.ruas-aba { flex: 1 1 0; min-width: 0; min-height: 44px; padding: .35rem .2rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; border-radius: 10px; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: 0; color: var(--preto); text-decoration: none; text-align: center; }
.ruas-aba[aria-current="page"], .ruas-aba[aria-selected="true"] { background: var(--vermelho); color: #fff; }
.ruas-aba--mapa { background: var(--preto); color: #fff; }
.ruas-abas--perfil { margin-top: .2rem; }
.ruas-topo { position: sticky; top: 59px; z-index: 20; display: flex; flex-direction: column; gap: .4rem; padding-block: .3rem; margin-block: -.3rem; background: var(--cinza-1); }
.ruas-novos { align-self: center; min-height: 44px; padding: .4rem 1.1rem; border: 2px solid var(--preto); border-radius: 999px; background: var(--preto); color: #fff; font-weight: 800; box-shadow: 3px 3px 0 var(--vermelho); cursor: pointer; }
.ruas-corpo { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.ruas-fab { position: fixed; z-index: 45; right: max(1rem, calc(50% - 20rem + 1rem)); bottom: calc(86px + env(safe-area-inset-bottom)); width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid var(--preto); border-radius: 50%; background: var(--vermelho); color: #fff; box-shadow: 3px 3px 0 var(--preto); text-decoration: none; }
.ruas-fab svg { stroke-width: 3; }
.ruas-susp { display: flex; flex-direction: column; gap: .15rem; }
.ruas-susp__m { display: block; }

/* lista */
.ruas-lista-wrap, .ruas-lista { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.ruas-fim { display: flex; flex-direction: column; align-items: center; gap: .5rem; min-height: 8px; }
.ruas-acabou { text-align: center; }
.ruas-esq { height: 70px; width: 100%; }

/* post */
.ruas-post { display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: .8rem .85rem .35rem; background: #fff; border: 3px solid var(--preto); border-radius: var(--raio); cursor: pointer; }
.ruas-post--detalhe { cursor: default; }
.ruas-post--compacto { cursor: pointer; padding-bottom: .8rem; }
.ruas-post__faixa { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 800; color: var(--cinza-4); text-transform: uppercase; letter-spacing: .03em; }
.ruas-post__faixa--aviso { color: #92400E; }
.ruas-post__cab { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.ruas-post__av { flex: none; display: block; text-decoration: none; }
.ruas-post__quem { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ruas-post__nome { text-decoration: none; color: var(--preto); min-width: 0; }
.ruas-nome { display: inline-flex; align-items: center; gap: .3rem; max-width: 100%; }
.ruas-nome__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruas-oficial { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--vermelho); color: #fff; }
.ruas-oficial svg { stroke-width: 3.5; }
.ruas-post__sub { font-size: .85rem; color: var(--cinza-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruas-post__arroba { color: var(--cinza-4); font-size: .88rem; font-weight: 600; }
.ruas-post__tempo { color: inherit; text-decoration: none; display: inline-block; padding-block: 2px; }
.ruas-post__resp { font-size: .88rem; color: var(--cinza-4); }
.ruas-post__etiquetas { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.ruas-post__local { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; font-weight: 700; color: var(--cinza-5); }
.ruas-post__texto { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; line-height: 1.4; font-size: 1.02rem; }
.ruas-post--detalhe .ruas-post__texto { font-size: 1.15rem; }
.ruas-post__data { font-size: .85rem; color: var(--cinza-4); padding-top: .3rem; border-top: 1px dashed var(--cinza-3); }
.ruas-tag, .ruas-men { color: var(--vermelho-escuro); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ruas-tag:hover, .ruas-men:hover { text-decoration: underline; }
.ruas-post__menu { margin-right: -.4rem; }

/* ações do post */
.ruas-acoes { display: flex; justify-content: space-between; gap: .1rem; margin: 0 -.3rem; border-top: 1px solid var(--cinza-2); padding-top: .15rem; }
.ruas-acao { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 44px; min-height: 44px; padding: 0 .5rem; background: transparent; border: 0; border-radius: 12px; color: var(--cinza-4); font-weight: 700; font-size: .85rem; }
.ruas-acao--off { opacity: .55; }
.ruas-acao--on { color: var(--vermelho-escuro); }
.ruas-acao--on svg { fill: currentColor; fill-opacity: .15; }
.ruas-acao--curtir.ruas-acao--on svg { fill-opacity: 1; }
.ruas-acao--repost.ruas-acao--on { color: #15803D; }
.ruas-acao__n { min-width: 1ch; }

/* fotos */
.ruas-grade { display: grid; gap: 3px; border: 2px solid var(--preto); border-radius: 12px; overflow: hidden; background: var(--preto); }
.ruas-grade--1 { grid-template-columns: 1fr; max-height: 420px; }
.ruas-grade--2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16/9; }
.ruas-grade--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16/9; }
.ruas-grade--3 .ruas-foto:first-child { grid-row: span 2; }
.ruas-grade--4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16/9; }
.ruas-foto { display: block; position: relative; min-height: 44px; min-width: 0; padding: 0; border: 0; background: var(--cinza-5); cursor: zoom-in; overflow: hidden; }
.ruas-foto img { width: 100%; height: 100%; object-fit: cover; }
.ruas-sens { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 150px; padding: 1rem; border: 2px dashed var(--preto); border-radius: 12px; background: var(--cinza-2); color: var(--preto); font-size: .92rem; }
.ruas-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); display: grid; place-items: center; }
.ruas-lightbox:not([open]) { display: none; }
.ruas-lightbox::backdrop { background: #000; }
.ruas-lightbox__img { max-width: 100vw; max-height: 86vh; object-fit: contain; }
.ruas-lightbox__fechar, .ruas-lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; }
.ruas-lightbox__fechar { top: max(.75rem, env(safe-area-inset-top)); right: .75rem; }
.ruas-lightbox__nav { top: 50%; transform: translateY(-50%); }
.ruas-lightbox__nav--ant { left: .5rem; }
.ruas-lightbox__nav--prox { right: .5rem; }
.ruas-lightbox__cont { position: absolute; bottom: max(1rem, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }

/* enquete */
.ruas-enq { display: flex; flex-direction: column; gap: .4rem; cursor: default; }
.ruas-enq__op { min-height: 44px; padding: .5rem .8rem; border: 2px solid var(--vermelho); border-radius: 999px; background: #fff; color: var(--vermelho-escuro); font-weight: 800; text-align: left; overflow-wrap: anywhere; }
.ruas-enq__res { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; padding: .5rem .8rem; border: 2px solid var(--cinza-3); border-radius: 12px; overflow: hidden; background: #fff; }
.ruas-enq__res--meu { border-color: var(--preto); }
.ruas-enq__barra { position: absolute; inset: 0 auto 0 0; background: #FDE2E4; }
.ruas-enq__res--meu .ruas-enq__barra { background: #F9B9BF; }
.ruas-enq__txt { position: relative; display: inline-flex; align-items: center; gap: .35rem; min-width: 0; font-weight: 700; }
.ruas-enq__nome { overflow-wrap: anywhere; }
.ruas-enq__pct { position: relative; flex: none; }
.ruas-enq__rodape { font-size: .82rem; color: var(--cinza-4); }

/* citação */
.ruas-cita { display: flex; flex-direction: column; gap: .3rem; padding: .6rem .7rem; border: 2px solid var(--cinza-3); border-radius: 12px; color: var(--preto); text-decoration: none; background: var(--cinza-1); min-width: 0; }
.ruas-cita--off { color: var(--cinza-4); font-size: .9rem; border-style: dashed; }
.ruas-cita__cab { display: flex; align-items: center; gap: .4rem; min-width: 0; font-size: .88rem; }
.ruas-cita__cab strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruas-cita__arroba, .ruas-cita__quando { color: var(--cinza-4); white-space: nowrap; }
.ruas-cita__texto { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: pre-wrap; font-size: .95rem; }
.ruas-cita__foto { font-size: .8rem; font-weight: 700; color: var(--cinza-4); }

/* alerta */
.ruas-alerta { display: flex; flex-direction: column; gap: .5rem; padding: .6rem .7rem; border: 2px solid var(--preto); border-left: 8px solid var(--vermelho); border-radius: 12px; background: #FEF2F2; cursor: default; }
.ruas-alerta--fim { border-left-color: var(--cinza-3); background: var(--cinza-1); color: var(--cinza-4); }
.ruas-alerta__t { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .92rem; }
.ruas-alerta__bt { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ruas-alerta__b { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 44px; padding: .3rem .5rem; border: 2px solid var(--preto); border-radius: 12px; background: #fff; font-weight: 800; font-size: .88rem; }
.ruas-alerta__b[aria-pressed="true"] { background: var(--preto); color: #fff; }

/* avatar */
.ruas-av { flex: none; width: var(--t, 44px); height: var(--t, 44px); border-radius: 50%; border: 2px solid var(--preto); background: #fff; object-fit: cover; }
.ruas-av--vazio { display: inline-grid; place-items: center; background: var(--cinza-1); }

/* folhas */
.ruas-folha { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: min(100%, 40rem); max-width: 100%; max-height: 88dvh; padding: 0; border: 3px solid var(--preto); border-bottom: 0; border-radius: 18px 18px 0 0; background: #fff; color: var(--preto); overflow: hidden; flex-direction: column; }
.ruas-folha[open] { display: flex; }
.ruas-folha::backdrop { background: rgba(11,11,13,.65); }
.ruas-folha__topo { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .6rem .4rem 1rem; border-bottom: 2px solid var(--cinza-2); }
.ruas-folha__t { font-size: 1.3rem; }
.ruas-folha__corpo { padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom)); overflow-y: auto; min-height: 0; }
.ruas-menu { display: flex; flex-direction: column; }
.ruas-menu__item { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 52px; padding: .4rem .3rem; background: transparent; border: 0; border-bottom: 1px solid var(--cinza-2); font-weight: 700; font-size: 1rem; text-align: left; }
.ruas-menu__item--perigo { color: var(--vermelho-escuro); }
.ruas-form { display: flex; flex-direction: column; gap: .8rem; }
.ruas-linha-forma { display: flex; justify-content: flex-end; }
.ruas-editor { width: 100%; padding: .7rem .8rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; font-size: 1rem; line-height: 1.4; resize: vertical; min-height: 48px; }
.ruas-editor:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 2px; }
.ruas-contador { font-size: .82rem; font-weight: 800; color: var(--cinza-4); }
.ruas-contador--perto { color: #92400E; }
.ruas-contador--passou { color: var(--vermelho); }
.ruas-radios { display: flex; flex-direction: column; }
.ruas-radio { display: flex; align-items: center; gap: .7rem; min-height: 46px; border-bottom: 1px solid var(--cinza-2); cursor: pointer; }
.ruas-radio input { width: 24px; height: 24px; accent-color: var(--vermelho); flex: none; }

/* escrever */
.ruas-escrever { display: flex; flex-direction: column; gap: .8rem; }
.ruas-escrever__texto { min-height: 130px; font-size: 1.08rem; }
.ruas-escrever > button[type=submit] { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom) + .5rem); z-index: 10; }
.ruas-ferramentas { display: flex; gap: .6rem; flex-wrap: wrap; }
.ruas-ferr { gap: .4rem; }
.ruas-minis { display: flex; flex-wrap: wrap; gap: .5rem; }
.ruas-mini { position: relative; width: 84px; height: 84px; border: 2px solid var(--preto); border-radius: 12px; overflow: hidden; background: var(--cinza-2); display: grid; place-items: center; }
.ruas-mini img { width: 100%; height: 100%; object-fit: cover; }
.ruas-mini__st { font-weight: 800; font-size: .85rem; }
.ruas-mini--erro { border-color: var(--erro, #E11D2A); background: #FEF2F2; }
.ruas-mini__msg { position: absolute; inset: auto 0 0 0; padding: 2px 4px; font-size: .62rem; line-height: 1.1; background: #fff; max-height: 50%; overflow: hidden; }
.ruas-mini__barra { position: absolute; left: 0; bottom: 0; height: 6px; background: var(--vermelho); }
.ruas-mini__x { position: absolute; top: 0; right: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-bottom-left-radius: 10px; background: var(--preto); color: #fff; padding: 0; }
.ruas-enq-form { display: flex; flex-direction: column; gap: .5rem; margin: 0; padding: .7rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; min-width: 0; }
.ruas-legenda { font-weight: 800; padding: 0 .3rem; }
.ruas-op { width: 100%; min-height: 48px; padding: .5rem .8rem; border: 2px solid var(--preto); border-radius: 12px; background: #fff; }
.ruas-mais-op { display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; min-height: 44px; padding: 0 .3rem; background: transparent; border: 0; font-weight: 800; color: var(--vermelho-escuro); }
.ruas-sens-linha { font-size: .92rem; }
.ruas-ref { display: flex; flex-direction: column; gap: .4rem; }
.ruas-ref__t { font-size: .85rem; font-weight: 800; text-transform: uppercase; color: var(--cinza-4); }

/* conversa */
.ruas-conversa { display: flex; flex-direction: column; gap: .5rem; }
.ruas-pai { position: relative; padding-left: .9rem; border-left: 4px solid var(--cinza-3); }
.ruas-responder { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .6rem .9rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; color: var(--cinza-4); font-weight: 700; text-decoration: none; }
.ruas-resp-t { font-size: 1.3rem; margin-top: .2rem; }

/* perfil */
.ruas-perfil { display: flex; flex-direction: column; gap: .4rem; }
.ruas-perfil__topo { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.ruas-perfil__acoes { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.ruas-perfil__nome { font-size: 1.3rem; line-height: 1.2; min-width: 0; }
.ruas-perfil__bio { white-space: pre-wrap; overflow-wrap: anywhere; }
.ruas-perfil__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; font-size: .88rem; color: var(--cinza-4); }
.ruas-perfil__nums { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .95rem; }
.ruas-perfil__nums a { color: inherit; text-decoration: none; display: inline-block; padding-block: .4rem; }
.ruas-segue { margin-left: .5rem; }
.ruas-atalhos { display: flex; flex-wrap: wrap; gap: .6rem; }
.ruas-seguir { flex: none; min-height: 44px; min-width: 96px; padding: .3rem 1rem; border: 2px solid var(--preto); border-radius: 999px; background: var(--preto); color: #fff; font-weight: 800; }
.ruas-seguir--on { background: #fff; color: var(--preto); }
.ruas-subtit { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-weight: 800; text-transform: uppercase; }
.ruas-subtit__v { font-size: .85rem; padding-block: .6rem; }
.ruas-pessoa { display: flex; align-items: center; gap: .7rem; padding: .6rem; background: #fff; border: 2px solid var(--preto); border-radius: var(--raio); min-width: 0; }
.ruas-pessoa__av { flex: none; text-decoration: none; }
.ruas-pessoa__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--preto); text-decoration: none; line-height: 1.25; }
.ruas-pessoa__bio { font-size: .85rem; color: var(--cinza-4); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ruas-foto-perfil { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.ruas-foto-perfil__bt { display: flex; gap: .5rem; flex-wrap: wrap; }
.ruas-perigo { border-color: var(--vermelho); display: flex; flex-direction: column; gap: .6rem; }
.ruas-perigo__b { color: var(--vermelho-escuro); border-color: var(--vermelho); }
.ruas-bloco { display: flex; flex-direction: column; gap: .6rem; }

/* busca, hashtag, em alta */
.ruas-busca { display: flex; gap: .5rem; }
.ruas-busca__campo { flex: 1; min-width: 0; min-height: 48px; padding: .6rem .9rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; font-size: 1rem; }
.ruas-busca__ir { flex: none; width: 52px; min-height: 48px; display: grid; place-items: center; border: 2px solid var(--preto); border-radius: var(--raio); background: var(--vermelho); color: #fff; }
.ruas-busca__area { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.ruas-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ruas-chip { display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; padding: .3rem .8rem; border: 2px solid var(--preto); border-radius: 14px; background: #fff; color: var(--preto); text-decoration: none; line-height: 1.2; max-width: 100%; }
.ruas-chip strong { overflow-wrap: anywhere; }
.ruas-alta { display: flex; flex-direction: column; gap: .4rem; }
.ruas-alta__t { font-size: .85rem; font-weight: 800; text-transform: uppercase; color: var(--cinza-4); }
.ruas-hash-linha { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 52px; padding: .5rem .8rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; color: var(--preto); text-decoration: none; }

/* avisos */
.ruas-aviso { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; color: var(--preto); text-decoration: none; min-width: 0; }
.ruas-aviso--nova { background: #FEF2F2; border-color: var(--vermelho); }
.ruas-aviso__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; }
.ruas-aviso__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; overflow-wrap: anywhere; }
.ruas-aviso__post { color: var(--cinza-4); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ruas-aviso__quando { font-size: .78rem; color: var(--cinza-4); }

/* entrada */
.ruas-boas-vindas { display: flex; gap: 1rem; align-items: center; }
.ruas-boas-vindas .adesivo { flex: none; width: 84px; }
.ruas-regras { margin: .6rem 0 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.ruas-entrar-form { display: flex; flex-direction: column; gap: .9rem; }
.ruas-arroba { display: flex; align-items: center; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; }
.ruas-arroba__a { padding-left: .9rem; font-weight: 800; font-size: 1.1rem; }
.ruas-arroba input { border: 0 !important; box-shadow: none !important; background: transparent !important; min-width: 0; }
.campo--ok .ruas-arroba { border-color: #15803D; }
.campo--erro .ruas-arroba { border-color: var(--erro-escuro, #B8101C); }
.ruas-folha .campo input, .ruas-folha .campo select { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 2px solid var(--preto); border-radius: var(--raio); background: #fff; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .ruas * { transition: none !important; } }

/* ---------- mapa: rota com trânsito e campo "Para onde?" (mapa-rota.js) ---------- */
.mapa__linha { align-self: stretch; display: flex; gap: 6px; align-items: center; pointer-events: none; }
.mapa__linha > * { pointer-events: auto; }
.mapa-busca { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 6px 0 12px; border-radius: 24px; background: rgba(11,11,13,.94); border: 2px solid #3a3f4a; color: #fff; --icone-acento: var(--vermelho); }
.mapa-busca:focus-within { border-color: #fff; }
.mapa-busca > svg { flex: none; }
.mapa-busca__campo { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 1rem; font-weight: 700; outline: none; }
.mapa-busca .mapa-busca__campo, .mapa-busca .mapa-busca__campo:focus, .mapa-busca .mapa-busca__campo:focus-visible { outline: 0 !important; box-shadow: none !important; border: 0 !important; border-radius: 0; padding: 0; }
.mapa-busca__campo::placeholder { color: #c9ccd4; opacity: 1; }
.mapa-busca__x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.mapa-busca__x[hidden] { display: none; }
.mapa__topo--buscando { right: 8px; z-index: 9; }
.mapa__topo--buscando .mapa__voltar { display: none; }
.mapa-sugestoes { align-self: stretch; pointer-events: auto; list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; max-height: 52vh; overflow-y: auto; border-radius: 16px; background: rgba(11,11,13,.97); border: 2px solid #3a3f4a; overscroll-behavior: contain; }
.mapa-sugestoes[hidden] { display: none; }
.mapa-sugestoes__vazio { padding: 12px; font-size: .92rem; font-weight: 700; color: #c9ccd4; }
.mapa-sugestao { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; color: #fff; text-align: left; font: inherit; cursor: pointer; --icone-acento: var(--vermelho); }
.mapa-sugestao:hover, .mapa-sugestao:focus-visible { background: #1d2028; outline: none; }
.mapa-sugestao > svg { flex: none; }
.mapa-sugestao__txt { flex: 1; min-width: 0; display: grid; }
.mapa-sugestao__txt strong, .mapa-sugestao__txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapa-sugestao__txt small { color: #c9ccd4; font-size: .82rem; }
.mapa-sugestao__dist { flex: none; font-size: .82rem; font-weight: 800; color: #c9ccd4; }
.mapa-rota-chip { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid #fff; background: #1257b8; color: #fff; font: inherit; font-size: .92rem; cursor: pointer; --icone-acento: #fff; }
.mapa-rota-chip[hidden] { display: none; }
.mapa-destino { color: #fff; --icone-acento: var(--vermelho); filter: drop-shadow(0 3px 5px rgba(0,0,0,.7)); pointer-events: none; }
.mapa-destino svg { display: block; }
.mapa-rota__nota { margin: 0; font-size: .92rem; color: #c9ccd4; line-height: 1.35; }
.mapa-rota__nota--erro { color: #fff; font-weight: 800; }
.mapa-rota__compacta { display: grid; gap: 6px; }
.mapa-rota__ops { display: flex; gap: 6px; }
.mapa-rota__op { flex: 1; min-width: 0; display: grid; gap: 0; padding: 6px 8px; border: 2px solid #3a3f4a; border-radius: 12px; background: #17191f; color: #fff; text-align: left; font: inherit; cursor: pointer; }
.mapa-rota__op[aria-pressed="true"] { border-color: #3d9bff; background: #10213a; }
.mapa-rota__op:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mapa-rota__tempo { font-size: 1.2rem; font-weight: 900; line-height: 1.15; white-space: nowrap; }
.mapa-rota__km { font-size: .8rem; color: #c9ccd4; }
.mapa-rota__marca { font-size: .7rem; font-weight: 900; color: #6fdc8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapa-rota__marca--ruim { color: #ff8a8f; }
.mapa-rota__marca--neutra { color: #9aa0ab; }
.mapa-rota__dados, .mapa-rota__linha2 { margin: 0; font-size: .82rem; color: #c9ccd4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapa-rota__linha2 { display: flex; gap: 10px; align-items: center; }
.mapa-rota__transito { flex: none; font-weight: 800; color: #6fdc8c; }
.mapa-rota__transito--ruim { color: #ff8a8f; }
.mapa-rota__alertas { min-width: 0; display: flex; align-items: center; gap: 4px; color: #ffd23f; overflow: hidden; text-overflow: ellipsis; --icone-acento: currentColor; }
.mapa-rota__alertas svg { flex: none; }
.mapa-rota__acoes { display: flex; gap: 6px; }
.mapa-rota__ir { flex: 1; min-height: 54px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.mapa-rota__mini { flex: none; width: 54px; min-height: 54px; padding: 0; border-color: #3a3f4a; }
/* A faixa dos caminhos é baixa e sem cabeçalho: o mapa fica com mais de dois terços da tela para mostrar por onde a rota passa. */
.mapa__folha:has(.mapa-rota__compacta) { border-top-width: 2px; border-radius: 16px 16px 0 0; }
.mapa__folha:has(.mapa-rota__compacta) .mapa__folha-cab { display: none; }
.mapa__folha:has(.mapa-rota__compacta) .mapa__folha-corpo { padding: 8px 10px 10px; }
.mapa:has(.mapa-rota__compacta) .mapa-rota-chip { display: none; }
/* Com rota na tela, sai da frente o que não ajuda a ver o caminho: aviso de "nenhum alerta", posts das Ruas e pinos grandes. */
.mapa--rota .mapa__aviso:not(.mapa__aviso--erro) { display: none; }
.mapa--rota .mapa-marc--post { display: none; }
.mapa--rota .mapa-pino, .mapa--rota .mapa-grupo { transform: scale(.72); }
.mapa-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mapa-passos li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 2px solid #3a3f4a; border-radius: 12px; background: #17191f; }
.mapa-passos__icone { flex: none; display: grid; place-items: center; --icone-acento: var(--vermelho); }
.mapa-passos__txt { flex: 1; min-width: 0; font-weight: 700; }
.mapa-passos__dist { flex: none; font-weight: 900; color: #c9ccd4; }
.mapa-nav { box-sizing: border-box; height: 112px; position: absolute; top: 8px; left: 8px; right: 70px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 16px; background: #10213a; border: 2px solid #3d9bff; color: #fff; }
.mapa-nav[hidden] { display: none; }
.mapa-nav__icone { flex: none; display: grid; place-items: center; --icone-acento: #fff; }
.mapa-nav__meio { flex: 1; min-width: 0; display: grid; }
.mapa-nav__dist { font-size: 1.7rem; font-weight: 900; line-height: 1; }
.mapa-nav__txt { font-size: 1.05rem; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mapa-nav__resto { margin-top: 2px; font-size: .82rem; color: #c9ccd4; }
.mapa-nav__x { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid #3a3f4a; border-radius: 14px; background: transparent; color: #fff; cursor: pointer; }
.mapa--nav .mapa__hud { top: 128px; }
.mapa--piloto .mapa__linha { display: none; }
.mapa--piloto .mapa-sugestoes { display: none; }

/* ---------- seta deitada no mapa, tema claro e voz ---------- */
/* A seta de pilotagem fica deitada no chão do mapa (o marcador inclina junto): maior, com sombra no asfalto, para dar a sensação de estar na rua. */
.mapa--piloto .mapa-eu__nav { width: 78px; height: 78px; filter: drop-shadow(0 0 3px rgba(0,0,0,.75)) drop-shadow(0 6px 4px rgba(0,0,0,.45)); }
.mapa--piloto .mapa-eu__giro::before { content: ""; position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(47,125,255,.34) 0, rgba(47,125,255,.16) 55%, rgba(47,125,255,0) 72%); }
.mapa--piloto .mapa-eu--velho .mapa-eu__giro::before { background: radial-gradient(circle, rgba(138,143,153,.3) 0, rgba(138,143,153,0) 70%); }
.mapa--claro.mapa--piloto .mapa-eu__nav { color: #0B0B0D; }
.mapa-opcoes { display: flex; gap: 8px; margin-bottom: 12px; }
.mapa-opcao { flex: 1; min-height: 48px; padding: 8px 10px; border: 2px solid #3a3f4a; border-radius: 12px; background: #17191f; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.mapa-opcao[aria-pressed="true"] { border-color: #3d9bff; background: #10213a; }
.mapa-opcao:focus-visible, .mapa-voz__item:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mapa-voz__liga { width: 100%; margin-bottom: 12px; }
.mapa-voz__liga[aria-pressed="false"] { background: transparent; }
.mapa-voz__tit { margin: 4px 0 8px; font-size: .9rem; color: #c9ccd4; text-transform: uppercase; letter-spacing: .05em; }
.mapa-voz__lista { display: grid; gap: 6px; margin-bottom: 12px; max-height: 34vh; overflow-y: auto; }
.mapa-voz__item { display: grid; gap: 2px; padding: 10px 12px; border: 2px solid #3a3f4a; border-radius: 12px; background: #17191f; color: #fff; text-align: left; font: inherit; cursor: pointer; }
.mapa-voz__item[aria-checked="true"] { border-color: #3d9bff; background: #10213a; }
.mapa-voz__nome { font-weight: 800; }
.mapa-voz__item small { color: #9aa0ab; }
.mapa-voz__dica { margin: 0; font-size: .82rem; color: #9aa0ab; }
/* Agulha do norte: gira ao contrário do mapa, para apontar sempre onde fica o norte. */
.mapa__btn--norte svg { transition: transform .08s linear; }

/* número da casa do destino em cima do pino (grande, para achar a porta certa) */
.mapa-destino { display: flex; flex-direction: column; align-items: center; }
.mapa-destino__num { background: #E11D2A; color: #fff; font: 800 18px/1 system-ui, sans-serif; padding: 5px 9px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.45); margin-bottom: 2px; }

/* no mapa, arrastar para baixo mexe no mapa: o navegador (Chrome) não pode entender como "puxar para recarregar" */
html:has(.mapa), body:has(.mapa) { overscroll-behavior-y: none; }
