/* Home: NFT strip sits above Play on mobile; pick-first gate.
   Desktop keeps the pairs-style two-column layout (controls left, pets right). */

.playbtn.needpick,
.playbtn:disabled {
  opacity: .45;
  cursor: default;
  pointer-events: none;
  animation: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2), inset 0 -3px 0 rgba(0, 0, 0, .12);
  filter: grayscale(.2);
}

.playhint {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  margin: 6px 16px 0;
  min-height: 1.2em;
}
.playhint[hidden] { display: none !important; }

.homeview.home-pick .leftcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.homeview.home-pick .carwrap {
  margin-top: 8px;
  margin-bottom: 0;
}
.homeview.home-pick .homestack .playbtn { margin-top: 8px; }

/* Watermark stays under the P3t cards, compacted so Play can stay on screen */
.homeview.home-pick .carwrap > a.wm2.wmunder {
  min-height: 32px;
  margin: 4px auto 0;
}

/* Desktop: same kind of layout as BLUPA1RS — left controls, right pet grid */
body.desk .homeview.home-pick.on {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 36px;
  align-items: stretch;
  overflow: hidden;
  max-width: 1280px;
  padding: 0;
}
body.desk .home-pick .leftcol {
  display: contents;
}
body.desk .home-pick .hhead {
  grid-column: 1;
  grid-row: 1;
  flex: none;
  align-self: stretch;
  padding-left: 52px;
}
body.desk .home-pick .homestack {
  grid-column: 1;
  grid-row: 2;
  flex: 1 1 auto;
  min-height: 0;
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 0 52px;
}
body.desk .home-pick .carwrap {
  grid-column: 2;
  grid-row: 1 / -1;
  margin: 0;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(10, 16, 26, .82);
  border: 1px solid #2c3a52;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
body.desk .home-pick .playbtn { margin-top: 0; }

@media (max-width: 1099px) {
  body.desk .homeview.home-pick.on {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    column-gap: 16px;
  }
  body.desk .home-pick .hhead,
  body.desk .home-pick .homestack {
    padding-left: 48px;
  }
}
