body.letter-reading {
  margin: 0;
  background: #fbf7ef;
  color: #30271f;
}

.letter-reading .letter-section {
  width: min(900px, calc(100% - 32px));
  margin-inline: auto;
  color: inherit;
}

.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.letter-header a,
.letter-header button,
.letter-actions a,
.letter-actions button {
  border: 1px solid #b4a28e;
  border-radius: 6px;
  background: #fffdf8;
  color: inherit;
  padding: 10px 14px;
  font: inherit;
  text-decoration: none;
}

.letter-header button,
.letter-actions button {
  cursor: pointer;
}

.letter-reading h1,
.letter-reading h2 {
  text-align: center;
}

.letter-reading h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.letter-reading .letter-landscape {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.letter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #b4a28e;
}

.letter-actions p,
.letter-actions input {
  flex-basis: 100%;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.letter-actions p:empty {
  position: absolute;
}
