/* omnifit: le domande dopo l'iscrizione (js/welcome.js), a tutto schermo, e «Tu e i tuoi sport» nel Profilo.
   I colori degli sport arrivano dalle classi s-… (--c) di styles.css. */
#welcomeDlg.is-first { inset: 0; width: 100%; max-width: 100%; height: 100%; padding: 0; border: 0; background: var(--bg); }
#welcomeDlg.is-first::backdrop { background: var(--bg); }

/* come la schermata di accesso (login.css): ‹ e la barra dei passi in alto, titolo semplice, pulsante tondo in fondo */
.wl-first {
  min-height: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; box-sizing: border-box;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 22px calc(18px + env(safe-area-inset-bottom, 0px));
}
.wl-top { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.wl-back { flex: none; margin-left: -10px; width: 44px; height: 44px; color: var(--ink); }
.wl-back svg { width: 26px; height: 26px; }
.wl-main { flex: 1; padding-top: 22px; }
.wl-first h1 { margin: 0 0 20px; font: 700 28px/1.15 var(--f-body); letter-spacing: -.01em; }
.wl-first h1:has(+ .wl-sub) { margin-bottom: 0; }
.wl-sub { margin: 8px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.wl-foot { padding-top: 18px; }
.wl-go { width: 100%; min-height: 54px; justify-content: center; border-radius: 27px; font-size: 17px; }

.wl-f { display: grid; gap: 7px; margin: 0 0 16px; min-width: 0; }
.wl-k { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wl-k2 { display: block; margin: 4px 0 8px; }
.wl-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-seg button {
  min-height: 54px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
  font: 600 17px/1 var(--f-body); cursor: pointer;
}
.wl-seg button[aria-checked="true"] {
  border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.wl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wl-in {
  display: flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.wl-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.wl-in input { flex: 1; width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: none; color: var(--ink); font: 600 21px/1 var(--f-body); }
.wl-in i { font-style: normal; font-weight: 600; color: var(--muted); }

.wl-sports { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wl-sp {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 100px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.wl-sp:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 76px; flex-direction: row; align-items: center; }
.wl-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.wl-ic svg { width: 25px; height: 25px; }
.wl-l { font: 700 19px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.wl-ck {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--line); color: transparent;
}
.wl-sp:last-child:nth-child(odd) .wl-ck { top: 50%; transform: translateY(-50%); }
.wl-ck svg { width: 16px; height: 16px; }
.wl-sp[aria-pressed="true"] { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); background: color-mix(in srgb, var(--c) 7%, var(--surface)); }
.wl-sp[aria-pressed="true"] .wl-ck { border-color: var(--c); background: var(--c); color: #fff; }

.wl-edit { padding-top: 16px; }
