.language-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  min-width: 32px;
  height: 26px;
  color: var(--text-secondary);
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.14s, color 0.14s, transform 0.14s;
}

.language-toggle a:hover {
  background: var(--accent-light);
  color: var(--foreground);
}

.language-toggle a.active {
  background: var(--accent);
  color: var(--on-accent);
}

.language-toggle-compact a {
  min-width: 28px;
  height: 24px;
  font-size: 11px;
}

.faq-item:not(.faq-item-open) .faq-item-panel {
  display: none;
}

.faq-item-open .faq-chevron {
  transform: rotate(180deg);
}

.nav-mobile-panel[hidden] {
  display: none;
}

a.help-nav-topic,
a.pill-badge {
  text-decoration: none;
}

a.help-nav-topic {
  display: block;
}

.help-nav-topic[hidden],
.help-nav > div[hidden] {
  display: none;
}

.help-nav > div:not(.is-open) .help-nav-topics {
  display: none;
}

.changelog-entry-button[aria-expanded="true"] .changelog-chevron {
  transform: rotate(180deg);
}

.arch-modal-overlay[hidden] {
  display: none !important;
}

.home-widget-media,
.fx-settings-media {
  aspect-ratio: 16 / 10;
}

img.app-shot {
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.home-widget-media img,
.fx-media-frame img,
.fx-settings-media img,
.v120-hero-media img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.help-screenshot img {
  max-width: 100%;
  height: auto;
}
