.bbss-card {
  display: grid;
  gap: 14px;
  width: 100%;
  color: #fbf4df;
}

.bbss-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bbss-server-name {
  margin: 0;
  color: #f2d580;
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.bbss-server-motd {
  margin: 4px 0 0;
  color: #ddd1ae;
}

.bbss-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: #101311;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  border-radius: 999px;
  white-space: nowrap;
}

.bbss-card-online .bbss-status-pill {
  background: #92d16f;
}

.bbss-card-offline .bbss-status-pill {
  background: #df7669;
}

.bbss-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bbss-status-grid > div {
  min-width: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(216, 173, 61, 0.24);
  border-radius: 8px;
}

.bbss-meta-label {
  display: block;
  margin-bottom: 3px;
  color: #8bc8e8;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bbss-status-grid strong {
  display: block;
  color: #ffffff;
  line-height: 1.2;
}

.bbss-address {
  margin: 0;
  color: #ddd1ae;
  font-size: 0.92rem;
}

.bbss-player-list {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(139, 200, 232, 0.22);
  border-radius: 8px;
}

.bbss-player-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bbss-player-list li {
  min-height: 28px;
  padding: 5px 8px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  background: rgba(139, 200, 232, 0.16);
  border: 1px solid rgba(139, 200, 232, 0.28);
  border-radius: 6px;
}

.bbss-player-updated,
.bbss-player-empty {
  margin: 0;
  color: #ddd1ae;
  font-size: 0.86rem;
}

.bbss-player-empty {
  padding: 10px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(216, 173, 61, 0.2);
  border-radius: 8px;
}

@media (max-width: 640px) {
  .bbss-card-header,
  .bbss-status-grid {
    grid-template-columns: 1fr;
  }

  .bbss-card-header {
    display: grid;
  }

  .bbss-status-pill {
    justify-content: center;
    width: 100%;
  }

  .bbss-player-list ul {
    display: grid;
    grid-template-columns: 1fr;
  }
}
