/* assets/css/sorteonline.css
   Tema inspirado na estrutura visual do Sorte Online
   (aplicado apenas quando o body tiver a classe .so)
*/

body.so {
  background: #ffffff;
  color: #0f172a;
}

/* Navbar (branca, links em linha) */
body.so .so-navbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none !important;
}

body.so .so-navbar .navbar-brand {
  color: #0f172a !important;
}

body.so .so-navbar .nav-link {
  color: #0f172a !important;
  font-weight: 600;
}

body.so .so-navbar .nav-link:hover {
  color: #0d6efd !important;
}

body.so .so-navbar .btn-entrar {
  border-radius: 999px;
  padding: 8px 14px;
}

/* Botões do menu: visual moderno e elegante */
body.so .so-navbar .navbar-nav .so-nav-btn-wrap {
  margin-left: 4px;
}
body.so .so-navbar .navbar-nav .so-nav-btn-wrap:first-of-type {
  margin-left: 0;
}
body.so .so-navbar .so-nav-btn {
  border-radius: 12px;
  padding: 5px 12px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}
body.so .so-navbar .so-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}
body.so .so-navbar .so-nav-btn:active {
  transform: translateY(0);
}
body.so .so-navbar .so-nav-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  border: none;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.35);
}
body.so .so-navbar .so-nav-btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}
body.so .so-navbar .so-nav-btn-outline {
  border-width: 2px;
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.04);
}
body.so .so-navbar .so-nav-btn-outline:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}
/* Nome do usuário ao lado dos botões: pill elegante */
body.so .so-navbar .so-nav-btn-wrap span.text-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.1) 100%);
  color: #1e40af !important;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.25);
}
/* Navbar azul (index / páginas logadas): nome do usuário em branco */
body.so.so-navbar-primary .so-navbar .so-nav-btn-wrap span.text-white {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Botão sanduíche (menu mobile): compacto */
body.so .so-navbar .navbar-toggler {
  border: 2px solid #2563eb;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  padding: 5px 8px;
}
/* Mobile: cabeçalho compacto (altura reduzida 50%) */
@media (max-width: 991.98px) {
  body.so .so-navbar.navbar {
    padding-top: 0.08rem;
    padding-bottom: 0.08rem;
    min-height: auto;
  }
  body.so .so-navbar .navbar-brand {
    font-size: 1.35rem;
    padding: 0.08rem 0;
  }
  body.so .so-navbar .navbar-toggler {
    padding: 4px 6px;
    border-radius: 8px;
  }
  body.so .so-navbar .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  body.so .so-navbar .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
@media (max-width: 576px) {
  body.so .so-navbar.navbar {
    padding-top: 0.05rem;
    padding-bottom: 0.05rem;
  }
  body.so .so-navbar .navbar-brand {
    font-size: 1.2rem;
    padding: 0.05rem 0;
  }
  body.so .so-navbar .navbar-toggler {
    padding: 3px 6px;
    border-radius: 6px;
    border-width: 1.5px;
  }
  body.so .so-navbar .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
  }
}
body.so .so-navbar .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e40af' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
body.so .so-navbar .navbar-toggler:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: #1d4ed8;
}
/* Menu colapsado (celular): layout dedicado para os botões */
@media (max-width: 991.98px) {
  body.so .so-navbar .navbar-collapse .navbar-nav {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
  }
  /* Links do menu: full width, toque confortável */
  body.so .so-navbar .navbar-collapse .navbar-nav .nav-item:not(.so-nav-btn-wrap) .nav-link {
    padding: 12px 0;
    font-size: 1rem;
  }
  body.so .so-navbar .navbar-collapse .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px 12px;
  }
  body.so .so-navbar .navbar-collapse .navbar-nav .nav-item:not(.so-nav-btn-wrap) {
    width: 100%;
    flex: 0 0 100%;
  }
  body.so .so-navbar .navbar-collapse .navbar-nav .so-nav-btn-wrap {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 0 calc(50% - 6px);
    width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    box-sizing: border-box;
  }
  body.so .so-navbar .navbar-collapse .so-nav-btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    font-size: 0.9375rem;
    border-radius: 14px;
    justify-content: center;
    gap: 10px;
  }
  /* Bloco visual dos botões: fundo leve para destacar no celular */
  body.so .so-navbar .navbar-collapse .navbar-nav .so-nav-btn-wrap .so-nav-btn {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
  body.so .so-navbar .navbar-collapse .so-nav-btn-primary {
    background: linear-gradient(180deg, #0d6efd 0%, #0b5ed7 100%);
  }
  body.so .so-navbar .navbar-collapse .navbar-nav .so-nav-btn-wrap.so-nav-btn-single {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* Wrapper do carousel: desktop = mesmo container do site (margem alinhada); celular = full width */
body.so .so-banner-wrap {
  box-sizing: border-box;
}
@media (max-width: 991.98px) {
  body.so.so-home .so-navbar.navbar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.so.so-home .so-banner {
    margin-top: 0 !important;
  }
}

/* Banners / Carousel (home) */
body.so .so-banner {
  margin: 14px 0 6px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.10);
}

body.so .so-banner .carousel-item {
  /* Altura passa a ser da imagem (sem recorte/sem faixa) */
}

body.so .so-banner-media {
  position: relative;
  width: 100%;
  /* A altura será definida pela própria imagem */
  background: #0f172a;
}

/* Botão "Saber mais sobre os bolões" – tamanho reduzido */
body.so .so-btn-saber-mais {
  font-size: 0.9rem;
  padding: 8px 16px;
}

@media (max-width: 576px) {
  body.so.so-home .so-navbar.navbar { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  body.so .so-banner { margin: 0 0 8px 0 !important; border-radius: 12px; }
  body.so .so-banner-media { min-height: 320px; height: 320px; }
  body.so .so-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  body.so .so-banner-caption { left: 12px; right: 12px; bottom: 10px; }
  body.so .so-banner-caption h5 { font-size: 16px; margin-bottom: 4px; }
  body.so .so-banner-caption p { font-size: 13px; }
}

/* Tablets: proporção intermediária + banner maior */
@media (min-width: 577px) and (max-width: 991px) {
  body.so.so-home .so-banner { margin-top: 0 !important; margin-bottom: 4px; margin-left: 0; margin-right: 0; border-radius: 16px; }
  body.so .so-banner-media { min-height: 38vh; height: 38vh; }
  body.so .so-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  body.so .so-banner-caption { left: 14px; right: 14px; bottom: 12px; }
  body.so .so-banner-caption h5 { font-size: 18px; margin-bottom: 5px; }
  body.so .so-banner-caption p { font-size: 14px; }
}

/* Banner: área fixa 1920×600 (16:5). A imagem preenche todo o espaço (B2C e B2B). */
body.so .so-banner-img,
body.so.so-empresa-b2b .so-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop: banner um pouco mais alto (16:5,5 ≈ 1920×660), imagem preenche sem distorcer */
/* Aplica em todas as empresas (B2C e B2B); B2B explicitamente via .so-empresa-b2b */
/* Desktop: banner maior (proporção mais alta + max-height maior) */
@media (min-width: 992px) {
  body.so .so-banner-media,
  body.so.so-empresa-b2b .so-banner-media {
    width: 100%;
    aspect-ratio: 16 / 6;
    max-height: 720px;
    min-height: 340px;
    overflow: hidden;
  }
  body.so .so-banner-media .so-banner-img,
  body.so.so-empresa-b2b .so-banner-media .so-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

body.so .so-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 260px at 15% 20%, rgba(255,255,255,0.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.00) 35%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

body.so .so-banner-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

body.so .so-banner-caption h5 {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  text-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

body.so .so-banner-caption p {
  margin: 0;
  opacity: .92;
  text-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

body.so .so-banner .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: .45;
}

body.so .so-banner .carousel-indicators .active {
  opacity: 1;
}

body.so .so-banner .carousel-control-prev,
body.so .so-banner .carousel-control-next {
  width: 54px;
}

body.so .so-banner .carousel-control-prev-icon,
body.so .so-banner .carousel-control-next-icon {
  background-size: 70% 70%;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
}

/* Páginas com barra azul igual às outras (resultados, boloes) */
body.so.so-navbar-primary nav.navbar {
  background: var(--bs-primary) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.so.so-navbar-primary nav.navbar .navbar-brand,
body.so.so-navbar-primary nav.navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
}

body.so.so-navbar-primary nav.navbar .nav-link:hover {
  color: #fff !important;
}

body.so.so-navbar-primary nav.navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff;
}

body.so.so-navbar-primary nav.navbar .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.so.so-navbar-primary .so-navbar .so-nav-btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.1);
}
body.so.so-navbar-primary .so-navbar .so-nav-btn-outline:hover {
  color: #fff !important;
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.2);
}

body.so.so-navbar-primary nav.navbar .dropdown-menu {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* Navbar genérica do sistema (quando não usamos .so-navbar) */
body.so nav.navbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: none !important;
}

body.so nav.navbar .navbar-brand,
body.so nav.navbar .nav-link {
  color: #0f172a !important;
}

body.so nav.navbar .nav-link:hover {
  color: #0d6efd !important;
}

body.so nav.navbar .navbar-toggler {
  border-color: rgba(15, 23, 42, 0.2) !important;
}

body.so nav.navbar .navbar-toggler-icon {
  filter: invert(1);
}

body.so nav.navbar .dropdown-menu {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* Hero / Próximos concursos */
body.so .so-hero {
  padding: 24px 0 8px 0;
}

/* Cabeçalhos de seção: título e descrição centralizados (link "Ver todos" segue à direita) */
body.so .so-hero > .container > .d-flex.mb-3 > div:first-child,
body.so .so-section > .container > .d-flex.mb-3 > div:first-child {
  flex: 1;
  text-align: center;
}

body.so .so-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

body.so .so-subtitle {
  color: #64748b;
  text-align: center;
}

/* Cards de concursos */
body.so .so-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 992px) {
  body.so .so-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
  body.so .so-grid { grid-template-columns: 1fr; gap: 22px; }
  body.so .so-hero { padding: 20px 0 12px 0; }
}

body.so .so-card {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

body.so .so-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 23, 42, 0.16);
}

