/* The book page: the cover at its natural proportions, honest sale status, sharing. */
.book-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(2.5rem, 7vh, 5rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
@media (max-width: 860px) { .book-hero { grid-template-columns: 1fr; } .book-cover { max-width: 22rem; } }
.book-cover { margin: 0; perspective: 1000px; }
.book-cover img { width: 100%; height: auto; box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.05);
  transform: rotateY(var(--ry, -5deg)) rotateX(var(--rx, 1.5deg)); transition: transform .6s var(--ease-ink); }
.book-title { font-size: clamp(2.8rem, 1.6rem + 5vw, 6.2rem); margin: .8rem 0 0; color: #f1e6cc; }
.book-sub { font-size: var(--step-1); font-style: italic; color: var(--fg-2); margin: 1rem 0 .4rem; max-width: 30rem; line-height: 1.35; text-wrap: balance; }
.book-formal { margin: .7rem 0 0; font-size: clamp(1rem, .85rem + .6vw, 1.35rem); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.book-formal cite { font-style: normal; }
.book-by { color: var(--fg-2); margin-bottom: 2rem; }
.book-status { border: 1px solid var(--rule); padding: 1.1rem 1.2rem; margin-bottom: 1.6rem; max-width: 30rem; }
.book-status-head { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin-bottom: .6rem; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,160,32,.18); }
.formats { list-style: none; padding: 0; margin: 0 0 .8rem; }
.formats li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.book-status-note { font-size: .95rem; color: var(--fg-2); margin: 0; }
.book-about .section-title, .share .section-title, .book-rooms .section-title, .book-author .section-title { margin-top: .8rem; max-width: 16ch; }
.book-about .btn-row { margin-top: 1.4rem; }
.book-film { margin-top: clamp(2rem, 6vh, 3.5rem); }
.book-film .film { margin-bottom: 0; }
.book-rooms .section-title { margin-bottom: 2rem; }

.share { background: var(--bg-2); }
.share-note { color: var(--fg-2); margin-top: 1.2rem; max-width: 26rem; }
.share-card { display: grid; gap: 1rem; }
.share-field { display: grid; gap: .45rem; }
.share-field textarea, .share-field input {
  width: 100%; padding: .8rem .9rem; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); border-radius: 2px;
  background: color-mix(in srgb, var(--bg) 70%, #000 10%); color: var(--fg); font: inherit; font-size: 1.02rem; line-height: 1.5; resize: vertical;
}
.share-field input { font-family: var(--f-mono); font-size: .88rem; text-overflow: ellipsis; }
/* The whole canonical link stays readable in the field on a phone. */
@media (max-width: 30rem) { .share-field input { font-size: .8rem; padding-inline: .7rem; letter-spacing: -.01em; } }
.share-or { margin: .6rem 0 .5rem; }
/* "X" is one letter: its button keeps a full-size target. */
.share-intents .btn { min-width: 2.75rem; justify-content: center; }
.share-status { min-height: 1.4em; margin: 0; color: var(--gold-2); font-size: .95rem; }
.share-nojs { margin: 0; color: var(--fg-2); font-size: .95rem; }

.notfound { padding: clamp(4rem, 14vh, 9rem) var(--gutter); min-height: 60vh; }
.notfound-title { font-size: var(--step-4); margin: 1rem 0 1.4rem; color: #f1e6cc; }
.notfound .lede { margin-bottom: 2rem; }
