.prayer-wall .prayer-intro {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.prayer-wall .prayer-intro h1 {
  max-width: 17ch;
  font-size: clamp(2.3rem, 5.5vw, 4.65rem);
}
[data-prayer-more] { display: block; margin: 1.2rem auto 0; }
[data-prayer-more][hidden] { display: none; }
.prayer-status { font-size: .9rem; color: var(--muted); margin: .8rem 0; }
.prayer-status:empty { display: none; }

/* No mural, o rodapé acompanha a altura do conteúdo. */
main:has(> .prayer-mural) { min-height: 0; }
.prayer-mural { padding-block-end: clamp(1.75rem, 4vw, 3rem); }
.prayer-mural [data-prayer-board-status] { text-align: center; }
.prayer-mural [data-prayer-cards]:empty { display: none; }
main:has(> .prayer-mural) + footer { padding-block: .5rem; }
.prayer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-block: 1rem;
}
.prayer-mural-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .95rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  overflow: hidden;
}
.prayer-mural-card > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .5rem; }
.prayer-mural-card h3, .prayer-review-card h3 { margin: 0; font-size: 1rem; }
.prayer-mural-card time, .prayer-author { color: var(--muted); font-size: .8rem; }
.prayer-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: .65rem 0; }
.prayer-author { margin: auto 0 .65rem; overflow-wrap: anywhere; }
.prayer-support {
  min-height: 2.75rem;
  margin: 0 -.95rem -.95rem;
  padding: .4rem .95rem;
  text-align: left;
  font: inherit;
  font-weight: 650;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.prayer-support[aria-pressed="true"] { opacity: 1; color: var(--muted); cursor: default; }
.prayer-review-list { display: grid; gap: .75rem; margin-block-start: .9rem; }
.prayer-review-card { padding: 1rem; }
@media (max-width: 820px) { .prayer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .prayer-cards { grid-template-columns: minmax(0, 1fr); }
}

.prayer-compose, .prayer-invitation {
  margin: 1rem auto;
  text-align: center;
}
.prayer-compose summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.prayer-compose summary::-webkit-details-marker { display: none; }
.prayer-compose .prayer-form {
  width: min(100%, 39rem);
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: .85rem auto 0;
  padding: clamp(.9rem, 4vw, 1.75rem);
  border-radius: 1rem;
  text-align: center;
}
.prayer-compose .prayer-form > label {
  width: min(100%, 32rem);
  justify-self: center;
  text-align: center;
}
.prayer-compose .prayer-form label { font-size: .92rem; }
.prayer-compose .prayer-form :is(input:not([type="checkbox"]), textarea) {
  width: 100%;
  min-height: 2.85rem;
  margin-top: .35rem;
  padding: .7rem .85rem;
  border-radius: .55rem;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}
.prayer-compose .prayer-form :is(input, textarea):focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}
.prayer-compose .prayer-check {
  justify-content: center;
  align-items: flex-start;
  min-height: auto;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  line-height: 1.45;
}
.prayer-compose .prayer-check input { margin-top: .15rem; }
.prayer-compose .prayer-form > .note {
  max-width: 49ch;
  margin: -.25rem auto 0;
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}
.prayer-compose .prayer-form > .button {
  justify-self: center;
  min-width: min(100%, 13rem);
}
.prayer-compose .prayer-status { margin: 0; text-align: center; }
@media (max-width: 520px) {
  .prayer-compose .prayer-form > .button { width: 100%; }
}

.prayer-invitation { max-width: 38rem; }
.prayer-firstfruits > .card { max-width: 42rem; margin-inline: auto; }
.prayer-firstfruits h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.prayer-firstfruits { text-align: center; }
.prayer-firstfruits > .card p { margin-inline: auto; max-width: 53ch; }
.prayer-firstfruits > .card ul { padding: 0; list-style: none; }
.prayer-firstfruits > .card h2:not(:first-child) { margin-top: 1.4rem; }
