@font-face { font-family: "Pistolheart Display"; src: url("../fonts/eveleth-clean-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }

.ph-page {
    /* --ph-paper: #efdfb9; */
    --ph-paper: #fcfbfb;
    --ph-ink: #48250f;
    --ph-accent: #953b27;
    --ph-action-ink: #fff1d5;
    position: relative; isolation: isolate; overflow: clip;
    padding: 28px 0 40px;
    background: linear-gradient(#71462044, #71462044), url("../images/home/dark_leather.webp") repeat;
    background-size: auto, 398px 484px;
    color: var(--ph-ink); color-scheme: light;
    font: 400 17px/1.7 var(--font-gilmore, "IBM Plex Sans", sans-serif); letter-spacing: normal;
}
.ph-page *, .ph-page *::before, .ph-page *::after { box-sizing: border-box; }
.ph-page :where(h1,h2,h3,p,figure,blockquote,dl,dd,ul,ol) { margin: 0; }
.ph-page :where(h1,h2,h3) { color: inherit; font-style: normal; letter-spacing: normal; text-wrap: balance; }
.ph-page h2 { font: 400 clamp(22px, 2.1vw, 28px)/1.3 "Pistolheart Display", Impact, sans-serif; }
.ph-page h3 { font: 600 18px/1.45 var(--font-gilmore, "IBM Plex Sans", sans-serif); }
.ph-page a { color: inherit; text-decoration: none; }
.ph-page :where(button,input,select,summary) { font: 600 15px/1.4 var(--font-gilmore, "IBM Plex Sans", sans-serif); letter-spacing: normal; }
.ph-page :where(button,summary) { cursor: pointer; }
.ph-page button:disabled { cursor: default; }
.ph-page [hidden] { display: none !important; }
.ph-page :where(a,button,input,select,summary):focus-visible { outline: 3px solid var(--ph-accent); outline-offset: 5px; }
.ph-page :where([id]) { scroll-margin-top: 140px; }
.ph-page :where(em,i) { font-style: normal; }
.ph-paper {
    position: relative; isolation: isolate; width: min(1180px, calc(100% - 56px)); margin-inline: auto;
    padding: 20px 56px 42px; view-timeline: --ph-paper block;
    box-shadow: 0 12px 40px #0004;
}
.ph-paper::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: var(--ph-paper); clip-path: polygon(0 .15%, 15% 0, 32% .12%, 48% .03%, 70% .12%, 89% 0, 100% .18%, 99.85% 24%, 100% 49%, 99.88% 73%, 100% 99.88%, 82% 100%, 65% 99.92%, 44% 100%, 27% 99.9%, 0 100%, .12% 76%, 0 52%, .15% 27%); }
.ph-paper::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; background: url("../images/making-custom-adversaries/bg.webp") center / 1000px 667px repeat; mix-blend-mode: multiply; }
.ph-container { width: 100%; margin-inline: auto; }
.ph-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ph-icon { display: inline-block; width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
.ph-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; }
.ph-link:hover, .ph-text-button:hover { text-decoration: underline; text-underline-offset: 5px; }
.ph-hero-shell { position: relative; }
.ph-hero-shell > .ph-container { position: relative; z-index: 1; }
.ph-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ph-back { font-size: 13px; }
.ph-back .ph-icon { width: 17px; height: 17px; }
.ph-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: start; gap: 64px; padding: 22px 0 54px; }
.ph-hero-copy { position: relative; order: 2; min-width: 0; width: 100%; max-width: 480px; justify-self: end; padding-bottom: 12px; }
.ph-wordmark { position: relative; width: 100%; max-width: 500px; }
.ph-logo { display: block; width: 100%; height: auto; }
.ph-stamp { position: absolute; top: 12%; right: 0; max-width: 61%; transform: rotate(-8deg); color: var(--ph-accent); font: 400 clamp(20px, 2.2vw, 31px)/1.16 "Pistolheart Display", Impact, sans-serif; text-align: center; }
.ph-stamp > span { display: block; font-size: .68em; margin-top: -4px; }
.ph-fallback-title { font: 400 clamp(32px, 4vw, 48px)/1.2 "Pistolheart Display", Impact, sans-serif; padding: 45px 0; }
.ph-byline { display: block; width: 100%; max-width: 470px; height: auto; margin-top: 3px; }
.ph-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 22px; }
.ph-hero-author img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; margin-right: 3px; }
.ph-hero-meta .ph-icon { width: 17px; height: 17px; }
.ph-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 18px 0 17px; }
.ph-price strong { font-size: 28px; font-weight: 600; line-height: 1.2; }
.ph-price > :not(strong) { font-size: 13px; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-button, .ph-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 3px; background: var(--ph-accent); color: var(--ph-action-ink) !important; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; }
.ph-actions > .ph-button { flex: 1; }
.ph-secondary { background: var(--ph-ink); color: var(--ph-paper) !important; }
.ph-button:hover, .ph-secondary:hover { text-decoration: underline; text-underline-offset: 4px; }
.ph-button:disabled { background: var(--ph-ink); }
.ph-wishlist { width: 50px; padding: 12px; flex: 0 0 auto; }
.ph-wishlist[aria-pressed="true"] svg { fill: currentColor; }
.ph-text-button { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 0; border: 0; border-radius: 0; color: var(--ph-accent); background: transparent; font-weight: 600; text-align: left; }
.ph-status { font-size: 13px; margin-top: 10px !important; }
.ph-status:empty { display: none; }
.ph-sample { margin-top: 10px; }
.ph-community { margin-top: 15px; font-size: 13px; }
.ph-community > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.ph-community .ph-text-button { font-size: 13px; }
.ph-community .ph-icon { width: 18px; height: 18px; }

