/* Language picker (approved mockup #lang, Luke 13 Nov) and the language suggestion card. */
.lp { position: relative; margin-left: auto; margin-right: -14px; flex: none; } .lp + .acts { margin-left: 0; }
.top .lp { margin-right: 0; }
.top .who:not([hidden]) + .lp { margin-left: 0; }
.lp-btn { position: relative; height: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.05); color: var(--text-sec); font: 500 13px/1 Inter, sans-serif; cursor: pointer; overflow: hidden; min-width: 0; }
.lp-btn:hover, .lp-btn:focus-visible, .lp-btn[aria-expanded="true"] { background: rgba(255,255,255,.09); color: var(--text); outline: none; }
.lp-name { position: relative; min-width: 9.2em; text-align: left; white-space: nowrap; }
.lp-chev { position: relative; width: 18px; height: 18px; color: var(--text-dim); }
.lp-bloom { position: absolute; left: -18%; top: -90%; width: 60%; height: 280%; background-size: cover; filter: blur(14px) saturate(.45); opacity: .30; pointer-events: none; }
.lf { position: relative; flex: none; width: 21px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255,255,255,.25); }
.lf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lf img + img { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.lp-menu { position: absolute; right: 0; top: calc(100% + 8px); width: max-content; min-width: 244px; max-width: 400px; padding: 6px; border-radius: 13px; z-index: 60;
  background: linear-gradient(180deg, rgba(44,44,54,.96), rgba(32,32,40,.97)); border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7); backdrop-filter: blur(18px); animation: lpIn .16s cubic-bezier(.33,1,.68,1); }
@keyframes lpIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lp-menu, .lsg { animation: none; } }
.lp-row { position: relative; display: grid; grid-template-columns: 21px 1fr 17px; gap: 11px; align-items: center; height: 36px; padding: 0 10px; border-radius: 8px;
  color: var(--text-sec); font: 400 13px Inter, sans-serif; cursor: pointer; overflow: hidden; text-decoration: none; }
.lp-row .lf { filter: grayscale(1) brightness(.85); opacity: .7; }
.lp-row:hover .lf, .lp-row.hot .lf, .lp-row.on .lf { filter: none; opacity: 1; }
.lp-row:hover, .lp-row.hot { background: rgba(255,255,255,.04); color: var(--text); }
.lp-row.on { background: rgba(255,255,255,.024); color: var(--text); }
.lp-row .lp-bloom { left: -12%; top: -110%; width: 42%; height: 320%; opacity: .26; filter: blur(14px) saturate(.3); }
.lp-row:not(.on) .lp-bloom { display: none; }
.lp-row .nm { position: relative; display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.lp-row .sub { font-size: 11px; color: var(--text-dim); }
.lp-row .sub.match { color: var(--accent); }
.lp-row .tick { position: relative; width: 17px; height: 17px; color: var(--accent); visibility: hidden; }
.lp-row.on .tick { visibility: visible; }
@media (max-width: 620px) { .lp-name { display: none; } .lp-btn { padding: 0 4px 0 8px; } .lp { margin-right: 0; } }

/* Suggestion card: floats under the header on English pages, so nothing on the page moves. */
.lsg { position: fixed; z-index: 85; top: calc(var(--chrome, 64px) + 10px); right: 16px; width: min(360px, calc(100vw - 32px)); padding: 14px 16px 14px 14px;
  display: grid; grid-template-columns: 21px 1fr; gap: 4px 12px; border-radius: 12px; font: 400 14px/1.45 Inter, sans-serif; color: var(--text-sec);
  background: linear-gradient(180deg, rgba(44,44,54,.97), rgba(32,32,40,.98)); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7); backdrop-filter: blur(18px); animation: lpIn .2s cubic-bezier(.33,1,.68,1); }
.lsg .lf { margin-top: 3px; }
.lsg p { color: var(--text); margin: 0; }
.lsg .acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 8px; }
.lsg a, .lsg button { font: 600 13.5px Inter, sans-serif; border: 0; background: none; padding: 0; cursor: pointer; }
.lsg a { color: var(--ink, #111); background: var(--accent); padding: 7px 12px; border-radius: 7px; text-decoration: none; }
.lsg button { color: var(--text-sec); } .lsg button:hover { color: var(--text); }

/* Phones, translated pages only (English is untouched): longer words must not push the layout wider than the screen.
   The header drops its sign-in link (the footer still links to the account) and button labels may wrap to two lines
   inside their buttons, so each row keeps its size. */
@media (max-width: 440px) {
  html:not([lang="en-GB"]) .site .acts .signin { display: none; }
  html:not([lang="en-GB"]) .btn { min-width: 0; white-space: normal; line-height: 1.15; text-align: center; }
  html:not([lang="en-GB"]) .btn > span { min-width: 0; }
  html:not([lang="en-GB"]) .btn .os { display: none; }
  html:not([lang="en-GB"]) .plans > .card { min-width: 0; }
  html:not([lang="en-GB"]) .site .acts .btn { min-width: auto; white-space: nowrap; }
  html:not([lang="en-GB"]) .plan .seg { white-space: normal; }
  html:not([lang="en-GB"]) .plan .seg button { flex: 0 1 auto; min-width: 0; height: auto; min-height: 34px; padding-block: 4px; line-height: 1.15; }
}

/* Japanese has no spaces, so the giant pricing watermark would break mid-phrase: keep each phrase on one line, sized to fit. */
html[lang="ja"] .watermark { font-size: clamp(32px, 9.5vw, 140px); }
html[lang="ja"] .watermark span { white-space: nowrap; }
/* Japanese headings break between phrases, not inside words (Chrome; other browsers keep their normal breaking). */
html[lang="ja"] :is(h1, h2, h3) { word-break: auto-phrase; }
/* Small phones (under 390 wide), every language: the language picker leaves no room for the header's sign-in link. */
@media (max-width: 389px) { .site .acts .signin { display: none; } }
/* A longer price note ("eenmalige betaling") wraps as one piece under the price instead of splitting across a 64px line. */
html:not([lang="en-GB"]) .plan .price:not([hidden]) { display: flex; flex-wrap: wrap; align-items: baseline; }
html:not([lang="en-GB"]) .plan .price small { line-height: 1.2; }
