/* =========================
   CHALLS CSS - FECOD 2026 REBRAND
   Colores: Negro #001729, Rojo #1E5A9A, Azul oscuro #002135, Azul medio #193C6D
========================= */

/* =========================
   CHAT FLOTANTE
========================= */
.chall-chat {
  position: fixed !important;
  bottom: 22px !important;
  top: auto !important;
  right: 22px !important;
  width: 360px;
  height: 520px;
  background: linear-gradient(180deg, rgba(6,10,18,0.98), rgba(3,6,12,0.98));
  border: 1px solid rgba(30,90,154,0.35);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.03) inset;
  display: flex;
  flex-direction: column;
  z-index: 1030; /* Below Bootstrap modals (1050) */
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, height .25s ease;
}

.chall-chat.hidden {
  display: none;
}

.chall-chat.minimized {
  height: 64px;
}

.chat-header {
  min-height: 64px;
  background: linear-gradient(135deg, #0b1220, #0a0f1a);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  padding: 10px 12px;
  justify-content: space-between;
  position: relative;
  gap: 10px;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-title-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chat-title-main {
  font-size: 0.72rem;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  color: #e5e7eb;
}

.dot-live {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239,68,68,.2);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { opacity: .4 }
  50% { opacity: 1 }
  100% { opacity: .4 }
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-counter {
  font-size: 0.7rem;
  color: #cbd5f5;
  background: rgba(30,90,154,.15);
  border: 1px solid rgba(30,90,154,.4);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
}

.chat-actions button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #cbd5f5;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all .2s ease;
}

.chat-actions button:hover {
  color: #fff;
  border-color: rgba(30,90,154,.6);
  background: rgba(30,90,154,.25);
}

.chat-unread {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: bold;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 0 0 2px rgba(5,7,13,0.95);
  animation: pop .2s ease;
}

@keyframes pop {
  0% { transform: scale(0.6); opacity: 0 }
  100% { transform: scale(1); opacity: 1 }
}

.chat-users {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(8,12,20,0.6);
}

.chat-users::-webkit-scrollbar {
  height: 6px;
}

.chat-users::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.12);
  border-radius: 999px;
}

.chat-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #e5e7eb;
  white-space: nowrap;
}

.chat-user .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.chat-user.team-a .status-dot { background: #60a5fa; }
.chat-user.team-b .status-dot { background: #f87171; }
.chat-user.team-none .status-dot { background: #a1a1aa; }

.chat-user .captain {
  color: #1E5A9A;
  margin-left: 4px;
}

/* =========================
   MENSAJES CHAT
========================= */
.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: radial-gradient(circle at top, rgba(30,90,154,.08), transparent 60%), #05070d;
}

.chat-messages div {
  margin-bottom: 8px;
  font-size: 14px;
}

.chat-msg {
  display: flex;
  margin-bottom: 10px;
  gap: 8px;
}

.chat-msg .bubble {
  max-width: 75%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  border: 1px solid rgba(255,255,255,.06);
}

.chat-msg .sender {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 2px;
}

/* TEAM A */
.chat-msg.team-a {
  justify-content: flex-start;
}
.chat-msg.team-a .bubble {
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(15,23,42,.9));
  color: #fff;
  border-top-left-radius: 4px;
}

/* TEAM B */
.chat-msg.team-b {
  justify-content: flex-end;
}
.chat-msg.team-b .bubble {
  background: linear-gradient(135deg, rgba(239,68,68,.4), rgba(69,10,10,.9));
  color: #fff;
  border-top-right-radius: 4px;
}

/* SISTEMA */
.chat-msg.team-neutral {
  justify-content: center;
}
.chat-msg.team-neutral .bubble {
  background: rgba(255,255,255,0.08);
  color: #ddd;
  font-size: 12px;
  text-align: center;
}

.chat-msg.history-msg {
  opacity: 0.7;
}

.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.bubble-header .time {
  font-size: 10px;
  opacity: 0.6;
}

.chat-typing {
  font-size: 12px;
  color: #94a3b8;
  padding: 4px 12px;
  min-height: 18px;
}

.chat-form {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(8,12,20,0.9);
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(3,7,14,0.9);
}

.chat-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  padding: 6px 4px;
  outline: none;
}

.chat-form input::placeholder {
  color: rgba(255,255,255,.45);
}

.chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b0f14;
  background: linear-gradient(135deg, #1E5A9A, #60a5fa);
  box-shadow: 0 8px 18px rgba(30,90,154,.4);
  transition: transform .2s ease, filter .2s ease;
}