/* A cover and two real preview pages, using the same fan interaction as DOZE. */
.ph-book-display { order: 1; position: relative; min-width: 0; padding: 24px 0 35px; }
.ph-cover-stack { --avatar-dur: 480ms; --avatar-lift: -4; --avatar-scale: 1.015; --avatar-falloff: .45; --avatar-ease-in: cubic-bezier(.22, 1, .36, 1); --avatar-ease-out: cubic-bezier(.34, 1.2, .64, 1); position: relative; isolation: isolate; width: min(340px, calc(100% - 64px)); margin-inline: auto; }
.ph-cover-stack .t-avatar { display: block; width: 100%; height: 100%; transform-origin: center; transform: translateY(var(--shift, 0px)) scale(var(--scale-active, 1)); transition: transform var(--avatar-dur) var(--avatar-ease-in); }
.ph-cover { position: relative; z-index: 3; display: block; cursor: zoom-in; rotate: -2deg; }
.ph-cover img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: contain; filter: drop-shadow(6px 12px 9px #2c160c44); }
.ph-cover::after { content: ""; position: absolute; top: -11px; left: 34%; width: 35%; height: 26px; background: #b8874b; opacity: .74; rotate: -7deg; pointer-events: none; clip-path: polygon(2% 0, 97% 4%, 100% 92%, 72% 100%, 35% 95%, 0 100%); }
.ph-fan-sheet { position: absolute; z-index: 1; top: 5%; left: 7%; width: 86%; height: 90%; transform-origin: 50% 85%; cursor: zoom-in; translate: 0; rotate: 0deg; transition: translate var(--avatar-dur) var(--avatar-ease-in), rotate var(--avatar-dur) var(--avatar-ease-in); }
.ph-fan-sheet .t-avatar { background: var(--ph-paper); box-shadow: 0 8px 22px #2c160c33; }
.ph-fan-sheet img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ph-fan-sheet-left { translate: -14%; rotate: -9deg; }
.ph-fan-sheet-right { translate: 14%; rotate: 9deg; }
.ph-cover-stack.is-fanned .ph-fan-sheet-left { translate: -18%; rotate: -11deg; }
.ph-cover-stack.is-fanned .ph-fan-sheet-right { translate: 18%; rotate: 11deg; }
.ph-cover-stack a:focus-visible { z-index: 4; }
.ph-cover-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 32px; padding-inline: 24px; }
.ph-cover-thumbnails a { display: grid; place-items: center; width: 44px; min-height: 52px; }
.ph-cover-thumbnails img { display: block; width: auto; max-width: 44px; height: auto; max-height: 56px; }
.ph-cover-cutout { display: none; position: absolute; z-index: 4; pointer-events: none; bottom: 4px; left: -16px; width: 130px; rotate: -7deg; }
.ph-cover-cutout img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: contain; filter: drop-shadow(2px 3px 0 #48250f22); }

/* The editor's text is the main column; art is confined to the margin. */
.ph-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 242px; gap: 64px; align-items: start; }
.ph-content-main { min-width: 0; }
.ph-section { padding-block: 30px; }
.ph-section > h2 { margin-bottom: 23px; }
.ph-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.ph-prose { max-width: 68ch; overflow-wrap: anywhere; }
.ph-prose :where(p,ul,ol,blockquote,table) { margin-bottom: 19px; }
.ph-prose :where(p,ul,ol,blockquote,table):last-child { margin-bottom: 0; }
.ph-prose :where(ul,ol) { padding-left: 23px; }
.ph-prose ul { list-style: disc; }
.ph-prose ol { list-style: decimal; }
.ph-prose li { padding-left: 3px; margin-bottom: 9px; }
.ph-prose :where(h3,h4,h5,h6) { margin-top: 28px; margin-bottom: 14px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.ph-prose a { text-decoration: underline; text-underline-offset: 4px; }
.ph-prose :where(img,video,iframe) { max-width: 100%; }
.ph-prose :where(img,video) { height: auto; }
.ph-prose iframe { width: 100%; }
.ph-prose table { display: block; max-width: 100%; overflow-x: auto; }
.ph-prose :where(th,td) { padding: 8px 15px; }
.ph-prose .ql-ui { display: none; }
.ph-description > p:empty { display: none; }
.ph-included-list { display: grid; gap: 24px; max-width: 68ch; }
.ph-included-list h3 { margin-bottom: 8px; }
.ph-creator-profile { display: flex; align-items: center; gap: 13px; width: fit-content; }
.ph-creator-profile > img { width: 48px; height: 48px; flex: 0 0 auto; object-fit: cover; border-radius: 50%; }
.ph-creator-profile strong { font-size: 17px; }
.ph-creator-profile span > span { display: block; font-size: 12px; margin-top: 4px; }
.ph-creator-profile:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.ph-co-creators { display: grid; gap: 16px; margin-top: 22px; }
.ph-co-creator { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.ph-co-creator img { width: 36px; height: 36px; object-fit: cover; }
.ph-bundles { display: grid; gap: 24px; }
.ph-bundle { display: flex; align-items: start; gap: 12px; min-height: 50px; }
.ph-bundle > .ph-icon { width: 19px; margin-top: 2px; }
.ph-bundle > span { flex: 1; }
.ph-bundle strong { display: block; font-size: 14px; line-height: 1.5; }
.ph-bundle span > span { display: block; font-size: 12px; margin-top: 5px; }
.ph-bundle:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ph-resources h2 { font: 600 15px/1.5 var(--font-gilmore, "IBM Plex Sans", sans-serif); }
.ph-connections { display: grid; gap: 12px; margin-top: 16px !important; }
.ph-connections > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; font-size: 14px; }
.ph-connections dd { font-weight: 600; }
.ph-product-details { display: grid; justify-items: start; gap: 13px; font-size: 13px; }
.ph-product-details p { display: flex; align-items: start; gap: 10px; }
.ph-product-details .ph-icon { width: 18px; height: 18px; margin-top: 2px; }
.ph-product-details :where(button,a) { font-size: 13px; }
/* Cutouts are fixed to the paper edge; their inner layer drifts with scroll. */
.ph-margin-art { position: absolute; inset: 0; z-index: 4; pointer-events: none; margin-left: 3em; margin-right: 3em; }
.ph-margin-note { --ph-art-width: clamp(240px, 20vw, 330px); position: absolute; width: var(--ph-art-width); left: calc(28px - var(--ph-art-width)); rotate: -9deg; }
.ph-margin-note-0 { top: 20%; --ph-drift-from: -34px; --ph-drift-to: 34px; }
.ph-margin-note-1 { top: 53%; left: auto; right: calc(28px - var(--ph-art-width)); rotate: 8deg; --ph-drift-from: 40px; --ph-drift-to: -40px; }
.ph-margin-note-2 { top: 80%; rotate: -6deg; --ph-drift-from: -26px; --ph-drift-to: 32px; }
.ph-margin-art-motion { position: relative; translate: 0 0; }
.ph-margin-art-motion img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; filter: drop-shadow(3px 7px 3px #0003); }
.ph-margin-art-motion::after { content: ""; position: absolute; top: 19%; right: 9px; width: 55px; height: 20px; background: #b8874bc9; rotate: 12deg; clip-path: polygon(2% 4%, 98% 0, 100% 94%, 69% 100%, 32% 96%, 0 100%); }
.ph-margin-note-1 .ph-margin-art-motion::after { left: 8px; right: auto; rotate: -13deg; }
@keyframes ph-margin-drift { from { translate: 0 var(--ph-drift-from); } to { translate: 0 var(--ph-drift-to); } }
@supports ((animation-timeline: view()) and (animation-range: entry)) {
    @media (prefers-reduced-motion: no-preference) {
        .ph-margin-art-motion { animation: ph-margin-drift linear both; animation-timeline: --ph-paper; animation-range: entry 0% exit 100%; }
    }
}
.ph-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; }
.ph-review-average { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 14px !important; font-size: 14px; }
.ph-review-average strong { font-size: 23px; }
.ph-review-filter { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.ph-review-filter select { min-height: 44px; max-width: 100%; padding: 10px 36px 10px 12px; color: var(--ph-paper); background-color: var(--ph-ink); border: 0; border-radius: 3px; }
.ph-reviews { display: grid; gap: 30px; }
.ph-stars { display: flex; gap: 4px; color: var(--ph-accent); margin-bottom: 12px !important; }
.ph-stars .ph-icon { width: 17px; height: 17px; }
.ph-review blockquote { font-size: 17px; line-height: 1.7; }
.ph-review footer { display: flex; flex-wrap: wrap; gap: 5px 17px; margin-top: 14px; font-size: 13px; }
.ph-review-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; font-size: 13px; }
.ph-series { margin-top: 30px; }
.ph-series-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; }
.ph-series-grid > a { display: flex; align-items: center; gap: 15px; }
.ph-series-grid img { width: 64px; max-height: 95px; height: auto; object-fit: contain; flex: 0 0 auto; }
.ph-series-grid strong { font-size: 14px; line-height: 1.5; }
.ph-series-grid span > span { display: block; font-size: 12px; margin-top: 7px; }
.ph-series-grid > a > .ph-icon { width: 17px; margin-left: auto; }
.ph-series-grid a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.ph-pwyw { margin-bottom: 22px; }
.ph-presets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.ph-presets button { display: flex; flex-direction: column; align-items: start; gap: 3px; padding: 12px 14px; font-size: 13px; }
.ph-presets button[aria-pressed="true"] { background: var(--ph-accent); color: var(--ph-action-ink) !important; }
.ph-amount { display: flex; gap: 10px; margin-top: 10px; }
.ph-amount input { min-height: 48px; min-width: 0; width: 100%; padding: 10px 14px; background: var(--ph-ink); color: var(--ph-paper); border: 0; border-radius: 3px; }
.ph-admin summary { display: flex; align-items: center; gap: 16px; min-height: 48px; list-style: none; }
.ph-admin summary::-webkit-details-marker { display: none; }
.ph-admin h3 { margin: 26px 0 18px; }
.ph-admin-download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; margin-bottom: 12px; }
.ph-admin-download a { min-width: 0; overflow-wrap: anywhere; }
.ph-admin [aria-label="Product sales"] { padding: 20px 0; background: transparent; box-shadow: none; border: 0; color: inherit; }
.ph-admin [aria-label="Product sales"] :where(h2,dt,dd,label,p,span,select) { color: inherit; }
.ph-admin [aria-label="Product sales"] h2 { font: 600 17px/1.5 var(--font-gilmore, "IBM Plex Sans", sans-serif); }
.ph-admin [aria-label="Product sales"] select { background-color: var(--ph-paper); border: 0; }
.ph-gallery { margin: auto; width: min(1200px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 3px; padding: 0; background: var(--ph-paper); color: var(--ph-ink); }
.ph-gallery[open] { display: flex; flex-direction: column; }
.ph-gallery::backdrop { background: #100b09ed; }
.ph-gallery button { display: inline-flex; justify-content: center; align-items: center; min-width: 46px; min-height: 46px; padding: 10px 14px; background: transparent; color: inherit; border: 0; }
.ph-gallery-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; }
.ph-gallery-image { min-height: 0; overflow: auto; padding: 8px 16px; }
.ph-gallery-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 180px); margin-inline: auto; object-fit: contain; }
.ph-gallery-image.is-zoomed img { width: var(--dngn-image-width); max-width: none; max-height: none; }
.ph-gallery-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; font-size: 14px; }

