/* ==========================================================================
   PC PRESENCE FRONTEND COMPONENT STYLES (FULL 100% CONTAINER WIDTH TOP CARD)
   ========================================================================== */

.pc-presence-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: var(--transition-normal);
  margin-bottom: 2.25rem;
}

.pc-presence-card:hover {
  border-color: var(--text-main);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.presence-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .presence-card-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.presence-left-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.presence-top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.presence-card-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.presence-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.presence-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #9CA3AF;
  display: inline-block;
  transition: background-color 0.3s;
}

.presence-dot.online {
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.presence-dot.idle {
  background-color: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.presence-dot.offline {
  background-color: #9CA3AF;
}

.presence-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.presence-right-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.presence-mascot-box {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.presence-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.04));
}

@media (prefers-reduced-motion: reduce) {
  .presence-mascot-img {
    animation: none;
  }
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

/* Recent Games Section inside Card */
.presence-recent-games {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.recent-games-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
}

.game-chip-pill {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.game-chip-pill:hover {
  border-color: var(--text-main);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS REFINEMENTS (<768px)
   ========================================================================== */
@media (max-width: 767px) {
  .pc-presence-card {
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-card);
  }

  .presence-card-inner {
    gap: 0.75rem;
  }

  .presence-top-row {
    justify-content: space-between;
    width: 100%;
  }

  .presence-main-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .presence-right-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-light);
  }

  .presence-mascot-box {
    width: 48px;
    height: 48px;
  }

  .recent-games-label {
    font-size: 0.68rem;
  }

  .game-chip-pill {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
  }
}
