button.scripture-pill{
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #C4D2D9;
    background: rgba(244,239,227,0.05);
    border: 1px solid rgba(244,239,227,0.12);
    border-radius: 3px;
    padding: 4px 10px;
    white-space: nowrap;
  }

  .scripture-pill.has-verse{
    cursor: pointer;
  }
  .scripture-pill.has-verse:hover,
  .scripture-pill.has-verse:focus-visible{
    border-color: var(--porch-amber);
    color: var(--porch-amber-soft);
    outline: none;
  }
  .scripture-pill.has-verse:focus-visible{
    box-shadow: 0 0 0 2px rgba(232,162,59,0.5);
  }
  .scripture-pill.no-verse{
    opacity: 0.7;
    cursor: default;
  }

  .verse-modal-backdrop{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,26,38,0.85);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .verse-modal-backdrop.open{ display: flex; }

  .verse-modal{
    background: var(--dusk-mid);
    border: 1px solid var(--porch-amber);
    border-radius: 6px;
    padding: 28px 24px;
    max-width: 560px;
    width: 100%;
    max-height: 78vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    -webkit-overflow-scrolling: touch;
  }
  .verse-modal:focus{ outline: none; }

  .verse-modal-close{
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
  }
  .verse-modal-close:hover,
  .verse-modal-close:focus-visible{
    color: var(--porch-amber);
    outline: none;
  }
  .verse-modal-close:focus-visible{
    box-shadow: 0 0 0 2px rgba(232,162,59,0.5);
    border-radius: 3px;
  }

  .verse-modal-ref{
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--porch-amber);
    font-weight: 700;
    margin-bottom: 14px;
    padding-right: 24px;
  }
  .verse-modal-text{
    font-family: 'EB Garamond','Fraunces', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.75;
    color: var(--cream);
  }

  @media (max-width: 480px){
    .verse-modal{
      padding: 24px 18px;
      max-height: 82vh;
    }
    .verse-modal-text{ font-size: 15px; }
  }
