﻿/* Peniel App â€” RBAC debug bar (emulaÃ§Ã£o visual de perfis) */

.rbac-hidden {
  display: none !important;
}

/* Login overlay â€” esconde shell atÃ© autenticar */
body.peniel-auth-locked #debug-bar,
body.peniel-auth-locked #sidebar,
body.peniel-auth-locked #sidebar-backdrop,
body.peniel-auth-locked #app-shell,
body.peniel-auth-locked .peniel-beta-badge {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.peniel-auth-locked {
  overflow: auto;
  padding-top: 0 !important;
}

.peniel-login-view {
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(155, 27, 27, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, #0c0a0a 0%, #000000 50%, #050505 100%);
}

body.peniel-auth-locked #app-config-btn {
  display: none !important;
}

.peniel-login-card {
  /* Sem max-height: a pÃ¡gina inteira rola, como antes */
  display: block;
  overflow: visible;
}

.login-quick-access {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-role-rest {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.login-role-section__title {
  margin: 0.35rem 0 0.55rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.login-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .login-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.login-role-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(42, 42, 42, 0.9);
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.7));
  color: #fff;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.login-role-btn--admin {
  background: linear-gradient(145deg, rgba(155, 27, 27, 0.32), rgba(0, 0, 0, 0.75));
  border-color: rgba(155, 27, 27, 0.55);
}

.login-role-btn--compact {
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
}

.login-role-btn--member {
  opacity: 0.95;
}

.login-role-btn:hover {
  border-color: rgba(155, 27, 27, 0.55);
  background: linear-gradient(145deg, rgba(155, 27, 27, 0.18), rgba(0, 0, 0, 0.75));
  transform: translateY(-1px);
}

.login-role-btn:active {
  transform: scale(0.98);
}

.login-role-btn__emoji {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.login-role-btn--compact .login-role-btn__emoji {
  font-size: 1rem;
}

.login-role-btn__label {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.login-role-btn--compact .login-role-btn__label {
  font-size: 0.75rem;
}

.debug-bar__btn.is-active {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* â€”â€” Bancos de Dados Unificados â€”â€” */
.banco-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 1024px) {
  .banco-media-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.banco-media-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(42, 42, 42, 0.85);
  background: linear-gradient(160deg, #141414, #050505);
}

.banco-media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
  overflow: hidden;
}

.banco-media-thumb img,
.banco-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banco-media-badge {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(155, 27, 27, 0.9);
  color: #fff;
  font-size: 0.7rem;
}

.banco-media-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.banco-media-actions,
.banco-table__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.banco-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(42, 42, 42, 0.9);
  background: rgba(0, 0, 0, 0.35);
  color: #d4d4d4;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.banco-icon-btn:hover {
  border-color: rgba(155, 27, 27, 0.55);
  color: #fff;
}

.banco-icon-btn--danger:hover {
  border-color: rgba(220, 38, 38, 0.7);
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.25);
}

.banco-table {
  border-collapse: collapse;
  min-width: 36rem;
}

.banco-table thead th {
  padding: 0.85rem 1rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
  border-bottom: 1px solid rgba(42, 42, 42, 0.9);
  background: rgba(0, 0, 0, 0.25);
}

.banco-table tbody td {
  padding: 0.9rem 1rem;
  color: #d4d4d4;
  border-bottom: 1px solid rgba(42, 42, 42, 0.55);
  vertical-align: middle;
}

.banco-table__letra {
  max-width: 18rem;
  color: #a3a3a3;
}

.banco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.banco-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(64, 64, 64, 0.9);
  padding: 0.15rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.banco-tag--pastor {
  border-color: rgba(155, 27, 27, 0.55);
  color: #fca5a5;
  background: rgba(155, 27, 27, 0.12);
}

.banco-tag--pregador {
  border-color: rgba(180, 83, 9, 0.55);
  color: #fdba74;
  background: rgba(180, 83, 9, 0.12);
}

.banco-tag--lider {
  border-color: rgba(163, 24, 24, 0.5);
  color: #fca5a5;
  background: rgba(163, 24, 24, 0.12);
}

.banco-tag--vice {
  border-color: rgba(180, 83, 9, 0.5);
  color: #fdba74;
  background: rgba(180, 83, 9, 0.12);
}

.banco-tag--ministro {
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}

.banco-tag--membro {
  border-color: rgba(100, 116, 139, 0.55);
  color: #cbd5e1;
  background: rgba(100, 116, 139, 0.12);
}

.banco-tag--admin {
  border-color: rgba(163, 24, 24, 0.55);
  color: #fecaca;
  background: rgba(163, 24, 24, 0.16);
}

.banco-tag--master {
  border-color: rgba(234, 179, 8, 0.55);
  color: #fde68a;
  background: rgba(234, 179, 8, 0.14);
}

/* PermissÃµes â€” cards por banco */
.admin-acl-card {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.85rem;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.35));
  padding: 1rem 1.1rem 0.85rem;
}

.admin-acl-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-acl-card__title {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  color: #fff;
  margin: 0;
}

.admin-acl-card__hint {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.95);
}

.admin-acl-row {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) 1fr;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.admin-acl-row:last-child {
  border-bottom: 0;
}

.admin-acl-row__min {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
}

.admin-acl-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}

.admin-acl-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.admin-acl-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.admin-acl-switch__ui {
  width: 1.7rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.admin-acl-switch__ui::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #e2e8f0;
  transition: transform 0.15s ease;
}

.admin-acl-switch input:checked + .admin-acl-switch__ui {
  background: rgba(163, 24, 24, 0.85);
  border-color: rgba(252, 165, 165, 0.45);
}

.admin-acl-switch input:checked + .admin-acl-switch__ui::after {
  transform: translateX(0.65rem);
  background: #fff;
}

.admin-acl-switch input:focus-visible + .admin-acl-switch__ui {
  outline: 2px solid rgba(252, 165, 165, 0.7);
  outline-offset: 2px;
}

.admin-acl-switch__hint {
  color: rgba(148, 163, 184, 0.9);
  font-weight: 400;
}

@media (max-width: 640px) {
  .admin-acl-row {
    grid-template-columns: 1fr;
  }
}

html.theme-light .admin-acl-card {
  background: linear-gradient(165deg, #fff, #f8fafc);
  border-color: rgba(15, 23, 42, 0.1);
}

html.theme-light .admin-acl-card__title,
html.theme-light .admin-acl-row__min {
  color: #0f172a;
}

html.theme-light .admin-acl-switch {
  color: #334155;
}

html.theme-light .banco-tag--master {
  border-color: rgba(161, 98, 7, 0.45);
  color: #92400e;
  background: rgba(253, 230, 138, 0.45);
}

body.banco-modal-open {
  overflow: hidden;
}

.banco-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.banco-modal.is-hidden,
.banco-modal[hidden] {
  display: none !important;
}

.banco-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.banco-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(32rem, 100%);
  max-height: min(88vh, 40rem);
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(42, 42, 42, 0.9);
  background: linear-gradient(165deg, #171414 0%, #050505 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.banco-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(42, 42, 42, 0.85);
  background: #141110;
}

.banco-modal__title {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.banco-modal__close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(42, 42, 42, 0.9);
  background: transparent;
  color: #a3a3a3;
}

.banco-modal__close:hover {
  color: #fff;
  border-color: rgba(155, 27, 27, 0.5);
}

.banco-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.banco-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.1rem 1.15rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.banco-modal__actions {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem 1.15rem 1rem;
  border-top: 1px solid rgba(42, 42, 42, 0.7);
  background: #0c0a0a;
}

.banco-field {
  margin-bottom: 0.9rem;
}

.banco-field label,
.banco-field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d4d4d4;
}

.banco-field--checks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.banco-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  max-height: 10rem;
  overflow: auto;
  padding: 0.5rem 0.15rem;
}

.banco-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #d4d4d4;
  cursor: pointer;
}

/* â€”â€” Seletores do cadastro de membros (cards + check grenÃ¡) â€”â€” */
.user-pick-help {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #a3a3a3;
}

.user-pick-grid {
  display: grid;
  gap: 0.55rem;
}

.user-pick-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 420px) {
  .user-pick-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.user-pick-grid--ministries {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  max-height: 13.5rem;
  overflow: auto;
  padding: 0.15rem 0.1rem 0.25rem;
}

.user-pick {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.user-pick__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  pointer-events: none;
}

.user-pick__face {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(55, 55, 55, 0.95);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.user-pick:hover .user-pick__face {
  border-color: rgba(155, 27, 27, 0.45);
  background: rgba(155, 27, 27, 0.06);
}

.user-pick__check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(120, 120, 120, 0.85);
  background: transparent;
  color: transparent;
  font-size: 0.65rem;
  line-height: 1;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.user-pick__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.12rem;
}

.user-pick__icon {
  display: inline-flex;
  align-items: center;
  color: #9b1b1b;
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}

.user-pick__title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.25;
}

.user-pick__hint {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #8a8a8a;
}

.user-pick__input:checked + .user-pick__face,
.user-pick.is-on .user-pick__face {
  border-color: rgba(155, 27, 27, 0.85);
  background: rgba(155, 27, 27, 0.14);
  box-shadow: inset 0 0 0 1px rgba(155, 27, 27, 0.2);
}

.user-pick__input:checked + .user-pick__face .user-pick__check,
.user-pick.is-on .user-pick__check {
  border-color: #9b1b1b;
  background: #9b1b1b;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(155, 27, 27, 0.22);
}

.user-pick__input:focus-visible + .user-pick__face {
  outline: 2px solid rgba(155, 27, 27, 0.65);
  outline-offset: 2px;
}

.user-pick.is-disabled {
  cursor: default;
  opacity: 0.85;
}

.user-pick.is-disabled:hover .user-pick__face {
  border-color: rgba(155, 27, 27, 0.85);
  background: rgba(155, 27, 27, 0.14);
}

#usuarios-modal .banco-modal__panel {
  width: min(40rem, calc(100vw - 2rem));
  max-height: min(90vh, 42rem);
  height: auto !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#usuarios-modal .banco-modal__head {
  position: static;
  flex-shrink: 0;
  background: #141110;
}

