/* One desktop dropdown language for the current Web workspaces. */
body.has-desktop-rail .web-select-shell {
  display: inline-flex;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}
body.has-desktop-rail .web-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  opacity: 0 !important;
  pointer-events: none !important;
}
body.has-desktop-rail .web-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 12px 8px 15px;
  border: 1px solid rgba(221, 202, 221, .3);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(42, 35, 55, .94), rgba(22, 21, 36, .97));
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 8px 22px rgba(0, 0, 0, .13);
  color: #f2e9f0;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
body.has-desktop-rail .web-select-trigger:hover,
body.has-desktop-rail .web-select-trigger[aria-expanded="true"] {
  border-color: rgba(240, 205, 160, .63);
  background: linear-gradient(160deg, rgba(52, 40, 60, .98), rgba(27, 24, 43, .98));
}
body.has-desktop-rail .web-select-trigger:focus-visible {
  outline: 2px solid #ecc896;
  outline-offset: 3px;
}
body.has-desktop-rail .web-select-trigger:disabled { opacity: .48; cursor: not-allowed; }
.web-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-select-chevron {
  flex: none;
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 0;
  border-right: 1.7px solid #e6c79f;
  border-bottom: 1.7px solid #e6c79f;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.web-select-trigger[aria-expanded="true"] .web-select-chevron { transform: translateY(4px) rotate(225deg); }
.web-select-menu {
  position: fixed;
  z-index: 10000;
  max-height: min(320px, 48vh);
  padding: 6px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(226, 199, 219, .34);
  border-radius: 14px;
  background: #211c2e;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .06);
  color: #f1e8ef;
  color-scheme: dark;
}
.web-select-menu[hidden] { display: none !important; }
.web-select-option {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #e9dfe9;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.web-select-option:hover,
.web-select-option:focus-visible { outline: none; background: rgba(231, 178, 210, .16); color: #fff; }
.web-select-option[aria-selected="true"] { background: rgba(235, 199, 154, .14); color: #f5d7ac; }
.web-select-option:disabled { opacity: .45; cursor: default; }
body.has-desktop-rail .web-astro-profile-select .web-select-shell { width: clamp(136px, 13vw, 190px); }
body.has-desktop-rail .cosmo-profile-switch .web-select-shell { width: auto; max-width: min(45vw, 340px); }
body.has-desktop-rail .cosmo-profile-switch .web-select-trigger {
  min-height: 32px; padding: 1px 8px 1px 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; color: var(--signal-ivory);
  font: 500 24px Georgia, 'Songti SC', serif;
}
body.has-desktop-rail .cosmo-profile-switch > img { display: none; }
body.has-desktop-rail .astro-full-profile-select .web-select-shell { width: auto; min-width: 132px; }
body.has-desktop-rail .monthly-v2-archive .web-select-shell { width: 100%; }
body.has-desktop-rail .profile-grid .web-select-trigger { min-height: 43px; }
body.has-desktop-rail .constellation-person-control .web-select-shell { position: absolute; inset: 0; width: 100%; height: 100%; }
body.has-desktop-rail .constellation-person-control:has(.web-select-shell) .constellation-person-initial { visibility: hidden; }
body.has-desktop-rail .constellation-person-control .web-select-trigger {
  position: relative; justify-content: center; width: 100%; min-height: 100%; padding: 0;
  border: 0; border-radius: 50%; background: transparent; box-shadow: none;
  color: #f1d5a7; font: 400 25px/1 'Songti SC', 'Noto Serif CJK SC', serif;
}
body.has-desktop-rail .constellation-person-control .web-select-chevron { position: absolute; right: 2px; bottom: 11px; width: 6px; height: 6px; margin: 0; }
body.has-desktop-rail .constellation-person-control .web-select-trigger:hover { background: rgba(240, 210, 230, .11); }
@media (max-width: 760px) {
  body.has-desktop-rail .web-select-trigger { min-height: 40px; font-size: 13px; }
  body.has-desktop-rail .cosmo-profile-switch .web-select-trigger { font-size: 20px; }
}
