/* Match the published mobile card typography, including nested bold text. */
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j :is([data-vg-person-name],[data-vg-person-birth],[data-vg-person-transport]),
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j :is([data-vg-person-name],[data-vg-person-birth],[data-vg-person-transport]) *{font-size:13px!important;line-height:19px!important}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-person-name]{font-weight:600!important}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j :is([data-vg-card-street],[data-vg-card-city]),
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j :is([data-vg-card-street],[data-vg-card-city]) *{font-size:12px!important;line-height:19px!important}

/* Keep mobile rides within the same inset white card as the published pages. */
body.device-mobile-optimized main[data-vg-customer-view="rides"]:has([data-vg-ionos-rides]){width:calc(100% - 20px)!important;max-width:300px!important;margin:12px 10px 0!important;border-radius:20px;background:#fff}
body.device-mobile-optimized main[data-vg-customer-view="rides"]:has([data-vg-ionos-rides]) :is(#SITE_PAGES,#comp-lgknr4yj2,#TPAMultiSection_lcx3lsa4,[role="tablist"],[role="tabpanel"]){width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.device-mobile-optimized [data-vg-ionos-rides]{box-sizing:border-box;padding:0 10px}
body.device-mobile-optimized [data-vg-ionos-rides] [dir="auto"]{font-size:13px!important;line-height:19px!important}
body.device-mobile-optimized [data-vg-ionos-rides] [role="button"]{max-width:100%;box-sizing:border-box}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-person-heading-wrap]{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;width:100%!important;max-width:none!important;padding:0!important;margin:0 0 8px!important;text-align:center!important;min-height:32px!important}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-person-heading-wrap] [data-hook="header-title"]{width:100%!important;max-width:none!important;margin:0!important;text-align:center!important;white-space:nowrap!important;font-size:24px!important;line-height:32px!important}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-booking-stage-layout]{margin-top:0!important;padding-top:0!important}
html body #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-review-stack] :is([data-hook="accordion-item-header"],#vg-mobile-region-divider){display:none!important}
html body #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-review-stack] [id^="service-details-item-content"]{display:block!important;height:auto!important;max-height:none!important;opacity:1!important;padding-top:0!important;margin-top:0!important}
html body.device-mobile-optimized #SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER#SITE_CONTAINER #TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j#TPAMultiSection_lcx3lr1j [data-vg-person-heading-wrap] [data-hook="header-title"]{padding:0!important;box-sizing:border-box!important}
body.device-mobile-optimized [data-vg-ride-card]>div{padding:12px!important;border-radius:14px!important;margin-bottom:0!important}
body.device-mobile-optimized [data-vg-ride-card] [aria-label^="Transportart:"]{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;max-height:64px!important}
body.device-mobile-optimized [data-vg-ride-card] :is([aria-label="Rückfahrt buchen"],[aria-label="Fahrt auf einen neuen Termin kopieren"],[aria-label="Fahrtverlauf anzeigen"],[aria-label="Rechnung öffnen"]){height:58px!important;min-height:58px!important}
body.device-mobile-optimized [data-vg-ride-card] :is([aria-label="Rückfahrt buchen"],[aria-label="Fahrt auf einen neuen Termin kopieren"],[aria-label="Fahrtverlauf anzeigen"],[aria-label="Rechnung öffnen"])>div{height:100%!important;min-height:0!important;padding:5px!important;gap:2px!important}
body.device-mobile-optimized [data-vg-ride-card] svg{max-width:23px;max-height:23px}
main[data-vg-account-protected]{overflow-anchor:none}
html[data-vg-account-route] #BACKGROUND_GROUP{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;pointer-events:none!important;z-index:0!important}
html[data-vg-account-route] #site-root{position:relative!important;z-index:1!important}
