.card-meta {
    display: none !important;
}

/* Images dans les cartes flashcard - Force max-width */
.card-content img,
.card-face img,
.card-back img,
.card-front img,
.quiz-card-front img,
.quiz-card-back img,
.quiz-card-content img,
.cerpe-card-front img,
.cerpe-card-back img,
.editable-field img,
.editable-preview img,
[class*="card"] img {
    max-width: 700px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
    border-radius: 8px;
}

/* Styles pour le surlignage dans les cartes */
.card-content mark,
.editable-field mark,
.editable-preview mark,
.quiz-card-content mark,
.recent-card-content mark,
mark {
    background: rgba(255, 235, 59, 0.2) !important;
    color: inherit !important;
    padding: 2px 4px;
    border-radius: 3px;
    border: 1px solid rgba(255, 235, 59, 0.3);
    font-weight: inherit;
}

/* Styles pour les éléments de formatage subtil */
.card-content strong,
.editable-field strong,
.editable-preview strong,
.quiz-card-content strong {
    color: #e2e8f0;
    font-weight: 700;
}ssssssssss

.card-content em,
.editable-field em,
.editable-preview em,
.quiz-card-content em {
    color: #cbd5e1;
    font-style: italic;
}

.card-count-bubble {
  background: rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  padding: 3px 8px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  min-width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: 0;
}

.card-count-bubble::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  transform: rotate(45deg);
  transition: all 0.3s;
}

.card-count-bubble.zero {
  background: rgba(71, 85, 105, 0.15);
  border-color: rgba(71, 85, 105, 0.3);
  color: #94a3b8;
  opacity: 0.7;
}

.card-count-bubble.many {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-weight: 700;
}

.card-count-bubble.very-many {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

/* ============================================
   STAT CARDS - Design moderne et aligné
   ============================================ */

.stat-card {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(42, 42, 62, 0.6));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
  transition: left 0.6s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.stat-card:hover::before {
  left: 100%;
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.stat-icon i {
  font-size: 22px;
  color: white;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.2px;
}

.recent-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  min-height: 200px;
}

.recent-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.recent-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.recent-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.recent-card-time {
  font-size: 12px;
  color: var(--text-muted);
}

.recent-card-content {
  margin-bottom: 12px;
}

.recent-card-front,
.recent-card-back {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-card-front {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 16px;
}

.recent-card-back {
  color: var(--text-secondary);
  font-size: 14px;
}

.recent-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.recent-card-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.recent-card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   GROUPES RÉCEMMENT CONSULTÉS - Nouveau design
   ============================================ */
.recent-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: auto;
}

.recent-group-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(145deg, rgba(42, 42, 62, 0.7), rgba(30, 30, 50, 0.8));
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.recent-group-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
  transition: left 0.5s ease;
}

.recent-group-card:hover {
  transform: translateX(6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.1);
}

.recent-group-card:hover::before {
  left: 100%;
}

.recent-group-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recent-group-icon i {
  font-size: 20px;
  color: #a78bfa;
}

.recent-group-info {
  flex: 1;
  min-width: 0;
}

.recent-group-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-group-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
}

.recent-group-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.recent-group-meta i {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.6);
}

.recent-group-action {
  flex-shrink: 0;
}

