
.podium {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.podium-card {
    position: relative;
    width: 220px;
    height: 320px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.podium-card .overlay {
    height: 36%;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    color: white;
}

.podium-card .card-title {
    margin: 5px 0;
    font-size: 1rem;
    font-weight: bold;
}

.podium-card .card-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Colores para el podio */
.podium-1 {
    border: 3px solid gold;
}
.podium-2 {
    border: 3px solid silver;
}
.podium-3 {
    border: 3px solid #cd7f32; /* bronce */
}
        .accordion-item {
            background: #222;
            color: white;
            padding: 15px;
           text-align: left; 
        }
        /* Quitar color azul al abrir o enfocar */
  .accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
    box-shadow: none;
  }

  /* Quitar color azul al enfocar (focus/active) */
  .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
  }

  /* Quitar transición azul si Bootstrap aplica */
  .accordion-button {
    transition: none;
  }
  /* Cambiar la flecha del acordeón a blanca */
  .accordion-button::after {
    filter: invert(1); /* convierte el icono a blanco */
  }
.user-panel-columns{
    background: #222;
    padding: 10px 20px;
    color: white;
    
    display: inline-block;
}
.user-panel {
    background: #444;
    padding: 10px 20px;
    color: white;
    border-radius: 6px;
    display: inline-block;
}
.panel-column{
    background: #444;
    padding: 10px 20px;
}
main {
    padding: 20px;
}
.top-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.column {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 280px;
}
.column h2 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}
.column ul {
    list-style: none;
    padding: 0;
}
.column li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.latest {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.latest h2 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}
.latest-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.latest-item {
    flex: 1 1 calc(25% - 20px);
    min-width: 180px;
    background: #fafafa;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: center;
}
.latest-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
@media(max-width: 768px){
    .latest-item {
        flex: 1 1 calc(50% - 20px);
    }
}
@media(max-width: 480px){
    .top-section {
        flex-direction: column;
    }
    .latest-item {
        flex: 1 1 100%;
    }
}
.card-info-box {
  position: absolute;
  bottom: 0;  /* Aparece encima */
  left: 0;
  right: 0;
  padding: 14px 6px;        /* Más alto que antes */
  background: rgba(51, 51, 51, 0.9);
  color: #fff;
  font-size: 0.85rem;       /* Texto un poco más grande */
  line-height: 1.2;
  z-index: 2;
  border-bottom-left-radius: 0.25rem;  /* Igual que Bootstrap rounded */
  border-bottom-right-radius: 0.25rem;
}

.card-info-number {
  font-weight: 700;
  font-size: 0.8rem;        /* Más visible */
}

.card-info-name {
  font-weight: 600;
  font-size: 0.9rem;        /* Más grande */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info-rarity {
  font-size: 0.8rem;        /* Más grande */
  opacity: 0.9;
}
.list-card-item .mini-thumb {
  width: 45px;
  height: auto;
  border-radius: 4px;
  cursor: zoom-in;
  transition: transform .2s;
}

.list-card-item .mini-thumb:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .d-md-flex { display: none !important; }
}
/* Miniatura más compacta */
.ranking-thumb {
  width: 42px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background-color: #333;
}

/* Listado más compacto aún si se desea */
.compact-ranking .list-group-item {
  border: none;
  border-bottom: 1px solid #e5e5e5;
}
.compact-ranking .list-group-item:last-child {
  border-bottom: none;
}
.shadowcustom {
    box-shadow: 0 .2rem .9rem rgba(0, 0, 0, 0.4); /* sombra fuerte */
}

#modalImg {
    width: 80%; /* Por defecto (versiones pequeñas) */
    max-width: 100%;
}

/* Para pantallas medianas y mayores (≥768px) */
@media (min-width: 768px) {
    #modalImg {
        width: 50%;
    }
}