/* ═══════════════════════════════════════════════════════════
   الأسئلة الشخصية: الجنس، السن، سلايدر «صحة صلاتك»، سؤال العورة
   ═══════════════════════════════════════════════════════════ */

/* ═══════════ الأسئلة الشخصية ═══════════ */
.onb { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; padding: 2rem; background: rgba(243, 234, 220, .74); backdrop-filter: blur(18px); }
.onb__box { width: min(60rem, 100%); text-align: center; }
.onb__dots { list-style: none; display: flex; justify-content: center; gap: .6rem; margin: 0 0 2.4rem; padding: 0; }
.onb__dots li { width: 2.6rem; height: 5px; border-radius: 3px; background: rgba(36, 50, 43, .14); transition: background .4s; }
.onb__dots li.is-on { background: var(--ink); }
.onb__step { margin: 0 0 1rem; color: var(--gold); font-weight: 600; font-size: 1rem; }
.onb__q { margin: 0 auto 3.2rem; max-width: 24ch; font-family: var(--display); font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.3; }
.onb__opts { display: flex; justify-content: center; gap: 1.8rem; flex-wrap: wrap; }
.tile {
  width: 15rem; padding: 2.2rem 1.6rem 2rem; border-radius: 30px;
  background: var(--paper); border: 2px solid transparent; box-shadow: var(--shadow);
  display: grid; justify-items: center; align-content: start; gap: 1.2rem;
  transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.tile:hover, .tile:focus-visible { transform: translateY(-6px); border-color: var(--mint-d); outline: none; }
.tile.is-picked { border-color: var(--ink); background: #fff; }
.tile__icon { width: 8rem; height: 8rem; display: grid; place-items: center; border-radius: 50%; background: var(--sand); overflow: hidden; }
.tile__icon svg { width: 84%; height: 84%; overflow: visible; }
.tile__img { width: 58%; height: 58%; background: var(--ink); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.tile__t { font-size: 1.15rem; font-weight: 600; line-height: 1.55; }
.tile__s { font-size: .9rem; color: var(--ink-2); margin-top: -.7rem; }
.tile--wide { width: 19rem; }
.tile--wide .tile__icon { width: 9.5rem; height: 9.5rem; }
.tile--wide .tile__icon svg { width: 80%; height: 80%; }
.onb__back { margin-top: 2.2rem; background: none; border: 0; color: var(--ink-2); font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; }

/* أيقونات الأشخاص */
.ico-fig { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.ico-acc { fill: var(--mint-d); }
.ico-acc-2 { fill: var(--gold); }
.ico-shade { fill: var(--red); opacity: .85; }
.ico-ok { fill: var(--mint-d); opacity: .9; }

/* ═══════════ سلايدر «صحة صلاتك» ═══════════ */
.conf { --hue: 50; width: min(34rem, 100%); margin: 0 auto; padding: 2.2rem 2.4rem 2.4rem; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.conf__val { display: grid; gap: .2rem; margin-bottom: 1.6rem; }
.conf__val b { font-family: var(--display); font-size: 4.2rem; line-height: 1.1; color: hsl(calc(var(--hue) * 1.1) 45% 38%); transition: color .3s; }
.conf__val span { font-weight: 600; color: var(--ink-2); }
.conf__track { position: relative; height: 1rem; border-radius: 1rem; background: var(--sand); }
.conf__fill { position: absolute; top: 0; bottom: 0; border-radius: 1rem; background: hsl(calc(var(--hue) * 1.1) 45% 45%); transition: background .3s; }
.conf__range { position: absolute; inset: -1rem 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; }
.conf__track::after { content: ''; position: absolute; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; border-radius: 50%; background: #fff; border: 3px solid hsl(calc(var(--hue) * 1.1) 45% 40%); box-shadow: var(--shadow); pointer-events: none; inset-inline-start: calc(var(--hue) * 1% - 1rem); }
.conf__ends { display: flex; justify-content: space-between; margin: .8rem 0 2rem; font-size: .85rem; color: var(--ink-2); }

/* ── الموبايل ── */
@media (max-width: 760px) {
  .onb__q { font-size: 2.8rem; }
  .onb__opts { gap: 1.2rem; flex-wrap: nowrap; }
  .tile { width: 28vw; padding: 1.8rem 1rem 1.6rem; border-radius: 22px; }
  .tile--wide { width: 40vw; }
  .tile__icon { width: 7rem; height: 7rem; }
  .tile--wide .tile__icon { width: 8rem; height: 8rem; }
  .tile__t { font-size: 1.25rem; }
  .tile__s { font-size: 1.05rem; }
  .conf__val b { font-size: 5rem; }
}
