.dp-view {
  color: var(--dr-ink);
  overflow-wrap: break-word;
}
.dp-invitation .dr-primary { margin: 15px 0 8px; }
.dp-view .dr-secondary, .dp-view summary { min-height: 46px; }
.dp-checkout, .dp-reader { padding-top: 18px; }
.dp-cover {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 178px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; border-radius: 8px; background: #192932; color: var(--dr-paper);
}
.dp-cover::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #13212c 4%, #13212cf0 26%, #13212c75 73%, #13212c26),
    url("./assets/moon-crane-mobile.webp") center 44% / cover;
}
.dp-cover .dr-kicker { color: #efd6a5; }
.dr-dialog .dp-cover h2 { margin: 8px 0; max-width: 8em; line-height: .99; }
.dp-cover p { color: #fff4df; font-size: .94rem; }
.dp-body { padding-top: 24px; }
.dp-title-row, .dp-price, .dp-toolbar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dr-dialog .dp-title-row h3 { font-size: 1.8rem; letter-spacing: -.025em; }
.dp-title-row > span, .dp-toolbar > span:last-child { color: #715b3e; font-size: .82rem; }
.dp-edition { margin: 12px 0; border-block: 1px solid var(--dr-rule); }
.dp-edition ol { padding: 0; margin: 4px 0 14px; list-style: none; }
.dp-edition li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 8px; padding-block: 5px; font-size: 1rem; }
.dp-edition li span { color: #765d3a; font-size: .86rem; font-variant-numeric: tabular-nums; }
.dr-dialog .dp-delivery { margin-top: 12px; color: #354f45; font-size: .92rem; }
.dr-dialog .dp-birth, .dr-dialog .dp-fine { font-size: .83rem; line-height: 1.5; color: var(--dr-muted); }
.dp-price { margin-top: 17px; padding: 16px 0; border-block: 1px solid var(--dr-rule); }
.dp-price strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.dr-dialog .dp-notice { margin-top: 14px; border-left: 2px solid #b79560; padding: 7px 10px; color: #5b462b; font-size: .87rem; }
.dp-body > .dr-primary { margin-top: 16px; }
.dp-body > .dr-primary:disabled { cursor: wait; opacity: .75; }
.dr-dialog .dp-body > .dp-fine { margin: 8px 0; }
.dp-body > .dr-secondary { margin-top: 10px; }
.dr-dialog .dp-error { margin-top: 11px; color: #883a2b; font-size: .9rem; }
.dp-message { padding: 35px 0 20px; }
.dp-message > p { color: var(--dr-muted); }
.dp-actions, .dp-pager { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.dp-actions button, .dp-pager button { flex: 1 1 125px; }
.dp-reader progress {
  display: block; width: 100%; height: 3px; margin: 9px 0 5px;
  appearance: none; border: 0; background: var(--dr-rule); color: #a1804b;
}
.dp-reader progress::-webkit-progress-bar { background: var(--dr-rule); }
.dp-reader progress::-webkit-progress-value { background: #a1804b; }
.dp-reader progress::-moz-progress-bar { background: #a1804b; }
.dp-contents, .dp-save { border-bottom: 1px solid var(--dr-rule); }
.dp-view summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-block: 8px; list-style: none; color: #4c412f; font-weight: 650; cursor: pointer;
}
.dp-view summary::-webkit-details-marker { display: none; }
.dp-view summary::after {
  content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid;
  transform: rotate(45deg); margin-right: 5px;
}
.dp-view details[open] > summary::after { transform: rotate(225deg); }
.dp-contents ol { display: grid; gap: 3px; padding: 0; margin: 0 0 14px; list-style: none; }
.dp-contents li button {
  width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 7px 10px;
  text-align: left; border: none; border-radius: 5px; background: #f1e9d9; color: var(--dr-ink);
  font-size: .91rem; line-height: 1.4;
}
.dp-contents li button[aria-current="page"] { background: #23363c; color: #fbf2de; }
.dp-contents li button > span:first-child { flex: none; font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .85; }
.dp-heading { margin-top: 26px; }
.dp-reader-tools { position: relative; }
.dp-reader-tools .dp-contents summary { width: 55%; }
.dp-save-shortcut { position: absolute; right: 0; top: 0; min-height: 46px; padding: 4px 0 4px 12px; background: transparent; border: 0; color: #604c31; text-decoration: underline; text-underline-offset: 3px; }
.dp-entry { display: grid; gap: 1px; }
.dp-entry small { font-size: .76rem; opacity: .88; }
.dr-dialog .dp-heading h2 { line-height: 1.02; font-size: clamp(2.4rem, 7vw, 3.65rem); margin: 7px 0 16px; text-wrap: balance; }
.dr-dialog .dp-lead {
  max-width: 39ch; color: #28413d; font: 500 clamp(1.3rem, 3vw, 1.55rem)/1.38 Georgia, serif;
  letter-spacing: -.016em;
}
.dp-evidence { margin-top: 18px; border-block: 1px solid var(--dr-rule); }
.dp-evidence summary { color: #675035; font-size: .91rem; }
.dr-dialog .dp-evidence p { padding: 0 3px 14px; color: #484236; font-size: 1rem; line-height: 1.6; }
.dp-prose { max-width: 58ch; margin: 22px 0 26px; }
.dp-prose p, .dp-practice p { font-size: 1.03rem; line-height: 1.66; }
.dr-dialog .dp-prose p + p { margin-top: .85em; }
.dr-dialog .dp-prose h3 {
  margin: 1.45em 0 .42em; color: #263a38; font: 650 1.12rem/1.3 "DM Sans", Arial, sans-serif;
  letter-spacing: -.02em; text-wrap: balance;
}
.dr-dialog .dp-prose > h3:first-child { margin-top: 0; }
.dp-window { margin: 22px 0; padding-left: 16px; border-left: 2px solid #b39b72; }
.dp-date { display: block; color: #715534; font-size: .91rem; font-weight: 650; }
.dr-dialog .dp-window h3 { margin: 4px 0 8px; font: 500 1.5rem/1.2 Georgia, serif; }
.dp-practice { margin: 22px 0; padding: 16px 18px; border-left: 3px solid #728571; background: #e9ede4; }
.dp-practice b { display: block; margin-bottom: 5px; color: #3d5344; font-size: .92rem; }
.dp-pager { margin-bottom: 21px; }
.dp-save { border-top: 1px solid var(--dr-rule); }
.dp-save > div { padding-bottom: 16px; }
.dp-save label { display: block; color: var(--dr-muted); font-size: .86rem; }
.dp-save input { display: block; width: 100%; min-height: 46px; margin: 6px 0 9px; padding: 8px 10px; color: var(--dr-ink); background: #fffaf1; border: 1px solid var(--dr-rule); border-radius: 5px; }
.dp-save .dp-fine { margin: 7px 0 14px; }
.dp-save .dp-fine:empty { display: none; }
@media (min-width: 620px) {
  .dp-cover { min-height: 205px; padding: 28px; }
  .dp-contents ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 360px) {
  .dp-cover { padding: 16px; }
  .dp-pager { flex-direction: column; }
  .dp-pager button { flex: initial; }
}
