/* v1.0.34 — contraste e legibilidade claro/escuro */
:root {
  --control-light-bg: #f3f6eb;
  --control-light-border: rgba(79, 93, 47, .22);
  --control-light-text: #2f3b1d;
  --control-dark-bg: rgba(48, 61, 35, .98);
  --control-dark-bg-strong: rgba(58, 73, 42, .98);
  --control-dark-border: rgba(248, 246, 239, .18);
  --control-dark-text: #f8f6ef;
  --control-dark-muted: rgba(248, 246, 239, .64);
}

.back-btn,
.small-btn,
.action-btn:not(.accent),
.hino-nav .small-btn,
.chapter-footer-nav .small-btn {
  border: 1px solid var(--control-light-border);
  background: var(--control-light-bg);
  color: var(--control-light-text);
  box-shadow: 0 5px 14px rgba(53, 64, 31, .10);
}
.back-btn {
  background: #fffdf8;
  color: #35401f;
}
.action-btn:not(.accent) {
  background: rgba(255,255,255,.96);
}
.action-btn.accent {
  color: #253012;
  border: 1px solid rgba(114, 83, 18, .20);
  box-shadow: 0 6px 15px rgba(126, 93, 22, .16);
}
.chapter-bar select {
  border-color: var(--control-light-border);
  color: #2b351a;
  box-shadow: 0 4px 10px rgba(53,64,31,.07);
}
.chevron {
  border: 1px solid rgba(79, 93, 47, .16);
  background: #edf2e5;
  color: #35401f;
  font-weight: 950;
}
.row {
  border-color: rgba(79,93,47,.14);
}
.small-btn:disabled,
.action-btn:disabled,
.hino-nav .small-btn:disabled,
.chapter-footer-nav .small-btn:disabled {
  opacity: 1;
  background: #eef0e8;
  color: #9ca48d;
  border-color: rgba(79, 93, 47, .10);
  box-shadow: none;
}

.theme-dark .back-btn,
.theme-dark .small-btn,
.theme-dark .hino-nav .small-btn,
.theme-dark .chapter-footer-nav .small-btn {
  background: linear-gradient(180deg, var(--control-dark-bg-strong), var(--control-dark-bg));
  color: var(--control-dark-text);
  border-color: var(--control-dark-border);
  box-shadow: 0 6px 18px rgba(0,0,0,.20);
  opacity: 1;
}
.theme-dark .back-btn {
  background: rgba(51, 63, 36, .98);
  color: #fbf7e8;
  border-color: rgba(248,246,239,.22);
}
.theme-dark .action-btn:not(.accent) {
  background: rgba(48, 60, 36, .98);
  color: #fbf7e8;
  border-color: rgba(248,246,239,.20);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.theme-dark .action-btn.accent {
  color: #1e2612;
  border-color: rgba(250,225,154,.28);
  box-shadow: 0 7px 18px rgba(201,166,70,.18);
}
.theme-dark .small-btn:disabled,
.theme-dark .action-btn:disabled,
.theme-dark .hino-nav .small-btn:disabled,
.theme-dark .chapter-footer-nav .small-btn:disabled {
  background: rgba(38, 45, 28, .70);
  color: rgba(248,246,239,.46);
  border-color: rgba(248,246,239,.08);
  box-shadow: none;
  opacity: 1;
}
.theme-dark .chapter-bar select {
  background: rgba(38, 47, 30, .98);
  color: #f8f6ef;
  border-color: rgba(248,246,239,.20);
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
}
.theme-dark .row,
.theme-dark .text-card,
.theme-dark .lyrics-card,
.theme-dark .prefs-card,
.theme-dark .quick-panel,
.theme-dark .today-card {
  background: rgba(31, 40, 25, .98);
  border-color: rgba(248,246,239,.13);
  box-shadow: 0 9px 22px rgba(0,0,0,.18);
}
.theme-dark .row-title,
.theme-dark .result-ref {
  color: #f7f2df;
}
.theme-dark .row-subtitle,
.theme-dark .result-text,
.theme-dark .today-muted {
  color: rgba(248,246,239,.78);
}
.theme-dark .chevron {
  background: rgba(248,246,239,.12);
  color: #f8f6ef;
  border-color: rgba(248,246,239,.16);
}
.theme-dark .section-header {
  background: linear-gradient(180deg, #5c6e36, #415126);
  color: #fff;
  box-shadow: 0 7px 16px rgba(0,0,0,.18);
}
.theme-dark .verse {
  border-bottom-color: rgba(248,246,239,.08);
}
.theme-dark .verse-number,
.theme-dark .result-count strong {
  color: #d8bd63;
}
.theme-dark .hino-stanza-number {
  background: #6b7f41;
  color: #fff;
}
.theme-dark .hino-chorus {
  background: rgba(201,166,70,.22);
  border-left-color: #d4b052;
  color: #fff8df;
}
.theme-dark .quick-read-panel,
.theme-dark .quick-read-option,
.theme-dark .quick-read-action {
  background: rgba(41, 50, 31, .98);
  color: #f8f6ef;
  border-color: rgba(248,246,239,.15);
}
.theme-dark .quick-read-option.active,
.theme-dark .quick-read-action.is-on {
  background: rgba(201,166,70,.22);
  color: #fff6d7;
  border-color: rgba(201,166,70,.42);
}
.theme-dark .bottom-nav {
  background: rgba(17, 21, 13, .96);
  border-top-color: rgba(248,246,239,.10);
}
.theme-dark .nav-btn:not(.active) {
  color: rgba(248,246,239,.72);
}
.theme-dark .nav-btn:not(.active) .nav-icon {
  color: rgba(248,246,239,.72);
}
.theme-dark .nav-btn.active {
  color: #fff;
  box-shadow: 0 9px 22px rgba(0,0,0,.28);
}
.theme-dark .testament-btn,
.theme-dark .search-filter-btn,
.theme-dark .today-btn,
.theme-dark .empty-action-btn,
.theme-dark .empty-search-tips button {
  background: rgba(46, 58, 35, .98);
  color: #fbf7e8;
  border-color: rgba(248,246,239,.16);
}
.theme-dark .testament-btn.active,
.theme-dark .search-filter-btn.active,
.theme-dark .today-btn.is-primary,
.theme-dark .empty-action-btn:first-child {
  background: linear-gradient(180deg, #5c6e36, #415126);
  color: #fff;
  border-color: rgba(201,166,70,.28);
}
@media (max-width: 420px) {
  .small-btn,
  .hino-nav .small-btn,
  .chapter-footer-nav .small-btn {
    font-weight: 950;
  }
}
