/* Dusty Rocket Games — lightweight catalogue discovery controls, 2026-10-12.
   Keep the two primary homepage choices and the direct game-grid flow. */
#game-hub .hub-discovery {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .1rem 0 1.3rem;
  min-width: 0;
}
#game-hub .hub-discovery[hidden] { display: none !important; }
#game-hub .hub-discovery-tab,
#game-hub #hub-surprise {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.55rem;
  padding: .56rem .8rem;
  color: #242628;
  background: #fff6e6;
  border: 2px solid #242628;
  border-radius: 0;
  font: 900 .74rem/1.1 Arial, sans-serif;
  letter-spacing: .015em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 2px 3px 0 rgba(36, 38, 40, .16);
}
#game-hub .hub-discovery-tab:hover { background: #ffdfbb; }
#game-hub .hub-discovery-tab.hub-discovery-active {
  color: #fff6e6;
  background: #242628;
  box-shadow: 3px 3px 0 #ff752f;
}
#game-hub .hub-discovery-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  padding: .08rem .22rem;
  font-size: .72rem;
  border-radius: 2px;
  background: rgba(36, 38, 40, .1);
}
#game-hub .hub-discovery-tab.hub-discovery-active span {
  background: rgba(255, 255, 255, .16);
}
#game-hub #hub-surprise {
  margin-left: auto;
  color: #242628;
  background: #ff752f;
}
#game-hub #hub-surprise:hover { background: #ff955d; }
#game-hub #hub-surprise:disabled { cursor: wait; opacity: .65; }
#game-hub .hub-discovery-tab:focus-visible,
#game-hub #hub-surprise:focus-visible {
  outline: 3px solid #242628;
  outline-offset: 3px;
}
#game-hub .hub-saved-mark {
  margin-left: auto;
  color: #ab4520;
  font-size: .65rem;
  font-weight: 900;
  white-space: nowrap;
}
#hub-player .hub-player-head > div:first-child { min-width: 0; }
#hub-player .hub-player-actions {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}
#hub-player #hub-player-favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: .5rem .82rem;
  border: 2px solid #fff6e6;
  color: #fff6e6;
  background: #3b4740;
  border-radius: 0;
  font: 900 .79rem/1.1 Arial, sans-serif;
  letter-spacing: .015em;
  cursor: pointer;
  white-space: nowrap;
}
#hub-player #hub-player-favorite[aria-pressed="true"] {
  color: #242628;
  background: #b9ff8b;
  border-color: #b9ff8b;
}
#hub-player #hub-player-favorite:hover {
  border-color: #b9ff8b;
}
#hub-player #hub-player-favorite:focus-visible {
  outline: 3px solid #b9ff8b;
  outline-offset: 2px;
}
@media(max-width:42rem) {
  #game-hub .hub-discovery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .48rem;
    margin-bottom: 1rem;
  }
  #game-hub .hub-discovery-tab,
  #game-hub #hub-surprise {
    width: 100%;
    min-width: 0;
    min-height: 2.7rem;
    padding: .45rem .32rem;
    font-size: .66rem;
    white-space: normal;
    text-align: center;
  }
  #game-hub #hub-surprise { margin-left: 0; }
  #hub-player .hub-player-actions { gap: .35rem; }
  #hub-player #hub-player-favorite {
    min-height: 2.55rem;
    padding: .45rem .58rem;
    font-size: .7rem;
  }
}
@media(max-width:23rem) {
  #hub-player .hub-player-head strong { font-size: 1rem; }
  #hub-player #hub-player-favorite { padding: .4rem .4rem; font-size: .65rem; }
}
