/* Keep the expanded language menu inside narrow LTR and RTL viewports. */
@media (max-width: 600px) {
  .kdd-language-menu[open] ul {
    position: fixed;
    top: 96px;
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 10000;
  }
}