#usuarios-modal .banco-modal__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

#usuarios-modal .banco-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1.15rem;
}

#usuarios-modal .usuarios-modal-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}
#usuarios-modal .usuarios-modal-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #9a9a9f;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
#usuarios-modal .usuarios-modal-tab.is-active {
  color: #f4f3f1;
  border-color: rgba(163, 24, 24, 0.45);
  background: rgba(163, 24, 24, 0.12);
}
#usuarios-modal .usuarios-bp-row {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
}
#usuarios-modal .usuarios-bp-row__title {
  margin: 0 0 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f4f3f1;
}
#usuarios-modal .usuarios-bp-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
#usuarios-modal .usuarios-bp-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #a3a3a3;
  cursor: pointer;
}
#usuarios-modal .usuarios-bp-check input {
  accent-color: #a31818;
}

#usuarios-modal #usuarios-modal-fields {
  overflow: visible;
}

#usuarios-modal .banco-field:last-of-type {
  margin-bottom: 0.25rem;
}

#usuarios-modal .banco-modal__actions {
  position: static;
  flex-shrink: 0;
  z-index: 2;
  margin: 0;
  padding: 0.85rem 1.15rem 1rem;
  background: #0c0a0a;
  border-top: 1px solid rgba(42, 42, 42, 0.7);
}

.min-role-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: none;
  overflow: visible;
  padding: 0.1rem 0.05rem 0.15rem;
}

.min-role-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 11rem) minmax(0, 1fr);
  gap: 0.45rem 0.65rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(55, 55, 55, 0.9);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.min-role-row.is-active,
.min-role-row:has(input.user-pick__input[value="MEMBRO"]:checked),
.min-role-row:has(input.user-pick__input[value="LIDER"]:checked) {
  border-color: rgba(155, 27, 27, 0.55);
  background: rgba(155, 27, 27, 0.08);
}

.min-role-row__name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.25;
}

.min-role-row__opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.min-role-row__opts--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.min-role-row__opts--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.min-role-row__opts--5 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .min-role-row__opts--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .min-role-row__opts--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.min-role-row__opts .user-pick--compact .user-pick__face {
  min-height: 2.35rem;
  padding: 0.45rem 0.4rem;
  justify-content: center;
  gap: 0.35rem;
}

.min-role-row__opts .user-pick--compact .user-pick__body {
  align-items: center;
}

.min-role-row__opts .user-pick--compact .user-pick__title {
  font-size: 0.68rem;
  text-align: center;
  line-height: 1.15;
}

.min-role-row__opts .user-pick--compact .user-pick__hint,
.min-role-row__opts .user-pick--compact .user-pick__icon {
  display: none;
}

.min-role-row__opts .user-pick--compact .user-pick__check {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0;
  font-size: 0.55rem;
}

@media (max-width: 560px) {
  .min-role-row {
    grid-template-columns: 1fr;
  }
}

.banco-hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: #737373;
}

/* actions globais jÃ¡ definidos acima com footer fixo do modal */

/* â€”â€” Escalas: Accordion por ministÃ©rio â€”â€” */
.cult-esc-acc {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(42, 42, 42, 0.85);
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.95), rgba(8, 8, 8, 0.9));
}

.cult-esc-acc__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "emoji title chevron"
    "emoji hint chevron";
  align-items: center;
  gap: 0.15rem 0.75rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  list-style: none;
  background: rgba(28, 28, 28, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cult-esc-acc__summary::-webkit-details-marker {
  display: none;
}

.cult-esc-acc__summary::marker {
  content: "";
}

.cult-esc-acc[open] > .cult-esc-acc__summary {
  border-bottom-color: rgba(42, 42, 42, 0.85);
  background: rgba(36, 28, 28, 0.95);
}

.cult-esc-acc__summary:hover {
  background: rgba(155, 27, 27, 0.12);
}

.cult-esc-acc__emoji {
  grid-area: emoji;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #fca5a5;
}
.cult-esc-acc__emoji .fa-solid,
.cult-esc-acc__emoji .pi {
  font-size: inherit;
  line-height: 1;
}

.cult-esc-acc__title {
  grid-area: title;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.cult-esc-acc__hint {
  grid-area: hint;
  font-size: 0.7rem;
  color: #a3a3a3;
}

.cult-esc-acc__chevron {
  grid-area: chevron;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(64, 64, 64, 0.8);
  color: #a3a3a3;
  transition: transform 0.2s ease, color 0.15s ease, border-color 0.15s ease;
}

.cult-esc-acc[open] > .cult-esc-acc__summary .cult-esc-acc__chevron {
  transform: rotate(180deg);
  color: #f87171;
  border-color: rgba(155, 27, 27, 0.45);
}

.cult-esc-acc__body {
  padding: 1rem;
}

.cult-esc-acc__body.is-locked {
  position: relative;
}

.cult-esc-acc__body.is-locked::after {
  content: attr(data-lock-label, "Consulta â€” sem permissÃ£o para editar");
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  max-width: 55%;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a3a3a3;
  opacity: 0.9;
  pointer-events: none;
  text-align: right;
  line-height: 1.25;
}

/* Em modo ediÃ§Ã£o o rÃ³tulo "EditÃ¡vel" Ã© redundante â€” nunca mostrar */
.cult-esc-acc__body.is-editable::after,
.cult-edit-section.is-editable::after {
  content: none !important;
  display: none !important;
}

.cult-edit--readonly [data-escala-editable="true"] input,
.cult-edit--readonly [data-escala-editable="true"] textarea,
.cult-edit--readonly [data-escala-editable="true"] select,
.cult-edit--readonly [data-escala-editable="true"] .cult-lou-inst-check-label {
  pointer-events: auto !important;
  opacity: 1 !important;
  cursor: auto;
}

.cult-field select,
select.cult-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  body.debug-rbac-active .peniel-a11y-panel {
    top: 6.25rem;
  }
}

/* â€”â€” Cultos: picks ligados a bancos â€”â€” */
.cult-edit-field__hint {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #a3a3a3;
}

.cult-pick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2rem;
}

.cult-esc-conflicts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.cult-esc-conflicts[hidden] {
  display: none !important;
}

.cult-esc-conflicts__month,
.cult-esc-conflicts__same {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 600;
}

.cult-esc-conflicts__month {
  color: #fbbf24;
}

.cult-esc-conflicts__same {
  color: #f87171;
}

.cult-pick-chips__empty {
  margin: 0;
  font-size: 0.78rem;
  color: #8a8a8a;
}

.cult-pick-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.45rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 27, 27, 0.45);
  background: rgba(155, 27, 27, 0.12);
  color: #f5f5f5;
  font-size: 0.78rem;
  font-weight: 600;
}

.cult-pick-chip.is-busy-month {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.cult-pick-chip__busy {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cult-esc-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cult-esc-picker__search {
  width: 100%;
}

.cult-esc-picker__select {
  width: 100%;
}

.dash-escala-notifs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cult-pick-chip__rm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
}

.cult-edit-passagem__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.cult-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.cult-media-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(120, 120, 120, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4d4d4;
  cursor: pointer;
}

.cult-media-upload .cult-edit-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cult-banco-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.55rem;
  max-height: min(50vh, 22rem);
  overflow: auto;
}

.cult-banco-media-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 55, 55, 0.9);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.cult-banco-media-item:hover {
  border-color: rgba(155, 27, 27, 0.55);
}

.cult-banco-media-item img,
.cult-banco-media-item video {
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.45rem;
  background: #111;
}

.cult-banco-media-item span {
  font-size: 0.7rem;
  line-height: 1.25;
  color: #d4d4d4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* UtilitÃ¡rios z-[N] ausentes no CSS compilado do Tailwind.
   Sem eles os modais ficam sem z-index e somem atrÃ¡s do pop-up de culto (z-index 120). */
.z-\[140\] {
  z-index: 140;
}

.z-\[210\] {
  z-index: 210;
}

/* â€”â€” Cultos: pop-up grande de ediÃ§Ã£o â€”â€” */
.cult-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .cult-edit-modal {
    align-items: center;
    padding: 1.5rem;
  }
}

.cult-edit-modal.hidden {
  display: none !important;
}

.cult-edit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.cult-edit-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(64rem, 100%);
  max-height: min(94vh, 56rem);
  height: min(94vh, 56rem);
  margin: 0;
  overflow: hidden;
  min-height: 0;
  border-radius: 1.1rem 1.1rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #2a2422 0%, #1a1614 55%, #141110 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .cult-edit-modal__panel {
    border-radius: 1.1rem;
  }
}

.cult-edit-modal__panel .cult-edit-header {
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #2a2422 0%, #221e1c 100%);
}

.cult-edit-focus-banner {
  flex-shrink: 0;
  margin: 0.35rem 1rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(252, 165, 165, 0.28);
  background: rgba(163, 24, 24, 0.14);
  color: #fecaca;
  font-size: 0.78rem;
  line-height: 1.4;
}

.cultos-badge-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0.15rem 0 0.35rem;
}

.cultos-badge-legend .cultos-badge {
  margin-right: 0.15rem;
}

.cult-confirm-alert--pending {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
}

.cult-overview > .cult-confirm-alert {
  margin: 0.75rem 1rem 0;
}

.cult-lou-inst-row.hidden {
  display: none !important;
}

.cult-lou-add-inst {
  max-width: 18rem;
}

.cult-cal-toggle {
  display: none;
}

@media (max-width: 1023px) {
  .cult-cal-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .cultos-config-cal-wrap.is-collapsed-mobile #cult-cal-grid {
    display: none;
  }

  .cultos-config-cal-wrap.is-collapsed-mobile .cultos-config-cal-header {
    flex-wrap: wrap;
  }

  .cultos-page-header .cultos-config-cal-wrap {
    max-width: none;
  }

  .cult-overview {
    padding-bottom: 1.25rem;
  }

  .cult-edit-modal__panel {
    max-height: 96vh;
    height: 96vh;
  }
}

@media (min-width: 1024px) {
  .cultos-config-cal-wrap.is-collapsed-mobile #cult-cal-grid {
    display: grid;
  }
  .cult-cal-toggle {
    display: none !important;
  }
}

