.mtt-switcher-links ul{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;margin:0;padding:0}.mtt-switcher-links a[aria-current="page"]{font-weight:700;text-decoration:underline}.mtt-switcher{max-width:100%}
.mtt-pending,.mtt-error{padding:12px 14px;margin:0 0 20px;border:1px solid currentColor;border-radius:4px}.mtt-pending{opacity:.85}.mtt-error{font-weight:600}

.mtt-browser-translate[hidden]{display:none!important}.mtt-browser-translate{position:fixed;left:16px;right:16px;bottom:16px;z-index:99999;max-width:760px;margin:auto;background:#fff;border:1px solid #b8b8b8;box-shadow:0 4px 18px rgba(0,0,0,.16);font-size:15px}.mtt-browser-translate__inner{position:relative;padding:14px 48px 14px 16px}.mtt-browser-translate__text{margin-left:.45rem}.mtt-browser-translate button{margin-left:.55rem}.mtt-browser-translate__close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer}.mtt-browser-translate__details{margin-top:10px;padding-top:10px;border-top:1px solid #ddd}.mtt-browser-translate__help{white-space:nowrap}@media(max-width:600px){.mtt-browser-translate{left:8px;right:8px;bottom:8px}.mtt-browser-translate__text{display:block;margin:.35rem 0}.mtt-browser-translate button{margin:.35rem .45rem 0 0}}

/* Compact language links; override theme button styling only inside the switcher. */
.mtt-switcher-links{clear:both;max-width:100%;font:inherit;direction:ltr}
.mtt-switcher-links ul{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px!important;list-style:none!important;margin:0!important;padding:0!important;width:100%;box-sizing:border-box}
.mtt-switcher-links li{list-style:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.mtt-switcher-links a{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;min-height:26px!important;padding:3px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit;text-decoration:none!important;line-height:1.2;font-size:12px!important;font-weight:400}
.mtt-switcher-links .mtt-language-flag{display:block!important;width:18px!important;height:12px!important;max-width:none!important;object-fit:fill;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mtt-switcher-links a[aria-current="page"]{color:#514367;font-weight:700}
.mtt-switcher-links a:hover{color:#514367}
.mtt-switcher-links a:hover .mtt-language-code{text-decoration:underline}
.mtt-switcher-links a:focus-visible{outline:2px solid #514367;outline-offset:2px}
.mtt-switcher-auto{display:block!important;margin:8px auto 16px!important;width:100%!important;text-align:center}
@media(max-width:767px){.mtt-switcher-links a{min-height:28px!important}}

.mtt-global-language{box-sizing:border-box;max-width:calc(100vw - 24px);padding:6px 9px;text-align:center;font-size:12px;line-height:1.3;background:var(--mtt-picker-bg,rgba(255,255,255,.72));color:#333;position:fixed;z-index:99990;border:1px solid rgba(0,0,0,.08);border-radius:7px;box-shadow:0 2px 9px rgba(0,0,0,.10)}
.mtt-global-language nav{display:flex!important;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:4px;position:static!important;float:none!important;width:auto!important}
.mtt-global-language ul{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;list-style:none!important;margin:0!important;padding:0!important}.mtt-global-language li{margin:0!important;padding:0!important;list-style:none!important}
.mtt-global-language a{display:inline-flex;align-items:center;gap:3px;padding:2px;color:inherit;text-decoration:none;font-size:12px;line-height:20px;border:0;background:none;white-space:nowrap}.mtt-global-language a img{width:18px;height:12px;object-fit:fill}.mtt-global-language a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:3px}.mtt-global-language a:focus-visible,.mtt-global-language summary:focus-visible{outline:2px solid #75669f;outline-offset:2px}
.mtt-global-more{position:relative;flex:none}.mtt-global-more summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:3px;min-height:24px;padding:2px 5px;border:1px solid rgba(0,0,0,.14);border-radius:4px;color:inherit;line-height:20px;font-size:11px;white-space:nowrap}.mtt-global-more summary::-webkit-details-marker{display:none}.mtt-global-more[open] summary span{transform:rotate(180deg)}.mtt-global-more>ul{position:absolute;bottom:calc(100% + 9px);left:0;display:grid;grid-template-columns:repeat(3,max-content);gap:5px 8px;padding:7px!important;background:var(--mtt-picker-bg,rgba(255,255,255,.72));border:1px solid rgba(0,0,0,.12);border-radius:7px;box-shadow:0 2px 9px rgba(0,0,0,.12);max-width:calc(100vw - 24px)}.mtt-global-more:not([open])>ul{display:none!important}
.mtt-global-language[data-position$="-right"] .mtt-global-more>ul{left:auto;right:0}
.mtt-global-language[data-position^="top-"] .mtt-global-more>ul,.mtt-global-language[data-position^="middle-"] .mtt-global-more>ul{bottom:auto;top:calc(100% + 9px)}
.mtt-global-language [hidden]{display:none!important}
.mtt-global-language[data-position="top-left"]{top:16px;left:16px}.mtt-global-language[data-position="top-center"]{top:16px;left:50%;transform:translateX(-50%)}.mtt-global-language[data-position="top-right"]{top:16px;right:16px}
.mtt-global-language[data-position="middle-left"]{top:50%;left:16px;transform:translateY(-50%)}.mtt-global-language[data-position="middle-center"]{top:50%;left:50%;transform:translate(-50%,-50%)}.mtt-global-language[data-position="middle-right"]{top:50%;right:16px;transform:translateY(-50%)}
.mtt-global-language[data-position="bottom-left"]{bottom:18px;left:18px}.mtt-global-language[data-position="bottom-center"]{bottom:18px;left:50%;transform:translateX(-50%)}.mtt-global-language[data-position="bottom-right"]{bottom:18px;right:18px}
@media(max-width:767px){.mtt-global-language{padding:6px 8px}.mtt-global-language[data-position="top-left"],.mtt-global-language[data-position="middle-left"],.mtt-global-language[data-position="bottom-left"]{left:12px}.mtt-global-language[data-position="top-right"],.mtt-global-language[data-position="middle-right"],.mtt-global-language[data-position="bottom-right"]{right:12px}.mtt-global-language[data-position="top-left"],.mtt-global-language[data-position="top-center"],.mtt-global-language[data-position="top-right"]{top:12px}.mtt-global-language[data-position="bottom-left"],.mtt-global-language[data-position="bottom-center"],.mtt-global-language[data-position="bottom-right"]{bottom:12px}}

.mtt-language-prompt{max-width:100%;padding:10px 0;text-align:left}.mtt-language-prompt p{margin:0 0 8px}.mtt-language-prompt ul{display:flex;justify-content:flex-start;gap:14px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.mtt-language-prompt li{list-style:none;margin:0;padding:0}.mtt-language-prompt a{display:inline-flex;align-items:center;gap:5px;text-decoration:none}.mtt-language-prompt img{width:18px;height:12px;object-fit:fill}
.mtt-language-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:100000;box-sizing:border-box;width:560px;max-width:calc(100vw - 32px);min-height:112px;padding:28px 58px 26px 30px;border:3px solid #75669f;border-top-color:#bfc976;border-radius:12px;background:#f8f7fc;color:#332a43;box-shadow:0 10px 38px rgba(51,42,67,.3);font:17px/1.55 sans-serif;text-align:left}
.mtt-language-toast[hidden]{display:none!important}
.mtt-language-toast button{position:absolute;right:14px;top:12px;margin:0;padding:4px 8px;border:0;background:transparent;color:#514367;font:26px/1 sans-serif;cursor:pointer}
.mtt-language-toast button:focus-visible{outline:2px solid #75669f;outline-offset:2px}
