/* Player shell polish — topbar cleanup, companion-only sidebar, farm hub, lobby scroll */

.showcase-topbar--clean .showcase-topbar-right {
  gap: 0.45rem;
}

.showcase-topbar--clean .showcase-live-badge,
.showcase-topbar--clean .showcase-tournament-btn {
  display: none !important;
}

.showcase-sidebar--companion-only .showcase-nav {
  display: none;
}

.showcase-sidebar--companion-only .beta-ui-btn--farm {
  width: 100%;
  margin-top: 0.65rem;
}

.companion-oracle--vertical {
  flex-direction: column;
  align-items: center;
  max-width: min(248px, calc(100vw - 2rem));
}

.companion-oracle--vertical .companion-oracle-avatar {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
}

.companion-oracle--vertical .companion-oracle-frame {
  width: 100%;
  border-radius: 16px;
}

.companion-oracle--vertical .companion-oracle-text {
  width: 100%;
  text-align: center;
}

.game-lobby-panel--games {
  min-height: 0;
  overflow-y: auto;
  max-height: min(72vh, 920px);
  padding-right: 0.35rem;
}

.game-lobby-panel-head--embedded {
  margin-top: 1.25rem;
}

.game-lobby-grid--mini .game-lobby-card {
  max-width: 280px;
}

.farm-hub-modal-card {
  width: min(720px, calc(100vw - 2rem));
  max-height: min(86vh, 880px);
}

.farm-hub-body {
  overflow-y: auto;
  max-height: min(68vh, 720px);
}

.farm-hub-reset {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.95);
}

.farm-hub-lead {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.88rem;
}

.farm-hub-grid {
  display: grid;
  gap: 0.85rem;
}

.farm-hub-card {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
}

.farm-hub-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.farm-hub-card-head h3 {
  margin: 0;
  font-size: 1rem;
}

.farm-hub-card-cap {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(56, 189, 248, 0.95);
  white-space: nowrap;
}

.farm-hub-card-instructions,
.farm-hub-card-reward,
.farm-hub-card-levels {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.86);
}

.farm-hub-card-reward {
  color: rgba(52, 211, 153, 0.95);
  font-weight: 700;
}

@media (max-width: 720px) {
  .game-lobby-panel--games {
    max-height: none;
  }
}
