/* Post-signup interest poll (#interestsPollOverlay, portal/interests-poll.js) — reuses level.css's
   generic .celebration-overlay/.celebration__card chrome (same dark full-screen takeover shape as
   the welcome-grant celebration) instead of redefining fixed/centered/backdrop CSS. Unlike those
   click-anywhere-to-dismiss overlays, this one has explicit Skip/Continue buttons, so the backdrop
   itself does nothing on click. */
.interests-poll-overlay {
  cursor: default;
}
.celebration__card--interests {
  max-width: min(92vw, 560px);
  gap: 16px;
  padding: 32px 36px 28px;
  border: 1px solid rgba(244, 193, 42, 0.25);
  border-radius: 20px;
  background: linear-gradient(165deg, #1e2029 0%, #15151c 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.interests-poll-title {
  font-family: var(--marker, 'Permanent Marker', cursive);
  font-size: 1.5rem;
}
.interests-poll-sub {
  font-size: 0.9375rem;
  opacity: 0.85;
}
.interests-poll-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}
.interests-poll-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: inherit;
  font-family: var(--arch, inherit);
  font-size: 0.8125rem;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.interests-poll-tile:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}
.interests-poll-tile.is-selected {
  border-color: #f4c12a;
  background: rgba(244, 193, 42, 0.14);
  transform: translateY(-2px);
}
.interests-poll-tile-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
/* The casual-tile art (a wide, flat cruiser bike) fills far less of its own square canvas than the
   other 5 icons' more compact/vertical subjects do, so it reads smaller at the same box size. */
[data-interest-key='casual'] .interests-poll-tile-icon {
  width: 76px;
  height: 76px;
}
.interests-poll-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 6px;
  gap: 10px;
}

/* Phones (VIEW_REQUIREMENTS.md §4): gated on input capability. One column instead of two, and the
   card scrolls inside a short landscape viewport rather than letting buttons push off-screen. */
@media (hover: none) and (pointer: coarse) {
  .interests-poll-grid {
    grid-template-columns: 1fr;
  }
  .celebration__card--interests {
    max-height: 100dvh;
    overflow-y: auto;
  }
}
