.player-hub {
  padding-top: 0;
  padding-bottom: 34px;
}

.player-hub-groups {
  display: grid;
  gap: 18px;
}

.player-hub-group {
  display: grid;
  gap: 9px;
}

.player-hub-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player-hub-group-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.player-hub-group-head span {
  color: var(--muted);
  font-size: 10.5px;
}

.player-hub-row {
  display: grid;
  grid-auto-columns: minmax(225px, 1fr);
  grid-auto-flow: column;
  gap: 9px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.player-hub-card {
  display: flex;
  align-items: stretch;
  min-width: 225px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  scroll-snap-align: start;
}

.player-hub-open {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.player-hub-open:hover {
  background: rgba(255, 255, 255, 0.04);
}

.player-hub-art {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.player-hub-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-hub-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.player-hub-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-hub-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-hub-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(110, 243, 197, 0.1);
  color: var(--mint);
  font-size: 8px;
  font-weight: 700;
  vertical-align: middle;
}

.player-hub-fav {
  width: 36px;
  flex: 0 0 auto;
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 19px;
  cursor: pointer;
}

.player-hub-fav:hover,
.player-hub-fav.is-active {
  color: var(--gold);
}

.player-hub-empty {
  color: var(--muted);
  font-size: 11.5px;
}

.modal-favorite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin: 4px 0 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.modal-favorite-btn:hover {
  border-color: rgba(255, 209, 102, 0.35);
  color: var(--gold);
}

.modal-favorite-btn.is-active {
  border-color: rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.08);
  color: var(--gold);
}

@media (max-width: 620px) {
  .player-hub {
    padding-bottom: 24px;
  }

  .player-hub-row {
    grid-auto-columns: minmax(210px, 82vw);
  }
}

.modal-exit-game-btn {
  width: 100%;
  margin-top: 10px;
  border-color: transparent;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #fff;
  box-shadow: 0 16px 34px -16px rgba(251, 113, 133, 0.7);
}

.modal-exit-game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(251, 113, 133, 0.85);
}

.modal-art.is-natural-art {
  aspect-ratio: var(--modal-art-ratio, auto);
  max-height: min(72vh, 620px);
  min-height: 0;
}

.modal-art.is-natural-art > .game-art {
  height: 100%;
  aspect-ratio: auto;
}

.modal-art.is-natural-art img {
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .modal-art.is-natural-art {
    min-height: 0;
    max-height: 52vh;
  }
}

.modal-art.is-natural-art {
  width: 100%;
  justify-self: stretch;
}

@media (max-width: 760px) {
  .modal-art.is-natural-art {
    width: 100%;
    justify-self: stretch;
  }
}

.modal-art.is-natural-art {
  width: min(100%, 340px);
  max-width: 340px;
  max-height: 340px;
  min-height: 0;
  justify-self: center;
}

@media (max-width: 760px) {
  .modal-art.is-natural-art {
    width: min(100%, 280px);
    max-width: 280px;
    max-height: 280px;
  }
}

.modal-art.is-natural-art {
  width: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
}
