.poster-intro { margin-bottom: clamp(24px,4vw,48px); }
.poster-intro p { color: var(--soft); margin-top: .65em; }
.album {
  --leaf: #faf7ee;
  list-style: none; margin: 0; padding: 0;
}
.album:not(.bound) > li + li { margin-top: 22px; }
.poster-series {
  display: grid; position: relative; isolation: isolate;
  grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--leaf); color: var(--ink);
  border: 1px solid #c9c6b7; border-radius: 5px 14px 14px 6px;
  box-shadow: 0 2px #eeeade, 0 3px #c9c5b6, 0 5px #ece7d9, 0 6px #b4bb96;
}
.poster-series::after {
  content: ""; position: absolute; inset: 0 auto 0 50%; width: 26px;
  transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, #cbc4ad40 42%, #b7af974d 49%, #fff9 56%, transparent);
}
.album-caption {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; padding: clamp(22px,5.5vw,72px);
}
.poster-size { font-size: .95rem; color: var(--soft); }
.poster-name { margin: .35em 0 .64em; font-size: clamp(1.6rem,3vw,2.55rem); line-height: 1.16; text-wrap: balance; }
.album-open { font-size: 1rem; text-decoration: underline wavy #899568 1px; text-underline-offset: .32em; }
.print-mount {
  display: grid; place-items: center; position: relative; isolation: isolate;
  overflow: hidden; touch-action: pan-y pinch-zoom;
}
.poster-series .print-mount { grid-area: 1 / 2; height: clamp(300px,40vw,505px); }
.print-mount > img, .turn-leaf img {
  display: block; width: 100%; height: 100%; min-height: 0; min-width: 0;
  object-fit: contain; user-select: none;
}
.turn-leaf {
  position: absolute; inset: 0; background: var(--leaf); z-index: 1; pointer-events: none;
  transform-origin: left center; backface-visibility: hidden;
}
.album-tools {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  margin-top: 18px; font-size: .98rem; font-variant-numeric: tabular-nums;
}
.album-tools [role="status"] { min-width: 6em; text-align: center; }
.leaf-control {
  cursor: pointer; display: inline-grid; place-items: center; line-height: 1;
  min-width: 44px; min-height: 44px; padding: 0 .4em; background: transparent;
  border: 0; border-radius: 48% 54% 44% 52%; font-size: 1.45rem;
}
.leaf-control:disabled { color: #a19f90; cursor: default; }
@media (hover:hover) {
  .leaf-control:enabled:hover { background: #e4e8d5; }
  .poster-series:hover .album-open { text-decoration-color: var(--ink); }
}
.poster-fallback { margin-top: 2rem; }
.poster-fallback summary { cursor:pointer; }
.poster-fallback a { display: inline-block; padding: .5em; text-decoration:underline; }
.poster-reader {
  --leaf: #faf7ee;
  width: min(880px,calc(100% - 32px)); max-width: none;
  height: min(900px,calc(100dvh - 44px)); max-height: calc(100% - 16px);
  margin: auto; padding: 0 clamp(14px,3vw,36px);
  color: var(--ink); background: var(--leaf); border: 1px solid #bbb9a9;
  border-radius: 6px 12px 10px 5px; box-shadow: 2px 3px #d9d5c6, 3px 5px #a8ac92;
}
.poster-reader[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.poster-reader::backdrop { background: rgb(41 40 35 / .65); }
html:has(.poster-reader[open]) { overflow:hidden; }
.reader-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.reader-top h2 { font-size: clamp(1.1rem,2.1vw,1.55rem); font-weight: 485; line-height: 1.2; }
.reader-close { flex: none; }
.reader-leaf {
  min-height: 0; position: relative; display:grid; margin: 0 auto; width: 100%;
  background: linear-gradient(90deg,#dcd8c8 0,#fcf9ef 3px,#e7e2d4 6px,#f5f1e7 13px);
  border-radius: 2px 5px 5px 2px;
}
.reader-leaf .print-mount { --leaf: #f5f1e7; margin-left: 10px; }
.reader-leaf .print-mount { --gutter: clamp(6px,1.5vh,18px); }
.poster-reader .album-tools { margin: 3px 0; }
@media (max-width: 560px) {
  .poster-series { grid-template-columns: 1fr; padding-left: 9px; }
  .poster-series::after { inset: 0 auto 0 3px; transform: none; width: 6px; background: linear-gradient(90deg,#c8c3b457,transparent); }
  .poster-series .print-mount { grid-area: 1 / 1; height: clamp(210px,66vw,305px); }
  .poster-series .print-mount { --gutter: 14px; }
  .album-caption { grid-area: 2 / 1; padding: 4px 20px 22px; }
  .poster-name { margin:.18em 0 .42em; font-size:1.42rem; }
  .poster-size { font-size:.87rem; }
  .album-tools { margin-top: 12px; }
  .poster-reader { width: calc(100% - 16px); height: calc(100dvh - 24px); padding:0 8px; }
  .reader-top { padding-left: 6px; }
}

.print-mount { container-type: size; --gutter: clamp(19px,3.3vw,41px); }
.turn-leaf { display: grid; place-items: center; }
.print-mount > img, .turn-leaf img {
  width: auto; height: auto;
  max-width: calc(100cqw - 2 * var(--gutter));
  max-height: calc(100cqh - 2 * var(--gutter));
  border-radius: 7px; box-shadow: 0 1px 3px #39332120;
}

.poster-series .print-mount {
  background: #f4f0e5;
  border-radius: 0 13px 13px 0;
}
.poster-series .poster-size {
  background: #e9ecd7; border-radius: 3px 6px 5px 3px; padding: 2px 8px;
}
.poster-chapter .leaf-control {
  border: 1px solid #d4d0bd; background: #faf7ed;
}
@media (max-width: 560px) {
  .poster-series .print-mount {
    margin: 8px 8px 0 0;
    border-radius: 0 9px 9px 0;
  }
}
