/* Smartphone placement for accessibility and privacy controls. */
.clinic-mobile-privacy-slot {
    display: none;
}

@media (max-width: 768px) {
    html.mobile-utility-controls-embedded body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .prestige-a11y-launcher--homepage-mobile,
    .prestige-a11y-launcher--clinic-mobile {
        margin: 0;
    }

    .prestige-a11y-launcher--homepage-mobile .prestige-a11y-launcher__text,
    .prestige-a11y-launcher--clinic-mobile .prestige-a11y-launcher__text {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .selection-arrow .prestige-a11y-launcher--homepage-mobile {
        position: static !important;
        inset: auto !important;
        display: inline-flex;
        width: 100%;
        max-width: 200px !important;
        min-height: 46px;
        padding: 7px 14px;
        border: 2px solid var(--color-purple, #5c3b6d);
        border-radius: var(--ui-pill-radius, 999px);
        background: var(--ui-surface-90, rgba(252, 249, 253, 0.94));
        box-shadow: 0 3px 10px rgba(92, 59, 109, 0.08);
    }

    .selection-arrow .prestige-a11y-launcher--homepage-mobile .prestige-a11y-launcher__mark {
        width: 30px;
        height: 30px;
    }

    .clinic-header-bar .prestige-a11y-launcher--clinic-mobile {
        position: absolute !important;
        top: 12px !important;
        right: auto !important;
        bottom: auto !important;
        left: 12px !important;
        display: inline-grid;
        width: 48px;
        min-width: 48px;
        max-width: 48px !important;
        height: 48px;
        min-height: 48px;
        padding: 7px;
        border-radius: 15px;
        background: rgba(252, 249, 253, 0.96);
    }

    .clinic-header-bar .prestige-a11y-launcher--clinic-mobile .prestige-a11y-launcher__mark {
        width: 28px;
        height: 28px;
    }

    .privacy-settings-button--mobile-hidden {
        display: none !important;
    }

    html.mobile-utility-controls-embedded .clinic-mobile-privacy-slot {
        display: block;
        width: 100%;
    }

    html.mobile-utility-controls-embedded:not([data-external-content-consent="unset"]) .clinic-mobile-privacy-slot {
        min-height: 46px;
    }

    html.mobile-utility-controls-embedded[data-external-content-consent="unset"] .clinic-mobile-privacy-slot:empty {
        display: none;
    }

    .clinic-mobile-privacy-slot .privacy-settings-button--information-mobile {
        position: static !important;
        inset: auto !important;
        display: flex;
        width: 100%;
        max-width: none !important;
        min-height: 46px;
        margin: 0;
        padding: 8px 14px;
        border: 2px solid rgba(92, 59, 109, 0.38);
        border-radius: var(--ui-pill-radius, 999px);
        background: rgba(255, 255, 255, 0.08);
        color: var(--accent-secondary, #5c3b6d);
        box-shadow: 0 3px 10px rgba(92, 59, 109, 0.12);
        font: 800 1rem/1.25 var(--font-display, Arial, sans-serif) !important;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
