:root{
    --bg:#0f1115;
    --card:#2e2e2e;
    --muted:#8b93a7;
    --text:#e8ecf3;
    --accent:#4a7dff;
    --accent-2:#7b5cff;
    --chip:#1f2535;
    --success:#30d158;
  }
  .voting{
    --radius:18px;
    background: linear-gradient(180deg, rgba(74,125,255,.08), rgba(123,92,255,.06)) ;
    background: #f5f7fa;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 22px 18px 16px;
    border-left: 5px solid #1e3a8a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    color: var(--text);
    text-align: center;
  }
  .voting .heading{
    font-weight: 800;
    letter-spacing: .3px;
    font-size: 24px;
    margin-bottom: 14px;
    color: grey;
  }

  /* card inside carousel */
  .forecaster-card{
    position: relative;
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 16px 14px 14px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 168px;
    overflow: hidden;
  }
  .forecaster-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
    border-color: rgba(74,125,255,.35);
  }
  .forecaster-card .avatar{
    width: 56px; height:56px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
  }
  .forecaster-card .login{
    display: inline-block;
    font-weight: 700;
    margin-top: 2px;
    color: var(--text);
    text-decoration: none;
  }
  .forecaster-card .login:hover{ color: var(--accent); }

  .rank-badge{
    position: absolute;
    top: 10px; left: 10px;
    width: 34px; height: 34px;
    display: grid; place-items:center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    color:#0b0f1a;
    background: linear-gradient(180deg,#ffd66b,#f7b500);
    box-shadow: 0 6px 20px rgba(247,181,0,.35);
    border: 1px solid rgba(0,0,0,.15);
  }
  .rank-2{ background: linear-gradient(180deg,#e6e9ef,#cfd6e3); box-shadow: 0 6px 20px rgba(160,172,190,.35); }
  .rank-3{ background: linear-gradient(180deg,#ffbe88,#ff8a4a); box-shadow: 0 6px 20px rgba(255,138,74,.35); }
  .rank-4 {background: linear-gradient(180deg, #4ad1ff, #267bff);box-shadow: 0 6px 20px rgba(74, 125, 255, .35);}
  .rank-5 {
  background: linear-gradient(180deg, #4b6cb7, #2e59a7);
  box-shadow: 0 6px 20px rgba(75, 108, 183, 0.55);
}

  .chips{
    display: flex; gap:8px; justify-content:center;
    margin-top: 8px;
  }
  .chip{
    background: var(--chip);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    color: var(--muted);
  }
  .chip b{ color: var(--text); }

  /* CTA / footer */
  .voting .detailed_table a{
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    background: linear-gradient(90deg, #e9686c, #8f1fed);
    padding: 10px 14px;
    border-radius: 12px;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .voting .detailed_table a:hover{
    transform: translateY(-2px);
    border-color: rgba(74,125,255,.45);
    box-shadow: 0 8px 22px rgba(74,125,255,.35);
  }

  .season{
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
    display: flex; align-items:center; gap:6px;
    border-top: 1px dashed rgba(255,255,255,.08);
    padding-top: 10px;
  }
  .season .dot{
    width:8px; height:8px; border-radius:50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(48,209,88,.12);
  }

  /* Owl dots alignment override (optional) */
  .voting .owl-dots{ margin-top: 8px; }
  .voting .owl-dot span{ background: rgba(255,255,255,.22)!important; }
  .voting .owl-dot.active span{ background: var(--accent)!important; }
  
  .player_ratings {
   margin: 0; 
}

@media (max-width: 480px) {
  .player_ratings {
    margin: 0px -10px; 
  }
}

.contest-info {
  background: #f8f9fa;
  border-left: 5px solid #ffc107;
  padding: 16px 20px;
  border-radius: 8px;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 0.8rem;
  color: #333;
}
.contest-info h3 {
  margin-bottom: 10px;
  color: #212529;
}
.contest-info .note {
  font-size: 0.7rem;
  color: #555;
  margin-top: 12px;
}
.contest-info .note span {
  color: #d63333;
  font-weight: 600;
}