@media (max-width: 768px) {
  .welcome-background-animation,
  .about-background-animation,
  .exam-background-animation,
  .results-background-animation {
    display: none !important;
  }

  /* ========== Упрощённые анимации для мобильной — минимум лагов, только лёгкая обратная связь ========== */
  /* Отключить все бесконечные и декоративные анимации на мобильной */
  .topbar,
  .topbar::before,
  .topbar::after,
  .logo,
  .panel::before,
  .hero-content,
  .hero-content::before,
  .hero-content::after,
  #about-screen .hero-title,
  .hero-decorative,
  .hero-decorative::before,
  .hero-decorative .decorative-line,
  .hero-decorative .decorative-dot,
  .qImg::before,
  .btn-start,
  .results-header-bar,
  .results-header-bar::after,
  .result,
  .result::before,
  .certificate-actions .btn,
  .certificate-actions .btn::before,
  .creator-card,
  .creator-card::before,
  .creator-avatar,
  .creator-avatar::before,
  .language-selector,
  .hero-subtitle,
  .hero-actions,
  .creators-grid .creator-card,
  .category-section,
  .category-section-header,
  .category-section-name,
  .category-section-progress {
    animation: none !important;
    animation-duration: unset !important;
    animation-iteration-count: unset !important;
  }
  /* Убрать will-change на мобильной — меньше слоёв композитора */
  *,
  *::before,
  *::after {
    will-change: auto !important;
  }
  /* Экран: только короткое появление по opacity */
  .screen.active {
    animation: mobileScreenIn 0.2s ease-out forwards !important;
  }
  .screen.active.no-animation {
    animation: none !important;
  }
  @keyframes mobileScreenIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  /* Карточка вопроса: короткий fade при смене (out + in) */
  .qCard.question-transitioning.question-forward,
  .qCard.question-transitioning.question-backward {
    animation: mobileQOut 0.1s ease-out forwards !important;
  }
  .qCard.question-slide-in.question-forward,
  .qCard.question-slide-in.question-backward {
    animation: mobileQIn 0.12s ease-out forwards !important;
  }
  @keyframes mobileQOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  @keyframes mobileQIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  /* Анимация только на кнопки-точки (тап по номеру вопроса), бокс категории без анимаций */
  .category-q-dot.question-dot-clicked {
    animation: mobileDotTap 0.15s ease-out forwards !important;
  }
  @keyframes mobileDotTap {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
  /* Кнопки навигации: лёгкий миг при тапе */
  .btn.nav-btn-clicked,
  .btn.primary.nav-btn-clicked {
    animation: mobileDotTap 0.15s ease-out forwards !important;
  }
  /* Меньше нагрузки на GPU: отключить blur на мобильной где возможно */
  .hero-content,
  .overlay,
  .name-modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Убрать «залипание» выделения кнопок/ссылок на телефоне при переходе между экранами */
  .btn,
  .btn-start,
  button,
  a,
  .language-card,
  .category-q-dot,
  .quiz-opt {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }
  .btn:focus,
  .btn-start:focus,
  button:focus,
  a:focus {
    outline: none;
  }

  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: static !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
    min-height: 100dvh;
  }

  html {
    height: 100%;
  }

  body {
    background-attachment: scroll;
    min-height: 100vh;
    min-height: 100dvh;
    background-size: cover;
    background-position: center;
  }

  /* Скрыть все неактивные экраны — только один активный виден */
  .screen {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .screen.active {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible !important;
    visibility: visible !important;
    position: relative !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .landing {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
  }

  .landing .wrap {
    padding: 12px 16px;
    flex-shrink: 0;
  }

  .hero {
    overflow: visible !important;
    max-height: none !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 24px 16px 20px;
  }

  .hero-content {
    overflow: hidden !important;
    max-height: none !important;
    padding: 24px 16px !important;
    border-radius: 16px !important;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .hero-content::before,
  .hero-content::after {
    border-radius: 16px !important;
  }

  .hero-title {
    font-size: clamp(22px, 5.5vw, 28px) !important;
    margin: 0 0 10px 0;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 15px !important;
    margin: 0 0 20px 0;
    padding: 0 4px;
    line-height: 1.5;
  }

  .language-selector {
    margin: 20px 0 16px;
  }

  .language-label {
    font-size: 11px;
    margin-bottom: 14px;
    letter-spacing: 1px;
  }

  .language-cards {
    gap: 12px;
    max-width: 100%;
    padding: 0 4px;
  }

  .language-card {
    min-width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding: 20px 14px;
    border-radius: 16px;
    background: rgba(132, 242, 155, 0.06);
    border: 1px solid rgba(132, 242, 155, 0.18);
    box-shadow: none;
    overflow: hidden;
    position: relative;
  }

  .language-flag {
    margin-bottom: 10px;
    min-height: 32px;
  }

  .language-flag svg {
    width: 42px;
    max-height: 28px;
  }

  .language-name {
    font-size: 14px;
  }

  .language-check {
    width: 26px;
    height: 26px;
    top: 10px;
    right: 10px;
  }

  .hero-actions {
    margin-bottom: 20px;
    padding: 0 4px;
    gap: 12px;
    flex-direction: column;
  }

  .btn-start,
  .hero-actions .btn.ghost {
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 14px;
    min-height: 48px;
  }

  .btn-start .arrow {
    width: 22px;
    height: 22px;
  }

  .hero-decorative {
    margin-top: 20px;
    padding-top: 20px;
    gap: 10px;
    max-width: 260px;
  }

  .decorative-dot {
    width: 6px;
    height: 6px;
  }

  #about-screen .hero-content {
    padding: 24px 16px !important;
    max-width: 95% !important;
  }

  #about-screen .hero-title {
    font-size: clamp(22px, 5vw, 28px) !important;
    margin-bottom: 16px;
  }

  .creators-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    padding: 0 8px;
    width: 100%;
  }

  .creator-card {
    padding: 28px 20px;
    border-radius: 20px;
    background: rgba(132, 242, 155, 0.05);
    border: 1px solid rgba(132, 242, 155, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
  }

  .creator-avatar {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
  }

  .creator-name {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .creator-role {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .creator-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* О создателях: убрать все анимации при наведении на мобильной */
  .creator-card:hover {
    background: rgba(132, 242, 155, 0.05);
    border-color: rgba(132, 242, 155, 0.15);
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  .creator-card:hover::before,
  .creator-card:hover::after {
    opacity: 0 !important;
  }
  .creator-card:hover .creator-avatar {
    border-color: rgba(132, 242, 155, 0.2);
    transform: none;
    box-shadow: none;
  }
  .creator-card:hover .creator-avatar::before {
    opacity: 0 !important;
  }
  .creator-card:hover .creator-avatar img {
    transform: none;
  }
  .creator-card:hover .creator-name {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: inherit;
    background-clip: unset;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 12px;
  }

  .panel.right {
    order: -1;
  }

  .wrap {
    padding: 12px 14px;
  }

  .panel {
    border-radius: 16px;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(23, 25, 23, 0.6);
    border: 1px solid rgba(132, 242, 155, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: none;
  }

  .panel::before {
    display: none;
  }

  .panel .head {
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .panel .head .title {
    font-size: 16px;
  }

  .panel .head .subtitle {
    font-size: 12px;
  }

  .panel .body {
    padding: 14px 16px;
  }

  .qCard {
    padding: 16px;
    border-radius: 14px;
  }

  .qNum {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .qTitle {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  .qHint {
    font-size: 13px;
    margin-top: 6px;
  }

  .progressRow {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }

  .progressText {
    font-size: 12px;
  }

  .bar {
    height: 10px;
    border-radius: 5px;
  }

  .quiz-answers {
    gap: 10px;
  }

  .quiz-opt {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    box-shadow: 0 2px 6px rgba(132, 242, 155, 0.1);
    backdrop-filter: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .quiz-opt:hover {
    transform: none;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    box-shadow: 0 4px 12px rgba(132, 242, 155, 0.2);
  }

  .quiz-opt.selected {
    transform: none;
    border-color: rgba(132, 242, 155, 0.6);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.12) 100%);
    box-shadow:
      0 0 0 2px rgba(132, 242, 155, 0.25),
      0 4px 16px rgba(132, 242, 155, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .quiz-opt.selected::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
  }

  .quiz-opt-marker {
    width: 34px;
    height: 34px;
    font-size: 13px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .quiz-opt.selected .quiz-opt-marker {
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%);
    border-color: rgba(132, 242, 155, 0.6);
    color: #000000;
    box-shadow:
      0 2px 8px rgba(132, 242, 155, 0.4),
      0 0 0 2px rgba(132, 242, 155, 0.2);
    transform: scale(1.05);
  }

  .quiz-opt-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
  }

  .quiz-opt.selected .quiz-opt-text {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
  }

  /* Да/Нет — как на десктопе */
  .quiz-answers.yesno-answers .quiz-opt.selected,
  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="0"],
  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="1"] {
    transform: none;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.25) 0%, rgba(132, 242, 155, 0.15) 100%);
    border-color: rgba(132, 242, 155, 0.7);
    box-shadow:
      0 0 0 2px rgba(132, 242, 155, 0.25),
      0 6px 20px rgba(132, 242, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="0"] {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow:
      0 0 0 2px rgba(76, 175, 80, 0.2),
      0 6px 20px rgba(76, 175, 80, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="1"] {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(244, 67, 54, 0.1) 100%);
    border-color: rgba(244, 67, 54, 0.5);
    box-shadow:
      0 0 0 2px rgba(244, 67, 54, 0.2),
      0 6px 20px rgba(244, 67, 54, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected .yesno-icon {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected .yesno-icon-yes {
    background: rgba(132, 242, 155, 0.25);
    border-color: rgba(132, 242, 155, 0.5);
    color: #84F29B;
  }

  .quiz-answers.yesno-answers .quiz-opt.selected .yesno-icon-no {
    background: rgba(255, 180, 140, 0.2);
    border-color: rgba(255, 180, 140, 0.45);
    color: rgba(255, 200, 150, 1);
  }

  /* Плавная смена выбора (переопределяем глобальный transition: none для вариантов ответа) */
  .quiz-opt,
  .quiz-opt::before,
  .quiz-opt .quiz-opt-marker,
  .quiz-answers.yesno-answers .quiz-opt .yesno-icon {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease !important;
  }

  .quiz-answers.yesno-answers {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .quiz-answers.yesno-answers .quiz-opt {
    min-height: 72px;
    padding: 16px 12px;
    gap: 10px;
  }

  .quiz-answers.yesno-answers .yesno-icon {
    width: 40px;
    height: 40px;
  }

  .quiz-answers.yesno-answers .yesno-icon svg {
    width: 22px;
    height: 22px;
  }

  .quiz-answers.yesno-answers .quiz-opt-text {
    font-size: 18px;
  }

  .text-answer-input {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 12px;
  }

  .text-answer-hint {
    font-size: 12px;
    margin-top: 10px;
  }

  .navRow {
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav-buttons-group {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: stretch;
  }

  .navRow .btn {
    flex: 1;
    min-height: 48px;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 12px;
  }

  .statGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat {
    padding: 12px;
    border-radius: 12px;
  }

  .rules {
    padding: 12px;
    font-size: 12px;
    margin-top: 12px;
  }

  #categories-panel {
    margin-top: 10px;
    gap: 10px;
    contain: layout style paint;
  }

  /* Бокс категории: ноль анимаций, ноль реакций на hover/active — только кнопки-точки реагируют */
  #categories-panel .category-section,
  #categories-panel .category-section::before,
  #categories-panel .category-section::after,
  #categories-panel .category-section:hover,
  #categories-panel .category-section:active,
  #categories-panel .category-section:focus,
  #categories-panel .category-section:hover::before,
  #categories-panel .category-section:hover::after,
  #categories-panel .category-section-header,
  #categories-panel .category-section-header *,
  #categories-panel .category-section-name,
  #categories-panel .category-section-progress,
  #categories-panel .category-section-icon,
  #categories-panel .category-section:hover .category-section-header,
  #categories-panel .category-section:hover .category-section-name,
  #categories-panel .category-section:hover .category-section-progress,
  #categories-panel .category-section:hover .category-section-icon {
    transition: none !important;
    animation: none !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  #categories-panel .category-section,
  #categories-panel .category-section:hover,
  #categories-panel .category-section:active {
    background: rgba(132, 242, 155, 0.06) !important;
    border: 1px solid rgba(132, 242, 155, 0.18) !important;
    transform: translateY(0) !important;
  }
  #categories-panel .category-section:hover {
    transform: translateY(0) !important;
    -webkit-transform: translateY(0) !important;
  }
  #categories-panel .category-section {
    padding: 10px 12px;
    border-radius: 12px;
    backdrop-filter: none;
    pointer-events: none;
  }

  #categories-panel .category-section::before,
  #categories-panel .category-section::after {
    display: none !important;
  }

  #categories-panel .category-section-header {
    margin-bottom: 8px;
  }

  #categories-panel .category-section-name {
    font-size: 13px;
    -webkit-text-fill-color: rgba(132, 242, 155, 0.95) !important;
    background: none !important;
    background-clip: unset !important;
  }
  #categories-panel .category-section:hover .category-section-name {
    -webkit-text-fill-color: rgba(132, 242, 155, 0.95) !important;
    background: none !important;
  }

  #categories-panel .category-section-progress,
  #categories-panel .category-section:hover .category-section-progress {
    font-size: 11px;
    padding: 4px 8px;
    backdrop-filter: none;
    background: rgba(132, 242, 155, 0.1) !important;
    border: 1px solid rgba(132, 242, 155, 0.2) !important;
    color: rgba(132, 242, 155, 0.7) !important;
  }

  #categories-panel .category-section-icon {
    transform: none !important;
    filter: none !important;
  }
  #categories-panel .category-section:hover .category-section-icon {
    transform: none !important;
    filter: none !important;
  }

  .category-questions-dots {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .category-q-dot {
    flex: 1;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(132, 242, 155, 0.08);
    border: 1px solid rgba(132, 242, 155, 0.28);
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: auto;
  }

  .category-q-dot::before,
  .category-q-dot::after {
    display: none !important;
  }

  .category-q-dot.current {
    background: rgba(132, 242, 155, 0.22);
    border-color: rgba(132, 242, 155, 0.55);
    border-width: 2px;
  }

  .category-q-dot.answered {
    background: rgba(132, 242, 155, 0.15);
    border-color: rgba(132, 242, 155, 0.45);
  }

  .category-q-dot:active {
    opacity: 0.9;
  }

  .results-main {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    gap: 16px;
  }

  .results-header-bar {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .results-panel {
    border-radius: 18px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(23, 25, 23, 0.5);
    border: 1px solid rgba(132, 242, 155, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: none;
  }

  .results-panel::before {
    display: none;
  }

  .results-review-panel,
  .results-certificate-panel {
    border-radius: 18px;
    max-height: none;
  }

  .results-page .panel-header {
    padding: 16px 18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .panel-title {
    font-size: 17px;
  }

  .panel-stats {
    gap: 12px;
  }

  .panel-stat {
    font-size: 13px;
    padding: 6px 10px;
  }

  .review-list {
    padding: 14px;
    max-height: 55vh;
  }

  .review-item {
    padding: 14px;
    border-radius: 14px;
    background: rgba(132, 242, 155, 0.04);
    border: 1px solid rgba(132, 242, 155, 0.12);
    transition: none;
  }

  .review-item:hover {
    transform: none;
    box-shadow: none;
  }

  .review-item-question {
    font-size: 14px;
  }

  .certificate-preview {
    padding: 12px;
    min-height: 0;
    align-items: stretch;
  }

  .certificate {
    border-radius: 14px;
    aspect-ratio: auto;
    min-height: min(76vh, 560px);
    max-height: min(86vh, 660px);
    width: 100%;
    max-width: 100%;
  }

  .certificate-inner {
    padding: 24px 20px 20px;
    min-height: 0;
    gap: 20px;
  }

  .cert-header {
    gap: 12px;
    padding-bottom: 4px;
    flex-shrink: 0;
  }

  .cert-logo {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .cert-title {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .cert-subtitle {
    font-size: 10px;
  }

  .cert-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 12px 0;
  }

  .cert-body .cert-name {
    font-size: 20px;
    margin: 6px 0;
  }

  .cert-score {
    margin-top: 12px;
    padding: 12px 28px;
  }

  .cert-score-value {
    font-size: 32px;
  }

  .cert-footer {
    flex-shrink: 0;
    padding-top: 8px;
  }

  .certificate-fail {
    min-height: 160px;
    padding: 20px;
  }

  .certificate-fail-text {
    font-size: 22px;
  }

  .certificate-actions {
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }

  .certificate-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 14px 20px;
  }

  .overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .result {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    padding: 20px 18px;
  }

  .result .head .title {
    font-size: 20px;
  }

  .result .head .subtitle {
    font-size: 14px;
  }

  .score-circle {
    margin: 16px 0;
  }

  .score-circle .big {
    font-size: 48px;
  }

  .result-stats {
    gap: 12px;
    flex-wrap: wrap;
  }

  .result-stat {
    flex: 1 1 80px;
  }

  .result-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .result-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .name-modal {
    width: calc(100% - 32px);
    max-width: 360px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .name-modal-header h2 {
    font-size: 20px;
  }

  .name-input {
    padding: 16px 18px;
    font-size: 16px;
    min-height: 52px;
  }

  .name-modal-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .name-modal-actions .btn {
    flex: 1;
    min-height: 48px;
  }

  /* Мобильная: одна рамка у шапки, без двойной обводки */
  .topbar,
  .results-header-bar {
    border: 1px solid rgba(132, 242, 155, 0.2) !important;
    box-shadow: 0 4px 16px rgba(132, 242, 155, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  }
  .topbar::after,
  .results-header-bar::after {
    display: none !important;
  }
  .topbar .logo,
  .results-header-bar .logo {
    border: none !important;
    box-shadow: none !important;
  }

  .topbar {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .topbar .brand {
    font-size: 15px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .main-footer {
    padding: 20px 16px 24px;
    flex-shrink: 0;
  }

  .footer-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-links-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Не отключать transition у элементов с анимацией клика/перехода — оставляем короткий transition для обратной связи */
  .btn:not(.nav-btn-clicked),
  .btn:not(.nav-btn-clicked)::before,
  .btn.primary:not(.nav-btn-clicked),
  .btn.danger,
  .hero-actions .btn.ghost,
  .btn-start,
  .btn-start::before,
  .btn-start .arrow,
  .brand,
  .brand-clickable,
  .logo,
  .panel::before,
  .qCard:not(.question-transitioning),
  .qCard:not(.question-transitioning)::before,
  .qImg,
  .qImg::before,
  .qImg img,
  .quiz-opt::before,
  .quiz-opt .quiz-opt-marker,
  .quiz-answers.yesno-answers .quiz-opt::before,
  .quiz-answers.yesno-answers .quiz-opt .yesno-icon,
  .results-header-bar::after,
  .results-panel::before,
  .certificate-actions .btn.secondary,
  .creator-card,
  .creator-card::before,
  .creator-card::after,
  .creator-card .creator-avatar,
  .creator-card .creator-avatar::before,
  .creator-card .creator-avatar img,
  .creator-card .creator-name,
  .social-link,
  .social-link::before,
  .social-link svg,
  .footer-link,
  .footer-link::after {
    transition: none !important;
  }

  /* Исключаем элементы с анимацией клика — чтобы keyframe-анимации (точки вопросов, кнопки навигации) не перезаписывались */
  .btn:not(.nav-btn-clicked):hover,
  .btn.primary:not(.nav-btn-clicked):hover,
  .btn.danger:hover,
  .hero-actions .btn.ghost:hover,
  .btn-start:hover,
  .brand:hover,
  .brand-clickable:hover,
  .logo:hover,
  .panel:hover::before,
  .qCard:not(.question-transitioning):hover,
  .qImg:hover,
  .quiz-opt:hover .quiz-opt-marker,
  .quiz-answers.yesno-answers .quiz-opt:hover .yesno-icon,
  .certificate-actions .btn.secondary:hover,
  .creator-card:hover,
  .creator-card:hover .creator-avatar,
  .creator-card:hover .creator-avatar img,
  .creator-card:hover .creator-name,
  .social-link:hover,
  .social-link:hover svg,
  .footer-link:hover,
  .btn-start:hover .arrow {
    transform: none !important;
    box-shadow: none !important;
  }

  .panel:hover::before,
  .qCard:hover::before,
  .quiz-opt:hover::before,
  .quiz-answers.yesno-answers .quiz-opt:hover::before,
  .results-header-bar:hover::after,
  .results-panel:hover::before,
  .creator-card:hover::before,
  .creator-card:hover::after,
  .creator-card:hover .creator-avatar::before,
  .btn:hover::before,
  .btn-start:hover::before,
  .btn-start:hover .arrow::before,
  .btn-start:hover .arrow::after,
  .hero-actions .btn.ghost:hover::before,
  .social-link:hover::before {
    opacity: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* Полное отключение всех hover-эффектов на мобильной: визуально как без наведения */
  .brand:hover {
    filter: none !important;
  }
  .brand-clickable:hover {
    opacity: 1 !important;
  }
  .logo:hover {
    border-color: rgba(132, 242, 155, 0.3) !important;
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  }
  .btn:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.08) 0%, rgba(132, 242, 155, 0.04) 100%) !important;
    border-color: rgba(132, 242, 155, 0.25) !important;
    box-shadow: 0 4px 16px rgba(132, 242, 155, 0.15) !important;
  }
  .btn:hover::before {
    width: 0 !important;
    height: 0 !important;
  }
  .btn.primary:hover {
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%) !important;
    box-shadow: 0 4px 16px rgba(132, 242, 155, 0.3), 0 0 0 1px rgba(132, 242, 155, 0.2) !important;
  }
  .hero-actions .btn.ghost:hover {
    background: rgba(132, 242, 155, 0.04) !important;
    border-color: rgba(132, 242, 155, 0.2) !important;
    box-shadow: none !important;
  }
  .btn.danger:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%) !important;
    border-color: rgba(132, 242, 155, 0.4) !important;
    box-shadow: 0 4px 16px rgba(132, 242, 155, 0.2) !important;
  }
  .btn-start:hover {
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%) !important;
    box-shadow: 0 8px 24px rgba(132, 242, 155, 0.4), 0 0 0 0 rgba(132, 242, 155, 0.3) !important;
  }
  .btn-start:hover::after {
    opacity: 0 !important;
  }
  .qCard:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.04) 0%, rgba(132, 242, 155, 0.01) 100%) !important;
    border-color: rgba(132, 242, 155, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
  }
  .qImg:hover {
    background: rgba(132, 242, 155, 0.03) !important;
    border-color: rgba(132, 242, 155, 0.15) !important;
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.05) !important;
  }
  .qImg:hover img {
    transform: none !important;
  }
  .social-link:hover {
    background: rgba(132, 242, 155, 0.06) !important;
    border-color: rgba(132, 242, 155, 0.25) !important;
    color: inherit !important;
    box-shadow: none !important;
  }
  .social-link:hover::before {
    left: -100% !important;
  }
  .social-link:hover span {
    color: rgba(255, 255, 255, 0.7) !important;
  }
  .footer-link:hover {
    color: inherit !important;
  }
  .footer-link:hover::after {
    width: 0 !important;
  }
  .review-item:hover {
    background: rgba(132, 242, 155, 0.04) !important;
    border-color: rgba(132, 242, 155, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .certificate-actions .btn.secondary:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%) !important;
    border-color: rgba(132, 242, 155, 0.4) !important;
    box-shadow: none !important;
  }
  .quiz-opt:not(.selected):hover {
    background: rgba(132, 242, 155, 0.06) !important;
    border-color: rgba(132, 242, 155, 0.2) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .quiz-opt:not(.selected):hover::before {
    left: -100% !important;
    opacity: 0 !important;
  }
  .quiz-opt:not(.selected):hover .quiz-opt-marker {
    background: rgba(132, 242, 155, 0.08) !important;
    border-color: rgba(132, 242, 155, 0.25) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .quiz-answers.yesno-answers .quiz-opt:not(.selected):hover .yesno-icon {
    transform: none !important;
    box-shadow: none !important;
  }
  .q-dot:hover {
    background: rgba(132, 242, 155, 0.08) !important;
    border-color: rgba(132, 242, 155, 0.25) !important;
  }
}

@media (max-width: 480px) {
  .landing .wrap {
    padding: 10px 12px;
  }

  .hero {
    padding: 20px 12px 16px;
  }

  .hero-content {
    padding: 20px 12px !important;
  }

  .hero-title {
    font-size: 20px !important;
  }

  .hero-subtitle {
    font-size: 14px !important;
  }

  .language-card {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 14px;
  }

  .btn-start,
  .hero-actions .btn.ghost {
    padding: 14px 20px;
    font-size: 14px;
  }

  .wrap {
    padding: 10px 12px;
  }

  .panel .head {
    padding: 12px 14px;
  }

  .panel .head .title {
    font-size: 15px;
  }

  .panel .head .subtitle {
    font-size: 11px;
  }

  .panel .body {
    padding: 12px 14px;
  }

  .qCard {
    padding: 14px;
  }

  .qTitle {
    font-size: 16px;
  }

  .quiz-opt {
    min-height: 48px;
    padding: 12px 14px;
  }

  .quiz-opt-text {
    font-size: 13px;
  }

  .quiz-answers.yesno-answers .quiz-opt {
    min-height: 64px;
  }

  .quiz-answers.yesno-answers .quiz-opt-text {
    font-size: 16px;
  }

  .quiz-answers.yesno-answers .yesno-icon {
    width: 36px;
    height: 36px;
  }

  .quiz-answers.yesno-answers .yesno-icon svg {
    width: 20px;
    height: 20px;
  }

  .category-q-dot {
    height: 32px;
    min-height: 32px;
    font-size: 11px;
  }

  .category-section {
    padding: 10px 12px;
  }

  .category-section-name {
    font-size: 12px;
  }

  .results-main {
    padding: 12px;
    gap: 12px;
  }

  .results-page .panel-header {
    padding: 14px 16px;
  }

  .panel-title {
    font-size: 16px;
  }

  .certificate {
    min-height: min(76vh, 560px);
    max-height: min(84vh, 640px);
  }

  .certificate-inner {
    padding: 28px 22px 24px;
    gap: 22px;
  }

  .cert-title {
    font-size: 22px;
  }

  .cert-score-value {
    font-size: 32px;
  }

  .result .head .title {
    font-size: 18px;
  }

  .score-circle .big {
    font-size: 42px;
  }
}

@media (max-width: 1024px) {
  .results-main {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
  }
  .results-header-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .results-header-stats {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid rgba(132, 242, 155, 0.1);
  }
  .header-stat-value {
    font-size: 24px;
  }
  .results-panel {
    max-height: none;
  }
  .results-review-panel,
  .results-certificate-panel {
    max-height: none;
  }
  .review-list {
    max-height: 50vh;
  }
  .certificate {
    max-width: 100%;
    aspect-ratio: 1 / 1.08;
    min-height: min(70vh, 560px);
    max-height: min(80vh, 640px);
  }
  .certificate-preview {
    padding: 20px;
  }
  .certificate-inner {
    padding: 32px 28px 28px;
    gap: 24px;
  }
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel.right {
    order: -1;
  }
  .wrap {
    padding: 16px;
  }
  .panel .head {
    padding: 12px;
    flex-direction: column;
    gap: 8px;
  }
  .panel .head .meta {
    justify-content: flex-start;
  }
  html, body {
    overflow-y: auto !important;
    position: static !important;
    height: auto !important;
  }
}

@media (max-width: 700px) {
  .quiz-answers {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .results-header-bar {
    padding: 10px 14px;
  }
  .results-header-stats {
    gap: 12px;
  }
  .header-stat-divider {
    display: none;
  }
  .results-main {
    padding: 12px;
    gap: 16px;
  }
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }
  .certificate-actions {
    flex-direction: column;
    gap: 12px;
  }
  .certificate-preview {
    padding: 12px;
  }
  .certificate {
    max-width: 100%;
    aspect-ratio: none;
    min-height: min(74vh, 560px);
    max-height: min(84vh, 660px);
    border-radius: 16px;
  }
  .certificate-inner {
    padding: 28px 24px 24px;
    gap: 24px;
  }
  .cert-header {
    gap: 14px;
    padding-bottom: 8px;
  }
  .cert-logo {
    width: 48px;
    height: 48px;
    padding: 10px;
  }
  .cert-title {
    font-size: 24px;
    letter-spacing: 4px;
  }
  .cert-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .cert-name {
    font-size: 24px;
    margin: 8px 0;
  }
  .cert-text-small {
    font-size: 13px;
  }
  .cert-course {
    font-size: 17px;
  }
  .cert-body {
    gap: 12px;
    padding: 16px 0;
  }
  .cert-score {
    padding: 14px 32px;
    border-radius: 12px;
    margin-top: 14px;
  }
  .cert-score-value {
    font-size: 40px;
  }
  .cert-footer {
    gap: 6px;
    margin-top: 0;
    padding-top: 12px;
  }
  .cert-date-value {
    font-size: 13px;
  }
  .cert-date-label {
    font-size: 10px;
  }
  .review-list {
    max-height: 40vh;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding: 8px;
  }
  .topbar {
    padding: 8px 10px;
    justify-content: center;
    border-radius: 14px;
  }
  .topbar::after {
    display: none !important;
  }
  .brand {
    font-size: 13px;
  }
  .logo {
    width: 28px;
    height: 28px;
  }
  .chip {
    font-size: 10px;
    padding: 5px 8px;
  }
  .progressRow {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    display: flex;
  }
  .bar {
    width: 100%;
    flex: none;
    height: 12px;
    min-height: 12px;
    display: block;
  }
  .bar > i {
    min-height: 12px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .btn-start {
    padding: 14px 24px;
    font-size: 15px;
  }
  .qTitle {
    font-size: 15px;
  }
  .quiz-opt {
    padding: 10px 12px;
    min-height: 52px;
  }
  .quiz-opt-marker {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .quiz-opt-text {
    font-size: 13px;
  }
  .category-q-dot {
    height: 30px;
    min-height: 30px;
    font-size: 11px;
  }
  .category-questions-dots {
    gap: 8px;
  }
  .qImg img {
    max-height: 250px;
  }
  .panel .head .title {
    font-size: 15px;
  }
  .panel .head .subtitle {
    font-size: 11px;
  }
  .qNum {
    font-size: 11px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    padding: 30px 16px 20px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn,
  .quiz-opt,
  .language-card {
    min-height: 44px;
    min-width: 44px;
  }
  .quiz-opt {
    min-height: 56px;
  }
  .btn {
    padding: 14px 20px;
  }
  .category-q-dot {
    min-height: 34px;
  }
}
