.hub-player-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 0.82rem;
  color: #e2e8f0;
}

.hub-player-chip-avatar {
  font-size: 1rem;
  line-height: 1;
}

.hub-player-chip-name {
  font-weight: 600;
}

.hub-player-chip-link {
  color: #38bdf8;
  text-decoration: none;
  margin-left: 0.15rem;
}

.hub-player-chip-link:hover {
  text-decoration: underline;
}

.hub-game-library {
  display: grid;
  gap: 0.65rem;
}

.hub-game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 0.45rem;
  background: rgba(8, 14, 22, 0.78);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(125, 211, 252, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.38);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.hub-game-card:hover {
  border-color: var(--game-accent, #38bdf8);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(125, 211, 252, 0.12),
    0 0 0 1px rgba(56, 189, 248, 0.22),
    0 0 20px rgba(56, 189, 248, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.42);
}

.hub-game-card-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hub-game-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  overflow: hidden;
  background: rgba(4, 8, 14, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.08);
}

.hub-game-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.35rem;
}

.hub-game-card-copy {
  min-width: 0;
}

.hub-game-card-name {
  font-weight: 700;
  color: #f8fafc;
}

.hub-game-card-status {
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: #7dd3fc;
}

.hub-game-card-tagline {
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.hub-game-card-thumb {
  width: 4.5rem;
  height: 3.25rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hub-game-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 4.35rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 0.35rem;
  background: rgba(10, 18, 30, 0.92);
  color: #7dd3fc;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.hub-game-card-action span {
  margin-left: 0.15rem;
  font-size: 1.05rem;
  line-height: 1;
}

.hub-game-card:hover .hub-game-card-action {
  border-color: var(--game-accent, #38bdf8);
  background: rgba(14, 28, 44, 0.96);
  color: #e0f2fe;
  box-shadow:
    inset 0 1px 0 rgba(125, 211, 252, 0.18),
    0 0 14px rgba(56, 189, 248, 0.45),
    0 0 24px rgba(56, 189, 248, 0.2);
}

@media (max-width: 480px) {
  .hub-game-card {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .hub-game-card-action {
    min-height: 44px;
    align-self: stretch;
    justify-content: center;
    margin-left: auto;
  }
}
