/* EN/DE Preview only. Existing header geometry and approved brand roles. */
html[data-preview-locales="en de"] [data-v25-home] #how.cr-large-modes :is(#tab-flashcards,#tab-quiz,#tab-voiceroom,#tab-phone,#tab-avatar){width:100%}
#cr-site-header .cr-language{flex:none;width:auto;grid-row:2;grid-column:1;justify-self:start}
#cr-site-header .cr-language summary{min-width:64px;padding:8px;gap:5px;border:1px solid #ffffff66;border-radius:13px;justify-content:center}
#cr-site-header .cr-language summary svg{width:16px;height:16px}
#cr-site-header .cr-language[open] summary svg{transform:rotate(180deg)}
#cr-site-header .cr-language .cr-dropdown{width:176px}
#cr-site-header .cr-language [aria-current=true]{color:#71C5ED;text-decoration:underline;text-underline-offset:5px}
@media(min-width:768px) and (max-width:1399px){
 #cr-site-header .cr-desktop-nav{display:none}
 #cr-site-header .cr-mobile-menu{display:block;position:static}
 #cr-site-header .cr-mobile-menu summary{padding:8px 13px;border:1px solid #ffffff66;border-radius:13px;gap:13px}
 #cr-site-header .cr-mobile-menu .cr-dropdown{top:calc(100% + 1px);left:0;right:0;width:100%;grid-template-columns:1fr 1fr;gap:0 21px;max-height:calc(100dvh - 110px)}
}
@media(max-width:767px){
 #cr-site-header .cr-header-actions>a.cr-login{display:none}
 #cr-site-header .cr-language .cr-dropdown{left:0;right:auto;top:calc(100% + 13px);max-height:calc(100dvh - 170px)}
}
/* Keep longer German hero copy inside the same uncropped mobile film. */
@media(max-width:767px){
 html[lang=de] .v23 [data-v25-home] .v-hero-copy{top:auto;bottom:13px}
}
/* The login destination remains in the mobile menu at narrow tablet widths. */
@media(min-width:768px) and (max-width:900px){
 #cr-site-header .cr-header-actions>a.cr-login{display:none}
}
/* Keep the longest German coach-heading word inside the narrow content column. */
@media(max-width:360px){
 html[lang=de] #coach-h{font-size:34px}
}
