.steam-app {
  max-width: 980px;
  margin: 0 auto;
}

.steam-search-form .form-control {
  background: rgba(11, 24, 40, 0.85);
  border-color: rgba(136, 170, 214, 0.45);
  color: #e8eff8;
}

.steam-search-form .form-control:focus {
  border-color: rgba(127, 195, 255, 0.85);
  box-shadow: 0 0 0 0.2rem rgba(127, 195, 255, 0.2);
}

.steam-loading {
  display: flex;
  align-items: center;
}

.steam-profile-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  background: rgba(9, 20, 34, 0.9);
  border: 1px solid rgba(136, 170, 214, 0.3);
  border-radius: 0.9rem;
  padding: 1rem;
}

.steam-avatar {
  width: 92px;
  height: 92px;
  border-radius: 0.75rem;
  border: 1px solid rgba(136, 170, 214, 0.35);
}

.steam-status-tag {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.steam-status-tag.is-online {
  background: rgba(46, 196, 182, 0.2);
  color: #91f0e5;
}

.steam-status-tag.is-offline {
  background: rgba(127, 195, 255, 0.2);
  color: #b8ddff;
}

.steam-status-tag.is-other {
  background: rgba(245, 143, 61, 0.2);
  color: #ffd0ad;
}

.steam-stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.steam-stat-card {
  background: rgba(9, 20, 34, 0.9);
  border: 1px solid rgba(136, 170, 214, 0.3);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.steam-stat-label {
  margin: 0;
  color: #a8bad1;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.steam-stat-value {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.steam-friend-select {
  min-width: 220px;
  max-width: 400px;
}

.steam-friend-filter .form-select {
  background: rgba(11, 24, 40, 0.85);
  border-color: rgba(136, 170, 214, 0.45);
  color: #e8eff8;
}

.steam-game-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.steam-game-card {
  display: flex;
  gap: 0.7rem;
  background: rgba(9, 20, 34, 0.9);
  border: 1px solid rgba(136, 170, 214, 0.3);
  border-radius: 0.9rem;
  padding: 0.8rem;
}

.steam-game-logo {
  width: 92px;
  height: 43px;
  border-radius: 0.4rem;
  border: 1px solid rgba(136, 170, 214, 0.35);
  background: rgba(7, 16, 28, 0.9);
  object-fit: cover;
}

.steam-game-logo-placeholder {
  width: 92px;
  height: 43px;
  border-radius: 0.4rem;
  border: 1px dashed rgba(136, 170, 214, 0.35);
  color: #a8bad1;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

.steam-game-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.steam-game-meta {
  color: #a8bad1;
  font-size: 0.84rem;
  margin-bottom: 0.3rem;
}

.steam-game-links {
  display: flex;
  gap: 0.65rem;
  font-size: 0.82rem;
}

.steam-empty-state {
  border: 1px dashed rgba(136, 170, 214, 0.35);
  border-radius: 0.9rem;
  padding: 1.1rem;
  text-align: center;
  color: #a8bad1;
}

.steam-hidden {
  display: none;
}

@media (max-width: 575px) {
  .steam-game-grid {
    grid-template-columns: 1fr;
  }

  .steam-friend-select {
    min-width: 100%;
  }
}
