/* =========================================================
   BAILE DOS BARANGOS — estilo festivo/kitsch, mobile-first
   ========================================================= */
:root {
  --rosa: #ff2e88;
  --roxo: #7b2ff7;
  --amarelo: #ffd23f;
  --ciano: #00e5ff;
  --escuro: #150a2e;
  --escuro2: #23124d;
  --claro: #fff5fb;
  --sombra: 0 8px 30px rgba(0, 0, 0, .35);
  --raio: 18px;
  --fonte: system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--fonte);
  color: var(--claro);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,46,136,.35), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,229,255,.30), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255,210,63,.25), transparent 45%),
    var(--escuro);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 18px 90px;
}

/* ---------- Cabeçalho ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(21, 10, 46, .6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .marca {
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 1.05rem;
}
.topbar .marca span { color: var(--amarelo); }
.topbar-acoes { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.chip-button {
  border: 1px solid rgba(255,255,255,.16);
  color: var(--claro);
  cursor: pointer;
  font-family: inherit;
}
.chip-button:disabled { opacity: .6; cursor: wait; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 30px 0 10px; }
.hero .emoji { font-size: 3.4rem; line-height: 1; }
.hero h1 {
  font-size: clamp(2rem, 9vw, 3.2rem);
  margin: 8px 0 4px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(90deg, var(--amarelo), var(--rosa), var(--ciano));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 20px rgba(255,46,136,.25);
}
.hero p.sub { color: #d9c9ff; margin: 6px 0 0; font-size: 1.05rem; }
.badge-ano {
  display: inline-block;
  margin-top: 12px;
  background: var(--amarelo);
  color: var(--escuro);
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow: var(--sombra);
}
.evento-detalhes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.evento-detalhes div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .84rem;
  box-shadow: 0 5px 16px rgba(0,0,0,.18);
}

/* ---------- Ingressos ---------- */
.ticket-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: center;
  margin: 20px 0 2px;
  padding: 18px;
  border: 1px solid rgba(255,210,63,.55);
  border-radius: var(--raio);
  background: linear-gradient(135deg, rgba(255,210,63,.22), rgba(255,46,136,.20));
  box-shadow: var(--sombra);
}
.ticket-cta .ticket-emoji { font-size: 2.5rem; }
.ticket-cta h2 { margin: 0 0 3px; font-size: 1.2rem; }
.ticket-cta p { margin: 0; color: #ffe9a8; font-size: .9rem; }
.ticket-cta .btn { grid-column: 1 / -1; margin-top: 5px; font-size: .9rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 14px; margin-top: 24px; }
.card {
  display: block;
  text-decoration: none;
  color: var(--claro);
  background: linear-gradient(135deg, rgba(123,47,247,.35), rgba(255,46,136,.20));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--raio);
  padding: 18px 20px;
  box-shadow: var(--sombra);
  transition: transform .12s ease, border-color .12s ease;
}
.card:active { transform: scale(.98); }
.card .ico { font-size: 1.8rem; }
.card h3 { margin: 8px 0 4px; font-size: 1.2rem; }
.card p { margin: 0; color: #e7dcff; font-size: .92rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--rosa), var(--roxo));
  box-shadow: var(--sombra);
  text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: scale(.97); }
