/* Portal de leiloes - mobile first.
   Alvo: telefone na mao, uma coluna, alcance do polegar.
   Acoes principais vivem embaixo; o topo e so informacao e busca. */

:root {
  --tinta: #0d1b2a;
  --tinta-2: #1b2a3d;
  --papel: #f6f7f9;
  --carta: #ffffff;
  --linha: #e3e7ed;
  --texto: #16202c;
  --texto-2: #5c6a7a;
  --texto-3: #8b98a8;
  --marca: #0f6e5c;
  --marca-clara: #e6f4f0;
  --alerta: #b4451f;
  --destaque: #c2410c;
  --raio: 14px;
  --raio-p: 9px;
  --sombra: 0 1px 2px rgba(13, 27, 42, .06), 0 4px 14px rgba(13, 27, 42, .06);
  --topo-h: 132px;
  --rodape-h: calc(56px + env(safe-area-inset-bottom));
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* varios elementos aqui usam display:grid/flex, que vence o hidden padrao */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--papel);
  overscroll-behavior-y: none;
}

svg { width: 22px; height: 22px; fill: none; stroke: currentColor;
      stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

button { font: inherit; color: inherit; border: 0; background: none;
         cursor: pointer; }

input, select { font: inherit; }

/* ---------- topo fixo ---------- */

.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: var(--tinta); color: #fff;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
}

.topo-linha { display: flex; align-items: center; justify-content: space-between;
              margin-bottom: 9px; }

.marca { display: flex; align-items: center; gap: 7px; font-weight: 650;
         letter-spacing: -.01em; font-size: 17px; }
