/* =====================================================================
   Poor Life Choices — desktop / wide-screen layout
   ===================================================================== */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: rgba(11, 10, 16, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #fff, var(--c-gold), var(--c-magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar__meta { display: flex; align-items: center; gap: 14px; }

/* Play grid */
.play-grid {
  max-width: 1320px; margin: 0 auto; padding: 24px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}
.play-grid > .panel { position: sticky; top: 80px; }

.stage {
  display: flex; flex-direction: column; gap: 24px;
  min-height: 60vh;
}
.stage__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stage__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0; }

.prompt-wrap { display: flex; justify-content: center; }
.prompt-wrap .card--prompt { max-width: 560px; width: 100%; }

/* Hand / answers grid */
.hand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

/* Scoreboard sidebar header */
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.side-head h3 { font-family: var(--font-display); font-weight: 600; margin: 0; font-size: 1.15rem; }

.roomcode--sm { font-size: 1.5rem; padding: 10px 16px; letter-spacing: 0.2em; }

.controls { display: flex; flex-direction: column; gap: 10px; }

.judge-banner {
  text-align: center; padding: 18px;
  border-radius: var(--r-md);
  background: rgba(240, 198, 75, 0.08);
  border: 1px solid rgba(240, 198, 75, 0.3);
  color: var(--c-gold);
  font-weight: 650;
}

.bigcount {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600;
  color: var(--c-ink);
}

/* Home hero */
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 760px; }
@media (max-width: 720px) { .hero-actions { grid-template-columns: 1fr; } }

/* Settings grid in create modal */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Responsive collapse to stacked layout */
@media (max-width: 1000px) {
  .play-grid { grid-template-columns: 1fr; }
  .play-grid > .panel { position: static; }
}
