/* =========================
   CHALLS CSS - FECOD 2026 REBRAND — Vibrant Block / Maximalist
   Brand tokens: --mx-bg:#010729 --mx-surface:#001E46 --mx-surface-2:#0B2E6B
                 --mx-accent:#AFDFF9 --mx-red:#D30535
========================= */

/* =========================
   CHAT FLOTANTE
========================= */
.chall-chat {
  position: fixed !important;
  bottom: 22px !important;
  top: auto !important;
  right: 22px !important;
  width: 360px;
  height: 520px;
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.18);
  border-radius: 0;
  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: #0B2E6B;
  border-bottom: 1px solid rgba(175,223,249,0.12);
  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: #AFDFF9;
  background: rgba(175,223,249,0.10);
  border: 1px solid rgba(175,223,249,0.28);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .04em;
  font-family: "Space Mono", monospace;
}

.chat-actions button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(175,223,249,0.06);
  border: 1px solid rgba(175,223,249,0.14);
  color: #AFDFF9;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0;
  transition: all .2s ease;
}

.chat-actions button:hover {
  color: #fff;
  border-color: rgba(175,223,249,0.45);
  background: rgba(175,223,249,0.14);
}

.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(175,223,249,0.10);
  background: #001E46;
}

.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(175,223,249,0.06);
  border: 1px solid rgba(175,223,249,0.14);
  color: #AFDFF9;
  white-space: nowrap;
  font-family: "Space Mono", monospace;
}

.chat-user .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(175,223,249,0.5);
}

.chat-user.team-a .status-dot { background: #AFDFF9; }
.chat-user.team-b .status-dot { background: #D30535; }
.chat-user.team-none .status-dot { background: rgba(175,223,249,0.3); }

.chat-user .captain {
  color: #AFDFF9;
  margin-left: 4px;
}

/* =========================
   MENSAJES CHAT
========================= */
.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #010729;
}

.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: rgba(175,223,249,0.12);
  color: #fff;
  border-top-left-radius: 0;
  border: 1px solid rgba(175,223,249,0.18);
}

/* TEAM B */
.chat-msg.team-b {
  justify-content: flex-end;
}
.chat-msg.team-b .bubble {
  background: rgba(211,5,53,0.15);
  color: #fff;
  border-top-right-radius: 0;
  border: 1px solid rgba(211,5,53,0.25);
}

/* SISTEMA */
.chat-msg.team-neutral {
  justify-content: center;
}
.chat-msg.team-neutral .bubble {
  background: rgba(175,223,249,0.05);
  color: rgba(175,223,249,0.70);
  font-size: 12px;
  text-align: center;
  border: 1px solid rgba(175,223,249,0.10);
}

.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(175,223,249,0.10);
  background: #001E46;
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 0;
  border: 1px solid rgba(175,223,249,0.18);
  background: #010729;
}

.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: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #010729;
  background: #AFDFF9;
  box-shadow: 0 4px 12px rgba(175,223,249,0.25);
  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: 0;
  border: 2px solid #AFDFF9;
  background: #001E46;
  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: #AFDFF9;
}

.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: 0;
  overflow: hidden;
  background: #001E46;
  box-shadow: 0 0 0 1px rgba(175,223,249,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(175,223,249,0.5);
}

.map-card.selected {
  outline: 2px solid #AFDFF9;
}

