.kiosk-bg {
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.16), transparent 30rem),
    linear-gradient(135deg, #f8f9fa 0%, #eef3f8 100%);
}

.survey-card {
  border-radius: 1.25rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.survey-card:hover,
.survey-card:focus {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px);
}

.survey-logo {
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
}

.survey-logo-lg {
  max-height: 96px;
  max-width: 260px;
  object-fit: contain;
}

.survey-page {
  position: relative;
  overflow-x: hidden;
}

.survey-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.72), transparent 18rem),
    radial-gradient(circle at 86% 8%, rgba(13, 110, 253, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent 42%);
}

.survey-kicker,
.question-count {
  align-self: flex-start;
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5c667a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.8rem;
}

.survey-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.survey-form {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.survey-reset-button {
  position: fixed;
  top: calc(max(1.25rem, env(safe-area-inset-top)) + 0.5rem);
  right: calc(max(1.25rem, env(safe-area-inset-right)) + 0.5rem);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.survey-reset-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 1em;
  transform: translateY(-0.04em);
}

.survey-reset-button:hover,
.survey-reset-button:focus {
  border-color: #adb5bd;
  background: #fff;
  color: #212529;
  transform: scale(1.03);
}

.survey-reset-button[hidden] {
  display: none !important;
}

.survey-cover {
  min-height: min(720px, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.survey-primary-action {
  align-self: center;
  min-width: min(100%, 320px);
  padding-block: 0.95rem;
}

.survey-progress-wrap {
  background: #fff;
}

.survey-progress {
  height: 0.72rem;
  border-radius: 999px;
  background: #eef2f7;
}

.survey-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6efd, #6ea8fe);
  transition: width 180ms ease;
}

.survey-progress-label,
.survey-progress-percent {
  color: #5c667a;
  font-size: 0.9rem;
  font-weight: 700;
}

.survey-step[hidden] {
  display: none !important;
}

.survey-question {
  margin-bottom: 0 !important;
  min-height: min(560px, calc(100vh - 16rem));
}

.survey-option-grid {
  display: grid;
  gap: 0.75rem;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  background: #fff;
  cursor: pointer;
  padding: 1rem 1.1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.survey-option:hover,
.survey-option:focus-within,
.survey-option:has(.form-check-input:checked) {
  border-color: #0d6efd;
  box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.1);
  transform: translateY(-1px);
}

.survey-option .form-check-input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
}

.survey-option span {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}

.survey-textarea {
  border-radius: 1rem;
  font-size: 1.05rem;
  padding: 1rem;
}

.survey-file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  border: 1px dashed #9bbcf8;
  border-radius: 1.25rem;
  background: #f8fbff;
  cursor: pointer;
  padding: 2rem;
  text-align: center;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.survey-file-drop:hover,
.survey-file-drop:focus-within {
  border-color: #0d6efd;
  background: #f3f8ff;
  box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.08);
}

.survey-file-icon {
  color: #0d6efd;
  font-size: 2.4rem;
  line-height: 1;
}

.survey-file-title {
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 0.75rem;
}

.survey-file-hint {
  color: #6b7280;
  margin-top: 0.35rem;
}

.survey-file-drop input {
  max-width: 28rem;
  margin-top: 1.25rem;
}

.survey-group-error {
  display: none !important;
  margin-top: 0.6rem;
}

.survey-group-error.is-visible,
.survey-step-error.is-visible {
  display: block !important;
}

.survey-step-error {
  display: none !important;
  margin-top: 0.85rem;
}

.survey-submit {
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -0.75rem 1.5rem rgba(255, 255, 255, 0.82);
}

@media (min-width: 768px) {
  .survey-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Экран «Спасибо», кастомный текст с формы */
.player-completion-message {
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .survey-page {
    padding-top: 2rem !important;
  }

  .survey-submit .d-flex {
    flex-direction: column;
  }

  .survey-option span {
    font-size: 1rem;
  }
}
