:root{
  --bg: #f4f7f8;
  --card: #ffffff;
  --text: #142029;
  --muted: #6c7a86;
  --green: #32C6C8;
  --green-2: #18a2a0;
  --border: #e6edf0;

  --shadow: 0 12px 28px rgba(12, 22, 28, .08);
  --radius: 18px;
  --radius-sm: 12px;

  --brand-logo-size: 195px;     /* tamanho da logo */
  --brand-gap: 4px;            /* distância entre logo e texto */
  --brand-text-x: -30px;         /* empurra o texto pra direita */
  --brand-text-y: 50px;         /* empurra o texto pra baixo */

  --title-size: 46px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

/* ===== Layout central (logo em cima do card) ===== */
.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 60px;

  display:flex;
  flex-direction: column;
  align-items: center;
}

/* Centraliza verticalmente o bloco todo (marca + card) */
.page-center{
  min-height: 100vh;
  justify-content: center;
}

/* ===== Marca (logo + nome) acima do card ===== */
.topbar{
  width: 100%;
  display: flex;
  justify-content: center; /* 🔥 importante */
  align-items: center;
  margin: 0 0 14px 0; /* espaço entre marca e card */
}

/* mantém tudo em linha e centralizado */

.brand {
  display: flex;
  flex-direction: column; /* stacka logo + texto */
  align-items: flex-start; /* 🔥 alinhado à esquerda */
}


/* Logo grande sem “botão branco” */
.brand-logo{
  width: var(--brand-logo-size);
  height: var(--brand-logo-size);
  object-fit: contain;

  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;

  /* sombra leve pra destacar */
  filter: drop-shadow(0 10px 18px rgba(12, 22, 28, .12));
}

/* texto da marca: empurra um pouco pra baixo e pra direita */
.brand-text{
  transform: translate(var(--brand-text-x), var(--brand-text-y));
  line-height: 1;
}

.title{
  font-weight: 900;
  font-size: var(--title-size);
  letter-spacing: -0.8px;
  margin:0;
}

.subtitle {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  margin-top: -10px;
  max-width: 420px; /* 🔥 controla quebra bonita */
  line-height: 1.4;
  margin-right: 90px;
  text-align: left;
}

/* ===== Card central ===== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin: 0 auto;
  width: min(420px, 92vw);
}

.center{ text-align:center; }

.card p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hr{
  margin: 14px 0;
  height:1px;
  background: var(--border);
}

/* ===== Inputs ===== */
.input{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 14px;
  outline: none;
  background: #fff;
  font-size: 14px;
}
.input:focus{
  border-color: rgba(50, 198, 200,.6);
  box-shadow: 0 0 0 4px rgba(50, 198, 200,.12);
}

/* ===== Botões ===== */
.btn{
  appearance:none;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
  background: var(--green);
  color: white;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  transition: transform .06s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{ background: var(--green-2); }
.btn:active{ transform: translateY(1px); }

.btn.secondary{
  background: #ffffff;
  color: var(--green-2);
  border: 1px solid rgba(50, 198, 200,.35);
}
.btn.secondary:hover{
  background: rgba(50, 198, 200,.06);
}

.row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:center;
  align-items: center;
}

.small{
  font-size: 12px;
  color: var(--muted);
}

/* link “or use my location” */
.link{
  color: var(--green-2);
  text-decoration: none;
  font-weight: 800;
  font-size:14px;
}
.link:hover{ text-decoration: underline; }

