.journal-toolbar p {
  margin: 5px 0 0;
  color: var(--muted);
}

.journal-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-cover-shade {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 7, 2, .86) 100%);
}

.journal-cover-copy {
  position: relative;
  z-index: 2;
  display: block;
}

.journal-cover.has-photo {
  color: #fff;
  border-color: #ad8121;
}

.journal-cover.has-photo small {
  color: #f9e6a2;
}

.journal-cover.has-photo h3 {
  text-shadow: 0 2px 10px #000;
}

.journal-cover-copy > small:first-child {
  font: 800 10px/1.2 system-ui;
  letter-spacing: .16em;
}

.journal-calendar-toolbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.journal-calendar-toolbar h3 {
  margin: 0;
  text-transform: capitalize;
}

.journal-calendar-toolbar a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
}

.journal-calendar-day a {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journal-photo-wall a {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.journal-photo-wall a span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 8px 7px;
  overflow: hidden;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diary-photo-preview span {
  position: relative;
  flex: 0 0 auto;
}

.diary-photo-preview span button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 20, 24, .78);
  color: #fff;
  font: 700 16px/24px system-ui;
  cursor: pointer;
}