.cult-edit-modal__panel .cult-edit-tabs {
  flex-shrink: 0;
  margin: 0 1rem;
}

/* Editor: ocupa o restante e deixa o body rolar */
#cultos-editor.cult-editor {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cult-edit-modal__panel .cult-edit-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

#cultos-overview.cult-overview {
  flex: 1 1 auto;
  min-height: 0;
}

.cultos-criar-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  padding: 1.1rem 1rem;
  text-align: left;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cultos-criar-option:hover {
  border-color: rgba(155, 27, 27, 0.55);
  background: rgba(155, 27, 27, 0.08);
}

.cultos-criar-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(155, 27, 27, 0.35);
  background: rgba(155, 27, 27, 0.12);
  color: #c45c5c;
  font-size: 0.95rem;
}

.cultos-criar-option__title {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.cultos-criar-option__desc {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #a8a29e;
}

.cultos-create-modal-box {
  max-height: min(90vh, 40rem);
  overflow-y: auto;
}

.cult-lou-inst-row--multi {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.cult-lou-inst-row--multi .cult-lou-inst-nome-wrap {
  width: 100%;
}

.cult-lou-inst-row--multi .cult-pick-chips {
  min-height: 1.5rem;
}

body.cultos-detail-open {
  overflow: hidden;
}

/* Cultos: calendÃ¡rio no header + botÃ£o junto da lista */
.cultos-page-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .cultos-page-header {
    grid-template-columns: minmax(0, 1fr) minmax(12.5rem, 15rem);
    gap: 1.25rem 1.5rem;
  }
}

.cultos-page-header .cultos-config-cal-wrap {
  width: 100%;
  max-width: 16rem;
  justify-self: start;
  padding: 0.55rem 0.65rem;
}

@media (min-width: 1024px) {
  .cultos-page-header .cultos-config-cal-wrap {
    justify-self: end;
    max-width: 15rem;
  }
}

.cultos-list-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cultos-list-toolbar {
  padding-bottom: 0.15rem;
}

/* â€”â€” Culto: visÃ£o resumo (card) â€”â€” */
.cult-overview {
  padding: 1.1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.cult-overview__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(185, 28, 28, 0.28);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(185, 28, 28, 0.22), transparent 55%),
    linear-gradient(155deg, rgba(28, 28, 28, 0.98), rgba(10, 10, 10, 0.94));
}

.cult-overview__hero-text {
  min-width: 0;
  flex: 1 1 auto;
}

.cult-overview__hero-media {
  flex: 0 0 auto;
  width: min(42%, 11.5rem);
  max-width: 11.5rem;
  aspect-ratio: 16 / 10;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(64, 64, 64, 0.85);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cult-overview__hero-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  .cult-overview__hero--with-media {
    flex-direction: column;
    align-items: stretch;
  }

  .cult-overview__hero-media {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

.cult-overview__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.cult-overview__title {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.cult-overview__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.88rem;
  color: #d4d4d4;
}

.cult-overview__dot {
  opacity: 0.5;
}

.cult-overview__block {
  border-radius: 0.95rem;
  border: 1px solid rgba(42, 42, 42, 0.9);
  background: rgba(14, 14, 14, 0.85);
  padding: 0.95rem 1rem 1.05rem;
}

.cult-overview__block-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: #f87171;
}

.cult-overview__block-head h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f5f5f5;
}

.cult-overview__lit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cult-overview__lit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cult-overview__lit-item--wide {
    grid-column: 1 / -1;
  }
}

.cult-overview__lit-item p,
.cult-overview__avisos {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #e5e5e5;
  white-space: pre-wrap;
}

.cult-overview__playlist {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: #e5e5e5;
  font-size: 0.9rem;
}

.cult-overview__playlist li + li {
  margin-top: 0.25rem;
}

.cult-overview__muted {
  color: #a3a3a3;
  font-weight: 400;
}

.cult-overview__sectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .cult-overview__sectors {
    grid-template-columns: 1fr 1fr;
  }
}

.cult-overview__sector {
  border-radius: 0.75rem;
  border: 1px solid rgba(50, 50, 50, 0.85);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.75rem 0.85rem;
}

.cult-overview__sector h5 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f87171;
}

.cult-overview__slots {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cult-overview__slot-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.cult-overview__slot-people {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.cult-overview__person {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.12);
  font-size: 0.78rem;
  color: #f5f5f5;
}

.cult-overview__empty {
  color: #737373;
  font-size: 0.82rem;
}

.cult-editor.hidden,
.cult-overview[hidden] {
  display: none !important;
}

/* Busca de membros na escala */
.cult-esc-picker__results {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 11rem;
  overflow: auto;
  padding: 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(64, 64, 64, 0.9);
  background: rgba(8, 8, 8, 0.95);
}

.cult-esc-picker__results[hidden] {
  display: none !important;
}

.cult-esc-picker__hit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background: transparent;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 0.86rem;
}

.cult-esc-picker__hit:hover,
.cult-esc-picker__hit:focus-visible {
  border-color: rgba(185, 28, 28, 0.45);
  background: rgba(185, 28, 28, 0.12);
  outline: none;
}

.cult-esc-picker__hit-busy {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fbbf24;
  white-space: nowrap;
}

.cult-esc-picker__empty {
  margin: 0;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  color: #a3a3a3;
}

.cult-esc-picker__select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cult-esc-picker {
  position: relative;
}

/* Lock visual tambÃ©m na seÃ§Ã£o Louvores da liturgia */
.cult-edit-section.is-locked {
  position: relative;
  opacity: 0.92;
}

.cult-edit-section.is-locked::after {
  content: "Somente visualizaÃ§Ã£o";
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
  opacity: 0.85;
  pointer-events: none;
}

.cult-banco-media-tabs {
  display: flex;
  gap: 0.4rem;
}

.cult-banco-media-tab {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(64, 64, 64, 0.9);
  background: rgba(0, 0, 0, 0.28);
  color: #d4d4d4;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.cult-banco-media-tab.is-active {
  border-color: rgba(185, 28, 28, 0.55);
  background: rgba(185, 28, 28, 0.18);
  color: #fff;
}

.cult-banco-media-item__thumb {
  width: 100%;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0.45rem;
  background: #111;
}

.cult-banco-media-item__name {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #f5f5f5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cult-banco-media-item__kind {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.cult-avisos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 1.6rem;
}

.cult-avisos-tags__empty {
  font-size: 0.78rem;
  color: #737373;
}

.cult-avisos-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(185, 28, 28, 0.4);
  background: rgba(185, 28, 28, 0.14);
  color: #f5f5f5;
  font-size: 0.78rem;
}

.cult-lit-busca-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(64, 64, 64, 0.85);
  background: rgba(0, 0, 0, 0.28);
}

.cult-lit-busca-row + .cult-lit-busca-row {
  margin-top: 0.3rem;
}

.cult-lit-busca-add-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(185, 28, 28, 0.5);
  background: rgba(185, 28, 28, 0.15);
  color: #f87171;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
}

.cult-lit-busca-add-btn:hover {
  background: rgba(185, 28, 28, 0.28);
}

.cult-lit-busca-add-btn.is-added {
  opacity: 0.55;
}

/* â€”â€” Holyrics: toolbar numa linha, tÃ­tulo no tamanho original â€”â€” */
.holyrics-desk-header {
  flex-shrink: 0;
}

.holyrics-desk-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-height: 2.75rem;
}

.holyrics-desk-toolbar__title {
  margin: 0;
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.15;
}

.holyrics-desk-toolbar__culto {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(64, 64, 64, 0.8);
  background: rgba(0, 0, 0, 0.28);
}

.holyrics-culto-bar__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.holyrics-culto-bar__nav-btn,
.holyrics-culto-bar__today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(64, 64, 64, 0.9);
  background: rgba(20, 20, 20, 0.9);
  color: #e5e5e5;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.holyrics-culto-bar__nav-btn {
  width: 2.15rem;
  padding: 0;
}

.holyrics-culto-bar__nav-btn:hover,
.holyrics-culto-bar__today:hover {
  border-color: rgba(185, 28, 28, 0.5);
  color: #fff;
}

.holyrics-culto-bar__today.is-active {
  border-color: rgba(185, 28, 28, 0.55);
  background: rgba(185, 28, 28, 0.18);
  color: #f87171;
}

.holyrics-culto-bar__date {
  min-height: 2.15rem;
  max-width: 9.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(64, 64, 64, 0.9);
  background: rgba(0, 0, 0, 0.45);
  color: #f5f5f5;
  font-size: 0.75rem;
}

.holyrics-culto-bar__info {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
  overflow: hidden;
}

