/* Idea Input Styles */
.idea-field {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid #16213e;
  border-radius: 8px;
  background: #0a0a15;
  color: #fff;
  resize: vertical;
  min-height: 80px;
  line-height: 1.4;
}

.idea-field:focus {
  outline: none;
  border-color: #4ecca3;
}

.idea-field::placeholder {
  color: #555;
}

/* Remote Control Styles */
.remote-container {
  padding: 20px;
}

.remote-waiting {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.remote-waiting__icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.remote-controller {
  text-align: center;
}

.remote-controller__title {
  font-size: 1.2rem;
  color: #4ecca3;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.remote-controller__subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 30px;
}

.remote-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 320px;
  margin: 0 auto;
}

.remote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.remote-btn__icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.remote-btn__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.remote-btn--play {
  background: linear-gradient(135deg, #4ecca3 0%, #2a8a6e 100%);
  color: #0a0a15;
}

.remote-btn--play:active {
  transform: scale(0.95);
  background: linear-gradient(135deg, #3db892 0%, #238060 100%);
}

.remote-btn--rewind {
  background: linear-gradient(135deg, #9b59b6 0%, #6c3483 100%);
  color: #fff;
}

.remote-btn--rewind:active {
  transform: scale(0.95);
}

.remote-btn--fastForward {
  background: linear-gradient(135deg, #e94560 0%, #b03050 100%);
  color: #fff;
}

.remote-btn--fastForward:active {
  transform: scale(0.95);
}

.remote-btn--slowMotion {
  background: linear-gradient(135deg, #3498db 0%, #2070a8 100%);
  color: #fff;
}

.remote-btn--slowMotion:active {
  transform: scale(0.95);
}

.remote-btn--change {
  background: linear-gradient(135deg, #f39c12 0%, #c87f0a 100%);
  color: #0a0a15;
  grid-column: span 2;
}

.remote-btn--change:active {
  transform: scale(0.95);
}

.remote-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
}

.remote-btn:disabled:active {
  transform: none;
}

.remote-feedback {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.remote-feedback--success {
  background: rgba(78, 204, 163, 0.2);
  color: #4ecca3;
}

.remote-feedback--error {
  background: rgba(233, 69, 96, 0.2);
  color: #e94560;
}

/* Vote Styles */
.vote-container {
  padding: 20px;
  text-align: center;
}

.vote-question {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 25px;
}

.vote-multiple-hint {
  font-size: 0.85rem;
  color: #4ecca3;
  margin-bottom: 15px;
}

.vote-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 350px;
  margin: 0 auto;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 15px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: left;
}

.vote-btn__letter {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.vote-btn__text {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
  flex: 1;
  word-break: break-word;
}

.vote-btn--selected {
  border-color: #fff;
  border-width: 3px;
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  position: relative;
}

.vote-btn--selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #4ecca3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.vote-btn:active {
  transform: scale(0.98);
}

.vote-submit {
  margin-top: 20px;
}

.vote-feedback {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
}

.vote-feedback--success {
  background: rgba(78, 204, 163, 0.2);
  color: #4ecca3;
}

.vote-ended {
  padding: 40px 20px;
  text-align: center;
}

.vote-ended__icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.vote-ended__text {
  color: #888;
  font-size: 1.1rem;
}

/* Secret Banner */
.secret-banner {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  animation: secretPulse 3s ease-in-out infinite;
}

@keyframes secretPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(243, 156, 18, 0.2); }
}

.secret-banner__icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.secret-banner__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.secret-banner__text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0a0a15;
  line-height: 1.4;
  margin-bottom: 10px;
}

.secret-banner__hint {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  font-style: italic;
}

/* Feedback Form */
.feedback-container {
  text-align: center;
}

.feedback-header {
  margin-bottom: 20px;
}

.feedback-header__icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.feedback-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4ecca3;
  margin-bottom: 5px;
}

.feedback-header__subtitle {
  color: #888;
  font-size: 0.95rem;
}

.feedback-textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #16213e;
  border-radius: 8px;
  background: #0a0a15;
  color: #fff;
  resize: vertical;
  min-height: 100px;
  line-height: 1.4;
}

.feedback-textarea:focus {
  outline: none;
  border-color: #4ecca3;
}

.feedback-textarea::placeholder {
  color: #555;
}

.feedback-success {
  text-align: center;
  padding: 30px;
  animation: feedbackAppear 0.5s ease;
}

