/* Language button + searchable language panel (sd-lang.js). The old Google Translate select is hidden. */
body.sd-v2 .sd-gt-float, body.sd-v2 #lang-switcher, body.sd-v2 .goog-te-gadget { display: none !important; }
.sdh-langbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--sf-line, #e3e9e5); border-radius: 10px;
  background: #fff; color: var(--sf-ink, #17223a); font: 700 .85rem/1 var(--sf-font, Epilogue, sans-serif); cursor: pointer; transition: .15s; }
.sdh-langbtn:hover { border-color: var(--sf-g200, #b6d9c0); background: var(--sf-soft, #f5f8f6); }
.sd-lang-panel { position: fixed; inset: 0; z-index: 100000; display: none; align-items: flex-start; justify-content: center; padding: 80px 16px 16px;
  background: rgba(7, 13, 34, .45); backdrop-filter: blur(2px); }
.sd-lang-panel.open { display: flex; }
.sd-lang-box { width: min(440px, 100%); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff;
  border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(7, 13, 34, .45); overflow: hidden; font-family: var(--sf-font, Epilogue, sans-serif); }
.sd-lang-head { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid #e3e9e5; }
.sd-lang-q { flex: 1; height: 42px; padding: 0 14px; border: 1px solid #e3e9e5; border-radius: 12px; font: 500 15px/1 inherit; outline: none; }
.sd-lang-q:focus { border-color: #75b383; box-shadow: 0 0 0 3px #d9ecdf; }
.sd-lang-x { width: 42px; height: 42px; border: 0; border-radius: 12px; background: #f5f8f6; font-size: 22px; line-height: 1; cursor: pointer; color: #17223a; }
.sd-lang-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.sd-lang-list button { width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; font: 500 14px/1.3 inherit;
  color: #17223a; cursor: pointer; }
.sd-lang-list button:hover { background: #eef6f0; }
.sd-lang-list button.on { background: #d9ecdf; color: #2f5739; font-weight: 700; }
@media (max-width: 480px) { .sd-lang-list { grid-template-columns: 1fr; } .sd-lang-panel { padding-top: 64px; } }
/* Google's translation bar (current and older markup): our own button replaces it */
body > .skiptranslate:not(#website):not(#koLeftMenu), iframe.skiptranslate, .VIpgJd-ZVi9od-ORHb-OEVmcd, iframe.goog-te-banner-frame, #goog-gt-tt, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
html, body { top: 0 !important; }
font[style*="vertical-align"] { background: transparent !important; box-shadow: none !important; }
