@media (max-width: 767.98px) {
    .card-register:has(.nt-sticky-continue) {
        overflow: clip !important;
    }

    .questionnaire-page:has(.nt-sticky-continue) {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    .nt-sticky-continue {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 30;
        padding-top: 14px !important;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--nt-sticky-surface, #fffcf7) !important;
        box-shadow: 0 -1px 0 rgb(170 184 194), 0 -8px 16px -8px rgb(36 62 78 / 22%);
    }

    html body .questionnaire-page .personality-next-btn-row.nt-sticky-continue {
        margin-top: 0 !important;
        padding-top: 12px !important;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        background: var(--questionnaire-answer-surface, #fffcf7) !important;
        box-shadow: 0 -1px 0 rgb(170 184 194), 0 -8px 16px -8px rgb(36 62 78 / 22%);
    }

    html body .nt-sticky-continue,
    html body .questionnaire-page .personality-next-btn-row.nt-sticky-continue {
        margin-bottom: var(--nt-sticky-room, 0px) !important;
    }

    .nt-sticky-floor {
        position: fixed;
        right: 0;
        left: 0;
        height: 100vh;
        height: calc(100lvh + 160px);
        z-index: 29;
        background: var(--nt-sticky-surface, #fffcf7);
        pointer-events: auto;
    }

    .nt-sticky-floor[hidden] {
        display: none;
    }

    html body .questionnaire-page.questionnaire-state--personality-introduction .personality-next-btn-row.nt-sticky-continue {
        background: var(--personality-intro-card-background, #fffcf7) !important;
    }

    html body .questionnaire-page #questionsContainer {
        padding-bottom: 12px;
    }

    html:has(.nt-sticky-continue) {
        scroll-padding-bottom: 96px;
    }

    html.nt-keyboard-open .nt-sticky-continue,
    html.nt-keyboard-open body .questionnaire-page .personality-next-btn-row.nt-sticky-continue {
        position: static !important;
        background: none !important;
        box-shadow: none;
    }

    html.nt-keyboard-open .nt-sticky-floor {
        display: none;
    }

    html.nt-view-as-member .nt-sticky-continue {
        bottom: var(--nt-view-only-banner-height, 7rem) !important;
    }
}

@media (max-width: 767.98px) {
    .nth-universal-footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
