/* 9cxo.com — language menu + footer language row (R3, 2026-11-21).
 * Dark is the site default; the light values follow <html data-theme="light">.
 * Wired by assets/lang-menu.js; the footer row is written by l10n/build.mjs. */
.lm{position:fixed;z-index:1000;min-width:184px;max-width:calc(100vw - 16px);max-height:calc(100vh - 80px);overflow:auto;
  padding:6px;border-radius:14px;background:#10130f;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 44px -14px rgba(0,0,0,.7);font:400 14px/1.3 "Roboto","Helvetica Neue","Segoe UI",system-ui,Arial,sans-serif}
.lm[hidden]{display:none}
.lm a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;color:#e8eae5;text-decoration:none;min-height:40px;box-sizing:border-box}
.lm a:hover{background:rgba(255,255,255,.08)}
.lm a:focus-visible{outline:2px solid #d2dc4f;outline-offset:-2px}
.lm a[aria-current]{background:rgba(210,220,79,.14);color:#f3f6c8}
.lm .lm-c{flex:none;width:26px;font-size:11px;font-weight:600;letter-spacing:.06em;color:#9a9c99}
.lm a[aria-current] .lm-c{color:#d2dc4f}
:root[data-theme="light"] .lm{background:#fff;border-color:rgba(14,42,50,.14);box-shadow:0 18px 44px -18px rgba(11,68,80,.38)}
:root[data-theme="light"] .lm a{color:#0E2A32}
:root[data-theme="light"] .lm a:hover{background:rgba(14,85,97,.07)}
:root[data-theme="light"] .lm a:focus-visible{outline-color:#0E5561}
:root[data-theme="light"] .lm a[aria-current]{background:rgba(14,85,97,.1);color:#0E5561}
:root[data-theme="light"] .lm .lm-c{color:#5b7680}
:root[data-theme="light"] .lm a[aria-current] .lm-c{color:#0E5561}
.lm-globe{display:inline-flex;align-items:center;justify-content:center}
.lm-globe svg{display:block}

.ft-langs{max-width:1180px;margin:0 auto;padding:18px 24px 26px;box-sizing:border-box;font:400 13px/1.4 "Roboto","Helvetica Neue","Segoe UI",system-ui,Arial,sans-serif;position:relative;z-index:1}
.ft-langs ul{list-style:none;margin:0;padding:14px 0 0;display:flex;flex-wrap:wrap;gap:6px 16px;border-top:1px solid rgba(255,255,255,.1)}
.ft-langs a{color:#9a9c99;text-decoration:none;display:inline-block;padding:4px 0}
.ft-langs a:hover{color:#fbfbfa;text-decoration:underline}
.ft-langs a:focus-visible{outline:2px solid #d2dc4f;outline-offset:2px}
.ft-langs a[aria-current]{color:#d2dc4f}
.ft-langs-note{margin:10px 0 0;color:#7c7d7c;font-size:12px}
:root[data-theme="light"] .ft-langs ul{border-top-color:rgba(14,42,50,.14)}
:root[data-theme="light"] .ft-langs a{color:#4d6a74}
:root[data-theme="light"] .ft-langs a:hover{color:#0E2A32}
:root[data-theme="light"] .ft-langs a[aria-current]{color:#0E5561;font-weight:500}
:root[data-theme="light"] .ft-langs a:focus-visible{outline-color:#0E5561}
:root[data-theme="light"] .ft-langs-note{color:#5b7680}

/* Reading versions of the terms (/fr/terms …): the notice above the text. */
.l10n-notice{margin:0 0 22px;padding:14px 16px;border-radius:12px;border:1px solid rgba(210,220,79,.4);background:rgba(210,220,79,.08);color:#e8eae5;font-size:14px;line-height:1.5}
.l10n-notice strong{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#d2dc4f;margin-bottom:4px}
.l10n-notice p{margin:4px 0 0}
.l10n-notice a{color:#d2dc4f}
:root[data-theme="light"] .l10n-notice{border-color:rgba(14,85,97,.35);background:rgba(14,85,97,.06);color:#0E2A32}
:root[data-theme="light"] .l10n-notice strong,:root[data-theme="light"] .l10n-notice a{color:#0E5561}

/* Arabic: the Latin display face has no Arabic glyphs. */
html[lang="ar"] body,html[lang="ar"] button,html[lang="ar"] input,html[lang="ar"] textarea,html[lang="ar"] .lm{font-family:"Noto Sans Arabic","Segoe UI","Tahoma","Geeza Pro","Roboto",system-ui,Arial,sans-serif}
html[lang="ar"] *{letter-spacing:0 !important}

/* Right-to-left: arrows point the other way. */
html[dir="rtl"] svg:has(> use[href="#i-arrow"]),html[dir="rtl"] .lg-cta svg,html[dir="rtl"] .pg-cta svg{transform:scaleX(-1)}

/* Language URLs: translated top-bar labels are longer than the German ones.
 * On a phone the bar may wrap instead of running into the logo. */
@media (max-width:720px){
  html[data-l10n] .top,html[data-l10n] .topbar,html[data-l10n] .lg-top{flex-wrap:wrap;row-gap:8px}
  html[data-l10n] .top-r,html[data-l10n] .account,html[data-l10n] .lg-act{flex-wrap:wrap;justify-content:flex-end;row-gap:6px;margin-inline-start:auto}
}
