/* The printed desktop scene is the single coordinate system for every reader.
   The photograph, print, live leaves and controls use the same 4:3 stage. */
body.phonetek-unified-book #reader#reader {--book-ink:#17382f;--book-gold:#a57736}
body.phonetek-unified-book #reader#reader .book-reading-stage {width:min(calc(100% - 16px),900px);margin-inline:auto; container-type:inline-size;direction:ltr}
body.phonetek-unified-book #reader#reader .page-nav {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,389px);max-width:none;
 margin:0 auto 15px!important;gap:11px!important;padding:0!important;direction:ltr;min-width:0;
}
body.phonetek-unified-book #reader#reader .page-nav :is(#previous,#next) {
 width:100%;min-width:0;min-height:44px;height:auto;padding:5px 8px;
 color:#293a32;background:#fff6e4;border:1px solid #9a8058;border-radius:9px;
 font:700 clamp(12px,3cqw,14px)/1.2 system-ui,sans-serif;text-align:center;
}
body.phonetek-unified-book #reader#reader .page-nav :is(#previous,#next):focus-visible,
body.phonetek-unified-book #reader#reader .book-reading-stage a:focus-visible {outline:2px solid #175791;outline-offset:2px}
body.phonetek-unified-book #reader#reader .page-nav :is(#previous,#next):disabled {background:#e3ded0!important;color:#515151!important;opacity:1}
body.phonetek-unified-book #reader#reader .table-surface {
 display:block;position:relative;isolation:isolate;container-type:inline-size;
 width:100%!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;
 margin:0 auto!important;padding:0!important;border-radius:clamp(9px,1.8cqw,22px)!important;
 border:1px solid #d0b58d;background:#e8cfaa;box-shadow:0 9px 25px #75562928;overflow:visible;
}
body.phonetek-unified-book #reader#reader :is(.pt-reference-scene,.ipad-scene) {
 display:block!important;position:absolute!important;isolation:isolate;inset:0!important;
 width:100%!important;height:100%!important;aspect-ratio:auto;mask-image:none!important;
 border-radius:inherit!important;overflow:hidden;pointer-events:none;z-index:0;
}
body.phonetek-unified-book #reader#reader :is(.pt-reference-scene,.ipad-scene) img {display:block;width:100%;height:100%;object-fit:fill}
body.phonetek-unified-book #reader#reader .pt-reference-cover-hit {display:block;position:absolute;top:1%;left:2%;width:35%;height:25%;z-index:3;border-radius:9px}
body.phonetek-unified-book #reader#reader .pt-leather-shade {
 display:block;position:absolute;inset:0;background:var(--edition-color);pointer-events:none;mix-blend-mode:color;
 clip-path:url(#pt-leather-shape);opacity:.96;
}
body.phonetek-unified-book #reader#reader[data-pale-leather="true"] .pt-leather-shade {mix-blend-mode:screen;opacity:.61}
body.phonetek-unified-book #reader#reader :is(.pt-standing-model,#ipad-standing-model) {
 display:block;position:absolute;z-index:2;top:17%;left:14.8%;width:20.5%;
 color:#f9dfa1;text-shadow:0 1px 2px #1b0e07,0 0 3px #281d0a;text-align:center;
 font:700 clamp(9px,2.05cqw,24px)/1.12 Georgia,serif;letter-spacing:.025em;
 text-transform:uppercase;transform:rotate(-6deg);pointer-events:none;overflow-wrap:normal;
}
body.phonetek-unified-book #reader#reader[data-pale-leather="true"] :is(.pt-standing-model,#ipad-standing-model) {color:#211f22;text-shadow:0 1px 2px #fff9}
body.phonetek-unified-book #reader#reader :is(.pt-gold-bookmark,.ipad-ribbon-brand) {
 display:block;position:absolute;z-index:3;left:54.25%;top:82%;bottom:auto;
 transform:translateX(-50%) rotate(-6deg);font:700 clamp(8px,1cqw,12px)/1 Georgia,serif;
 letter-spacing:.06em;writing-mode:vertical-rl;direction:ltr;color:#f7dd9f;text-shadow:0 1px 2px #312522;
}
body.phonetek-unified-book #reader#reader .pt-bound-edges,
body.phonetek-unified-book #reader#reader .ipad-paper-edge,
body.phonetek-unified-book #reader#reader .open-book>.book-ribbon {display:none!important}
body.phonetek-unified-book #reader#reader #open-book {
 position:absolute!important;top:28%!important;left:17%!important;right:auto!important;bottom:auto!important;
 width:72%!important;height:45%!important;min-height:0!important;aspect-ratio:auto!important;max-width:none!important;
 margin:0!important;padding:0!important;transform:none!important;gap:0!important;border:0!important;outline:0!important;
 background:none!important;box-shadow:none!important;z-index:2;overflow:visible;mix-blend-mode:normal;
}
body.phonetek-unified-book #reader#reader #open-book::before,
body.phonetek-unified-book #reader#reader #open-book::after {content:none!important}
body.phonetek-unified-book #reader#reader #open-book .leaves {height:100%;min-height:0;align-items:stretch}
body.phonetek-unified-book #reader#reader #open-book :is(.page-left,.page-right) {
 min-width:0;min-height:0;padding:0 clamp(3px,2.3cqw,29px)!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
