/* Two original paper surfaces carry the wear; CSS only shapes the binding. */
:root { --rb-paper: #c9b292; --rb-ink: #494236; --rb-muted: #7b705d; --rb-line: #c7bda8; }
body { background: radial-gradient(ellipse at 55% 40%, #f6f2e9 0, #ece8dc 80%); }
.book-underlay {
  padding: 2px 3px 7px;
  border-radius: 2px 4px 5px 2px;
  border: 0;
  background: none;
  box-shadow: none;
}
.book-underlay::before { content: none; }
.book-underlay::after { content: ''; position: absolute; z-index: 0; left: 4%; right: 4%; bottom: 1px; height: 10px; background: radial-gradient(ellipse at 50% 70%, #4b392b40, #4b392b1a 40%, transparent 72%); filter: blur(2px); pointer-events: none; }
/* The cloth follows a worn outline beneath the pages, not a perfect frame. */
.cover-board { position: absolute; z-index: 0; inset: auto 1px 1px; height: 3px; border: 0; background: none; pointer-events: none; }
.cover-board::before { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, #5b604d, #77755e 21%, #696c55 63%, #5d634e); clip-path: polygon(0 25%, 18% 0, 39% 20%, 61% 5%, 83% 20%, 100% 0, 100% 85%, 81% 100%, 59% 80%, 37% 100%, 16% 85%, 0 100%); }
.cover-board::after { content: none; }
.bound-page-block { position: relative; z-index: 1; isolation: isolate; }
.bound-page-block::before { content: ''; position: absolute; z-index: -1; inset: 2px -1px -2.5px; border: 0; background: #b79f7c; clip-path: polygon(0 0, 99.8% .2%, 100% 99.5%, 82% 99.8%, 53% 100%, 49% 99.8%, 23% 100%, 0 99.6%); box-shadow: 0 1px 0 #cfb897; }
.bound-page-block::after { content: ''; position: absolute; z-index: -1; top: 2px; right: -2px; bottom: -1.5px; width: 2px; background: linear-gradient(to right, #ac9472, #c1ad8a); border-radius: 0 1px 2px 0; }
.fieldbook-spread { grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr); background: none; }
.fieldbook-page {
  color: #342b21;
  --paper-surface: url('./assets/worn-book-paper-right-v2-delivery.jpg');
  background-color: var(--rb-paper);
  background-image: var(--paper-surface);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  border: 0;
  box-shadow: none;
  clip-path: polygon(.3% 0, 99.5% .2%, 100% 29%, 99.8% 68%, 99.6% 99.7%, 62% 100%, 26% 99.8%, 0 99.5%, .15% 48%);
}
.fieldbook-page::before {
  content: none;
}
/* The illustration must blend into the page instead of an empty z-index group. */
.fieldbook-page > :not(.page-folio):not(.pencil-butterfly):not(.pencil-sprig):not(.card-plate) { position: relative; z-index: 1; }
.fieldbook-page > .page-folio, .fieldbook-page > .pencil-butterfly, .fieldbook-page > .pencil-sprig { position: absolute; z-index: 1; }
.photo-page { --paper-surface: url('./assets/worn-book-paper-left-v2-delivery.jpg'); background-image: linear-gradient(to left, #2d1f1257, #2d1f121a 13px, #fff2dc1f 31px, transparent 62px), var(--paper-surface); box-shadow: none; clip-path: polygon(.3% 0, 100% 0, 100% 100%, 62% 100%, 26% 99.8%, 0 99.5%, .15% 48%); }
.reading-page { background-image: linear-gradient(to right, #2d1f1257, #2d1f121a 13px, #fff2dc1f 29px, transparent 60px), var(--paper-surface); box-shadow: none; clip-path: polygon(0 0, 99.5% .2%, 100% 29%, 99.8% 68%, 99.6% 99.7%, 62% 100%, 0 100%); }
.book-spine {
  position: absolute; z-index: 6; top: 1.2%; bottom: 1.2%; left: 50%; width: 3px; transform: translateX(-50%); pointer-events: none;
  background: rgb(52 36 20 / .42);
  border-radius: 0;
  clip-path: none;
  filter: blur(.45px);
  box-shadow: none;
}
.book-spine::before { content: none; }
.book-spine::after { content: none; }
.page-running { color: #342b21; border-bottom: 1px solid #725b3b40; padding-bottom: 9px; }
.photo-mount { width: 94%; margin: 32px auto 0; padding: 7px; background: #f1e5ca45; border: 1px solid #98825b8c; transform: rotate(-.3deg); box-shadow: inset 0 0 0 2px #d7c39740; }
.photo-mount img { height: 252px; filter: sepia(.28) saturate(.54) contrast(.91); mix-blend-mode: multiply; opacity: .94; mask-image: linear-gradient(to bottom, transparent, #000 1.4%, #000 98.6%, transparent); }
.photo-handnote { font-size: 18px; margin: 30px 0 0 22px; color: #342b21; transform: rotate(-1.1deg); }
.photo-caption { margin: 22px 0 0 23px; color: #342b21; font-size: 14px; letter-spacing: .08em; }
.pencil-butterfly { width: 106px; bottom: 107px; right: 31px; transform: rotate(9deg); opacity: .64; }
.pencil-sprig { right: 33px; bottom: 22px; opacity: .51; }
.page-folio { color: #342b21; }
.card-title { border-bottom-color: #a88e5d70; }
.card-title > p, .card-title small { color: #342b21; }
.tarot-figure { transform: none; }
.tarot-figure figcaption, .symbol-notes h3 { color: #342b21; }
.tarot-figure img { border-radius: 1px; filter: sepia(.06) saturate(.76); box-shadow: 0 1px 2px #73603a38; }
.card-scene { color: #342b21; text-shadow: none; }
.card-detail { border-top-color: #a88e5d63; }
.symbol-notes li { color: #342b21; }
.page-turn-base, .page-turn-face { background-color: #bea786; }
.page-turn-face-shade { background: #5e4529; }
.page-turn-outer-edge::after { background: #b59a65; width: 1.1px; }
@media (max-width: 720px) {
  .book-underlay { padding: 2px 3px 6px 11px; border-radius: 2px 3px 4px 2px; }
  .bound-page-block::before { top: 1px; left: -8px; right: -1px; bottom: -2.5px; background: #b9a17e url('./assets/worn-book-paper-left-v2-delivery.jpg') 0 50% / 100% 100%; }
  .bound-page-block::after { right: -2px; width: 2px; }
  .fieldbook-spread { display: block; }
  .fieldbook-page { padding-left: 31px; padding-right: 21px; }
  .book-spine { display: none; }
  .reading-page { background-image: linear-gradient(to right, #2d1f1233, #2d1f120d 8px, #fff2dc14 22px, transparent 42px), var(--paper-surface); box-shadow: none; }
  .card-reading-grid { column-gap: 18px; }
}
