/* 💗 baddie game presence 💗 */
/* babie ~ 5c6935592071 */

.baddiegp-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  padding: 20px 18px 18px 18px;
  color: #e6e6e6;
  overflow: visible;
}

.baddiegp-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.baddiegp-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.baddiegp-title {
  font-family: "Kiss Me Softly", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 0 6px rgba(255, 140, 80, .7);
}

.baddiegp-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffd8ef;
  opacity: .9;
}

.baddiegp-live-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.baddiegp-live-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.baddiegp-live-text {
  font-size: 10px;
  color: #c7d5e0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.baddiegp-live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.baddiegp-live-on {
  background: #ff4d6d;
  box-shadow: 0 0 6px rgba(255, 77, 109, .8);
  animation: baddiegpPulse 1.2s infinite;
}

.baddiegp-live-off {
  background: #666;
  box-shadow: none;
}

.baddiegp-live-toggle {
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .45);
  color: #f5f5f5;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.baddiegp-live-toggle:hover {
  background: rgba(0, 0, 0, .7);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 140, 80, .4);
}

@keyframes baddiegpPulse {
  0% { opacity: .6; }
  50% { opacity: 1; }
  100% { opacity: .6; }
}

.baddiegp-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.baddiegp-header-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.baddiegp-total {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

.baddiegp-cards {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.baddiegp-empty-card {
  max-width: 900px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  color: #c7d5e0;
  opacity: .9;
}

.baddiegp-card-item {
  display: flex;
  width: 100%;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.baddiegp-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .7);
}

.baddiegp-thumbnail {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  max-width: 96px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #111;
  position: relative;
}

.baddiegp-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: none;
}

.baddiegp-info {
  flex: 1;
  min-width: 0;
  padding: 2px 0 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: #fff;
}

.baddiegp-level-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 150, 255, .4);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.baddiegp-meta {
  font-size: 12px;
  opacity: .85;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.baddiegp-invite-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.baddiegp-join-btn {
  padding: 3px 8px 2px 8px;
  font-size: 10px;
  margin-left: 4px;
  background: linear-gradient(135deg, #4f8dff, #2a93ff);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  box-shadow: 0 0 8px rgba(255, 80, 220, .4);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.baddiegp-join-btn:hover {
  background: linear-gradient(135deg, #ff2acb, #ff4fd8);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 80, 220, .6);
}

.baddiegp-recent-section {
  width: 100%;
  margin-top: 18px;
}

.baddiegp-recent-title {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #000;
  margin: 0 0 6px 2px;
}

.baddiegp-recent-card {
  width: 100%;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
}

.baddiegp-recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.baddiegp-recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.baddiegp-recent-thumbnail {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  max-width: 38px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #111;
  position: relative;
}

.baddiegp-recent-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border: none;
}

.baddiegp-recent-info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.baddiegp-recent-line {
  font-size: 11px;
  color: #fff;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.baddiegp-recent-level {
  font-weight: 500;
}

.baddiegp-recent-players,
.baddiegp-recent-time {
  opacity: .85;
}

.baddiegp-recent-sep {
  margin: 0 4px;
  opacity: .6;
}

.baddiegp-recent-empty {
  font-size: 11px;
  color: #c7d5e0;
  opacity: .8;
}

.baddiegp-delete-recent {
  margin-left: 6px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  color: #ff4d4d;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
  transition: opacity .15s ease, transform .15s ease;
}

.baddiegp-recent-item:hover .baddiegp-delete-recent {
  opacity: 1;
  pointer-events: auto;
}

.baddiegp-recent-item:focus-within .baddiegp-delete-recent {
  opacity: 1;
  pointer-events: auto;
}

.baddiegp-delete-recent:hover {
  transform: scale(1.15);
}

body:not(.logged-in) .baddiegp-delete-recent {
  display: none;
}

@media (max-width: 720px) {
  .baddiegp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .baddiegp-title {
    font-size: 32px;
  }

  .baddiegp-card-item {
    flex-direction: row;
  }

  .baddiegp-thumbnail {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
    max-width: 80px;
  }

  .baddiegp-level-name {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .baddiegp-card {
    padding: 16px 12px 14px 12px;
  }

  .baddiegp-card-item {
    flex-direction: row;
    align-items: center;
  }

  .baddiegp-thumbnail {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    max-width: 72px;
  }

  .baddiegp-recent-thumbnail {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    max-width: 48px;
  }

  .baddiegp-info {
    width: auto;
  }

  .baddiegp-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}






