/* Shared controls use the active palette; neither theme file is overwritten. */
.app-language-control { align-items: center; gap: 8px; }
.app-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 1px solid rgba(var(--theme-text-warm-rgb), .2);
  border-radius: 999px;
  color: var(--theme-text-warm);
  background: linear-gradient(135deg, var(--theme-control-gradient-start), var(--theme-raised-surface));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.app-theme-toggle svg { width: 19px; height: 19px; flex: none; }
body[data-bible-page] .app-theme-toggle:focus-visible { outline: 2px solid var(--theme-navigation-active); outline-offset: 3px; }
@media (min-width: 680px) {
  .app-theme-reader { display: none; }
  .app-language-sidebar { display: flex; }
  .app-language-sidebar .app-theme-toggle { width: 44px; height: 44px; padding: 11px; border-radius: 12px; }
  .desktop-account-footer .app-language-button { flex: 1; min-width: 0; width: 0; padding-inline: 8px; }
}
@media (max-width: 679px) {
  .app-language-videos { display: flex; }
  .videos-title-mobile { white-space: nowrap; }
  body.videos-page .videos-heading.theme-controls-compact > .premium-button { width: 34px; padding: 6px; }
  body.videos-page .videos-heading.theme-controls-compact > .premium-button > span { display: none; }
}
@media (max-width: 399px) {
  body.videos-page .videos-heading.social-header { column-gap: 6px; }
  .app-language-videos { gap: 6px; }
  .app-language-videos .app-language-button { padding-inline: 6px; }
}