@keyframes feedbackAppear {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.feedback-success__icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.feedback-success__text {
  font-size: 1.2rem;
  color: #4ecca3;
  font-weight: 600;
}

/* Ideas Submitted Message */
.ideas-submitted-message {
  text-align: center;
  padding: 30px 20px;
  background: rgba(78, 204, 163, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(78, 204, 163, 0.3);
}

.ideas-submitted-message__icon {
  font-size: 3rem;
  color: #4ecca3;
  margin-bottom: 15px;
}

.ideas-submitted-message__text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ecca3;
  margin-bottom: 10px;
}

.ideas-submitted-message__hint {
  font-size: 0.9rem;
  color: #888;
}

/* ===== PICKED IDEA BANNER ===== */
.picked-idea-banner {
  text-align: center;
  padding: 20px;
  margin-top: 15px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  animation: pickedIdeaAppear 0.4s ease-out;
}

.picked-idea-banner__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffd700;
  margin-bottom: 8px;
  font-weight: 600;
}

.picked-idea-banner__type {
  font-size: 0.85rem;
  color: #ffd700;
  margin-bottom: 6px;
  font-weight: 500;
}

.picked-idea-banner__text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.picked-idea-banner__author {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 8px;
}

@keyframes pickedIdeaAppear {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== RANKING VOTE STYLES ===== */
.ranking-vote-header {
  text-align: center;
  margin-bottom: 20px;
}

.ranking-vote-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f39c12;
  margin-bottom: 8px;
}

.ranking-vote-subtitle {
  font-size: 0.85rem;
  color: #888;
}

/* Grille des duos */
.ranking-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.ranking-duo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 12px;
  border: 2px solid #333;
  border-radius: 10px;
  background: #1a1a2e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  word-break: break-word;
}

.ranking-duo-btn__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid #333;
  flex-shrink: 0;
}

.ranking-duo-btn__name {
  font-size: 0.85rem;
  line-height: 1.2;
}

.ranking-duo-btn:active {
  transform: scale(0.98);
}

.ranking-duo-btn--selected {
  background: rgba(243, 156, 18, 0.2);
  border-color: #f39c12;
  color: #f39c12;
  opacity: 0.6;
}

.ranking-duo-btn--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Slots de classement */
.ranking-slots {
  background: #0f0f23;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.ranking-slots__title {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 12px;
  text-align: center;
}

.ranking-slots__hint {
  font-size: 0.75rem;
  color: #666;
}

.ranking-slots-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ranking-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #1a1a2e;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.ranking-slot--filled {
  border-color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.ranking-slot__rank {
  min-width: 45px;
  font-weight: 700;
  color: #f39c12;
  font-size: 0.9rem;
}

.ranking-slot__rank sup {
  font-size: 0.6rem;
}

.ranking-slot__points {
  min-width: 40px;
  font-size: 0.75rem;
  color: #888;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.ranking-slot__photo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #333;
  flex-shrink: 0;
}

.ranking-slot__name {
  flex: 1;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.ranking-slot__remove {
  background: transparent;
  border: none;
  color: #e94560;
  font-size: 1rem;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.ranking-slot__remove:hover {
  background: rgba(233, 69, 96, 0.2);
}

.ranking-slot__remove.hidden {
  display: none;
}

/* Handle pour drag and drop (indicateur visuel) */
.ranking-slot__handle {
  color: #f39c12;
  font-size: 1.2rem;
  cursor: grab;
  padding: 4px;
  margin-left: -2px;
  user-select: none;
}

.ranking-slot__handle:active {
  cursor: grabbing;
}

.ranking-slot__handle.hidden {
  display: none;
}

/* États de drag */
.ranking-slot.dragging {
  opacity: 0.5;
  background: rgba(243, 156, 18, 0.2);
}

.ranking-slot.drag-over {
  border-color: #4ecca3;
  background: rgba(78, 204, 163, 0.2);
  transform: scale(1.02);
}

/* Submit button */
.ranking-submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 15px;
}

.ranking-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 400px) {
  .ranking-duo-grid {
    grid-template-columns: 1fr;
  }

  .ranking-slot {
    padding: 10px 12px;
  }

  .ranking-slot__rank {
    min-width: 40px;
    font-size: 0.85rem;
  }

  .ranking-slot__points {
    min-width: 35px;
    font-size: 0.7rem;
  }
}

/* === VOTE DE SCÈNE (MATCH) === */
.scene-vote {
  text-align: center;
}

.scene-vote__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.scene-vote__category {
  font-size: 1rem;
  color: #4ecca3;
  font-style: italic;
  margin-bottom: 20px;
}

.scene-vote__teams {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.scene-vote__team-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scene-vote__team-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.scene-vote__team-btn:active {
  transform: scale(0.98);
}

.scene-vote__team-btn--selected {
  border-color: #4ecca3;
  background: rgba(78, 204, 163, 0.2);
}

.scene-vote__team-btn--voted {
  opacity: 0.6;
  cursor: not-allowed;
}

.scene-vote__team-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid;
  flex-shrink: 0;
}

.scene-vote__team-photo:empty {
  display: none;
}

.scene-vote__team-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