body.phonetek-unified-book #reader#reader #open-book :is(.page-left,.page-right)::before {content:none!important}
body.phonetek-unified-book #reader#reader #open-book .book-paper-wordmark {
 position:absolute;z-index:2;bottom:5%;inset-inline-start:12%;color:#765732;opacity:.78;display:block;
 font:700 clamp(6px,.95cqw,10px)/1 Georgia,serif;letter-spacing:.06em;transform:rotate(-25deg);pointer-events:none;
}
body.phonetek-unified-book #reader#reader #open-book .page-right .book-paper-wordmark {inset-inline-start:auto;inset-inline-end:10%;transform:rotate(25deg)}
body.phonetek-unified-book #reader#reader #part-art {
 display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;max-height:92%;
 margin:0!important;padding:0!important;background:none!important;isolation:auto;
}
body.phonetek-unified-book #reader#reader #part-art :is(.samsung-art,.original17-art,.part-photo-frame) {
 height:100%;width:100%;min-height:0;max-height:100%;padding:0!important;background:none!important;
}
body.phonetek-unified-book #reader#reader #part-art :is(img,svg) {
 max-inline-size:100%;max-block-size:100%;object-fit:contain!important;object-position:center!important;
}
body.phonetek-unified-book #reader#reader #open-book :is(.chapter-content,.leaves>.page-right) {
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
 text-align:center;min-height:0;min-width:0;overflow:visible;
}
body.phonetek-unified-book #reader#reader #open-book .chapter-content {padding:0!important}
body.phonetek-unified-book #reader#reader #open-book :is(#bound-edition,.pt-edition-name) {
 margin:0 auto clamp(3px,.7cqw,10px)!important;color:#554732;
 font:700 clamp(8px,1.5cqw,15px)/1.1 Georgia,serif;max-inline-size:100%;text-transform:uppercase;
}
body.phonetek-unified-book #reader#reader #open-book #part-title {
 min-height:0;max-width:100%;margin:0 auto clamp(3px,1cqw,14px)!important;
 color:var(--book-ink)!important;font-size:clamp(13px,4.05cqw,48px)!important;line-height:1.08;
 overflow-wrap:normal;text-wrap:balance;
}
body.phonetek-unified-book #reader#reader #open-book #part-title::after {
 content:"";display:block;margin:clamp(2px,.8cqw,10px) auto 0;width:min(60%,110px);height:2px;
 background:linear-gradient(90deg,transparent,var(--book-gold),transparent);
}
body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,250px);min-width:0;
 max-width:none;margin:0 auto!important;padding:0!important;gap:clamp(3px,1cqw,8px);border:0;
}
body.phonetek-unified-book #reader#reader #open-book #price-enquiry[hidden] {display:none!important}
body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) a {
 min-width:0;min-height:44px!important;height:auto!important;width:100%;max-width:none;
 margin:0!important;align-self:stretch;padding:3px 1px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;
 gap:2px;border:1px solid #bca300!important;border-radius:clamp(4px,1cqw,9px);
 background:#ffe000!important;color:#111!important;text-shadow:none!important;
 font:750 clamp(8px,1.48cqw,14px)/1.14 system-ui,sans-serif!important;text-align:center;
 overflow:visible;white-space:normal;overflow-wrap:normal;
}
body.phonetek-unified-book #reader#reader #open-book :is(#call-shop,#call) :is(span,bdi) {
 color:#111!important;white-space:nowrap!important;flex:none;display:block;letter-spacing:0;text-shadow:none!important;
}
body.phonetek-unified-book #reader#reader #open-book :is(.whatsapp-cta,#whatsapp) :is(span,b) {color:#111!important}
body.phonetek-unified-book #reader#reader #open-book :is(.whatsapp-cta,#whatsapp) b {display:none}
body.phonetek-unified-book #reader#reader .table-caption {padding-block:0;margin-block:0 7px}
body.phonetek-unified-book #reader#reader .photo-caption {display:none!important}
/* The paper curl and thick page block are already painted in the same
   master scene on every width. The spine lettering stays real text. */
