/* By Jayber — iOS Safari auto-zoom fix: keep mobile form inputs at >= 16px.
   Scoped to mobile only (max-width 47.999rem) — desktop/Android layouts unchanged. */

@media (max-width: 47.999rem) {
    :is(html:has(.lhome-page), html:has(.lifestyle-signup), html:has(.gaming-consent), html:has(.gaming-details), html:has(.gaming-success), html:has(.gaming-ndrp-status), html:has(.too-many-attempts-page), html:has(.membership-terms-dialog)) {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    :is(.lhome-page, .lifestyle-signup, .signup-step-form, .gaming-consent, .gaming-details, .gaming-success, .gaming-edit-personal) :is(
        input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="file"]),
        select,
        textarea
    ) {
        font-size: 16px;
        line-height: 1.25;
    }

    .gaming-edit-personal__input,
    .gaming-edit-personal__dob-segment {
        font-size: 16px;
        line-height: 1.25;
    }

    .gaming-details-select__trigger,
    .gaming-details-select__option {
        font-size: 16px;
        line-height: 1.25;
    }

    /* OTP/PIN cells — component by jayber */
    .signup-step-otp-input,
    .signup-step-otp-group--pin .signup-step-otp-input {
        font-size: 16px;
        line-height: 1;
    }

    .signup-details-input,
    .signup-details-dob__segment {
        font-size: 16px;
        line-height: 1.25;
    }

    .lhome-page :is(button, a, [role="button"]),
    .lifestyle-signup :is(button, a, [role="button"], .btn-primary),
    .gaming-consent :is(button, a, [role="button"], input, select, textarea),
    .gaming-details :is(button, a, [role="button"], .btn-primary),
    .gaming-success :is(button, a, [role="button"], .btn-primary, .gaming-success__action-link),
    .membership-terms-dialog :is(button, [role="button"]),
    .gaming-pagcor-dialog :is(button, [role="button"]),
    .too-many-attempts-page :is(button, a, [role="button"]),
    .too-many-attempts-modal__option,
    .gaming-ndrp-status :is(button, a, [role="button"]) {
        touch-action: manipulation;
    }
}
