
    body {
      font-family: sans-serif;
      margin: 0;
      padding: 0;
      background: #fff;
    }
    .container {
      max-width: 480px;
      margin: auto;
      padding: 16px;
    }
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 12px;
    }
    .tag {
      background: #007bff;
      color: white;
      border-radius: 12px;
      padding: 4px 12px;
      font-size: 0.8rem;
    }
    .tag.gray {
      background: #eee;
      color: #333;
    }
    .image-container {
      position: relative;
    }
    .image-container img {
      width: 100%;
      border-radius: 12px;
    }
    .image-overlay {
      position: absolute;
      bottom: 8px;
      left: 8px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 4px 8px;
      border-radius: 6px;
      font-family: monospace;
      font-size: 0.85rem;
    }
    .stats {
      display: flex;
      gap: 16px;
      margin-top: 8px;
    }
    .stats span {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 0.9rem;
      cursor: pointer;
    }
    .price-section {
      text-align: center;
      margin: 20px 0;
      background-color: #00a650;
      color: white;
      padding: 10px;
      border-radius: 10px;
    }
    .price {
      font-size: 2rem;
      font-weight: bold;
    }
    .user-puja-price {
      font-size: 1rem;
    }
    .pujas {
      border-top: 1px solid #ccc;
      padding-top: 12px;
    }
    .pujas h4 {
      margin-bottom: 8px;
      font-size: 0.95rem;
      color: #555;
    }
    .puja {
      display: flex;
      justify-content: space-between;
      font-size: 0.9rem;
      margin-bottom: 4px;
    }
    .pujar-btn {
      display: block;
      width: 100%;
      padding: 12px;
      background: #007bff;
      color: white;
      font-size: 1rem;
      font-weight: bold;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      margin-top: 16px;
    }
    .report {
      text-align: center;
      font-size: 0.8rem;
      margin-top: 8px;
      color: #999;
    }
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      justify-content: center;
      align-items: center;
    }
    .modal-content {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      max-width: 400px;
      width: 90%;
      text-align: center;
    }
    .modal-content input {
      display: block;
      width: 100%;
      margin: 10px 0;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 8px;
    }
    .modal-content button {
      background: #007bff;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 10px;
    }
    
    
    
    
    @keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 166, 80, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 8px 10px rgba(0, 166, 80, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 166, 80, 0);
  }
}

.pulse {
  animation: pulse 0.6s ease-out;
}



.puja {
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.puja.ultima {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00a650;
}

.puja.penultima {
  font-size: 1.2rem;
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: #00a650;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 999;
}

.toast.show {
  bottom: 20px;
  opacity: 1;
  pointer-events: auto;
}

.lider-box {
  position: fixed;
  top: 20px;
  right: 16px;
  width: 64px;
  text-align: center;
  z-index: 1000;
}

.avatar {
  width: 64px;
  height: 64px;
  background: #eee;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 64px;
  color: #999;
  border: 2px solid #00a650;
  position: relative;
  z-index: 1; /* Burbuja */
}

.corona {
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 1.3rem;
  z-index: 2; /* Por encima de la burbuja */
}

.nombre-lider {
  background: #00a650;
  color: white;
  padding: 4px;
  font-size: 0.75rem;
  border-radius: 0 0 6px 6px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.puja.ultima span:first-child {
  color: #ffc107;
  font-weight: bold;
}

.propiedades-icono {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px;
  border-radius: 10px;
  font-size: 2.4rem; /* Tamaño grande */
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.propiedades-icono:hover {
  transform: scale(1.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 20% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal .close {
  float: right;
  font-size: 1.4rem;
  cursor: pointer;
}
button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


#opcionesPuja {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-opcion-puja {
  padding: 14px;
  min-width: 80px;
  height: 80px;
  background: #00a650;
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 10px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn-opcion-puja:hover {
  background: #008c45;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.pulsando {
  animation: pulse 1s infinite;
}