.ph-volume-3 { --ph-paper: #10141c; --ph-ink: #efdfb9; --ph-accent: #c3da8f; --ph-action-ink: #10141c; color-scheme: dark; background: #080b10 url("../images/home/dark_leather.webp") repeat; background-size: 398px 484px; }
.ph-volume-3 .ph-paper { background: transparent; box-shadow: none; }
.ph-volume-3 .ph-paper::before, .ph-volume-3 .ph-paper::after { display: none; }
.ph-volume-3 .ph-cover-cutout { width: 95px; }
.ph-volume-3 .ph-cover::after, .ph-volume-3 .ph-margin-art-motion::after { background: #b5bc9bc9; }
.ph-galaxy { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ph-galaxy canvas { position: sticky; top: 0; display: block; width: 100%; height: 100dvh; }

@media (max-width: 1350px) and (min-width: 1081px) {
    .ph-paper { width: calc(100% - 200px); }
    .ph-margin-note { --ph-art-width: 245px; }
}
@media (max-width: 1080px) {
    .ph-margin-art { display: none; }
    .ph-paper { padding-inline: 36px; width: calc(100% - 40px); }
    .ph-hero { gap: 38px; }
    .ph-cover-stack { width: min(300px, calc(100% - 64px)); }
    .ph-content-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 40px; }
    .ph-stamp { font-size: 25px; }
    .ph-hero-meta { gap: 5px 17px; }
    .ph-hero-meta .ph-link { font-size: 13px; }
    .ph-series-grid { gap: 24px; }
    .ph-series-grid img { width: 50px; }
}
@media (max-width: 800px) {
    .ph-page { padding-block: 18px 25px; }
    .ph-paper { padding: 14px 28px 28px; width: calc(100% - 28px); }
    .ph-hero { gap: 32px; padding-bottom: 36px; }
    .ph-hero-meta { display: grid; gap: 5px; }
    .ph-cover-stack { width: min(270px, calc(100% - 40px)); }
    .ph-cover-cutout { width: 100px; left: -14px; }
    .ph-stamp { font-size: 21px; }
    .ph-hero-copy .ph-actions > .ph-secondary:not(.ph-wishlist) { flex: 1 1 100%; }
    .ph-content-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 32px; }

}
@media (max-width: 650px) {
    .ph-paper { width: calc(100% - 20px); padding: 12px 22px 24px; }
    .ph-hero { grid-template-columns: minmax(0,1fr); gap: 26px; padding-top: 10px; }
    .ph-hero-copy { order: 1; max-width: 480px; width: 100%; margin-inline: auto; }
    .ph-book-display { order: 2; width: min(420px, 100%); margin-inline: auto; padding-block: 18px 22px; }
    .ph-hero-meta { display: flex; gap: 8px 20px; margin-top: 18px; }
    .ph-wordmark { max-width: none; }
    .ph-stamp { font-size: clamp(20px, 5.5vw, 29px); }
    .ph-cover-stack { width: min(270px, calc(100% - 78px)); }
    .ph-cover-thumbnails { padding-inline: 20px; gap: 9px; }
    .ph-cover-cutout { left: -9px; bottom: 10px; width: 100px; }
    .ph-content-layout { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .ph-section { padding-block: 26px; }

    .ph-series-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
    .ph-series-grid img { width: 64px; }
    .ph-series { margin-top: 14px; }
    .ph-bundle { max-width: 420px; }
    .ph-prose { font-size: 16px; }
    .ph-review blockquote { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .ph-atmosphere { display: none; }
    .ph-margin-art-motion { animation: none; translate: 0 0; }
    .ph-cover-stack .t-avatar { transition: none; transform: none; }
    .ph-fan-sheet { transition: none; }
    .ph-cover-stack.is-fanned .ph-fan-sheet-left { translate: -14%; rotate: -9deg; }
    .ph-cover-stack.is-fanned .ph-fan-sheet-right { translate: 14%; rotate: 9deg; }
}
@media (forced-colors: active) {
    .ph-page, .ph-paper { background: Canvas; color: CanvasText; }
    .ph-paper::before, .ph-paper::after, .ph-atmosphere, .ph-galaxy, .ph-margin-art, .ph-cover::after { display: none; }
    .ph-page :where(.ph-button,.ph-secondary,select,input) { forced-color-adjust: auto; outline: 1px solid ButtonText; }
}

/* A single reading column, with compact purchase offers in the hero. */
.ph-body { max-width: 720px; margin-inline: auto; }
.ph-content-layout { display: block; max-width: 710px; margin-inline: auto; }
.ph-hero-copy .ph-bundles { margin-top: 12px; gap: 10px; }
.ph-hero-copy .ph-bundle { min-height: 44px; gap: 9px; }
.ph-hero-copy .ph-bundle strong { font-size: 13px; }
.ph-hero-copy .ph-bundle span > span { font-size: 12px; margin-top: 2px; }
.ph-hero-copy .ph-bundle > .ph-icon { width: 17px; height: 17px; }
.ph-content-layout :where(ol,ul) { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 30px; row-gap: 10px; }
.ph-content-layout :where(ol,ul) > li { min-width: 0; margin-bottom: 0; break-inside: avoid; overflow-wrap: anywhere; }
.ph-content-layout li[data-list="bullet"] { list-style-type: disc; }

.ph-cosmic-backdrop { position: absolute; inset: 50px -500px 0; width: calc(100% + 300px); height: calc(100% + 40px); max-width: none; object-fit: cover; object-position: center 62%; opacity: .48; pointer-events: none; mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 48%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 48%, transparent 100%); }
@media (max-width: 650px) { .ph-cosmic-backdrop { inset-inline: -22px; width: calc(100% + 44px); object-position: 48% center; opacity: .36; } }

.ph-volume-3 :where(.ph-byline, .ph-logo) { filter: invert(1); }

.ph-hero-purchase-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; margin: 20px 0 17px; }
.ph-hero-purchase-summary .ph-price { margin: 0; gap: 8px; }
.ph-hero-purchase-summary .ph-hero-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin: 0; }
.ph-hero-purchase-summary .ph-hero-meta .ph-link { min-height: 15px; font-size: 12px; gap: 6px; }
.ph-hero-purchase-summary .ph-hero-author img { width: 28px; height: 28px; margin-right: 1px; }
.ph-hero-purchase-summary .ph-hero-meta .ph-icon { width: 14px; height: 14px; }

