/* Scripture size controls use the current theme; navigation type stays fixed. */
body.standalone-bible:not(.episode-embedded-panel):not(.episode-mobile-embedded) .reading-chapter p {
  font-size: var(--reader-font-size, 18px);
}
.reader-size-button {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  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;
}
.reader-size-button svg { width: 19px; height: 19px; flex: none; }
.reader-size-button:focus-visible, .reader-size-option:focus-visible {
  outline: 2px solid var(--theme-navigation-active); outline-offset: 3px;
}
.reader-size-menu {
  position: fixed; z-index: 200; width: min(300px, calc(100vw - 32px));
  padding: 12px; border: 1px solid rgba(var(--theme-text-warm-rgb), .18);
  border-radius: 14px; color: var(--theme-text-warm); background: var(--theme-sheet-background);
  box-shadow: 0 12px 36px rgba(var(--theme-shadow-rgb), .25); direction: ltr;
}
.reader-size-menu[hidden] { display: none; }
.reader-size-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
.reader-size-option {
  display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 2px; border: 1px solid transparent; border-radius: 9px;
  color: var(--theme-text-warm); background: var(--theme-verse-action-background); cursor: pointer;
}
.reader-size-sample { display: flex; align-items: center; justify-content: center; height: 36px; font-family: Georgia,serif; line-height: 1; }
.reader-size-value { font: 500 11px/1.3 var(--font-ui); }
.reader-size-option[aria-checked="true"] {
  border-color: var(--theme-navigation-active); background: rgba(var(--theme-accent-gold-soft-rgb), .14);
}
.reader-size-option:hover { border-color: var(--theme-navigation-active); }
@media (min-width: 680px) {
  body.standalone-bible:not(.episode-embedded-panel):not(.episode-mobile-embedded) .reading-header { align-items: center; }
  .reader-size-button { border-radius: 10px; }
}