.btn-resume-group {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-resume-group:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-resume-group i {
  font-size: 14px;
}

/* Responsive pour groupes récents */
@media (max-width: 768px) {
  .recent-group-card {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .recent-group-icon {
    width: 42px;
    height: 42px;
  }
  
  .recent-group-icon i {
    font-size: 18px;
  }
  
  .recent-group-name {
    font-size: 0.95rem;
  }
  
  .recent-group-meta {
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.75rem;
  }
  
  .btn-resume-group {
    width: 38px;
    height: 38px;
  }
}

.suggestion-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.suggestion-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.suggestion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.suggestion-card:hover::before {
  transform: scaleX(1);
}

.suggestion-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.suggestion-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.popular-list-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popular-list-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
}

.btn-create-card,
.btn-create-bulk,
.btn-login {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-create-card {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

.btn-create-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feature-cards {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.feature-card {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.add-card-btn {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.add-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.all-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
}

.all-card-item:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-info {
  margin-right: 100px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.card-actions {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  gap: var(--space-xs);
}

.card-count-bubble {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  min-width: 32px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 
    0 2px 4px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  margin-right: 4px;
}

.card-count-bubble.zero {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  opacity: 0.7;
  cursor: help;
  transition: all 0.3s ease;
}

.card-count-bubble.zero:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  transform: scale(1.1);
}

.card-count-bubble.zero i {
  animation: pulsePlus 2s infinite;
  display: inline-flex;
  align-items: center;
}

.card-count-bubble.many {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 
    0 2px 4px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: pulse-badge 2s ease-in-out infinite;
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  max-width: 750px;
  width: 100%;
  margin: 25px auto 0;
  justify-content: center;
  align-items: stretch;
  align-content: center;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 25px 20px;
  text-align: center;
  transition: all var(--transition-base);
  animation: featureCardFloat 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  flex: 0 1 320px;
  max-width: 350px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-card:nth-child(2) {
  animation-delay: 0.5s;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
  max-width: 700px;
  width: 100%;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-count {
  margin-left: auto;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-meta {
  font-size: 0.8em;
  margin-top: 10px;
  opacity: 0.7;
}

.btn-create-card,
.btn-create-bulk,
.btn-login {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn-create-card {
  background: var(--gradient-primary);
  color: white;
}

.btn-create-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-create-card::before,
.btn-create-bulk::before,
.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.3), 
    transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-create-card:hover::before,
.btn-create-bulk:hover::before,
.btn-login:hover::before {
  left: 100%;
}

.btn-create-card i,
.btn-create-bulk i,
.btn-login i {
  font-size: 1.1rem;
}

/* ============================================
   TOP ÉTUDIANTS - PODIUM (Glassmorphism)
   ============================================ */
.top-students-section {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(20, 20, 40, 0.95));
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 1.5rem;
}

.top-students-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.top-students-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  margin: 0;
}

.top-students-section .section-title i {
  color: #a5b4fc;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 6px rgba(165, 180, 252, 0.6));
}

.podium-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem 0 0;
  min-height: 300px;
}

.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  position: relative;
}

.podium-place:hover {
  transform: translateY(-5px);
}

.podium-place:hover .student-robot img {
  transform: scale(1.05);
}

.student-robot {
  width: 80px;
  height: 95px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.student-robot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

/* 1ère place - Plus grand */
.podium-place.gold .student-robot {
  width: 100px;
  height: 115px;
}

.student-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
  text-align: center;
  margin-bottom: 0.2rem;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.student-score {
  font-size: 0.75rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 0.5rem;
}

/* Podium Stand - Glassmorphism */
.podium-stand {
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.place-number {
  font-size: 1.4rem;
  font-weight: 800;
}

/* Or - 1ère place (plus haut) */
.gold-stand {
  height: 90px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-bottom: none;
  box-shadow: 0 -4px 20px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gold-stand .place-number {
  color: #a5b4fc;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Argent - 2ème place */
.silver-stand {
  height: 65px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(99, 102, 241, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-bottom: none;
  box-shadow: 0 -4px 15px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.silver-stand .place-number {
  color: #a5b4fc;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Bronze - 3ème place */
.bronze-stand {
  height: 45px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.03));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-bottom: none;
  box-shadow: 0 -4px 15px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bronze-stand .place-number {
  color: #a5b4fc;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

/* Couronne pour le 1er */
.podium-place.gold .student-robot::before {
  content: "👑";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  animation: crownFloat 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-3deg); }
  50% { transform: translateX(-50%) translateY(-4px) rotate(3deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .podium-container {
    gap: 0.5rem;
    min-height: 260px;
  }
  
  .student-robot {
    width: 65px;
    height: 80px;
  }
  
  .podium-place.gold .student-robot {
    width: 80px;
    height: 95px;
  }
  
  .podium-stand {
    width: 75px;
  }
  
  .gold-stand { height: 75px; }
  .silver-stand { height: 55px; }
  .bronze-stand { height: 40px; }
  
  .student-name {
    font-size: 0.8rem;
    max-width: 70px;
  }
  
  .student-score {
    font-size: 0.7rem;
  }
  
  .place-number {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .top-students-section {
    padding: 1.25rem;
  }
  
  .podium-container {
    gap: 0.25rem;
    min-height: 230px;
  }
  
  .student-robot {
    width: 55px;
    height: 65px;
  }
  
  .podium-place.gold .student-robot {
    width: 65px;
    height: 78px;
  }
  
  .podium-stand {
    width: 60px;
  }
  
  .gold-stand { height: 60px; }
  .silver-stand { height: 45px; }
  .bronze-stand { height: 32px; }
  
  .student-name {
    font-size: 0.7rem;
    max-width: 55px;
  }
  
  .place-number {
    font-size: 1rem;
  }
  
  .podium-place.gold .student-robot::before {
    font-size: 1rem;
    top: -12px;
  }
}