/* CGL_LANG_20261019 */
.cgl-language{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin:0;padding:10px 16px;background:#151515;color:#fff;font:13px/1.4 system-ui,sans-serif;box-sizing:border-box;width:100%}.cgl-language label{display:flex;gap:8px;align-items:center;margin:0}.cgl-language select,.cgl-language button{font:inherit;min-height:36px;margin:0;border:1px solid #777;border-radius:7px;padding:6px 10px;width:auto;background:#242424;color:#fff}.cgl-language button{background:#ff9900;color:#111;border-color:#ff9900;cursor:pointer}.cgl-language select:focus-visible,.cgl-language button:focus-visible{outline:3px solid #ffb642;outline-offset:2px}body.login>.cgl-language{position:relative}body.login .cgl-language{max-width:100%}@media(max-width:420px){.cgl-language{padding:8px;gap:6px}.cgl-language label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}

/* Keep longer translations readable on small gallery screens. */
body:has(>.gallery-header) .toast{width:max-content;max-width:calc(100vw - 32px);text-align:center;overflow-wrap:anywhere}