.holyrics-culto-bar__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f5f5f5;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holyrics-culto-bar__status {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.holyrics-culto-bar__status.is-configurado {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.holyrics-culto-bar__status.is-parcial {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.holyrics-culto-bar__status.is-sem-liturgia,
.holyrics-culto-bar__status.is-vazio {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.holyrics-culto-bar__status.is-sem-culto,
.holyrics-culto-bar__status.is-empty {
  background: rgba(82, 82, 82, 0.35);
  color: #a3a3a3;
  border: 1px solid rgba(82, 82, 82, 0.55);
}

.holyrics-culto-bar__preview {
  flex-shrink: 0;
  margin: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(163, 163, 163, 0.35);
  background: rgba(64, 64, 64, 0.35);
  font-size: 0.62rem;
  font-weight: 600;
  color: #d4d4d4;
  white-space: nowrap;
}

.holyrics-culto-bar__missing,
.holyrics-desk-toolbar__missing {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: #fbbf24;
}

.holyrics-desk-toolbar__status {
  justify-self: center;
}

.holyrics-desk-toolbar__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.holyrics-desk-toolbar .holyrics-go-btn--header {
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.7rem;
}

.holyrics-desk-toolbar .holyrics-status-ar {
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.holyrics-go-btn--muted {
  border-width: 1px !important;
  border-color: rgba(245, 245, 245, 0.55) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f5f5f5 !important;
  box-shadow: none !important;
}

.holyrics-go-btn--muted:hover {
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.holyrics-go-btn--muted.is-active,
.holyrics-go-btn--outline.holyrics-go-btn--muted.is-active {
  border-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  --tw-ring-offset-shadow: 0 0 #0000 !important;
}

/* Estrofes: PROJETANDO + atalho (pin) */
.holyrics-slides-grid .holyrics-slide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.holyrics-slide-card__body {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  padding: 1rem 2.35rem 1rem 1rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.holyrics-slide-card__pin {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  display: inline-flex;
  height: 1.65rem;
  width: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid rgba(245, 245, 245, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(245, 245, 245, 0.55);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.holyrics-slide-card__pin:hover {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.55);
}

.holyrics-slide-card__pin.is-on,
.holyrics-slide-card.is-pinned .holyrics-slide-card__pin {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.7);
  background: rgba(251, 191, 36, 0.12);
}

.holyrics-slide-card.is-pinned {
  border-color: rgba(251, 191, 36, 0.45);
}

.holyrics-slide-card__live,
.holyrics-slide-card__pin-label {
  display: inline-flex;
  margin-left: 0.45rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.holyrics-slide-card__live {
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  animation: holyrics-live-pulse 1.4s ease-in-out infinite;
}

.holyrics-slide-card__pin-label {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}

.holyrics-slide-card.is-projecting {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.28);
}

@keyframes holyrics-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.holyrics-strip-nav--wide {
  width: auto;
  min-width: 1.75rem;
  padding: 0 0.45rem;
}

.holyrics-strip-nav.is-disabled,
.holyrics-strip-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.louvor-rep-tag-pill {
  cursor: pointer;
  user-select: none;
}

.louvor-rep-tag-pill.is-active {
  border-color: rgba(155, 27, 27, 0.75) !important;
  background: rgba(155, 27, 27, 0.22) !important;
  color: #fff !important;
}

.louvor-cifra-editor {
  width: 100%;
  min-height: 18rem;
  resize: vertical;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #f5f5f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 1rem 1.1rem;
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow-y: auto;
  overflow-anchor: none;
  tab-size: 4;
}

.louvor-letra-import-hit {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.louvor-letra-import-hit:hover:not(:disabled),
.louvor-letra-import-hit:focus-visible:not(:disabled) {
  border-color: rgba(185, 28, 28, 0.55);
  background: rgba(127, 29, 29, 0.28);
  outline: none;
}

.louvor-letra-import-hit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.louvor-rep-add-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.louvor-rep-add-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  color: #a3a3a3;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.louvor-rep-add-tab:hover,
.louvor-rep-add-tab:focus-visible {
  color: #fff;
  outline: none;
}

.louvor-rep-add-tab.is-active {
  color: #fff;
  border-color: rgba(185, 28, 28, 0.55);
  background: rgba(127, 29, 29, 0.4);
}

.louvor-rep-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d4;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.louvor-rep-mode-btn:hover,
.louvor-rep-mode-btn:focus-visible {
  border-color: rgba(185, 28, 28, 0.45);
  color: #fff;
  outline: none;
}

.louvor-rep-mode-btn.is-active {
  border-color: rgba(185, 28, 28, 0.7);
  background: rgba(127, 29, 29, 0.35);
  color: #fff;
}

.louvor-guide-acc__summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.35rem 0.5rem;
  border: 1px solid rgba(155, 27, 27, 0.35);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(155, 27, 27, 0.22), rgba(0, 0, 0, 0.35));
  padding: 0.95rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.louvor-guide-acc[open] .louvor-guide-acc__summary {
  border-color: rgba(155, 27, 27, 0.65);
  background: linear-gradient(135deg, rgba(155, 27, 27, 0.32), rgba(0, 0, 0, 0.4));
}

.louvor-guide-acc__summary::-webkit-details-marker {
  display: none;
}

.louvor-guide-acc__chevron {
  color: rgba(245, 245, 245, 0.45);
  transition: transform 0.15s ease;
}

.louvor-guide-acc[open] .louvor-guide-acc__chevron {
  transform: rotate(180deg);
}

.louvor-guide-acc__body {
  padding: 0 0.75rem 0.85rem;
}

.louvor-guide-row {
  border: 1px solid rgba(245, 245, 245, 0.08);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  margin-bottom: 0.45rem;
  padding: 0.65rem 0.75rem;
}

.louvor-guide-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.louvor-guide-row__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.louvor-guide-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.louvor-study-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Player modal â€” fundos sÃ³lidos (Tailwind arbitrary bg/* pode faltar no build) */
.louvor-player-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.94);
}

.louvor-player-modal.is-open {
  display: flex !important;
}

@media (min-width: 640px) {
  .louvor-player-modal {
    align-items: center;
    padding: 1rem;
  }
}

.louvor-player-sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  height: 100dvh;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

@media (min-width: 640px) {
  .louvor-player-sheet {
    height: min(44rem, 92vh);
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.louvor-player-sheet__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
}

.louvor-player-sheet__title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
}

.louvor-player-sheet__meta {
  margin: 0.15rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.louvor-player-close {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.louvor-player-modes {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
}

.louvor-player-mode {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.louvor-player-mode.is-active {
  border-color: rgba(155, 27, 27, 0.7);
  background: rgba(155, 27, 27, 0.25);
  color: #fff;
}

.louvor-player-stage {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: #070707;
}

.louvor-player-pulse {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 2;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: #9b1b1b;
}

.louvor-player-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2rem 1.15rem 3rem;
  -webkit-overflow-scrolling: touch;
  background: #070707;
}

.louvor-player-sheet__footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  padding: 0.85rem 1rem max(1rem, env(safe-area-inset-bottom));
}

.louvor-player-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.louvor-player-metro-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.louvor-player-metro {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.8);
}

.louvor-player-metro.is-muted {
  border-color: rgba(155, 27, 27, 0.55);
  background: rgba(155, 27, 27, 0.18);
  color: #fff;
}

.louvor-player-metro-hint {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.45);
}

.louvor-player-speed-block {
  display: block;
  margin-bottom: 0.65rem;
}

.louvor-player-speed-block__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.louvor-player-speed-block__label strong {
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.louvor-player-speed-block input[type="range"] {
  width: 100%;
  accent-color: #9b1b1b;
}

.louvor-player-speed-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.louvor-player-speed {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.75);
}

.louvor-player-speed.is-active {
  border-color: rgba(155, 27, 27, 0.7) !important;
  background: rgba(155, 27, 27, 0.25);
  color: #fff;
}

.louvor-player-actions {
  display: flex;
  gap: 0.5rem;
}

.louvor-player-actions__reset {
  flex: 1;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
}

.louvor-player-actions__toggle {
  flex: 1.4;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
}

.louvor-player-line {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.louvor-player-line.is-past {
  color: rgba(255, 255, 255, 0.42);
}

.louvor-player-line.is-current {
  color: #fff;
  transform: scale(1.03);
  text-shadow: 0 0 24px rgba(155, 27, 27, 0.35);
}

.louvor-player-scroll.is-cifra .louvor-player-line {
  margin-bottom: 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  white-space: pre;
  overflow-x: auto;
  transform: none;
}

.louvor-player-scroll.is-cifra .louvor-player-line.is-current {
  color: #fff;
  background: rgba(155, 27, 27, 0.18);
  border-radius: 0.35rem;
  padding: 0.15rem 0.35rem;
  text-shadow: none;
}

/* Header do hub + card do versÃ­culo-chave (ao lado do tÃ­tulo) */
.louvor-detail-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.louvor-detail-header-row__main {
  flex: 1 1 16rem;
  min-width: 0;
}

.louvor-detail-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 0.15rem;
}

.louvor-detail-title-line__song {
  min-width: 0;
  flex: 0 1 auto;
}

.louvor-detail-title-line__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-wrap: wrap;
}

.louvor-detail-title-line__heading #louvor-detail-title {
  min-width: 0;
}

.louvor-detail-edit-meta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  pointer-events: auto;
}

.louvor-detail-edit-meta[hidden] {
  display: none !important;
}

.louvor-detail-edit-meta:hover {
  border-color: rgba(155, 27, 27, 0.55);
  color: #fff;
}

.louvor-detail-tags-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  max-width: none;
}

.louvor-detail-tags-display[hidden] {
  display: none !important;
}

.louvor-detail-tag-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(155, 27, 27, 0.45);
  border-radius: 999px;
  background: rgba(155, 27, 27, 0.18);
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.louvor-detail-header-row__meta {
  flex: 0 0 auto;
  align-self: center;
}

.louvor-rep-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.louvor-rep-workspace {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  height: min(70vh, 44rem);
  max-height: calc(100dvh - 11.5rem);
  min-height: 22rem;
}

.louvor-rep-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.louvor-rep-sidebar__search {
  flex-shrink: 0;
  padding: 0.85rem 0.85rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.louvor-rep-sidebar__search .relative {
  position: relative;
}

#louvor-rep-search.biblia-input {
  padding-left: 2.5rem !important;
  padding-right: 0.75rem !important;
}

.louvor-rep-tag-filter-label {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.louvor-rep-tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.louvor-rep-tag-filter-pill {
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.28rem 0.55rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.louvor-rep-tag-filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.louvor-rep-tag-filter-pill.is-active {
  border-color: rgba(155, 27, 27, 0.75);
  background: rgba(155, 27, 27, 0.22);
  color: #fff;
}

.louvor-rep-list {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem;
  scrollbar-gutter: stable;
}

.louvor-rep-empty {
  padding: 1.25rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.louvor-rep-list-item {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  border-radius: 0.65rem;
  margin-bottom: 0.2rem;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.louvor-rep-list-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.louvor-rep-list-item.is-selected {
  border-color: rgba(155, 27, 27, 0.55);
  background: rgba(155, 27, 27, 0.18);
}

.louvor-rep-list-item__main {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  padding: 0.65rem 0.55rem 0.65rem 0.7rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.louvor-rep-list-item__title {
  display: block;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.louvor-rep-list-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.louvor-rep-list-item__dot {
  opacity: 0.5;
}

.louvor-rep-list-item__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.25rem 0.3rem 0.25rem 0;
}

.louvor-rep-list-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.louvor-rep-list-item__icon:hover {
  border-color: rgba(155, 27, 27, 0.5);
  color: #fff;
}

.louvor-rep-list-item__delete:hover {
  border-color: rgba(220, 80, 80, 0.55);
  color: #fca5a5;
}

.louvor-rep-detail-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.louvor-rep-detail-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  pointer-events: none;
}

.louvor-rep-detail-empty.hidden {
  display: none;
}

.louvor-rep-detail-slot {
  height: 100%;
  max-height: min(78vh, 52rem);
  overflow: auto;
  padding: 0;
}

.louvor-rep-detail-slot:not(.is-filled) {
  display: none;
}

.louvor-detail-root.is-inline {
  padding: 1rem 1.1rem 1.5rem;
}

.louvor-detail-root.is-inline .louvor-detail-header-row {
  align-items: flex-start;
}

@media (max-width: 960px) {
  .louvor-rep-workspace {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .louvor-rep-sidebar {
    height: 18rem;
    max-height: 18rem;
  }

  .louvor-rep-list {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
  }

  .louvor-rep-detail-slot {
    max-height: none;
    min-height: 28rem;
  }
}

.louvor-rep-delete {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

.louvor-rep-delete:hover {
  border-color: rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

@media (max-width: 1200px) {
  .holyrics-culto-bar__preview {
    display: none;
  }
}

@media (max-width: 960px) {
  .holyrics-desk-toolbar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "title actions"
      "culto culto";
  }

  .holyrics-desk-toolbar__title { grid-area: title; }
  .holyrics-desk-toolbar__culto { grid-area: culto; }
  .holyrics-desk-toolbar__actions { grid-area: actions; }
}

@media (max-width: 640px) {
  .holyrics-desk-toolbar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "actions"
      "culto";
    justify-items: stretch;
  }

  .holyrics-desk-toolbar__title,
  .holyrics-desk-toolbar__actions {
    justify-self: center;
    text-align: center;
  }

  .holyrics-desk-toolbar__actions {
    justify-content: center;
  }

  .holyrics-culto-bar__info {
    flex-wrap: wrap;
  }
}

/* â€”â€” Eventos Ministeriais â€”â€” */
.eventos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.eventos-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eventos-filter-select {
  min-width: 11rem;
  max-width: 16rem;
  padding: 0.4rem 0.65rem;
}

.eventos-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  min-height: 5.25rem;
  padding: 0.4rem;
  text-align: left;
  border-radius: 0.65rem;
  border: 1px solid rgba(42, 42, 42, 0.75);
  background: rgba(8, 8, 8, 0.55);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.eventos-day:hover {
  border-color: rgba(155, 27, 27, 0.45);
  background: rgba(20, 12, 12, 0.65);
}

.eventos-day--pad {
  opacity: 0.28;
  pointer-events: none;
  min-height: 5.25rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(42, 42, 42, 0.4);
  background: rgba(8, 8, 8, 0.35);
}

.eventos-day.is-today {
  border-color: rgba(155, 27, 27, 0.7);
  box-shadow: inset 0 0 0 1px rgba(155, 27, 27, 0.25);
}

.eventos-day.is-selected {
  background: rgba(155, 27, 27, 0.12);
  border-color: rgba(155, 27, 27, 0.85);
}

.eventos-day__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.2;
}

.eventos-day.is-today .eventos-day__num {
  color: #e88a8a;
}

.eventos-day__chips {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.eventos-chip {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 0.3rem;
  border: 1px solid transparent;
  padding: 0.1rem 0.3rem;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.eventos-chip:hover {
  filter: brightness(1.12);
}

.eventos-chip-more {
  font-size: 0.58rem;
  font-weight: 700;
  color: #a3a3a3;
  padding-left: 0.2rem;
}

.eventos-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #a3a3a3;
}

.eventos-legend__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.eventos-upcoming {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.eventos-upcoming__item {
  border-left: 3px solid #9b1b1b;
  padding: 0.55rem 0.65rem;
  border-radius: 0 0.55rem 0.55rem 0;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.15s ease;
}

.eventos-upcoming__item:hover {
  background: rgba(155, 27, 27, 0.12);
}

.eventos-upcoming__date {
  margin: 0;
  font-size: 0.68rem;
  color: #a3a3a3;
  text-transform: capitalize;
}

.eventos-upcoming__title {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: #f5f5f5;
  font-family: inherit;
}

.eventos-upcoming__meta {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #737373;
}

.eventos-badge {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #a3a3a3;
  vertical-align: middle;
}

.eventos-empty {
  margin: 0;
  font-size: 0.85rem;
  color: #737373;
}

.eventos-day-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.eventos-day-detail__title {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 650;
  color: #f5f5f5;
  text-transform: capitalize;
}

.eventos-day-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.eventos-detail-card {
  border: 1px solid rgba(42, 42, 42, 0.8);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 0.75rem;
}

.eventos-detail-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.eventos-detail-card__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.eventos-detail-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: #f5f5f5;
}

.eventos-detail-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #a3a3a3;
}

.eventos-detail-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #737373;
  line-height: 1.4;
}

.eventos-detail-card__escala {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #d4d4d4;
  line-height: 1.35;
}

.eventos-detail-card__escala-label {
  color: #a3a3a3;
  font-weight: 600;
}

.eventos-upcoming__escala {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: #a3a3a3;
}

.eventos-upcoming__escala i {
  margin-right: 0.25rem;
  opacity: 0.8;
}

.eventos-chip--culto {
  font-weight: 700;
}

.eventos-upcoming__item--culto {
  background: rgba(255, 255, 255, 0.04);
}

.eventos-detail-card--culto {
  background: rgba(255, 255, 255, 0.05);
}

.eventos-detail-card.is-focused {
  box-shadow: 0 0 0 1px rgba(155, 27, 27, 0.55), 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: rgba(155, 27, 27, 0.75) !important;
}

.eventos-escala-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 1.75rem;
}

.eventos-escala-empty {
  margin: 0;
  font-size: 0.78rem;
  color: #737373;
}

.eventos-escala-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #f5f5f5;
}

.eventos-escala-chip.is-busy {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

.eventos-escala-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eventos-escala-tag {
  flex-shrink: 0;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eventos-escala-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a3a3a3;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.eventos-escala-chip__remove:hover {
  background: rgba(155, 27, 27, 0.35);
  color: #fff;
}

.eventos-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.eventos-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: #e5e5e5;
  cursor: pointer;
}

.eventos-check-label input {
  width: 1rem;
  height: 1rem;
  accent-color: #9b1b1b;
}

.eventos-modal-actions {
  justify-content: space-between;
  align-items: center;
}

.eventos-modal-actions__right {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

/* Igreja dentro de config-surface: sem tÃ­tulo duplicado antigo */
.igreja-cadastro-form.config-stack .igreja-cadastro-section-title {
  display: none;
}

.igreja-cadastro-form.config-stack .config-identity-grid {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.igreja-filiais-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.igreja-filial-row {
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(42, 42, 42, 0.85);
  background: rgba(0, 0, 0, 0.28);
}

.igreja-filial-remove {
  margin-top: 0.35rem;
}

@media (max-width: 1024px) {
  .eventos-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eventos-day {
    min-height: 4.1rem;
    padding: 0.3rem;
  }

  .eventos-chip {
    font-size: 0.5rem;
  }

  .eventos-form-row {
    grid-template-columns: 1fr;
  }

  .eventos-filter-select {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

/* â€”â€” Avisos (#6) â€”â€” */
.avisos-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  width: fit-content;
  max-width: 100%;
}

.avisos-filter {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a3a3a3;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.avisos-filter:hover {
  color: #fff;
}

.avisos-filter.is-active {
  color: #fff;
  background: rgba(155, 27, 27, 0.55);
}

#avisos-btn-mark-all.is-disabled,
#avisos-btn-mark-all:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.avisos-feed-empty {
  margin: 0;
  padding: 0.35rem 0;
}

.avisos-sound-acc {
  padding: 0;
  overflow: hidden;
}

.avisos-sound-acc__summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  user-select: none;
}

.avisos-sound-acc__summary::-webkit-details-marker {
  display: none;
}

.avisos-sound-acc__title {
  display: block;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.avisos-sound-acc__hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: #a3a3a3;
}

.avisos-sound-acc__chevron {
  margin-left: auto;
  color: #a3a3a3;
  transition: transform 0.2s ease;
}

.avisos-sound-acc[open] .avisos-sound-acc__chevron {
  transform: rotate(180deg);
}

.avisos-sound-acc__body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.avisos-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.avisos-card--escala {
  border-left: 3px solid rgba(56, 189, 248, 0.65);
}

.avisos-card--ministerio {
  border-left: 3px solid rgba(155, 27, 27, 0.7);
}

.avisos-card--geral {
  border-left: 3px solid rgba(251, 191, 36, 0.45);
}

.avisos-card__type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.avisos-card__type i {
  font-size: 0.7rem;
  opacity: 0.9;
}

.avisos-card--escala .avisos-card__type {
  color: #7dd3fc;
}

.avisos-card--ministerio .avisos-card__type {
  color: #e88a8a;
}

.avisos-card--geral .avisos-card__type {
  color: #fbbf24;
}

.avisos-card__author {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.avisos-card__author .peniel-avatar {
  flex-shrink: 0;
}

.avisos-card__author-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a3a3a3;
  font-size: 0.65rem;
}

.avisos-card__menu {
  position: relative;
  margin-left: auto;
}

.avisos-card__menu-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: #d4d4d4;
  cursor: pointer;
}

.avisos-card__menu-btn::-webkit-details-marker {
  display: none;
}

.avisos-card__menu-btn:hover,
.avisos-card__menu[open] .avisos-card__menu-btn {
  border-color: rgba(155, 27, 27, 0.45);
  color: #fff;
}

.avisos-card__menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  min-width: 8.5rem;
  padding: 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1a1a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.avisos-card__menu-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0.45rem;
  padding: 0.45rem 0.65rem;
  background: transparent;
  color: #f4f3f1;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.avisos-card__menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.avisos-card__menu-item--danger {
  color: #fca5a5;
}

.min-equipe-primary-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.18);
  padding: 0.1rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
  vertical-align: middle;
}

.min-equipe-role-locked {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.avisos-card:hover,
.avisos-card:focus-visible {
  border-color: rgba(155, 27, 27, 0.4);
  outline: none;
}

.avisos-card.is-unread,
.dash-aviso-item.is-unread {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.12);
}

.avisos-card.is-unread:hover,
.dash-aviso-item.is-unread:hover {
  border-color: rgba(245, 158, 11, 0.75);
  background: rgba(245, 158, 11, 0.16);
}

.avisos-card__unread {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.2);
  padding: 0.1rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}

