/**
 * ML LIVE — card Home
 */
.ml-live {
  --ml-live-teal: #12d6c5;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(42, 57, 72, 0.95);
  background:
    linear-gradient(145deg, rgba(18, 26, 34, 0.97) 0%, rgba(12, 18, 26, 1) 100%),
    radial-gradient(520px 180px at 0% 0%, rgba(18, 214, 197, 0.12), transparent 60%);
  box-shadow:
    inset 3px 0 0 0 var(--ml-live-teal),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.ml-live__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.55rem;
}

.ml-live__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ml-live__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

.ml-live__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecfeff;
}

.ml-live__counts {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ml-live__chip {
  display: inline-flex;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
}

.ml-live__chip--ok {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(16, 185, 129, 0.12);
}

.ml-live__chip--lobby {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(8, 145, 178, 0.14);
}

.ml-live__chip--match {
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(37, 99, 235, 0.14);
}

.ml-live__empty {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.ml-live__list {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ml-live__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 14, 24, 0.55);
}

.ml-live__ico {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.72rem;
  flex-shrink: 0;
  background: rgba(51, 65, 85, 0.55);
  color: #94a3b8;
}

.ml-live__item.is-available .ml-live__ico {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
}

.ml-live__item.is-lobby .ml-live__ico {
  color: #67e8f9;
  background: rgba(8, 145, 178, 0.2);
}

.ml-live__item.is-match .ml-live__ico {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.2);
}

.ml-live__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.ml-live__name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
}

.ml-live__state {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}

.ml-live__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ml-live__form {
  display: inline;
  margin: 0;
}

.ml-live__btn {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}

.ml-live__btn--go {
  background: linear-gradient(180deg, #22c55e, #16a34a) !important;
  color: #052e16 !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
}

.ml-live__btn--discord {
  border-color: rgba(88, 101, 242, 0.45) !important;
  color: #c7d2fe !important;
}

@media (max-width: 640px) {
  .ml-live {
    padding: 0.7rem 0.7rem 0.75rem;
  }
}
