/* ReadHub 2.7.0 — automatic book scenes (CSS only). Loaded after product-page.css on single book pages.
   Markup: .rhp-stage.rh-scene.rh-s-<slug> > .rhs-bg + .rhs-props + .rhs-podium + .rhp-book(.rhs-spine,.rhs-pages,img) */

/* ---------- shared stage ---------- */
.rhp .rhp-stage.rh-scene{--pod-b:2rem;--pod-h:62px;--pod-w:min(86%,430px);--dp:14px;
  position:relative;isolation:isolate;background:var(--c1);align-items:flex-end;box-shadow:0 10px 30px rgba(16,27,80,.18)}
.rhs-bg,.rhs-props{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.rhs-bg{background:var(--mt,linear-gradient(transparent,transparent)),radial-gradient(ellipse 62% 48% at 50% 46%,var(--spot),transparent 72%),linear-gradient(180deg,var(--c1),var(--c2) 56%,var(--c3))}
.rhs-props{z-index:1}
.rhs-bg::before,.rhs-bg::after,.rhs-props::before,.rhs-props::after{content:"";position:absolute}
/* reset the older podium/outline pseudo-elements so they no longer draw */
.rhp .rhp-stage.rh-scene::before{content:"";position:absolute;inset:0;left:0;bottom:auto;width:auto;height:auto;transform:none;border:0;border-radius:0;box-shadow:none;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse 120% 90% at 50% 45%,transparent 55%,rgba(0,0,0,.28))}
.rhp .rhp-stage.rh-scene::after{content:"";position:absolute;inset:0;left:0;bottom:auto;width:auto;height:auto;transform:none;border:0;border-radius:0;box-shadow:none;z-index:2;pointer-events:none;background:none}

/* podium */
.rhs-podium{position:absolute;z-index:3;left:50%;bottom:var(--pod-b);width:var(--pod-w);height:var(--pod-h);transform:translateX(-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse at 50% 26%,var(--pt) 0,var(--pt) 30%,var(--ps) 135%);
  box-shadow:0 calc(var(--pod-h)*.22) 0 0 var(--ps),0 calc(var(--pod-h)*.22 + 12px) 26px -4px rgba(0,0,0,.6)}
.rhs-podium::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--gl);box-shadow:0 0 14px var(--gl),inset 0 0 12px var(--gl);opacity:.9}
.rhs-podium::after{content:"";position:absolute;left:50%;top:40%;width:58%;height:52%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(0,0,0,.7),transparent 70%)}

/* 3D book — cover stays front-on and untouched; spine, page block and shadow sell the depth */
.rhp .rhp-stage.rh-scene .rhp-book{z-index:4;border-radius:2px 6px 6px 2px;
  box-shadow:0 22px 24px -16px rgba(0,0,0,.75),0 3px 8px rgba(0,0,0,.35)}
