/* Mobile: reserva espaço pro menu fixo inferior */
@media (max-width: 767.98px) {
  body { 
    padding-bottom: 64px; /* altura aprox. do bottom nav */
  }
}

/* Sidebar “grudada” no topo ao rolar (apenas md+) */
@media (min-width: 768px) {
  .sidebar-sticky { 
    position: sticky; 
    top: 0; 
    height: 100vh; 
    overflow-y: auto; 
  }
}

/* Apenas estética opcional */
.sidebar { 
  background: #FFF9DB; 
  overflow-x: hidden;
}
.sidebar .nav-link { 
  color: #000; 
}
.sidebar .nav-link.active,
.sidebar .nav-link:hover { 
  background: #F1C100; 
  color: #000; 
}

/* Tablet: centralizar ícones e conteúdo */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sidebar-sticky {
    align-items: center !important; /* centraliza na horizontal */
    text-align: center;             /* centraliza textos */
  }
  
  .sidebar-sticky .nav-link {
    display: flex;                   /* garante controle flex interno */
    align-items: center;              /* alinha verticalmente */
    justify-content: center;          /* centraliza ícone + texto */
  }
  
  /* Ajuste opcional: remover espaçamento lateral dos ícones no tablet */
  .sidebar-sticky .nav-link i {
    margin-right: 0 !important;
  }
}
/*
.container-fluid {
    --bs-gutter-x: 0;
}
*/


/* Mobile: bottom nav com o mesmo tema da sidebar */
@media (max-width: 767.98px) {
  /* Barra inferior */
  .navbar.fixed-bottom.d-md-none {
    background: #FFF9DB !important;   /* mesmo fundo da sidebar */
    border-top-color: #F1C100;         /* opcional: combina a borda com o tema */
  }

  /* Botões/links */
  .navbar.fixed-bottom.d-md-none .btn.btn-link {
    color: #000 !important;            /* mesma cor dos links da sidebar */
    padding: .5rem .75rem;             /* área de toque confortável */
    border-radius: .5rem;              
    text-decoration: none;             
    transition: background-color .15s ease, color .15s ease;
  }

  /* Hover/focus (efeito igual ao da sidebar) */
  .navbar.fixed-bottom.d-md-none .btn.btn-link:hover,
  .navbar.fixed-bottom.d-md-none .btn.btn-link:focus {
    background: #F1C100;
    color: #fff !important;
  }

  /* Estado ativo (use .active OU aria-current="page" no <a>) */
  .navbar.fixed-bottom.d-md-none .btn.btn-link.active,
  .navbar.fixed-bottom.d-md-none .btn.btn-link[aria-current="page"] {
    background: #F1C100;
    color: #fff !important;
  }

  /* Ícones: só pra garantir alinhamento bonito */
  .navbar.fixed-bottom.d-md-none .btn.btn-link i {
    line-height: 1;
    vertical-align: middle;
  }
}

/* ESCOLHA DA LISTA */
   /* Cartões das opções */
    .option-card {
      border: 2px solid transparent;
      border-radius: 1rem;
      overflow: hidden;
      transition: border-color .2s ease, box-shadow .2s ease;
      cursor: pointer;
      height: 100%;
    }
    .option-card:hover,
    .option-card:focus-within {
      border-color: #0d6efd33;
      box-shadow: 0 0.25rem 1rem rgba(0,0,0,.08);
    }

    /* Imagens */
    .option-img {
      width: 100%;
      display: block;
      aspect-ratio: 4 / 3;          /* ajuste se quiser outra proporção */
      object-fit: cover;
      transition: filter .2s ease, transform .2s ease;
    }

    /* Texto */
    .option-body {
      padding: .75rem 1rem 1rem;
      text-align: center;
      font-weight: 600;
    }

    /* Estado selecionado: borda destacada */
    .option-card.selected {
      border-color: #0d6efd;
      box-shadow: 0 0.35rem 1.25rem rgba(13,110,253,.15);
    }

    /* Quando houver seleção, todas ficam cinza; a escolhida remove o cinza (via JS) */
    .grayscale .option-img {
      filter: grayscale(100%);
    }
    .option-card.selected .option-img {
      filter: none !important;
    }

    /* Esconde os radios, mas mantém acessível */
    .visually-hidden-input {
      position: absolute !important;
      opacity: 0;
      width: 1px; height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
    }