/* Faixa colorida no topo (mais “vitrine”) */
body.so .so-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #0d6efd;
}
body.so .so-accent-1::before { background: #0d6efd; }
body.so .so-accent-2::before { background: #16a34a; }
body.so .so-accent-3::before { background: #a855f7; }
body.so .so-accent-4::before { background: #f59e0b; }

/* Fundo do card: cor sólida (sem degradê) */
body.so .so-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}
body.so .so-accent-1 { background: #eff6ff; }
body.so .so-accent-2 { background: #f0fdf4; }
body.so .so-accent-3 { background: #faf5ff; }
body.so .so-accent-4 { background: #fffbeb; }

body.so .so-card .so-card-body {
  padding: 13px 11px;
  position: relative;
  z-index: 1;
}

/* Card indisponível (prazo de inscrições expirado): cor apagada para destacar indisponibilidade */
body.so .so-card.so-card-indisponivel {
  opacity: 0.72;
  filter: saturate(0.75);
}
body.so .so-card.so-card-indisponivel::before {
  opacity: 0.5;
}
body.so .so-card.so-card-indisponivel .so-card-body {
  color: #64748b;
}
body.so .so-card.so-card-indisponivel .so-prize,
body.so .so-card.so-card-indisponivel .fw-bold {
  color: #64748b !important;
}
body.so .so-card.so-card-indisponivel .so-actions .btn-primary {
  pointer-events: none;
  background: #94a3b8;
  border-color: #94a3b8;
  color: #fff;
}

/* Card com valor acumulado na premiação: destaque visual */
body.so .so-card.so-card-com-acumulado {
  border: 2px solid #0d6efd;
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.15), 0 4px 12px rgba(13, 110, 253, 0.12);
}
body.so .so-card.so-card-com-acumulado::before {
  opacity: 0.95;
}

/* Cards que têm valor + ações (bolão): respiro e tamanho maior para título/valor */
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-card-title,
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .d-flex.justify-content-between.align-items-start.mb-2 {
  margin-bottom: 1.1rem !important;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-card-title-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-card-title-concurso {
  font-size: 15px;
  font-weight: 800;
  padding: 5px 12px;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-prize {
  font-size: 26px;
  margin-bottom: 1.1rem !important;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-prize small {
  font-size: 14px;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-meta {
  font-size: 14px;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-pill {
  font-size: 13px;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-actions .btn {
  font-size: 14px;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-meta.mb-3,
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .d-flex.flex-wrap.gap-2.mb-3 {
  margin-bottom: 0.9rem !important;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-progress.mb-3 {
  margin-bottom: 1.1rem !important;
}
body.so .so-card .so-card-body:has(.so-prize):has(.so-actions) .so-actions.d-grid.gap-2 {
  gap: 10px !important;
}
body.so.so-home .so-prize {
  font-size: 25px;
}
body.so.so-home .so-prize small {
  font-size: 13px;
}
body.so.so-home .so-meta {
  font-size: 12px;
}

body.so .so-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 12px;
  backdrop-filter: blur(6px);
}

body.so .so-pill.primary {
  border-color: rgba(13, 110, 253, 0.22);
  background: rgba(13, 110, 253, 0.10);
  color: #0b3fa8;
}
body.so .so-pill.success {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.10);
  color: #0f7a33;
}
body.so .so-pill.warning {
  border-color: rgba(245, 158, 11, 0.26);
  background: rgba(245, 158, 11, 0.12);
  color: #8a5300;
}
body.so .so-pill.pink {
  border-color: rgba(236, 72, 153, 0.26);
  background: rgba(236, 72, 153, 0.12);
  color: #9d174d;
}

body.so .so-pill.neutral {
  border-color: rgba(51, 65, 85, 0.22);
  background: rgba(51, 65, 85, 0.10);
  color: #0f172a;
}

body.so .so-prize {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.so .so-prize small {
  font-weight: 700;
  color: #64748b;
  font-size: 13px;
}

body.so .so-meta {
  color: #334155;
  font-weight: 600;
  font-size: 13px;
}

/* Título do concurso (home): Nome do bolão + Concurso */
body.so .so-concurso-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
body.so .so-concurso-bolao {
  font-weight: 900;
}
body.so .so-concurso-sep {
  color: rgba(15, 23, 42, 0.35);
  font-weight: 800;
}
body.so .so-concurso-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-weight: 900;
  font-size: 12px;
}

body.so .so-actions .btn {
  border-radius: 12px;
  padding: 10px 12px;
}

body.so .so-actions .btn-primary {
  background: linear-gradient(135deg, #0d6efd, #2563eb);
  border: none;
}

body.so .so-actions .btn-outline-secondary {
  border-color: rgba(15, 23, 42, 0.16);
}

/* Linha compacta do bolão (quadro por concurso - home) */
body.so .so-bolao-row {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #fff;
  border-radius: 14px;
  padding: 12px;
}

body.so.so-home .so-bolao-row {
  padding: 10px;
  border-radius: 12px;
}
body.so.so-home .so-bolao-title {
  font-size: 14px;
}
body.so.so-home .so-bolao-title-concurso {
  font-size: 11px;
  padding: 3px 8px;
}

body.so .so-bolao-title {
  font-weight: 800;
}

/* Título do bolão + concurso (home) */
body.so .so-bolao-title-name {
  font-weight: 900;
  letter-spacing: -0.02em;
}
body.so .so-bolao-title-sep {
  margin: 0 8px;
  color: rgba(15, 23, 42, 0.35);
  font-weight: 800;
}
body.so .so-bolao-title-concurso {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
}

/* Título do card recomendado: nome + concurso */
body.so .so-card-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
body.so .so-card-title-name {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
body.so .so-card-title-concurso {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 253, 0.35);
  background: rgba(13, 110, 253, 0.12);
  color: #0b5ed7;
  font-weight: 800;
  font-size: 13px;
}

/* Home: cards centralizados (Próximos bolões) */
body.so.so-home .so-card-centered .so-card-body {
  text-align: center;
}
body.so.so-home .so-card-centered .so-card-title {
  width: 100%;
  justify-content: center;
}
body.so.so-home .so-card-centered .so-meta {
  text-align: center;
}
body.so.so-home .so-card-centered .so-prize {
  text-align: center;
}
body.so.so-home .so-card-centered .d-flex.flex-wrap.gap-2 {
  justify-content: center;
}
body.so.so-home .so-card-centered .so-actions {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
body.so.so-home .so-card-centered .so-actions .btn {
  width: 100%;
}

/* Home: cards de bolões mais compactos */
body.so.so-home .so-bolao-card .so-card-body {
  padding: 13px 11px;
}

/* Título do card: espaço abaixo */
body.so.so-home .so-bolao-card .so-card-title,
body.so.so-home .so-bolao-card .d-flex.justify-content-between.align-items-start.gap-2.mb-2,
body.so.so-home .so-bolao-card .so-bolao-card-header {
  margin-bottom: 0.65rem !important;
}

/* Título do card de bolão */
body.so.so-home .so-bolao-card .so-card-title-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
body.so.so-home .so-bolao-card .so-card-title-concurso {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-width: 1.5px;
  background: rgba(13, 110, 253, 0.14);
  border-color: rgba(13, 110, 253, 0.4);
  color: #0b5ed7;
}

/* Valor / prêmio */
body.so.so-home .so-bolao-card .so-prize {
  font-size: 19px;
  margin-bottom: 0.65rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.so.so-home .so-bolao-card .so-prize small {
  font-size: 12px;
}

/* Alertas */
body.so.so-home .so-bolao-card .alert.mb-3,
body.so.so-home .so-bolao-card .so-discount-banner.mb-3 {
  margin-bottom: 0.5rem !important;
  font-size: 0.8rem;
}
body.so.so-home .so-bolao-card .so-discount-banner .so-discount-mini {
  font-size: 0.75rem;
}

/* Meta (sorteio) */
body.so.so-home .so-bolao-card .so-meta.mb-3 {
  margin-bottom: 0.5rem !important;
  font-size: 12px;
}

/* Pills (participantes, jogos) */
body.so.so-home .so-bolao-card .d-flex.flex-wrap.gap-2.mb-3 {
  margin-bottom: 0.5rem !important;
  gap: 6px !important;
}
body.so.so-home .so-bolao-card .so-pill {
  font-size: 11px;
  padding: 4px 8px;
}

/* Barra de progresso */
body.so.so-home .so-bolao-card .so-progress.mb-3 {
  margin-bottom: 0.65rem !important;
  margin-top: 0.15rem;
}

/* Botões */
body.so.so-home .so-bolao-card .so-actions.d-grid.gap-2 {
  gap: 6px !important;
  padding-top: 0.1rem;
}
body.so.so-home .so-bolao-card .so-actions .btn {
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  min-height: 38px;
}

body.so .so-bolao-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}

/* Entrada do bolão mais evidenciada */
body.so .so-pill.so-entry-pill {
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 900;
  border-color: rgba(13, 110, 253, 0.34);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.16), rgba(56, 189, 248, 0.12));
  box-shadow: 0 10px 26px rgba(13, 110, 253, 0.16);
}

body.so .so-pill.so-entry-pill strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

/* Home: deixar o valor da entrada mais compacto (mesmo “peso” visual dos botões) */
body.so.so-home .so-pill.so-entry-pill {
  padding: 8px 10px;
  font-size: 13px;
}
body.so.so-home .so-pill.so-entry-pill strong {
  font-size: 14px;
}

/* Alinhamento visual das infos (pills) */
body.so .so-bolao-meta .so-pill {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

@media (max-width: 576px) {
  body.so .so-pill.so-entry-pill {
    padding: 10px 14px;
    font-size: 16px;
  }
  body.so .so-pill.so-entry-pill strong { font-size: 22px; }

  /* Home mobile: valor da entrada no tamanho dos botões */
  body.so.so-home .so-pill.so-entry-pill {
    padding: 8px 10px;
    font-size: 12px;
  }
  body.so.so-home .so-pill.so-entry-pill strong { font-size: 13px; }
}

body.so .so-bolao-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  body.so .so-bolao-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 12px;
    align-items: start;
  }
  body.so .so-bolao-actions {
    margin-top: 0;
  }
  body.so .so-bolao-row .so-progress {
    grid-column: 1 / -1;
  }
}

/* Home (desktop): dar mais espaço aos botões e evitar “vazio” à direita */
@media (min-width: 992px) {
  body.so.so-home .so-bolao-row {
    grid-template-columns: 1fr 240px;
  }
  /* banners/avisos devem ocupar a largura toda do card */
  body.so.so-home .so-bolao-row .so-discount-banner,
  body.so.so-home .so-bolao-row .alert {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  body.so .so-bolao-row { padding: 10px; border-radius: 12px; }
  body.so .so-bolao-meta { gap: 6px; }
  body.so .so-bolao-title-sep { display: none; }
  body.so .so-concurso-sep { display: none; }

  /* Botões do card (mobile): menores e lado a lado */
  body.so .so-bolao-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  body.so .so-bolao-actions .btn {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  /* Botões dos cards recomendados (mobile): 2 colunas */
  body.so .so-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.so .so-actions .btn {
    padding: 9px 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* Home (mobile): cards mais compactos */
  body.so.so-home .so-card .so-card-body { padding: 12px 10px; }
  body.so.so-home .so-bolao-card .so-card-body { padding: 12px 10px; }
  body.so.so-home .so-prize { font-size: 17px; }
  body.so.so-home .so-bolao-card .so-card-title-name { font-size: 0.95rem; }
  body.so.so-home .so-bolao-card .so-card-title-concurso { font-size: 11px; padding: 3px 7px; }
  body.so.so-home .so-bolao-meta { margin-top: 4px; }

  /* Home (mobile): 3 pills na mesma linha */
  body.so.so-home .so-bolao-meta {
    flex-wrap: nowrap;
    gap: 4px;
  }
  body.so.so-home .so-bolao-meta .so-pill {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  body.so.so-home .so-bolao-meta .so-pill i {
    display: none;
  }
  body.so.so-home .so-pill.so-entry-pill {
    padding: 7px 10px;
    font-size: 12px;
    box-shadow: none;
    flex: 1 1 auto;
  }
  body.so.so-home .so-pill.so-entry-pill strong {
    font-size: 14px;
  }
}

/* Barra de lotação */
body.so .so-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.10);
  overflow: hidden;
}
body.so .so-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #0d6efd;
}

/* Banner de desconto (crédito) */
body.so .so-discount-banner {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.10);
  color: #0f7a33;
  font-weight: 800;
  line-height: 1.15;
}
body.so .so-discount-banner .so-discount-mini {
  display: block;
  font-weight: 700;
  color: rgba(15, 122, 51, 0.9);
  margin-top: 2px;
  font-size: 12px;
}

@media (max-width: 576px) {
  body.so .so-discount-banner {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
  body.so .so-discount-banner .so-discount-mini { font-size: 11px; }
}
body.so .so-accent-2 .so-progress > span { background: #16a34a; }
body.so .so-accent-3 .so-progress > span { background: #a855f7; }
body.so .so-accent-4 .so-progress > span { background: #f59e0b; }

/* Resultados */
body.so .so-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.so .so-ball {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.20);
}

body.so .so-ball.secondary {
  background: #0d6efd;
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.20);
}

body.so .so-ball.neutral {
  background: #334155;
  box-shadow: 0 10px 18px rgba(51, 65, 85, 0.18);
}

/* Seções tipo Sorte Online */
body.so .so-section {
  padding: 28px 0;
}

body.so .so-section-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}

body.so .so-muted {
  color: #64748b;
}

/* Descrições logo abaixo de títulos de seção centralizadas */
body.so .so-section-title + .so-muted,
body.so .so-section-title + div.so-muted,
body.so .so-title + .so-subtitle,
body.so .so-title + div.so-subtitle {
  text-align: center;
}

body.so .so-bg-soft {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.so .so-mini {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

body.so .so-info-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* ===== Index (home): layout moderno, sequência clara, fácil compreensão ===== */
body.so.so-home {
  background: linear-gradient(180deg, #fafbfd 0%, #f1f5f9 50%, #ffffff 100%);
}

body.so.so-home .so-hero {
  padding: 2.5rem 0 1.5rem;
}

body.so.so-home .so-hero .so-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

body.so.so-home .so-hero .so-subtitle {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

body.so.so-home .so-hero-primary .so-hero-head {
  padding-bottom: 0.5rem;
}

body.so.so-home .so-hero-primary .so-hero-head .so-title {
  font-size: 1.75rem;
}

body.so.so-home .alert-info.text-center {
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

body.so.so-home .so-section {
  padding: 2.5rem 0;
}

body.so.so-home .so-section .so-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

body.so.so-home .so-section .so-muted {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

body.so.so-home .so-bg-soft {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

body.so.so-home .so-grid {
  gap: 1.5rem;
}

@media (min-width: 993px) {
  body.so.so-home .so-grid { gap: 1.75rem; }
}

body.so.so-home .so-card {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.so.so-home .so-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.09);
}

body.so.so-home .so-card .so-card-body {
  padding: 1rem 0.9rem;
}

body.so.so-home .so-card .so-card-body .small.border.rounded {
  border-radius: 12px !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

body.so.so-home .container.py-3 .so-btn-saber-mais {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
}


body.so.so-home .so-info-card {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease;
}

body.so.so-home .so-info-card:hover {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

body.so.so-home .so-bolao-card .so-actions .btn-primary {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  min-height: 38px;
}

@media (max-width: 768px) {
  body.so.so-home .so-hero { padding: 1.75rem 0 1rem; }
  body.so.so-home .so-hero .so-title { font-size: 1.5rem; }
  body.so.so-home .so-section { padding: 1.75rem 0; }
  body.so.so-home .so-section .so-section-title { font-size: 1.5rem; }
}

/* Header do card: nome centralizado, status à direita */
body.so .so-bolao-card-header {
  display: flex;
  align-items: flex-start; /* título e status alinhados pelo topo */
  justify-content: space-between;
  gap: 8px;
}
body.so .so-bolao-header-spacer {
  width: 0;
  min-width: 0;
}
body.so .so-bolao-card-header .so-card-title-name.so-bolao-name-center {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0 4px;
}
body.so .so-bolao-card-header .so-card-title {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}
body.so .so-bolao-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-start; /* acompanha o topo do título */
  line-height: 1.2;
}
body.so .so-bolao-status-disponivel {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.3);
}
body.so .so-bolao-status-encerrado {
  background: #64748b;
  color: #fff;
  box-shadow: 0 1px 4px rgba(100, 116, 139, 0.25);
}
@media (max-width: 576px) {
  body.so .so-bolao-status {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}
body.so .so-bolao-group-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

/* Concurso + data do sorteio na mesma linha, concurso destacado */
body.so .so-sorteio-concurso {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}
body.so .so-concurso-destaque {
  font-weight: 800;
  color: #0b5ed7;
  background: rgba(13, 110, 253, 0.12);
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(13, 110, 253, 0.35);
}
body.so .so-sorteio-sep {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9em;
}

/* Valor (entrada do bolão) e temporizador na mesma linha: entrada à esquerda, temporizador ao lado à direita */
body.so .so-prize-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
body.so .so-prize-row .so-prize {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  flex: 0 1 auto !important;
  min-width: 0;
  max-width: none;
}
body.so .so-prize-row .so-countdown-wrap {
  flex: 0 0 auto !important;
  display: inline-flex;
  align-items: center;
}
body.so.so-home .so-bolao-card .so-prize-row .so-prize,
body.so .so-bolao-card .so-prize-row .so-prize {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
body.so.so-home .so-bolao-card .so-prize {
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.4rem;
}

/* Desktop: fontes do card no mesmo padrão do celular (mais legíveis) */
@media (min-width: 993px) {
  body.so.so-home .so-bolao-card .so-card-body {
    padding: 1rem 1.1rem;
  }
  body.so.so-home .so-bolao-card .so-card-title-name {
    font-size: 1.1rem;
  }
  body.so.so-home .so-bolao-card .so-card-title-concurso {
    font-size: 13px;
    padding: 4px 9px;
  }
  body.so.so-home .so-bolao-card .so-prize {
    font-size: 28px;
  }
  body.so.so-home .so-bolao-card .so-prize small {
    font-size: 15px;
  }
  body.so.so-home .so-bolao-card .alert.mb-3,
  body.so.so-home .so-bolao-card .so-discount-banner.mb-3 {
    font-size: 0.95rem;
  }
  body.so.so-home .so-bolao-card .so-discount-banner .so-discount-mini {
    font-size: 0.9rem;
  }
  body.so.so-home .so-bolao-card .so-meta,
  body.so.so-home .so-bolao-card .so-meta.mb-3 {
    font-size: 14px;
  }
  body.so.so-home .so-bolao-card .so-sorteio-concurso {
    font-size: 14px;
  }
  body.so.so-home .so-bolao-card .so-pill {
    font-size: 14px;
    padding: 5px 10px;
  }
  body.so.so-home .so-bolao-card .so-actions .btn {
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem;
    min-height: 40px;
  }
  body.so.so-home .so-bolao-card .small.border.rounded {
    font-size: 0.95rem;
  }
}

/* Desktop: layout conforme print — valor à esquerda, temporizador à direita alinhado pela base */
@media (min-width: 993px) {
  body.so .so-prize-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
  body.so .so-prize-row .so-prize {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 60% !important;
    margin-right: 0.5rem;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.so .so-prize-row .so-countdown-wrap {
    flex: 0 0 auto !important;
    margin-left: auto;
    align-self: flex-end;
  }
  /* Anular regras do card :has(.so-prize):has(.so-actions) quando o prêmio está dentro de .so-prize-row */
  body.so .so-card .so-card-body:has(.so-prize-row) .so-prize-row .so-prize {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }
  body.so.so-home .so-bolao-card .so-prize-row .so-prize {
    font-size: 28px !important;
  }
  body.so.so-home .so-bolao-card .so-prize-row .so-prize small {
    font-size: 15px !important;
  }
  /* Desktop: temporizador com mais distância interna (esquerda e direita iguais) */
  body.so .so-prize-row .so-countdown-wrap {
    min-width: 12rem;
    width: 12rem;
    padding: 8px 18px !important;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  body.so .so-prize-row .so-countdown-wrap .so-countdown-label {
    font-size: 0.8rem;
  }
  body.so .so-prize-row .so-countdown-wrap .so-countdown-text {
    width: 10ch;
    min-width: 10ch;
    max-width: 10ch;
    font-size: 0.9rem;
    padding: 0 4px;
  }
  body.so .so-prize-row .so-countdown-wrap .bi-clock {
    font-size: 0.9rem;
  }
}

/* Temporizador: "Disponível" + relógio + contagem — largura fixa, espaçamento igual dos dois lados */
body.so .so-countdown-wrap {
  font-weight: 600;
  color: #475569;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 13rem;
  width: 13rem;
  box-sizing: border-box;
  flex-shrink: 0;
}
body.so .so-countdown-wrap .so-countdown-label {
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Largura fixa + fonte monoespaçada: texto do tempo não pisca nem muda de lugar (formato 000:00:00) */
body.so .so-countdown-wrap .so-countdown-text {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.25;
  width: 10ch;
  min-width: 10ch;
  max-width: 10ch;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
  contain: layout style;
  box-sizing: border-box;
  padding: 0 4px;
  overflow: hidden;
}
body.so .so-countdown-wrap .bi-clock {
  font-size: 1rem;
  flex-shrink: 0;
}
/* Menos de 4h: vermelho e piscando */
body.so .so-countdown-wrap.so-countdown-urgent {
  background: rgba(220, 38, 38, 0.18) !important;
  border-color: rgba(185, 28, 28, 0.5) !important;
  color: #b91c1c !important;
  font-weight: 800;
  animation: so-countdown-blink 1s ease-in-out infinite;
}
body.so .so-countdown-wrap.so-countdown-urgent .so-countdown-label,
body.so .so-countdown-wrap.so-countdown-urgent .so-countdown-text,
body.so .so-countdown-wrap.so-countdown-urgent .bi-clock {
  color: #b91c1c !important;
}
body.so.so-home .so-bolao-card .so-countdown-wrap.so-countdown-urgent {
  background: rgba(220, 38, 38, 0.18) !important;
  border-color: rgba(185, 28, 28, 0.5) !important;
  color: #b91c1c !important;
}
body.so.so-home .so-bolao-card .so-countdown-wrap.so-countdown-urgent .so-countdown-label,
body.so.so-home .so-bolao-card .so-countdown-wrap.so-countdown-urgent .so-countdown-text,
body.so.so-home .so-bolao-card .so-countdown-wrap.so-countdown-urgent .bi-clock {
  color: #b91c1c !important;
}
body.so .so-countdown-wrap.so-countdown-encerrado {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
  font-weight: 600;
}
@keyframes so-countdown-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Index moderna: touch targets e responsividade mobile */
@media (max-width: 576px) {
  body.so.so-home .so-card .so-card-body { padding: 0.9rem 0.75rem; }
  body.so.so-home .so-bolao-card .so-actions .btn {
    min-height: 40px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
  }
  body.so.so-home .so-hero .so-subtitle { font-size: 0.95rem; }
  /* Temporizador: fonte um pouco maior no celular */
  body.so .so-countdown-wrap .so-countdown-label {
    font-size: 0.9rem;
  }
  body.so .so-countdown-wrap .so-countdown-text {
    font-size: 1rem;
  }
  body.so .so-countdown-wrap .bi-clock {
    font-size: 1.05rem;
  }
}

/* Footer */
body.so .so-footer {
  background: #0b1220;
  color: #cbd5e1;
}