.dash-aviso-item {
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  border-left: 3px solid transparent;
}

.dash-aviso-item.dash-aviso-kind--escala {
  border-left-color: rgba(56, 189, 248, 0.65);
}

.dash-aviso-item.dash-aviso-kind--ministerio {
  border-left-color: rgba(155, 27, 27, 0.7);
}

.dash-aviso-item.dash-aviso-kind--geral {
  border-left-color: rgba(251, 191, 36, 0.45);
}

.dash-aviso-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.dash-aviso-kind--escala .dash-aviso-kind {
  color: #7dd3fc;
}

.dash-aviso-kind--ministerio .dash-aviso-kind {
  color: #e88a8a;
}

.dash-aviso-kind--geral .dash-aviso-kind {
  color: #fbbf24;
}

.dash-freshness.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dash-agenda-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.875rem 1rem;
  transition: border-color 0.2s ease;
}

.dash-agenda-item:hover {
  border-color: rgba(155, 27, 27, 0.35);
}

.dash-agenda-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.dash-agenda-badge--culto {
  border-color: rgba(155, 27, 27, 0.5);
  background: rgba(155, 27, 27, 0.22);
  color: #e88a8a;
}

.dash-agenda-badge--evento {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

/* Dashboard tabs + participaÃ§Ã£o */
/* Dashboard welcome + versÃ­culo do dia */
.dash-home-welcome__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
}