/* FIM ESCOLHA DA LISTA */




/* === Tema personalizado Bootstrap === */

/* Cor primária global */
:root {
  --bs-primary: #f1c100; /* Amarelo bebê */
  --bs-primary-rgb: 241, 193, 0;
}

/* Cor do foco */
:root {
  --bs-focus-ring-color: rgba(var(--bs-primary-rgb), 0.4);
}

/* Botões primários */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #000; /* Texto preto */
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #ffe65c; /* Amarelo claro no hover */
  border-color: #ffe65c;
  color: #000; /* Texto preto */
}

/* Borda de inputs e radios no foco */
.form-check-input:checked,
.form-select:focus,
input[type="radio"]:checked + .option-card,
input[type="checkbox"]:checked + .option-card {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
/* Variante FIXED (fora do fluxo do grid) */
@media (min-width: 992px) {
  .sidebar-fixed {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 200px;
  }
  /* dá espaço pro conteúdo não ficar por baixo do menu */
  .content-with-sidebar {
    margin-left: 260px;
  }
}





  /* tamanho base dos avatares; troque por 48/64/96 conforme precise */
  .avatar{width:64px;aspect-ratio:1;object-fit:cover;display:block}

  .hex-wrap{
    /* cria “borda” usando um wrapper com padding */
    padding:4px; background:#f1c100;
    display:inline-block; border-radius:12px; /* arredonda cantos do wrapper (não do hex) */
    /* a máscara hexagonal no wrapper para a borda seguir o mesmo recorte */
    clip-path: polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0% 50%);
  }
  .avatar-hex{ 
    clip-path: polygon(25% 5%,75% 5%,100% 50%,75% 95%,25% 95%,0% 50%);
    display:block;
  }


  /* extras */
  .size-48 .avatar, .size-48 .svg-wrap{width:48px;height:48px}
  .size-96 .avatar, .size-96 .svg-wrap{width:96px;height:96px}
  small{color:var(--muted)}
  
  
  
  /*LIKES*/
.action-bar a.active { color: var(--bs-primary); font-weight: 600; }
.action-bar a { opacity: .9; }
.action-bar a:hover { opacity: 1; }

