/* Daily verse. The verse itself is the only thing that gets display type: it is
   somebody else's words, so the screen stays quiet around it. */

.ro-verse {
  background: var(--color-bg);
  padding: 66px 18px 14px;
  gap: 15px;
}

.ro-verse-head { display: flex; align-items: center; gap: 11px; }
.ro-verse-headtext { flex: 1; min-width: 0; }
.ro-verse-title { font-size: 21px; line-height: 1.1; }
.ro-verse-sub {
  font-size: 11.5px;
  color: var(--color-neutral-700);
  margin-top: 3px;
}

/* — the verse — */
.ro-verse-card {
  background: var(--color-accent-2-100);
  border-radius: 32px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Caprasimo is a heavy display face, so a long passage at one fixed size either
   overflows the device or gets clipped. The size steps with the verse's length
   (the `fit` tier in store.js) so the whole thing lands in the card. */
.ro-verse-text {
  font-size: 21px;
  line-height: 1.34;
  color: var(--color-accent-2-900);
  text-wrap: pretty;
}
.ro-verse-text.is-short { font-size: 25px; line-height: 1.3; }
.ro-verse-text.is-mid { font-size: 21px; line-height: 1.34; }
.ro-verse-text.is-long { font-size: 18px; line-height: 1.4; }
.ro-verse-text.is-xlong { font-size: 16px; line-height: 1.45; }
.ro-verse-ref {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-2-800);
  letter-spacing: .01em;
}

.ro-verse-seg { align-self: flex-start; }
.ro-verse-seg .seg-opt { min-height: 38px; padding-inline: 16px; }

.ro-verse-acts { display: flex; flex-direction: column; gap: 9px; }
.ro-verse-sit { height: 48px; font-size: 14.5px; }
.ro-verse-bring { height: 46px; font-size: 14px; margin: 0; }

.ro-verse-tomorrow {
  font-size: 11.5px;
  color: color-mix(in srgb, var(--color-text) 45%, transparent);
}

/* — changing tradition, folded away once one is picked — */
.ro-verse-change { margin-top: 2px; }
.ro-verse-change summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-accent-700);
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}
.ro-verse-change summary::-webkit-details-marker { display: none; }
.ro-verse-change summary::before { content: "+ "; }
.ro-verse-change[open] summary::before { content: "\2212 "; }
.ro-verse-change summary:hover { color: var(--color-accent-800); }

/* — no tradition chosen yet — */
.ro-verse-ask { font-size: 27px; line-height: 1.14; text-wrap: pretty; }
.ro-verse-askbody {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* — the picker — */
.ro-verse-faiths { display: flex; flex-direction: column; gap: 8px; }

.ro-verse-faith {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.ro-verse-faith:hover { background: var(--color-neutral-300); }
.ro-verse-faith:active { background: var(--color-neutral-400); }
.ro-verse-faithtext { flex: 1; min-width: 0; }
.ro-verse-faithlabel { font-size: 14.5px; font-weight: 600; }
.ro-verse-faithnote {
  font-size: 11.5px;
  color: var(--color-neutral-700);
  margin-top: 2px;
}

.ro-verse-faith.is-on {
  background: var(--color-accent-200);
}
.ro-verse-faith.is-on .ro-verse-faithlabel { color: var(--color-accent-900); }
.ro-verse-faith.is-on .ro-verse-faithnote { color: var(--color-accent-800); }
.ro-verse-faith.is-on:hover { background: var(--color-accent-300); }

/* Listed, but with no text behind it yet — dimmed rather than hidden. */
.ro-verse-faith.is-soon .ro-verse-faithlabel { color: var(--color-neutral-700); }
.ro-verse-faith.is-soon .ro-verse-faithnote { font-style: italic; }