.rhp .rhp-stage.rh-scene .rhp-book::after{background:linear-gradient(112deg,rgba(255,255,255,.16),rgba(255,255,255,0) 30%,rgba(255,255,255,0) 72%,rgba(0,0,0,.10));box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.rhs-spine,.rhs-pages{position:absolute;pointer-events:none;z-index:1}
.rhs-spine{right:100%;top:0;bottom:0;width:var(--dp);border-radius:3px 0 0 3px;transform-origin:100% 50%;transform:perspective(240px) rotateY(50deg);
  background:linear-gradient(180deg,rgba(255,255,255,.22),transparent 10%,transparent 90%,rgba(0,0,0,.4)),linear-gradient(90deg,var(--sp),rgba(255,255,255,.22) 55%,var(--sp))}
.rhs-pages{left:100%;top:1.2%;bottom:1.2%;width:7px;transform-origin:0 50%;transform:perspective(240px) rotateY(-62deg);border-radius:0 2px 2px 0;
  background:repeating-linear-gradient(90deg,#f7f4ee 0 1px,#d4cfc2 1px 2px);box-shadow:1px 0 3px rgba(0,0,0,.25)}

/* desktop sizing (mobile keeps the sizes set in product-page.css) */
@media(min-width:861px){
  .rhp .rhp-stage.rh-scene{--pod-b:2.2rem;--pod-h:78px;--pod-w:min(90%,470px);--dp:18px;aspect-ratio:1/1.16;padding:2rem 1.5rem calc(var(--pod-b) + var(--pod-h)/2 + 2px);border:0;border-radius:20px;overflow:hidden}
  .rhp .rhp-stage.rh-scene .rhp-book img{max-height:min(430px,54vh);max-width:100%}
}
/* mobile: scene ends in a clean edge; the white sample section sits below it */
@media(max-width:860px){
  .rhp .rhp-stage.rh-scene{box-shadow:none}
}
@media(max-width:380px){.rhp .rhp-stage.rh-scene{--dp:11px}.rhs-pages{width:5px}}

/* ---------- scenes: palette vars --c1 top, --c2 mid, --c3 low, --gl rim glow, --pt/--ps podium top/side, --sp spine, --spot spotlight, --mt motif layers ---------- */

/* technology */
.rh-s-tech{--c1:#050b24;--c2:#0b2a7a;--c3:#1558d6;--gl:#3fd0ff;--pt:#17387a;--ps:#050f2e;--sp:#0a1230;--spot:rgba(80,170,255,.5);
  --mt:radial-gradient(circle at 12% 34%,rgba(255,110,200,.35) 0 12px,transparent 13px),radial-gradient(circle at 90% 18%,rgba(63,208,255,.4) 0 16px,transparent 17px),radial-gradient(circle at 84% 70%,rgba(255,110,200,.25) 0 9px,transparent 10px),linear-gradient(rgba(90,190,255,.1) 1px,transparent 1px) 0 0/34px 34px,linear-gradient(90deg,rgba(90,190,255,.1) 1px,transparent 1px) 0 0/34px 34px}
.rh-s-tech .rhs-props::before{left:-5%;top:24%;width:30%;height:24%;border-radius:8px;background:repeating-linear-gradient(0deg,rgba(120,225,255,.75) 0 2px,transparent 2px 9px) 14% 16%/58% 68% no-repeat,linear-gradient(135deg,#0d2a6e,#081746);box-shadow:0 0 28px rgba(60,170,255,.55),inset 0 0 0 2px rgba(120,200,255,.4);opacity:.9}
.rh-s-tech .rhs-props::after{right:-6%;top:40%;width:24%;height:18%;border-radius:8px;background:linear-gradient(0deg,#3fd0ff,#3fd0ff) 18% 88%/10% 30% no-repeat,linear-gradient(0deg,#3fd0ff,#3fd0ff) 42% 88%/10% 52% no-repeat,linear-gradient(0deg,#3fd0ff,#3fd0ff) 66% 88%/10% 72% no-repeat,linear-gradient(135deg,#0d2a6e,#081746);box-shadow:0 0 26px rgba(60,170,255,.5),inset 0 0 0 2px rgba(120,200,255,.35);opacity:.85}

/* cooking */
.rh-s-cooking{--c1:#2a0f08;--c2:#8a3a14;--c3:#e08a3c;--gl:#ffb347;--pt:#f2cb94;--ps:#8a5a2b;--sp:#6b2b16;--spot:rgba(255,196,120,.55);
  --mt:radial-gradient(circle at 18% 7%,#ffe2a8 0 9px,rgba(255,196,110,.4) 10px 56px,transparent 58px),radial-gradient(circle at 82% 7%,#ffe2a8 0 9px,rgba(255,196,110,.4) 10px 56px,transparent 58px),linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px) 0 0/44px 44px,linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px) 0 0/44px 44px}
.rh-s-cooking .rhs-props::before{left:0;right:0;bottom:0;height:31%;background:radial-gradient(circle at 84% 24%,#d8352a 0 16px,transparent 17px),radial-gradient(circle at 93% 34%,#e8a41c 0 13px,transparent 14px),repeating-linear-gradient(90deg,rgba(0,0,0,.08) 0 2px,transparent 2px 14px),linear-gradient(#b5722f,#7a4118);box-shadow:0 -2px 0 rgba(255,225,170,.55)}
.rh-s-cooking .rhs-props::after{left:5%;bottom:28%;width:22%;height:13%;border-radius:5px 5px 45% 45%;background:linear-gradient(90deg,#34343a,#9a9aa4 42%,#2a2a30);box-shadow:0 0 0 3px rgba(255,255,255,.08),-10px -6px 0 -5px #2f8a3e,12px -8px 0 -6px #4fb25a}

/* finance */
.rh-s-finance{--c1:#031a14;--c2:#0b4a38;--c3:#168062;--gl:#f2c14e;--pt:#1f6350;--ps:#0a2a20;--sp:#0a2f24;--spot:rgba(255,215,120,.36);
  --mt:linear-gradient(115deg,transparent 38%,rgba(255,226,150,.12) 47%,transparent 56%),linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px) 0 0/100% 42px}
.rh-s-finance .rhs-props::before{right:5%;bottom:30%;width:30%;height:34%;background:linear-gradient(#f2c14e,#c9962c) 0 100%/16% 34% no-repeat,linear-gradient(#f2c14e,#c9962c) 33% 100%/16% 52% no-repeat,linear-gradient(#f2c14e,#c9962c) 66% 100%/16% 70% no-repeat,linear-gradient(#ffd878,#d9a53a) 100% 100%/16% 100% no-repeat;opacity:.9}
.rh-s-finance .rhs-props::after{left:6%;bottom:30%;width:16%;height:6%;border-radius:50%;background:radial-gradient(#ffe08a,#d9a53a);box-shadow:0 -9px 0 -1px #e2b043,0 -18px 0 -2px #f2c14e,0 -27px 0 -3px #ffd878}

/* education */
.rh-s-education{--c1:#0c1530;--c2:#1d2f66;--c3:#7a5a2a;--gl:#ffc457;--pt:#ecd197;--ps:#7b5426;--sp:#1a2850;--spot:rgba(255,205,120,.5);
  --mt:radial-gradient(circle at 87% 20%,#ffe3a6 0 11px,rgba(255,196,100,.32) 12px 70px,transparent 72px),linear-gradient(rgba(10,15,35,.42),rgba(10,15,35,.42)) 0 64%/100% 36% no-repeat,repeating-linear-gradient(90deg,#7a2e2e 0 9px,#2e4f7a 9px 19px,#c9a24a 19px 26px,#2f6a4f 26px 38px,#5a3a7a 38px 46px,#a8472b 46px 58px) 0 64%/100% 36% no-repeat,repeating-linear-gradient(90deg,rgba(201,162,74,.5) 0 8px,rgba(46,79,122,.55) 8px 20px,rgba(122,46,46,.5) 20px 28px,rgba(47,106,79,.5) 28px 41px) 0 6%/100% 18% no-repeat}
.rh-s-education .rhs-props::before{right:4%;bottom:29%;width:22%;height:4.4%;border-radius:2px;background:#2e4f7a;box-shadow:3px -24px 0 -1px #a8472b,-2px -48px 0 -2px #c9a24a}
.rh-s-education .rhs-props::after{left:6%;bottom:29%;width:3.2%;height:8%;border-radius:3px;background:linear-gradient(90deg,#f4e6c8,#fff7e4,#e2d2ae);box-shadow:0 -10px 16px 5px rgba(255,196,100,.5)}

/* mindset & psychology */
.rh-s-mindset{--c1:#1d1245;--c2:#6a3a8f;--c3:#f08a6a;--gl:#ffd0a0;--pt:#ecdacb;--ps:#7d5a6e;--sp:#3b2160;--spot:rgba(255,180,140,.5);
  --mt:radial-gradient(circle at 80% 24%,#fff0cf 0 22px,rgba(255,196,150,.45) 23px 90px,transparent 92px),radial-gradient(circle at 12% 18%,rgba(255,255,255,.7) 0 1.5px,transparent 2.5px),radial-gradient(circle at 36% 9%,rgba(255,255,255,.6) 0 1.5px,transparent 2.5px)}
.rh-s-mindset .rhs-bg::before{left:0;right:0;bottom:27%;height:34%;clip-path:polygon(0 100%,0 60%,14% 38%,28% 58%,46% 20%,64% 56%,80% 32%,100% 54%,100% 100%);background:linear-gradient(#5b3a86,#2f1d5c)}
.rh-s-mindset .rhs-bg::after{left:0;right:0;bottom:27%;height:22%;clip-path:polygon(0 100%,0 70%,18% 50%,38% 68%,58% 44%,78% 66%,100% 48%,100% 100%);background:linear-gradient(#7b4c95,#3f2468);opacity:.9}
.rh-s-mindset .rhs-props::before{left:7%;bottom:29%;width:14%;height:3.6%;border-radius:50%;background:#c4b8ae;box-shadow:0 -14px 0 -3px #ab9d93,0 -26px 0 -6px #d4cac0}
.rh-s-mindset .rhs-props::after{right:-3%;top:-4%;width:26%;height:21%;border-radius:0 100% 0 100%;background:linear-gradient(135deg,#55ad60,#1f6a3a);transform:rotate(18deg);box-shadow:-30px 26px 0 -8px #3c9150}

/* business */
.rh-s-business{--c1:#0d1117;--c2:#1f2a3a;--c3:#4a5a72;--gl:#e0b25a;--pt:#46546a;--ps:#141b27;--sp:#131a26;--spot:rgba(255,200,130,.36);
  --mt:linear-gradient(#0a0f18,#0a0f18) 4% 100%/11% 38% no-repeat,linear-gradient(#0c121d,#0c121d) 15% 100%/9% 50% no-repeat,linear-gradient(#0a0f18,#0a0f18) 24% 100%/13% 32% no-repeat,linear-gradient(#0c121d,#0c121d) 70% 100%/10% 46% no-repeat,linear-gradient(#0a0f18,#0a0f18) 80% 100%/12% 58% no-repeat,linear-gradient(#0c121d,#0c121d) 92% 100%/9% 36% no-repeat,linear-gradient(180deg,transparent 40%,rgba(240,150,80,.26)),repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 2px,transparent 2px 25%)}
.rh-s-business .rhs-props::before{left:0;right:0;bottom:0;height:27%;background:linear-gradient(180deg,#4a3526,#1d140d);box-shadow:0 -2px 0 rgba(224,178,90,.5)}
.rh-s-business .rhs-props::after{right:7%;bottom:27%;width:8%;height:6%;border-radius:2px 2px 45% 45%;background:linear-gradient(90deg,#d8d4cc,#fff 45%,#cfcac0);box-shadow:0 0 0 2px rgba(0,0,0,.1)}

/* travel */
.rh-s-travel{--c1:#0b3d91;--c2:#2aa4d8;--c3:#ffb870;--gl:#fff1c0;--pt:#f4e8c8;--ps:#b88b4a;--sp:#0e4a7a;--spot:rgba(255,236,190,.55);
  --mt:radial-gradient(circle at 78% 48%,#fff4cf 0 22px,rgba(255,220,150,.5) 23px 84px,transparent 86px),radial-gradient(ellipse 64px 16px at 20% 16%,rgba(255,255,255,.85),transparent 70%),radial-gradient(ellipse 80px 18px at 62% 26%,rgba(255,255,255,.7),transparent 70%),radial-gradient(ellipse 54px 13px at 90% 12%,rgba(255,255,255,.8),transparent 70%),linear-gradient(#1c8fc2,#0b5f9a) 0 64%/100% 36% no-repeat}
.rh-s-travel .rhs-props::before{left:6%;top:10%;width:48%;height:16%;border-top:2px dashed rgba(255,255,255,.75);border-radius:50% 50% 0 0;transform:rotate(-8deg)}
.rh-s-travel .rhs-props::after{right:6%;top:13%;width:15%;aspect-ratio:1;border:2px solid rgba(255,255,255,.75);border-radius:50%;box-shadow:inset 0 0 0 6px rgba(255,255,255,.12);background:linear-gradient(rgba(255,255,255,.7),rgba(255,255,255,.7)) 50% 50%/2px 70% no-repeat,linear-gradient(90deg,rgba(255,255,255,.7),rgba(255,255,255,.7)) 50% 50%/70% 2px no-repeat}

/* children */
.rh-s-kids{--c1:#2a1a7a;--c2:#7a3fd0;--c3:#ff8ec7;--gl:#ffe066;--pt:#ffdcf2;--ps:#c05aa0;--sp:#5a2aa8;--spot:rgba(255,200,240,.55);
  --mt:radial-gradient(circle at 14% 40%,#fff 0 2px,transparent 3px),radial-gradient(circle at 30% 14%,#ffe066 0 3px,transparent 4px),radial-gradient(circle at 56% 8%,#fff 0 2px,transparent 3px),radial-gradient(circle at 80% 44%,#fff 0 2px,transparent 3px),radial-gradient(circle at 90% 22%,#ffe066 0 3px,transparent 4px),radial-gradient(circle at 8% 66%,#ffe066 0 2px,transparent 3px),radial-gradient(circle at 70% 70%,#fff 0 2px,transparent 3px),radial-gradient(circle at 44% 30%,rgba(255,255,255,.7) 0 1.5px,transparent 2.5px)}
.rh-s-kids .rhs-bg::before{left:-18%;bottom:26%;width:62%;aspect-ratio:2/1;background:radial-gradient(circle farthest-side at 50% 100%,transparent 52%,#ff6b6b 53% 59%,#ffc24a 59% 65%,#7bd88f 65% 71%,#5aa9ff 71% 77%,transparent 78%);opacity:.92}
.rh-s-kids .rhs-props::before{left:7%;top:8%;width:12%;aspect-ratio:1;border-radius:50%;box-shadow:inset -10px 4px 0 0 #ffe066}
.rh-s-kids .rhs-props::after{right:4%;top:13%;width:26%;height:7%;border-radius:99px;background:#fff;box-shadow:-20px -9px 0 -3px #fff,14px -12px 0 -2px #fff;opacity:.92}

/* productivity */
.rh-s-productivity{--c1:#e3edf7;--c2:#c2d8ec;--c3:#93b9d8;--gl:#2f6bff;--pt:#ffffff;--ps:#8696ae;--sp:#2b3b55;--spot:rgba(255,255,255,.85);
  --mt:linear-gradient(rgba(40,90,160,.11) 1px,transparent 1px) 0 0/26px 26px,linear-gradient(90deg,rgba(40,90,160,.11) 1px,transparent 1px) 0 0/26px 26px}
.rh-s-productivity .rhs-props::before{left:5%;top:12%;width:17%;aspect-ratio:1;background:#ffd84a;transform:rotate(-6deg);box-shadow:0 8px 14px rgba(20,40,70,.22),46px 58px 0 -4px #8ee3b0}
.rh-s-productivity .rhs-props::after{right:7%;top:15%;width:4%;height:34%;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#f2a33a,#ffcf6a 50%,#d9852a);transform:rotate(14deg);box-shadow:0 10px 14px rgba(20,40,70,.2)}

/* personal growth */
.rh-s-growth{--c1:#12485a;--c2:#e6a63e;--c3:#ffe7b0;--gl:#fff3c4;--pt:#f6e2a8;--ps:#a8782e;--sp:#1c5a50;--spot:rgba(255,240,190,.7);
  --mt:repeating-conic-gradient(from 0deg at 50% 70%,rgba(255,255,255,.1) 0 6deg,transparent 6deg 14deg)}
.rh-s-growth .rhs-bg::before{left:-12%;width:80%;bottom:26%;height:26%;border-radius:50% 50% 0 0;background:linear-gradient(#3f9a58,#1f6a3e)}
.rh-s-growth .rhs-bg::after{right:-14%;width:76%;bottom:26%;height:20%;border-radius:50% 50% 0 0;background:linear-gradient(#35914f,#195e38)}
.rh-s-growth .rhs-props::before{right:10%;top:8%;width:14%;aspect-ratio:1;border-radius:50%;background:radial-gradient(#fff8d8,#ffd36a);box-shadow:0 0 40px 14px rgba(255,220,120,.6)}
.rh-s-growth .rhs-props::after{left:7%;top:20%;width:5%;height:2.4%;border-top:2px solid rgba(20,60,70,.65);border-radius:50% 50% 0 0}

/* health & wellness */
.rh-s-health{--c1:#07353a;--c2:#12857c;--c3:#9be3c4;--gl:#aaf0d4;--pt:#e6f7f0;--ps:#4c9a8e;--sp:#0e4f52;--spot:rgba(200,255,235,.55);
  --mt:radial-gradient(circle at 15% 28%,rgba(255,255,255,.13) 0 60px,transparent 61px),radial-gradient(circle at 88% 52%,rgba(255,255,255,.12) 0 80px,transparent 81px),radial-gradient(circle at 60% 10%,rgba(255,255,255,.1) 0 40px,transparent 41px)}
.rh-s-health .rhs-props::before{left:-3%;bottom:30%;width:22%;height:30%;border-radius:0 100% 0 100%;background:linear-gradient(135deg,#86dcae,#1b8f6a);transform:rotate(-12deg);box-shadow:20px -22px 0 -12px #4cb98a}
.rh-s-health .rhs-props::after{right:-3%;bottom:30%;width:22%;height:30%;border-radius:100% 0 100% 0;background:linear-gradient(225deg,#86dcae,#1b8f6a);transform:rotate(12deg);box-shadow:-20px -22px 0 -12px #4cb98a}

/* fiction */
.rh-s-fiction{--c1:#1a0714;--c2:#6b1f4a;--c3:#d4687a;--gl:#ffc27a;--pt:#ebc9b4;--ps:#6b2f3f;--sp:#3a0f2a;--spot:rgba(255,170,150,.5);
  --mt:radial-gradient(circle at 86% 22%,rgba(255,200,120,.55) 0 8px,transparent 9px),radial-gradient(circle at 74% 12%,rgba(255,200,120,.4) 0 5px,transparent 6px),radial-gradient(circle at 20% 16%,rgba(255,200,120,.4) 0 6px,transparent 7px),repeating-linear-gradient(90deg,rgba(0,0,0,.2) 0 18px,rgba(255,255,255,.05) 18px 36px) 0 0/100% 72% no-repeat}
.rh-s-fiction .rhs-props::before{left:7%;bottom:29%;width:4.5%;height:13%;border-radius:2px;background:linear-gradient(90deg,#f4e6d0,#fff6e6,#e3d0b6);box-shadow:0 -14px 18px 6px rgba(255,190,100,.5)}
.rh-s-fiction .rhs-props::after{left:8.4%;bottom:42.4%;width:1.8%;height:4.6%;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:linear-gradient(#fff3b0,#ff9a2e);box-shadow:0 0 14px 6px rgba(255,160,60,.6)}

/* faith */
.rh-s-faith{--c1:#0a1033;--c2:#2b2f7a;--c3:#d9b25a;--gl:#ffe6a0;--pt:#f1e6c4;--ps:#8a6a2a;--sp:#141a52;--spot:rgba(255,235,170,.62);
  --mt:repeating-conic-gradient(from 168deg at 50% -6%,rgba(255,236,170,.16) 0 4deg,transparent 4deg 12deg)}
.rh-s-faith .rhs-props::before,.rh-s-faith .rhs-props::after{top:16%;width:24%;height:50%;border-radius:999px 999px 0 0;background:linear-gradient(#262c78,#10154a);box-shadow:inset 0 0 0 3px rgba(240,210,130,.65),0 0 30px rgba(255,220,140,.3)}
.rh-s-faith .rhs-props::before{left:-6%}.rh-s-faith .rhs-props::after{right:-6%}

/* science & nature */
.rh-s-science{--c1:#02030f;--c2:#0a1a4a;--c3:#2a3f9a;--gl:#7fb6ff;--pt:#1f2f66;--ps:#070d26;--sp:#070b20;--spot:rgba(110,150,255,.42);
  --mt:radial-gradient(circle at 10% 20%,#fff 0 1.5px,transparent 2.5px),radial-gradient(circle at 28% 8%,#fff 0 1px,transparent 2px),radial-gradient(circle at 46% 16%,rgba(255,255,255,.8) 0 1.5px,transparent 2.5px),radial-gradient(circle at 70% 6%,#fff 0 1px,transparent 2px),radial-gradient(circle at 92% 40%,#fff 0 1.5px,transparent 2.5px),radial-gradient(circle at 18% 56%,rgba(255,255,255,.8) 0 1px,transparent 2px),radial-gradient(circle at 60% 44%,#fff 0 1px,transparent 2px)}
.rh-s-science .rhs-bg::before{right:-14%;top:10%;width:46%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 30% 30%,#7fb0ff,#2a4fb0 55%,#0b1a50);box-shadow:inset -18px -12px 30px rgba(0,0,0,.6),0 0 40px rgba(90,140,255,.4)}
.rh-s-science .rhs-props::before{left:-18%;top:34%;width:72%;aspect-ratio:2.4;border:2px solid rgba(160,200,255,.35);border-radius:50%;transform:rotate(-14deg)}
.rh-s-science .rhs-props::after{left:9%;top:24%;width:3.2%;aspect-ratio:1;border-radius:50%;background:#9fd0ff;box-shadow:0 0 12px 3px rgba(130,190,255,.6)}

/* art & creative */
.rh-s-art{--c1:#1c1530;--c2:#3b2a6a;--c3:#e86a8a;--gl:#ffd36a;--pt:#ffffff;--ps:#a49bb8;--sp:#231a45;--spot:rgba(255,210,230,.55);
  --mt:radial-gradient(circle at 14% 34%,rgba(255,200,60,.5) 0 46px,transparent 47px),radial-gradient(circle at 88% 26%,rgba(80,200,255,.46) 0 56px,transparent 57px),radial-gradient(circle at 82% 66%,rgba(255,90,140,.46) 0 40px,transparent 41px),radial-gradient(circle at 10% 70%,rgba(120,230,170,.42) 0 36px,transparent 37px)}
.rh-s-art .rhs-props::before{left:4%;top:12%;width:40%;height:3%;border-radius:99px;background:linear-gradient(90deg,#ffd36a,#ff6a9a,#6ad0ff);transform:rotate(-10deg)}
.rh-s-art .rhs-props::after{right:4%;top:56%;width:34%;height:2.6%;border-radius:99px;background:linear-gradient(90deg,#6ad0ff,#7be0a8,#ffd36a);transform:rotate(8deg)}

/* family & home */
.rh-s-family{--c1:#3a2230;--c2:#c77a7a;--c3:#ffd9bf;--gl:#ffe0b0;--pt:#fff2e6;--ps:#c28f7a;--sp:#6a3a40;--spot:rgba(255,235,205,.65);
  --mt:linear-gradient(rgba(120,70,60,.0),rgba(120,70,60,.0)),linear-gradient(#a9724e,#7a4a2e) 0 100%/100% 27% no-repeat}
.rh-s-family .rhs-props::before,.rh-s-family .rhs-props::after{top:14%;width:24%;height:46%;border-radius:999px 999px 0 0;background:linear-gradient(#fff0d6,#ffd7a8);box-shadow:inset 0 0 0 4px rgba(255,255,255,.6),0 0 36px rgba(255,220,170,.5)}
.rh-s-family .rhs-props::before{left:-6%}.rh-s-family .rhs-props::after{right:-6%}

/* history & ideas */
.rh-s-history{--c1:#1c130b;--c2:#5a3d1f;--c3:#c9a468;--gl:#ffd9a0;--pt:#e8d3a8;--ps:#6a4a24;--sp:#3a2612;--spot:rgba(255,214,150,.5);
  --mt:repeating-linear-gradient(90deg,rgba(255,235,200,.1) 0 14px,transparent 14px 46px)}
.rh-s-history .rhs-props::before,.rh-s-history .rhs-props::after{top:12%;bottom:28%;width:7%;border-radius:3px;background:linear-gradient(90deg,#8a6a3c,#e6cc96 42%,#6a4a24);box-shadow:34px 0 0 0 #b8955a}
.rh-s-history .rhs-props::before{left:4%}.rh-s-history .rhs-props::after{right:14%}

/* sports */
.rh-s-sports{--c1:#04210f;--c2:#0c6b2e;--c3:#46c26a;--gl:#ffffff;--pt:#f6f9f2;--ps:#2f6a3a;--sp:#0a3a1a;--spot:rgba(255,255,255,.48);
  --mt:radial-gradient(circle at 9% 5%,#fff 0 7px,rgba(255,255,255,.3) 8px 66px,transparent 68px),radial-gradient(circle at 91% 5%,#fff 0 7px,rgba(255,255,255,.3) 8px 66px,transparent 68px),repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 34px,transparent 34px 68px) 0 100%/100% 55% no-repeat}
.rh-s-sports .rhs-props::before{left:0;right:0;bottom:28%;height:2px;background:rgba(255,255,255,.55)}
.rh-s-sports .rhs-props::after{right:9%;bottom:28%;width:6%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#ccd4cc);box-shadow:0 6px 8px rgba(0,0,0,.35)}

/* general — any other subject: palette derived from the book's genre/title hash (--h set inline) */
.rh-s-general{--h:215;--c1:hsl(var(--h),55%,9%);--c2:hsl(var(--h),52%,26%);--c3:hsl(calc(var(--h) + 24),50%,38%);--gl:hsl(calc(var(--h) + 24),92%,78%);--pt:hsl(var(--h),30%,86%);--ps:hsl(var(--h),35%,28%);--sp:hsl(var(--h),50%,14%);--spot:hsla(calc(var(--h) + 20),90%,70%,.45);
  --mt:radial-gradient(circle at 12% 32%,hsla(calc(var(--h) + 40),90%,75%,.3) 0 12px,transparent 13px),radial-gradient(circle at 88% 22%,hsla(calc(var(--h) + 40),90%,75%,.28) 0 16px,transparent 17px),radial-gradient(circle at 84% 68%,hsla(calc(var(--h) + 40),90%,75%,.2) 0 9px,transparent 10px),linear-gradient(112deg,transparent 30%,rgba(255,255,255,.07) 40%,transparent 52%),linear-gradient(112deg,transparent 58%,rgba(255,255,255,.05) 66%,transparent 74%)}
.rh-s-general .rhs-props::before{left:-10%;top:20%;width:38%;aspect-ratio:1;border:1px solid rgba(255,255,255,.22);border-radius:50%}
.rh-s-general .rhs-props::after{right:-12%;top:42%;width:42%;aspect-ratio:1;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:inset 0 0 0 14px rgba(255,255,255,.03)}

/* ═══════════ Desktop / laptop only (≥861px — the same breakpoint as the desktop sizing above) ═══════════
   Clean white presentation stage: the blue scene (gradient, grid, props, platform, vignette) is switched off.
   The book, its spine/pages, its shadows and the carousel keep their markup, sizes and behaviour.
   Phones (≤860px) never match this block, so the blue scene there is untouched. */
@media(min-width:861px){
  .rhp .rhp-stage.rh-scene{background:#FFFFFF;box-shadow:0 4px 24px rgba(0,0,0,.07)}
  .rhp .rhp-stage.rh-scene::before{background:none}
  .rhp .rhp-stage.rh-scene .rhs-bg,
  .rhp .rhp-stage.rh-scene .rhs-props,
  .rhp .rhp-stage.rh-scene .rhs-podium{display:none}

  /* arrows + dots: strong blue (white round buttons, blue chevrons) */
  .rhp .rhp-stage.rh-scene .rhp-cbtn{color:#1D4ED8;background:#FFFFFF;box-shadow:0 4px 14px rgba(0,0,0,.16),0 0 0 1px rgba(29,78,216,.14)}
  .rhp .rhp-stage.rh-scene .rhp-cbtn:hover{background:#FFFFFF;box-shadow:0 6px 18px rgba(29,78,216,.28),0 0 0 1px rgba(29,78,216,.3)}
  .rhp .rhp-stage.rh-scene .rhp-dot::before{background:transparent;box-shadow:inset 0 0 0 2px #1D4ED8}
  .rhp .rhp-stage.rh-scene .rhp-dot.is-on::before{background:#1D4ED8;box-shadow:none;transform:scale(1.15)}
}

/* ═══════════ v2.9.1 — Desktop / laptop only (≥861px): one large book on one pure-white surface ═══════════
   Removes the card, border, gradient and rounded frame around the presentation; the book fills the column.
   Phones (≤860px) never match this block, so the mobile presentation is untouched. */
@media(min-width:861px){
  .single-books .sb-page{background:#FFFFFF}

  /* presentation stage: no card, no border, no radius, no shadow box, pure white */
  .rhp .rhp-stage.rh-scene{
    --rh-bookh:clamp(420px,calc(100vh - 170px),820px);   /* book height follows the screen, never clipped */
    --dp:24px;
    aspect-ratio:auto;height:auto;min-height:0;
    padding:.25rem 0 3.1rem;                              /* bottom room = pagination dots */
    background:#FFFFFF;border:0;border-radius:0;box-shadow:none;
    align-items:center;justify-content:center;overflow:hidden;
  }
  .rhp .rhp-stage.rh-scene::before,.rhp .rhp-stage.rh-scene::after{content:none;display:none}
  .rhp .rhp-stage.rh-scene .rhs-bg,.rhp .rhp-stage.rh-scene .rhs-props,.rhp .rhp-stage.rh-scene .rhs-podium{display:none}

  .rhp .rhp-stage.rh-scene .rhp-slide{align-items:center}

  /* main presentation + flat covers: as large as the column / screen height allows, original proportions */
  .rhp .rhp-stage.rh-scene .rhp-book{max-width:calc(100% - 132px)}
  .rhp .rhp-stage.rh-scene .rhp-book img{width:auto;height:auto;max-width:100%;max-height:var(--rh-bookh);object-fit:contain}
  .rhp .rhp-stage.rh-scene .rhp-book,
  .rhp .rhp-stage.rh-scene .rhp-book.rhp-book--flat{box-shadow:0 30px 34px -24px rgba(0,0,0,.42),0 6px 14px rgba(0,0,0,.14)}

  /* 3D mockup image: fills the full column width (its own white margins hold the arrows), shadow is baked in */
  .rhp .rhp-stage.rh-scene .rhp-book.rhp-book--3d{max-width:100%;width:100%;box-shadow:none}
  .rhp .rhp-stage.rh-scene .rhp-book--3d img{width:100%;max-width:100%;max-height:var(--rh-bookh);object-fit:contain}

  /* arrows: white circles, navy chevrons, centred on the book */
  .rhp .rhp-stage.rh-scene .rhp-cbtn{top:calc((100% - 3.35rem)/2);width:52px;height:52px;margin-top:-26px;color:#101B50;background:#FFFFFF;box-shadow:0 6px 18px rgba(16,27,80,.16),0 0 0 1px rgba(16,27,80,.05)}
  .rhp .rhp-stage.rh-scene .rhp-cbtn svg{width:22px;height:22px}
  .rhp .rhp-stage.rh-scene .rhp-cbtn--prev{left:.2rem}
  .rhp .rhp-stage.rh-scene .rhp-cbtn--next{right:.2rem}
  .rhp .rhp-stage.rh-scene .rhp-cbtn:hover{background:#FFFFFF;box-shadow:0 8px 22px rgba(37,99,235,.28),0 0 0 1px rgba(37,99,235,.25)}

  /* pagination dots: grey filled, active blue (as in the reference) */
  .rhp .rhp-stage.rh-scene .rhp-dots{bottom:.7rem}
  .rhp .rhp-stage.rh-scene .rhp-dot::before{width:13px;height:13px;background:#C9CDD6;box-shadow:none}
  .rhp .rhp-stage.rh-scene .rhp-dot.is-on::before{background:#2563EB;box-shadow:none;transform:scale(1.1)}
}

/* wider presentation column where the layout has room (the info column keeps the rest) */
@media(min-width:1001px){
  .rhp{grid-template-columns:minmax(0,6fr) minmax(0,7fr)}
}

/* large desktops: give the presentation more room so the book keeps growing with the screen */
@media(min-width:1500px){
  .single-books .sb-page .sb-wrap{max-width:1440px}
  .rhp{grid-template-columns:minmax(0,6.3fr) minmax(0,7fr)}
}

/* ═══════════ v2.9.2 — White & gold presentation (all screen sizes) ═══════════
   One pure-white surface, the book, a metallic-gold platform under it, arrows either side, dots under the platform.
   The blue scene (gradient, grid, props, vignette) is switched off everywhere; the carousel, book and images are untouched. */
.rhp .rhp-stage.rh-scene{
  --rh-dots:2.4rem;                              /* room for the pagination dots below the platform */
  --rh-pt:2rem;                                  /* stage top padding (phones) */
  --rh-pb:calc(var(--rh-dots) + var(--pod-h)*.7);/* book stands on the centre of the platform */
  background:#FFFFFF;box-shadow:none;padding-bottom:var(--rh-pb)}
.rhp .rhp-stage.rh-scene::before,.rhp .rhp-stage.rh-scene::after{content:none;display:none;background:none}
.rhp .rhp-stage.rh-scene .rhs-bg,.rhp .rhp-stage.rh-scene .rhs-props{display:none}

/* metallic gold platform */
.rhp .rhp-stage.rh-scene .rhs-podium{display:block;z-index:3;transition:opacity .3s;
  bottom:calc(var(--rh-dots) + var(--pod-h)*.22);
  background:
    radial-gradient(ellipse 46% 38% at 50% 40%,rgba(255,246,208,.85),rgba(255,246,208,0) 72%),
    linear-gradient(90deg,#8d6213 0,#d8b04a 14%,#f6e2a0 27%,#c99a2e 42%,#a77a1c 56%,#e4c26a 72%,#fff0b8 84%,#b98a25 94%,#8a5f10 100%);
  box-shadow:0 calc(var(--pod-h)*.11) 0 0 #c9a03a,0 calc(var(--pod-h)*.22) 0 0 #8a5d0f,0 calc(var(--pod-h)*.22 + 10px) 22px -4px rgba(95,62,0,.38)}
.rhp .rhp-stage.rh-scene .rhs-podium::before{border:2px solid #fff1bd;box-shadow:0 0 10px rgba(255,214,110,.65),inset 0 0 14px rgba(255,236,170,.6);opacity:1}
.rhp .rhp-stage.rh-scene .rhs-podium::after{top:42%;width:52%;height:46%;background:radial-gradient(ellipse,rgba(70,40,0,.55),transparent 70%)}
/* 3D mockup images carry their own staging and shadow: the platform steps aside for those slides */
.rhp .rhp-stage.rh-on-3d .rhs-podium{opacity:0}

/* arrows centred on the book, dots under the platform */
.rhp .rhp-stage.rh-scene .rhp-cbtn{top:calc((100% + var(--rh-pt) - var(--rh-pb))/2)}
.rhp .rhp-stage.rh-scene .rhp-dots{bottom:.7rem}

@media(min-width:861px){
  .rhp .rhp-stage.rh-scene{--rh-pt:.25rem;
    --pod-h:clamp(54px,calc(var(--rh-bookh)*.12),96px);
    --pod-w:min(calc(100% - 24px),calc(var(--rh-bookh)*.9))}
}
@media(max-width:860px){
  /* phones: white surface needs visible controls */
  .rhp .rhp-stage.rh-scene .rhp-cbtn{color:#101B50;background:#FFFFFF;box-shadow:0 6px 18px rgba(16,27,80,.16),0 0 0 1px rgba(16,27,80,.06)}
  .rhp .rhp-stage.rh-scene .rhp-dot::before{width:11px;height:11px;background:#C9CDD6;box-shadow:none}
  .rhp .rhp-stage.rh-scene .rhp-dot.is-on::before{background:#2563EB;box-shadow:none;transform:scale(1.15)}
}

/* 3D mockup: its near-white margin (254 vs 255) melts into the pure-white stage — only the outermost 6% edge fades, the book is never touched */
.rhp .rhp-stage.rh-scene .rhp-book--3d img{
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent);
  mask-composite:intersect}

/* ═══════════ v2.9.3 — Premium platform: a thick metallic-gold cylinder with the book standing on it ═══════════
   Proportions follow the reference render: platform ≈ 1.3 × book width, top face ≈ 0.2 × its width, side ≈ 0.07 × its width,
   the book's base sits just in front of the centre of the top face. Everything is sized from the stage width (container units),
   so phone, laptop and desktop keep the same proportions. Browsers without container units keep the v2.9.2 platform above. */
@supports (width:1cqw){
  .rhp .rhp-stage.rh-scene{container-type:inline-size;--rh-dots:2.6rem;--pod-w:min(92cqw,430px);padding-bottom:var(--rh-dots)}
  @media(min-width:861px){
    .rhp .rhp-stage.rh-scene{--pod-w:min(calc(100cqw - 24px),calc(var(--rh-bookh)*.9));--rh-fw:min(calc(100cqw - 132px),calc(var(--rh-bookh)*.667))}
  }
  @media(max-width:860px){
    .rhp .rhp-stage.rh-scene{--rh-fw:min(62vw,320px)}
  }

  /* the book stands on the platform: its base sits 0.13 × platform width above the platform's lowest edge */
  .rhp .rhp-stage.rh-scene .rhp-car{margin-bottom:calc(var(--pod-w)*.13)}
  .rhp .rhp-stage.rh-scene .rhp-cbtn{top:calc((100% + var(--rh-pt) - var(--rh-dots) - var(--pod-w)*.13)/2)}

  /* cylinder: side wall = the element itself, top face = ::after, contact shadow = ::before */
  .rhp .rhp-stage.rh-scene .rhs-podium{display:block;z-index:3;left:50%;bottom:var(--rh-dots);
    width:var(--pod-w);height:calc(var(--pod-w)*.27);transform:translateX(-50%);border-radius:50%/37%;
    background:
      linear-gradient(180deg,rgba(255,255,255,0) 0,rgba(0,0,0,0) 62%,rgba(74,42,0,.55) 100%),
      linear-gradient(90deg,#6c4606 0,#b8841a 5%,#efc240 13%,#fff1a6 19%,#f0c440 26%,#b98414 38%,#d6a32a 50%,#f8d96c 62%,#c8921c 72%,#f2c548 82%,#fff0a0 88%,#c08a18 94%,#6a4406 100%);
    box-shadow:0 calc(var(--pod-w)*.025) calc(var(--pod-w)*.05) calc(var(--pod-w)*-.015) rgba(30,18,0,.38);
    transition:opacity .3s}
  .rhp .rhp-stage.rh-scene .rhs-podium::after{content:"";position:absolute;z-index:1;left:0;top:0;width:100%;height:74.07%;transform:none;border-radius:50%;
    background:
      radial-gradient(ellipse 62% 52% at 50% 100%,rgba(255,244,176,.96),rgba(255,244,176,0) 72%),
      linear-gradient(180deg,#a8710a 0%,#cf9a1c 36%,#e7b633 68%,#f6d35e 100%);
    box-shadow:inset 0 -3px 0 #fff7c8,inset 0 -9px 12px -5px rgba(255,238,150,.75),inset 0 4px 8px rgba(100,58,0,.5),0 0 0 1px rgba(255,236,160,.55)}
  .rhp .rhp-stage.rh-scene .rhs-podium::before{content:"";position:absolute;z-index:2;inset:auto;left:50%;top:52%;width:80%;height:30%;
    transform:translate(-50%,-50%);border:0;border-radius:50%;opacity:1;
    background:radial-gradient(ellipse,rgba(34,18,0,.62),rgba(34,18,0,.28) 45%,rgba(34,18,0,0) 72%);box-shadow:none}

  /* 3D hardcover mockups (white studio background lifted by the carousel script): book stands on the same platform */
  .rhp .rhp-stage.rh-scene .rhp-book--3d[data-rh-cut]{--rh-ih:calc(var(--rh-fw)/var(--rh-bkw)/var(--rh-ar));   /* displayed image height */
    max-width:none;max-height:none;width:auto;align-self:flex-end;
    margin-top:calc(var(--rh-ih)*var(--rh-bt)*-1);margin-bottom:calc(var(--rh-ih)*var(--rh-bb)*-1);          /* the transparent margins take no room: the book's base meets the platform */
    transform:translateX(calc((.5 - var(--rh-bx))*100%))}
  .rhp .rhp-stage.rh-scene .rhp-book--3d[data-rh-cut] img{width:calc(var(--rh-fw)/var(--rh-bkw));max-width:none;max-height:none;height:auto;
    -webkit-mask-image:none;mask-image:none}
}

/* the main presentation cover matches the reference too: a clean front cover, no frame, no painted spine or page edge
   (a flat image must not pretend to have a spine — the real 3D hardcover mockup slide shows the true spine) */
.rhp .rhp-stage.rh-scene .rhp-book{padding:0;background:none;border-radius:3px}
.rhp .rhp-stage.rh-scene .rhp-book .rhs-spine,.rhp .rhp-stage.rh-scene .rhp-book .rhs-pages{display:none}
.rhp .rhp-stage.rh-scene .rhp-book::before,.rhp .rhp-stage.rh-scene .rhp-book::after{content:none;display:none}
