.locale-picker {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-inline-start: 12px;
  min-width: 0;
}
.locale-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.locale-picker select {
  width: 128px;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #dce3df;
  border-radius: 6px;
  background: var(--paper, #fff);
  color: var(--ink, #17202b);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
}
.locale-picker select:focus-visible {
  outline: 2px solid #82d8b6;
  outline-offset: 2px;
}
.locale-notice {
  margin: 0;
  padding: 10px 24px;
  background: #f0f3f1;
  color: #37434c;
  font-size: 14px;
  text-align: center;
  overflow-wrap: anywhere;
}
html[dir="rtl"] body { text-align: start; }
html[dir="rtl"] :is(.audio-time, .waveform-track, .editor-wave, input[type="range"], progress, audio, video, input[type="url"]) {
  direction: ltr;
}
html[dir="rtl"] .home-tools-panel { left: auto; right: 0; }
html:not([lang="en"]) :is(button, .download, h1, h2, h3, label) {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .hub-header { flex-wrap: wrap; gap: 8px; height: auto; min-height: 66px; padding-block: 10px; }
  .locale-picker { margin-inline-start: auto; }
  .locale-picker select { width: 112px; }
  html[lang="fa"] .hero h1 { font-size: 40px; line-height: 1.2; }
  html[lang="zh-hans"] .hero h1 { font-size: 48px; }
  html[lang="zh-hans"] .hero h1 em { display: inline-block; }
  html[lang="fa"] .price-heading h1,
  html[lang="zh-hans"] .price-heading h1 { font-size: 36px; line-height: 1.25; }
}