.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(1,7,41,.95), rgba(1,7,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(175,223,249,0.20); color: #AFDFF9; }
.map-mode.SND { background: rgba(211,5,53,0.70); color: #fff; }
.map-mode.OVR { background: rgba(211,5,53,0.55); color: #fff; }

/* =========================
   VS CARD
========================= */
.chall-vs-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  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: 0;
  background: #0B2E6B;
  border: 1px solid rgba(175,223,249,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bakbak One', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #AFDFF9;
}

.vs {
  font-family: 'Bakbak One', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #AFDFF9;
  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: #001E46;
  border: 1px solid rgba(175,223,249,0.12);
  padding: 10px;
  border-radius: 0;
  cursor: pointer;
  transition: all .2s ease;
}

.player-option input {
  display: none;
}

.player-option:has(input:checked) {
  border-color: #AFDFF9;
  box-shadow: 0 0 0 1px rgba(175,223,249,0.35);
}

.player-card {
  position: relative;
  background: #001E46;
  border-radius: 0;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(175,223,249,0.12);
  transition: all .2s ease;
  user-select: none;
}

.player-card:hover {
  transform: translateY(-2px);
  border-color: rgba(175,223,249,0.35);
}

.player-card input {
  display: none;
}

.player-name {
  font-weight: 700;
  font-size: 15px;
  color: #AFDFF9;
  letter-spacing: .2px;
  font-family: "Space Mono", monospace;
}

.player-card:has(input:checked) {
  background: #0B2E6B;
  border-color: #AFDFF9;
  box-shadow: 0 0 0 1px rgba(175,223,249,0.45);
}

.player-card:has(input:checked) .player-name {
  color: #ffffff;
}

.player-card:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 16px;
  font-weight: 900;
  color: #AFDFF9;
}

.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: #AFDFF9;
  font-size: 12px;
  font-family: "Space Mono", monospace;
}

/* =========================
   BOTONES
========================= */
.btn-pro {
  border: none;
  border-radius: 0;
  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: #AFDFF9;
  color: #010729;
  box-shadow: 0 6px 20px rgba(175,223,249,0.25);
}

.btn-accept:hover {
  transform: translateY(-2px);
  background: #d2f2ff;
  box-shadow: 0 10px 30px rgba(175,223,249,0.35);
}

.btn-accept:active {
  transform: translateY(0);
}

.btn-dispute {
  background: #D30535;
  color: #fff;
  border-radius: 0;
  padding: 12px 22px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(211,5,53,0.30);
}

.btn-dispute:hover {
  transform: translateY(-2px);
  background: #f0063e;
  box-shadow: 0 10px 30px rgba(211,5,53,0.45);
}

/* =========================
   REPORT RESULTADO
========================= */
.report-card {
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: 20px;
  max-width: 520px;
  margin-top: 30px;
}

.report-card.pro {
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: 24px;
  max-width: 520px;
  margin-top: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.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: 0;
  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: #0B2E6B;
  border-color: rgba(175,223,249,0.20);
  color: #fff;
}

.team-card.team-b {
  background: rgba(211,5,53,0.14);
  border-color: rgba(211,5,53,0.28);
  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: #AFDFF9;
  color: #010729;
  border: none;
  border-radius: 0;
  padding: 14px;
  font-family: 'Bakbak One', sans-serif;
  font-weight: 400;
  letter-spacing: .6px;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(175,223,249,0.22);
  transition: all .2s ease;
  cursor: pointer;
  margin-top: 15px;
}

.btn-report:hover {
  transform: translateY(-2px);
  background: #d2f2ff;
  box-shadow: 0 12px 36px rgba(175,223,249,0.32);
}

.report-status {
  padding: 14px;
  border-radius: 0;
  font-weight: 600;
}

.report-status.pending {
  background: rgba(211,5,53,0.10);
  color: #AFDFF9;
  border: 1px solid rgba(211,5,53,0.22);
}

.report-status.confirmed {
  background: rgba(34,197,94,0.10);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.22);
}

/* =========================
   WAGERS ESPECÍFICO
========================= */
.wager-amount {
  font-family: 'Bakbak One', sans-serif;
  font-size: 2rem;
  color: #D30535;
  text-align: center;
}

.wager-coin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #D30535;
}

.wager-coin::before {
  content: "🪙";
}

.wager-badge {
  background: rgba(211,5,53,0.85);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
}

.coin-balance {
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: 16px;
  text-align: center;
}

.coin-balance-value {
  font-family: 'Bakbak One', sans-serif;
  font-size: 2.5rem;
  color: #D30535;
}

.coin-balance-label {
  font-size: 12px;
  color: rgba(175,223,249,0.60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Space Mono", monospace;
}

/* =========================
   CHALLS LISTA
========================= */
.challs-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
  border-bottom: 2px solid #AFDFF9;
  background: #001E46;
}

.challs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(175,223,249,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(175,223,249,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .4;
}

.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: .20em;
  color: #AFDFF9;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
}

.challs-hero-title {
  margin: .4rem 0 .5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.92;
  font-family: "Bakbak One", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #ffffff;
}