body.phonetek-unified-book #reader#reader .book-guide-spine {
 position:absolute;z-index:2;top:26%;left:3%;width:max(27px,6.6%);height:auto;display:block;overflow:visible;pointer-events:none;
}
body.phonetek-unified-book #reader#reader .book-guide-spine text {
 fill:#ffe0a1;stroke:none;text-anchor:middle;font:700 9px Georgia,serif;
 paint-order:stroke;filter:drop-shadow(0 1px 1px #211509);
}
body.phonetek-unified-book #reader#reader #open-book .corner {background:transparent}
body.phonetek-unified-book #reader#reader #open-book .drag-corner::after {content:none}
body.phonetek-unified-book #reader#reader #open-book :is(#part-description,#part-context) {
 font-size:clamp(7px,1.15cqw,13px);line-height:1.14;margin:0 0 clamp(2px,.5cqw,8px);
}
@media(max-width:520px){
 body.phonetek-unified-book #reader#reader .page-nav{width:min(80%,310px)}
 body.phonetek-unified-book #reader#reader #open-book>.page-right,
 body.phonetek-unified-book #reader#reader #open-book .leaves>.page-right{padding-inline:2px!important}
 body.phonetek-unified-book #reader#reader #open-book #part-title{overflow-wrap:anywhere}
}
/* Keep the photograph's colour and layout separate from readable/tappable controls. */
body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) a{min-height:clamp(44px,8.85cqw,80px)!important}
@media(max-width:480px){
 body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) {grid-template-columns:minmax(0,44fr) minmax(0,56fr)}
 body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) a {padding-inline:2px!important}
}
body.phonetek-unified-book #reader#reader #open-book :is(#call-shop,#call) .book-call-label {
 max-inline-size:100%;white-space:normal!important;overflow-wrap:normal;word-break:normal;
}
html[lang|="en"] body.phonetek-unified-book #reader#reader #open-book :is(#call-shop,#call) .book-call-label {white-space:nowrap!important}
@media(max-width:374px){
 body.phonetek-unified-book #reader#reader #open-book :is(#price-enquiry,.book-ipad-actions) a{font-size:7.7px!important}
}
body.phonetek-unified-book #reader#reader #open-book .drag-corner::before {content:none}
/* Keep the master's green leather on the orange reference edition. Other
   model-specific colors remain consistent across mobile and desktop. */
body.phonetek-unified-book #reader#reader[data-model="iphone-17-pro-max"] .pt-leather-shade{display:none}
body.phonetek-unified-book #reader#reader #part-art img {mix-blend-mode:multiply}
body.phonetek-unified-book #reader#reader #part-art img[src$="/iphone17-pro-max-screen-pair.webp"],
body.phonetek-unified-book #reader#reader #part-art img[src="iphone17-pro-max-screen-pair.webp"] {
 width:100%;height:auto;aspect-ratio:559/472;clip-path:url(#shared-book-orange-screen);border-radius:0;
}
/* The legacy desktop-only photographic spine imprint must not double-print
   underneath the one shared vector engraving. */
body.phonetek-unified-book #reader#reader .table-surface::after{content:none!important}
html.samsung-reader body.phonetek-unified-book #reader#reader[data-model="galaxy-s23-ultra"] .book-guide-spine{top:7.1%}
/* The photo stage is the blend boundary; the open-book coordinate box is
   deliberately transparent. Only artwork on the left page is overprinted
   onto the parchment, so white matte vanishes and contact colours stay true. */
body.phonetek-unified-book #reader#reader #open-book {
 isolation:auto;z-index:auto;perspective:none;mix-blend-mode:normal;
}
body.phonetek-unified-book #reader#reader #open-book .page-left {
 isolation:auto;mix-blend-mode:multiply;
}
body.phonetek-unified-book #reader#reader #open-book #part-art,
body.phonetek-unified-book #reader#reader #open-book #part-art :is(img,svg,.part-photo-frame,.samsung-art) {
 background:transparent!important;mix-blend-mode:normal!important;
}
/* Temporary curl faces carry their own paper backing. Blend the artwork into
   that backing too, without applying a filter to (or flattening) the 3-D leaf. */
body.phonetek-unified-book #reader#reader #open-book
 :is(.drag-sheet,.turn-face,.ipad-turn-face).page-left :is(.art-area,.ipad-turn-art) {
 background:transparent!important;mix-blend-mode:multiply;isolation:auto;
}
body.phonetek-unified-book #reader#reader #open-book
 :is(.drag-sheet,.turn-face,.ipad-turn-face).page-left :is(.part-photo-frame,.samsung-art,img,svg) {
 background:transparent!important;
}

/* Keep the globe recognizable without replacing the native accessible picker. */
.book-language-picker:has(>select){display:inline-flex;align-items:center;gap:6px;min-inline-size:0}
.book-language-globe{display:block;flex:0 0 auto;color:inherit}

#reader#reader .book-privacy-link{display:table;align-content:center;min-height:44px;margin:0 auto;padding:0 .75rem;color:#123854;font:600 .875rem/1.3 system-ui,sans-serif;text-align:center;text-decoration:underline;text-underline-offset:.15em}