.dash-home-welcome__main {
  flex: 1 1 16rem;
  min-width: 0;
}

.dash-verse-day {
  flex: 1 1 18rem;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(155, 27, 27, 0.35);
  background:
    linear-gradient(145deg, rgba(155, 27, 27, 0.16) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-verse-day__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8a0a0;
}

.dash-verse-day__label i {
  font-size: 0.75rem;
  opacity: 0.9;
}

.dash-verse-day__text {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: #f4f3f1;
  font-style: italic;
}

.dash-verse-day__ref {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #c4c4c8;
}

@media (min-width: 1024px) {
  .dash-verse-day {
    flex: 0 1 42%;
    max-width: 26rem;
  }

  .dash-verse-day__text {
    font-size: 1.02rem;
  }
}

/* Dashboard elite â€” hero, pendÃªncias, deep links, polish */
.dash-freshness {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8a90;
}

.dash-section-count {
  font-size: 0.78rem;
  font-weight: 650;
  color: #8a8a90;
}

.dash-section-count.is-hot {
  color: #d97706;
}

.dash-pending-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(217, 119, 6, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dash-pending-cta:hover {
  border-color: rgba(217, 119, 6, 0.7);
  background: rgba(245, 158, 11, 0.18);
}

.dash-pending-cta span {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.35;
}

.dash-pending-cta strong {
  color: #fff7ed;
}

.dash-next-hero__card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(155, 27, 27, 0.4);
  background:
    linear-gradient(135deg, rgba(155, 27, 27, 0.22) 0%, rgba(20, 20, 22, 0.95) 48%, rgba(14, 14, 16, 0.98) 100%);
}

@media (min-width: 768px) {
  .dash-next-hero__card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.dash-next-hero__empty {
  padding: 1.15rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
}

.dash-next-hero__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8a0a0;
}

.dash-next-hero__title {
  margin: 0.35rem 0 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.dash-next-hero__papel {
  margin: 0.45rem 0 0;
  font-size: 1rem;
  font-weight: 650;
  color: #f4f3f1;
}

.dash-next-hero__meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #a3a3a3;
}

.dash-next-hero__status {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d4d4d4;
}

.dash-next-hero__status.is-vou {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.dash-next-hero__status.is-nao {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
}

.dash-next-hero__status.is-pendente {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
}

.dash-item-link {
  border: 0;
  background: transparent;
  color: #e8a0a0;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.dash-item-link:hover {
  color: #fff;
}

.dash-agenda-item--link {
  cursor: pointer;
}

.dash-agenda-item--link:focus-visible {
  outline: 2px solid rgba(155, 27, 27, 0.55);
  outline-offset: 2px;
}

.dash-empty-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.15rem 0.25rem;
}

.dash-skeleton {
  display: grid;
  gap: 0.55rem;
  padding: 0.35rem 0;
}

.dash-skeleton__line {
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: dash-skel 1.2s ease-in-out infinite;
}

.dash-skeleton__line--short {
  width: 58%;
}

@keyframes dash-skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.dash-medal__progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  min-width: 4.5rem;
}

.dash-medal__progress-track {
  width: 100%;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.dash-medal__progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(155, 27, 27, 0.85);
}

.dash-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.dash-tab {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a3a3a3;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.dash-tab:hover {
  color: #fff;
}

.dash-tab.is-active {
  color: #fff;
  background: rgba(155, 27, 27, 0.45);
}

.dash-stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  padding: 1rem 1.1rem;
}

.dash-stat-card--wide {
  grid-column: span 2;
}

@media (min-width: 640px) {
  .dash-stat-card--wide {
    grid-column: span 1;
  }
}

.dash-stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.dash-stat-card__value {
  margin-top: 0.35rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.dash-stat-card__value--ok {
  color: #6ee7b7;
}

.dash-stat-card__value--warn {
  color: #fdba74;
}

.dash-ministry-row__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #e5e5e5;
  margin-bottom: 0.35rem;
}

.dash-ministry-row__track {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dash-ministry-row__track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b1b1b, #c24141);
}

.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 9rem;
  padding-top: 0.5rem;
}

.dash-bar-chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.25rem;
}

.dash-bar-chart__bar {
  width: 100%;
  max-width: 1.4rem;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #e88a8a, #9b1b1b);
  min-height: 0.25rem;
}

.dash-bar-chart__label {
  font-size: 0.65rem;
  color: #a3a3a3;
}

.dash-bar-chart__n {
  font-size: 0.62rem;
  font-weight: 700;
  color: #d4d4d4;
}

.dash-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dash-confirm-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: #d4d4d4;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dash-confirm-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.dash-confirm-btn.is-vou {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.dash-confirm-btn.is-nao {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
}

.dash-confirm-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dash-confirm-badge--vou {
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.dash-confirm-badge--nao {
  border: 1px solid rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
}

/* ConfirmaÃ§Ãµes visÃ­veis para lÃ­deres */
.esc-confirm-badge,
.dash-confirm-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

.esc-confirm-badge--vou {
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.esc-confirm-badge--nao {
  border: 1px solid rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
}

.esc-confirm-badge--pendente {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #a3a3a3;
}

.esc-confirm-person {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.15rem 0.35rem 0.15rem 0;
}

.esc-confirm-person.is-declined .esc-confirm-person__name {
  color: #fdba74;
}

.esc-confirm-person.is-confirmed .esc-confirm-person__name {
  color: #6ee7b7;
}

.cult-confirm-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
}

.cult-confirm-alert strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.cult-confirm-alert p {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #f5d0a9;
}

.cult-confirm-alert i {
  margin-top: 0.15rem;
}

.cult-pick-chip.is-declined {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.12);
}

.cult-pick-chip__confirm {
  display: inline-flex;
  align-items: center;
}

.cult-trocas-block {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.cult-trocas-block__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 0.5rem;
}

.cult-trocas-block__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #e5e5e5;
}

.cult-trocas-block__list li + li {
  margin-top: 0.3rem;
}

.dash-troca-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 0.7rem 0.85rem;
}

.dash-troca-item__main {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.dash-troca-item__meta {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #a3a3a3;
}

.dash-medals {
  display: grid;
  gap: 0.65rem;
}

.dash-medal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 0.75rem 0.85rem;
  opacity: 0.55;
}

.dash-medal.is-unlocked {
  opacity: 1;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.dash-medal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a3a3a3;
  flex-shrink: 0;
}

.dash-medal.is-unlocked .dash-medal__icon {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.dash-medal__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.dash-medal__desc {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #a3a3a3;
}

.dash-medal__badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}

.dash-medal__badge--locked {
  color: #737373;
}

html.theme-light .dash-tab.is-active {
  background: rgba(155, 27, 27, 0.15);
  color: #9b1b1b;
}

html.theme-light .dash-stat-card,
html.theme-light .dash-medal {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.dash-aviso-item:hover,
.dash-aviso-item:focus-visible {
  outline: none;
}

.avisos-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.avisos-card__title {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  flex: 1 1 8rem;
  min-width: 0;
}

.avisos-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(155, 27, 27, 0.45);
  background: rgba(155, 27, 27, 0.15);
  padding: 0.15rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e88a8a;
}

