body .header-inner nav .language-trigger {
  display:flex;align-items:center;justify-content:center;gap:7px;grid-column:3;grid-row:1;
  height:48px;min-height:48px;padding:8px 12px;background:transparent;border:1px solid transparent;
  border-radius:12px;color:var(--ui-text,#62605D);font-family:var(--ui-font,Arial,sans-serif);font-size:12px;cursor:pointer;
}
.language-trigger img { width:20px;height:20px;object-fit:contain;flex-shrink:0; }
body .header-inner nav .language-trigger:hover { background:#F47A1608;color:var(--ui-hover,#C85000); }
.language-trigger:focus-visible { outline:2px solid var(--focus,#C45100);outline-offset:2px; }
body dialog.language-dialog {
  position:fixed;inset:auto;margin:0;padding:12px;box-sizing:border-box;z-index:60;
  width:340px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;
  border:1px solid #FFFFFFD9;border-radius:28px;
  background:linear-gradient(145deg,#FFFDF9ED,#F1ECE6E8);
  color:var(--ui-text,#62605D);box-shadow:0 16px 52px #40332626;
  -webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  font-family:var(--ui-font,Arial,sans-serif);
}
.language-dialog::backdrop { background:transparent; }
.language-trigger:after { content:'';width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:2px; }
.language-trigger[aria-expanded=true]:after { transform:rotate(225deg); }
.language-dialog-heading { display:flex;align-items:center;gap:10px;padding:5px 5px 12px; }
.language-globe { display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#FFFFFFB3;font-size:26px;flex-shrink:0; }
.language-globe img { display:block;width:34px;height:34px;object-fit:contain; }
body .language-dialog h2 { margin:0;font-size:16px;line-height:1.3;font-weight:650;color:#36332F; }
body .language-dialog-heading p { margin:3px 0 0;font-size:12px;line-height:1.4;color:#79726A; }
.language-close { display:grid;place-items:center;align-self:flex-start;margin-left:auto;width:30px;height:30px;border:0;border-radius:50%;background:#50473F0B;color:#48423D;font-size:23px;line-height:1;cursor:pointer;flex-shrink:0; }
.language-close:hover { background:#50473F18; }
body .language-dialog .language-switch { display:grid;gap:7px;margin:0;padding:0;border:0;border-radius:0;background:transparent; }
body .language-dialog .language-switch button {
  display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:7px 10px;
  border:1px solid #FFFFFFB3;border-radius:20px;background:#FFFFFF5C;box-shadow:none;
  color:#3E3934;font:500 14px/1.4 var(--ui-font,Arial,sans-serif);text-align:left;cursor:pointer;
}
.language-code { display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#FFFFFFB8;font-size:12px;color:#77716A;flex-shrink:0; }
.language-check { display:none;margin-left:auto;place-items:center;width:24px;height:24px;border-radius:50%;background:#2F2C28;color:#FFFFFF;font-size:15px;flex-shrink:0; }
body .language-dialog .language-switch button[aria-pressed=true] { background:#D9D5CF9C;border-color:#AFA79C;box-shadow:inset 0 0 0 1px #AFA79C33;color:#2F2C28; }
.language-dialog .language-switch button[aria-pressed=true] .language-check { display:grid; }
body .language-dialog .language-switch button:hover { background:#FFF0DFB3;border-color:#E7C8A6;color:#A64B0D; }
.language-dialog :is(button):focus-visible { outline:2px solid var(--focus,#C45100);outline-offset:2px; }
@media(max-width:800px) {
  body .header-inner nav .language-trigger { width:100%;height:38px;min-height:38px;padding:3px;font-size:11px; }
}
@media(prefers-reduced-motion:no-preference) {
  .language-dialog[open] { animation:language-reveal .14s ease-out; }
  @keyframes language-reveal { from { opacity:0;transform:translateY(-5px); } to { opacity:1;transform:translateY(0); } }
}
