.review-mockup--interactive{
  --book-height:clamp(190px, 25vw, 280px);
  --book-depth:calc(var(--book-height) * var(--depth-ratio));
  --book-angle:27deg;
  --book-tilt:-6deg;
  display:block;
  margin:0;
  min-width:0;
  min-height:0;
  padding:0 12px 14px;
  overflow:hidden;
  isolation:isolate;
  background:radial-gradient(ellipse at 50% 55%,var(--book-glow),#132637 85%);
  border:1px solid #263b4d;
  border-radius:10px;
  color:#fff;
}
.book-turntable{
  position:relative;
  display:grid;
  place-items:center;
  min-height:calc(var(--book-height) + 44px);
  perspective:900px;
}
.book-turntable::before{
  content:"";
  position:absolute;
  inset:auto 13% 10px;
  height:27px;
  border-radius:50%;
  background:#00111b8a;
  filter:blur(10px);
}
[data-book-ready] .book-turntable{cursor:grab;touch-action:pan-y;user-select:none}
[data-book-dragging] .book-turntable{cursor:grabbing}
.book-model{
  position:relative;
  width:calc(var(--book-height) * var(--book-ratio));
  height:var(--book-height);
  transform:rotateX(var(--book-tilt)) rotateY(var(--book-angle));
  transform-style:preserve-3d;
  transition:transform .56s cubic-bezier(.21,.7,.23,1);
}
[data-book-dragging] .book-model{transition:none}
.review-mockup--interactive .book-face{
  position:absolute;
  display:block;
  max-width:none;
  max-height:none;
  backface-visibility:hidden;
}
.review-mockup--interactive :is(.book-front,.book-rear){
  inset:0;
  width:100%;
  height:100%;
  border-radius:1px;
}
.book-front{transform:translateZ(calc(var(--book-depth) / 2))}
.book-rear{transform:rotateY(180deg) translateZ(calc(var(--book-depth) / 2))}
.review-mockup--interactive .book-spine,.book-fore{
  inset:0 auto 0 50%;
  width:var(--book-depth);
  height:100%;
}
.book-spine{transform:translateX(-50%) rotateY(-90deg) translateZ(calc(var(--book-height) * var(--book-ratio) / 2))}
.book-fore{transform:translateX(-50%) rotateY(90deg) translateZ(calc(var(--book-height) * var(--book-ratio) / 2))}
.book-edge{
  background:repeating-linear-gradient(90deg,#a99d87 0px,#e1d7c7 1px,#f3ece1 2px,#ede3d3 3px);
  box-shadow:inset 0 0 5px #2b211b63;
}
.book-top,.book-bottom{
  inset:50% 0 auto;
  width:100%;
  height:var(--book-depth);
  background:repeating-linear-gradient(0deg,#a99d87 0px,#e1d7c7 1px,#f3ece1 2px,#ede3d3 3px);
}
.book-top{transform:translateY(-50%) rotateX(90deg) translateZ(calc(var(--book-height) / 2))}
.book-bottom{transform:translateY(-50%) rotateX(-90deg) translateZ(calc(var(--book-height) / 2))}
.book-turntable-caption{display:grid;gap:8px;justify-items:center;text-align:center}
.book-turntable-caption>span{font:500 14px/1.4 system-ui,sans-serif;color:#fff}
.book-turntable-views{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}
.book-turntable-views button[aria-pressed="true"]{border-color:#ffe2a1;background:#ffe2a1;color:#182a39}
.book-turntable-views button{
  min-height:38px;
  padding:6px 10px;
  border:1px solid #ffffff60;
  border-radius:5px;
  background:#0d212ee3;
  color:#fff;
  font:600 14px/1.3 system-ui,sans-serif;
  cursor:pointer;
}
.book-turntable-views button:focus-visible{outline:3px solid #eac06f;outline-offset:3px}
.book-gallery-views{
  display:grid;
  grid-template-columns:minmax(270px,330px) minmax(0,1fr);
  align-items:center;
  gap:20px 28px;
  margin-top:26px;
}
.book-gallery-views .book-gallery-cover{margin:0}
@media(max-width:800px){
  .review-mockup--interactive{--book-height:clamp(180px,48vw,265px)}
  .book-gallery-views{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.book-model{transition:none}}
