/* newtastic Languages – the notice "content only in another language" as a small window in a corner of the page
   (Native\MissingContent::popup). Neutral on every template: own colours, the template's font; closed by a checkbox
   styled as its ×, without JavaScript. On phones it spans the width at the bottom. */
.ntl-missing-toggle { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ntl-missing { position: fixed; z-index: 1050; right: 1.25rem; bottom: 1.25rem; box-sizing: border-box; width: max-content; max-width: min(23rem, calc(100vw - 2.5rem));
  padding: 1rem 2.75rem 1rem 1.125rem; background: #fff; color: #1f2533; border-radius: .75rem; text-align: start;
  box-shadow: 0 .75rem 2.5rem rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .06); font-size: .9375rem; line-height: 1.5; }
.ntl-missing-start { right: auto; left: 1.25rem; }
.ntl-missing p { margin: 0; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
.ntl-missing-links { display: flex; flex-wrap: wrap; gap: .375rem .5rem; margin-top: .625rem !important; }
/* Templates style links strongly (colour, underline): the buttons keep their own look. */
.ntl-missing-root .ntl-missing-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: #f1f3f7;
  color: #1f2533 !important; font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none !important; box-shadow: none; border: 0; }
.ntl-missing-root .ntl-missing-links a:hover, .ntl-missing-root .ntl-missing-links a:focus-visible { background: #e2e7ef; }
.ntl-missing-links img { flex: none; width: 20px; height: 15px; object-fit: contain; border-radius: 2px; }
.ntl-missing-close { position: absolute; top: .5rem; right: .5rem; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
  margin: 0; border-radius: 50%; color: #5b6475; font-size: 1.375rem; line-height: 1; cursor: pointer; user-select: none; }
.ntl-missing-close:hover { background: #f1f3f7; color: #1f2533; }
.ntl-missing-toggle:focus-visible ~ .ntl-missing .ntl-missing-close { outline: 2px solid currentColor; outline-offset: 1px; }
.ntl-missing-toggle:checked ~ .ntl-missing { display: none; }
.ntl-missing-static { position: relative; right: auto; bottom: auto; left: auto; z-index: auto; }
@media (prefers-reduced-motion: no-preference) {
  .ntl-missing:not(.ntl-missing-static) { animation: ntl-missing-in .35s ease-out both; }
  @keyframes ntl-missing-in { from { opacity: 0; transform: translateY(.75rem); } }
}
@media (max-width: 480px) {
  .ntl-missing:not(.ntl-missing-static) { right: .75rem; left: .75rem; bottom: .75rem; width: auto; max-width: none; }
}
@media print { .ntl-missing-root { display: none; } }
