.bp-locale-trigger { padding: 7px 10px; border: 1px solid #c8daf7; border-radius: 18px; background: #fff; color: #1a2340; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.bp-locale-dialog { box-sizing: border-box; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #e0e4eb; border-radius: 20px; padding: 32px; color: #1a2340; background: #fff; font-family: inherit; box-shadow: 0 24px 80px #14285f33; }
.bp-locale-dialog::backdrop { background: #10204388; }
.bp-locale-dialog h2 { font-size: 22px; line-height: 1.4; margin: 12px 0; }
.bp-locale-dialog p { line-height: 1.6; }
.bp-locale-brand { color: #0044cc; font-weight: 800; }
.bp-locale-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 26px; color: #4a5a78; cursor: pointer; }
.bp-locale-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.bp-locale-options label { display: flex; align-items: center; gap: 8px; border: 1px solid #c8daf7; border-radius: 10px; padding: 14px 10px; cursor: pointer; }
.bp-locale-options label:has(input:checked) { border-color: #0044cc; background: #f0f5ff; }
.bp-locale-options input { accent-color: #0044cc; }
.bp-locale-apply { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: #0044cc; color: white; font: inherit; cursor: pointer; }
.bp-locale-dialog :focus-visible, .bp-locale-trigger:focus-visible { outline: 3px solid #9cbfff; outline-offset: 3px; }
/* CJK translations have different natural break points; retain the existing layout and typography. */
html:lang(ja) .charge-heading > div:first-child, html:lang(zh-CN) .charge-heading > div:first-child { max-width:100%; }
html:lang(ja) .charge-heading h1, html:lang(ja) .charge-heading p,
html:lang(zh-CN) .charge-heading h1, html:lang(zh-CN) .charge-heading p { word-break:normal; overflow-wrap:anywhere; }