.marca-icone { color: #4ade9c; font-size: 15px; }

.icone-btn { color: #fff; opacity: .85; padding: 6px; margin: -6px; }
/* dentro das folhas o fundo e claro: herda a cor do texto */
.folha .icone-btn { color: var(--texto); opacity: 1; }

.busca-linha { display: flex; gap: 9px; align-items: center; }

.campo-busca { flex: 1; display: flex; align-items: center; gap: 8px;
               background: rgba(255,255,255,.12); border-radius: var(--raio-p);
               padding: 0 11px; height: 42px; }
.campo-busca .lupa { width: 17px; height: 17px; color: rgba(255,255,255,.65);
                     flex: none; }
.campo-busca input {
  flex: 1; min-width: 0; background: none; border: 0; color: #fff;
  font-size: 16px;  /* 16px evita o zoom automatico do iOS ao focar */
  outline: none;
}
.campo-busca input::placeholder { color: rgba(255,255,255,.55); }
.limpar-busca { color: rgba(255,255,255,.7); font-size: 15px; padding: 4px; }

.filtro-btn {
  position: relative; width: 42px; height: 42px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.12); border-radius: var(--raio-p);
}
.badge-filtros {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: #4ade9c; color: var(--tinta);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

.chips-ordem {
  display: flex; gap: 7px; margin: 9px -14px 0; padding: 0 14px 2px;
  overflow-x: auto; scrollbar-width: none;
}
.chips-ordem::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 6px 12px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  white-space: nowrap;
}
.chip.ativo { background: #fff; color: var(--tinta); font-weight: 600; }

/* ---------- lista ---------- */

#principal { padding: calc(var(--topo-h) + 8px) 12px
             calc(var(--rodape-h) + 20px); }

.resumo { font-size: 13px; color: var(--texto-2); padding: 2px 2px 10px; }
.resumo b { color: var(--texto); font-weight: 650; }

.lista { display: flex; flex-direction: column; gap: 11px; }

.carta {
  background: var(--carta); border-radius: var(--raio); overflow: hidden;
  box-shadow: var(--sombra); display: grid;
  grid-template-columns: 128px 1fr; align-items: stretch;
}
.carta:active { transform: scale(.995); }

.carta-foto { position: relative; background: #e9edf2; min-height: 134px; }
.carta-foto img { position: absolute; inset: 0; width: 100%; height: 100%;
                  object-fit: cover; display: block; }
.sem-foto { width: 100%; height: 100%; display: grid; place-items: center;
            color: var(--texto-3); font-size: 12px; }

.selo-desconto {
  position: absolute; top: 7px; left: 7px; background: var(--destaque);
  color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px;
  border-radius: 7px; letter-spacing: -.01em;
}
.selo-tipo {
  position: absolute; bottom: 7px; left: 7px; background: rgba(13,27,42,.82);
  color: #fff; font-size: 10.5px; padding: 3px 7px; border-radius: 6px;
  backdrop-filter: blur(3px);
}
.btn-salvar {
  position: absolute; top: 6px; right: 6px; width: 34px; height: 34px;
  border-radius: 50%; color: var(--texto-3);
  display: grid; place-items: center;
}
.btn-salvar.salvo { color: var(--destaque); }
.btn-salvar.salvo svg { fill: currentColor; }

.carta-corpo { position: relative; padding: 10px 44px 10px 11px;
               min-width: 0; }

.carta-valor { display: flex; align-items: baseline; gap: 8px;
               flex-wrap: wrap; margin-bottom: 3px; padding-right: 4px; }
.valor { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.valor-antigo { font-size: 13px; color: var(--texto-3);
                text-decoration: line-through; }

.carta-titulo {
  font-size: 12.5px; color: var(--texto-2); line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 6px;
}

.carta-meta { display: flex; gap: 9px; flex-wrap: wrap; font-size: 12px;
              color: var(--texto-2); }
.meta-item { display: flex; align-items: center; gap: 4px; }
.meta-item svg { width: 14px; height: 14px; color: var(--texto-3); }

.carta-praca {
  margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--linha);
  display: flex; align-items: center; gap: 5px; font-size: 11.5px;
  color: var(--texto-2);
}
.praca-hoje { color: var(--alerta); font-weight: 650; }
.praca-perto { color: var(--destaque); font-weight: 600; }

.carta.bloqueada .carta-foto img { filter: blur(6px); transform: scale(1.08); }
.cadeado {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(13,27,42,.28);
}
.cadeado span {
  background: rgba(255,255,255,.95); color: var(--tinta); font-size: 16px;
  padding: 6px 9px; border-radius: 999px; line-height: 1;
}

/* ---------- rodape ---------- */

.rodape {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linha);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 7px; color: var(--texto-3); font-size: 10.5px;
}
.nav-item.ativo { color: var(--marca); }
.nav-item.ativo svg { stroke-width: 2; }

/* ---------- folhas (bottom sheets) ---------- */

.folha { position: fixed; inset: 0; z-index: 60; }
.folha-fundo { position: absolute; inset: 0; background: rgba(13,27,42,.42);
               animation: aparecer .18s ease; }
.folha-corpo {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 90vh; background: var(--papel);
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column;
  animation: subir .26s cubic-bezier(.32, .72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.folha.cheia .folha-corpo { max-height: 100vh; height: 100%;
                            border-radius: 0; }
@keyframes subir { from { transform: translateY(100%); } }
@keyframes aparecer { from { opacity: 0; } }

.puxador { width: 36px; height: 4px; border-radius: 2px; background: #cfd6df;
           margin: 9px auto 4px; flex: none; }

.folha-topo { display: flex; align-items: center; justify-content: space-between;
              padding: 8px 16px 10px; flex: none; }
.folha-topo h2 { margin: 0; font-size: 17px; font-weight: 650; }
.link { color: var(--marca); font-size: 14px; font-weight: 600; padding: 4px; }

.folha-rolagem { overflow-y: auto; -webkit-overflow-scrolling: touch;
                 padding: 0 16px 12px; flex: 1; }

.folha-acao { padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
              background: var(--carta); border-top: 1px solid var(--linha);
              flex: none; }

.grupo { margin-bottom: 20px; }
.grupo h3 { margin: 0 0 9px; font-size: 13px; font-weight: 600;
            color: var(--texto-2); display: flex; justify-content: space-between; }
.valor-rot { color: var(--marca); font-weight: 700; }

.pilulas { display: flex; flex-wrap: wrap; gap: 7px; }
.pilula {
  padding: 8px 13px; border-radius: 999px; background: var(--carta);
  border: 1px solid var(--linha); font-size: 13.5px; color: var(--texto-2);
}
.pilula.on { background: var(--marca); border-color: var(--marca); color: #fff;
             font-weight: 600; }
.pilula small { opacity: .65; margin-left: 3px; font-size: 11.5px; }

select, .dupla input {
  width: 100%; height: 46px; padding: 0 12px; border-radius: var(--raio-p);
  border: 1px solid var(--linha); background: var(--carta); font-size: 16px;
  color: var(--texto); outline: none;
}
select:focus, .dupla input:focus { border-color: var(--marca); }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

input[type=range] { width: 100%; accent-color: var(--marca); height: 30px; }

.alternar { display: flex; align-items: center; gap: 10px; font-size: 14.5px;
            padding: 4px 0; }
.alternar input { width: 21px; height: 21px; accent-color: var(--marca); }

.botao {
  width: 100%; height: 50px; border-radius: var(--raio-p); font-size: 15.5px;
  font-weight: 650; display: grid; place-items: center;
}
.botao.primario { background: var(--tinta); color: #fff; }
.botao.marca { background: var(--marca); color: #fff; }
.botao.contorno { background: var(--carta); border: 1px solid var(--linha);
                  color: var(--texto); }
.botao:active { opacity: .88; }

/* ---------- ficha do imovel ---------- */

.ficha-topo { position: sticky; top: 0; z-index: 3; display: flex;
              align-items: center; gap: 10px; padding: 10px 14px;
              background: var(--carta); border-bottom: 1px solid var(--linha); }
.ficha-topo h2 { flex: 1; margin: 0; font-size: 15px; font-weight: 650;
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ficha-rolagem { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1;
                 background: var(--papel); }

.galeria { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
           background: #e9edf2; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria img { width: 100%; flex: none; aspect-ratio: 4/3; object-fit: cover;
               scroll-snap-align: center; }

.ficha-bloco { background: var(--carta); padding: 15px 16px; margin-bottom: 9px; }
.ficha-bloco h3 { margin: 0 0 11px; font-size: 13px; font-weight: 650;
                  color: var(--texto-2); text-transform: uppercase;
                  letter-spacing: .03em; }

.preco-grande { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.preco-linha { display: flex; align-items: baseline; gap: 9px;
               flex-wrap: wrap; }

.linhas { display: flex; flex-direction: column; }
.linha-dado { display: flex; justify-content: space-between; gap: 14px;
              padding: 9px 0; border-bottom: 1px solid var(--linha);
              font-size: 14px; }
.linha-dado:last-child { border-bottom: 0; }
.linha-dado dt { color: var(--texto-2); flex: none; }
.linha-dado dd { margin: 0; text-align: right; font-weight: 550; }

.pracas { display: flex; flex-direction: column; gap: 9px; }
.praca-carta { border: 1px solid var(--linha); border-radius: var(--raio-p);
               padding: 11px 12px; }
.praca-carta.primeira { border-color: var(--marca); background: var(--marca-clara); }
.praca-nome { font-size: 12px; color: var(--texto-2); margin-bottom: 3px; }
.praca-data { font-size: 14.5px; font-weight: 600; }
.praca-valor { font-size: 17px; font-weight: 700; margin-top: 4px; }

.descricao { font-size: 14px; line-height: 1.6; color: var(--texto-2);
             white-space: pre-line; }
.descricao.curta { display: -webkit-box; -webkit-line-clamp: 6;
                   -webkit-box-orient: vertical; overflow: hidden; }

.mapa { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--raio-p);
        display: block; background: #e9edf2; }

.ficha-acoes { position: sticky; bottom: 0; display: flex; gap: 9px;
               padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
               background: var(--carta); border-top: 1px solid var(--linha); }
.ficha-acoes .botao { flex: 1; }
.ficha-acoes .botao.icone { flex: none; width: 50px; }

/* ---------- muro de assinatura ---------- */

.muro { background: linear-gradient(160deg, var(--tinta), #16324a);
        color: #fff; border-radius: var(--raio); padding: 20px 18px;
        margin: 14px 0; text-align: center; }
.muro h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; color: #fff;
           text-transform: none; letter-spacing: 0; }
.muro p { margin: 0 0 15px; font-size: 13.5px; color: rgba(255,255,255,.78);
          line-height: 1.5; }
.muro-preco { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.muro-preco small { font-size: 14px; font-weight: 400;
                    color: rgba(255,255,255,.7); }
.muro .botao { background: #4ade9c; color: var(--tinta); margin-top: 4px; }
.muro-lista { text-align: left; margin: 0 auto 16px; padding: 0;
              list-style: none; max-width: 260px; }
.muro-lista li { font-size: 13.5px; color: rgba(255,255,255,.9);
                 padding: 4px 0 4px 22px; position: relative; }
.muro-lista li::before { content: "✓"; position: absolute; left: 0;
                         color: #4ade9c; font-weight: 700; }

/* ---------- conta ---------- */

.form-campo { margin-bottom: 12px; }
.form-campo label { display: block; font-size: 12.5px; color: var(--texto-2);
                    margin-bottom: 5px; }
.form-campo input { width: 100%; height: 46px; padding: 0 12px;
                    border-radius: var(--raio-p); border: 1px solid var(--linha);
                    background: var(--carta); font-size: 16px; outline: none; }
.form-campo input:focus { border-color: var(--marca); }
.abas-conta { display: flex; gap: 6px; margin-bottom: 16px;
              background: #e9edf2; padding: 3px; border-radius: var(--raio-p); }
.abas-conta button { flex: 1; height: 36px; border-radius: 7px; font-size: 14px;
                     color: var(--texto-2); }
.abas-conta button.on { background: var(--carta); color: var(--texto);
                        font-weight: 600; box-shadow: var(--sombra); }
.erro-form { color: var(--alerta); font-size: 13px; margin: 0 0 10px; }

.painel-conta { text-align: center; padding: 6px 0 4px; }
.avatar { width: 58px; height: 58px; border-radius: 50%;
          background: var(--marca-clara); color: var(--marca);
          display: grid; place-items: center; font-size: 22px; font-weight: 650;
          margin: 0 auto 10px; }
.selo-assinante { display: inline-block; background: var(--marca-clara);
                  color: var(--marca); font-size: 12px; font-weight: 650;
                  padding: 4px 11px; border-radius: 999px; margin-top: 6px; }
.selo-teste { background: #fef3c7; color: #92400e; }

/* ---------- diversos ---------- */

.carregando { display: flex; align-items: center; justify-content: center;
              gap: 8px; padding: 22px; color: var(--texto-3); font-size: 13px; }
.giro { width: 15px; height: 15px; border: 2px solid var(--linha);
        border-top-color: var(--marca); border-radius: 50%;
        animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.fim { text-align: center; color: var(--texto-3); font-size: 12.5px;
       padding: 18px 0 6px; }

.vazio { text-align: center; padding: 46px 24px; color: var(--texto-2); }
.vazio-icone { font-size: 34px; margin-bottom: 10px; opacity: .5; }
.vazio p { margin: 0 0 4px; font-size: 15px; font-weight: 600;
           color: var(--texto); }
.vazio small { font-size: 13.5px; }

.aviso { position: fixed; left: 14px; right: 14px;
         bottom: calc(var(--rodape-h) + 12px); z-index: 90;
         background: var(--tinta); color: #fff; padding: 12px 15px;
         border-radius: var(--raio-p); font-size: 14px; text-align: center;
         box-shadow: 0 6px 22px rgba(13,27,42,.28);
         animation: subir .2s ease; }

/* espelha o cartao horizontal, para a lista nao "pular" ao trocar */
.esqueleto { background: var(--carta); border-radius: var(--raio);
             overflow: hidden; box-shadow: var(--sombra);
             display: grid; grid-template-columns: 128px 1fr; }
.esqueleto .barra { background: linear-gradient(90deg, #eef1f5, #e2e7ee, #eef1f5);
                    background-size: 200% 100%; animation: brilho 1.3s infinite; }
.esqueleto .foto { grid-row: 1 / span 3; min-height: 132px; }
.esqueleto .l1 { height: 18px; margin: 12px 12px 8px; width: 60%; border-radius: 5px; }
.esqueleto .l2 { height: 12px; margin: 0 12px 7px; border-radius: 4px; }
.esqueleto .l3 { height: 12px; margin: 0 12px 14px; width: 55%; border-radius: 4px; }
@keyframes brilho { to { background-position: -200% 0; } }

/* ---------- telas maiores ---------- */

@media (min-width: 640px) {
  #principal { max-width: 900px; margin: 0 auto; padding-left: 18px;
               padding-right: 18px; }
  .lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .carta, .esqueleto { grid-template-columns: 1fr; }
  .esqueleto .foto { grid-row: auto; aspect-ratio: 16/10; min-height: 0; }
  .carta-foto { aspect-ratio: 16/10; min-height: 0; }
  .carta-corpo { padding: 11px 13px 13px; }
  .carta-foto { aspect-ratio: 16/10; min-height: 0; }
  .selo-tipo { top: 9px; bottom: auto; right: 9px; left: auto; }
  .btn-salvar { top: auto; bottom: 9px; right: 9px; }
  .valor { font-size: 20px; }
  .topo { padding-left: 18px; padding-right: 18px; }
  .topo-linha, .busca-linha, .chips-ordem { max-width: 900px; margin-left: auto;
                                            margin-right: auto; }
  .folha-corpo { max-width: 560px; margin: 0 auto; border-radius: 18px 18px 0 0; }
  .folha.cheia .folha-corpo { max-width: 720px; }
}

@media (min-width: 980px) {
  .lista { grid-template-columns: repeat(3, 1fr); }
  #principal { max-width: 1200px; }
  .topo-linha, .busca-linha, .chips-ordem { max-width: 1200px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --papel: #0f1621; --carta: #16202e; --linha: #253243;
    --texto: #e8edf4; --texto-2: #9dabbd; --texto-3: #6b7b8f;
    --marca-clara: #0e3a31; --sombra: 0 1px 3px rgba(0,0,0,.4);
  }
  .rodape { background: rgba(22,32,46,.96); }
  .abas-conta { background: #0f1621; }
  .esqueleto .barra { background: linear-gradient(90deg, #1b2634, #22303f, #1b2634);
                      background-size: 200% 100%; }
  .carta-foto, .galeria, .mapa { background: #1b2634; }
}

/* ---------- checkout ---------- */

.resumo-plano {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: var(--carta); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 14px 15px; margin-bottom: 16px;
}
.plano-nome { font-weight: 650; font-size: 15px; }
.plano-obs { font-size: 12.5px; color: var(--texto-2); margin-top: 2px; }
.plano-valor { font-size: 21px; font-weight: 700; letter-spacing: -.02em;
               white-space: nowrap; }

.rotulo-secao { font-size: 12.5px; font-weight: 600; color: var(--texto-2);
                margin: 18px 0 9px; }
.opcional { color: var(--texto-3); font-weight: 400; }

.metodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metodo {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 13px 6px 11px; border-radius: var(--raio-p);
  border: 1.5px solid var(--linha); background: var(--carta);
  color: var(--texto-2); text-align: center;
}
.metodo.on { border-color: var(--marca); background: var(--marca-clara);
             color: var(--texto); }
.metodo-icone { font-size: 19px; line-height: 1; }
.metodo-nome { font-size: 13.5px; font-weight: 600; }
.metodo small { font-size: 10.5px; color: var(--texto-3); line-height: 1.25; }
.metodo.on small { color: var(--marca); }

.pix-caixa { background: var(--carta); border: 1px solid var(--linha);
             border-radius: var(--raio); padding: 18px 16px; text-align: center; }
.pix-qr { width: 210px; height: 210px; max-width: 100%; display: block;
          margin: 0 auto 14px; border-radius: 8px;
          background: #fff; padding: 8px; }
.pix-ajuda { font-size: 13.5px; color: var(--texto-2); line-height: 1.5;
             margin: 0 0 14px; }
.pix-codigo {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.45; color: var(--texto-2);
  background: var(--papel); border: 1px solid var(--linha);
  border-radius: var(--raio-p); padding: 10px; margin-bottom: 10px;
  word-break: break-all; max-height: 84px; overflow-y: auto; text-align: left;
  -webkit-user-select: all; user-select: all;
}

.aguardando { display: flex; align-items: center; justify-content: center;
              gap: 8px; padding: 16px 0 6px; font-size: 13px;
              color: var(--texto-2); }

.link.bloco { display: block; text-align: center; padding: 12px 0 4px; }

.sucesso { text-align: center; padding: 34px 20px 18px; }
.sucesso-icone {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--marca); color: #fff; font-size: 31px;
  display: grid; place-items: center;
}
.sucesso h2 { margin: 0 0 6px; font-size: 19px; }
.sucesso p { margin: 0; font-size: 14.5px; color: var(--texto-2); }


/* ---------- veículos ---------- */

.rodape-4 { grid-template-columns: repeat(4, 1fr); }

.carta-veic .carta-foto { min-height: 118px; }
.sem-foto-v { width: 100%; height: 100%; display: grid; place-items: center;
              font-size: 27px; opacity: .35; }

.linha-marca { display: flex; align-items: baseline; gap: 6px;
               flex-wrap: wrap; margin-bottom: 2px; }
.marca-nome { font-size: 13.5px; font-weight: 650; }
.ano-badge { font-size: 11.5px; color: var(--texto-2);
             background: var(--papel); border: 1px solid var(--linha);
             padding: 1px 6px; border-radius: 5px; }

/* selo de idoneidade: verde só quando a junta confirma */
.selo-idon {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px;
  font-weight: 650; padding: 2px 7px; border-radius: 999px;
  white-space: nowrap;
}
.selo-idon.regular { background: var(--marca-clara); color: var(--marca); }
.selo-idon.irregular { background: #fee2e2; color: #b4451f; }
.selo-idon.marketplace { background: #e0e7ff; color: #3730a3; }
.selo-idon.naoconsta { background: #fef3c7; color: #92400e; }

.aviso-idoneidade {
  display: flex; gap: 9px; align-items: flex-start;
  background: #fef3c7; color: #92400e; border-radius: var(--raio-p);
  padding: 11px 12px; font-size: 13px; line-height: 1.45; margin-bottom: 12px;
}
.aviso-idoneidade.grave { background: #fee2e2; color: #b4451f; }
.aviso-idoneidade b { font-weight: 700; }

.ficha-leiloeiro { display: flex; flex-direction: column; gap: 4px; }
.ficha-leiloeiro .linha-dado { padding: 7px 0; }

@media (prefers-color-scheme: dark) {
  .selo-idon.irregular { background: #3f1d1d; color: #fca5a5; }
  .selo-idon.marketplace { background: #23244d; color: #a5b4fc; }
  .selo-idon.naoconsta { background: #3d3115; color: #fcd34d; }
  .aviso-idoneidade { background: #3d3115; color: #fcd34d; }
  .aviso-idoneidade.grave { background: #3f1d1d; color: #fca5a5; }
  .ano-badge { background: var(--papel); }
}


/* ---------- avisos ---------- */

.topo-acoes { display: flex; align-items: center; gap: 14px; }
.sino { position: relative; }
.badge-notif {
  position: absolute; top: -1px; right: -2px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: #f05a3c; color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--tinta);
}

.notif { display: flex; gap: 11px; padding: 13px 2px;
         border-bottom: 1px solid var(--linha); }
.notif:last-child { border-bottom: 0; }
.notif-icone { width: 34px; height: 34px; flex: none; border-radius: 50%;
               display: grid; place-items: center; font-size: 15px;
               background: var(--marca-clara); }
.notif.praca .notif-icone { background: #fee2e2; }
.notif-corpo { min-width: 0; }
.notif-titulo { font-size: 14px; font-weight: 650; margin-bottom: 2px; }
.notif-texto { font-size: 13px; color: var(--texto-2); line-height: 1.4; }
.notif-quando { font-size: 11.5px; color: var(--texto-3); margin-top: 3px; }
.notif.nova .notif-titulo::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #f05a3c; margin-left: 6px;
  vertical-align: middle;
}
