/* Fontes locais (Monoton, Audiowide e Orbitron) */
@font-face { font-family: 'Audiowide'; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/audiowide-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Audiowide'; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/audiowide-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Monoton'; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/monoton-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Monoton'; font-style: normal; font-weight: 400; font-display: swap; src: url("fontes/monoton-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 800; font-display: swap; src: url("fontes/orbitron-latin.woff2") format("woff2"); }

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --rosa: #ff2e88;
  --ciano: #19e3ff;
  --laranja: #ff9a3c;
  --roxo: #2a0a3d;
  --fundo: #120518;
  --texto: #f3e8ff;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background:
    linear-gradient(rgba(18, 5, 24, 0.55), rgba(18, 5, 24, 0.55)),
    url("imagens/fundo.jpg") center top / cover no-repeat fixed,
    var(--fundo);
  color: var(--texto);
  line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

.aviso {
  background: var(--laranja);
  color: #1a0a00;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem;
}

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 5, 24, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 46, 136, 0.3);
}
.topo-conteudo { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.logo {
  font-size: 1.5rem; font-weight: 900; letter-spacing: 2px;
  color: var(--rosa); text-decoration: none;
  text-shadow: 0 0 10px var(--rosa);
  margin-right: auto;
}
.logo span { color: var(--ciano); text-shadow: 0 0 10px var(--ciano); }
nav a { color: var(--texto); text-decoration: none; margin-left: 1.25rem; font-weight: 500; }
nav a:hover { color: var(--ciano); }
.carrinho-btn {
  background: transparent; color: var(--texto);
  border: 2px solid var(--ciano); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 1rem; cursor: pointer;
}
.carrinho-btn span { color: var(--ciano); font-weight: 700; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(18, 5, 24, 0.85) 0%, rgba(18, 5, 24, 0.55) 40%, rgba(18, 5, 24, 0) 70%);
  padding: 7rem 0 5rem;
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
}
.sol {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  right: 8%; top: 50%; transform: translateY(-50%);
  background: repeating-linear-gradient(180deg, #ffd56b 0 22px, transparent 22px 30px);
  opacity: 0.85;
  filter: drop-shadow(0 0 40px #ff9a3c);
}
.hero-texto { position: relative; z-index: 1; max-width: 640px; }
.tag { text-transform: uppercase; letter-spacing: 3px; color: var(--ciano); font-weight: 700; margin-bottom: 0.5rem; }
.hero h1 { font-size: 3.2rem; line-height: 1.1; margin-bottom: 1rem; text-shadow: 3px 3px 0 var(--roxo); }
.hero h1 span { color: var(--ciano); }
.hero p { font-size: 1.15rem; margin-bottom: 2rem; }
.sol, .palmeiras { display: none; }
.palmeiras-antigo { position: absolute; bottom: 0.5rem; left: 0; right: 0; text-align: center; font-size: 3rem; letter-spacing: 3rem; opacity: 0.7; }

.botao {
  display: inline-block;
  background: var(--rosa); color: #fff;
  padding: 0.8rem 2rem; border: none; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 46, 136, 0.6);
  transition: transform 0.2s;
}
.botao:hover { transform: translateY(-2px); }

/* Seções */
.secao { padding: 5rem 0; background: rgba(18, 5, 24, 0.88); }
.secao-alt { background: rgba(28, 8, 38, 0.92); }
.secao h2 {
  font-family: 'Orbitron', 'Audiowide', sans-serif; font-weight: 800; letter-spacing: 0.03em;
  font-size: clamp(1.35rem, 5.2vw, 2.2rem); margin-bottom: 2rem; overflow-wrap: anywhere;
  color: var(--rosa); text-shadow: 0 0 12px rgba(255, 46, 136, 0.6);
}

/* Filtros */
.filtros { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filtro {
  background: transparent; color: var(--texto);
  border: 1px solid rgba(25, 227, 255, 0.5); border-radius: 999px;
  padding: 0.4rem 1.1rem; cursor: pointer; font-size: 0.95rem;
}
.filtro.ativo, .filtro:hover { background: var(--ciano); color: var(--fundo); }

.nota { font-size: 0.85rem; opacity: 0.8; margin: -1rem 0 1.5rem; }
.amarelo { color: #ffd23f; }
.filtro-unicas { border-color: #ffd23f; color: #ffd23f; }
.filtro-unicas.ativo, .filtro-unicas:hover { background: #ffd23f; color: #1a1000; }

.produto { position: relative; }
.produto.unica {
  border: 2px solid #ffd23f;
  background: linear-gradient(160deg, #3a2a08, #1a0f04);
  box-shadow: 0 0 16px rgba(255, 210, 63, 0.25);
}
.produto.unica h3 { color: #ffd23f; }
.selo-unica {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: #ffd23f; color: #1a1000;
  font-size: 0.7rem; font-weight: 800; padding: 0.15rem 0.5rem; border-radius: 4px;
}
.loja { font-size: 0.8rem; opacity: 0.75; margin-top: -0.4rem; }
.stat { font-size: 0.8rem; display: grid; grid-template-columns: 1fr auto; column-gap: 0.5rem; }
.stat .barra { grid-column: 1 / -1; }
.stat b { color: var(--ciano); }
.pente { font-size: 0.8rem; opacity: 0.8; }
.sem-dados { font-size: 0.8rem; opacity: 0.6; font-style: italic; }
.preco.indisponivel { font-size: 0.95rem; color: #999; }

.dourado { color: #ffd23f; text-shadow: 0 0 12px rgba(255, 210, 63, 0.6); }
.rotulo-filtro { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.6; margin-bottom: 0.4rem; }
#filtro-origem { margin-bottom: 1rem; }
.busca {
  width: 100%; padding: 0.75rem 1rem; margin-bottom: 1.5rem;
  background: #1c0826; color: var(--texto);
  border: 1px solid rgba(255, 210, 63, 0.4); border-radius: 10px; font-size: 1rem;
}
.busca:focus { outline: 2px solid #ffd23f; }

.progresso { margin-bottom: 1.5rem; }
.progresso span { font-weight: 700; color: #ffd23f; }
.progresso-trilho { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; margin-top: 0.4rem; }
#progresso-barra { height: 100%; width: 0; background: linear-gradient(90deg, #ffb300, #ffd23f); transition: width 0.3s; }

.tipo { font-size: 0.8rem; opacity: 0.75; margin-top: -0.4rem; }
.origem { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #ffd23f; }
.origem-desconhecida { color: #aaa; }
.como {
  font-family: "Consolas", "Cascadia Mono", "Courier New", monospace;
  font-size: 0.8rem; line-height: 1.5;
  color: #ffe9a8;
  background: rgba(255, 210, 63, 0.07);
  border-left: 3px solid #ffd23f;
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
}
.aviso-stat { font-size: 0.72rem; opacity: 0.6; font-style: italic; }

.tenho {
  background: transparent; color: var(--texto);
  border: 1px dashed rgba(255, 210, 63, 0.5); border-radius: 8px;
  padding: 0.4rem; cursor: pointer; font-size: 0.85rem;
}
.tenho.ativo { background: #2e7d32; border: 1px solid #66bb6a; color: #fff; }
.produto.coletada { opacity: 0.75; }
.produto.coletada .selo-unica { background: #66bb6a; }

/* Produtos */
.produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.produto {
  background: linear-gradient(160deg, #2a0f38, #170620);
  border: 1px solid rgba(255, 46, 136, 0.25);
  border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.produto:hover { transform: translateY(-4px); box-shadow: 0 0 22px rgba(25, 227, 255, 0.25); }
.produto .icone { font-size: 2.6rem; }
.produto h3 { color: var(--ciano); }
.produto .desc { font-size: 0.9rem; opacity: 0.85; }
.stat { font-size: 0.8rem; }
.barra { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-top: 2px; }
.barra div { height: 100%; background: linear-gradient(90deg, var(--rosa), var(--laranja)); }
.produto .rodape-card { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.6rem; }
.preco { font-size: 1.3rem; font-weight: 800; color: #7dff8a; }
.add { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Sobre */
.sobre { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; }
.sobre p { margin-bottom: 1rem; }
.selos { list-style: none; display: grid; gap: 1rem; }
.selos li {
  text-align: center; font-size: 1.6rem;
  background: rgba(25, 227, 255, 0.08);
  border: 1px solid rgba(25, 227, 255, 0.3);
  border-radius: 12px; padding: 1rem;
}
.selos small { font-size: 0.85rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card {
  background: #1c0826; border-left: 4px solid var(--ciano);
  border-radius: 10px; padding: 1.5rem;
}
.card h3 { color: var(--laranja); margin-bottom: 0.4rem; }

/* Carrinho */
.carrinho {
  position: fixed; top: 0; right: -400px; width: 360px; max-width: 90vw; height: 100vh;
  background: #1c0826; border-left: 2px solid var(--rosa);
  padding: 1.5rem; z-index: 40; transition: right 0.3s;
  display: flex; flex-direction: column; gap: 1rem;
}
.carrinho.aberto { right: 0; }
.carrinho-topo { display: flex; justify-content: space-between; align-items: center; }
.carrinho-topo h3 { color: var(--rosa); }
.fechar { background: none; border: none; color: var(--texto); font-size: 1.3rem; cursor: pointer; }
.itens { list-style: none; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.6rem; }
.itens li { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.05); padding: 0.6rem; border-radius: 8px; font-size: 0.9rem; }
.itens button { background: none; border: none; color: var(--rosa); cursor: pointer; font-size: 1rem; }
.total { font-size: 1.2rem; font-weight: 700; }
.total span { color: #7dff8a; }
.botao-cheio { width: 100%; }
.retorno { color: var(--ciano); font-weight: 600; min-height: 1.5em; }
.fundo-escuro { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 30; display: none; }
.fundo-escuro.ativo { display: block; }

.rodape { text-align: center; padding: 2rem 0; font-size: 0.85rem; opacity: 0.7; border-top: 1px solid rgba(255,46,136,0.2); }

@media (max-width: 700px) {
  .hero h1 { font-size: 2.2rem; }
  .sol { width: 220px; height: 220px; opacity: 0.4; }
  nav { display: none; }
  .sobre { grid-template-columns: 1fr; }
}

.backup { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.botao-sec {
  background: rgba(255, 210, 63, 0.1); color: #ffd23f;
  border: 1px solid rgba(255, 210, 63, 0.5); border-radius: 8px;
  padding: 0.45rem 0.9rem; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.botao-sec:hover { background: #ffd23f; color: #1a1000; }
.painel-codigo { margin-top: 0.8rem; padding: 0.8rem; background: rgba(28, 8, 38, 0.95); border: 1px solid rgba(255, 210, 63, 0.4); border-radius: 10px; font-size: 0.85rem; }
.painel-codigo textarea { width: 100%; margin-top: 0.5rem; background: #120518; color: #ffe9a8; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 0.5rem; font-family: Consolas, monospace; font-size: 0.75rem; }
.msg-backup { margin-top: 0.5rem; font-size: 0.85rem; color: #7dff8a; min-height: 1.2em; }

.preco-info { font-size: 0.85rem; margin-top: auto; padding-top: 0.4rem; }
.preco-info b { color: #7dff8a; }
.tenho { margin-top: auto; padding: 0.55rem; font-size: 0.9rem; font-weight: 600; }
.preco-info + .tenho { margin-top: 0.4rem; }

/* Vice Stock — logo */
.logo { font-weight: 400; letter-spacing: 1px; display: flex; align-items: baseline; gap: 0.5rem; }
.logo-vice { font-family: 'Monoton', sans-serif; font-size: 1.7rem; color: #ffe1ee; text-shadow: 0 0 3px #ff8cc6, 0 0 10px #ff3d9a, 0 0 22px #ff2e88; }
.logo .logo-stock { font-family: 'Audiowide', sans-serif; font-size: 1.15rem; letter-spacing: 4px; color: #e8fcff; text-shadow: 0 0 3px #2fd8ff, 0 0 10px #2fd8ff, 0 0 20px #2fd8ff; }
.hero-grade { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-logo {
  --tam: 420px;
  width: var(--tam); height: var(--tam); flex-shrink: 0;
  border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 3px rgba(255, 61, 154, 0.55), 0 0 40px rgba(255, 46, 136, 0.45), 0 0 90px rgba(47, 216, 255, 0.25);
}
.hero-logo iframe {
  width: 1080px; height: 1080px; border: 0; display: block; pointer-events: none;
  transform: scale(calc(420 / 1080)); transform-origin: 0 0;
}
@media (max-width: 700px) {
  .hero-logo { --tam: 280px; margin: 0 auto; }
  .hero-logo iframe { transform: scale(calc(280 / 1080)); }
}

/* ===== Arsenal: painel + mapa + catálogo (26/11) ===== */
.arsenal .container { max-width: 1400px; }
.arsenal-grade { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 2rem; align-items: start; }
.painel {
  position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto;
  background: rgba(28, 8, 38, 0.92); border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: 14px; padding: 1.2rem;
}
.painel .filtros { gap: 0.4rem; margin-bottom: 1.2rem; }
.painel .filtro { padding: 0.3rem 0.75rem; font-size: 0.82rem; }
.painel #filtro-origem { margin-bottom: 1.2rem; }
.painel .busca { margin-bottom: 1.2rem; font-size: 0.9rem; }
.ocultar { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.8rem; font-size: 0.9rem; cursor: pointer; }
.ocultar input { accent-color: #ffd23f; width: 1.1rem; height: 1.1rem; }
.backup-caixa summary { cursor: pointer; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.75; }
.backup-caixa .botao-sec { font-size: 0.8rem; padding: 0.35rem 0.6rem; }

.mapa-caixa {
  background: #0b0616; border: 1px solid rgba(255, 46, 136, 0.35); border-radius: 16px;
  padding: 1rem; margin-bottom: 2.5rem; scroll-margin-top: 5.5rem;
}
.mapa-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.mapa-topo h3, .catalogo-topo h3 { font-family: 'Audiowide', sans-serif; color: var(--ciano); letter-spacing: 2px; text-shadow: 0 0 10px rgba(25,227,255,0.5); }
.legenda { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.78rem; }
.legenda i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; margin-right: 0.3rem; vertical-align: -1px; }

.mapa-nota { font-size: 0.78rem; opacity: 0.65; margin-top: 0.6rem; }
.regiao { cursor: pointer; }
.regiao-area { fill: rgba(25, 227, 255, 0.04); stroke: rgba(25, 227, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 5 5; transition: fill 0.2s; }
.regiao:hover .regiao-area, .regiao.ativa .regiao-area { fill: rgba(255, 210, 63, 0.1); stroke: #ffd23f; stroke-dasharray: none; }
.regiao-nome { font-family: 'Audiowide', sans-serif; font-size: 15px; fill: #ffe9a8; letter-spacing: 2px; paint-order: stroke; stroke: #0b0616; stroke-width: 4px; }
.regiao-conta { font-size: 11px; fill: #ffd23f; font-weight: 700; paint-order: stroke; stroke: #0b0616; stroke-width: 3px; }
.marcador { cursor: pointer; transition: opacity 0.2s; }
.marcador text { font-size: 9px; font-weight: 800; fill: #12031f; pointer-events: none; }
.marcador.tem text { fill: #9dffb0; font-size: 11px; }
.marcador:hover circle, .marcador:focus circle { stroke: #fff; stroke-width: 2.5; }
.marcador:focus { outline: none; }
.marcador.apagado { opacity: 0.12; cursor: default; }
.marcador.pulsar circle { animation: pulsar 0.8s ease-in-out 4; }
@keyframes pulsar { 50% { stroke: #fff; stroke-width: 6; } }

.catalogo-topo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
#ordem { background: #1c0826; color: var(--texto); border: 1px solid rgba(255, 210, 63, 0.4); border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 0.9rem; }
.card-topo { display: flex; justify-content: space-between; align-items: center; }
.produto .selo-unica { position: static; }
.numero { font-family: 'Audiowide', sans-serif; color: #ffd23f; font-size: 0.85rem; letter-spacing: 1px; }
.link-ficha { all: unset; cursor: pointer; color: #ffd23f; }
.link-ficha:hover, .link-ficha:focus-visible { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.chip-regiao { font-size: 0.72rem; background: rgba(25, 227, 255, 0.12); border: 1px solid rgba(25, 227, 255, 0.4); color: var(--ciano); padding: 0.1rem 0.5rem; border-radius: 999px; }
.card-acoes { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; margin-top: auto; }
.stat b i { font-style: normal; font-size: 0.72rem; margin-left: 0.3rem; }
.stat b i.mais { color: #7dff8a; }
.stat b i.menos { color: #ff6b8b; }

.ficha {
  margin: auto; inset: 0; position: fixed;
  width: min(560px, 92vw); max-height: 90vh; overflow-y: auto;
  background: linear-gradient(160deg, #3a2a08, #1a0f04 55%, #120518);
  color: var(--texto); border: 2px solid #ffd23f; border-radius: 16px; padding: 1.5rem;
  box-shadow: 0 0 40px rgba(255, 210, 63, 0.3);
}
.ficha::backdrop { background: rgba(5, 0, 10, 0.75); backdrop-filter: blur(3px); }
.ficha-cabeca { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.ficha-cabeca .icone { font-size: 3rem; }
.ficha-cabeca h3 { color: #ffd23f; font-size: 1.5rem; }
.ficha .fechar { background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--texto); border-radius: 8px; width: 2.5rem; height: 2.5rem; cursor: pointer; font-size: 1.1rem; }
.ficha h4 { margin: 1.2rem 0 0.5rem; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: var(--ciano); }
.ficha .stat { font-size: 0.9rem; margin-bottom: 0.4rem; }
.ficha .como { font-size: 0.9rem; }
.ficha .card-acoes { margin-top: 1.2rem; }
.ficha-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; }
.ficha-specs dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.ficha-specs dd { font-weight: 700; }

@media (max-width: 900px) {
  .arsenal-grade { grid-template-columns: 1fr; }
  .painel { position: static; max-height: none; }
}


/* Mapa real com zoom */
/* A janela tem a mesma proporção do mapa (6460×9100): aparece inteiro, na largura toda, sem faixas nas laterais */
.mapa-janela { position: relative; width: 100%; aspect-ratio: 6460 / 9100; overflow: hidden; border-radius: 12px; background: #52adca; }
#mapa { width: 100%; height: 100%; display: block; touch-action: pan-x pan-y; }
#mapa.com-zoom { touch-action: none; }
#mapa.com-zoom { cursor: grab; }
#mapa.arrastando { cursor: grabbing; user-select: none; }
.pino-lugar { fill: #fff; stroke: #12031f; stroke-width: 1; pointer-events: none; }
.mapa-area { position: relative; }
/* Mapa 30% menor no computador, centralizado; no celular continua na largura toda */
@media (min-width: 700px) { .mapa-area { width: 70%; margin-inline: auto; } }
.zoom { position: absolute; top: 0.7rem; bottom: 0.7rem; left: 0.7rem; z-index: 2; pointer-events: none; }
.zoom-botoes { position: sticky; top: 6rem; display: flex; flex-direction: column; gap: 0.3rem; pointer-events: auto; }
.zoom button { width: 2.4rem; height: 2.4rem; border-radius: 8px; border: 1px solid #ffd23f; background: rgba(18,5,24,0.9); color: #ffd23f; font-size: 1.2rem; cursor: pointer; }
.zoom button:hover { background: #ffd23f; color: #1a1000; }
.marcador text { font-size: 10px; }
.marcador.tem text { fill: #fff; font-size: 12px; }
.marcador.apagado { opacity: 0.18; }
.filtro small { opacity: 0.7; font-size: 0.72rem; margin-left: 0.2rem; }

/* Capítulos */
.chip-cap { font-size: 0.72rem; background: rgba(178, 107, 255, 0.14); border: 1px solid rgba(178, 107, 255, 0.5); color: #d9b8ff; padding: 0.1rem 0.5rem; border-radius: 999px; }
.chip-cap.perdivel { background: rgba(255, 70, 90, 0.16); border-color: #ff4d6a; color: #ffb3bf; font-weight: 700; }
.chip-cap.incerto { opacity: 0.7; }
.filtro-alerta { border-color: rgba(255, 77, 106, 0.7); color: #ffb3bf; }
.filtro-alerta.ativo, .filtro-alerta:hover { background: #ff4d6a; color: #fff; }
.dica-cap { font-size: 0.75rem; opacity: 0.65; margin: -0.6rem 0 1.2rem; }
.aviso-cap { font-size: 0.9rem; padding: 0.5rem 0.7rem; border-radius: 8px; background: rgba(178, 107, 255, 0.12); border: 1px solid rgba(178, 107, 255, 0.4); }
.aviso-cap.perdivel { background: rgba(255, 70, 90, 0.14); border-color: #ff4d6a; }

/* Fotos das armas */
.produto .foto { all: unset; cursor: pointer; display: block; margin: 0 -0.4rem; border-radius: 10px; overflow: hidden; background: #0e0814; aspect-ratio: 2 / 1; }
.produto .foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.produto .foto:hover img, .produto .foto:focus-visible img { transform: scale(1.06); }
.ficha-foto { width: calc(100% + 3rem); margin: -1.5rem -1.5rem 1rem; display: block; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px 14px 0 0; }
.ficha-cabeca.sem-icone { grid-template-columns: 1fr auto; }
.ficha .card-acoes { grid-template-columns: 1fr auto; }
.link-foto { text-decoration: none; display: inline-flex; align-items: center; }
@media (max-width: 600px) { .ficha .card-acoes { grid-template-columns: 1fr; } }

.produto .foto { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 45%, rgba(255,210,63,0.16), rgba(0,0,0,0.35) 70%); }
.produto .foto img { object-fit: contain; padding: 0.6rem; box-sizing: border-box; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.6)); }
.produto .foto span { position: absolute; right: 0.5rem; bottom: 0.35rem; font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; }
.ficha-fotos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.6rem; margin-bottom: 1rem; }
.ficha-fotos figure { margin: 0; background: radial-gradient(circle at 50% 45%, rgba(255,210,63,0.16), rgba(0,0,0,0.4) 70%); border-radius: 10px; overflow: hidden; }
.ficha-fotos img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.ficha-fotos figcaption { font-size: 0.7rem; opacity: 0.65; padding: 0.3rem 0.5rem; }

/* Acessórios */
.acessorios { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.acessorios span { font-size: 0.7rem; background: rgba(255, 210, 63, 0.12); border: 1px solid rgba(255, 210, 63, 0.4); color: #ffe9a8; padding: 0.1rem 0.45rem; border-radius: 6px; }
.acessorios.vazio { font-size: 0.72rem; opacity: 0.6; }
.acessorios.grande span { font-size: 0.85rem; padding: 0.25rem 0.6rem; }
.card-acoes { grid-template-columns: 1fr auto; }
.card-acoes .comparar-btn { grid-column: 1 / -1; }
.comparar-btn.ativo { background: #ffd23f; color: #1a1000; }

/* Comparador */
.comparar-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.comparar-form .busca { flex: 1 1 280px; margin: 0; }
.comp-vazio { opacity: 0.7; }
.comp-grade { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1rem; }
.comp-col { position: relative; background: linear-gradient(160deg, #3a2a08, #1a0f04); border: 2px solid #ffd23f; border-radius: 14px; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.comp-col img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: radial-gradient(circle, rgba(255,210,63,0.15), transparent 70%); border-radius: 10px; }
.comp-col h3 { color: #ffd23f; padding-right: 2rem; }
.comp-col .stat.top b, .comp-linha.top dd { color: #7dff8a; }
.comp-col dl { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.comp-linha { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.35rem; }
.comp-linha dt { opacity: 0.6; }
.comp-remover { position: absolute; top: 0.8rem; right: 0.8rem; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--texto); border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer; }
.comp-dica { font-size: 0.8rem; opacity: 0.65; margin-top: 0.8rem; }
@media (max-width: 800px) { .comp-grade { grid-template-columns: 1fr; } }
.produto .foto img[src*="GTA%206"], .comp-col img[src*="GTA%206"] { object-fit: cover; padding: 0; filter: none; }
.ficha-fotos img[src*="GTA%206"] { object-fit: cover; }

/* Barra de rolagem roxa arredondada */
@-moz-document url-prefix() { * { scrollbar-color: #b57cff #2a0f45; } }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: #2a0f45; border-radius: 999px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #c99bff, #9b5cff); border-radius: 999px; border: 3px solid #2a0f45; min-height: 40px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #dcbcff, #b57cff); }
::-webkit-scrollbar-button { display: none; height: 0; width: 0; }
::-webkit-scrollbar-corner { background: transparent; }

/* Barra de rolagem amarela na ficha da arma */
.ficha::-webkit-scrollbar-track, .ficha *::-webkit-scrollbar-track { background: #2e2104; }
.ficha::-webkit-scrollbar-thumb, .ficha *::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ffe27a, #e0a800); border-color: #2e2104; }
.ficha::-webkit-scrollbar-thumb:hover, .ficha *::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fff0b0, #ffd23f); }
@-moz-document url-prefix() { .ficha, .ficha * { scrollbar-color: #ffd23f #2e2104; } }

.acessorios span { display: inline-flex; align-items: center; gap: 0.35rem; }
.ic-acessorio { width: 1.35em; height: 1.35em; color: #ffd23f; flex: none; }
.acessorios.grande .ic-acessorio { width: 1.6em; height: 1.6em; }

/* =========================================================
   Animações e interações com o mouse
   ========================================================= */
.linha-rolagem { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #ff2e88, #b26bff, #19e3ff, #ffd23f); box-shadow: 0 0 10px #ff2e88; pointer-events: none; }
.luz-mouse { position: fixed; left: 0; top: 0; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255, 46, 136, 0.16), rgba(178, 107, 255, 0.08) 40%, transparent 70%);
  opacity: 0; transition: opacity 0.4s; }
.hero-texto { transition: transform 0.25s ease-out; }

/* Título do topo com brilho correndo */
.animado .hero h1 > span:last-of-type {
  background: linear-gradient(90deg, #19e3ff 0%, #19e3ff 40%, #ffffff 50%, #19e3ff 60%, #19e3ff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilho-texto 4.5s linear infinite; text-shadow: none; filter: drop-shadow(3px 3px 0 var(--roxo));
}
@keyframes brilho-texto { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.animado .hero .dourado { display: inline-block; animation: flutua 3s ease-in-out infinite; }
@keyframes flutua { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* Logo neon piscando de vez em quando */
.animado .logo-vice { animation: neon-pisca 6s infinite; }
@keyframes neon-pisca { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.4; } 94% { opacity: 1; } 96% { opacity: 0.55; } 97% { opacity: 1; } }
.logo-vice, .logo-stock { transition: text-shadow 0.3s, letter-spacing 0.3s; }
a:hover .logo-vice, .logo-vice:hover { text-shadow: 0 0 4px #fff, 0 0 14px #ff3d9a, 0 0 34px #ff2e88, 0 0 60px #ff2e88; }

/* Menu com sublinhado neon */
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ciano);
  box-shadow: 0 0 8px var(--ciano); transform: scaleX(0); transition: transform 0.3s; }
nav a:hover::after { transform: scaleX(1); }

/* Cards: inclinação 3D e reflexo */
.produto, .comp-col { transform-style: preserve-3d; }
.produto.inclinado, .comp-col.inclinado { will-change: transform; }
.produto { transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, opacity 0.6s; }
.produto::after, .comp-col::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 45%); }
.produto.inclinado, .comp-col.inclinado { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px) scale(1.015); transition: transform 0.08s linear, box-shadow 0.3s; }
.produto.inclinado::after, .comp-col.inclinado::after { opacity: 1; }
.produto.unica.inclinado { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 210, 63, 0.45); }
.comp-col { transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s, opacity 0.6s; }
.produto .foto img { transition: transform 0.5s cubic-bezier(.2,.8,.2,1), filter 0.4s; }
.produto:hover .foto img { transform: scale(1.08) rotate(-2deg); filter: drop-shadow(0 8px 14px rgba(255, 210, 63, 0.35)); }
.produto:hover h3 { text-shadow: 0 0 12px rgba(255, 210, 63, 0.6); }
.produto .selo-unica { transition: transform 0.3s; }
.produto:hover .selo-unica { transform: rotate(-4deg) scale(1.08); }

/* Entrada ao rolar */
.animado .produto:not(.visivel), .animado .comp-col:not(.visivel), .animado .revela:not(.visivel) { opacity: 0; transform: translateY(30px) scale(0.97); }
.animado .produto.visivel, .animado .comp-col.visivel, .animado .revela.visivel { animation: entra 0.6s cubic-bezier(.2,.8,.2,1) var(--atraso, 0ms) both; }
@keyframes entra { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }
.animado .visivel.entrou, .animado .produto.inclinado { animation: none; }
.revela { transition: opacity 0.6s, transform 0.6s; }

/* Barras de atributo enchendo */
.barra div { transition: width 1s cubic-bezier(.2,.8,.2,1) 0.15s; position: relative; overflow: hidden; }
.animado .produto:not(.visivel) .barra div, .animado .comp-col:not(.visivel) .barra div, .animado .ficha:not(.cheia) .barra div { width: 0 !important; }
.barra div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: translateX(-100%); }
.produto:hover .barra div::after, .comp-col:hover .barra div::after, .ficha .barra div::after { animation: corre 1.2s ease-in-out; }
@keyframes corre { to { transform: translateX(100%); } }
.stat { transition: transform 0.2s; }
.stat:hover { transform: translateX(4px); }

/* Botões */
.botao { transition: transform 0.15s ease-out, box-shadow 0.3s; position: relative; overflow: hidden; }
.botao:hover { box-shadow: 0 0 28px rgba(255, 46, 136, 0.9), 0 0 60px rgba(255, 46, 136, 0.35); }
.botao-sec, .tenho, .filtro { transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s; }
.botao-sec:hover, .tenho:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 210, 63, 0.25); }
.filtro:hover { transform: translateY(-2px); box-shadow: 0 0 12px rgba(25, 227, 255, 0.45); }
.filtro.pulo { animation: pulo 0.4s cubic-bezier(.3,1.6,.5,1); }
@keyframes pulo { 0% { transform: scale(0.88); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.onda { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transform: scale(0); pointer-events: none;
  animation: onda 0.65s ease-out forwards; }
@keyframes onda { to { transform: scale(1); opacity: 0; } }
.tenho.ativo { animation: coletou 0.5s cubic-bezier(.3,1.6,.5,1); }
@keyframes coletou { 0% { transform: scale(0.85); } 100% { transform: scale(1); } }

/* Faíscas ao coletar */
.faisca { position: fixed; width: 7px; height: 7px; border-radius: 2px; z-index: 1000; pointer-events: none;
  animation: faisca 0.9s cubic-bezier(.15,.7,.3,1) forwards; box-shadow: 0 0 6px currentColor; }
@keyframes faisca { from { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 40px)) rotate(var(--rot)) scale(0.4); opacity: 0; } }

/* Acessórios */
.acessorios span { transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
.acessorios span:hover { transform: translateY(-2px) scale(1.05); background: rgba(255, 210, 63, 0.25); box-shadow: 0 0 12px rgba(255, 210, 63, 0.35); }
.acessorios span:hover .ic-acessorio { animation: balanca 0.5s ease-in-out; }
@keyframes balanca { 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }

/* Chips */
.chips > span { transition: transform 0.2s, box-shadow 0.2s; }
.chips > span:hover { transform: translateY(-2px); box-shadow: 0 0 10px currentColor; }

/* Ficha abrindo */
.ficha[open] { animation: ficha-abre 0.45s cubic-bezier(.2,.9,.25,1.1); }
@keyframes ficha-abre { from { opacity: 0; transform: translateY(40px) scale(0.92) rotateX(8deg); } to { opacity: 1; transform: none; } }
.ficha[open]::backdrop { animation: fundo-abre 0.4s ease; }
@keyframes fundo-abre { from { opacity: 0; } }
.ficha-fotos img { transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.ficha-fotos figure:hover img { transform: scale(1.06); }
.ficha .acessorios span { animation: entra 0.5s cubic-bezier(.2,.8,.2,1) both; }
.ficha .acessorios span:nth-child(2) { animation-delay: 0.08s; } .ficha .acessorios span:nth-child(3) { animation-delay: 0.16s; }
.ficha .acessorios span:nth-child(4) { animation-delay: 0.24s; } .ficha .acessorios span:nth-child(5) { animation-delay: 0.32s; }

/* Mapa: marcadores crescem no hover */
.marcador circle { transform-box: fill-box; transform-origin: center; transition: transform 0.2s cubic-bezier(.3,1.6,.5,1); }
.marcador:hover circle { transform: scale(1.45); filter: drop-shadow(0 0 6px #fff); }
.zoom button { transition: transform 0.2s, box-shadow 0.2s; }
.zoom button:hover { transform: scale(1.1); box-shadow: 0 0 14px rgba(25, 227, 255, 0.6); }

/* Barra de coleção com brilho */
#progresso-barra { position: relative; overflow: hidden; transition: width 0.6s cubic-bezier(.2,.8,.2,1); }
#progresso-barra::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: corre 2.2s ease-in-out infinite; transform: translateX(-100%); }

/* Melhor valor no comparador pulsando */
.comp-col .stat.top b, .comp-linha.top dd { animation: destaque 1.8s ease-in-out infinite; }
@keyframes destaque { 50% { text-shadow: 0 0 10px #7dff8a; } }
.comp-remover { transition: transform 0.25s, background 0.2s; }
.comp-remover:hover { transform: rotate(90deg); background: rgba(255, 46, 136, 0.4); }

/* Campo de busca acende */
.busca { transition: border-color 0.25s, box-shadow 0.25s; }
.busca:focus { box-shadow: 0 0 0 3px rgba(25, 227, 255, 0.25), 0 0 18px rgba(25, 227, 255, 0.35); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =========================================================
   Painel de filtros — visual novo
   ========================================================= */
.painel {
  position: sticky; isolation: isolate;
  background:
    radial-gradient(120% 40% at 0% 0%, rgba(255, 46, 136, 0.16), transparent 60%) padding-box,
    linear-gradient(170deg, rgb(40, 12, 58), rgb(16, 4, 26)) padding-box,
    conic-gradient(from var(--giro, 0deg), #ff2e88, #b26bff, #19e3ff, #ffd23f, #ff2e88) border-box;
  background-attachment: local, local, scroll;
  border: 1.5px solid transparent; border-radius: 20px; padding: 1.1rem 1rem 1.2rem;
  animation: gira-borda 8s linear infinite;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
@property --giro { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes gira-borda { to { --giro: 360deg; } }

/* Progresso com anel */
.painel .progresso {
  display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.9rem; align-items: center;
  padding: 0.9rem; margin-bottom: 1rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 210, 63, 0.14), rgba(255, 46, 136, 0.08));
  border: 1px solid rgba(255, 210, 63, 0.28);
}
.anel { position: relative; width: 64px; height: 64px; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel circle { fill: none; stroke-width: 6; }
.anel-fundo { stroke: rgba(255, 255, 255, 0.08); }
.anel-cheio { stroke: url(#grad-anel); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: calc(169.6 * (1 - var(--pct)));
  transition: stroke-dashoffset 0.8s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 4px rgba(255, 210, 63, 0.7)); }
.anel b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.85rem; color: #ffe9a8; }
.progresso-info { min-width: 0; }
.progresso-info small { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.6; }
.painel .progresso span#progresso-texto { font-size: 1.05rem; font-weight: 800; color: #ffd23f; text-shadow: 0 0 12px rgba(255, 210, 63, 0.4); }
.painel .progresso-trilho { height: 6px; margin-top: 0.35rem; background: rgba(0, 0, 0, 0.35); }

/* Chave liga/desliga */
.painel .ocultar { grid-column: 1 / -1; margin-top: 0.4rem; font-size: 0.85rem; user-select: none; }
.ocultar input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chave { position: relative; width: 38px; height: 22px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18); transition: background 0.25s, box-shadow 0.25s; }
.chave::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.3s cubic-bezier(.3,1.5,.5,1); }
.ocultar input:checked + .chave { background: linear-gradient(90deg, #ffb300, #ffd23f); box-shadow: 0 0 12px rgba(255, 210, 63, 0.6); }
.ocultar input:checked + .chave::after { transform: translateX(16px); }
.ocultar input:focus-visible + .chave { outline: 2px solid var(--ciano); outline-offset: 2px; }

/* Busca com lupa */
.busca-caixa { position: relative; margin-bottom: 0.8rem; }
.busca-caixa svg { position: absolute; left: 0.85rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  fill: none; stroke: #ffd23f; stroke-width: 2; stroke-linecap: round; opacity: 0.8; pointer-events: none; }
.painel .busca { margin: 0; padding: 0.7rem 0.9rem 0.7rem 2.5rem; border-radius: 12px; font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.12); }
.painel .busca:focus { outline: none; border-color: var(--ciano); }

/* Grupos recolhíveis */
.grupo { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 0.75rem 0 0.2rem; }
.grupo summary, .backup-caixa summary { list-style: none; display: flex; align-items: center; gap: 0.55rem; cursor: pointer;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.2px; color: #e9d6ff; opacity: 1; margin-bottom: 0.6rem; }
.grupo summary::-webkit-details-marker, .backup-caixa summary::-webkit-details-marker { display: none; }
.grupo summary::after, .backup-caixa summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s; opacity: 0.6; }
.grupo:not([open]) summary::after, .backup-caixa:not([open]) summary::after { transform: rotate(-45deg); }
.grupo:not([open]) summary { margin-bottom: 0.4rem; }
.g-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 0.8rem; letter-spacing: 0;
  background: linear-gradient(135deg, rgba(255, 46, 136, 0.35), rgba(178, 107, 255, 0.35)); box-shadow: 0 0 10px rgba(255, 46, 136, 0.25); }
.grupo summary:hover { color: #fff; }
.grupo[open] > *:not(summary) { animation: abre-grupo 0.35s ease; }
@keyframes abre-grupo { from { opacity: 0; transform: translateY(-6px); } }

/* Chips gerais */
.painel .filtros { gap: 0.4rem; margin-bottom: 0.9rem; }
.painel .filtro {
  padding: 0.32rem 0.8rem; font-size: 0.8rem; font-weight: 600; color: #e7dcf5;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
}
.painel .filtro:hover { background: rgba(25, 227, 255, 0.14); border-color: rgba(25, 227, 255, 0.6); color: #fff; }
.painel .filtro.ativo { color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #ff2e88, #b26bff); box-shadow: 0 4px 16px rgba(255, 46, 136, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

/* Regiões em lista com mini barra */
.lista-regioes { display: grid !important; grid-template-columns: 1fr; gap: 0.3rem !important; }
.lista-regioes .filtro { position: relative; display: flex; align-items: center; justify-content: space-between; text-align: left;
  padding: 0.45rem 0.75rem 0.55rem; overflow: hidden; }
.lista-regioes .filtro small { font-size: 0.7rem; font-weight: 700; padding: 0.05rem 0.45rem; border-radius: 999px;
  background: rgba(0, 0, 0, 0.35); color: #9ff3ff; opacity: 1; margin: 0; }
.lista-regioes .filtro.ativo small { background: rgba(255, 255, 255, 0.22); color: #fff; }
.r-barra { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.22rem; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.r-barra::after { content: ""; position: absolute; inset: 0; right: auto; width: calc(var(--pct, 0) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, #19e3ff, #7dff8a); box-shadow: 0 0 6px #19e3ff; transition: width 0.6s; }

/* Capítulos em linha do tempo */
#filtro-cap { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.cap-todos { width: 100%; }
.linha-caps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; margin: 0.25rem 0 0.2rem; }
.linha-caps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; z-index: 0;
  background: linear-gradient(90deg, #ff2e88, #b26bff, #19e3ff); opacity: 0.5; }
.painel .filtro.cap { position: relative; z-index: 1; aspect-ratio: 1; padding: 0; border-radius: 50%; font-size: 0.95rem; font-weight: 800;
  background: #1a0828; border: 2px solid rgba(178, 107, 255, 0.55); display: grid; place-items: center; }
.painel .filtro.cap:hover { border-color: var(--ciano); background: #1a0828; box-shadow: 0 0 12px rgba(25, 227, 255, 0.5); }
.painel .filtro.cap.ativo { border-color: #fff; }
.sub-rotulo { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.8px; color: #ff9fb0; margin: 0.5rem 0 0.1rem; }
.painel .filtro-alerta { background: rgba(255, 77, 106, 0.08); border-color: rgba(255, 77, 106, 0.45); color: #ffc1cb; text-align: left; }
.painel .filtro-alerta:hover { background: rgba(255, 77, 106, 0.2); border-color: #ff4d6a; color: #fff; box-shadow: 0 0 12px rgba(255, 77, 106, 0.45); }
.painel .filtro-alerta.ativo { background: linear-gradient(135deg, #ff4d6a, #ff2e88); box-shadow: 0 4px 16px rgba(255, 77, 106, 0.5); }
.painel .dica-cap { display: flex; gap: 0.5rem; margin: 0 0 0.9rem; padding: 0.6rem 0.7rem; border-radius: 10px; font-size: 0.72rem; line-height: 1.45; opacity: 1;
  color: #cbb8e0; background: rgba(25, 227, 255, 0.06); border-left: 3px solid var(--ciano); }
.dica-cap span { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 0.7rem; font-weight: 800;
  background: var(--ciano); color: #12031f; }

/* Como conseguir em grade */
.grade-origem { display: grid !important; grid-template-columns: 1fr 1fr; }
.grade-origem .inteira { grid-column: 1 / -1; }
.grade-origem .filtro { display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.6rem; text-align: left; }
.grade-origem .filtro i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(0, 0, 0, 0.3); font-size: 0.8rem; flex: none; }
.grade-origem .inteira { justify-content: center; }

/* Backup */
.painel .backup-caixa { border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 0.75rem; }
.painel .backup-caixa summary { margin-bottom: 0; }
.painel .backup-caixa[open] summary { margin-bottom: 0.4rem; }
.painel .filtro.cap.ativo { background: linear-gradient(135deg, #ff2e88, #b26bff); border-color: #fff; box-shadow: 0 0 16px rgba(255, 46, 136, 0.7); transform: scale(1.08); }

/* Faixa de filtros aplicados */
.filtros-ativos {
  margin-bottom: 1.2rem; padding: 0.8rem 1rem; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 46, 136, 0.12), rgba(178, 107, 255, 0.10) 50%, rgba(25, 227, 255, 0.08));
  border: 1px solid rgba(178, 107, 255, 0.35); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.filtros-ativos.vazio { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); box-shadow: none; }
.ativos-cabeca { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ativos-titulo { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.2px; color: #e9d6ff; }
.ativos-conta { font-size: 0.85rem; opacity: 0.85; }
.ativos-conta b { color: #ffd23f; font-size: 1.05rem; }
.ativos-nenhum { font-size: 0.82rem; opacity: 0.55; margin-top: 0.3rem; }
.ativos-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.6rem; }
.chip-ativo {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  padding: 0.3rem 0.4rem 0.3rem 0.75rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #ff2e88, #b26bff); border: none;
  box-shadow: 0 3px 12px rgba(255, 46, 136, 0.35); animation: chip-entra 0.35s cubic-bezier(.3,1.5,.5,1);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.chip-ativo small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 1.2px; opacity: 0.8; font-weight: 700;
  padding-right: 0.45rem; border-right: 1px solid rgba(255, 255, 255, 0.35); }
.chip-ativo span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.28); transition: transform 0.25s, background 0.2s; }
.chip-ativo:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 46, 136, 0.55); }
.chip-ativo:hover span { transform: rotate(90deg); background: rgba(0, 0, 0, 0.5); }
.chip-ativo.alerta { background: linear-gradient(135deg, #ff4d6a, #ff2e88); }
.chip-ativo.busca-ativa { background: linear-gradient(135deg, #0fb5cc, #6a5cff); box-shadow: 0 3px 12px rgba(25, 227, 255, 0.35); }
.limpar-tudo { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.35); color: #ffd2e4; border-radius: 999px;
  padding: 0.3rem 0.85rem; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.limpar-tudo:hover { background: rgba(255, 46, 136, 0.18); border-color: #ff2e88; color: #fff; }
@keyframes chip-entra { from { opacity: 0; transform: scale(0.7); } }

.ficha-fotos figure:only-child { grid-column: 1 / -1; }
.ficha-fotos figure:only-child img { aspect-ratio: 16 / 8; }

/* Fotos ampliáveis */
.ampliavel { position: relative; cursor: zoom-in; }
.ampliavel::after { content: "⤢"; position: absolute; top: 0.5rem; right: 0.5rem; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #ffd23f; font-size: 1rem; opacity: 0; transform: scale(0.7); transition: opacity 0.25s, transform 0.25s; }
.ampliavel:hover::after, .ampliavel:focus-visible::after { opacity: 1; transform: scale(1); }
.ampliavel:focus-visible { outline: 2px solid #ffd23f; outline-offset: 2px; }

/* Visor */
.visor { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: none; background: transparent;
  display: none; align-items: center; justify-content: center; color: #fff; }
.visor[open] { display: flex; animation: fundo-abre 0.25s ease; }
.visor::backdrop { background: rgba(5, 0, 10, 0.9); backdrop-filter: blur(6px); }
.visor figure { margin: 0; max-width: 90vw; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.visor img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 210, 63, 0.15); }
.visor img.entra { animation: visor-entra 0.35s cubic-bezier(.2,.9,.25,1.1); }
@keyframes visor-entra { from { opacity: 0; transform: scale(0.92); } }
.visor figcaption { display: flex; gap: 1rem; align-items: center; font-weight: 700; color: #ffd23f; }
.visor-conta { font-weight: 500; color: #cbb8e0; font-size: 0.85rem; }
.visor button { position: fixed; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(30, 10, 45, 0.7);
  color: #fff; border-radius: 50%; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.visor button:hover { background: linear-gradient(135deg, #ff2e88, #b26bff); box-shadow: 0 0 20px rgba(255, 46, 136, 0.6); transform: scale(1.1); }
.visor-fechar { top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.1rem; }
.visor-ant, .visor-prox { top: 50%; width: 54px; height: 54px; font-size: 2rem; line-height: 1; margin-top: -27px; }
.visor-ant { left: 1.5rem; } .visor-prox { right: 1.5rem; }
.visor.unica .visor-ant, .visor.unica .visor-prox { display: none; }

.mapa-janela { position: relative; }
#mapa image { image-rendering: auto; }

/* Posição aproximada no mapa */
.area-aprox { fill: rgba(255, 255, 255, 0.10); stroke: #fff; pointer-events: none; animation: aprox-pulsa 2.4s ease-in-out infinite; }
.area-aprox.apagado { opacity: 0.12; animation: none; }
@keyframes aprox-pulsa { 50% { fill: rgba(255, 255, 255, 0.2); } }
.chip-regiao.aprox { border-style: dashed; }

/* ---------- Ranking ---------- */
.ranking {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 46, 136, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(25, 227, 255, 0.08), transparent 70%),
    rgba(18, 5, 24, 0.9);
}
.rank-abas { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1rem; }
.rank-aba {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); color: var(--texto);
  border: 1px solid rgba(178, 107, 255, 0.45); border-radius: 999px;
  padding: 0.55rem 1.1rem; font-weight: 600; font-size: 0.92rem;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
.rank-aba span { font-size: 1.05rem; }
.rank-aba:hover { transform: translateY(-2px); border-color: var(--ciano); box-shadow: 0 0 14px rgba(25, 227, 255, 0.35); }
.rank-aba.ativa { background: linear-gradient(90deg, var(--rosa), #b26bff); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(255, 46, 136, 0.55); }
.rank-aba:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; }
.rank-tipos { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.8rem; }
.rank-tipos .filtro { padding: 0.3rem 0.75rem; font-size: 0.82rem; }
.rank-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.rank-cabeca h3 { font-family: "Audiowide", sans-serif; color: #ffd23f; font-size: 1.3rem; letter-spacing: 0.03em; text-shadow: 0 0 10px rgba(255, 210, 63, 0.45); }
.rank-cabeca small { opacity: 0.65; font-size: 0.8rem; }

.rank-lista { list-style: none; display: grid; gap: 0.75rem; padding: 0; margin: 0; }
.rank-item {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 3rem 7rem minmax(0, 1fr) 9rem; align-items: center; gap: 1.1rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(100deg, rgba(42, 10, 61, 0.88), rgba(28, 8, 38, 0.78));
  border: 1px solid rgba(178, 107, 255, 0.3); border-radius: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.rank-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.09) 50%, transparent 65%);
  transform: translateX(-100%);
}
.rank-item:hover { transform: translateX(6px); border-color: var(--ciano); box-shadow: 0 0 22px rgba(25, 227, 255, 0.22); }
.rank-item:hover::after { transform: translateX(100%); transition: transform 0.8s ease; }
.rank-item.p1 { border-color: rgba(255, 210, 63, 0.8); background: linear-gradient(100deg, rgba(80, 56, 8, 0.9), rgba(42, 10, 61, 0.82)); box-shadow: 0 0 24px rgba(255, 210, 63, 0.18); }
.rank-item.p2 { border-color: rgba(217, 226, 255, 0.55); background: linear-gradient(100deg, rgba(60, 64, 90, 0.75), rgba(42, 10, 61, 0.82)); }
.rank-item.p3 { border-color: rgba(255, 154, 60, 0.6); background: linear-gradient(100deg, rgba(80, 38, 10, 0.8), rgba(42, 10, 61, 0.82)); }

.rank-pos {
  position: relative; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  font-family: "Audiowide", sans-serif; font-size: 1.15rem; border: 2px solid rgba(255, 255, 255, 0.22);
}
.p1 .rank-pos { border-color: #ffd23f; color: #ffd23f; box-shadow: 0 0 14px rgba(255, 210, 63, 0.7), inset 0 0 10px rgba(255, 210, 63, 0.35); }
.p1 .rank-pos::before { content: "👑"; position: absolute; top: -1.1rem; font-size: 1rem; }
.p2 .rank-pos { border-color: #d9e2ff; color: #eef2ff; box-shadow: 0 0 12px rgba(217, 226, 255, 0.5); }
.p3 .rank-pos { border-color: #ff9a3c; color: #ffb877; box-shadow: 0 0 12px rgba(255, 154, 60, 0.55); }

.rank-foto {
  width: 7rem; aspect-ratio: 16 / 10; padding: 0; border: none; border-radius: 10px; cursor: pointer; overflow: hidden;
  display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 210, 63, 0.18), transparent 70%);
}
.rank-foto img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.rank-foto img[src*="GTA%206"] { object-fit: cover; transform: scale(1.45); }
.rank-item:hover .rank-foto img { transform: scale(1.1) rotate(-2deg); }
.rank-item:hover .rank-foto img[src*="GTA%206"] { transform: scale(1.65) rotate(-2deg); }
.rank-foto .icone { font-size: 2rem; }

.rank-info { min-width: 0; }
.rank-info h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.rank-info .tipo { margin: 0.15rem 0 0.55rem; }
.rank-tenho { display: none; font-size: 0.68rem; font-weight: 700; color: #7dff8a; border: 1px solid rgba(125, 255, 138, 0.5); border-radius: 999px; padding: 0.05rem 0.5rem; }
.rank-item.coletada .rank-tenho { display: inline-block; }

.rank-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem 0.7rem; }
.mini { font-size: 0.7rem; opacity: 0.55; display: grid; grid-template-columns: 1fr auto; column-gap: 0.3rem; transition: opacity 0.3s; }
.mini span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini b { color: var(--texto); font-weight: 600; }
.mini .barra { grid-column: 1 / -1; height: 4px; }
.rank-item:hover .mini, .foco-geral .mini { opacity: 0.9; }
.mini.foco { opacity: 1; }
.mini.foco span, .mini.foco b { color: #ffd23f; font-weight: 700; }
.mini.foco .barra div { background: linear-gradient(90deg, #ffd23f, var(--rosa)); box-shadow: 0 0 8px rgba(255, 210, 63, 0.7); }

.rank-nota { text-align: right; }
.rank-nota small { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.rank-nota b { display: block; font-family: "Audiowide", sans-serif; font-size: 2.1rem; line-height: 1.1; color: #ffd23f; text-shadow: 0 0 14px rgba(255, 210, 63, 0.55); font-variant-numeric: tabular-nums; }
.rank-nota em { display: block; font-style: normal; font-size: 0.75rem; opacity: 0.75; }
.rank-medidor { height: 8px; margin-top: 0.35rem; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; }
.rank-medidor div { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--rosa), #ffd23f); box-shadow: 0 0 10px rgba(255, 210, 63, 0.6); }

/* Animações do ranking */
.animado .rank-item { animation: rank-entra 0.55s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 55ms) both; }
.animado .rank-item.entrou { animation: none; }
.animado .rank-item .barra div, .animado .rank-medidor div { transform-origin: left; animation: rank-cresce 0.9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 55ms + 150ms) both; }
.animado .rank-lista.espera .rank-item, .animado .rank-lista.espera .barra div, .animado .rank-lista.espera .rank-medidor div { animation-play-state: paused; }
.animado .p1 .rank-pos::before { animation: coroa 2.4s ease-in-out infinite; }
.animado .rank-item.p1 .rank-nota b { animation: brilho-ouro 2.8s ease-in-out infinite; }
.animado .rank-aba.ativa span { display: inline-block; animation: pula-icone 0.5s cubic-bezier(.3,1.6,.5,1); }
@keyframes rank-entra { from { opacity: 0; transform: translateX(-30px) scale(0.98); } }
@keyframes rank-cresce { from { transform: scaleX(0); } }
@keyframes coroa { 50% { transform: translateY(-3px) rotate(-10deg); } }
@keyframes brilho-ouro { 50% { text-shadow: 0 0 22px rgba(255, 210, 63, 0.95), 0 0 4px #fff; } }
@keyframes pula-icone { 0% { transform: scale(0.4) rotate(-20deg); } 100% { transform: none; } }

@media (max-width: 860px) {
  .rank-item { grid-template-columns: 2.6rem 5rem minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.8rem; }
  .rank-foto { width: 5rem; }
  .rank-nota b { font-size: 1.6rem; }
  .rank-nota .rank-medidor { width: 4.5rem; margin-left: auto; }
  .rank-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rank-item { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .rank-foto { display: none; }
  .rank-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-nota b { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .rank-item:hover { transform: none; } }

/* Botão "Considerar munição" (ranking e comparador) */
.rank-lado { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.chave-municao {
  margin: 0; padding: 0.35rem 0.8rem 0.35rem 0.45rem; font-size: 0.85rem; font-weight: 600; user-select: none;
  border: 1px solid rgba(255, 210, 63, 0.35); border-radius: 999px; background: rgba(255, 210, 63, 0.06);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.chave-municao:hover { border-color: #ffd23f; box-shadow: 0 0 12px rgba(255, 210, 63, 0.3); }
.chave-municao:has(input:not(:checked)) { color: rgba(243, 232, 255, 0.7); border-color: rgba(255, 255, 255, 0.2); background: transparent; }
.comparador .chave-municao { display: inline-flex; margin-bottom: 1.2rem; }
@media (min-width: 861px) { .sem-municao .rank-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.animado .rank-lista.sem-municao .mini { animation: some-mini 0.4s ease both; }
@keyframes some-mini { from { opacity: 0; } }
.comp-linha .sem-mun { font-size: 0.72rem; opacity: 0.65; font-weight: 400; margin-left: 0.2rem; }

/* Botão "Ver no mapa" nos cards e no ranking */
.card-acoes .comparar-btn:not(:last-child) { grid-column: auto; }
.mapa-btn { border-color: rgba(25, 227, 255, 0.55); color: var(--ciano); background: rgba(25, 227, 255, 0.08); }
.mapa-btn:hover { background: var(--ciano); color: #04131a; box-shadow: 0 0 14px rgba(25, 227, 255, 0.55); }
.rank-mapa {
  font-size: 0.7rem; font-weight: 700; cursor: pointer; color: var(--ciano);
  background: rgba(25, 227, 255, 0.08); border: 1px solid rgba(25, 227, 255, 0.5); border-radius: 999px; padding: 0.1rem 0.55rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rank-mapa:hover { background: var(--ciano); color: #04131a; box-shadow: 0 0 12px rgba(25, 227, 255, 0.55); transform: translateY(-1px); }

/* Anéis de radar em volta da arma destacada */
.marcador .radar { fill: none; stroke: #19e3ff; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none;
  transform-box: fill-box; transform-origin: center; animation: radar 1.6s ease-out 2 both; }
@keyframes radar { from { transform: scale(1); opacity: 0.95; } to { transform: scale(4.5); opacity: 0; } }

/* Dica de zoom (Ctrl + roda) */
.mapa-dica {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96); z-index: 3; pointer-events: none;
  background: rgba(18, 5, 24, 0.85); color: var(--texto); border: 1px solid rgba(25, 227, 255, 0.5); border-radius: 12px;
  padding: 0.7rem 1.1rem; font-size: 0.95rem; font-weight: 600; opacity: 0; transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 0 24px rgba(25, 227, 255, 0.3); white-space: nowrap;
}
.mapa-dica.visivel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mapa-dica kbd { font-family: inherit; background: #ffd23f; color: #1a1000; border-radius: 5px; padding: 0.05rem 0.4rem; }
@media (max-width: 600px) { .mapa-dica { white-space: normal; width: 80%; text-align: center; } }

/* Celular/tablet: painel volta ao fluxo normal (o sticky fazia o mapa passar por cima dele) */
@media (max-width: 900px) { .painel { position: static; max-height: none; } }
.foto-falhou { display: grid; place-items: center; width: 100%; height: 100%; min-height: 4rem; font-size: 2.6rem; opacity: 0.85; }

/* Crédito do mapa (licença CC BY 4.0 do gtadb.org) */
.credito-mapa { position: absolute; right: 0.5rem; bottom: 0.4rem; z-index: 2; font-size: 0.62rem; color: rgba(255,255,255,0.75);
  background: rgba(10, 3, 20, 0.55); padding: 0.1rem 0.45rem; border-radius: 6px; pointer-events: none; }
.rodape a { color: var(--ciano); text-decoration: none; border-bottom: 1px dashed rgba(25, 227, 255, 0.5); }
.rodape a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Conta (login com Google) ---------- */
.conta { position: relative; margin-left: 1rem; }
.conta-entrar {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; white-space: nowrap;
  font-family: "Audiowide", sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #f3e8ff;
  padding: 0.38rem 1rem 0.38rem 0.4rem; border-radius: 999px; border: 1.5px solid transparent;
  background:
    linear-gradient(#150620, #150620) padding-box,
    linear-gradient(90deg, var(--rosa), #b26bff, var(--ciano), var(--rosa)) border-box;
  background-size: 100% 100%, 300% 100%;
  box-shadow: 0 0 14px rgba(255, 46, 136, 0.35), inset 0 0 12px rgba(178, 107, 255, 0.15);
  transition: transform 0.2s, box-shadow 0.25s, color 0.25s;
}
.animado .conta-entrar { animation: borda-conta 6s linear infinite; }
@keyframes borda-conta { to { background-position: 0 0, 300% 0; } }
.conta-entrar svg { width: 1.55rem; height: 1.55rem; padding: 0.22rem; background: #fff; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 255, 255, 0.35); flex: none; }
.conta-entrar:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 0 22px rgba(25, 227, 255, 0.55), 0 0 6px rgba(255, 46, 136, 0.6), inset 0 0 14px rgba(25, 227, 255, 0.2); }
.conta-entrar:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; }
.conta-botao {
  position: relative; width: 2.4rem; height: 2.4rem; border-radius: 50%; padding: 0; cursor: pointer; overflow: visible;
  border: 2px solid var(--rosa); background: #1c0826; color: #fff; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 14px rgba(255, 46, 136, 0.5);
}
.conta-botao img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.conta-ponto { position: absolute; right: -2px; bottom: -2px; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 2px solid #120518; background: #888; }
.conta-ponto.ok { background: #7dff8a; box-shadow: 0 0 8px #7dff8a; }
.conta-ponto.sincronizando { background: #ffd23f; animation: pisca-conta 0.9s ease-in-out infinite; }
.conta-ponto.erro { background: #ff4d6a; }
@keyframes pisca-conta { 50% { opacity: 0.35; } }
.conta-menu {
  position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 50; min-width: 15rem; display: none;
  background: rgba(18, 5, 24, 0.97); border: 1px solid rgba(178, 107, 255, 0.5); border-radius: 14px; padding: 0.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(178, 107, 255, 0.25);
}
.conta.aberto .conta-menu { display: grid; gap: 0.4rem; animation: abre-conta 0.18s ease-out; }
@keyframes abre-conta { from { opacity: 0; transform: translateY(-6px); } }
.conta-nome { font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conta-estado { font-size: 0.78rem; opacity: 0.8; margin-bottom: 0.3rem; }
.conta-estado.ok { color: #7dff8a; }
.conta-estado.erro { color: #ffb3c0; }
.conta-menu button, .conta-menu a {
  text-align: left; background: rgba(255, 255, 255, 0.05); color: var(--texto); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px; padding: 0.45rem 0.7rem; font-size: 0.85rem; cursor: pointer; text-decoration: none;
}
.conta-menu button:hover, .conta-menu a:hover { border-color: var(--ciano); background: rgba(25, 227, 255, 0.1); }
.conta-menu .perigo { color: #ffb3c0; border-color: rgba(255, 77, 106, 0.4); }
.conta-menu .perigo:hover { background: rgba(255, 77, 106, 0.18); border-color: #ff4d6a; }
@media (max-width: 700px) { .conta { margin-left: 0.5rem; } .conta-entrar { font-size: 0.66rem; padding: 0.3rem 0.75rem 0.3rem 0.3rem; } .conta-entrar svg { width: 1.35rem; height: 1.35rem; } }

/* Cabeçalho mais largo: logo no canto esquerdo, menu e login encostados à direita */
.topo .topo-conteudo { width: auto; max-width: none; margin: 0; padding-left: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); }
.topo .topo-conteudo nav { margin-left: auto; }

/* Comparador compacto: o card inteiro cabe numa tela comum (desktop) */
@media (min-width: 801px) {
  .comp-col { padding: 0.8rem 0.9rem; gap: 0.3rem; max-height: calc(100vh - 100px); }
  .comp-col img, .comp-col > .icone { height: clamp(70px, 17vh, 170px); aspect-ratio: auto; }
  .comp-col > .icone { display: grid; place-items: center; font-size: 3rem; }
  .comp-col h3 { font-size: 1.05rem; line-height: 1.2; }
  .comp-col .tipo { font-size: 0.75rem; margin: 0; }
  .comp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.9rem; }
  .comp-stats .stat { font-size: 0.75rem; }
  .comp-col dl { gap: 0.15rem; margin-top: 0.3rem; }
  .comp-linha { font-size: 0.78rem; line-height: 1.3; grid-template-columns: 6.8rem 1fr; padding-top: 0.2rem; }
  .comp-remover { top: 0.5rem; right: 0.5rem; width: 1.8rem; height: 1.8rem; }
  #comparador { scroll-margin-top: 80px; }
}
@media (min-width: 801px) {
  .comp-stats { grid-template-columns: 1fr; gap: 0.25rem; }
  .comp-stats .stat { font-size: 0.8rem; }
  .comp-col img, .comp-col > .icone { height: clamp(60px, 14vh, 150px); }
}

/* Comparador v3: letras no tamanho normal, tudo visível e o card cabendo na tela */
@media (min-width: 801px) {
  .comp-col { padding: 1rem 1.1rem; gap: 0.4rem; max-height: none; }
  .comp-col img, .comp-col > .icone { height: clamp(70px, 15vh, 160px); }
  .comp-col h3 { font-size: 1.15rem; }
  .comp-col .tipo { font-size: 0.8rem; }
  .comp-stats { grid-template-columns: 1fr; gap: 0.45rem; margin-top: 0.2rem; }
  .comp-stats .stat { font-size: 0.88rem; grid-template-columns: 5.6rem 1fr 3.6rem; align-items: center; column-gap: 0.6rem; }
  .comp-stats .stat span { grid-column: 1; grid-row: 1; }
  .comp-stats .stat .barra { grid-column: 2; grid-row: 1; margin-top: 0; height: 8px; border-radius: 4px; }
  .comp-stats .stat b { grid-column: 3; grid-row: 1; text-align: right; white-space: nowrap; }
  .comp-col dl { grid-template-columns: 1fr 1fr; gap: 0.5rem 0.9rem; margin-top: 0.5rem; }
  .comp-linha { display: block; font-size: 0.88rem; line-height: 1.3; padding-top: 0.35rem; }
  .comp-linha dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.1rem; }
}
@media (min-width: 801px) {
  .comp-col img, .comp-col > .icone { height: clamp(60px, 12vh, 150px); }
  .comp-col dl { gap: 0.35rem 0.9rem; }
  .comp-linha { padding-top: 0.3rem; }
}
@media (min-width: 801px) {
  .comp-col { padding: 0.8rem 1.1rem; }
  .comp-col img, .comp-col > .icone { height: clamp(80px, 16vh, 190px); }
  .comp-stats { gap: 0.3rem; }
}

/* Crédito do mapa (licença CC BY 4.0): discreto no rodapé, mas presente */
.credito-rodape { font-size: 0.62rem; opacity: 0.35; margin-top: 0.3rem; letter-spacing: 0.02em; }

/* Catálogo com 4 armas por linha em telas de computador */
@media (min-width: 1100px) {
  .arsenal .container { width: 96%; max-width: 1600px; }
  .arsenal-grade { grid-template-columns: 260px minmax(0, 1fr); gap: 1.5rem; }
  .arsenal .produtos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .produtos .card-acoes { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .produtos .card-acoes .tenho, .produtos .card-acoes .mapa-btn { grid-column: 1 / -1; }
  .produtos .card-acoes .comparar-btn, .produtos .card-acoes .comparar-btn:not(:last-child) { grid-column: auto; }
  .produtos .card-acoes .botao-sec { padding: 0.4rem 0.45rem; font-size: 0.78rem; white-space: nowrap; }
}
@media (min-width: 1100px) {
  .produtos .produto { padding-left: 0.9rem; padding-right: 0.9rem; }
  .produtos .card-acoes .botao-sec { min-width: 0; padding: 0.4rem 0.3rem; font-size: 0.75rem; letter-spacing: -0.01em; }
}

/* "★ únicas" do título em amarelo */
.hero h1 span.dourado { color: #ffd23f; text-shadow: 3px 3px 0 var(--roxo), 0 0 14px rgba(255, 210, 63, 0.6); }

/* Ranking: todas as categorias (incluindo "Com silenciador") numa linha só */
@media (min-width: 1000px) {
  #rank-tipos { flex-wrap: nowrap; justify-content: center; gap: 0.3rem; }
  #rank-tipos .filtro { padding-left: 0.55rem; padding-right: 0.55rem; font-size: 0.76rem; white-space: nowrap; flex: 0 1 auto; min-width: 0; }
}

/* Caixa "Entre com o Google para salvar sua coleção" no topo */
.hero-login { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 1.8rem; max-width: 640px;
  padding: 1rem 1.2rem; border-radius: 16px; background: rgba(20, 8, 40, 0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(25, 227, 255, 0.45); box-shadow: 0 0 18px rgba(25, 227, 255, 0.18), inset 0 0 20px rgba(178, 107, 255, 0.12); }
.hero-login::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, #ff2e88, #b26bff, #19e3ff, #ff2e88); background-size: 300% 100%; animation: borda-conta 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8; }
.hero-login-icone { font-size: 2rem; filter: drop-shadow(0 0 8px rgba(25, 227, 255, 0.7)); }
.hero-login-texto b { font-family: "Audiowide", sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ciano); }
.hero .hero-login-texto p { font-size: 0.9rem; margin: 0.3rem 0; opacity: 0.9; line-height: 1.4; }
.hero-login-texto small { font-size: 0.72rem; opacity: 0.6; }
.hero-login-texto small a { color: inherit; }
.hero-login-botao { font-family: "Audiowide", sans-serif; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, #ff2e88, #b26bff); border: 0; border-radius: 999px; padding: 0.7rem 1.1rem;
  box-shadow: 0 0 14px rgba(255, 46, 136, 0.55); transition: transform 0.2s, box-shadow 0.2s; }
.hero-login-botao:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(255, 46, 136, 0.85); }
.hero-login.logado { border-color: rgba(125, 255, 138, 0.5); }
.hero-login.logado .hero-login-texto b { color: #7dff8a; }
.hero-login.logado .hero-login-botao, .hero-login.logado small { display: none; }
@media (max-width: 600px) { .hero-login { grid-template-columns: auto 1fr; } .hero-login-botao { grid-column: 1 / -1; } }
.hero-acoes { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-acoes .hero-login { margin-top: 0; max-width: 470px; padding: 0.65rem 0.9rem; gap: 0.75rem; }
.hero-acoes .hero-login-icone { font-size: 1.5rem; }
.hero-acoes .hero-login-texto b { font-size: 0.72rem; }
.hero .hero-acoes .hero-login-texto p { font-size: 0.8rem; margin: 0.2rem 0 0; }
.hero-acoes .hero-login-botao { font-size: 0.68rem; padding: 0.55rem 0.9rem; }
.hero-acoes { gap: 0.9rem; }
.hero-acoes .hero-login { flex: 1 1 100%; max-width: 640px; }
.hero-texto > p:not(.tag) { margin-bottom: 1.3rem; }
@media (min-width: 901px) { .hero { padding-top: 92px; } }

/* =========================================================
   Animações leves: nada fica rodando sem parar. Cada efeito
   roda poucas vezes ao aparecer ou quando o mouse passa por cima.
   ========================================================= */
/* Título: o brilho passa 2 vezes ao abrir e de novo ao passar o mouse */
.animado .hero h1 > span:last-of-type { animation-iteration-count: 2; }
.animado .hero h1:hover > span:last-of-type { animation: brilho-texto-2 1.4s linear 1; }
@keyframes brilho-texto-2 { from { background-position: 100% 0; } to { background-position: -150% 0; } }
/* Barra de coleção: o brilho passa 2 vezes e de novo ao passar o mouse */
#progresso-barra::after { animation-iteration-count: 2; }
.progresso:hover #progresso-barra::after { animation: corre-2 1.2s ease-in-out 1; }
@keyframes corre-2 { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
/* Painel de filtros: borda neon parada; acende ao passar o mouse (sem redesenhar o painel a cada quadro) */
.painel { animation: none; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 rgba(255, 46, 136, 0), inset 0 1px 0 rgba(255, 255, 255, 0.06); transition: box-shadow 0.4s; }
.painel:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 46, 136, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
/* Botões de login: a borda colorida só corre quando o mouse passa por cima */
.animado .conta-entrar { animation: none; }
.animado .conta-entrar:hover { animation: borda-conta 2.5s linear infinite; }
.hero-login::before { animation: none; }
.hero-login:hover::before { animation: borda-conta 2.5s linear infinite; }
/* Pulsações: poucas vezes e para */
.area-aprox { animation-iteration-count: 3; }
.comp-col .stat.top b, .comp-linha.top dd { animation-iteration-count: 3; }
.animado .rank-item.p1 .rank-nota b { animation-iteration-count: 3; }
.animado .p1 .rank-pos::before { animation-iteration-count: 3; }
.animado .hero .dourado { animation-iteration-count: 3; }
.hero:hover .dourado { animation: flutua 3s ease-in-out infinite; }
/* Logo: pisca algumas vezes ao abrir e de novo ao passar o mouse */
.animado .logo-vice { animation-iteration-count: 2; }
.animado .logo:hover .logo-vice, .animado .logo-vice:hover { animation: neon-pisca-2 1.2s 1; }
@keyframes neon-pisca-2 { 0%, 100% { opacity: 1; } 20% { opacity: 0.4; } 30% { opacity: 1; } 55% { opacity: 0.55; } 65% { opacity: 1; } }

/* Mapa detalhado entra por cima da versão leve com um fade */
.mapa-detalhe { opacity: 0; transition: opacity 0.45s ease; }
.mapa-detalhe.pronto { opacity: 1; }
.catalogo-sentinela { height: 1px; }

.hero-login-texto b { display: block; line-height: 1.35; }
/* Celular: título da caixa de login numa linha só */
@media (max-width: 600px) {
  .hero-login-icone { display: none; }
  .hero-login { grid-template-columns: 1fr; }
}
/* Título da caixa de login sempre numa linha: a letra se ajusta à largura da caixa */
.hero-login-texto { container-type: inline-size; min-width: 0; }
.hero .hero-login-texto b, .hero-acoes .hero-login-texto b { white-space: nowrap; letter-spacing: 0; font-size: min(0.8rem, 3.2cqi); }

/* ---------- Carros únicos: em breve ---------- */
.nav-breve span { display: inline-block; transform-origin: 50% 50%; }
.animado .nav-breve span { animation: gira-ampulheta 6s ease-in-out infinite; }
.carros-breve { position: relative; overflow: hidden; background:
  radial-gradient(60rem 22rem at 15% 40%, rgba(255, 210, 63, 0.09), transparent 70%),
  radial-gradient(50rem 20rem at 85% 70%, rgba(178, 107, 255, 0.14), transparent 70%),
  rgba(18, 5, 24, 0.92); border-top: 1px solid rgba(255, 210, 63, 0.18); }
.breve { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; max-width: 56rem; margin-inline: auto;
  padding: 2.5rem 3rem; border-radius: 22px; border: 1px solid rgba(255, 210, 63, 0.28);
  background: linear-gradient(135deg, rgba(255, 210, 63, 0.06), rgba(178, 107, 255, 0.07) 55%, rgba(255, 46, 136, 0.06));
  box-shadow: 0 0 0 1px rgba(255, 46, 136, 0.08) inset, 0 0 40px rgba(255, 210, 63, 0.08), 0 20px 60px rgba(0, 0, 0, 0.35); }
.breve-texto { min-width: 0; }
.breve-texto .tag { margin-bottom: 0.4rem; }
.breve-texto h2 { margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; line-height: 1.15; }
.breve-texto > p { margin-bottom: 1.75rem; line-height: 1.6; opacity: 0.92; }
.breve-selo { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1000; background: linear-gradient(90deg, #ffd23f, #ff9f1c);
  padding: 0.35rem 0.85rem; border-radius: 999px; text-shadow: none; box-shadow: 0 0 18px rgba(255, 210, 63, 0.45); }
.breve-texto > .breve-nota { font-size: 0.82rem; opacity: 0.6; margin: 0.9rem 0 0; }
.botao-insta { background: linear-gradient(90deg, #ff2e88, #b26bff); }
.botao-insta:hover { box-shadow: 0 0 28px rgba(178, 107, 255, 0.8), 0 0 60px rgba(255, 46, 136, 0.35); }
.ampulheta { width: clamp(4.5rem, 8vw, 6rem); filter: drop-shadow(0 0 18px rgba(255, 210, 63, 0.35)); }
.ampulheta svg { display: block; width: 100%; height: auto; overflow: visible; }
.ampulheta-contorno { stroke: #19e3ff; stroke-width: 3; filter: drop-shadow(0 0 4px #19e3ff); }
.ampulheta-tampa { fill: #ff2e88; filter: drop-shadow(0 0 6px #ff2e88); }
.ampulheta-giro, .areia-cima, .areia-baixo { transform-box: view-box; }
.ampulheta-giro { transform-origin: 60px 90px; }
.areia-cima { transform-origin: 60px 92px; }
.areia-baixo { transform-origin: 60px 156px; transform: scaleY(0.08); }
.areia-fio { opacity: 0; }
/* Só anima com a seção na tela (classe .rodando) */
.carros-breve.rodando .ampulheta-giro { animation: gira-ampulheta 6s ease-in-out infinite; }
.carros-breve.rodando .areia-cima { animation: esvazia 6s linear infinite; }
.carros-breve.rodando .areia-baixo { animation: enche 6s linear infinite; }
.carros-breve.rodando .areia-fio { animation: fio 6s linear infinite, cai 0.4s linear infinite; }
@keyframes gira-ampulheta { 0%, 82% { transform: rotate(0deg); } 100% { transform: rotate(180deg); } }
@keyframes esvazia { 0% { transform: scaleY(1); } 80%, 100% { transform: scaleY(0.04); } }
@keyframes enche { 0% { transform: scaleY(0.08); } 80%, 100% { transform: scaleY(1); } }
@keyframes fio { 0%, 78% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes cai { to { stroke-dashoffset: -8; } }
@media (max-width: 700px) {
  .breve { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.25rem; padding: 2rem 1.25rem; }
  .breve-texto h2 { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .areia-cima { transform: scaleY(0.55); } .areia-baixo { transform: scaleY(0.5); } .areia-fio { opacity: 1; } }
@media (max-width: 1180px) { .nav-breve { display: none; } }
@media (max-width: 700px) { .botao-insta { padding: 0.8rem 1.1rem; font-size: 0.95rem; } }

/* ---------- Anúncio no rodapé ---------- */
.anuncio-secao, .anuncio-rodape { max-width: 970px; margin: 0 auto; padding: 1.5rem 1rem 0.5rem; text-align: center; }
.anuncio-secao small, .anuncio-rodape small { display: block; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.45; margin-bottom: 0.4rem; }
.anuncio-secao ins, .anuncio-rodape ins { min-height: 90px; }
.anuncio-secao { padding: 2rem 1rem 1.5rem; max-width: none; background: rgba(18, 5, 24, 0.9); }
.anuncio-secao > * { max-width: 970px; margin-inline: auto; }
.anuncio-secao:has(ins[data-ad-status="unfilled"]), .anuncio-rodape:has(ins[data-ad-status="unfilled"]) { display: none; }
/* Antes de o Google mandar anúncio (site em revisão), o espaço não aparece */
.anuncio-secao:not(:has(ins[data-ad-status="filled"])), .anuncio-rodape:not(:has(ins[data-ad-status="filled"])) { height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }

/* Comparador: cada card tem sempre a largura de 1/3, com 1, 2 ou 3 armas (centralizados) */
@media (min-width: 801px) {
  .comp-grade { grid-template-columns: repeat(var(--n), minmax(0, calc((100% - 2rem) / 3))); justify-content: center; }
}

/* Mapa inteiro numa tela só (computador e celular): a altura nunca passa da tela, a largura acompanha */
.mapa-area { width: min(100%, calc((100vh - 105px) * 6460 / 9100)); margin-inline: auto; }
@supports (height: 100svh) { .mapa-area { width: min(100%, calc((100svh - 105px) * 6460 / 9100)); } }
@media (min-width: 700px) { .mapa-area { width: min(100%, calc((100svh - 105px) * 6460 / 9100)); } }

/* Botão "Mapa grande": volta o mapa para a largura toda (no lugar das laterais escuras) */
.mapa-tamanho { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; font-family: "Audiowide", sans-serif; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ciano); background: rgba(25, 227, 255, 0.08); border: 1px solid rgba(25, 227, 255, 0.55); border-radius: 999px; padding: 0.45rem 0.9rem;
  box-shadow: 0 0 10px rgba(25, 227, 255, 0.2); transition: background 0.2s, box-shadow 0.2s, transform 0.2s; }
.mapa-tamanho span { font-size: 1rem; line-height: 1; }
.mapa-tamanho:hover { background: rgba(25, 227, 255, 0.18); box-shadow: 0 0 16px rgba(25, 227, 255, 0.45); transform: translateY(-1px); }
.mapa-tamanho[aria-pressed="true"] { color: #ffd23f; border-color: rgba(255, 210, 63, 0.6); background: rgba(255, 210, 63, 0.1); box-shadow: 0 0 12px rgba(255, 210, 63, 0.3); }
.mapa-caixa.grande .mapa-area { width: 100%; }
.mapa-area { transition: width 0.35s ease; }
@media (max-width: 699px) { .mapa-tamanho { display: none; } }

/* Atalhos do topo só no celular: Comparador, Ranking e Carros */
.atalhos-celular { display: none; }
@media (max-width: 700px) {
  .atalhos-celular { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; margin-top: 1.2rem; position: relative; z-index: 2; }
  .atalhos-celular a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem; padding: 0.75rem 0.35rem 0.65rem;
    border-radius: 14px; text-decoration: none; color: var(--texto, #fff); background: rgba(20, 8, 40, 0.75); backdrop-filter: blur(6px);
    border: 1px solid rgba(178, 107, 255, 0.55); box-shadow: 0 0 12px rgba(178, 107, 255, 0.25); transition: transform 0.15s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .atalhos-celular a:active { transform: scale(0.96); box-shadow: 0 0 20px rgba(255, 46, 136, 0.6); }
  .atalhos-celular a:nth-child(1) { border-color: rgba(255, 210, 63, 0.6); box-shadow: 0 0 12px rgba(255, 210, 63, 0.25); }
  .atalhos-celular a:nth-child(2) { border-color: rgba(255, 46, 136, 0.6); box-shadow: 0 0 12px rgba(255, 46, 136, 0.25); }
  .atalhos-celular a:nth-child(3) { border-color: rgba(25, 227, 255, 0.6); box-shadow: 0 0 12px rgba(25, 227, 255, 0.25); }
  .atalho-ic { font-size: 1.5rem; line-height: 1.1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35)); }
  .atalhos-celular b { font-family: "Audiowide", sans-serif; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .atalhos-celular small { font-size: 0.62rem; opacity: 0.65; line-height: 1.2; }
}
/* Celular estreito: botão do cabeçalho vira só o "G" (o texto estourava a largura da tela) */
@media (max-width: 480px) {
  .conta-entrar { font-size: 0; gap: 0; padding: 0.3rem; }
  .conta-entrar svg { width: 1.6rem; height: 1.6rem; }
}
html, body { overflow-x: clip; }
@media (max-width: 700px) { .atalhos-celular a { margin: 0; width: 100%; } }

/* ================= Garagem dos Únicos (veículos) ================= */
/* Botões de camada no mapa: Armas / Veículos */
.camadas { display: inline-flex; gap: 0.35rem; flex-wrap: wrap; }
.camada-btn { cursor: pointer; font-family: "Audiowide", sans-serif; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 999px; padding: 0.45rem 0.85rem; color: #fff; background: rgba(255, 46, 136, 0.18); border: 1px solid rgba(255, 46, 136, 0.7);
  box-shadow: 0 0 10px rgba(255, 46, 136, 0.3); transition: opacity 0.2s, background 0.2s, transform 0.15s; }
.camada-btn[data-camada="carros"] { background: rgba(25, 227, 255, 0.14); border-color: rgba(25, 227, 255, 0.7); box-shadow: 0 0 10px rgba(25, 227, 255, 0.3); }
.camada-btn[aria-pressed="false"] { opacity: 0.45; box-shadow: none; background: transparent; text-decoration: line-through; }
.camada-btn:hover { transform: translateY(-1px); }
svg.sem-armas #marcadores, svg.sem-armas #pinos-lugar { display: none; }
svg.sem-carros #camada-carros { display: none; }

/* Marcadores dos veículos (losango com ícone da categoria) */
.marcador-carro { cursor: pointer; transition: opacity 0.2s; }
.marcador-carro rect { transform-box: fill-box; transform-origin: center; transition: transform 0.2s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 0 3px rgba(25, 227, 255, 0.8)); }
.marcador-carro:hover rect, .marcador-carro:focus-visible rect { transform: rotate(45deg) scale(1.3); }
.marcador-carro .ic-carro { font-size: 11px; pointer-events: none; }
.marcador-carro.tem .ic-carro { fill: #fff; font-weight: 800; }
.marcador-carro.apagado { opacity: 0.12; cursor: default; }
.marcador-carro.pulsar rect { animation: pulsar 0.8s ease-in-out 4; }
.marcador-carro .radar { fill: none; stroke: #19e3ff; stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: radar 1.6s ease-out 2 both; }
.area-carro { fill: rgba(25, 227, 255, 0.10); stroke: #19e3ff; cursor: pointer; animation: aprox-pulsa 2.4s ease-in-out 3; }
.area-carro.tem { stroke: #7dff8a; fill: rgba(125, 255, 138, 0.10); }
.area-carro.apagado { opacity: 0.1; animation: none; cursor: default; }
.area-carro.pulsar { stroke-width: 6; }
.legenda .leg-carro i { border-radius: 2px; transform: rotate(45deg) scale(0.85); background: linear-gradient(135deg, #19e3ff, #b26bff); }

/* Troca Armas / Veículos no comparador e no ranking */
.modo-troca { display: inline-flex; gap: 0.3rem; padding: 0.3rem; margin: 0 0 1.1rem; border-radius: 999px; background: rgba(20, 8, 40, 0.7); border: 1px solid rgba(178, 107, 255, 0.45); box-shadow: 0 0 14px rgba(178, 107, 255, 0.2); }
.modo-troca button { cursor: pointer; border: 0; border-radius: 999px; padding: 0.5rem 1.1rem; font-family: "Audiowide", sans-serif; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--texto, #fff); background: transparent; opacity: 0.7; transition: background 0.25s, opacity 0.2s, box-shadow 0.25s; }
.modo-troca button[aria-selected="true"] { opacity: 1; background: linear-gradient(135deg, #ff2e88, #b26bff); box-shadow: 0 0 14px rgba(255, 46, 136, 0.55); }
.modo-troca button[data-modo="carros"][aria-selected="true"] { background: linear-gradient(135deg, #19e3ff, #b26bff); box-shadow: 0 0 14px rgba(25, 227, 255, 0.55); color: #12031f; }

/* Cards, ficha e ranking dos veículos */
.garagem h2 { color: var(--ciano); text-shadow: 0 0 14px rgba(25, 227, 255, 0.6); }
.produto.carro { border-color: rgba(25, 227, 255, 0.55); }
.produto.carro .card-topo .numero { font-size: 0.7rem; letter-spacing: 0.04em; }
.produto.carro .selo-unica { background: linear-gradient(135deg, #19e3ff, #b26bff); color: #12031f; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.produto .foto.foto-carro { background: radial-gradient(circle at 50% 55%, rgba(25, 227, 255, 0.18), rgba(0, 0, 0, 0.35) 70%); }
.produto .foto.foto-carro img, .comp-col img[data-carro], .rank-foto-carro img { object-fit: cover; padding: 0; filter: none; }
.ficha-carro .ficha-fotos img { object-fit: cover; }
.status-exato { color: #19e3ff; } .status-regiao { color: #c9a7ff; } .status-aleatorio { color: #ffd23f; } .status-missao { color: #ff7ab8; }
#c-filtro-cat .filtro i { font-style: normal; margin-right: 0.3rem; }
.rank-foto-carro { overflow: hidden; }

/* Seletor de ordem (armas e veículos) com o visual neon */
#ordem, #c-ordem {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-family: 'Audiowide', sans-serif; font-size: 0.82rem; letter-spacing: 0.5px; color: #ffd23f;
  padding: 0.6rem 2.6rem 0.6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 210, 63, 0.55);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffd23f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center,
    linear-gradient(135deg, rgba(255, 46, 136, 0.18), rgba(178, 107, 255, 0.18)), #1c0826;
  box-shadow: 0 0 12px rgba(255, 210, 63, 0.15), inset 0 0 10px rgba(178, 107, 255, 0.15);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
#ordem:hover, #ordem:focus-visible, #c-ordem:hover, #c-ordem:focus-visible {
  outline: none; border-color: #ffd23f; transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 210, 63, 0.4), inset 0 0 12px rgba(178, 107, 255, 0.25);
}
#c-ordem {
  color: #19e3ff; border-color: rgba(25, 227, 255, 0.55);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2319e3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center,
    linear-gradient(135deg, rgba(25, 227, 255, 0.14), rgba(178, 107, 255, 0.18)), #1c0826;
  box-shadow: 0 0 12px rgba(25, 227, 255, 0.15), inset 0 0 10px rgba(178, 107, 255, 0.15);
}
#c-ordem:hover, #c-ordem:focus-visible { border-color: #19e3ff; box-shadow: 0 0 18px rgba(25, 227, 255, 0.4), inset 0 0 12px rgba(178, 107, 255, 0.25); }
#ordem option, #c-ordem option { background: #1c0826; color: #f3e9ff; font-family: system-ui, sans-serif; }

/* Tipo de veículo no painel do mapa */
.filtro-veiculo .filtro i { font-style: normal; margin-right: 0.3rem; }
.filtro-veiculo .filtro.ativo { background: linear-gradient(135deg, #19e3ff, #b26bff); color: #12031f; border-color: transparent; }

/* ===== Minha Garagem (até 20 veículos, como no GTA VI) ===== */
.minha-garagem { position: relative; overflow: hidden; }
.minha-garagem::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(25, 227, 255, 0.16), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 210, 63, 0.05) 79px 81px);
}
.minha-garagem .container { position: relative; }
.mg-cabeca { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; margin-bottom: 1.2rem; }
.mg-cabeca .nota { max-width: 62ch; }
.mg-medidor { min-width: 200px; text-align: right; padding: 0.9rem 1.1rem; border-radius: 16px; border: 1px solid rgba(25, 227, 255, 0.35); background: linear-gradient(135deg, rgba(25, 227, 255, 0.08), rgba(178, 107, 255, 0.12)); box-shadow: 0 0 22px rgba(25, 227, 255, 0.12); }
.mg-medidor b { display: block; font-family: 'Audiowide', sans-serif; font-size: 2.4rem; line-height: 1; color: #19e3ff; text-shadow: 0 0 14px rgba(25, 227, 255, 0.6); }
.mg-medidor b small { font-size: 1.1rem; color: rgba(243, 233, 255, 0.55); text-shadow: none; }
.mg-medidor span { display: block; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.8; margin: 0.35rem 0 0.55rem; }
.mg-trilho { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.mg-trilho div { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #19e3ff, #b26bff); transition: width 0.6s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 10px #19e3ff; }
.minha-garagem.cheia .mg-medidor { border-color: rgba(255, 46, 136, 0.6); box-shadow: 0 0 24px rgba(255, 46, 136, 0.3); }
.minha-garagem.cheia .mg-medidor b { color: #ff2e88; text-shadow: 0 0 14px rgba(255, 46, 136, 0.7); }
.minha-garagem.cheia .mg-trilho div { background: linear-gradient(90deg, #ff2e88, #ffd23f); box-shadow: 0 0 10px #ff2e88; }

.mg-resumo { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.2rem; }
.mg-resumo > div { flex: 1 1 160px; padding: 0.6rem 0.9rem; border-radius: 12px; background: rgba(28, 8, 38, 0.75); border: 1px solid rgba(178, 107, 255, 0.3); }
.mg-resumo small { display: block; font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.7; }
.mg-resumo b { font-size: 1rem; color: #ffd23f; }
.mg-vazia { margin: 0; padding: 0.8rem 1rem; border-radius: 12px; border: 1px dashed rgba(25, 227, 255, 0.4); color: rgba(243, 233, 255, 0.85); width: 100%; }

.mg-vagas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; padding: 1rem; border-radius: 20px; background: linear-gradient(180deg, rgba(10, 2, 18, 0.85), rgba(22, 6, 34, 0.85)); border: 1px solid rgba(255, 210, 63, 0.18); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6); }
.vaga { position: relative; min-height: 210px; border-radius: 14px; padding: 1.7rem 0.7rem 0.7rem; display: flex; flex-direction: column; gap: 0.35rem;
  border-left: 3px solid rgba(255, 210, 63, 0.55); border-right: 3px solid rgba(255, 210, 63, 0.55); background: rgba(255, 255, 255, 0.02); }
.vaga.rua { border-left-style: dashed; border-right-style: dashed; border-color: rgba(25, 227, 255, 0.5); }
.vaga-num { position: absolute; top: 0.45rem; left: 0.6rem; font-family: 'Audiowide', sans-serif; font-size: 0.78rem; color: #ffd23f; letter-spacing: 1px; }
.vaga.rua .vaga-num { color: #19e3ff; }
.vaga-lugar { position: absolute; top: 0.5rem; right: 0.6rem; font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.55; }
.vaga.livre { align-items: center; justify-content: center; color: rgba(243, 233, 255, 0.35); }
.vaga-p { font-family: 'Audiowide', sans-serif; font-size: 2.6rem; line-height: 1; opacity: 0.35; }
.vaga.livre small { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; }
.vaga.ocupada { background: linear-gradient(180deg, color-mix(in srgb, var(--cor) 14%, transparent), rgba(28, 8, 38, 0.9)); box-shadow: 0 0 18px color-mix(in srgb, var(--cor) 25%, transparent); }
.vaga.ocupada::after { content: ""; position: absolute; left: 12%; right: 12%; top: 1.55rem; height: 2px; border-radius: 2px; background: var(--cor); box-shadow: 0 0 12px var(--cor); opacity: 0.8; }
.vaga-foto { all: unset; cursor: pointer; display: block; border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, 0.3); aspect-ratio: 2 / 1; }
.vaga-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.vaga-foto:hover img, .vaga-foto:focus-visible img { transform: scale(1.06); }
.vaga h3 { margin: 0.15rem 0 0; font-size: 0.88rem; line-height: 1.2; }
.vaga h3 .link-ficha { color: #f3e9ff; }
.vaga-info { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; font-size: 0.72rem; opacity: 0.85; }
.vaga-info b { font-family: 'Audiowide', sans-serif; color: #ffd23f; font-size: 0.85rem; }
.vaga-tirar { margin-top: auto; cursor: pointer; font: inherit; font-size: 0.74rem; font-weight: 600; padding: 0.35rem; border-radius: 8px; color: #ff7ab8; background: rgba(255, 46, 136, 0.08); border: 1px solid rgba(255, 46, 136, 0.35); transition: background 0.2s; }
.vaga-tirar:hover, .vaga-tirar:focus-visible { background: rgba(255, 46, 136, 0.22); outline: none; }
.vaga.chegou { animation: estaciona 0.9s cubic-bezier(.2,.8,.2,1) both; }
.vaga.chegou .vaga-foto { animation: farol 1.6s ease-out 0.5s; }
@keyframes estaciona { from { opacity: 0; transform: translateY(40px) scale(0.92); } 70% { transform: translateY(-4px) scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes farol { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 2px #fff, 0 0 30px #fff; } }

.mg-fora { margin-top: 1.4rem; }
.mg-fora h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.mg-fora h3 small { font-family: 'Audiowide', sans-serif; color: #19e3ff; margin-left: 0.3rem; }
.mg-fora .nota { margin: 0 0 0.7rem; }
.mg-fora-lista { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mg-fora-item { display: flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.35rem 0.3rem 0.7rem; border-radius: 999px; background: rgba(28, 8, 38, 0.8); border: 1px solid color-mix(in srgb, var(--cor) 55%, transparent); font-size: 0.85rem; }
.mg-guardar { cursor: pointer; font: inherit; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; border: none; color: #12031f; background: linear-gradient(135deg, #19e3ff, #b26bff); }
.mg-guardar:disabled { opacity: 0.35; cursor: not-allowed; }

.ir-garagem { display: flex; justify-content: space-between; align-items: center; margin: 0.2rem 0 0.6rem; padding: 0.55rem 0.9rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.9rem; color: #f3e9ff;
  background: linear-gradient(135deg, rgba(25, 227, 255, 0.14), rgba(178, 107, 255, 0.18)); border: 1px solid rgba(25, 227, 255, 0.45); transition: box-shadow 0.2s, transform 0.2s; }
.ir-garagem b { font-family: 'Audiowide', sans-serif; color: #19e3ff; }
.ir-garagem:hover, .ir-garagem:focus-visible { box-shadow: 0 0 16px rgba(25, 227, 255, 0.4); transform: translateY(-1px); outline: none; }

.mg-aviso { position: fixed; left: 50%; bottom: 1.2rem; z-index: 60; display: flex; align-items: center; gap: 0.8rem; max-width: min(560px, calc(100vw - 1.5rem)); padding: 0.7rem 0.8rem 0.7rem 1.1rem; border-radius: 14px;
  background: rgba(20, 5, 30, 0.96); border: 1px solid rgba(25, 227, 255, 0.55); box-shadow: 0 0 26px rgba(25, 227, 255, 0.35); color: #f3e9ff; font-size: 0.9rem;
  transform: translate(-50%, 140%); opacity: 0; transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s; pointer-events: none; }
.mg-aviso.mostrar { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.mg-aviso.alerta { border-color: rgba(255, 46, 136, 0.7); box-shadow: 0 0 26px rgba(255, 46, 136, 0.4); }
.mg-aviso p { margin: 0; }
.mg-aviso p span { font-family: 'Audiowide', sans-serif; color: #19e3ff; margin-left: 0.3rem; }
.mg-aviso-ver { flex: none; cursor: pointer; font: inherit; font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 999px; border: none; color: #12031f; background: linear-gradient(135deg, #19e3ff, #b26bff); }

@media (max-width: 1100px) { .mg-vagas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .mg-vagas { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mg-cabeca { grid-template-columns: 1fr; } .mg-medidor { text-align: left; } }
@media (max-width: 560px) { .mg-vagas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; padding: 0.6rem; } .vaga { min-height: 180px; } .vaga.livre { min-height: 90px; } .mg-aviso { bottom: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { .vaga.chegou, .vaga.chegou .vaga-foto { animation: none; } }

/* ===== Tela inicial com armas + veículos ===== */
.hero-botoes { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.botao-ciano { background: linear-gradient(135deg, #19e3ff, #7d8bff); color: #12031f; box-shadow: 0 0 18px rgba(25, 227, 255, 0.55); }
.botao.botao-ciano:hover { box-shadow: 0 0 28px rgba(25, 227, 255, 0.9), 0 0 60px rgba(25, 227, 255, 0.35); }
.hero-numeros { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: -0.6rem 0 1.8rem; max-width: 640px; }
.hero-numeros a { --c: #ff2e88; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.8rem 0.65rem; border-radius: 14px; text-decoration: none; color: #f3e9ff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 20%, transparent), rgba(18, 5, 24, 0.75));
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 22%, transparent);
  backdrop-filter: blur(4px); transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s; }
.hero-numeros .ciano a { --c: #19e3ff; }
.hero-numeros .amarelo a { --c: #ffd23f; }
.hero-numeros .roxo a { --c: #b26bff; }
.hero-numeros a:hover, .hero-numeros a:focus-visible { transform: translateY(-3px); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 50%, transparent); outline: none; }
.hero-numeros a::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent); transform: skewX(-20deg); animation: brilho-numero 5s ease-in-out infinite; }
.hero-numeros li:nth-child(2) a::after { animation-delay: 0.6s; }
.hero-numeros li:nth-child(3) a::after { animation-delay: 1.2s; }
.hero-numeros li:nth-child(4) a::after { animation-delay: 1.8s; }
@keyframes brilho-numero { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.hn-ic { position: absolute; right: 0.55rem; top: 0.45rem; font-size: 1.15rem; opacity: 0.85; }
.hero-numeros b { font-family: 'Orbitron', 'Audiowide', sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: var(--c); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 70%, transparent); font-variant-numeric: tabular-nums; }
.hero-numeros small { font-size: 0.7rem; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 700px) {
  .hero-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .hero-numeros b { font-size: 1.5rem; }
  .hero-botoes .botao { flex: 1 1 auto; text-align: center; padding: 0.75rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-numeros a::after { animation: none; } }

/* Tela inicial começa mais para cima (sem a faixa de cima) */
.hero { justify-content: flex-start; padding-top: 5.5rem; min-height: 0; }
@media (min-width: 901px) { .hero { padding-top: 120px; min-height: 80vh; } }

/* ===== Desempenho ===== */
/* Seções fora da tela não são desenhadas até chegarem perto (vale no computador e no celular) */
#comparador, #ranking, #sobre, #minha-garagem, #carros { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
#carros { contain-intrinsic-size: auto 2600px; }

/* Celular: efeitos leves (sem desfoque, sem fundo fixo redesenhando, sem animações que repetem sem parar) */
@media (hover: none) and (pointer: coarse) {
  body { background: var(--fundo); }
  body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(18, 5, 24, 0.55), rgba(18, 5, 24, 0.55)), url("imagens/fundo-celular.jpg") center top / cover no-repeat;
  }
  *, *::before, *::after, .ficha::backdrop, .visor::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .topo { background: rgba(18, 5, 24, 0.97); }
  .hero-login, .atalhos-celular a, .hero-numeros a { background-color: rgba(20, 8, 40, 0.9); }
  .animado .hero h1 > span:last-of-type, .animado .hero .dourado, .hero:hover .dourado, .animado .logo-vice,
  #progresso-barra::after, .comp-col .stat.top b, .comp-linha.top dd, .painel, .area-aprox, .area-carro,
  .animado .p1 .rank-pos::before, .animado .rank-item.p1 .rank-nota b, .animado .conta-entrar, .animado .conta-entrar:hover,
  .hero-login::before, .hero-login:hover::before, .animado .nav-breve span, .hero-numeros a::after { animation: none !important; }
  #progresso-barra::after { display: none; }
}

/* Veículos: botões "Encontrado" e "Garagem" lado a lado */
.garagem-btn { cursor: pointer; font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.55rem; border-radius: 8px; color: #19e3ff;
  background: rgba(25, 227, 255, 0.08); border: 1px dashed rgba(25, 227, 255, 0.55); transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s; }
.garagem-btn:hover, .garagem-btn:focus-visible { background: rgba(25, 227, 255, 0.18); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(25, 227, 255, 0.25); outline: none; }
.garagem-btn.ativo { color: #12031f; border: 1px solid #19e3ff; background: linear-gradient(135deg, #19e3ff, #b26bff); box-shadow: 0 0 14px rgba(25, 227, 255, 0.45); }
.garagem-btn.cheia { color: #ff7ab8; border-color: rgba(255, 46, 136, 0.5); background: rgba(255, 46, 136, 0.08); }
.produto.carro .card-acoes, .produtos .produto.carro .card-acoes { grid-template-columns: 1fr 1fr; }
.produto.carro .card-acoes .tenho, .produtos .produto.carro .card-acoes .tenho { grid-column: auto; margin-top: 0; }
.produto.carro .card-acoes .mapa-btn, .produtos .produto.carro .card-acoes .mapa-btn { grid-column: 1 / -1; }
.produto.carro .card-acoes .comparar-btn, .produtos .produto.carro .card-acoes .comparar-btn { grid-column: auto; }
.produto.carro .card-acoes .tenho, .produto.carro .card-acoes .garagem-btn { font-size: 0.85rem; line-height: 1.2; }
.ficha .card-acoes .garagem-btn { white-space: nowrap; }

/* Título da caixa de login pode quebrar linha (o texto ficou maior com "e sua garagem") */
.hero .hero-login-texto b, .hero-acoes .hero-login-texto b { white-space: normal; text-wrap: balance; font-size: 0.78rem; line-height: 1.35; }
.hero-login-texto { min-width: 0; }

/* ===== Gavetas do celular: filtros e legenda do mapa (no PC nada muda) ===== */
.gaveta-topo, .gaveta-ver, .botoes-gaveta, .gaveta-btn.so-celular, .gaveta, .gaveta-fundo { display: none; }
@media (max-width: 900px) {
  #loja .legenda { display: none; }
  .botoes-gaveta { display: flex; gap: 0.5rem; width: 100%; margin: 0.2rem 0 0.3rem; }
  .gaveta-btn.so-celular { display: inline-flex; }
  .gaveta-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: pointer; font-family: 'Audiowide', sans-serif; font-size: 0.78rem; letter-spacing: 0.04em;
    padding: 0.6rem 0.9rem; border-radius: 999px; color: #f3e9ff; background: linear-gradient(135deg, rgba(255, 46, 136, 0.22), rgba(178, 107, 255, 0.22)); border: 1px solid rgba(255, 46, 136, 0.55); box-shadow: 0 0 12px rgba(255, 46, 136, 0.2); }
  .gaveta-btn[data-gaveta="gaveta-legenda"] { background: linear-gradient(135deg, rgba(25, 227, 255, 0.16), rgba(178, 107, 255, 0.2)); border-color: rgba(25, 227, 255, 0.55); box-shadow: 0 0 12px rgba(25, 227, 255, 0.2); }
  .gaveta-btn .filtros-n { color: #ffd23f; }
  #loja .catalogo-topo .gaveta-btn { flex: 0 0 auto; }

  /* O painel de filtros das armas vira gaveta que sobe de baixo */
  #painel-armas, #painel-carros, .gaveta { position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 90; display: block;
    max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; margin: 0; border-radius: 22px 22px 0 0 !important;
    translate: 0 105%; transition: translate 0.38s cubic-bezier(.2,.8,.2,1); opacity: 1 !important; transform: none !important; visibility: hidden; }
  #painel-armas.aberta, #painel-carros.aberta, .gaveta.aberta { translate: 0 0; visibility: visible; }
  #painel-armas, #painel-carros { transition: translate 0.38s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0.38s; }
  #painel-armas.aberta, #painel-carros.aberta { transition: translate 0.38s cubic-bezier(.2,.8,.2,1); }
  .gaveta { padding: 0 1.1rem 1.4rem; background: linear-gradient(170deg, rgb(40, 12, 58), rgb(16, 4, 26)); border-top: 1.5px solid rgba(25, 227, 255, 0.55); box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6); }
  .gaveta-topo { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; margin: 0 -1.1rem 0.8rem; padding: 0.95rem 1.1rem 0.75rem;
    background: rgba(24, 7, 36, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  #painel-armas .gaveta-topo, #painel-carros .gaveta-topo { margin: -1.1rem -1rem 0.9rem; padding: 0.95rem 1rem 0.75rem; }
  .gaveta-topo::before { content: ""; position: absolute; top: 0.35rem; left: 50%; width: 44px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); translate: -50% 0; }
  .gaveta-topo b { font-family: 'Audiowide', sans-serif; font-size: 0.95rem; letter-spacing: 0.04em; color: #19e3ff; }
  .gaveta-fechar { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1rem; cursor: pointer; }
  .gaveta-ver { display: block; position: sticky; bottom: -1.2rem; width: calc(100% + 2rem); margin: 1rem -1rem -1.2rem; padding: 0.95rem; border: none; cursor: pointer;
    font-family: 'Audiowide', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; color: #12031f; background: linear-gradient(135deg, #19e3ff, #b26bff); }
  .gaveta-fundo { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(5, 0, 12, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .gaveta-fundo.visivel { opacity: 1; pointer-events: auto; }
  html.gaveta-aberta, html.gaveta-aberta body { overflow: hidden; }

  /* Conteúdo da legenda */
  #legenda-explica h4 { font-family: 'Audiowide', sans-serif; font-size: 0.85rem; color: #ffd23f; margin: 1rem 0 0.5rem; letter-spacing: 0.03em; }
  #legenda-explica h4 small { font-family: system-ui, sans-serif; font-size: 0.72rem; color: rgba(243, 233, 255, 0.6); margin-left: 0.3rem; letter-spacing: 0; }
  .leg-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
  .leg-lista li { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0.6rem; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
  .leg-lista b { display: block; font-size: 0.88rem; }
  .leg-lista small { display: block; font-size: 0.75rem; opacity: 0.75; line-height: 1.35; }
  .leg-bola { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: #12031f; border: 2px solid #12031f; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
  .leg-losango { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
  .leg-losango::before { content: ""; grid-area: 1 / 1; width: 19px; height: 19px; border-radius: 4px; transform: rotate(45deg); background: var(--cor); border: 2px solid #12031f; }
  .leg-losango i { grid-area: 1 / 1; font-style: normal; font-size: 0.7rem; z-index: 1; }
  .leg-area { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px dashed #fff; background: rgba(255, 255, 255, 0.1); }
  .leg-area.ciano { border-color: #19e3ff; background: rgba(25, 227, 255, 0.1); }
  .leg-pino { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
  .leg-pino::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 1px solid #12031f; }
  .leg-lista.dicas li { padding-left: 0.8rem; }
}

/* Minha Garagem cresce por fileiras; comparador compacto enquanto está vazio */
.vagas-mais { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(243, 233, 255, 0.6); padding: 0.3rem; border-top: 1px dashed rgba(255, 210, 63, 0.25); }
#comparador:has([data-modo-area].vazia:not([hidden])) { padding: 2.6rem 0 2.2rem; }
#comparador:has([data-modo-area].vazia:not([hidden])) h2 { margin-bottom: 1rem; }
.comparador [data-modo-area].vazia .chave-municao { display: none; }
.comparador [data-modo-area].vazia .comparar-form { margin-bottom: 0.4rem; }
.comparador [data-modo-area].vazia .comp-vazio { margin: 0.3rem 0 0; font-size: 0.85rem; opacity: 0.75; }

/* Título da tela inicial: "GTA VI." nunca separa e as linhas ficam equilibradas */
.hero h1 { text-wrap: balance; }

/* Vagas vazias da Minha Garagem mais legíveis */
.vaga.livre { color: rgba(243, 233, 255, 0.62); }
.vaga-lugar { opacity: 0.8; }
.vaga-p { opacity: 0.55; }
.vaga.livre small { font-weight: 600; }

/* Cabeçalho mais baixo no celular: termina logo abaixo do botão do Google */
@media (max-width: 700px) {
  .topo .topo-conteudo { padding-top: .4rem; padding-bottom: .4rem; }
  .topo .logo, .topo .logo span { line-height: 1; }
}

/* Botão "Seguir no Instagram" — só no celular, entre o login e os atalhos */
.insta-celular { display: none; }
@media (max-width: 700px) {
  .insta-celular {
    display: flex; align-items: center; gap: 0.85rem; width: 100%; box-sizing: border-box;
    height: var(--alt-atalho, 6rem); margin-top: 1.2rem; padding: 0 1rem; position: relative; z-index: 2;
    border-radius: 14px; text-decoration: none; color: #fff;
    background:
      linear-gradient(rgba(24, 8, 32, 0.92), rgba(24, 8, 32, 0.92)) padding-box,
      linear-gradient(110deg, #ffd23f, #ff2e88 45%, #b26bff) border-box;
    border: 1.5px solid transparent;
    box-shadow: 0 0 14px rgba(255, 46, 136, 0.3);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .insta-celular:active { transform: scale(0.97); box-shadow: 0 0 22px rgba(255, 46, 136, 0.6); }
  .insta-celular + .atalhos-celular { margin-top: 0.55rem; }
  .insta-ic {
    flex: none; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; display: grid; place-items: center;
    background: linear-gradient(45deg, #ffd23f, #ff7a3d 30%, #ff2e88 60%, #b26bff);
    box-shadow: 0 0 12px rgba(255, 46, 136, 0.55);
  }
  .insta-ic svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: #fff; stroke-width: 2; }
  .insta-ic .cheio { fill: #fff; stroke: none; }
  .insta-txt { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; flex: 1; }
  .insta-txt b { font-family: "Audiowide", sans-serif; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .insta-txt small { font-size: 0.7rem; opacity: 0.7; }
  .insta-seta { font-size: 1.2rem; color: #ff2e88; text-shadow: 0 0 8px rgba(255, 46, 136, 0.7); }
}

/* Instagram no PC: ícone redondo no cabeçalho + faixa no fim da tela inicial */
.insta-topo, .insta-faixa { display: none; }
.insta-topo .insta-ic, .insta-faixa .insta-ic { display: grid; place-items: center; flex: none;
  background: linear-gradient(45deg, #ffd23f, #ff7a3d 30%, #ff2e88 60%, #b26bff); }
.insta-topo svg, .insta-faixa svg { fill: none; stroke: #fff; stroke-width: 2; }
.insta-topo .cheio, .insta-faixa .cheio { fill: #fff; stroke: none; }
@media (min-width: 701px) {
  .insta-topo {
    display: inline-flex; margin-left: 1rem; padding: 0.38rem; border-radius: 50%; border: 1.5px solid transparent;
    background:
      linear-gradient(#150620, #150620) padding-box,
      linear-gradient(90deg, #ffd23f, #ff2e88, #b26bff, #ffd23f) border-box;
    background-size: 100% 100%, 300% 100%;
    box-shadow: 0 0 14px rgba(255, 46, 136, 0.35), inset 0 0 12px rgba(178, 107, 255, 0.15);
    transition: transform 0.2s, box-shadow 0.25s;
  }
  .insta-topo + .conta { margin-left: -0.9rem; } /* a linha do cabeçalho já tem 1.5rem de gap */
  .insta-topo .insta-ic { width: 1.55rem; height: 1.55rem; border-radius: 0.5rem; box-shadow: 0 0 10px rgba(255, 46, 136, 0.45); }
  .insta-topo svg { width: 1.05rem; height: 1.05rem; }
  .insta-topo:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 46, 136, 0.6), inset 0 0 14px rgba(255, 210, 63, 0.15); animation: borda-conta 2.5s linear infinite; }
  .insta-topo:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }

  .insta-faixa {
    display: flex; align-items: center; gap: 0.75rem; max-width: 640px; margin-top: 1.1rem; padding: 0.5rem 0.6rem 0.5rem 0.55rem;
    border-radius: 999px; text-decoration: none; color: #f3e9ff; font-size: 0.88rem; position: relative; overflow: hidden;
    background:
      linear-gradient(rgba(21, 6, 32, 0.85), rgba(21, 6, 32, 0.85)) padding-box,
      linear-gradient(90deg, #ffd23f, #ff2e88, #b26bff, #ffd23f) border-box;
    background-size: 100% 100%, 300% 100%;
    border: 1px solid transparent; box-shadow: 0 0 12px rgba(255, 46, 136, 0.25);
    transition: transform 0.2s, box-shadow 0.25s;
  }
  .insta-faixa::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent); transform: skewX(-20deg); animation: brilho-numero 6s ease-in-out 2.4s infinite; }
  .insta-faixa .insta-ic { width: 1.9rem; height: 1.9rem; border-radius: 0.6rem; box-shadow: 0 0 10px rgba(255, 46, 136, 0.5); }
  .insta-faixa svg { width: 1.2rem; height: 1.2rem; }
  .insta-faixa-txt { flex: 1; min-width: 0; }
  .insta-faixa-txt b { color: #ff7ab8; }
  .insta-faixa-seguir { font-family: "Audiowide", sans-serif; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
    padding: 0.45rem 0.9rem; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #ff2e88, #b26bff); box-shadow: 0 0 12px rgba(255, 46, 136, 0.5); }
  .insta-faixa:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(255, 46, 136, 0.5); animation: borda-conta 2.5s linear infinite; }
  .insta-faixa:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .insta-faixa::after, .insta-faixa:hover, .insta-topo:hover { animation: none; } }
@media (hover: none) and (pointer: coarse) { .insta-faixa::after { animation: none; } }

/* Minha Garagem: sem o vão embaixo das vagas (a próxima seção já tem o próprio respiro) */
#minha-garagem { padding-bottom: 1.5rem; }
#minha-garagem + #carros { padding-top: 2.5rem; }
.mg-fora:empty { display: none; }
@media (max-width: 700px) {
  .insta-txt small { line-height: 1.35; }
  .insta-txt small i { font-style: normal; color: #ff7ab8; font-weight: 600; }
}
@media (max-width: 420px) { .insta-txt small i { display: block; } .insta-sep { display: none; } }

/* Celular: logo um pouco menor e botão redondo do Instagram ao lado do botão do Google */
@media (max-width: 700px) {
  .topo .logo { gap: 0.4rem; }
  .topo .logo-vice { font-size: 1.45rem; }
  .topo .logo .logo-stock { font-size: 0.98rem; letter-spacing: 3px; }
  .insta-topo {
    display: inline-flex; margin-left: auto; padding: 0.3rem; border-radius: 50%; border: 1.5px solid transparent;
    background:
      linear-gradient(#150620, #150620) padding-box,
      linear-gradient(90deg, #ffd23f, #ff2e88, #b26bff) border-box;
    box-shadow: 0 0 12px rgba(255, 46, 136, 0.35);
  }
  .insta-topo .insta-ic { width: 1.6rem; height: 1.6rem; border-radius: 0.5rem; }
  .insta-topo svg { width: 1.1rem; height: 1.1rem; }
  .insta-topo:active { transform: scale(0.92); }
  .topo .conta { display: flex; align-items: center; } /* tira o vão de linha embaixo do botão do Google (alinha com o Instagram) */
  .insta-topo + .conta { margin-left: -0.9rem; }
}

/* Aviso solto no fim dos painéis de filtro (armas e Garagem) */
.dica-cap.dica-painel { margin: 1rem 0 0.2rem; }

/* ===== PC: mapa em cima (largura toda) e "Filtros do mapa" numa gaveta lateral (28/11) ===== */
.filtro-mapa-btn, .gaveta-mapa { display: none; }
@media (min-width: 901px) {
  #loja .mapa-caixa.grande .mapa-area { width: min(100%, 1080px); }
  .filtro-mapa-btn {
    display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
    font-family: 'Audiowide', sans-serif; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
    padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid transparent;
    background: linear-gradient(#1a0726, #1a0726) padding-box, linear-gradient(90deg, #ff2e88, #b26bff, #19e3ff) border-box;
    box-shadow: 0 0 14px rgba(255, 46, 136, 0.3); transition: transform 0.2s, box-shadow 0.25s;
  }
  .filtro-mapa-btn:hover, .filtro-mapa-btn[aria-expanded="true"] { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255, 46, 136, 0.55); }
  .filtro-mapa-btn .fm-n:not(:empty) { min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; border-radius: 999px; display: inline-grid; place-items: center;
    background: #ffd23f; color: #1a0726; font-size: 0.72rem; box-shadow: 0 0 10px rgba(255, 210, 63, 0.6); }

  .gaveta-mapa {
    display: flex; flex-direction: column; position: fixed; z-index: 85; left: 0; top: var(--topo-h, 77px); bottom: 0; width: min(380px, 92vw);
    background: linear-gradient(170deg, rgba(40, 12, 58, 0.98), rgba(14, 3, 24, 0.98));
    border-right: 1.5px solid rgba(255, 46, 136, 0.5); box-shadow: 18px 0 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 46, 136, 0.18);
    translate: -105% 0; visibility: hidden; transition: translate 0.38s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0.38s;
  }
  .gaveta-mapa.aberta { translate: 0 0; visibility: visible; transition: translate 0.38s cubic-bezier(.2, .8, .2, 1); }
}
@media (min-width: 901px) {
  /* 1ª linha: título + legenda; 2ª linha: Filtros do mapa, camadas e Mapa grande */
  #loja .mapa-topo h3 { flex: none; }
  #loja .mapa-topo .legenda { flex: 1 1 calc(100% - 320px); }
  #loja .mapa-topo .mapa-tamanho { margin-left: auto; }
}

/* Conteúdo da gaveta "Filtros do mapa" (PC e celular) */
.gm-topo { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem 0.6rem; }
.gm-topo b { font-family: 'Audiowide', sans-serif; letter-spacing: 0.08em; color: var(--ciano); text-shadow: 0 0 10px rgba(25, 227, 255, 0.5); }
.gm-fechar { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; }
.gm-fechar:hover { border-color: #ff2e88; box-shadow: 0 0 12px rgba(255, 46, 136, 0.5); }
.gm-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin: 0 1.1rem; padding: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.gm-abas button { border: 0; border-radius: 999px; padding: 0.5rem; cursor: pointer; background: transparent; color: rgba(255, 255, 255, 0.75);
  font-family: 'Audiowide', sans-serif; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s, color 0.2s; }
.gm-abas button[aria-selected="true"] { color: #12031f; background: linear-gradient(135deg, #ff2e88, #b26bff); box-shadow: 0 0 14px rgba(255, 46, 136, 0.45); }
.gm-abas button[data-gm="carros"][aria-selected="true"] { background: linear-gradient(135deg, #19e3ff, #b26bff); box-shadow: 0 0 14px rgba(25, 227, 255, 0.45); }
.gm-abas .filtros-n, .gm-abas .c-filtros-n { color: #ffd23f; }
.gm-abas button[aria-selected="true"] .filtros-n, .gm-abas button[aria-selected="true"] .c-filtros-n { color: #12031f; }
.gm-nota { font-size: 0.75rem; opacity: 0.6; margin: 0.6rem 1.2rem 0.4rem; }
.gm-corpo { flex: 1; min-height: 0; overflow-y: auto; padding: 0.4rem 0.8rem 1.2rem; }
.gm-corpo[hidden] { display: none; }
.gm-corpo > .painel { position: static !important; max-height: none !important; overflow: visible; animation: none; }
.gm-ver { display: none; }
#gaveta-mapa .gm-corpo > .painel { position: static !important; max-height: none !important; overflow: visible !important; translate: none !important; z-index: auto;
  visibility: visible !important; transition: none !important; border-radius: 20px !important; margin: 0 !important; }
#gaveta-mapa .gm-corpo .gaveta-topo, #gaveta-mapa .gm-corpo .gaveta-ver { display: none !important; }

/* Celular: a gaveta "Filtros do mapa" sobe de baixo */
@media (max-width: 900px) {
  .gaveta-mapa {
    display: flex; flex-direction: column; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: 88vh;
    border-radius: 22px 22px 0 0; background: linear-gradient(170deg, rgb(40, 12, 58), rgb(14, 3, 24));
    border-top: 1.5px solid rgba(255, 46, 136, 0.6); box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6);
    translate: 0 105%; visibility: hidden; transition: translate 0.38s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0.38s;
  }
  .gaveta-mapa.aberta { translate: 0 0; visibility: visible; transition: translate 0.38s cubic-bezier(.2, .8, .2, 1); }
  .gaveta-mapa .gm-topo { position: relative; padding-top: 1.1rem; }
  .gaveta-mapa .gm-topo::before { content: ""; position: absolute; top: 0.4rem; left: 50%; width: 44px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); translate: -50% 0; }
  .gaveta-mapa .gm-corpo { overscroll-behavior: contain; padding: 0.4rem 0.6rem 0.8rem; }
  .gm-ver { display: block; flex: none; width: 100%; padding: 0.95rem; border: none; cursor: pointer;
    font-family: 'Audiowide', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; color: #12031f; background: linear-gradient(135deg, #19e3ff, #b26bff); }
  .gaveta-btn .fm-total { color: #ffd23f; }
}

/* Celular: filtros da Garagem numa gaveta + botão flutuante de filtros que acompanha a rolagem nos dois catálogos */
.filtro-flutuante { display: none; }
@media (max-width: 900px) {
  #carros .catalogo-topo .gaveta-btn { flex: 0 0 auto; }
  /* content-visibility prende elementos "fixed" dentro da seção: solta enquanto a gaveta dos veículos está aberta */
  html.gaveta-aberta #carros { content-visibility: visible; }
  .filtro-flutuante {
    display: inline-flex; align-items: center; gap: 0.35rem; position: fixed; z-index: 40; right: 0.75rem; top: calc(var(--topo-cel, 51px) + 0.6rem);
    font-family: 'Audiowide', sans-serif; font-size: 0.72rem; letter-spacing: 0.04em; color: #fff; cursor: pointer;
    padding: 0.55rem 0.95rem; border-radius: 999px; border: 1.5px solid transparent;
    background: linear-gradient(rgba(26, 7, 38, 0.96), rgba(26, 7, 38, 0.96)) padding-box, linear-gradient(90deg, #ff2e88, #b26bff) border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 46, 136, 0.4);
    opacity: 0; translate: 0 -12px; pointer-events: none; transition: opacity 0.25s, translate 0.25s;
  }
  .filtro-flutuante[data-gaveta="painel-carros"] { background: linear-gradient(rgba(26, 7, 38, 0.96), rgba(26, 7, 38, 0.96)) padding-box, linear-gradient(90deg, #19e3ff, #b26bff) border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(25, 227, 255, 0.4); }
  .filtro-flutuante.mostrar { opacity: 1; translate: 0 0; pointer-events: auto; }
  .filtro-flutuante .filtros-n, .filtro-flutuante .c-filtros-n { color: #ffd23f; }
  html.gaveta-aberta .filtro-flutuante { opacity: 0; pointer-events: none; }
}
@media (min-width: 901px) {
  /* O topo do mapa agora tem duas linhas (título/legenda + botões): desconta a altura delas para o mapa caber inteiro na tela */
  #loja .mapa-caixa:not(.grande) .mapa-area { width: min(100%, calc((100vh - 185px) * 6460 / 9100)); }
  @supports (height: 100svh) { #loja .mapa-caixa:not(.grande) .mapa-area { width: min(100%, calc((100svh - 185px) * 6460 / 9100)); } }
}

/* Tamanho do mapa no PC: Na tela / Grande (substitui o botão único "Mapa grande") */
.mapa-tamanho { padding: 0.2rem; gap: 0.2rem; }
.mapa-tamanho:hover { background: rgba(25, 227, 255, 0.08); box-shadow: 0 0 10px rgba(25, 227, 255, 0.2); transform: none; }
.mapa-tamanho button { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; border: 0; border-radius: 999px; padding: 0.35rem 0.75rem;
  background: transparent; color: var(--ciano); font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.mapa-tamanho button span { font-size: 0.85rem; }
.mapa-tamanho button:hover { background: rgba(25, 227, 255, 0.15); }
.mapa-tamanho button[aria-pressed="true"] { color: #12031f; background: linear-gradient(135deg, #19e3ff, #b26bff); box-shadow: 0 0 12px rgba(25, 227, 255, 0.45); }
