/* Keep the artwork-free shared lobby compact in narrow desktop panes. */
.na-game-shell {
  width: min(calc(100% - 24px), 560px);
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  border-width: 2px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(36, 19, 60, .14);
}

.na-game-shell__body { padding: clamp(14px, 2.5vw, 20px); }
.na-game-shell h1 {
  max-width: 18ch;
  color: var(--na-purple);
  font-size: clamp(25px, 3.4vw, 34px);
  line-height: 1;
  letter-spacing: -.035em;
}
.na-game-shell__description {
  max-width: 48ch;
  margin: 6px 0 10px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.32;
}
.na-game-shell__actions {
  display: grid;
  gap: 7px;
  align-items: center;
}
.na-game-shell__levels--inline { padding: 0; background: transparent; overflow: visible; }
.na-game-shell__levels--inline { gap: 7px; }
.na-game-shell__levels--inline .na-game-shell__level { min-height: 50px; padding: 6px 10px; border-width: 1.5px; }
.na-game-shell__levels--inline .na-game-shell__level small { font-size: 10px; }
.na-game-shell__levels--inline .na-game-shell__level strong { font-size: 15px; }
.na-game-shell__levels--inline .na-game-shell__level em { font-size: 12px; line-height: 1.18; }
.na-game-shell__primary {
  width: auto;
  min-width: 180px;
  min-height: 48px;
  gap: 24px;
  padding: 10px 16px;
  border-width: 2px;
  border-radius: 11px;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(36, 19, 60, .16);
}
.na-game-shell__primary:active { transform: translateY(1px); box-shadow: 0 2px 5px rgba(36, 19, 60, .16); }
.na-game-shell__utilities { display:flex;justify-content:space-between;gap:16px;margin-top: 1px; }
.na-game-shell__how {
  min-height: 42px;
  padding: 0 15px;
  border: 2px solid var(--na-purple);
  border-radius: 11px;
  background: #fff;
  text-decoration: none;
}
.na-game-shell__how:hover,.na-game-shell__how:focus-visible { background: #f5efff; outline: 3px solid #ff4f9638; outline-offset: 2px; }
.na-game-shell__arcade { min-height:42px; font-size:14px; }
.na-game-shell__mount--starting {
  position:relative;
  min-height:clamp(360px,62svh,680px);
  visibility:hidden;
}
.na-game-shell__mount--starting::before {
  content:"Starting game…";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  visibility:visible;
  border:2px solid #e6e0ff;
  border-radius:18px;
  background:#fff8ee;
  color:#24133c;
  font-family:var(--wp--preset--font-family--heading);
  font-size:16px;
  font-weight:800;
}

@media (max-width: 700px) {
  .na-game-shell {
    height: auto;
    min-height: 0;
    grid-template-rows: none;
  }

  .na-game-shell__actions { display:grid;gap:7px; }

  .na-game-shell__primary { min-width: 0; flex: 1 1 auto; }
  .na-game-shell__utilities { flex: 0 0 auto; margin-top: 0; }
  .na-game-shell__utilities:empty { display: none; }
  .na-game-shell__how { white-space: nowrap; }
}

@media (max-width: 390px) {
  .na-game-shell__actions { align-items: stretch; flex-direction: column; }
  .na-game-shell__primary,.na-game-shell__utilities,.na-game-shell__how { width: 100%; }
}

@media (max-height: 620px) and (max-width: 700px) {
  .na-game-shell__body { padding-block: 10px; }
  .na-game-shell h1 { font-size: clamp(25px, 7vw, 32px); }
  .na-game-shell__description { margin-block: 5px 8px; }
  .na-game-shell__utilities { margin-top: 4px; }
}

/* Oncology lobby: breathing room without changing the board or other games. */
.na-game-shell[data-na-game-shell="oncology-match"] {
  margin-block: 24px 40px;
}
.na-game-shell[data-na-game-shell="oncology-match"] .na-game-shell__body {
  padding: clamp(24px, 4vw, 36px);
}
.na-game-shell[data-na-game-shell="oncology-match"] .na-game-shell__eyebrow {
  margin-bottom: 12px;
}
.na-game-shell[data-na-game-shell="oncology-match"] .na-game-shell__description {
  margin-block: 16px 24px;
  line-height: 1.5;
}
.na-game-shell[data-na-game-shell="oncology-match"] .na-game-shell__actions {
  gap: 20px;
}