/* Feedback pour vote de scène */
.scene-vote .vote-feedback {
  margin-top: 20px;
}

/* === TOURNAMENT CONTEXT BANNER (Spectateur) === */
.tournament-context {
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 15px;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f39c12;
  letter-spacing: 1px;
}

.tournament-context.hidden {
  display: none;
}

/* === TOURNAMENT MOBILE RESULTS === */
.tournament-mobile-results {
  text-align: center;
  padding: 10px 0;
}

.tournament-mobile-results__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f39c12;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.tournament-mobile-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-mobile-entry--winner {
  background: rgba(243, 156, 18, 0.1);
  border-color: rgba(243, 156, 18, 0.3);
}

.tournament-mobile-medal {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tournament-mobile-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tournament-mobile-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.tournament-mobile-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.tournament-mobile-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.tournament-mobile-participants {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 400;
}

.tournament-mobile-team-stars {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.tournament-mobile-star {
  font-size: 1rem;
}

.tournament-mobile-results__stars {
  margin-top: 20px;
}

.tournament-mobile-stars-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f39c12;
  margin-bottom: 10px;
  text-align: left;
}

.tournament-mobile-star-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 12px;
  margin-bottom: 5px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #ccc;
}

.tournament-mobile-star-label {
  font-weight: 600;
  word-break: break-word;
}

.tournament-mobile-star-winner {
  color: #4ecca3;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  word-break: break-word;
}


/* === BOUTON NEWSLETTER === */
.btn-newsletter {
  display: block;
  width: 100%;
  margin: 30px auto 0;
  padding: 14px 20px;
  background: rgba(78, 204, 163, 0.1);
  border: 2px solid #4ecca3;
  border-radius: 12px;
  color: #4ecca3;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-newsletter:active {
  background: rgba(78, 204, 163, 0.25);
  transform: scale(0.98);
}

.btn-newsletter.hidden {
  display: none;
}

.newsletter-done {
  text-align: center;
  margin-top: 30px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #4ecca3;
}

.newsletter-done.hidden {
  display: none;
}

/* === MODALE EMAIL === */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.email-modal.hidden {
  display: none;
}

.email-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.email-modal__content {
  position: relative;
  background: #1a1a2e;
  border-radius: 16px;
  padding: 30px 25px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  animation: emailModalAppear 0.3s ease;
}

@keyframes emailModalAppear {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.email-modal__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.email-modal__subtitle {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

.email-modal__input {
  width: 100%;
  padding: 14px 15px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #333;
  border-radius: 10px;
  background: #0a0a15;
  color: #fff;
  text-align: center;
}

.email-modal__input:focus {
  outline: none;
  border-color: #4ecca3;
}

.email-modal__input::placeholder {
  color: #555;
}

.email-modal__error {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #e94560;
}

.email-modal__error.hidden {
  display: none;
}

.email-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-email-cancel {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid #555;
  border-radius: 10px;
  color: #888;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}

.email-modal__actions .btn--primary {
  flex: 1;
}

/* === BOUTON GALERIE EQUIPES === */
.btn-team-gallery {
  display: block;
  margin: 20px auto 0;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #4ecca3;
  border-radius: 10px;
  color: #4ecca3;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-team-gallery:active {
  background: rgba(78, 204, 163, 0.15);
  transform: scale(0.97);
}

.btn-team-gallery.hidden {
  display: none;
}

/* === GALERIE CAROUSEL EQUIPES === */
.team-gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0a0a1a;
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
}

.team-gallery-overlay.hidden {
  display: none;
}

.team-gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  flex-shrink: 0;
}

.team-gallery__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f39c12;
}

.team-gallery__counter {
  font-size: 0.9rem;
  color: #888;
}

.team-gallery__close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-gallery__close:active {
  background: rgba(255, 255, 255, 0.2);
}

.team-gallery__carousel {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.team-gallery__carousel::-webkit-scrollbar {
  display: none;
}

.team-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 20px;
}

.team-gallery__slide-photo {
  width: min(85vw, 340px);
  height: min(85vw, 340px);
  max-height: 50vh;
  max-width: 50vh;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 5px solid #333;
  flex-shrink: 1;
}

.team-gallery__slide-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.team-gallery__slide-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.team-gallery__participant-chip {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ccc;
}

.team-gallery__slide-fallback {
  width: min(85vw, 340px);
  height: min(85vw, 340px);
  max-height: 50vh;
  max-width: 50vh;
  border-radius: 50%;
  border: 5px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-shrink: 1;
}

.team-gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 20px 25px;
  flex-shrink: 0;
}

.team-gallery__arrow {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-gallery__arrow:active {
  background: rgba(255, 255, 255, 0.2);
}

.team-gallery__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.team-gallery__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.team-gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.team-gallery__dot--active {
  background: #f39c12;
  transform: scale(1.3);
}
