/* The homepage keeps its original topbar footprint when the picker opens. */
#hero.mstudio-host > .nav-bar.magicum-topbar .header-language {
  position: relative;
  min-width: 0;
}
#hero.mstudio-host > .nav-bar.magicum-topbar .header-language summary {
  height: 100%;
  list-style: none;
}
.header-language summary::-webkit-details-marker { display: none; }
.header-language-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  padding: 4px;
  border-radius: 12px;
  background: #132a4a;
  box-shadow: 0 6px 16px rgb(4 30 70 / 35%);
}
.header-language-options a,
.magicum-language a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-sizing: border-box;
  text-decoration: none;
  font: 700 12px/1 Montserrat, system-ui, sans-serif;
}
.header-language-options a {
  display: flex;
  border-radius: 8px;
  color: #fff;
}
.header-language-options a[aria-current="true"] {
  color: #132a4a;
  background: #ffe58f;
}
.magicum-language {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.magicum-language a {
  color: var(--gold, #ffe58f);
  border: 1px solid var(--border, currentColor);
  border-radius: 8px;
}
.magicum-language a[aria-current="true"] {
  color: #132a4a;
  background: #ffe58f;
}
.magicum-language-aligned {
  justify-content: flex-end;
  margin-block: 4px 10px;
}