.challs-hero-subtitle {
  margin: 0;
  color: rgba(175,223,249,0.82);
  max-width: 52ch;
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
}

.challs-hero-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chall-filters {
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.30);
}

.chall-card {
  background: #001E46;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.chall-card:hover {
  transform: translateY(-3px);
  border-color: #AFDFF9;
  box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 20px rgba(175,223,249,0.10);
}

.chall-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(175,223,249,0.10);
  background: #0B2E6B;
}

.chall-card-header .mode {
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(175,223,249,0.12);
  color: #AFDFF9;
  font-family: "Space Mono", monospace;
}

.platform-pill {
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(211,5,53,0.14);
  color: #fca5a5;
  font-family: "Space Mono", monospace;
}

.status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .08em;
  font-family: "Space Mono", monospace;
}

.status-open     { background: rgba(175,223,249,0.12); color: #AFDFF9; border: 1px solid rgba(175,223,249,0.28); }
.status-accepted { background: rgba(34,197,94,0.14);   color: #86efac; border: 1px solid rgba(34,197,94,0.28); }
.status-reported { background: rgba(251,191,36,0.14);  color: #fde68a; border: 1px solid rgba(251,191,36,0.28); }
.status-disputed { background: rgba(211,5,53,0.14);    color: #fca5a5; border: 1px solid rgba(211,5,53,0.28); }

.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(175,223,249,0.12);
  color: #AFDFF9;
  font-weight: 700;
  font-family: "Space Mono", monospace;
}

.team-open {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #AFDFF9;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
}

.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(175,223,249,0.16);
  background: rgba(175,223,249,0.06);
  color: rgba(175,223,249,0.82);
  font-size: 11px;
  letter-spacing: .05em;
  padding: 4px 9px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
}

.chall-card-footer {
  padding: 12px 16px 16px;
}

.chall-active-card {
  background: #001E46;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.btn-battle-accent {
  border: 1px solid rgba(175,223,249,0.45);
  background: #0B2E6B;
  color: #AFDFF9;
  border-radius: 0;
  font-family: "Space Mono", monospace;
}

.btn-battle-accent:hover,
.btn-battle-accent:focus-visible {
  border-color: #AFDFF9;
  color: #ffffff;
  background: #AFDFF9;
  color: #010729;
}

.battle-board-panel {
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  background: #001E46;
  box-shadow: 0 8px 30px rgba(0,0,0,.30);
  padding: 1rem;
}

.battle-board-head {
  margin-bottom: .85rem;
}

.battle-board-title {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 1rem;
  color: #ffffff;
  font-family: "Bakbak One", sans-serif;
}

.battle-board-subtitle {
  color: rgba(175,223,249,0.82);
  font-size: .82rem;
  font-family: "Space Mono", monospace;
}

.battle-board-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.battle-board-card {
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  background: #0B2E6B;
  padding: .85rem;
}

.battle-board-card h3 {
  font-size: 1rem;
  margin-bottom: .45rem;
  color: #ffffff;
  font-family: "Bakbak One", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.battle-board-card p {
  font-size: .80rem;
  color: rgba(175,223,249,0.82);
  margin-bottom: .55rem;
  font-family: "Space Mono", monospace;
}

.battle-home-stats {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.battle-home-stat-card {
  border: 1px solid rgba(175,223,249,0.16);
  border-radius: 0;
  padding: .85rem .95rem;
  background: #001E46;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}

.battle-home-stat-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: rgba(175,223,249,0.60);
  margin-bottom: .35rem;
  font-family: "Space Mono", monospace;
}

.battle-home-stat-value {
  display: block;
  font-size: clamp(1.5rem, 3.8vw, 2.4rem);
  line-height: 1;
  color: #AFDFF9;
  font-family: "Bakbak One", sans-serif;
}

.battle-home-section-title {
  margin: 0 0 .8rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #ffffff;
  font-family: "Bakbak One", sans-serif;
  border-bottom: 2px solid #AFDFF9;
  padding-bottom: .4rem;
}

.battle-home-quick-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.battle-home-quick-card {
  display: grid;
  gap: .35rem;
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: .9rem;
  color: rgba(175,223,249,0.82);
  text-decoration: none;
  background: #001E46;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.battle-home-quick-card:hover,
.battle-home-quick-card:focus-visible {
  color: #ffffff;
  border-color: #AFDFF9;
  transform: translateY(-2px);
  background: #0B2E6B;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.battle-home-quick-icon {
  font-size: 1.05rem;
  color: #AFDFF9;
}

.battle-home-quick-title {
  font-weight: 400;
  letter-spacing: .05em;
  font-family: "Bakbak One", sans-serif;
  color: #ffffff;
}

.battle-home-quick-copy {
  font-size: .78rem;
  color: rgba(175,223,249,0.60);
  font-family: "Space Mono", monospace;
}

.battle-home-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.battle-home-panel {
  border: 1px solid rgba(175,223,249,0.14);
  border-radius: 0;
  padding: .95rem;
  background: #001E46;
}

.battle-home-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.battle-home-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  border: 1px solid rgba(175,223,249,0.10);
  border-radius: 0;
  padding: .65rem .75rem;
  background: #0B2E6B;
}

.active-chall-xp {
  color: #AFDFF9 !important;
  font-family: "Space Mono", monospace;
}

@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;
  }

  .battle-home-list-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =================================================================
   BATTLE HOME — NUEVA VERSIÓN (bhome-*)
   ================================================================= */

/* ── hero ── */
.bhome-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
  background: #010729;
}
.bhome-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bhome-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(175,223,249,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175,223,249,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bhome-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.bhome-hero-glow--red {
  width: 420px; height: 320px;
  background: #D30535;
  top: -80px; right: 5%;
}
.bhome-hero-glow--blue {
  width: 500px; height: 280px;
  background: #0B2E6B;
  bottom: -60px; left: 0;
}
.bhome-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.bhome-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: "Space Mono", monospace;
  font-size: .72rem;
  letter-spacing: .2em;
  color: rgba(175,223,249,.7);
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.bhome-hero-title {
  font-family: "Bakbak One", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
}
.bhome-hero-title-accent {
  color: #D30535;
  -webkit-text-stroke: 1px rgba(211,5,53,.4);
  text-shadow: 0 0 40px rgba(211,5,53,.35);
}
.bhome-hero-subtitle {
  color: rgba(175,223,249,.8);
  max-width: 540px;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}
.bhome-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.bhome-btn-primary {
  background: #D30535;
  border-color: #D30535;
  font-family: "Bakbak One", sans-serif;
  letter-spacing: .04em;
}
.bhome-btn-primary:hover { background: #b5042e; border-color: #b5042e; }

/* metrics strip */
.bhome-hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(11,46,107,.55);
  border: 1px solid rgba(175,223,249,.12);
  border-radius: 0;
  padding: 1.1rem 1.75rem;
  backdrop-filter: blur(8px);
  width: fit-content;
  flex-wrap: wrap;
  row-gap: .75rem;
}
.bhome-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}
.bhome-metric-sep {
  width: 1px;
  height: 2rem;
  background: rgba(175,223,249,.15);
}
.bhome-metric-val {
  font-family: "Bakbak One", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #AFDFF9;
}
.bhome-metric-val--live { color: #ef4444; }
.bhome-metric-lbl {
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(175,223,249,.55);
  margin-top: .25rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* live dot */
.bhome-live-dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(239,68,68,.2);
  animation: bhome-pulse 1.6s infinite;
}
.bhome-live-dot--sm { width: 6px; height: 6px; }
@keyframes bhome-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(239,68,68,.05); }
}

/* ── active alert ── */
.bhome-active-alert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(211,5,53,.08);
  border: 1px solid rgba(211,5,53,.4);
  overflow: hidden;
  flex-wrap: wrap;
}
.bhome-active-alert-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(211,5,53,.06) 0%, transparent 60%);
  animation: bhome-alert-sweep 3s ease-in-out infinite;
}
@keyframes bhome-alert-sweep {
  0%,100% { opacity: .6; }
  50%     { opacity: 1; }
}
.bhome-active-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ef4444;
  margin-bottom: .4rem;
}
.bhome-active-vs {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: "Bakbak One", sans-serif;
  font-size: 1.4rem;
}
.bhome-active-team { color: #fff; }
.bhome-active-vsdiv {
  font-size: .9rem;
  color: rgba(175,223,249,.4);
}
.bhome-active-meta {
  font-size: .78rem;
  color: rgba(175,223,249,.6);
  margin: 0;
  font-family: "Space Mono", monospace;
}
.bhome-active-cta { white-space: nowrap; }

/* ── section title ── */
.bhome-section-title {
  font-family: "Bakbak One", sans-serif;
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #AFDFF9;
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(175,223,249,.1);
}

/* ── access cards ── */
.bhome-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.bhome-access-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(11,46,107,.45);
  border: 1px solid rgba(175,223,249,.1);
  text-decoration: none;
  color: #fff;
  transition: background .2s, border-color .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.bhome-access-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--bhome-accent, #AFDFF9);
}
.bhome-access-card--challs  { --bhome-accent: #AFDFF9; }
.bhome-access-card--ladder  { --bhome-accent: #4ade80; }
.bhome-access-card--eights  { --bhome-accent: #f59e0b; }
.bhome-access-card--arenas  { --bhome-accent: #a78bfa; }
.bhome-access-card--switcharo { --bhome-accent: #f472b6; }

.bhome-access-card:hover {
  background: rgba(11,46,107,.7);
  border-color: rgba(175,223,249,.25);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.bhome-access-icon {
  font-size: 1.6rem;
  color: var(--bhome-accent, #AFDFF9);
  flex-shrink: 0;
  width: 2.4rem;
  text-align: center;
}
.bhome-access-body { flex: 1; min-width: 0; }
.bhome-access-title {
  font-family: "Bakbak One", sans-serif;
  font-size: .95rem;
  margin: 0 0 .2rem;
}
.bhome-access-copy {
  font-size: .78rem;
  color: rgba(175,223,249,.65);
  margin: 0;
}
.bhome-access-arrow {
  font-size: 1.25rem;
  color: rgba(175,223,249,.3);
  flex-shrink: 0;
  transition: color .2s;
}
.bhome-access-card:hover .bhome-access-arrow { color: var(--bhome-accent, #AFDFF9); }

/* ── panels (tournaments) ── */
.bhome-panel {
  background: rgba(11,46,107,.35);
  border: 1px solid rgba(175,223,249,.1);
  padding: 1.25rem;
}
.bhome-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(175,223,249,.08);
}
.bhome-panel-title {
  font-family: "Bakbak One", sans-serif;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.bhome-panel-link {
  font-size: .75rem;
  color: rgba(175,223,249,.55);
  text-decoration: none;
}
.bhome-panel-link:hover { color: #AFDFF9; }
.bhome-tournament-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.bhome-tournament-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .9rem;
  background: rgba(1,7,41,.4);
  border-left: 2px solid rgba(175,223,249,.2);
}
.bhome-tournament-item--live { border-left-color: #ef4444; }
.bhome-tournament-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.bhome-tournament-name {
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bhome-tournament-meta {
  font-size: .72rem;
  color: rgba(175,223,249,.55);
  font-family: "Space Mono", monospace;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.bhome-panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 2rem 1rem;
  color: rgba(175,223,249,.3);
  font-size: .85rem;
  text-align: center;
}
.bhome-panel-empty i { font-size: 2rem; }

/* ── board grid ── */
.bhome-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.bhome-board-card {
  background: rgba(11,46,107,.3);
  border: 1px solid rgba(175,223,249,.1);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.bhome-board-icon {
  font-size: 1.5rem;
  color: #AFDFF9;
}
.bhome-board-title {
  font-family: "Bakbak One", sans-serif;
  font-size: .95rem;
  margin: 0;
}
.bhome-board-copy {
  font-size: .82rem;
  color: rgba(175,223,249,.65);
  margin: 0;
  flex: 1;
}

/* ── recursos strip (reemplaza bhome-board-grid) ── */
.bhome-recursos {
  border: 1px solid rgba(175,223,249,0.14);
  background: #001E46;
  overflow: hidden;
}

.bhome-recursos-discord {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.5rem;
  background: rgba(88,101,242,0.1);
  border-bottom: 1px solid rgba(175,223,249,0.1);
  text-decoration: none !important;
  color: #fff !important;
  transition: background 150ms ease;
}

.bhome-recursos-discord:hover {
  background: rgba(88,101,242,0.2);
}

.bhome-recursos-discord-icon {
  font-size: 2rem;
  color: #7289da;
  flex-shrink: 0;
}

.bhome-recursos-discord-label {
  font-family: "Bakbak One", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7289da;
  margin: 0 0 0.18rem;
}

.bhome-recursos-discord-sub {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  color: rgba(175,223,249,0.75);
  margin: 0;
  line-height: 1.4;
}

.bhome-recursos-discord-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7289da;
  white-space: nowrap;
}

.bhome-recursos-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bhome-recursos-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0.5rem;
  text-decoration: none !important;
  color: rgba(175,223,249,0.65);
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(175,223,249,0.1);
  transition: background 140ms ease, color 140ms ease;
  text-align: center;
}

.bhome-recursos-link:last-child {
  border-right: none;
}

.bhome-recursos-link i {
  font-size: 1.25rem;
}

.bhome-recursos-link:hover {
  background: rgba(175,223,249,0.06);
  color: #AFDFF9;
}

@media (max-width: 480px) {
  .bhome-recursos-discord { flex-wrap: wrap; gap: 0.75rem; }
  .bhome-recursos-discord-cta { margin-left: 0; }
  .bhome-recursos-links { grid-template-columns: repeat(2, 1fr); }
  .bhome-recursos-link:nth-child(2) { border-right: none; }
}

/* =================================================================
   CHALL LIST — NUEVA VERSIÓN (clist-*, cmc-*)
   ================================================================= */

/* ── alerts ── */
.clist-alert {
  padding: 1rem 1.25rem;
  border: 1px solid;
}
.clist-alert--warning {
  background: rgba(245,158,11,.07);
  border-color: rgba(245,158,11,.3);
}
.clist-alert--live {
  background: rgba(211,5,53,.07);
  border-color: rgba(211,5,53,.35);
}
.clist-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ef4444;
  margin-bottom: .35rem;
}
.clist-active-matchup {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: "Bakbak One", sans-serif;
  font-size: 1.3rem;
}
.clist-active-team { color: #fff; }
.clist-active-sep { color: rgba(175,223,249,.35); font-size: .85rem; }
.clist-active-meta {
  font-size: .75rem;
  color: rgba(175,223,249,.6);
  font-family: "Space Mono", monospace;
}

/* ── filters ── */
.clist-filters { }
.clist-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.clist-filter-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.clist-filter-label {
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(175,223,249,.5);
}
.clist-tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  border: none;
  margin: 0;
  padding: 0;
}
.clist-tab {
  padding: .35rem .85rem;
  background: rgba(11,46,107,.4);
  border: 1px solid rgba(175,223,249,.12);
  color: rgba(175,223,249,.7);
  font-family: "Space Mono", monospace;
  font-size: .72rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  border-radius: 0;
}
.clist-tab:hover {
  background: rgba(11,46,107,.8);
  border-color: rgba(175,223,249,.3);
  color: #AFDFF9;
}
.clist-tab--active {
  background: rgba(175,223,249,.15);
  border-color: #AFDFF9;
  color: #AFDFF9;
}

/* ── chall grid ── */
.clist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

/* ── chall match card (cmc) ── */
.cmc {
  display: flex;
  flex-direction: column;
  background: rgba(11,46,107,.35);
  border: 1px solid rgba(175,223,249,.1);
  position: relative;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.cmc:hover {
  border-color: rgba(175,223,249,.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}

/* status color accents */
.cmc--open   { border-top: 3px solid #AFDFF9; }
.cmc--accepted { border-top: 3px solid #ef4444; }
.cmc--reported { border-top: 3px solid #f59e0b; }
.cmc--confirmed { border-top: 3px solid #4ade80; }
.cmc--disputed  { border-top: 3px solid #f59e0b; }
.cmc--wager  { border-top-color: #D30535; }

/* mode bar */
.cmc-modebar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .8rem;
  background: rgba(1,7,41,.5);
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  flex-wrap: wrap;
}
.cmc-mode {
  font-weight: 700;
  color: #AFDFF9;
  letter-spacing: .08em;
}
.cmc-ruleset {
  color: rgba(175,223,249,.5);
}
.cmc-platform {
  color: rgba(175,223,249,.4);
}
.cmc-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .6rem;
  letter-spacing: .12em;
  padding: .2rem .55rem;
  border: 1px solid;
  font-weight: 700;
}
.cmc-status--open     { color: #AFDFF9; border-color: rgba(175,223,249,.35); background: rgba(175,223,249,.07); }
.cmc-status--accepted { color: #ef4444; border-color: rgba(239,68,68,.35);   background: rgba(239,68,68,.07); }
.cmc-status--reported { color: #f59e0b; border-color: rgba(245,158,11,.35);  background: rgba(245,158,11,.07); }
.cmc-status--confirmed { color: #4ade80; border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.07); }
.cmc-status--disputed  { color: #f59e0b; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.07); }

/* teams section */
.cmc-teams {
  display: flex;
  align-items: center;
  padding: 1.25rem 1rem;
  gap: .75rem;
  flex: 1;
}
.cmc-team {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.cmc-team--b { text-align: right; }
.cmc-team-name {
  font-family: "Bakbak One", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmc-team-xp {
  font-family: "Space Mono", monospace;
  font-size: .72rem;
  color: rgba(175,223,249,.55);
}
.cmc-xp-label {
  color: rgba(175,223,249,.35);
  font-size: .6rem;
}
.cmc-vs {
  font-family: "Bakbak One", sans-serif;
  font-size: .85rem;
  color: rgba(175,223,249,.25);
  flex-shrink: 0;
  letter-spacing: .1em;
}

/* open slot */
.cmc-team--open .cmc-team-name { color: rgba(175,223,249,.4); }
.cmc-open-slot {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: flex-end;
}
.cmc-open-ring {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(175,223,249,.35);
  animation: cmc-ring-pulse 2s ease-in-out infinite;
}
@keyframes cmc-ring-pulse {
  0%, 100% { border-color: rgba(175,223,249,.35); box-shadow: 0 0 0 0 rgba(175,223,249,.1); }
  50%      { border-color: rgba(175,223,249,.6);  box-shadow: 0 0 0 4px rgba(175,223,249,.05); }
}
.cmc-open-label {
  font-family: "Space Mono", monospace;
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(175,223,249,.45);
  text-transform: uppercase;
}
.cmc-open-sub {
  font-size: .7rem;
  color: rgba(175,223,249,.3);
  text-align: right;
  font-family: "Space Mono", monospace;
}

/* footer */
.cmc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .8rem;
  border-top: 1px solid rgba(175,223,249,.07);
  background: rgba(1,7,41,.3);
}
.cmc-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.cmc-pill {
  font-family: "Space Mono", monospace;
  font-size: .58rem;
  letter-spacing: .08em;
  padding: .18rem .5rem;
  background: rgba(175,223,249,.07);
  border: 1px solid rgba(175,223,249,.12);
  color: rgba(175,223,249,.5);
  text-transform: uppercase;
}
.cmc-pill--wager {
  color: #D30535;
  border-color: rgba(211,5,53,.3);
  background: rgba(211,5,53,.07);
}
.cmc-cta {
  font-family: "Space Mono", monospace;
  font-size: .7rem;
  color: #AFDFF9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
  letter-spacing: .04em;
  transition: color .15s;
}
.cmc-cta:hover { color: #fff; text-decoration: none; }

/* empty state */
.clist-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 4rem 1rem;
  color: rgba(175,223,249,.3);
  font-size: .9rem;
  text-align: center;
}
.clist-empty i { font-size: 2.5rem; }

/* ── responsive ── */
@media (max-width: 768px) {
  .bhome-hero { padding: 3.5rem 0 2rem; }
  .bhome-hero-metrics { padding: .9rem 1rem; }
  .bhome-metric { padding: 0 .9rem; }
  .bhome-metric-val { font-size: 1.5rem; }
  .bhome-access-grid { grid-template-columns: 1fr; }
  .clist-grid { grid-template-columns: 1fr; }
  .clist-filter-row { flex-direction: column; }
  .bhome-active-alert { flex-direction: column; align-items: flex-start; }
}
