:root{--book-ink:#f7f2e9;--book-dark:#080d11;--book-panel:#111a21;--book-red:#ff5b4e}
.books-page{max-width:1640px;margin:auto;padding:72px 5vw 100px}.books-hero{display:grid;grid-template-columns:1.3fr .7fr;gap:40px;align-items:end;margin-bottom:64px}.books-hero h1{font-family:var(--font-display,serif);font-size:clamp(52px,7vw,112px);font-weight:400;line-height:.9;margin:8px 0}.books-hero>p:last-child{font-size:20px;line-height:1.55;color:#706b64}.eyebrow{font-size:13px!important;font-weight:700;letter-spacing:.18em;margin:0}.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.book-card{border:1px solid #d9d3ca;background:#f6f1e8}.book-card__cover{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#151a1e;padding:24px;overflow:hidden}.book-card__cover:before{content:"";position:absolute;inset:-25px;background:var(--cover) center/cover;filter:blur(25px);opacity:.45}.book-card__cover img{position:relative;display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 15px 35px #0008}.book-card__open{position:absolute;left:0;right:0;bottom:0;padding:14px 18px;background:#060a0dd9;color:white;font-weight:700;transform:translateY(100%);transition:.2s}.book-card__cover:hover .book-card__open{transform:none}.book-card__body{padding:22px}.book-card__body p{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#777}.book-card__body h2{font-family:var(--font-display,serif);font-size:31px;line-height:1.04;font-weight:400;margin:8px 0 14px}.book-card__body a{color:inherit;text-decoration:none}.book-card__body div{line-height:1.5;color:#625e58}.books-pagination{display:flex;justify-content:center;gap:30px;margin-top:50px}.books-pagination a{color:inherit;font-weight:700}.flipbook-page{background:var(--book-dark);color:var(--book-ink);min-height:100vh;padding:48px 4vw 100px}.flipbook-heading{max-width:1500px;margin:0 auto 28px;display:grid;grid-template-columns:170px 1fr;gap:20px}.flipbook-heading a{color:#b9c0c4;text-decoration:none}.flipbook-heading h1{font-family:var(--font-display,serif);font-weight:400;font-size:clamp(34px,4.5vw,72px);line-height:1;margin:6px 0}.flipbook-heading>div>p:last-child{color:#a8afb3}.flipbook-shell{max-width:1500px;margin:auto;background:#020506;box-shadow:0 30px 80px #0008;position:relative}.flipbook-toolbar{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px;background:var(--book-panel);border-bottom:1px solid #28333b;position:relative;z-index:6}.flipbook-toolbar button{border:1px solid #35424b;background:#19242c;color:white;border-radius:4px;min-width:40px;height:38px;font-size:19px;cursor:pointer}.flipbook-toolbar button:hover{background:#263641}.flipbook-counter{font-variant-numeric:tabular-nums;color:#c9cfd2;padding:0 9px}.flipbook-counter input{width:38px;background:#080d11;border:1px solid #35424b;color:white;text-align:center;padding:5px}.flipbook-stage{position:relative;height:min(78vh,940px);min-height:520px;display:flex;align-items:center;justify-content:center;overflow:hidden;perspective:2400px;background:radial-gradient(circle at 50% 45%,#20282e 0,#080d11 60%,#020405 100%);touch-action:pan-y}.flipbook-spread{display:flex;align-items:center;justify-content:center;transform-origin:center;transition:transform .18s;max-width:92%;max-height:90%;filter:drop-shadow(0 22px 32px #000b)}.flipbook-leaf{display:block;max-width:50%;max-height:calc(min(78vh,940px) - 100px);object-fit:contain;background:white;transform-origin:left center;animation:page-in .36s ease}.flipbook-leaf:first-child{transform-origin:right center}.flipbook-leaf+img{border-left:1px solid #aaa}.flipbook-leaf--single{max-width:100%}.flipbook-leaf--turn{animation:page-turn .42s ease}.flipbook-hotspot{position:absolute;top:0;bottom:0;width:18%;border:0;background:transparent;z-index:3;cursor:pointer}.flipbook-hotspot--prev{left:0}.flipbook-hotspot--next{right:0}.flipbook-start{position:absolute;inset:0;background:#070b0ecf;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.flipbook-start button{background:var(--book-red);color:white;border:0;border-radius:999px;padding:18px 34px;font-weight:800;font-size:18px;cursor:pointer}.flipbook-start span{color:#bfc4c7}.flipbook-thumbs{position:absolute;left:0;top:59px;bottom:0;width:250px;padding:16px;background:#111a21ee;overflow:auto;z-index:8}.flipbook-thumbs button{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;width:100%;padding:7px;background:transparent;color:#ddd;border:0;cursor:pointer}.flipbook-thumbs img{width:100%;height:58px;object-fit:cover}.flipbook-thumbs button.active{background:#2b3942}.flipbook-description{max-width:1100px;margin:65px auto 0;border-top:1px solid #303940;padding-top:32px;color:#ccd0d2}.flipbook-description h2{font-family:var(--font-display,serif);font-size:42px;font-weight:400;color:white}.flipbook-description div{font-size:19px;line-height:1.7}.flipbook-end{padding:40px;color:white;text-align:center}.flipbook-end h2{font-family:var(--font-display,serif);font-size:54px;font-weight:400}.flipbook-end a{display:inline-block;background:var(--book-red);color:white;border-radius:999px;padding:16px 26px;text-decoration:none;font-weight:800}@keyframes page-in{from{opacity:.45;transform:rotateY(-12deg) scale(.98)}to{opacity:1;transform:none}}@keyframes page-turn{0%{transform:rotateY(0)}50%{transform:rotateY(-35deg);filter:brightness(.6)}100%{transform:rotateY(0)}}
@media(max-width:1100px){.books-grid{grid-template-columns:repeat(2,1fr)}.books-hero{grid-template-columns:1fr}.flipbook-stage{height:72vh}.flipbook-leaf{max-width:100%;max-height:calc(72vh - 80px)}.flipbook-leaf:nth-child(2){display:none}}
@media(max-width:620px){.books-page{padding:45px 18px}.books-grid{grid-template-columns:1fr}.flipbook-page{padding:25px 0 60px}.flipbook-heading{display:block;padding:0 18px}.flipbook-toolbar{gap:3px;overflow-x:auto;justify-content:flex-start}.flipbook-toolbar button{min-width:37px}.flipbook-stage{height:68vh;min-height:420px}.flipbook-thumbs{top:59px;width:190px}.flipbook-description{padding:24px 18px;margin-top:30px}}
.flipbook-start[hidden]{display:none}
.flipbook-spread{position:relative;transform-style:preserve-3d}
.flipbook-leaf{cursor:pointer;user-select:none;-webkit-user-drag:none}
.flipbook-shell.is-autoplaying .flipbook-leaf{cursor:default}
.flipbook-leaf{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;object-fit:initial}
.flipbook-leaf+.flipbook-leaf{border-left:1px solid #aaa}
.flipbook-leaf__image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:#fff;pointer-events:none;user-select:none;-webkit-user-drag:none}
.flipbook-page-link{position:absolute;z-index:5;display:block;border-radius:2px;cursor:pointer;background:transparent;box-shadow:inset 0 0 0 1px transparent;transition:background .15s,box-shadow .15s}
.flipbook-page-link:hover,.flipbook-page-link:focus-visible{background:rgba(255,91,78,.14);box-shadow:inset 0 0 0 1px rgba(255,91,78,.8);outline:none}
.flipbook-leaf--left{box-shadow:-10px 14px 35px #0009}
.flipbook-leaf--right{box-shadow:10px 14px 35px #0009}
.flipbook-leaf--turn-forward{transform-origin:left center;backface-visibility:hidden;animation:flipbook-leaf-forward .38s cubic-bezier(.4,0,.2,1) both}
.flipbook-leaf--turn-backward{transform-origin:right center;backface-visibility:hidden;animation:flipbook-leaf-backward .38s cubic-bezier(.4,0,.2,1) both}
@keyframes flipbook-leaf-forward{0%{transform:perspective(1800px) rotateY(0);opacity:1;filter:brightness(1)}100%{transform:perspective(1800px) rotateY(-72deg);opacity:.08;filter:brightness(.72)}}
@keyframes flipbook-leaf-backward{0%{transform:perspective(1800px) rotateY(0);opacity:1;filter:brightness(1)}100%{transform:perspective(1800px) rotateY(72deg);opacity:.08;filter:brightness(.72)}}
.flipbook-page{padding-top:18px}.flipbook-shell{display:grid;grid-template-rows:50px minmax(0,1fr) 58px;max-width:1500px;height:clamp(560px,calc(100svh - 140px),840px)}.flipbook-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;background:var(--book-panel);border-bottom:1px solid #28333b;position:relative;z-index:9}.flipbook-topbar__title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:#eef1f2}.flipbook-topbar__actions{display:flex;align-items:center;gap:6px}.flipbook-topbar button{height:34px;border:1px solid #35424b;background:#19242c;color:#fff;border-radius:4px;padding:0 11px;cursor:pointer}.flipbook-topbar button span{margin-left:5px;font-size:12px}.flipbook-topbar button.is-muted{opacity:.45}.flipbook-stage{height:auto;min-height:0}.flipbook-spread{width:92%;height:calc(100% - 28px);max-width:92%;max-height:calc(100% - 28px)}.flipbook-leaf{width:auto;height:100%;max-width:50%;max-height:100%;aspect-ratio:var(--flipbook-page-ratio,210 / 297);animation:none}.flipbook-leaf--single{max-width:100%}.flipbook-toolbar{min-height:58px;justify-content:center;flex-wrap:nowrap;padding:7px 12px;border-top:1px solid #28333b;border-bottom:0}.flipbook-toolbar button{min-width:40px;height:38px;font-size:20px}.flipbook-speed{display:flex;align-items:center;gap:8px;margin:0 5px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#aeb7bc}.flipbook-speed select{height:38px;max-width:178px;border:1px solid #35424b;border-radius:4px;background:#19242c;color:#fff;padding:0 27px 0 10px;letter-spacing:0;text-transform:none;cursor:pointer}.flipbook-zoom{min-width:46px;text-align:center;color:#c9cfd2;font-variant-numeric:tabular-nums;font-size:13px}.flipbook-thumbs{top:50px;bottom:58px}.flipbook-heading--below{margin:50px auto 0;padding-top:34px;border-top:1px solid #303940}.flipbook-heading--below h1{font-size:clamp(28px,3vw,48px);line-height:1.05;margin:7px 0}.flipbook-description{margin-top:36px}
@media(max-width:760px){.flipbook-page{padding-top:0}.flipbook-shell{height:calc(100svh - 86px);min-height:500px;grid-template-rows:46px minmax(0,1fr) auto}.flipbook-topbar{padding:0 9px}.flipbook-topbar button span{display:none}.flipbook-topbar__title{font-size:13px}.flipbook-toolbar{display:grid;grid-template-columns:40px 40px minmax(120px,1fr) 40px 40px 44px 40px 72px 40px;gap:4px;overflow-x:auto;justify-content:start}.flipbook-speed{margin:0;display:block;font-size:0}.flipbook-speed select{width:100%;padding:0 8px;font-size:11px}.flipbook-thumbs{top:46px;bottom:56px}.flipbook-heading--below{margin-top:34px;padding:25px 18px 0}}
.flipbook-toolbar .flipbook-nav-button{min-width:76px;padding:0 12px;font-size:13px;font-weight:700}
@media(max-width:760px){.flipbook-toolbar{grid-template-columns:68px 40px minmax(120px,1fr) 40px 40px 44px 40px 72px 68px}.flipbook-toolbar .flipbook-nav-button{min-width:68px;padding:0 8px;font-size:12px}}

/* The main play/pause control starts the automatic soundtrack and page turn. */
.flipbook-toolbar button[data-action="autoplay"]{
  border-color:#ff5b45;
  background:#ff5b45;
  color:#fff;
  box-shadow:0 5px 16px rgba(255,91,69,.28);
}

/* Canonical compact mobile layout. Keep this block last so older mobile
   experiments cannot reintroduce horizontal overflow. */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .flipbook-page {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0 0 24px;
    overflow: hidden;
  }

  .flipbook-shell {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 44px minmax(0, 1fr) auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: calc(100svh - 74px);
    min-height: 480px;
    margin: 0;
    overflow: hidden;
  }

  .flipbook-shell > * {
    grid-column: 1;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .flipbook-topbar {
    width: 100%;
    padding: 0 10px;
    overflow: hidden;
  }

  .flipbook-topbar__title {
    flex: 1 1 0;
    min-width: 0;
    font-size: 12px;
  }

  .flipbook-topbar__actions {
    display: none;
  }

  .flipbook-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 8px;
    overflow: hidden;
  }

  .flipbook-spread,
  .flipbook-leaf,
  .flipbook-leaf--single {
    flex: none;
    min-width: 0;
    margin: auto;
  }

  .flipbook-spread {
    max-width: 100%;
    max-height: 100%;
    transform-origin: center center;
  }

  .flipbook-toolbar {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "prev play next counter"
      "speed speed speed speed"
      "music zoomout zoomvalue zoomin";
    align-content: center;
    justify-content: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 118px;
    padding: 6px 8px;
    gap: 5px;
    overflow: hidden;
  }

  .flipbook-toolbar > * {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
  }

  .flipbook-toolbar button {
    width: 100%;
    height: 32px;
    min-width: 0 !important;
    padding: 0 4px;
  }

  .flipbook-toolbar [data-action="prev"] { grid-area: prev; }
  .flipbook-toolbar [data-action="autoplay"] { grid-area: play; }
  .flipbook-toolbar [data-action="next"] { grid-area: next; }
  .flipbook-toolbar [data-action="music"] { grid-area: music; }
  .flipbook-toolbar [data-action="zoom-out"] { grid-area: zoomout; }
  .flipbook-toolbar [data-action="zoom-in"] { grid-area: zoomin; }

  .flipbook-toolbar .flipbook-counter {
    grid-area: counter;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 10px;
  }

  .flipbook-toolbar .flipbook-counter input {
    width: 28px;
    padding: 3px 1px;
  }

  .flipbook-toolbar .flipbook-speed {
    grid-area: speed;
    display: block;
    font-size: 0;
  }

  .flipbook-speed select {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }

  .flipbook-toolbar .flipbook-zoom {
    grid-area: zoomvalue;
    width: 100%;
    align-self: center;
    text-align: center;
  }

  .flipbook-toolbar .flipbook-nav-button {
    padding: 0 3px !important;
    font-size: 10px !important;
  }

  .flipbook-thumbs {
    top: 44px;
    bottom: 118px;
  }
}

@media (max-width: 390px) {
  .flipbook-shell {
    height: calc(100svh - 68px);
  }

  .flipbook-toolbar {
    padding: 5px 6px;
    gap: 4px;
  }
}
.flipbook-toolbar button[data-action="autoplay"]:hover,
.flipbook-toolbar button[data-action="autoplay"].playing{
  border-color:#d93d30;
  background:#d93d30;
}

/* Compact catalog header: the first complete row remains visible on desktop. */
.books-page{padding-top:34px}
.books-hero{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;margin-bottom:28px}
.books-hero h1{font-size:clamp(38px,4vw,64px);line-height:1;margin:0;max-width:100%}
.books-hero>p:last-child{max-width:880px;margin:4px auto 0;font-size:17px;line-height:1.45}
.books-pagination a,.books-pagination>span{min-width:100px;text-align:center}
.books-pagination .is-disabled{opacity:.35}
.book-card__body{padding:14px 16px 16px;min-height:130px}
.book-card__body p{margin:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-card__body h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:22px;line-height:1.05;margin:7px 0 9px}
.book-card__body div{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.35}
@media(max-width:900px){.books-page{padding-top:28px}.books-hero{margin-bottom:24px}.books-hero h1{font-size:clamp(36px,9vw,54px)}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.books-page{padding:24px 18px 70px}.books-grid{grid-template-columns:1fr}.books-hero>p:last-child{font-size:15px}.books-pagination{gap:10px}.books-pagination a,.books-pagination>span{min-width:0}}

/* Compact headings below the viewer: long publication names must stay readable
   without dominating the descriptive part of the page. */
.flipbook-heading--below h1{
  font-size:clamp(24px,2vw,34px);
  line-height:1.12;
}
.flipbook-description h2{
  font-size:clamp(24px,1.8vw,30px);
  line-height:1.15;
  margin:0 0 24px;
}
@media(max-width:760px){
  .flipbook-heading--below h1{font-size:clamp(22px,7vw,28px)}
  .flipbook-description h2{font-size:24px}
}

/* Social sharing is placed after the publication and its description. */
.book-share{max-width:1100px;margin:48px auto 0;padding:30px;border:1px solid #303940;border-top:4px solid var(--book-red);display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:center;background:#11181e;color:#d8dde0}
.book-share__copy h2{font-family:var(--font-display,serif);font-size:clamp(26px,2.2vw,36px);font-weight:400;line-height:1.1;color:#fff;margin:9px 0 13px}
.book-share__copy>p:not(.eyebrow){max-width:690px;margin:0 0 20px;color:#aeb7bc;line-height:1.55}
.book-share__actions{display:flex;flex-wrap:wrap;gap:9px}
.book-share__actions a,.book-share__actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #40505b;border-radius:999px;background:#18232b;color:#fff;text-decoration:none;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:.18s}
.book-share__actions a:hover,.book-share__actions button:hover{border-color:var(--book-red);background:#26343e}
.book-share__actions a:first-child{border-color:var(--book-red);background:var(--book-red)}
.book-share__copy small{display:block;min-height:22px;margin-top:13px;color:#b8c0c4}
.book-share__preview{overflow:hidden;border:1px solid #3c4952;background:#080d11}
.book-share__preview img{display:block;width:100%;aspect-ratio:1200/536;object-fit:cover}
.book-share__preview span{display:flex;flex-direction:column;gap:2px;padding:10px 12px;color:#8f9aa0;font-size:11px;letter-spacing:.04em}
.book-share__preview strong{color:#eef1f2;font-size:12px}
@media(max-width:820px){.book-share{margin:34px 18px 0;padding:22px;grid-template-columns:1fr}.book-share__preview{order:-1}.book-share__actions a,.book-share__actions button{flex:1 1 145px}}

/* Book covers follow the same framed artwork treatment used across AucVerb. */
.book-card__cover{isolation:isolate;background:#151a1e;padding:24px}
.book-card__cover:before{z-index:-1;inset:-36px;background-image:var(--cover);background-position:center;background-size:cover;filter:blur(28px) saturate(.78);opacity:.72;transform:scale(1.12)}
.book-card__cover img{z-index:1;box-sizing:border-box;border:2px solid #fff;filter:drop-shadow(0 8px 22px rgba(0,0,0,.42));box-shadow:none}
.book-card__open{z-index:2}

/* Mobile viewer: the page is measured against the real stage dimensions by
   flipbook-viewer.js.  The controls use two rows instead of an off-screen
   horizontal strip, so every action remains reachable on a phone. */
@media(max-width:760px){
  .flipbook-page{width:100%;overflow-x:hidden;padding-bottom:42px}
  .flipbook-shell{
    width:100%;max-width:100%;min-width:0;min-height:460px;
    height:calc(100svh - 82px);
    grid-template-rows:46px minmax(0,1fr) 88px;
    overflow:hidden
  }
  .flipbook-stage{width:100%;min-width:0;padding:8px;box-sizing:border-box;overflow:hidden}
  .flipbook-spread{flex:none;margin:auto;min-width:0;filter:drop-shadow(0 12px 20px #000a)}
  .flipbook-leaf,.flipbook-leaf--single{flex:none;min-width:0;margin:auto}
  .flipbook-toolbar{
    min-width:0;min-height:88px;padding:6px 8px;
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-areas:
      "prev play speed speed music zoomout"
      "zoomvalue zoomin counter counter next next";
    gap:5px;overflow:visible;justify-content:stretch;align-content:center
  }
  .flipbook-toolbar>*{min-width:0!important;margin:0!important}
  .flipbook-toolbar button{width:100%;height:34px;min-width:0!important;padding:0 5px}
  .flipbook-toolbar [data-action="prev"]{grid-area:prev}
  .flipbook-toolbar [data-action="autoplay"]{grid-area:play}
  .flipbook-toolbar .flipbook-speed{grid-area:speed}
  .flipbook-toolbar [data-action="music"]{grid-area:music}
  .flipbook-toolbar [data-action="zoom-out"]{grid-area:zoomout}
  .flipbook-toolbar .flipbook-zoom{grid-area:zoomvalue;align-self:center;width:100%;min-width:0;text-align:center}
  .flipbook-toolbar [data-action="zoom-in"]{grid-area:zoomin}
  .flipbook-toolbar .flipbook-counter{grid-area:counter;display:flex;align-items:center;justify-content:center;padding:0;font-size:12px}
  .flipbook-toolbar .flipbook-counter input{width:34px;padding:4px 2px}
  .flipbook-toolbar [data-action="next"]{grid-area:next}
  .flipbook-toolbar .flipbook-nav-button{font-size:11px!important;padding:0 5px!important}
  .flipbook-speed select{height:34px;max-width:none;width:100%;font-size:10px;padding:0 5px}
  .flipbook-thumbs{bottom:88px}
}

@media(max-width:390px){
  .flipbook-shell{grid-template-rows:44px minmax(0,1fr) 84px}
  .flipbook-toolbar{min-height:84px;padding:5px 6px;gap:4px}
  .flipbook-toolbar button{height:32px}
  .flipbook-toolbar .flipbook-nav-button{font-size:10px!important}
}

/* Keep the mobile viewer inside one real viewport-wide grid column.  Without
   this constraint the controls' min-content width creates a hidden wider
   column, so the centred page is visibly shifted to the right. */
.flipbook-shell{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  .flipbook-page{box-sizing:border-box;width:100%;max-width:100vw;overflow-x:hidden}
  .flipbook-shell{
    box-sizing:border-box;width:100%;max-width:100vw;min-width:0;
    grid-template-columns:minmax(0,1fr)
  }
  .flipbook-shell>*{box-sizing:border-box;min-width:0;max-width:100%;grid-column:1}
  .flipbook-topbar{width:100%;min-width:0;overflow:hidden}
  .flipbook-topbar__title{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .flipbook-topbar__actions{flex:0 0 auto;min-width:0}
  .flipbook-stage{display:grid;place-items:center;width:100%;min-width:0}
  .flipbook-spread{margin:0;justify-self:center;align-self:center}
  .flipbook-toolbar{
    box-sizing:border-box;width:100%;max-width:100%;min-width:0;
    grid-template-columns:repeat(5,minmax(0,1fr));
    grid-template-areas:
      "prev play speed speed next"
      "music zoomout zoomvalue zoomin counter"
  }
  .flipbook-toolbar>*{box-sizing:border-box;max-width:100%;min-width:0!important;margin:0!important;overflow:hidden}
  .flipbook-toolbar .flipbook-counter input{box-sizing:border-box;width:31px;padding:4px 1px}
}
@media(max-width:390px){
  .flipbook-toolbar .flipbook-counter{font-size:10px}
  .flipbook-toolbar .flipbook-counter input{width:27px}
}