.action-bar a {
  color: var(--bs-secondary-color);
  transition: color 0.2s;
}
.action-bar a:hover {
  color: var(--bs-primary);
}
.action-bar .count {
  font-size: 0.85rem;
}

     :root{
      --fav-yellow:#f1c100;
      --fav-yellow-700:#d1a800;
      --radius:14px;
    }

    /* container mais elegante em desktop */
    @media (min-width:992px){ .container{ max-width:860px; } }

    /* ===== Tema global dos botões: amarelo + preto ===== */
    .btn{
      --bs-btn-bg: var(--fav-yellow);
      --bs-btn-border-color: var(--fav-yellow);
      --bs-btn-color:#000;
      --bs-btn-hover-bg: var(--fav-yellow-700);
      --bs-btn-hover-border-color: var(--fav-yellow-700);
      --bs-btn-focus-shadow-rgb:241,193,0;
      font-weight:700; border-radius:10px;
    }
    /* Botão "neutro" que foge do tema global (usar quando precisar) */
    .btn-plain{
      all:unset; display:inline-flex; align-items:center; gap:.35rem;
      padding:.4rem .6rem; border-radius:.6rem; cursor:pointer;
      border:1px solid #e6e6e6; background:#fff; color:inherit;
    }
    .btn-plain:focus-visible{ outline:2px solid #000; outline-offset:2px; }

    /* ===== Header / seletor central estilo Threads ===== */
    header.position-sticky{ top:0; z-index:1030; background:var(--bs-body-bg); }
    .feed-toggle{ font-size:1.05rem; }
    .feed-toggle .bi-chevron-down{ font-size:.9rem; }
    .feed-menu{ border-radius:14px; min-width:240px; }
    .feed-menu .dropdown-item{
      border-radius:10px; padding:.55rem .75rem; font-weight:600;
    }
    .feed-menu .dropdown-item.active,
    .feed-menu .dropdown-item:active{ background:#f7f7f7; color:#000; }

	.feed-card {
		border: 1px solid #e9ecef;
		border-radius: var(--radius);  /* ← sintaxe correta */
		box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
		transition: box-shadow .15s ease, transform .06s ease;
		background-color: white;
	}
    .feed-card:hover{ box-shadow:0 4px 14px rgba(0,0,0,.08); }
    .feed-meta{ color:#6c757d; font-size:.9rem; }
    /*.avatar{ width:44px; height:44px; border-radius:50%; object-fit:cover; }*/
    .list-thumb{ width:96px; aspect-ratio:16/9; border-radius:10px; object-fit:cover; }
    .feed-title{ font-size:1.05rem; font-weight:700; margin:.25rem 0; }
    .hr-soft{ border-color:#eee; opacity:1; }

    /* ===== Modal ===== */
    .modal-body .loading{ min-height:200px; display:flex; align-items:center; justify-content:center; }
	
	
	    /* ==== Visual geral do card/print ==== */
    .card { border: 1px solid #e9ecef; border-radius: .75rem; box-shadow: 0 1px 0 rgba(16,24,40,.04); }
    .card-header, .card-footer { background: #f8fafc; }
    .card-header { border-bottom: 1px solid #e9ecef; min-height: 2.25rem; }
    .card-footer { border-top: 1px solid #e9ecef; }

    .slide-card { /*min-height: 340px; */ display: grid; place-items: center; }
    .slide-card > .slide-inner { width: clamp(280px, 100%, 680px); margin: 0 auto; }

    .img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: #f8f9fa; }
    .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

    .placeholder {
      display: grid; place-items: center; color: #8a94a6; font-size: .95rem;
      width: 100%; height: 100%;
      background: repeating-linear-gradient(45deg,#f1f3f5 0 12px,#fff 12px 24px);
    }

    .title   { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; text-align: center; color: #212529; line-height: 1.2; }
    .subtitle{ color:#6c757d; font-size:.95rem; font-weight:600; text-align:center; }

    /* Esconde setas padrão (usaremos botões do rodapé) */
    #top10Carousel .carousel-control-prev,
    #top10Carousel .carousel-control-next { display: none; }

    /* Botão amarelo destaque */
    .btn-favo {
      background: #f6c700; border: 1px solid #e0b800; color: #1f2d3d; font-weight: 700;
      box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
    }
    .btn-favo:hover { background:#ffd200; border-color:#e6c200; color:#1f2d3d; }
    .btn-favo:disabled { opacity:.65; }

    /* “•” separador */
    .dot::before { content: "•"; margin: 0 .5rem; color:#adb5bd; }

    /* ==== Lightbox ==== */
    .modal.lightbox .modal-dialog { max-width: min(980px, 92vw); }
    .modal.lightbox .modal-content { background: transparent; border: 0; box-shadow: none; }
    .lightbox-sheet {
      background: #fff; border-radius: 16px; overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 2px 10px rgba(0,0,0,.1);
    }
    .lightbox-body { padding: 1rem; }
	
	.link-custom {
  color: #000;         /* preto */
  text-decoration: none; /* remove o sublinhado */
}

.link-custom:hover {
  color: #808080 !important;         /* cinza quase preto */
} 

   /* Estilo para o menu de desktop (250px) */
    .menu-desktop {
      width: 250px;
      flex-shrink: 0;
      background-color: #FFF9DB;
      border-right: 1px solid #dee2e6;
    }
    
    /* Estilo para o menu de tablet (70px) */
    .menu-tablet {
      width: 80px;
      flex-shrink: 0;
      background-color: #FFF9DB;
	  padding:20px;
      border-right: 1px solid #dee2e6;
    }
    
    /* Estilos de visualização */
    .conteudo {
      background-color: #ffffff;
      height: 100vh;
      overflow-y: auto;
    }
	link.active, .sidebar .nav-link:hover {
    background: #F1C100;
    color: #fff;
}
.p-4 {
    padding-left: 0px !important;
	padding-right: 0px !important;
}

.acerto-menu {
    margin: 5px;
    margin-left: 18px;
 
}
.btn-thumb-camera {
  position: absolute;
  top: 25%;
  left: 15%; 
  transform: translate(-50%, -50%);
  z-index: 2;

  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .375rem .5rem;
  border-radius: .5rem;
}

.btn-thumb-camera i {
  pointer-events: none;
}

    /* ---------- Visual base ---------- */
    body { background:#f5f7fb; }
    .card { overflow:hidden; }
    .img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: #f8f9fa; }
    .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* Esconde setas padrão (usaremos botões do rodapé) */
    #top10Carousel .carousel-control-prev,
    #top10Carousel .carousel-control-next { display: none; }

    /* Botão amarelo destaque */
    .btn-favo {
      background: #f6c700; border: 1px solid #e0b800; color: #1f2d3d; font-weight: 700;
      box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
    }
    .btn-favo:hover { background:#ffd200; border-color:#e6c200; color:#1f2d3d; }
    .btn-favo:disabled { opacity:.65; }

    /* ---------- Slide de duelo ---------- */
    .duel-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem;    /* height: 210px;*/ /*align-items: center;*/ }
    .duel-title { /* font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; */ text-align: center; }
    .duel-sub { color:#6c757d; font-size: clamp(1.15rem, 2vw, 1.5rem);  font-weight:600; text-align:center;   /*  height: 73px;*/}
	.duel-sub-vencedor { color:#6c757d; font-weight:600; text-align:center; }
	
	

    .duel-name { font-weight: 700; margin-top: .5rem;     font-size: 20px;}
    .duel-left  .duel-name  { text-align: center; background-color: #fff;}
    .duel-right .duel-name  { text-align: center; background-color: #fff;}

    .winner-badge {
      position: absolute; top: .5rem; padding: .25rem .5rem; border-radius: .5rem;
      font-weight: 700; font-size: .85rem; color: #1f2d3d;
      background: linear-gradient(135deg,#ffd54f,#f6c700);
      border: 1px solid rgba(0,0,0,.1); box-shadow: 0 2px 4px rgba(0,0,0,.08);
      display: inline-flex; align-items: center; gap: .35rem;
    }
    .winner-badge.left  { left:  .5rem; }
    .winner-badge.right { right: .5rem; }

    @media (max-width: 576px) {
      .duel-grid { grid-template-columns: 1fr; gap: .75rem; }
      .duel-left  .duel-name { text-align: center; }
      .duel-right .duel-name { text-align: center; }
    }
	#stepLabel {
  white-space: nowrap;   /* impede de quebrar em 2 linhas */
  min-width: 60px;       /* largura mínima p/ manter alinhado */
  text-align: right;     /* garante alinhamento à direita */
}
#fila-restante { display: none !important; }

.fw-bold {
    font-weight: 700 !important;
    font-size: 25px;
}

.alert-success {
    --bs-alert-color: #000000;
    --bs-alert-bg: #FFC107;
    --bs-alert-border-color: #FFC107;
    --bs-alert-link-color: #000000;
}

