/* S4 · Акинатор-вопрос — обновлённый макет Figma (S3.1, node 10367:6374).
   Три вопроса прогоняются через один экран (app.js). Выделение — по нажатию на строку. */


.s4-back { position: absolute; left: 32px; top: 226px; white-space: pre; cursor: pointer;
  font-weight: 500; font-size: 28px; line-height: 1.2; color: rgba(255,255,255,0.85); }

.s4-lead { position: absolute; left: 56px; top: 290px; white-space: nowrap;
  font-weight: 700; font-size: 44px; line-height: 1.2; color: #fff; }

/* Участник — строкой под заголовком: карточка вокруг него съедала высоту вопроса */
.s4-part-card { display: none; }
.s4-part { position: absolute; left: 56px; top: 356px; white-space: nowrap;
  font-weight: 400; font-size: 25px; line-height: 1.2; color: rgba(255,255,255,0.7); }

/* Большая карточка вопроса (содержит поток и «Далее») */
.s4-card { position: absolute; left: 56px; top: 410px; width: 968px; height: 970px;
  background: rgba(255,255,255,0.07); border-radius: 20px; }

/* Поток: номер вопроса → вопрос → варианты (padding внутри карточки) */
.s4-body { position: absolute; left: 51px; top: 44px; width: 866px; }
.s4-qnum { font-weight: 500; font-size: 24px; line-height: normal; letter-spacing: 3px; color: #90d9f4; }
.s4-question { margin-top: 24px; font-weight: 700; font-size: 48px; line-height: 1.2; color: #fff; }

/* Подсказка про множественный выбор + счётчик сходимости */
.s4-hint { margin-top: 12px; font-weight: 400; font-size: 24px; line-height: 1.2;
  color: rgba(255,255,255,0.6); }
.s4-hint:empty { display: none; }
.s4-count { margin-top: 8px; font-weight: 400; font-size: 24px; line-height: 1.2; color: #90d9f4; }

/* Варианты не должны заезжать под кнопку «Далее» — область ограничена и прокручивается */
.s4-options { margin-top: 24px; display: flex; flex-direction: column; gap: 14px;
  max-height: 560px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.s4-options::-webkit-scrollbar { width: 0; height: 0; }
.s4-opt { flex: 0 0 auto; }
.s4-opt { background: rgba(255,255,255,0.08); border: 2px solid transparent; border-radius: 18px;
  padding: 22px 24px; font-weight: 500; font-size: 28px; line-height: 1.18; color: rgba(255,255,255,0.95);
  cursor: pointer; transition: background .12s, border-color .12s;
  display: flex; align-items: center; gap: 20px; }
.s4-opt-l { flex: 1; }
.s4-opt-n { flex: none; min-width: 56px; padding: 4px 14px; border-radius: 14px; text-align: center;
  background: rgba(144,217,244,0.18); font-size: 22px; color: #cdeefb; }
.s4-skip { background: rgba(255,255,255,0.04); font-size: 26px; color: rgba(255,255,255,0.6); }
.s4-opt.selected { background: rgba(144,217,244,0.18); border-color: rgba(144,217,244,0.9); }

/* Кнопка «Далее» — прикреплена к низу карточки */
.s4-next { position: absolute; left: 43px; top: 840px; width: 875px; height: 100px;
  background: #fff; border-radius: 20px; box-shadow: 0 8px 10px rgba(10,13,20,0.3); cursor: pointer; }
.s4-next-l { position: absolute; left: 43px; top: 868px; width: 875px; text-align: center;
  font-weight: 600; font-size: 32px; line-height: 1.2; color: #1c558d; pointer-events: none; }
