/**
 * ModalGameWizard.css
 * Styles for the guided new-game wizard. Design-token only (Theme tier
 * --color-* tokens; no Core palette).
 */

.wizard-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow: hidden;
}

.wizard-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.wizard-back {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--color-text-dark);
}

.wizard-back:hover,
.wizard-back:focus-visible {
  color: var(--color-text);
  outline: none;
  text-decoration: underline;
}

.wizard-description {
  flex-shrink: 0;
}

.wizard-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* The same picker tile the tutorials grid lays out on (--tile-pick-min,
   common/style.css; .section-part-grid in Section.css). */
.wizard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--tile-pick-min), 1fr));
  align-content: start;
  gap: var(--space-2);
}

/* Tiles reuse the .project-card look (Section.css); add only the
   keyboard-focus ring. */
.wizard-tile:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Subheading sits in the footer below the thumbnail, matching the
   play/share/remix/like button row on game cards. */
.wizard-tile-desc {
  flex: 1;
  padding: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-dark);
}
