/* ============================================================
   /crear — elegir juego -> opciones -> resultado.
   Todo sale de los componentes de app.css (choice, field, btn);
   aquí solo va la disposición propia del flujo.
   ============================================================ */
.create-shell { max-width: 820px; }
.create-group { margin: var(--s-6) 0 var(--s-3); font-size: var(--t-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.create-group:first-child { margin-top: 0; }

.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 640px) { .type-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); } }
.type-card {
  display: flex; align-items: center; gap: var(--s-4); width: 100%; text-align: left;
  padding: 16px 18px; border-radius: var(--r-lg); cursor: pointer; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--dur), box-shadow var(--dur);
  touch-action: manipulation;
}
.type-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.type-card:hover svg.chev { transform: translateX(3px); color: var(--ink); }
.type-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.type-name { font-weight: 600; }
.type-desc { font-size: var(--t-sm); color: var(--muted); line-height: 1.4; }

.back-link { background: none; border: 0; padding: 0; margin: 0 0 var(--s-4); cursor: pointer; font: inherit; font-size: var(--t-sm); }
.back-link svg { width: 15px; height: 15px; }
.form-title { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-5); }
.form-title .form-h2 { margin: 0; }
.field input.field-big { font-size: 1.05rem; min-height: 50px; }
.field textarea { font-family: var(--font-num); font-size: .9rem; }
.mode-panel { margin-top: -6px; }

.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 44px); text-align: center; }
.result-card .form-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-xl); margin-bottom: var(--s-4); }
.loading-card { padding: 56px 24px; }
.loading-card .spinner { margin: 0 auto 18px; }
#loading-text { font-weight: 600; margin: 0 0 4px; }
.result-warnings { text-align: left; list-style: none; margin: 0 0 var(--s-5); padding: 12px 16px; background: var(--warn-weak); color: var(--ink); border-radius: var(--r-md); font-size: var(--t-sm); }
.result-warnings li + li { margin-top: 6px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--s-2); }
.result-actions-secondary { margin-top: var(--s-3); }
.result-actions-secondary .btn { min-height: 38px; font-size: var(--t-sm); }
@media (max-width: 480px) {
  .result-actions .btn-lg { width: 100%; }
}
