/* Supsystic language switcher: header dropdown (all widths) + list in the mobile menu. Matches the dark header. */
.supml { position: relative; flex-shrink: 0; font-family: var(--hdr-font, "Inter", system-ui, sans-serif); }
.supmlBtn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 9px; border-radius: 8px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72);
  font: 700 11.5px/1 var(--hdr-font, "Inter", system-ui, sans-serif); letter-spacing: .1em; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.supmlBtn:hover, .supml.is-open .supmlBtn { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(82, 186, 197, .45); }
.supmlBtn:focus-visible, .supmlItem:focus-visible { outline: 2px solid #52bac5; outline-offset: 2px; }
.supmlGlobe { width: 16px; height: 16px; flex: none; }
.supmlChev { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.supml.is-open .supmlChev { transform: rotate(180deg); }
.supmlDrop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 6px; z-index: 10000;
  background: rgba(10, 16, 32, .98); border: 1px solid rgba(82, 186, 197, .22); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.supml.is-open .supmlDrop, .supml:focus-within .supmlDrop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) { .supml:hover .supmlDrop { opacity: 1; visibility: visible; transform: none; } }
.supmlItem {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none !important;
  color: rgba(255, 255, 255, .78) !important; font: 600 14px/1.2 var(--hdr-font, "Inter", system-ui, sans-serif); transition: background .15s, color .15s;
}
.supmlItem:hover { background: rgba(82, 186, 197, .12); color: #fff !important; }
.supmlItem.is-current { color: #52bac5 !important; }
/* a language this page has no version in: shown, not a link */
.supmlItem.is-off { color: rgba(255, 255, 255, .32) !important; cursor: default; }
.supmlItem.is-off:hover { background: transparent; color: rgba(255, 255, 255, .32) !important; }
.supmlItem.is-off .supmlCode { color: rgba(255, 255, 255, .2); }
.supmlName { flex: 1; }
.supmlCode { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .35); }
.supmlItem.is-current .supmlCode { color: rgba(82, 186, 197, .7); }
.supmlCheck { width: 16px; height: 16px; }
/* the header gets tight on small phones: the language list is in the mobile menu there */
@media (max-width: 359px) { .hdrRight .supml { display: none; } }

/* mobile menu */
.supmlM { margin: 18px 0 6px; padding: 14px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.supmlMTitle { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: rgba(255, 255, 255, .5); font: 700 11px/1 var(--hdr-font, "Inter", system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.supmlMList { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.supmlM .supmlItem { justify-content: space-between; padding: 12px 12px; min-height: 44px; box-sizing: border-box; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.supmlM .supmlItem.is-current { border-color: rgba(82, 186, 197, .5); background: rgba(82, 186, 197, .1); }
.supmlM .supmlItem.is-off { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .08); }
.supmlM .supmlCheck { display: none; }
@media (min-width: 1101px) { .supmlM { display: none; } }
