/* Fontes locais (Monoton e Audiowide) */
@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; }

* { 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-size: 2.2rem; margin-bottom: 2rem;
  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; }
.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%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.4s; will-change: transform; }
.particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.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; 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.5rem; cursor: pointer; white-space: nowrap;
  background: #fff; color: #1f1f1f; border: none; border-radius: 999px; padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  font-weight: 600; font-size: 0.85rem; box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 0 16px rgba(25, 227, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.25s;
}
.conta-entrar svg { width: 1.15rem; height: 1.15rem; }
.conta-entrar:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px var(--ciano), 0 0 20px rgba(25, 227, 255, 0.5); }
.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.75rem; padding: 0.35rem 0.7rem 0.35rem 0.5rem; } }
