/* Preserve the original WordPress header position and make the 18-option menu fit the viewport. */
.bj-mirror-root .site-header .header-actions .bjls.in-header {
 position: relative; inset: auto; align-self: center; margin: 0; transform: none; flex: 0 0 auto; z-index: 65;
}
.bj-mirror-root .site-header .bjls-menu {position:relative}
.bj-mirror-root .site-header .bjls-menu summary {min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 6px;box-sizing:border-box;cursor:pointer}
.bj-mirror-root .site-header .bjls-menu:not([open]) .bjls-options {display:none}
.bj-mirror-root .site-header .bjls-menu[open] .bjls-options {
 display:block;position:absolute;top:calc(100% + 4px);right:0;left:auto;width:218px;min-width:0;
 max-width:calc(100vw - 24px);max-height:min(520px,var(--bj-language-height,70vh));box-sizing:border-box;
 overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
 z-index:66;touch-action:pan-y;padding:7px;background:#fffdf8;
}
.bj-mirror-root .site-header .bjls-options a {display:flex;align-items:center;min-height:44px;padding:9px 12px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.bj-mirror-root .site-header .bjls-auto-note {margin:5px 5px 8px;padding:4px 7px;font-size:11px;letter-spacing:0;line-height:1.5;text-transform:none;color:#6e665c}
.bj-mirror-root .site-header .bjls-options a[data-preview-selected="true"] {text-decoration:underline;text-underline-offset:3px}
@media(max-width:480px){.bj-mirror-root .site-header .bjls-menu summary{padding:0 3px;gap:5px}.bj-mirror-root .site-header .bjls-menu[open] .bjls-options{right:0;left:auto;max-width:calc(100vw - 20px)}}

/* Localized generated text; source typography, positions and colors are preserved. */
.bj-mirror-root .recent-layout>.bjc-home .bjc-home-subtitle[data-localized-special]::before{content:attr(data-localized-special)}
.bj-mirror-root .bjc-page .bjc-card--feature .c-cat[data-localized-feature]::after{content:attr(data-localized-feature)}
.bj-mirror-root .bjc-music-page>.bjc-video[data-localized-play]::before{content:attr(data-localized-play)}
