/* ══════════════════════════════════════════════════
   Gamification Accolades — standalone CSS
   Loaded for ALL users (logged-in and guest).
   ══════════════════════════════════════════════════ */

/* ── Accolade Modal ── */
.accolade-modal-content {
  border-radius: 8px;
  overflow: hidden;
}
.accolade-modal-header {
  background: #C8102E;
  color: #fff;
  border-radius: 8px 8px 0 0;
}
.accolade-modal-close {
  color: #fff;
  opacity: 1;
}
.accolade-modal-body {
  padding: 20px;
}
.accolade-modal-footer {
  border-top: 1px solid #F5F5F5;
}
.accolade-user-points {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #111111;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}

/* ── Tier list ── */
.accolade-tier-row {
  display: flex;
  align-items: center;
  padding: 16px 14px;
  border-left: 4px solid transparent;
  border-radius: 6px;
  margin-bottom: 6px;
  transition: background 0.2s, opacity 0.2s;
}

/* ── Current tier ── */
.accolade-tier-current {
  border-left-color: #C8102E;
  background: rgba(212, 176, 106, 0.12);
}

/* ── Achieved tier ── */
.accolade-tier-achieved {
  background: #1A1A1A;
  border-left-color: #A30F26;
}
.accolade-tier-achieved .accolade-tier-name {
  color: #fff;
}
.accolade-tier-achieved .accolade-tier-desc {
  color: #BFC3C7;
}
.accolade-tier-achieved .accolade-tier-pts {
  color: #BFC3C7;
}

/* ── Locked tier ── */
.accolade-tier-locked {
  opacity: 0.45;
  background: #F5F5F5;
}
.accolade-tier-locked .accolade-tier-name {
  color: #BFC3C7;
}
.accolade-tier-locked .accolade-tier-desc {
  color: #BFC3C7;
}

/* ── Tier icon ── */
.accolade-tier-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accolade-tier-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.accolade-tier-placeholder {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F5F5;
  border-radius: 50%;
  font-size: 20px;
}

/* ── Tier info ── */
.accolade-tier-info {
  flex: 1;
  min-width: 0;
}
.accolade-tier-name {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.accolade-tier-pts {
  display: block;
  color: #BFC3C7;
  font-size: 12px;
  margin-top: 2px;
}
.accolade-tier-desc {
  display: block;
  color: #666;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Tier status badges ── */
.accolade-tier-badge-current {
  color: #C8102E;
  font-weight: bold;
  font-size: 12px;
  margin-left: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.accolade-tier-badge-achieved {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  margin-left: 12px;
  flex-shrink: 0;
}
.accolade-tier-badge-locked {
  font-size: 14px;
  margin-left: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Inline progress bar (below current tier) ── */
.accolade-progress-inline {
  padding: 6px 14px 14px;
  margin-left: 60px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #666;
}
.accolade-progress-track {
  margin-top: 6px;
  background: #2A2A2A;
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.accolade-progress-fill {
  background: #C8102E;
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

/* ── Accolade badge (inline in feeds/profiles) ── */
.accolade-badge {
  cursor: pointer;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}
.accolade-badge-small {
  width: 24px;
  height: auto;
  margin-left: 6px;
  margin-right: 2px;
}
.accolade-badge-large {
  width: 24px;
  height: auto;
  margin-left: 4px;
  margin-right: 4px;
}

/* ── Score breakdown section ── */
.accolade-breakdown-toggle {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid #333;
  border-radius: 6px;
  color: #C8102E;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  margin-top: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.accolade-breakdown-toggle:hover {
  background: rgba(200, 16, 46, 0.06);
}
.accolade-breakdown-toggle .arrow {
  float: right;
  transition: transform 0.2s;
}
.accolade-breakdown-toggle.open .arrow {
  transform: rotate(180deg);
}
.accolade-breakdown-panel {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  background: #111;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
}
.accolade-breakdown-panel.open {
  display: block;
}
.accolade-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #222;
}
.accolade-breakdown-row:last-child {
  border-bottom: none;
}
.accolade-breakdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.accolade-breakdown-label .emoji {
  font-size: 15px;
  width: 22px;
  text-align: center;
}
/* Composite emoji (❤️‍🔥) renders smaller — bump to match visual size of standalone emojis */
.accolade-breakdown-label .emoji-composite {
  font-size: 19px;
}
.accolade-breakdown-calc {
  color: #BFC3C7;
  font-size: 12px;
  white-space: nowrap;
}
.accolade-breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 2px;
  margin-top: 6px;
  border-top: 1px solid #444;
  font-weight: bold;
  font-size: 14px;
}
.accolade-breakdown-window {
  margin-top: 8px;
  font-size: 11px;
  color: #888;
  text-align: center;
}

/* ── Mobile: scroll container for tier list ── */
@media (max-width: 767px) {
  .accolade-tier-list {
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .accolade-tier-row {
    padding: 14px 10px;
  }
  .accolade-progress-inline {
    margin-left: 0;
    padding-left: 10px;
  }
  .accolade-breakdown-panel {
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════════════
   /apresentacoes — Winners + New Members
   ══════════════════════════════════════════════════ */

/* ── Shared section spacing ── */
.accolade-winners-section,
.accolade-new-members-section {
  margin: 0 auto 20px;
  max-width: 960px;
  padding: 0 15px;
}

/* ── Section headers ── */
.accolade-winners-header,
.accolade-new-members-header {
  margin-bottom: 14px;
}
.accolade-winners-header h3,
.accolade-new-members-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.accolade-winners-subtitle,
.accolade-new-members-subtitle {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* ── Winner group (one per accolade tier) ── */
.accolade-winner-group {
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.accolade-winner-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.accolade-winner-tier-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.accolade-winner-tier-placeholder {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}
.accolade-winner-tier-info strong {
  display: block;
  font-size: 15px;
  color: #111;
}
.accolade-winner-tier-pts {
  font-size: 12px;
  color: #999;
}

/* ── Winner cards (horizontal scroll) ── */
.accolade-winner-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.accolade-winner-cards-extra {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  margin-top: 8px;
}
.accolade-winner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  max-width: 90px;
  text-decoration: none;
  color: #111;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.accolade-winner-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C8102E;
  margin-bottom: 6px;
}
.accolade-winner-name {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.accolade-winner-rank {
  font-size: 11px;
  font-weight: 700;
  color: #C8102E;
  margin-bottom: 2px;
}
.accolade-winner-pts {
  font-size: 10px;
  color: #C8102E;
  font-weight: 600;
  margin-top: 2px;
}
.accolade-winner-date {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

/* ── Ver mais button ── */
.accolade-ver-mais-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: none;
  border: 1px solid #C8102E;
  border-radius: 6px;
  color: #C8102E;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.accolade-ver-mais-btn:hover {
  background: rgba(200, 16, 46, 0.06);
}

/* ── New members cards (horizontal scroll) ── */
.accolade-new-members-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.accolade-new-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  max-width: 90px;
  text-decoration: none;
  color: #111;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.accolade-new-member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
  margin-bottom: 6px;
}
.accolade-new-member-name {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Mobile adjustments ── */
@media (max-width: 767px) {
  .accolade-winners-section,
  .accolade-new-members-section {
    padding: 0 10px;
    margin-bottom: 16px;
  }
  .accolade-winners-header h3,
  .accolade-new-members-header h3 {
    font-size: 17px;
  }
  .accolade-winner-group {
    padding: 10px;
    margin-bottom: 10px;
  }
  .accolade-winner-avatar,
  .accolade-new-member-avatar {
    width: 48px;
    height: 48px;
  }
  .accolade-winner-card,
  .accolade-new-member-card {
    min-width: 70px;
    max-width: 80px;
  }
  .accolade-winner-name,
  .accolade-new-member-name {
    font-size: 10px;
  }
  .accolade-winner-rank {
    font-size: 10px;
  }
  .accolade-winner-pts {
    font-size: 9px;
  }
}

/* ══════════════════════════════════════════════════
   ANIMATIONS & INTERACTIVE EFFECTS
   ══════════════════════════════════════════════════ */

/* Respect reduced motion preference */
@media (prefers-reduced-motion: no-preference) {

  /* 1. Badge hover/tap pulse */
  .accolade-badge {
    transition: transform 0.3s ease-out;
  }
  .accolade-badge:hover {
    transform: scale(1.15);
  }
  .accolade-badge:active {
    transform: scale(1.15);
  }

  /* 2. New unlock glow animation */
  @keyframes accolade-unlock-glow {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(212, 176, 106, 0);
    }
    50% {
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(212, 176, 106, 0.8), 0 0 30px rgba(212, 176, 106, 0.5);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(212, 176, 106, 0);
    }
  }

  .accolade-badge-new {
    animation: accolade-unlock-glow 1.5s ease-out;
    animation-fill-mode: forwards;
  }

  /* 3. Modal entrance animation */
  #accolade-modal .modal-dialog {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease-out;
  }

  #accolade-modal.accolade-modal-entering .modal-dialog {
    transform: translateY(30px);
    opacity: 0;
  }

  #accolade-modal.in .modal-dialog {
    transform: translateY(0);
    opacity: 1;
  }

  /* 4. Confetti burst animation */
  .accolade-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .accolade-confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    animation: accolade-confetti-burst 1.5s ease-out forwards;
  }

  .accolade-confetti-square {
    background: #C8102E;
    transform: rotate(45deg);
  }

  .accolade-confetti-circle {
    background: #D4B06A;
    border-radius: 50%;
  }

  .accolade-confetti-white {
    background: #ffffff;
    border-radius: 50%;
  }

  @keyframes accolade-confetti-burst {
    0% {
      opacity: 1;
      transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
      opacity: 0;
      transform: translateY(-200px) translateX(var(--confetti-x, 0)) scale(0.5) rotate(720deg);
    }
  }

  /* Confetti specific positions (will be set via JS) */
  .accolade-confetti:nth-child(1) { --confetti-x: -150px; animation-delay: 0ms; }
  .accolade-confetti:nth-child(2) { --confetti-x: 150px; animation-delay: 100ms; }
  .accolade-confetti:nth-child(3) { --confetti-x: -100px; animation-delay: 200ms; }
  .accolade-confetti:nth-child(4) { --confetti-x: 100px; animation-delay: 300ms; }
  .accolade-confetti:nth-child(5) { --confetti-x: -200px; animation-delay: 150ms; }
  .accolade-confetti:nth-child(6) { --confetti-x: 200px; animation-delay: 250ms; }
  .accolade-confetti:nth-child(7) { --confetti-x: -75px; animation-delay: 350ms; }
  .accolade-confetti:nth-child(8) { --confetti-x: 75px; animation-delay: 50ms; }
  .accolade-confetti:nth-child(9) { --confetti-x: -125px; animation-delay: 400ms; }
  .accolade-confetti:nth-child(10) { --confetti-x: 125px; animation-delay: 180ms; }
  .accolade-confetti:nth-child(11) { --confetti-x: 0px; animation-delay: 80ms; }
  .accolade-confetti:nth-child(12) { --confetti-x: -50px; animation-delay: 320ms; }

  /* ══════════════════════════════════════════════════
     GAMIFICATION MICRO-ANIMATIONS
     ══════════════════════════════════════════════════ */

  /* 5. Floating "+pts" animation */
  @keyframes accolade-float-up {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    60% { opacity: 1; transform: translateY(-60px) scale(1.15); }
    100% { opacity: 0; transform: translateY(-90px) scale(0.9); }
  }

  .accolade-float-pts {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 20px;
    font-weight: 800;
    color: #C8102E;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 8px rgba(200,16,46,0.3);
    animation: accolade-float-up 1400ms ease-out forwards;
    white-space: nowrap;
  }

  /* Like-specific: no CSS keyframe — driven by JS for dynamic flight path */
  .accolade-float-to-image {
    animation: none !important;
    font-size: 24px;
    transition: none;
    will-change: transform, opacity;
  }

  /* 6. Heart pulse on like */
  @keyframes accolade-heart-pulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.35); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
  }

  .accolade-heart-pulse .fa-heart {
    animation: accolade-heart-pulse 400ms ease-out;
    color: #C8102E;
  }

  /* 7. Follow button flash */
  @keyframes accolade-follow-flash {
    0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.5); }
    50% { box-shadow: 0 0 12px 4px rgba(200, 16, 46, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
  }

  .accolade-follow-flash {
    animation: accolade-follow-flash 600ms ease-out;
  }

  /* 7b. Share button flash */
  @keyframes accolade-share-flash {
    0% { box-shadow: 0 0 0 0 rgba(43, 170, 225, 0.5); }
    50% { box-shadow: 0 0 12px 4px rgba(43, 170, 225, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(43, 170, 225, 0); }
  }

  .accolade-share-flash {
    animation: accolade-share-flash 600ms ease-out;
  }

  /* 7c. Comment button flash */
  @keyframes accolade-comment-flash {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
    50% { box-shadow: 0 0 12px 4px rgba(76, 175, 80, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
  }

  .accolade-comment-flash {
    animation: accolade-comment-flash 600ms ease-out;
  }

  /* 8. View milestone toast */
  @keyframes accolade-toast-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  @keyframes accolade-toast-out {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
  }

}

/* Base styles (always apply, with or without animation) */
.accolade-float-pts {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  font-weight: 800;
  color: #C8102E;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 8px rgba(200,16,46,0.3);
  white-space: nowrap;
}

.accolade-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  border-left: 4px solid #C8102E;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.accolade-toast.accolade-toast-leaving {
  opacity: 0;
}

/* Animation styles (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .accolade-toast {
    animation: accolade-toast-in 300ms ease-out;
  }

  .accolade-toast.accolade-toast-leaving {
    animation: accolade-toast-out 300ms ease-in forwards;
  }
}

/* No animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .accolade-float-pts,
  .accolade-float-to-image {
    animation: none;
  }
  
  .accolade-heart-pulse .fa-heart {
    animation: none;
  }
  
  .accolade-follow-flash {
    animation: none;
  }
  
  .accolade-toast {
    animation: none;
  }
  
  .accolade-toast.accolade-toast-leaving {
    animation: none;
  }

  .accolade-gol-text,
  .accolade-samba-particle,
  .accolade-samba-ball,
  .accolade-count-pulse {
    animation: none !important;
  }
}

/* ══════════════════════════════════════════════════
   COMMENT & SHARE VISUAL EFFECTS
   ══════════════════════════════════════════════════ */

/* Animation styles (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {

  /* Comment count pulse animation */
  @keyframes accolade-count-pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.4); color: #C8102E; }
    100% { transform: scale(1); }
  }

  .accolade-count-pulse {
    display: inline-block;
    animation: accolade-count-pulse 500ms ease-out;
  }

  /* GOL! text explosion */
  @keyframes accolade-gol-burst {
    0% { 
      opacity: 0; 
      transform: scale(0.3) translateY(0); 
    }
    20% { 
      opacity: 1; 
      transform: scale(1.3) translateY(-10px); 
    }
    50% { 
      opacity: 1; 
      transform: scale(1.1) translateY(-20px); 
    }
    100% { 
      opacity: 0; 
      transform: scale(0.8) translateY(-45px); 
    }
  }

  .accolade-gol-text {
    position: absolute;
    pointer-events: none;
    z-index: 10000;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #C8102E;
    text-shadow: 
      2px 2px 0 #000,
      -1px -1px 0 #000,
      0 0 10px rgba(200, 16, 46, 0.5),
      0 0 20px rgba(200, 16, 46, 0.3);
    animation: accolade-gol-burst 1.2s ease-out forwards;
    white-space: nowrap;
    letter-spacing: 3px;
  }

  /* Samba confetti particles */
  @keyframes accolade-samba-particle-1 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(-40px, -60px) rotate(360deg) scale(0.3); }
  }
  @keyframes accolade-samba-particle-2 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(30px, -70px) rotate(-300deg) scale(0.3); }
  }
  @keyframes accolade-samba-particle-3 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(-50px, -30px) rotate(270deg) scale(0.4); }
  }
  @keyframes accolade-samba-particle-4 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(45px, -45px) rotate(-240deg) scale(0.3); }
  }
  @keyframes accolade-samba-particle-5 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(-20px, -75px) rotate(400deg) scale(0.2); }
  }
  @keyframes accolade-samba-particle-6 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(55px, -25px) rotate(-350deg) scale(0.4); }
  }
  @keyframes accolade-samba-particle-7 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(-35px, -55px) rotate(280deg) scale(0.3); }
  }
  @keyframes accolade-samba-particle-8 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(25px, -65px) rotate(-320deg) scale(0.2); }
  }
  @keyframes accolade-samba-particle-9 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(-55px, -40px) rotate(310deg) scale(0.3); }
  }
  @keyframes accolade-samba-particle-10 { 
    0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translate(40px, -55px) rotate(-270deg) scale(0.4); }
  }

  .accolade-samba-burst {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    width: 0;
    height: 0;
  }

  .accolade-samba-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    top: 0;
    left: 0;
  }

  /* Flamengo colors: red, black, gold + white accent */
  .accolade-samba-particle:nth-child(1) { background: #C8102E; border-radius: 50%; animation: accolade-samba-particle-1 1.3s ease-out forwards; }
  .accolade-samba-particle:nth-child(2) { background: #000; border-radius: 2px; animation: accolade-samba-particle-2 1.1s ease-out forwards; }
  .accolade-samba-particle:nth-child(3) { background: #D4B06A; border-radius: 50%; animation: accolade-samba-particle-3 1.4s ease-out forwards; }
  .accolade-samba-particle:nth-child(4) { background: #C8102E; border-radius: 2px; animation: accolade-samba-particle-4 1.2s ease-out forwards; }
  .accolade-samba-particle:nth-child(5) { background: #fff; border-radius: 50%; animation: accolade-samba-particle-5 1.3s ease-out forwards; }
  .accolade-samba-particle:nth-child(6) { background: #000; border-radius: 50%; animation: accolade-samba-particle-6 1.1s ease-out forwards; }
  .accolade-samba-particle:nth-child(7) { background: #D4B06A; border-radius: 2px; animation: accolade-samba-particle-7 1.4s ease-out forwards; }
  .accolade-samba-particle:nth-child(8) { background: #C8102E; border-radius: 50%; animation: accolade-samba-particle-8 1.2s ease-out forwards; }
  .accolade-samba-particle:nth-child(9) { background: #fff; border-radius: 2px; animation: accolade-samba-particle-9 1.5s ease-out forwards; }
  .accolade-samba-particle:nth-child(10) { background: #C8102E; border-radius: 50%; animation: accolade-samba-particle-10 1.3s ease-out forwards; }

  /* Soccer ball emoji particles */
  .accolade-samba-ball {
    position: absolute;
    font-size: 16px;
    top: 0;
    left: 0;
    pointer-events: none;
  }
  .accolade-samba-ball:nth-child(11) { animation: accolade-samba-particle-1 1.5s ease-out forwards; }
  .accolade-samba-ball:nth-child(12) { animation: accolade-samba-particle-4 1.4s ease-out forwards; }

}

/* ═══════════════════════════════════════════════════════
   POST SUCCESS CELEBRATION OVERLAY
   ═══════════════════════════════════════════════════════ */

.accolade-post-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 300ms ease-out;
  pointer-events: none;
}

.accolade-post-success-overlay.accolade-post-success-visible {
  opacity: 1;
  pointer-events: auto;
}

.accolade-post-success-overlay.accolade-post-success-leaving {
  opacity: 0;
  transition: opacity 300ms ease-in;
}

.accolade-post-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(0.5);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accolade-post-success-visible .accolade-post-success-content {
  transform: scale(1);
}

.accolade-post-success-leaving .accolade-post-success-content {
  transform: scale(0.8);
}

.accolade-post-success-icon {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.accolade-post-success-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

/* Mobile: slightly smaller */
@media (max-width: 480px) {
  .accolade-post-success-icon {
    font-size: 44px;
  }
  .accolade-post-success-text {
    font-size: 26px;
  }
}

/* Reduced motion: no scale animation */
@media (prefers-reduced-motion: reduce) {
  .accolade-post-success-content {
    transform: scale(1);
    transition: none;
  }
  .accolade-post-success-overlay {
    transition: none;
  }
}