.avisos-card__text {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.avisos-card__meta {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.72rem;
  color: #a3a3a3;
}

.avisos-card__actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.avisos-card__confirm {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avisos-card__confirm-status {
  margin-bottom: 0.45rem;
}

/* Dashboard â€” prÃ³ximo culto clicÃ¡vel */
.dash-proximo-culto-card {
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dash-proximo-culto-card:hover,
.dash-proximo-culto-card:focus-visible {
  border-color: rgba(155, 27, 27, 0.45);
  outline: none;
}

.dash-proximo-culto-card.is-empty {
  cursor: default;
  opacity: 0.85;
}

.dash-proximo-culto-card.is-empty:hover {
  border-color: inherit;
}

.dash-inline-link {
  border: 0;
  background: none;
  padding: 0;
  color: #e88a8a;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.dash-inline-link:hover { color: #fff; }

.dash-esc-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.dash-esc-hero__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.dash-esc-cal-month {
  margin: 0;
  min-width: 8.5rem;
  text-align: center;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  color: #fff;
}
.dash-esc-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 960px) {
  .dash-esc-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}
.dash-esc-cal-card,
.dash-esc-day-card {
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(155, 27, 27, 0.18), transparent 55%),
    rgba(0, 0, 0, 0.32);
  padding: 1.1rem 1.15rem 1.2rem;
}
.dash-esc-cal-dows {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.dash-esc-cal-dows span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8a8a;
}
.dash-esc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.dash-esc-cal-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  min-height: 3.1rem;
  padding: 0.4rem 0.2rem 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d4;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.dash-esc-cal-cell.is-empty {
  background: transparent;
  pointer-events: none;
}
.dash-esc-cal-cell:hover:not(.is-empty) {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.dash-esc-cal-cell.is-today {
  box-shadow: inset 0 0 0 1px rgba(252, 165, 165, 0.45);
}
.dash-esc-cal-cell.is-selected {
  border-color: rgba(155, 27, 27, 0.65);
  background: rgba(155, 27, 27, 0.28);
  color: #fff;
  transform: translateY(-1px);
}
.dash-esc-cal-cell.has-escala {
  font-weight: 650;
  color: #fff;
}
.dash-esc-cal-cell--pendente { background: rgba(245, 158, 11, 0.12); }
.dash-esc-cal-cell--vou { background: rgba(34, 197, 94, 0.14); }
.dash-esc-cal-cell--nao { background: rgba(239, 68, 68, 0.14); }
.dash-esc-cal-cell--misto { background: rgba(168, 85, 247, 0.12); }
.dash-esc-cal-daynum {
  font-size: 0.85rem;
  line-height: 1;
}
.dash-esc-cal-marks {
  display: flex;
  gap: 0.15rem;
  min-height: 0.35rem;
}
.dash-esc-cal-marks i {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: #fca5a5;
  display: block;
}
.dash-esc-cal-cell--vou .dash-esc-cal-marks i { background: #86efac; }
.dash-esc-cal-cell--nao .dash-esc-cal-marks i { background: #fca5a5; }
.dash-esc-cal-cell--pendente .dash-esc-cal-marks i { background: #fbbf24; }
.dash-esc-cal-cell--misto .dash-esc-cal-marks i { background: #d8b4fe; }

.dash-esc-legend {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  font-size: 0.7rem;
  color: #a3a3a3;
}
.dash-esc-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.dash-esc-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}
.dash-esc-dot--pendente { background: #fbbf24; }
.dash-esc-dot--vou { background: #4ade80; }
.dash-esc-dot--nao { background: #f87171; }
.dash-esc-dot--misto { background: #c084fc; }

.dash-esc-day-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.dash-esc-day-count {
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 650;
  color: #e5e5e5;
}
.dash-esc-day-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dash-esc-day-empty {
  text-align: center;
  padding: 1.75rem 0.75rem;
}

html.theme-light .dash-esc-cal-card,
html.theme-light .dash-esc-day-card {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(155, 27, 27, 0.08), transparent 55%),
    #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
html.theme-light .dash-esc-cal-month,
html.theme-light .dash-esc-day-card__head h3 { color: #0f172a; }
html.theme-light .dash-esc-cal-cell {
  background: rgba(15, 23, 42, 0.03);
  color: #475569;
}
html.theme-light .dash-esc-cal-cell.is-selected {
  background: rgba(155, 27, 27, 0.12);
  color: #9b1b1b;
}
html.theme-light .dash-esc-cal-cell.has-escala { color: #0f172a; }
html.theme-light .dash-inline-link { color: #9b1b1b; }
html.theme-light .dash-inline-link:hover { color: #7f1d1d; }

.min-equipe-primary-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.18);
  padding: 0.1rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
  vertical-align: middle;
}

.min-equipe-role-locked {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}



/* ===== BÃ­blia Leitura: rail + pÃ¡gina de livro ===== */
.biblia-leitura-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.biblia-leitura-rail.biblia-command-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  margin-bottom: 0;
}

.biblia-rail-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.biblia-rail-section + .biblia-rail-section {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.biblia-rail-label {
  margin: 0;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.biblia-continue-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(185, 28, 28, 0.45);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.55), rgba(28, 25, 23, 0.75));
  color: #fafafa;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.biblia-continue-btn:hover,
.biblia-continue-btn:focus-visible {
  border-color: rgba(248, 113, 113, 0.7);
  background: linear-gradient(135deg, rgba(153, 27, 27, 0.7), rgba(41, 37, 36, 0.85));
  outline: none;
}

.biblia-continue-btn-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fca5a5;
}

.biblia-continue-btn-label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.biblia-rail-versions {
  max-height: 7.5rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.biblia-rail-tools {
  width: 100%;
}

.biblia-leitura-rail .biblia-cmd-info-btn {
  top: 0.65rem;
  right: 0.65rem;
}

.biblia-leitura-rail #biblia-cmd-modes.flex {
  display: flex;
}

.biblia-leitura-page.biblia-reader-panel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* Textura de pÃ¡gina (fibra + grÃ£o) â€” dark e light via variÃ¡veis */
.biblia-leitura-page {
  --biblia-paper: #322b25;
  --biblia-paper-deep: #241f1b;
  --biblia-paper-edge: rgba(0, 0, 0, 0.3);
  --biblia-paper-sheen: rgba(255, 228, 190, 0.06);
  --biblia-paper-ink: rgba(255, 246, 236, 0.93);
  --biblia-paper-chrome: rgba(44, 38, 33, 0.94);
  --biblia-paper-noise-opacity: 0.28;
  --biblia-paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.62 0 0 0 0 0.48 0 0 0 0 0.32 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --biblia-paper-fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.03 0.11' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.78 0 0 0 0 0.6 0 0 0 0 0.38 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

.biblia-leitura-page .biblia-reader-body {
  position: relative;
  isolation: isolate;
  background-color: var(--biblia-paper);
  background-image:
    linear-gradient(90deg, var(--biblia-paper-edge) 0%, transparent 1.15rem),
    linear-gradient(180deg, var(--biblia-paper-sheen), transparent 36%),
    linear-gradient(165deg, var(--biblia-paper) 0%, var(--biblia-paper-deep) 70%, #1a1613 100%),
    var(--biblia-paper-fibers),
    var(--biblia-paper-noise);
  background-size: auto, auto, auto, 160px 160px, 220px 220px;
  background-blend-mode: normal, normal, normal, soft-light, overlay;
}

.biblia-leitura-page .biblia-reader-body::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: var(--biblia-paper-noise-opacity);
  background-image: var(--biblia-paper-noise);
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.biblia-leitura-page .biblia-reader-body > * {
  position: relative;
  z-index: 1;
}

.biblia-leitura-page .biblia-nav-sticky {
  background: var(--biblia-paper-chrome);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.biblia-leitura-page .biblia-verse-actions {
  background: color-mix(in srgb, var(--biblia-paper-chrome) 92%, transparent);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.biblia-page-sheet {
  position: relative;
}

.biblia-page-sheet::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 auto 0 0;
  width: 1.35rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.07) 50%, transparent);
  opacity: 0.75;
}

#biblia-texto.biblia-page-sheet {
  color: var(--biblia-paper-ink);
  font-size: var(--biblia-font-size, 1.12rem);
  line-height: var(--biblia-line-height, 1.85);
}

.biblia-leitura-page .biblia-verse {
  border-radius: 0.55rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.biblia-leitura-page .biblia-verse:hover {
  border-color: rgba(130, 28, 28, 0.5);
  background: rgba(110, 20, 20, 0.14);
}

.biblia-leitura-page .biblia-verse:active {
  border-color: rgba(120, 22, 22, 0.65);
  background: rgba(100, 16, 16, 0.22);
}

.biblia-leitura-page .biblia-verse.biblia-verse-selected {
  border-color: #8a1818 !important;
  background: rgba(105, 18, 18, 0.28) !important;
  box-shadow: inset 3px 0 0 #7a1515;
}

.biblia-leitura-page .biblia-verse.biblia-verse-selected > span:first-child {
  color: #c44a4a;
  font-weight: 700;
}

.biblia-leitura-page .biblia-verse-text {
  color: var(--biblia-paper-ink);
}

.biblia-leitura-page .biblia-verses > .biblia-verse:first-child .biblia-verse-text::first-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1;
  color: #c45c5c;
  padding-right: 0.08em;
}

.biblia-leitura-page .biblia-chapter-open-num,
.biblia-leitura-page .biblia-chapter-open-book {
  letter-spacing: 0.12em;
}

@media (min-width: 1024px) {
  .biblia-leitura-layout {
    display: grid;
    grid-template-columns: minmax(260px, 292px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .biblia-leitura-rail.biblia-command-bar {
    position: sticky;
    top: 7.25rem;
    z-index: 20;
    max-height: calc(100vh - 7.75rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.15rem 1rem 1.25rem;
    padding-right: 1.15rem;
  }

  .biblia-leitura-page.biblia-reader-panel {
    max-height: calc(100vh - 7.75rem);
    min-height: min(70vh, 42rem);
  }

  /* Rail: navegaÃ§Ã£o sempre legÃ­vel (rÃ³tulos, nÃ£o AÎ©/abbr) */
  .biblia-leitura-rail .biblia-morph-pills--nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
  }

  .biblia-leitura-rail .biblia-morph-pills--nav .biblia-morph-pill {
    width: 100%;
    max-width: none !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    gap: 0.55rem;
    padding: 0.7rem 0.85rem !important;
    border-left: 0 !important;
  }

  .biblia-leitura-rail .biblia-morph-pills--nav .biblia-morph-pill + .biblia-morph-pill {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .biblia-leitura-rail .biblia-morph-pills--nav .biblia-morph-icon {
    width: 0.875rem !important;
    opacity: 1 !important;
  }

  .biblia-leitura-rail .biblia-morph-pills--nav .biblia-morph-abbr {
    width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }

  .biblia-leitura-rail .biblia-morph-pills--nav .biblia-morph-label {
    max-width: none !important;
    opacity: 1 !important;
    transform: none !important;
    font-size: 0.72rem;
  }

  .biblia-leitura-rail .biblia-morph-pills--testament,
  .biblia-leitura-rail .biblia-morph-pills--font {
    width: 100%;
  }

  .biblia-leitura-rail .biblia-morph-pills--testament .biblia-morph-pill,
  .biblia-leitura-rail .biblia-morph-pills--font .biblia-morph-pill {
    flex: 1 1 auto;
  }

  .biblia-leitura-rail .biblia-mode-btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .biblia-leitura-rail .biblia-ref-search-input {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .biblia-leitura-rail.biblia-command-bar {
    padding-right: 2.75rem;
  }

  .biblia-leitura-page.biblia-reader-panel {
    max-height: min(calc(100vh - 12rem), 52rem);
  }
}

/* Light: mesmo papel/fibra, tom de pergaminho claro */
html.theme-light .biblia-leitura-page {
  --biblia-paper: #f3eee6;
  --biblia-paper-deep: #ebe4d8;
  --biblia-paper-edge: rgba(90, 60, 30, 0.1);
  --biblia-paper-sheen: rgba(255, 255, 255, 0.42);
  --biblia-paper-ink: #1c1917;
  --biblia-paper-chrome: rgba(243, 238, 230, 0.95);
  --biblia-paper-noise-opacity: 0.3;
  --biblia-paper-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.42 0 0 0 0 0.33 0 0 0 0 0.2 0 0 0 0.42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --biblia-paper-fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.03 0.11' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.48 0 0 0 0 0.36 0 0 0 0 0.18 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

html.theme-light .biblia-leitura-page.biblia-reader-panel {
  border-color: rgba(90, 60, 30, 0.12);
  box-shadow: 0 14px 40px rgba(40, 24, 10, 0.12);
}

html.theme-light .biblia-leitura-page .biblia-reader-body {
  background-blend-mode: normal, normal, normal, multiply, multiply;
}

html.theme-light .biblia-leitura-page .biblia-nav-sticky,
html.theme-light .biblia-leitura-page .biblia-verse-actions {
  border-bottom-color: rgba(90, 60, 30, 0.1);
}

html.theme-light .biblia-page-sheet::before {
  background: linear-gradient(90deg, rgba(90, 55, 25, 0.1), rgba(90, 55, 25, 0.03) 50%, transparent);
  opacity: 1;
}

html.theme-light .biblia-leitura-page .biblia-verses > .biblia-verse:first-child .biblia-verse-text::first-letter {
  color: #9b1b1b;
}

html.theme-light .biblia-leitura-page .biblia-verse:hover {
  border-color: rgba(120, 22, 22, 0.42);
  background: rgba(130, 24, 24, 0.09);
}

html.theme-light .biblia-leitura-page .biblia-verse:active {
  border-color: rgba(110, 18, 18, 0.55);
  background: rgba(120, 20, 20, 0.14);
}

html.theme-light .biblia-leitura-page .biblia-verse.biblia-verse-selected {
  border-color: #7a1515 !important;
  background: rgba(130, 22, 22, 0.14) !important;
  box-shadow: inset 3px 0 0 #6b1212;
}

html.theme-light .biblia-leitura-page .biblia-verse.biblia-verse-selected > span:first-child {
  color: #7a1515;
}

/* Favorito na leitura: marca-texto (dark = azul claro Â· light = verde) */
.biblia-verse-favorited .biblia-verse-text,
.biblia-single-verse.biblia-verse-favorited > p:last-of-type {
  position: relative;
  z-index: 0;
  padding: 0.06em 0.14em 0.1em 0.1em;
  border-radius: 0.12em 0.4em 0.18em 0.35em / 0.35em 0.18em 0.4em 0.22em;
  background-image:
    linear-gradient(
      102deg,
      transparent 0%,
      transparent 4%,
      rgba(120, 200, 255, 0.22) 6%,
      rgba(90, 185, 255, 0.55) 18%,
      rgba(140, 210, 255, 0.4) 48%,
      rgba(70, 170, 255, 0.6) 74%,
      rgba(120, 200, 255, 0.28) 90%,
      transparent 96%,
      transparent 100%
    );
  background-size: 100% 0.92em;
  background-position: 0 0.55em;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow:
    inset 0 -0.06em 0 rgba(160, 220, 255, 0.28),
    0.04em 0.05em 0 rgba(60, 140, 220, 0.14);
}

.biblia-verse-favorited .biblia-verse-text::after,
.biblia-single-verse.biblia-verse-favorited > p:last-of-type::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -0.08em;
  right: 0.05em;
  top: 0.42em;
  bottom: 0.02em;
  z-index: -1;
  background:
    linear-gradient(
      96deg,
      rgba(130, 205, 255, 0.18) 0%,
      rgba(90, 180, 255, 0.45) 20%,
      rgba(150, 215, 255, 0.28) 52%,
      rgba(70, 165, 255, 0.5) 78%,
      rgba(130, 205, 255, 0.18) 100%
    );
  border-radius: 42% 58% 48% 52% / 55% 38% 62% 45%;
  transform: rotate(-0.7deg) skewX(-1.2deg);
  filter: blur(0.35px);
  opacity: 0.8;
  mix-blend-mode: screen;
}

/* VariaÃ§Ã£o leve entre versÃ­culos â€” traÃ§o de caneta irregular */
.biblia-verse-favorited:nth-child(3n) .biblia-verse-text {
  background-position: 0.05em 0.5em;
  transform: rotate(0.25deg);
}
.biblia-verse-favorited:nth-child(3n+1) .biblia-verse-text {
  background-position: -0.04em 0.58em;
  transform: rotate(-0.35deg);
}
.biblia-verse-favorited:nth-child(3n+2) .biblia-verse-text {
  background-position: 0.02em 0.52em;
  transform: rotate(0.15deg);
}

.biblia-verse-favorited:nth-child(3n) .biblia-verse-text::after {
  transform: rotate(0.5deg) skewX(0.8deg);
  opacity: 0.65;
}
.biblia-verse-favorited:nth-child(3n+1) .biblia-verse-text::after {
  transform: rotate(-1.1deg) skewX(-1.6deg);
  left: -0.12em;
  right: 0.12em;
}

/* Favorito prevalece sobre o sublinhado pontilhado do Destacar */
.biblia-verse-favorited.biblia-verse-highlighted .biblia-verse-text,
.biblia-single-verse.biblia-verse-favorited.biblia-verse-highlighted > p:last-of-type {
  text-decoration: none;
}

html.theme-light .biblia-verse-favorited .biblia-verse-text,
html.theme-light .biblia-single-verse.biblia-verse-favorited > p:last-of-type {
  background-image:
    linear-gradient(
      102deg,
      transparent 0%,
      transparent 4%,
      rgba(170, 250, 55, 0.35) 6%,
      rgba(120, 230, 30, 0.72) 18%,
      rgba(160, 245, 50, 0.55) 48%,
      rgba(100, 220, 25, 0.75) 74%,
      rgba(170, 250, 55, 0.4) 90%,
      transparent 96%,
      transparent 100%
    );
  box-shadow:
    inset 0 -0.05em 0 rgba(140, 210, 40, 0.28),
    0.03em 0.04em 0 rgba(70, 150, 20, 0.1);
}

html.theme-light .biblia-verse-favorited .biblia-verse-text::after,
html.theme-light .biblia-single-verse.biblia-verse-favorited > p:last-of-type::after {
  mix-blend-mode: multiply;
  opacity: 0.55;
  background:
    linear-gradient(
      96deg,
      rgba(150, 230, 40, 0.2) 0%,
      rgba(110, 210, 30, 0.5) 22%,
      rgba(170, 245, 55, 0.32) 55%,
      rgba(90, 200, 20, 0.55) 80%,
      rgba(150, 230, 40, 0.2) 100%
    );
}

/* ===== BÃ­blia Leitura: viewport travada â€” sÃ³ o texto rola ===== */
body.biblia-leitura-locked {
  overflow: hidden !important;
  height: 100dvh;
  max-height: 100dvh;
}

body.biblia-leitura-locked #app-shell {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.biblia-leitura-locked #app-shell > main[role="main"] {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column;
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
}

body.biblia-leitura-locked #views-container {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.biblia-leitura-locked #biblia-view {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.biblia-leitura-locked #biblia-continuar {
  flex-shrink: 0;
}

body.biblia-leitura-locked .biblia-view-tabs {
  position: relative;
  top: auto;
  flex-shrink: 0;
  z-index: 5;
  margin-bottom: 0.65rem;
}

body.biblia-leitura-locked #biblia-panel-leitura.biblia-leitura-layout {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  gap: 0.75rem;
}

body.biblia-leitura-locked .biblia-leitura-page.biblia-reader-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}

body.biblia-leitura-locked .biblia-leitura-page .biblia-reader-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.biblia-leitura-locked .biblia-leitura-page .biblia-nav-sticky,
body.biblia-leitura-locked .biblia-leitura-page .biblia-context-hook,
body.biblia-leitura-locked .biblia-leitura-page .biblia-verse-actions {
  position: relative;
  top: auto;
  flex-shrink: 0;
}

body.biblia-leitura-locked #biblia-texto.biblia-page-sheet {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (min-width: 1024px) {
  body.biblia-leitura-locked .biblia-leitura-layout {
    height: 100%;
    align-items: stretch;
  }

  body.biblia-leitura-locked .biblia-leitura-rail.biblia-command-bar {
    position: relative;
    top: auto;
    height: 100%;
    max-height: 100%;
    align-self: stretch;
  }

  body.biblia-leitura-locked .biblia-leitura-page.biblia-reader-panel {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 1023px) {
  body.biblia-leitura-locked .biblia-leitura-layout {
    height: 100%;
  }

  body.biblia-leitura-locked .biblia-leitura-rail.biblia-command-bar {
    flex: 0 1 auto;
    max-height: min(36vh, 16rem);
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.biblia-leitura-locked .biblia-leitura-page.biblia-reader-panel {
    flex: 1 1 auto;
    min-height: 0;
  }
}
