/* Correio — artes do bundle message */

.av-fundo {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  background: rgba(6, 2, 16, .74); backdrop-filter: blur(3px);
}

.av-painel {
  position: relative;
  width: min(720px, 94vw); max-height: 88vh;
  display: flex; flex-direction: column;
  padding: 18px 22px 16px;
  background-size: 100% 100%; background-repeat: no-repeat;
  background-color: #21143c;
  border: 1px solid #6b45b8; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  color: #efe6ff;
}

.av-x {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer;
}
.av-x img { width: 100%; height: 100%; object-fit: contain; }

.av-painel header {
  display: flex; align-items: center; gap: 11px;
  padding-right: 44px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.av-painel header img { width: 30px; height: 30px; object-fit: contain; }
.av-painel h2 { margin: 0; font-size: 17px; color: #ffd970; }
.av-conta {
  padding: 2px 9px; font-size: 11.5px; font-weight: 700; color: #fff;
  background: #d32f2f; border-radius: 9px;
}
.av-tudo {
  margin-left: auto; padding: 6px 14px;
  font: inherit; font-size: 12px; font-weight: 700;
  color: #10240f; background: #64c46e; border: 0; border-radius: 8px; cursor: pointer;
}
.av-tudo:hover { filter: brightness(1.08); }

.av-abas { display: flex; gap: 7px; padding: 12px 0; }
.av-abas button {
  padding: 6px 15px; font: inherit; font-size: 12.5px;
  color: #cfc0f0; background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; cursor: pointer;
}
.av-abas button.ativa { color: #21143c; background: #ffd970; border-color: #ffd970; font-weight: 700; }

.av-lista {
  flex: 1; overflow: auto; list-style: none; margin: 0; padding: 0 2px 0 0;
  display: grid; gap: 8px; align-content: start;
}

.av-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  background-size: 100% 100%; background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 11px;
  cursor: pointer;
}
.av-item.lida { opacity: .66; cursor: default; }
.av-item.com-anexo { border-color: rgba(255, 217, 112, .55); }
.av-item:not(.lida):hover { background-color: rgba(255, 255, 255, .06); }

.av-icone { width: 38px; height: 38px; object-fit: contain; flex: none; }
.av-texto { flex: 1; min-width: 0; }
.av-texto b { display: block; font-size: 13.5px; color: #ffd970; }
.av-texto p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; opacity: .84; }
.av-quando { display: block; margin-top: 4px; font-size: 11px; opacity: .55; }

.av-acoes { display: flex; align-items: center; gap: 7px; flex: none; }
.av-btn {
  padding: 6px 12px; font: inherit; font-size: 12px; font-weight: 600;
  color: #21160a; background: #f0c45a; border: 0; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.av-btn img { width: 14px; height: 14px; object-fit: contain; }
.av-btn.bom { background: #64c46e; color: #10240f; }
.av-btn.apagar { padding: 6px; background: rgba(255, 255, 255, .1); }
.av-btn.apagar img { width: 16px; height: 16px; opacity: .8; }
.av-btn:hover { filter: brightness(1.1); }

.av-vazio {
  display: grid; justify-items: center; gap: 10px;
  padding: 46px 10px; text-align: center; opacity: .6; font-size: 13px;
}
.av-vazio img { width: 108px; object-fit: contain; opacity: .8; }

@media (max-width: 640px) {
  .av-item { flex-wrap: wrap; }
  .av-acoes { width: 100%; justify-content: flex-end; }
}
