/* Use the host site's permanent colors and locally served fonts. */
.pocket-main {
  max-inline-size: 48rem;
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 2rem);
  font-size: clamp(1.125rem, 1.75vw, 1.3rem);
  line-height: 1.55;
}
.pocket-main :is(h1, h2, h3, p, ul, ol) { margin: 0; }
.pocket-main :is(h1, h2, h3) { line-height: 1.18; }
.pocket-main h1 { font-size: clamp(2.125rem, 6.5vw, 3.25rem); }
.pocket-main h2 { font-size: 1.55em; }
.pocket-main h3 { font-size: 1.18em; }
.pocket-main a { color: var(--gold); text-decoration: underline; text-underline-offset: .18em; }
.pocket-main :is(a,input):focus-visible { outline: 2px solid var(--rubric); outline-offset: 3px; }
.pocket-main [id] { scroll-margin-block-start: 6rem; }
.pocket-intro { margin-block-end: 1rem; }
.pocket-intro p { margin-block-start: .65rem; }
.pocket-subtitle { display: block; margin-block-start: .2em; font-size: .6em; color: var(--ink-light); }
.pocket-colon { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; }
.pocket-prayer, .pocket-psalm { padding: clamp(.85rem, 3vw, 1.4rem); border: 1px solid var(--border-gold); border-radius: var(--radius); }
.pocket-prayer { background: var(--parchment2); border-inline-start: .25rem solid var(--rubric); }
.pocket-prayer p { margin-block-start: .4rem; }
.pocket-needs, .pocket-readings, .pocket-notes { margin-block-start: 2rem; }
.pocket-main .pocket-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; list-style: none; margin-block: .5rem 0; }
.pocket-topics > li { padding-block: .5rem; border-block-start: 1px solid var(--border-gold); }
.pocket-links { display: flex; flex-wrap: wrap; column-gap: .7rem; }
.pocket-links a, .pocket-back {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}
.pocket-psalm { margin-block-start: 1rem; }
.pocket-psalm:target { border-color: var(--gold); }
.pocket-caption, .pocket-edition-name { color: var(--ink-light); }
.pocket-edition { display: none; margin-block: .7rem; padding: 0 .65rem .25rem; border: 1px solid var(--border-gold); min-inline-size: 0; }
.pocket-edition legend { padding-inline: .25rem; color: var(--ink-light); font-size: .9em; }
.pocket-edition label { display: inline-flex; align-items: center; padding-inline: .35rem; gap: .4rem; min-block-size: 44px; cursor: pointer; }
.pocket-edition input { accent-color: var(--rubric); inline-size: 1rem; block-size: 1rem; }
.pocket-bsb { display: none; }
@supports selector(article:has(input:checked)) {
  .pocket-edition { display: block; }
  .pocket-psalm:has(.pocket-use-bsb:checked) .pocket-coverdale { display: none; }
  .pocket-psalm:has(.pocket-use-bsb:checked) .pocket-bsb { display: block; }
}
.pocket-main .pocket-verses { padding-inline-start: 1.45em; }
.pocket-verses li { padding-inline-start: .25em; margin-block-start: .4em; }
.pocket-verses li::marker { color: var(--gold); font-size: .86em; }
.pocket-notes p { margin-block: .65rem 0; }
@media (max-width: 42rem) { .pocket-main .pocket-topics { grid-template-columns: minmax(0,1fr); } }
@media print { .pocket-edition, .pocket-links a, .pocket-back { display: none; } }