.ph-hero-purchase-summary .ph-hero-meta { align-items: flex-end; margin-left: auto; }

/* Each edition has a fixed watercolor wash over its base texture. */
.ph-page { --ph-watercolor: url("../images/pistolheart/watercolor4.jpg"); }
.ph-volume-2 { --ph-watercolor: url("../images/pistolheart/watercolor2.webp"); }
.ph-volume-3 { --ph-watercolor: url("../images/pistolheart/watercolor3.jpg"); }
.ph-hope-and-fear { --ph-watercolor: url("../images/pistolheart/watercolor4.jpg"); }
.ph-page::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--ph-watercolor); background-size: cover; background-position: center; background-attachment: fixed; opacity: .48; mix-blend-mode: screen; }
.ph-paper { z-index: 1; }
.ph-paper::after { background-color: var(--ph-paper); background-image: var(--ph-watercolor); background-size: cover; background-position: center; background-attachment: fixed; background-blend-mode: soft-light; }
.ph-volume-3::before { opacity: .25; }

/* Smaller bestseller treatment across the Pistolheart family. */
.ph-page .dh-product-gem { width: fit-content; max-width: 100%; margin-block: 12px; contain-intrinsic-size: auto none auto 60px; }
.ph-page .dh-product-gem .dh-product-gem-link { min-height: 60px; gap: 10px; padding: 10px 14px; }
.ph-page .dh-product-gem .dh-product-gem-art { width: 36px; height: 36px; }
.ph-page .dh-product-gem .dh-product-gem-label { font-size: 12px; }
.ph-page .dh-product-gem-link > div > .mt-1 { margin-top: 2px; font-size: 11px; line-height: 1.4; }

.ph-content-layout .ph-included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-width: none; padding: 0; list-style: none; }
.ph-content-layout .ph-included-list > .ph-included-entry { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ph-included-entry > .ph-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ph-accent); }
.ph-included-entry > div { min-width: 0; }
.ph-included-list h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.4; }
.ph-included-list .ph-prose { font-size: 13px; line-height: 1.5; }
.ph-included-list .ph-prose p { margin-bottom: 7px; }
