/* Main home: professional chess, clear difficulty selection and a single play action. */
body[data-screen='lobby'] .shell { max-width: 1240px; }
body .lobby-scene {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: 'header header' 'intro art' 'controls art' 'thesis thesis';
  column-gap: 28px; row-gap: 28px;
  padding: 28px 32px; min-height: 0;
  background: radial-gradient(ellipse at 80% 40%, #26394a80, transparent 65%), #101c29;
  overflow: visible;
}
body .lobby-scene::after { display: none; }
body .lobby-copy { display: contents; }
body .lobby-copy > .eyebrow,
body .lobby-utility-row { display: none; }
body .landing-header { grid-area: header; z-index: 20; flex-wrap: nowrap; gap: 16px; }
body .game-brand { margin-right: auto; }
body .landing-navigation { flex-basis: auto; min-width: 0; order: 1; }
body .landing-header > .audio-toggle { order: 2; flex-shrink: 0; }
body .landing-nav { gap: 8px 12px; font-size: .875rem; }
body .landing-thesis { grid-area: thesis; margin: 4px 0 0; max-width: 65ch; font-size: .9375rem; font-weight: 500; }
body .landing-nav { justify-content: flex-start; }
.home-intro { grid-area: intro; align-self: end; }
body .lobby-copy h1 { max-width: none; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.1; margin: 0; }
.home-intro h1 span { display: block; }
.home-intro h1 span + span { color: #f0c276; }
body .lobby-copy .lede { max-width: 52ch; margin: 18px 0 0; font-size: 1rem; line-height: 1.55; }
.home-art { grid-area: art; align-self: center; min-width: 0; margin: 0 -24px 0 -12px; pointer-events: none; }
.home-art img { display: block; width: 100%; height: auto; mask-image: radial-gradient(ellipse, #000 52%, transparent 74%); }
body .lobby-controls { grid-area: controls; gap: 14px; margin: 0; min-width: 0; }
body .difficulty-picker .label { font-size: 1.125rem; font-weight: 800; }
body .difficulty-choice { min-height: 68px; padding-left: 48px; align-content: center; }
.home-difficulty-piece { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 40px; pointer-events: none; }
body .difficulty-choice-rating { display: none; }
body .lobby-start-button { min-height: 64px; font-size: 1.375rem; }
.home-lives { text-align: center; margin-top: 2px; }
.home-lives > span { display: inline-flex; gap: 16px; line-height: 1; }
.home-lives .life-heart { width: 28px; height: 28px; }
.home-lives p { margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
body[data-screen='lobby'] .game-stage { display: none; }
@media (max-width: 899px) {
  body .lobby-scene { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'header' 'intro' 'art' 'controls' 'thesis'; max-width: 620px; margin-inline: auto; padding: 22px; gap: 22px; }
  body .landing-header { flex-direction: row; flex-wrap: wrap; }
  body .landing-navigation { order:3; flex-basis:100%; }
  body .landing-header > .audio-toggle { order:2; }
  body .lobby-copy h1 { font-size: clamp(1.875rem, 5.8vw, 2.5rem); }
  .home-art { width: calc(100% + 36px); margin: -24px -18px -26px; }
  .home-art img { mask-image: linear-gradient(180deg, transparent, #000 15%, #000 83%, transparent); }
}
@media (max-width: 699px) {
  body .lobby-scene { padding: 16px; gap: 20px; }
  body .landing-header { flex-wrap: nowrap; gap: 8px; }
  body .landing-navigation { flex-basis: auto; order: 2; }
  body .landing-header > .audio-toggle { order: 1; }
  body .game-brand { gap: 8px; min-width: 0; font-size: 1rem; }
  body .game-brand img { width: 32px; height: 38px; object-fit: contain; }
  body .landing-navigation-toggle { padding: 8px; font-size: .875rem; gap: 6px; }
  body .landing-header .audio-toggle { width: 44px; min-width: 44px; height: 48px; min-height: 48px; padding: 10px; }
  body .lobby-copy .lede { font-size: .9375rem; margin-top: 12px; }
  body .difficulty-choice { min-height: 60px; padding-left: 40px; }
  .home-difficulty-piece { width: 28px; left: 6px; }
  body .difficulty-choice-title { font-size: 1rem; }
  body .lobby-controls { gap: 12px; }
  body .lobby-start-button { min-height: 60px; }
}

@media (max-width: 699px) {
  .home-art { margin: -18px -18px -20px; }
  .home-art img { height: clamp(130px, 42vw, 190px); object-fit: cover; object-position: center 60%; }
  body .landing-thesis { font-size: .875rem; margin-top: 0; }
}
@media (max-width:360px) {
  body .lobby-scene { gap:16px; }
  .home-art img { height:120px; }
}
