.language-control {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.3rem;
}
.language-control select {
  font: inherit;
  font-size: 12px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line, #b7b7b7);
  border-radius: 7px;
  padding: 6px 4px;
  width: auto;
  max-width: 105px;
  cursor: pointer;
}
.language-control select:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 2px;
}
.language-control option {
  color: CanvasText;
  background: Canvas;
}
.landing-header > .language-control {
  position: relative;
  z-index: 11;
}
.language-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--landing-ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.language-menu > button {
  width: 44px;
}
.language-menu button:hover,
.language-menu button[aria-expanded='true'],
.language-menu button[aria-pressed='true'] {
  background: var(--landing-soft);
}
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 160px;
  padding: 6px;
  border: 1px solid var(--landing-line);
  border-radius: 10px;
  background: var(--landing-surface);
  box-shadow: 0 8px 24px light-dark(#26382d12, #0004);
}
.language-options button {
  justify-content: space-between;
  width: 100%;
  padding-inline: 12px;
  font-size: 14px;
}
.language-options button[aria-pressed='false'] > span {
  visibility: hidden;
}
.language-options button:focus-visible {
  outline-offset: -3px;
}
.auth-header .language-control {
  margin-left: auto;
}
html:lang(zh-CN) {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
}
html:lang(zh-CN) .landing-hero h1 {
  letter-spacing: -0.02em;
}
html:lang(zh-CN) .landing-hero h1 br {
  display: none;
}
@media (max-width: 760px) {
  .landing-header {
    gap: 10px;
  }
  .landing-header > .language-control {
    order: 1;
    margin-left: auto;
  }
  .landing-header > .mobile-menu {
    order: 2;
    margin-left: 0;
  }
  .language-control select {
    max-width: 92px;
  }
  .auth-header .header-caption {
    display: none;
  }
}
@media (max-width: 390px) {
  .app-header {
    gap: 6px;
  }
  .header-end {
    gap: 4px;
  }
  .language-control select {
    max-width: 80px;
    padding-inline: 2px;
    font-size: 11px;
  }
}
#memory-simple .language-control select:not([multiple]):not([size]) {
  width: 96px;
  max-width: none;
  min-height: 36px;
  padding: 7px 24px 7px 8px;
  background-position: right 6px center;
  font-size: 12px;
}
@media (max-width: 850px) {
  #memory-simple .app-header > .header-end > .language-control {
    grid-area: 1 / 3 / 2 / 6;
    justify-self: end;
    z-index: 2;
  }
  #memory-simple .app-header .project-bar,
  #memory-simple .app-header .header-title {
    padding-right: 104px;
  }
}

body:has(.claim-page) {
  color-scheme: light dark;
  color: light-dark(#26382d, #ebf0e8);
  background: light-dark(#fcfcfa, #191d1a);
  font:
    15px/1.65 system-ui,
    sans-serif;
  margin: 0;
}
.claim-page {
  width: calc(100% - 48px);
  max-width: 620px;
  margin: 40px auto;
}
.claim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}
.claim-page a {
  color: light-dark(#275a3e, #afd2b5);
}
.claim-header .auth-brand {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}
.claim-page h1 {
  font-size: 28px;
  line-height: 1.3;
}
