/* "This page is also available in <language>" banner — single shared source.
   Shown by /static/i18n/lang-route.js on the public per-language pages (/ and /ja/…)
   when the visitor's language differs from the page's. Dismissible; never a redirect.
   Values are the resolved equivalents of tokens.css (--surface, --border, --text,
   --text-2, --accent), hardcoded like lang-toggle.css because the landing and legal
   pages don't load tokens.css. Never restyle .lang-suggest in a page's own <style>. */
.lang-suggest {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%);
  z-index: 900; box-sizing: border-box;
  display: flex; align-items: center; gap: 0.75rem;
  width: max-content; max-width: calc(100vw - 2rem);
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  background: #ffffff; border: 1px solid rgba(99,155,230,0.28); border-radius: 12px;
  box-shadow: 0 8px 28px rgba(28,53,88,0.16);
  color: #1c3558; font-family: 'Nunito', 'Noto Sans JP', sans-serif;
  font-size: 0.88rem; line-height: 1.4;
}
.lang-suggest-msg { min-width: 0; }
.lang-suggest-go {
  flex-shrink: 0; padding: 0.35rem 0.75rem; border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #0b7c8a 100%); /* = --grad: white text is AA on it */
  color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.lang-suggest-close {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0; border: none; border-radius: 8px;
  background: transparent; color: #3f5d82; cursor: pointer;
}
.lang-suggest-close:hover { background: rgba(99,155,230,0.12); color: #1c3558; }
.lang-suggest-go:focus-visible, .lang-suggest-close:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }
@media (max-width: 480px) {
  .lang-suggest { width: calc(100vw - 2rem); font-size: 0.82rem; gap: 0.5rem; padding-left: 0.75rem; }
  .lang-suggest-msg { flex: 1; }
}