.chat-send-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.chat-preview {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.chall-chat.minimized .chat-preview {
  display: block;
}

.chall-chat:not(.minimized) .chat-preview {
  display: none;
}

.chall-chat.minimized .chat-users,
.chall-chat.minimized .chat-messages,
.chall-chat.minimized .chat-typing,
.chall-chat.minimized .chat-form {
  display: none;
}

@media (max-width: 768px) {
  .chall-chat.mobile-overlay {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    height: 70vh;
    border-radius: 16px;
  }

  .chall-chat.minimized {
    height: 64px;
  }
}

/* =========================
   SORTEO DE MAPAS
========================= */
.map-slot {
  margin-top: 30px;
  text-align: center;
}

.slot-window {
  width: 260px;
  height: 80px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #1E5A9A;
  background: #002135;
  position: relative;
}

.slot-reel {
  position: absolute;
  top: 0;
  width: 100%;
}

.slot-item {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
}

.slot-item img {
  height: 48px;
  margin-right: 10px;
}

.slot-result {
  margin-top: 12px;
  font-family: 'Bakbak One', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1E5A9A;
}

.drawn-maps {
  margin-top: 40px;
}

.section-title {
  font-family: 'Bakbak One', sans-serif;
  margin-bottom: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

/* =========================
   GRID DE MAPAS
========================= */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.maps-container {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.map-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #002135;
  box-shadow: 0 0 0 1px rgba(173,34,33,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(173,34,33,.6);
}

.map-card.selected {
  outline: 2px solid #1E5A9A;
}

.map-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.map-img-wrapper {
  width: 100%;
  height: 160px;
}

.map-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,23,41,.95), rgba(0,23,41,.5), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.map-overlay {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-name {
  font-family: 'Bakbak One', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
}

.map-mode {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Colores por modo */
.map-mode.HP { background: rgba(25,60,109,.85); color: #fff; }
.map-mode.SND { background: rgba(173,34,33,.85); color: #fff; }
.map-mode.OVR { background: rgba(138,27,26,.85); color: #fff; }

/* =========================
   VS CARD
========================= */
.chall-vs-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #001729, #002135);
  border: 1px solid rgba(173,34,33,0.3);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.team-logo.placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, #002135, #001729);
  border: 1px solid rgba(173,34,33,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bakbak One', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #1E5A9A;
}

.vs {
  font-family: 'Bakbak One', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #1E5A9A;
  opacity: 0.9;
}

/* =========================
   SELECTOR DE JUGADORES
========================= */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.player-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap: 10px;
}

.player-selector.pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.player-option {
  background: #002135;
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
}

.player-option input {
  display: none;
}

.player-option:has(input:checked) {
  border-color: #1E5A9A;
  box-shadow: 0 0 0 1px rgba(173,34,33,.5);
}

.player-card {
  position: relative;
  background: linear-gradient(135deg, #001729, #002135);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .2s ease;
  user-select: none;
}

.player-card:hover {
  transform: translateY(-2px);
  border-color: rgba(173,34,33,.4);
}

.player-card input {
  display: none;
}

.player-name {
  font-weight: 700;
  font-size: 15px;
  color: #e5e7eb;
  letter-spacing: .2px;
}

.player-card:has(input:checked) {
  background: linear-gradient(135deg, #3d1515, #5a1f1f);
  border-color: #1E5A9A;
  box-shadow: 0 0 0 1px rgba(173,34,33,.6);
}

.player-card:has(input:checked) .player-name {
  color: #1E5A9A;
}

.player-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #1E5A9A;
}

.player-card input:disabled + .player-name {
  opacity: .4;
}

.player-card.disabled {
  opacity: .4;
  cursor: not-allowed;
}

.player-card.disabled:hover {
  transform: none;
  border-color: rgba(255,255,255,.08);
}

.captain {
  color: #1E5A9A;
  font-size: 12px;
}

/* =========================
   BOTONES
========================= */
.btn-pro {
  border: none;
  border-radius: 14px;
  padding: 14px 26px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  letter-spacing: .6px;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
}

.btn-accept {
  background: linear-gradient(135deg, #1E5A9A, #c93a39);
  color: #fff;
  box-shadow: 0 10px 30px rgba(173,34,33,.35);
}

.btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(173,34,33,.5);
}

.btn-accept:active {
  transform: translateY(0);
}

.btn-dispute {
  background: linear-gradient(135deg, #193C6D, #002135);
  color: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  box-shadow: 0 10px 30px rgba(25,60,109,.4);
}

.btn-dispute:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(25,60,109,.6);
}

/* =========================
   REPORT RESULTADO
========================= */
.report-card {
  background: rgba(0,23,41,0.95);
  border: 1px solid rgba(173,34,33,0.3);
  border-radius: 14px;
  padding: 20px;
  max-width: 520px;
  margin-top: 30px;
}

.report-card.pro {
  background: radial-gradient(circle at top, #002135, #001729);
  border-radius: 18px;
  padding: 24px;
  max-width: 520px;
  margin-top: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.report-title {
  font-family: 'Bakbak One', sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.report-options {
  display: grid;
  gap: 14px;
}

.report-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.report-team {
  cursor: pointer;
  position: relative;
}

.report-team input {
  display: none;
}

.team-card {
  border-radius: 14px;
  padding: 18px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .3px;
  text-align: center;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
}

.team-card.team-a {
  background: linear-gradient(135deg, #193C6D, #002135);
  color: #fff;
}

.team-card.team-b {
  background: linear-gradient(135deg, #1E5A9A, #8a1b1a);
  color: #fff;
}

.team-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.report-team:has(input:checked) .team-card {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6);
  transform: translateY(-3px);
}

.report-team:has(input:checked)::after {
  content: "✔";
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.team-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-report {
  width: 100%;
  background: linear-gradient(135deg, #1E5A9A, #c93a39);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 12px 40px rgba(173,34,33,.4);
  transition: all .2s ease;
  cursor: pointer;
  margin-top: 15px;
}

.btn-report:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(173,34,33,.6);
}

.report-status {
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
}

.report-status.pending {
  background: rgba(173,34,33,0.15);
  color: #1E5A9A;
}

.report-status.confirmed {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

/* =========================
   WAGERS ESPECÍFICO
========================= */
.wager-amount {
  font-family: 'Bakbak One', sans-serif;
  font-size: 2rem;
  color: #1E5A9A;
  text-align: center;
}

.wager-coin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1E5A9A;
}

.wager-coin::before {
  content: "🪙";
}

.wager-badge {
  background: linear-gradient(135deg, #1E5A9A, #8a1b1a);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.coin-balance {
  background: #002135;
  border: 1px solid rgba(173,34,33,0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.coin-balance-value {
  font-family: 'Bakbak One', sans-serif;
  font-size: 2.5rem;
  color: #1E5A9A;
}

.coin-balance-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================
   CHALLS LISTA
========================= */
.challs-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(1200px 520px at 8% -18%, rgba(30,90,154,.45), transparent 60%),
    radial-gradient(900px 480px at 88% 18%, rgba(239,68,68,.18), transparent 58%),
    linear-gradient(180deg, #060b14 0%, #0a1020 62%, #0b1220 100%);
}

.challs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .2;
}

.challs-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.challs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #93c5fd;
  text-transform: uppercase;
}

.challs-hero-title {
  margin: .4rem 0 .5rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.challs-hero-subtitle {
  margin: 0;
  color: #c9d5ee;
  max-width: 52ch;
}

.challs-hero-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chall-filters {
  background: linear-gradient(135deg, #0b1220, #0a0f1a);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.chall-card {
  background: radial-gradient(circle at top, rgba(30,90,154,.18), transparent 60%), #0a0f1a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.chall-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147,197,253,.35);
  box-shadow: 0 24px 54px rgba(0,0,0,.42);
}

.chall-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(8,12,20,.7);
}

.chall-card-header .mode {
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30,90,154,.2);
  color: #cbd5f5;
}

.platform-pill {
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  color: #86efac;
}

.status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .08em;
}

.status-open { background: rgba(59,130,246,.2); color: #93c5fd; }
.status-accepted { background: rgba(34,197,94,.18); color: #86efac; }
.status-reported { background: rgba(234,179,8,.2); color: #fde047; }
.status-disputed { background: rgba(239,68,68,.2); color: #fca5a5; }

.chall-card-body {
  padding: 16px 18px;
  flex: 1;
}

.teams {
  display: grid;
  gap: 10px;
}

.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  letter-spacing: .3px;
}

.team-name {
  font-size: 15px;
}

.team-xp {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(250,204,21,.15);
  color: #facc15;
  font-weight: 700;
}

.team-open {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #86efac;
  text-transform: uppercase;
}

.chall-card-info {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #dbeafe;
  font-size: 11px;
  letter-spacing: .05em;
  padding: 4px 9px;
  font-weight: 700;
}

.chall-card-footer {
  padding: 12px 16px 16px;
}

.chall-active-card {
  background: linear-gradient(135deg, #0a0f1a, #0b1220);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.active-chall-xp {
  color: #93c5fd !important;
}

@media (max-width: 768px) {
  .challs-hero {
    padding: 3.5rem 0 2.2rem;
  }

  .challs-hero-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .challs-hero-actions {
    justify-content: flex-start;
  }

  .chall-filters {
    padding: 12px;
  }
  .chall-card-header {
    flex-wrap: wrap;
  }
}