.footer-actions{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.fab{
  position: fixed;
  right: 22px;
  bottom: 24px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.fab button{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border:none;
  background: var(--green);
  color: #fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow: 0 12px 26px rgba(50, 198, 200,.28);
}
.fab button.secondary{
  background: #0aa85c;
  opacity:.95;
}
.fab button:hover{ filter: brightness(.98); }

/* ===== Responsivo ===== */
@media (max-width: 520px){
  :root{

    --brand-logo-size: 180px;     /* tamanho da logo */
    --brand-gap: 4px;            /* distância entre logo e texto */
    --brand-text-x: -30px;         /* empurra o texto pra direita */
    --brand-text-y: 50px;         /* empurra o texto pra baixo */
    --title-size: 34px;
  }
  .card{ padding: 18px; }
}

#previewImg:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

.drop-zone {
  border: 2px dashed #cbd5e1;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  transition: 0.2s;
}

.drop-zone.dragover {
  border-color: #1fb56a;
  background: rgba(50, 198, 200,0.05);
}

#previewBox {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loader {
  width: 18px;
  height: 18px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid var(--green-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   RESULT CARD (iPhone style)
========================= */
.result-card {
  padding: 0;
  overflow: hidden;
}

.result-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.result-info {
  padding: 16px;
  padding-bottom:0px;
}

.result-info h2 {
  margin: 0;
  font-size: 22px;
}

.result-info p {
  margin: 4px 0 10px;
  color: var(--muted);
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


.desc {
  padding: 0 16px 0px;
  font-size: 14px;
  line-height: 1.4;
}

/* =========================
   MAPA
========================= */
#map {
  width: 100%;
  height: 220px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* =========================
   BOTÕES
========================= */
.result-card .footer-actions {
  padding: 16px;
}

.status {
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  display: inline-block;
}

/* níveis */
.status.CR { background: #dc2626; color: white; }   /* criticamente ameaçado */
.status.EN { background: #ea580c; color: white; }   /* em perigo */
.status.VU { background: #f59e0b; color: white; }   /* vulnerável */
.status.NT { background: #84cc16; color: white; }
.status.LC { background: #22c55e; color: white; }
.status.DD { background: #6b7280; color: white; }

.status.CR,
.status.critically-endangered {
  background: #dc2626;
  color: white;
}

.status.EN,
.status.endangered {
  background: #ea580c;
  color: white;
}

.status.VU,
.status.vulnerable {
  background: #f59e0b;
  color: white;
}

.status.NT,
.status.near-threatened {
  background: #84cc16;
  color: white;
}

.status.LC,
.status.least-concern {
  background: #22c55e;
  color: white;
}

.status.DD,
.status.data-deficient {
  background: #6b7280;
  color: white;
}

.info-block {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.info-block p {
  margin: 6px 0;
}

.filter.active {
  background: --green;
  color: white;
}

.dist-box {
  max-height: 120px;
  overflow-y: auto;
  background: rgba(255,255,255,0.05);
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.wiki-link {
  color: --green;
  font-weight: 600;
  text-decoration: none;
}

.wiki-link:hover {
  text-decoration: underline;
}


.list-item {
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  gap: 12px;

  width: 500px;

  background: #ffffff;
  border-radius: 14px;
  padding: 12px;

  border: 1px solid #e5e7eb;

  cursor: pointer;
  transition: 0.2s;

}

.list-item:hover {
  background: #f9fafb;
}

/* IMG */
.list-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

/* TEXT */
.list-title {
  font-weight: 600;
  color: #111;
}

.list-sub {
  font-size: 12px;
  color: #6b7280;
}

.list-location {
  font-size: 11px;
  color: #9ca3af;
}

.arrow {
  color: #64748b;
  font-size: 18px;
}
/* =========================
   MAPA
========================= */
.map-box {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  margin-top: 10px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  width: 100%;
  max-width: 720px; 
  background: #fff;
  border-radius: 20px;
  padding: 16px;

  max-height: 95vh;
  overflow-y: auto;
}

.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 45px;
  background: white;

  display: flex;
  justify-content: space-around;
  align-items: center;

  border-top: 1px solid #e2e8f0;
  z-index: 999;
}

.menu-item {
  text-decoration: none;
  color: #64748b;
  font-size: 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item.active {
  color: #0f172a;
  font-weight: 600;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0d3b25;
  background: rgba(31, 181, 106, 0.14);
  margin: 0;
  margin-left: 8px;
}

.badge.admin {
  background: #fee2e2;
  color: #dc2626;
}

.badge.user {
  background: #e2e8f0;
  color: #334155;
}

/* toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5f5;
  border-radius: 999px;
  transition: 0.2s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

input:checked + .slider {
  background: #22c55e;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* fundo bonito */
/* .auth-body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(180deg, #071702, #0f2a13);
  display: flex;
  align-items: center;
  justify-content: center;
} */

.auth-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(31, 181, 106, 0.10), transparent 32%),
    linear-gradient(180deg, #f6f8fa 0%, #eef2f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* container */
.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

/* card */
.auth-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* título */
.auth-title {
  text-align: center;
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

/* subtítulo */
.auth-sub {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

/* inputs */
.input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
}

/* erro */
.error {
  color: #dc2626;
  font-size: 12px;
  text-align: center;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.card-roles {
  padding: 16px;
  border-radius: 16px;
  background: white;
}

.btn {
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.btn.danger {
  background: #d9534f;
  color: white;
}

.btn.info {
  background: #4fa2d9;
  color: white;
}

/* ACTION BAR */
.action-bar {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

/* SEARCH */
.input.search {
  flex: 1;
}

.select {
  padding: 15px;
  border-radius: 10px;
  border: none;
}

/* HIDDEN */
.hidden {
  display: none;
}

/* TRANSIÇÃO SUAVE */
.card-users {
  transition: all 0.2s ease;
  
}

/* BOTÃO LOGIN CUSTOM */
.btn-login {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(50, 198, 200,0.5);

  padding: 8px 16px;
  border-radius: 10px;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: rgba(50, 198, 200,0.08);
  border-color: var(--green);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;

  background: white;
  border: 1px solid var(--border);

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 12px;
}

.user-avatar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

/* MENU */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.menu-item {
  text-align: center;
  font-size: 12px;
  text-decoration: none;
  color: #111;
}

.menu-item span {
  display: block;
  font-size: 11px;
}

.overlay.hidden {
  display: none;
}

/* USER MENU */
.user-dropdown {
  position: absolute;
  top: 110%;
  right: 0;

  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);

  display: none;
  flex-direction: column;
  min-width: 160px;
}

.user-dropdown button {
  background: none;
  border: none;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.user-dropdown button:hover {
  background: #f1f5f9;
}

.user-dropdown.show {
  display: flex;
}

#password-overlay input{
  margin-top: 500px
} 

/* ===== MODAL CONFIRM ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 16px;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  color: #0b0f14;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modal-title {
  font-weight: 900;
  font-size: 16px;
}

.modal-x {
  border: none;
  background: transparent;
  color: #0b0f14;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 4px 8px;
  border-radius: 10px;
}

.modal-x:hover {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

.modal-desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.35;
  margin-bottom: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* =========================
   NOTIFICATIONS
========================= */

.notification-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* =========================
   PROFILE
========================= */

.badge-explorer {
  background-color: #3b82f6;
  color: white;
}

.badge-observer {
  background-color: #10b981;
  color: white;
}

.badge-naturalist {
  background-color: #6366f1;
  color: white;
}

.badge-specialist {
  background-color: #f59e0b;
  color: white;
}

.badge-researcher {
  background-color: #ef4444;
  color: white;
}

.badge-master {
  background: linear-gradient(45deg, #facc15, #f97316);
  color: black;
}

.badge-legend {
  background: linear-gradient(45deg, #7c3aed, #c084fc);
  color: white;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.8);
}

.xp-box {
  margin-top: 10px;
}

.xp-gain {
  color: #22c55e;
  font-weight: bold;
  margin: 5px 0;
}

.xp-bar {
  width: 100%;
  height: 8px;
  background: #e7e7e7;
  border-radius: 10px;
  margin-top: 6px;
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

#particleContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: gold;
  animation: floatUp 1.2s ease-out forwards;
  opacity: 0.9;
}

@keyframes floatUp {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}
.displaylevel{
  margin-top: 5px;
 display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.displaylevel p{

  margin: 0 
}
/* ===== Achievements ===== */
.ach-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.ach-left{ display:flex; gap:10px; align-items:center; }
.ach-icon{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(50, 198, 200,0.12);
  font-size:18px;
}
.ach-title{ font-weight:900; }
.ach-desc{ font-size:12px; color: var(--muted); margin-top:2px; }
.ach-xp{font-weight:900; color:#0ea5e9; margin-top:6px; font-size:13px; }

.ach-card.locked{
  opacity:0.55;
  filter: grayscale(1);
}

/* ===== Missions ===== */
.mission-card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.mission-title{ font-weight:900; }
.mission-xp{ font-weight:900; color:#0ea5e9; margin-top:6px; font-size:13px; }
.mission-bar{
  width:100%;
  height:10px;
  border-radius:999px;
  background:#e7e7e7;
  overflow:hidden;
  margin-top:10px;
}
.mission-fill{
  height:100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}
.mission-card.completed .mission-fill{
  background: linear-gradient(90deg, #60a5fa, #34d399);
}


/* =========================
   ADMIN SHEET (bottom sheet)
========================= */
.sheet-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
}
.sheet-overlay.show{ display:flex; }

.sheet{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--border);
  box-shadow: 0 -18px 40px rgba(0,0,0,0.20);
  padding: 12px 12px 14px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.sheet-overlay.show .sheet{
  transform: translateY(0);
  opacity: 1;
}

.sheet-handle{
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
  margin: 6px auto 10px;
}
.sheet-title{
  font-weight: 900;
  text-align: center;
  margin: 2px 0 10px;
}

.sheet-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sheet-item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: background .15s ease;
}
.sheet-item:hover{
  background: rgba(50, 198, 200,0.06);
}
.sheet-left{
  display:flex;
  flex-direction: column;
  gap: 2px;
}
.sheet-item-title{ font-weight: 900; }
.sheet-item-sub{ font-size: 12px; color: var(--muted); }

.sheet-footer{
  margin-top: 10px;
  display:flex;
  justify-content: center;
}


/* ===== Fix layout do Admin Sheet (desktop + mobile) ===== */
.sheet .sheet-item{
  display:flex !important;
  align-items:center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-decoration: none;     /* <- se virar <a> não fica azul/sublinhado */
  color: inherit;
  width: 100%;
}

.sheet .sheet-left{
  flex: 1;
  min-width: 0;
}

.sheet .arrow{
  align-self: center;
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
}

input[type="date"] {
 font-family: Arial, Helvetica, sans-serif;

};

/* =========================
   PEOPLE RANKING: TOP GLOW
========================= */

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.75), transparent 55%);
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}

.rank-card.top1 {
  border: 1px solid rgba(250, 204, 21, 0.70); /* gold */
  box-shadow:
    0 14px 34px rgba(250, 204, 21, 0.22),
    0 0 0 3px rgba(250, 204, 21, 0.18);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.75), #fff);
}

.rank-card.top2 {
  border: 1px solid rgba(148, 163, 184, 0.70); /* silver-ish */
  box-shadow:
    0 14px 34px rgba(148, 163, 184, 0.22),
    0 0 0 3px rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.85), #fff);
}

.rank-card.top3 {
  border: 1px solid rgba(234, 88, 12, 0.55); /* bronze */
  box-shadow:
    0 14px 34px rgba(234, 88, 12, 0.20),
    0 0 0 3px rgba(234, 88, 12, 0.14);
  background: linear-gradient(180deg, rgba(255, 237, 213, 0.75), #fff);
}

.rank-card.top1::before,
.rank-card.top2::before,
.rank-card.top3::before {
  opacity: 0.3;
}

.rank-card{
  position: relative;
  overflow: hidden;
}

.rank-sheen{
  position: absolute;
  top: -60px;
  right: -80px;
  width: 160px;
  height: 160px;
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0.12;            /* bem mais discreto */
}

.content-wide{
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.map-card{
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}

#map{
  width: 100%;
  height: min(70vh, 640px);
  border: 0;
}

@media (max-width: 520px){
  #map{
    height: 60vh;
  }
}


.rankbar{
  position: sticky;
  top: 8px;
  z-index: 30;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
}

.rankbar-left{display:flex;flex-direction:column;gap:4px;}
.rankbar-title{font-weight:900;font-size:12px;color:#64748b;letter-spacing:.2px;}
.rankbar-value{font-weight:950;font-size:18px;color:#0f172a;}
.rankbar-sub{font-size:12px;color:#64748b;}

.rankbar-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.rankbar-right .input{min-width: 240px;}

.rank-hit{
  outline: 2px solid rgba(50, 198, 200,.35);
  box-shadow: 0 12px 26px rgba(50, 198, 200,.18);
  background: rgba(50, 198, 200,.06);
}

.cientifico{
  font-weight: 400 !important;
  margin-top:0 !important;
}

.sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sheet-left {
  flex: 1;
  min-width: 0;
}

.sheet-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sheet-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 10px #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sheet-right{
   align-self: center;
    margin-left: auto;
}
 
#filterBar{
  justify-content: center !important;
}