/* Velvet Comet v2: the Challenges link in the top bar and the gold Challenges button in the lobby. */
.duel-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 9px; border-radius: 999px;
  text-decoration: none; font-family: var(--vc-display, serif); font-weight: 900; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #2b1703; border: 1px solid #fff0b8; background: var(--vc-gold-metal, #e9bf5b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 0 rgba(122, 74, 16, .5), 0 0 0 1px rgba(122, 74, 16, .6), 0 0 14px rgba(233, 191, 91, .3);
}
.duel-link:hover { color: #2b1703; filter: brightness(1.07); }
.duel-link svg { width: 19px; height: 19px; flex: none; }
.duel-link[aria-current="page"] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 2px rgba(255, 240, 184, .7), 0 0 20px rgba(233, 191, 91, .55); }
.duel-badge {
  position: absolute; top: -5px; right: -5px; display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  font-family: var(--vc-ui, sans-serif); font-size: 11px; font-weight: 900; letter-spacing: 0; color: #fff;
  background: linear-gradient(180deg, #ff4d73, #b80d36); border: 1.5px solid #1a0a12; box-shadow: 0 0 10px rgba(227, 24, 74, .7);
  animation: duelPing 2.4s ease-in-out infinite;
}
.duel-badge[hidden] { display: none; }
@keyframes duelPing { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.2); } }
@media (max-width: 640px) { .duel-link .duel-word { display: none; } .duel-link { padding: 0 9px; } }
.lobby-duels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lobby-duels .btn-gold { position: relative; overflow: visible; }
.lobby-duels .btn-gold svg { width: 20px; height: 20px; }
.lobby-duels .duel-badge { top: -8px; right: -8px; min-width: 22px; height: 22px; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .duel-badge { animation: none; } }