.btn.google { background: #fff; color: #222; }
.btn.amarelo { background: linear-gradient(90deg, var(--amarelo), #ff9d00); color: var(--escuro); }
.btn.block { width: 100%; }

/* ---------- Chips / seções ---------- */
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .8rem;
  font-weight: 700;
}
.secao-titulo {
  display: flex; align-items: center; gap: 8px;
  margin: 28px 0 12px; font-size: 1.3rem; font-weight: 900;
}
.aviso {
  background: rgba(255,210,63,.14);
  border: 1px dashed rgba(255,210,63,.5);
  color: #ffe9a8;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: .9rem;
}

/* ---------- Rodapé de navegação (mobile) ---------- */
.navbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(21,10,46,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.navbar a {
  text-decoration: none; color: #cbb9ff; font-size: .72rem;
  text-align: center; display: flex; flex-direction: column; gap: 2px;
  padding: 4px 8px; border-radius: 12px;
}
.navbar a .i { font-size: 1.25rem; }
.navbar a.ativo { color: var(--amarelo); }

/* ---------- Placeholder de fase ---------- */
.stub {
  text-align: center;
  margin-top: 40px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--raio);
  padding: 34px 22px;
}
.stub .emoji { font-size: 3rem; }
.stub h2 { margin: 12px 0 6px; }
.stub p { color: #d9c9ff; }

.rodape { text-align: center; color: #9c8cc9; font-size: .78rem; margin-top: 30px; }

/* ---------- Rodapé legal compartilhado ---------- */
.legal-footer {
  margin: 34px 0 6px;
  padding: 20px 10px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #a99bcf;
  text-align: center;
  font-size: .8rem;
}
.legal-footer div { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }
.legal-footer a { color: #e7dcff; text-underline-offset: 3px; }
.legal-footer small { display: block; margin-top: 8px; color: #8879b3; }
.consent-note { margin: 10px 8px 0; color: #aa9bce; font-size: .74rem; line-height: 1.45; text-align: center; }
.consent-note a { color: #dcd1f7; text-underline-offset: 2px; }
.perfil-legal { margin: 18px 3px 0; }

/* ---------- Botão flutuante WhatsApp ---------- */
/* Sobe o selo do reCAPTCHA pra cima da navbar (senão fica escondido atrás dela) */
.grecaptcha-badge {
  bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  z-index: 35 !important;
}

#wa-float {
  position: fixed;
  left: 16px;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  text-decoration: none;
  animation: wa-pulse 2.4s infinite;
}
#wa-float:active { transform: scale(.94); }
@keyframes wa-pulse {
  0% { box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Formulários ---------- */
.campo { margin: 14px 0; text-align: left; }
.campo label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; }
.campo input[type=text],
.campo input[type=number],
.campo select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--claro);
  font-size: 1rem;
}
.campo input::placeholder { color: #b7a8d6; }
.opcoes-sexo { display: flex; gap: 10px; }
.opcoes-sexo label {
  flex: 1; text-align: center; cursor: pointer;
  padding: 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05); font-weight: 800;
}
.opcoes-sexo input { display: none; }
.opcoes-sexo input:checked + span { color: var(--escuro); }
.opcoes-sexo label:has(input:checked) { background: var(--amarelo); color: var(--escuro); border-color: var(--amarelo); }
.preview-foto {
  width: 100%; max-width: 320px; margin: 8px auto 0; display: block;
  border-radius: 14px; border: 1px solid rgba(255,255,255,.15);
  aspect-ratio: 1/1; object-fit: cover; background: rgba(0,0,0,.25);
}
.msg { margin-top: 12px; font-size: .9rem; }
.msg.ok { color: #8affc1; }
.msg.erro { color: #ff9d9d; }

/* ---------- Votação (swipe) ---------- */
.tabs { display: flex; gap: 8px; margin: 14px 0; }
.tabs button {
  flex: 1; padding: 12px; border: none; cursor: pointer; font-weight: 800;
  border-radius: 12px; background: rgba(255,255,255,.08); color: var(--claro);
}
.tabs button.ativa { background: linear-gradient(90deg, var(--rosa), var(--roxo)); }
.deck { position: relative; height: 62vh; max-height: 520px; margin-top: 10px; }
.swipe-card {
  position: absolute; inset: 0;
  border-radius: 22px; overflow: hidden;
  background: #000; box-shadow: var(--sombra);
  user-select: none; touch-action: pan-y;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.swipe-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.swipe-card .info {
  position: relative; z-index: 2; padding: 20px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-weight: 800; font-size: 1.25rem;
}
.swipe-card .tag-like, .swipe-card .tag-nope {
  position: absolute; top: 24px; z-index: 3; font-size: 2rem; font-weight: 900;
  padding: 6px 16px; border-radius: 12px; border: 4px solid; opacity: 0;
  transition: opacity .1s;
}
.swipe-card .tag-like { left: 20px; color: #25ff9a; border-color: #25ff9a; transform: rotate(-14deg); }
.swipe-card .tag-nope { right: 20px; color: #ff4d6d; border-color: #ff4d6d; transform: rotate(14deg); }
.deck-acoes { display: flex; justify-content: center; gap: 26px; margin-top: 18px; }
.deck-acoes button {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  font-size: 1.7rem; box-shadow: var(--sombra);
}
.deck-acoes button:disabled { opacity: .5; cursor: wait; transform: none; }
.deck-acoes .nope { background: #fff; color: #ff4d6d; }
.deck-acoes .like { background: linear-gradient(135deg, #25ff9a, #00c2ff); color: #06381f; }
.escolha-galeria { margin: 4px 0 14px; text-align: center; }
.status-voto { min-height: 1.4em; text-align: center; }
.swipe-card.registrando { filter: saturate(.75) brightness(.85); cursor: wait; }
.deck-vazio { text-align: center; color: #d9c9ff; padding-top: 40px; }

/* ---------- Ranking / resultados ---------- */
.rank-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 8px;
}
.rank-item .pos { font-weight: 900; width: 26px; text-align: center; color: var(--amarelo); }
.rank-item img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.rank-item .nome { flex: 1; font-weight: 700; }
.rank-item .curtidas { font-weight: 900; color: var(--rosa); }
.admin-ver-mais { margin: 10px 0 18px; background: rgba(255,255,255,.10); box-shadow: none; }
.admin-auditoria {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 2px;
  padding: 14px;
  border: 1px solid rgba(255,210,63,.28);
  border-radius: 14px;
  background: rgba(255,210,63,.08);
}
.admin-auditoria p { margin: 3px 0 0; color: #d9c9ff; font-size: .78rem; }
.admin-auditoria .btn { flex: 0 0 auto; padding: 10px 14px; font-size: .8rem; }
.admin-auditoria .btn:disabled { opacity: .6; cursor: wait; }
.qr-card {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
}
.qr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.qr-card-head strong { display: block; font-size: 1.05rem; }
.qr-card-head small { display: block; margin-top: 2px; color: #cbb9ff; }
.qr-card-head .publico { color: #7bffbd; background: rgba(37,255,154,.10); }
.qr-canvas {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #fff;
}

/* ---------- Cardápio ---------- */
.menu-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 10px; margin-bottom: 10px;
}
.menu-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: rgba(0,0,0,.3); }
.menu-item .m-nome { flex: 1; font-weight: 700; }
.menu-item .m-preco { font-weight: 900; color: var(--amarelo); }
.menu-item .m-del {
  background: rgba(255,77,109,.2); color: #ff9d9d; border: none; cursor: pointer;
  border-radius: 10px; padding: 8px 10px; font-weight: 800;
}

/* ---------- Stat tile (admin) ---------- */
.stat-tile {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, rgba(255,46,136,.3), rgba(123,47,247,.25));
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 16px 18px; margin-bottom: 14px;
}
.stat-tile .n { font-size: 2.2rem; font-weight: 900; color: var(--amarelo); }
.stat-tile .l { font-weight: 700; }

/* ---------- Modal de match ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 60; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px);
}
.modal {
  background: linear-gradient(135deg, #7b2ff7, #ff2e88);
  border-radius: 24px; padding: 28px 22px; text-align: center;
  max-width: 360px; width: 100%; box-shadow: var(--sombra);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .emoji { font-size: 3.4rem; }
.modal h2 { margin: 8px 0 4px; }
.modal p { margin: 4px 0; }

/* ---------- Confirmação de presença / geolocalização ---------- */
.presence-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8,3,20,.84);
  backdrop-filter: blur(8px);
}
.presence-modal {
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 24px 21px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: linear-gradient(150deg, #2c165c, #180c35 62%, #31102d);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  text-align: center;
}
.presence-icon { font-size: 3rem; line-height: 1; }
.presence-modal h2 { margin: 10px 0 7px; font-size: 1.45rem; }
.presence-lead { margin: 0 auto 13px; color: #e7dcff; line-height: 1.45; }
.presence-modal ul {
  margin: 0 0 14px;
  padding: 12px 14px 12px 32px;
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  color: #eee7ff;
  text-align: left;
  font-size: .84rem;
  line-height: 1.45;
}
.presence-modal li + li { margin-top: 5px; }
.presence-privacy { color: #b9aadf; font-size: .74rem; line-height: 1.4; }
.presence-privacy a { color: #70efff; }
.presence-status { min-height: 2.6em; margin: 11px 0; color: #ffe9a8; font-size: .84rem; font-weight: 700; }
.presence-status.ok { color: #7bffbd; }
.presence-status.erro { color: #ffadad; }
.presence-cancel {
  width: 100%;
  margin-top: 9px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #cbb9ff;
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.presence-cancel:disabled { opacity: .45; cursor: wait; }
.presence-required { margin-top: 14px; }
.chip.localizacao-ativa {
  color: #fff;
  border-color: rgba(255,46,136,.75);
  background: rgba(255,46,136,.22);
}

/* ---------- Galeria pública ---------- */
.painel-login { margin-top: 14px; }
.gallery-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 16px;
}
.gallery-heading h1 { margin: 2px 0 4px; font-size: 1.8rem; }
.gallery-resumo { margin: 0; color: #cbb9ff; font-size: .86rem; }
.gallery-live {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,255,154,.10);
  color: #7bffbd;
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
}
.gallery-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25ff9a;
  box-shadow: 0 0 0 4px rgba(37,255,154,.15);
}
.gallery-tabs { margin-bottom: 16px; }
.gallery-tabs button { font-size: .78rem; padding-inline: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery-grid > .deck-vazio { grid-column: 1 / -1; }
.gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.gallery-photo-link { position: relative; display: block; color: inherit; text-decoration: none; overflow: hidden; }
.gallery-photo-link img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--escuro2); transition: transform .18s ease, filter .18s ease; }
a.gallery-photo-link:active img { transform: scale(.985); filter: brightness(.86); }
.gallery-photo-link > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(21,10,46,.88);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}
.gallery-pos {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(21,10,46,.88);
  color: var(--amarelo);
  font-size: .75rem;
  font-weight: 900;
}
.gallery-info { display: grid; gap: 3px; padding: 10px 11px 12px; }
.gallery-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-info span { color: #ff9bc5; font-size: .8rem; font-weight: 800; }
.gallery-vote-btn,
.gallery-vote-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 7px;
  padding: 7px 8px;
  border-radius: 10px;
  text-align: center;
  font-size: .74rem;
  font-weight: 900;
}
.gallery-vote-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--rosa), var(--roxo));
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.20);
}
.gallery-vote-btn:active { transform: scale(.98); }
.gallery-info .gallery-vote-state { color: #cbb9ff; background: rgba(255,255,255,.07); }
.gallery-info .gallery-vote-state.ok { color: #7bffbd; background: rgba(37,255,154,.09); }

/* ---------- Documentos legais ---------- */
.legal-page { max-width: 760px; }
.legal-doc { line-height: 1.65; color: #f5efff; }
.legal-hero {
  margin: 8px 0 24px;
  padding: 25px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--raio);
  background: linear-gradient(135deg, rgba(123,47,247,.30), rgba(0,229,255,.10));
}
.legal-hero h1 { margin: 2px 0 5px; font-size: clamp(1.8rem, 7vw, 2.7rem); line-height: 1.1; }
.legal-hero p:last-child { margin: 0; color: #cbb9ff; font-size: .84rem; }
.legal-kicker {
  margin: 0;
  color: var(--amarelo);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.legal-summary {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--amarelo);
  border-radius: 0 14px 14px 0;
  background: rgba(255,210,63,.12);
}
.legal-summary strong { color: var(--amarelo); }
.legal-summary p { margin: 5px 0 0; }
.legal-doc section {
  padding: 8px 2px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  scroll-margin-top: 80px;
}
.legal-doc section:last-of-type { border-bottom: 0; }
.legal-doc h2 { margin: 17px 0 7px; font-size: 1.22rem; color: #fff; }
.legal-doc p { margin: 8px 0; color: #e5dcf8; }
.legal-doc ul { margin: 8px 0; padding-left: 22px; color: #e5dcf8; }
.legal-doc li { margin: 5px 0; }
.legal-doc a { color: #70efff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-table-wrap { overflow-x: auto; margin: 12px 0; border-radius: 13px; border: 1px solid rgba(255,255,255,.11); }
.legal-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .86rem; }
.legal-table th, .legal-table td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-table th { background: rgba(123,47,247,.25); color: var(--amarelo); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { width: 38%; font-weight: 700; color: #fff; }

@media (max-width: 370px) {
  .topbar { padding-inline: 12px; }
  .topbar .marca { font-size: .92rem; }
  .topbar-acoes { gap: 4px; }
  .chip { padding-inline: 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .admin-auditoria { align-items: stretch; flex-direction: column; }
  .admin-auditoria .btn { width: 100%; }
}
.match-foto {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; margin: 8px auto; display: block; background: #000;
}
.btn.whats { background: #25d366; color: #06331b; }
