/* Busy Book: its own look, "Felt and stitches" (Doug, Oct 12): each page is a felt panel with a dashed stitched edge,
   the pieces flat felt shapes with a dashed stitch just inside, soft warm colors. The whole look is the custom
   properties in :root, so another look (wood, for one) is a change here only. Calm by design: soft colors, slow
   smooth motion (0.4 to 0.8 s, ease in and out), one thing moving at a time, nothing loops. */
:root {
  --bg: #f1e8d8;
  --card: #fffaf0;
  --ink: #3b2a1a;
  --soft: #6d6250;
  --green: #4f9a57;
  --green-d: #2f7438;
  --sun: #e8c25a;
  /* The page (Doug's felt busy book, Oct 12): dark navy felt with a soft fuzz, an orange zip binding round the edge
     with a dashed stitch, and bright felt pieces with a lighter dashed stitch. */
  --page: #1f2a4d;
  --page-ink: #f6f1e4; /* words and numbers on the navy page */
  --page-edge: #e07a3c; /* the zip binding */
  --page-edge-d: #b85a26;
  --page-radius: 28px;
  --stitch: #fff7e6;
  --stitch-dark: #8a5a3c;
  --stitch-on-navy: #8c9bc8;
  --stitch-dash: 7 5;
  --page-fuzz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23f)'/%3E%3C/svg%3E");
  --navy-fuzz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .75 0 0 0 0 .8 0 0 0 0 1 0 0 0 .16 -.03'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23f)'/%3E%3C/svg%3E");
  /* Felt colors: bright and saturated like the real book. Each color also has its own shape (pages.js FELT), so
     color is never alone. */
  --felt-red: #d9433a;
  --felt-blue: #1ea0d0;
  --felt-yellow: #f2c230;
  --felt-green: #7cc242;
  --felt-orange: #ee7a36;
  --felt-purple: #a678d8;
  --felt-sky: #7cc4ec;
  --felt-teal: #1ea0d0;
  --felt-white: #f3f0e8;
  --felt-board: #c8935a;
  --felt-basket: #c8935a;
  --felt-leaf: #7cc242;
  --felt-apple-red: #d9433a;
  --felt-apple-green: #9ad24f;
  --felt-apple-yellow: #f2c230;
  --felt-wood: #d9a86a;
  --felt-wood-dark: #a8703e;
  --felt-leather: #b5652e;
  --felt-rope: #efe6cf;
  --felt-key: #f2c230;
  /* Plastic and metal parts. */
  --plastic-white: #f3f0e8;
  --plastic-black: #2a2a30;
  --plastic-yellow: #f2c230;
  --plastic-blue: #5aa8e6;
  --metal: #d3d7de;
  --metal-d: #8d929b;
  --hole: #121a33;
  /* Pieces: at least 2 cm (80 CSS px) on every phone (rule 12), bigger where there's room. */
  --piece: clamp(80px, min(25cqw, 24cqh), 124px);
  --radius: 20px;
  color-scheme: light;
}
/* Evening: dimmer and warmer (rule 4). */
body.evening { --bg: #e4d8c2; --card: #f4ead6; --page: #1a2442; }
body.evening main, body.evening .top { filter: brightness(.9); }

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  background: var(--page-fuzz), var(--bg);
  color: var(--ink);
  font: 500 18px/1.45 'Fredoka', system-ui, sans-serif;
  overscroll-behavior: none;
  overflow-x: hidden;
}
h1, h2 { font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; line-height: 1.1; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: #2f5f96; }

/* top bar */
.top { display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 16px 6px; min-height: 64px; }
.grow { flex: 1; }
.brand { display: block; width: 40px; height: 40px; }
.back, .round {
  min-height: 48px; min-width: 48px; border: 3px solid var(--ink); border-radius: 16px; background: var(--card);
  box-shadow: 0 4px 0 var(--ink); font-weight: 700; padding: 6px; display: inline-flex; align-items: center; justify-content: center;
}
.back:active, .round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
#sound .mute { display: none; }
#sound[aria-pressed='false'] .mute { display: inline; }
#sound[aria-pressed='false'] .waves { display: none; }

main { max-width: 1600px; margin: 0 auto; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
.screen { display: grid; gap: 18px; }

/* home */
.hero { text-align: center; display: grid; gap: 8px; padding-top: 4px; }
.hero h1 { font-size: clamp(34px, 10vw, 54px); }
.lede { margin: 0; font-size: 20px; color: var(--soft); }
.demo { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.demo .made-page { width: min(26vw, 120px); }
.big {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 80px;
  border: 3px solid var(--ink); border-radius: 24px; font-size: 30px; font-weight: 700; box-shadow: 0 7px 0 var(--ink); padding: 10px 20px;
}
.big:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); }
.big.go { background: var(--green); color: #fff; text-shadow: 0 2px 0 #0003; }
.big.plain { background: var(--card); font-size: 24px; }
.pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; min-width: 0; }
.pick legend { font-weight: 700; font-size: 18px; margin-bottom: 8px; padding: 0; }
.pick button {
  border: 3px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: 0 4px 0 var(--ink); padding: 10px 4px;
  display: grid; justify-items: center; align-content: start; gap: 4px; font-weight: 700; font-size: 20px; line-height: 1.15; min-height: 96px;
}
.pick button small { font-size: 14px; font-weight: 500; color: var(--soft); }
.pick button[aria-pressed='true'] { background: #dff3e1; border-color: var(--green-d); box-shadow: 0 4px 0 var(--green-d); outline: 3px solid var(--green); outline-offset: 1px; }
.pick button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.mini-num { display: inline-grid; place-items: center; min-width: 64px; padding: 2px 8px; border-radius: 10px; background: #fff; border: 2px dashed var(--stitch-dark); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips button, .chip-btn { display: inline-flex; min-height: 48px; padding: 6px 14px; font-size: 18px; align-items: center; border: 3px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 0 3px 0 var(--ink); font-weight: 700; }
.grownups, .about { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 5px 0 #3b2a1a33; }
.grownups summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.grownups p, .about p { margin: 10px 0 0; }
.about h2 { font-size: 22px; margin-top: 14px; }
.about h2:first-child { margin-top: 0; }
.about h3 { font-size: 18px; margin: 12px 0 0; }
.about ul { padding-left: 22px; display: grid; gap: 6px; }
.small { font-size: 14px; color: var(--soft); }

/* play: the line, the book filling the rest of the screen, and the page-turning buttons */
#play-screen { position: relative; gap: 10px; grid-template-rows: auto minmax(0, 1fr) auto; height: calc(100dvh - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding-bottom: 6px; }
main:has(#play-screen:not([hidden])) { padding-bottom: env(safe-area-inset-bottom); }
.ask { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.again-btn { flex: none; width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 50%; background: var(--card); box-shadow: 0 4px 0 var(--ink); display: grid; place-items: center; }
.said { margin: 0; min-height: 28px; font-size: clamp(17px, 4.6vw, 22px); font-weight: 700; color: var(--green-d); }
.ask { grid-row: 1; }
.book { grid-row: 2; min-height: 0; height: 100%; width: 100%; max-width: 980px; justify-self: center; perspective: 1200px; }

/* A felt page: navy felt inside an orange zip binding with a dashed stitch, a soft fuzz. Its size drives the pieces'
   size (container units). */
.page {
  container: page / size; position: relative; height: 100%; width: 100%; padding: 18px;
  background: var(--navy-fuzz), var(--page); border-radius: var(--page-radius); border: 9px solid var(--page-edge);
  box-shadow: inset 0 0 0 2px var(--page-edge-d), 0 6px 0 #6b4a2a44; color: var(--page-ink);
}
.page::before { content: ''; position: absolute; inset: -6px; border: 2px dashed #ffd9b8; border-radius: calc(var(--page-radius) - 4px); pointer-events: none; opacity: .8; }
.page::after { content: ''; position: absolute; inset: 7px; border: 2px dashed var(--stitch-on-navy); border-radius: calc(var(--page-radius) - 12px); pointer-events: none; opacity: .55; }
.page svg { overflow: visible; }

/* Felt in the drawings. */
.felt-shadow { fill: #050914; opacity: .45; }
.stitch { fill: none; stroke: var(--stitch); stroke-width: 2.4; stroke-dasharray: var(--stitch-dash); stroke-linecap: round; opacity: .9; }
.felt-hole { fill: var(--hole); opacity: .8; }
.thread { stroke: #1f2a4dcc; stroke-width: 7; stroke-linecap: round; fill: none; }
.stem { stroke: #c08a52; stroke-width: 6; stroke-linecap: round; fill: none; }
.spot { fill: transparent; }
.spot.ghost { fill: #fffaf026; stroke: var(--stitch-on-navy); stroke-width: 2.4; stroke-dasharray: var(--stitch-dash); }
.num { font: 700 50px 'Fredoka', system-ui, sans-serif; fill: #fffaf0; }

/* Two parts: the scene (the coat, the basket) and the tray of pieces. Tray below; beside it on a wide page. */
.split { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; height: 100%; width: 100%; align-items: center; justify-items: center; }
.scene { width: 100%; height: 100%; min-height: 0; display: block; }
.scene > svg { width: 100%; height: 100%; display: block; }
.tray { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 10px; max-width: calc(var(--piece) * 4 + 30px); }
@container page (aspect-ratio > 1.15) {
  .split { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) auto; }
  .tray { max-width: calc(var(--piece) * 3 + 20px); --piece: clamp(80px, min(14cqw, 42cqh), 116px); }
}
.piece {
  width: var(--piece); height: var(--piece); padding: 4px; border: 0; background: none; border-radius: 18px; touch-action: none; position: relative; cursor: grab;
  transition: opacity .6s ease-in-out;
}
.piece svg { display: block; width: 100%; height: 100%; }
.piece.dragging { z-index: 20; cursor: grabbing; }
.piece.moving { z-index: 10; }
.piece.gone { visibility: hidden; }
.piece.done { opacity: .35; pointer-events: none; }

/* Zipper pouch */
.scene-only { width: 100%; height: 100%; display: block; }
.scene-only > svg { width: 100%; height: 100%; display: block; }
.zip-lens { fill: var(--hole); }
.zip-teeth { stroke: #8f8a80; stroke-width: 11; stroke-dasharray: 3.5 3; fill: none; }
.zip-teeth.thin { stroke-width: 5; stroke-dasharray: 2 2; }
.zip-slider { fill: #b8b2a6; stroke: #6d6250; stroke-width: 2; }
.zip-pull { cursor: grab; touch-action: none; outline: none; }
.zip-pull .hit { fill: transparent; }
.zip-pull:focus-visible .zip-slider { stroke: var(--ink); stroke-width: 4; }

/* Button the coat */
.collar { fill: #fffaf0; opacity: .55; }
.seam { stroke: #3b2a1a55; stroke-width: 3; }
.slit { stroke: #3b2a1aaa; stroke-width: 6; stroke-linecap: round; }

/* Clothesline */
.rope { fill: none; stroke: #e8d6b4; stroke-width: 4; stroke-linecap: round; }

/* Apples in the basket */
.basket-handle { fill: none; stroke: var(--felt-basket); stroke-width: 12; stroke-linecap: round; }

/* Peekaboo flaps: three in a row on a wide page, two and one on a tall one. */
.flaps { height: 100%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4cqmin; --flap: clamp(84px, min(44cqw, 44cqh), 240px); }
@container page (aspect-ratio > 1.15) { .flaps { --flap: clamp(84px, min(30cqw, 80cqh), 240px); } }
.flap-spot { position: relative; width: var(--flap); height: var(--flap); padding: 0; border: 0; background: none; perspective: 700px; }
.flap-spot .under, .flap-spot .flap { position: absolute; inset: 0; display: block; }
.flap-spot svg { width: 100%; height: 100%; display: block; }
.flap-spot .flap { transform-origin: 50% 0; transition: transform .6s ease-in-out; }
.flap-spot.open .flap { transform: rotateX(150deg); }

/* finish */
#finish { text-align: center; padding-top: 10px; }
.cheer { font-size: clamp(32px, 9vw, 46px); }
.made { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; animation: arrive .6s ease-in-out both; }
.made-page { display: grid; place-items: center; aspect-ratio: 1; padding: 9px; background: var(--navy-fuzz), var(--page); border: 5px solid var(--page-edge); border-radius: 16px; outline: 2px dashed var(--stitch-on-navy); outline-offset: -9px; }
.made-page > svg { width: 100%; height: 100%; display: block; }
@keyframes arrive { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.talk { margin: 0; background: #f4fbf6; border: 2px dashed var(--green-d); border-radius: 16px; padding: 12px 14px; text-align: left; font-size: 18px; }

@media (min-width: 900px) {
  #finish { max-width: 900px; margin: 0 auto; }
  .made { grid-template-columns: repeat(6, 1fr); }
}
/* Phones held sideways: a shorter top bar, and the book fills the rest. */
@media (orientation: landscape) and (max-height: 520px) {
  .top { min-height: 52px; padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: 2px; }
  #play-screen { gap: 6px; height: calc(100dvh - 80px - env(safe-area-inset-top)); }
  .turn-btn { min-height: 56px; }
  .page { padding: 16px; border-width: 7px; }
  .made { grid-template-columns: repeat(6, 1fr); }
}

/* Fasteners (fasten.js): one, two or more of the same fastener, a column on a tall page, side by side on a wide one. */
.units { height: 100%; display: grid; gap: 3cqmin; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); align-items: center; }
.unit { position: relative; min-height: 0; min-width: 0; height: 100%; }
.unit > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@container page (aspect-ratio > 1.15) {
  .units { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .units.u-3, .units.u-4 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); grid-template-rows: none; }
}
.grip { cursor: grab; touch-action: none; outline: none; }
.grip.dragging { cursor: grabbing; }
.grip .hit, .hit { fill: transparent; }
.grip:focus-visible .part { stroke: var(--page-ink); stroke-width: 4; }
.no-hit { pointer-events: none; }
.strap-line { stroke: #ffffff59; stroke-width: 2; stroke-dasharray: var(--stitch-dash); fill: none; }
.stitch.dark { stroke: #6d6250; }
.plastic-line { stroke: #0000004d; stroke-width: 3; stroke-linecap: round; fill: none; }
.metal { fill: none; stroke: var(--metal); stroke-width: 7; }
.metal-fill { fill: var(--metal); stroke: var(--metal-d); stroke-width: 2; }
.eyelet { fill: var(--hole); stroke: var(--metal); stroke-width: 4; }
.rope-line { fill: none; stroke-width: 9; stroke-linecap: round; }
.cord { fill: none; stroke: #e8d6b4; stroke-width: 4; stroke-linecap: round; }
.fuzz { fill: #ffffff; opacity: .35; stroke: #ffffff; stroke-width: 1.5; stroke-dasharray: 2 3; }
.lift { transition: opacity .5s ease-in-out; }
.pressed .lift { opacity: 0; }
.mark { opacity: .95; }

/* ---------- More page kinds (Oct 12): clock, lacing, wallet, jacket, face, pockets, dress, the whole board ----------
   Colors come from the custom properties above (--felt-*, --stitch, --hole), so they follow the book's look. */
.felt-white { fill: var(--felt-white, #fffaf0); }
.felt-ink { fill: var(--hole); }
.tap-area { fill: transparent; }
.scene-only svg [role='button'] { cursor: pointer; outline: none; }
.scene-only svg [role='button']:focus-visible .tap-area { fill: #fffaf033; }

/* Felt clock: the numbers sit inside the face (rule 18). */
.clock-num { font: 700 26px 'Fredoka', system-ui, sans-serif; fill: var(--felt-white, #fffaf0); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.clock-svg { touch-action: none; }

/* Lace the shoe. */
.lace { fill: none; stroke-width: 6; stroke-linecap: round; }
.lace.new { transition: stroke-dashoffset .6s ease-in-out; }
.lace.preview { stroke-dasharray: 8 6; opacity: .7; }
.eyelet-ring { fill: #d8d2c6; stroke: #8f8a80; stroke-width: 2; }
.lacing-svg { touch-action: none; }

/* Snap wallet: the cover swings open on its left edge, like a felt flap. */
.wallet-wrap { height: 100%; display: grid; place-items: center; }
.wallet { position: relative; width: min(92cqw, 125cqh, 460px); aspect-ratio: 1.25; padding: 0; border: 0; background: none; perspective: 900px; touch-action: none; }
.wallet .under, .wallet .cover { position: absolute; inset: 0; display: block; }
.wallet svg { width: 100%; height: 100%; display: block; }
.wallet .cover { transform-origin: 0 50%; transition: transform .6s ease-in-out; backface-visibility: hidden; }
.wallet.open .cover { transform: rotateY(-165deg); }

/* Jacket zipper. */
.jacket-gap { fill: var(--felt-white, #fffaf0); }

/* Face, bear and pockets: pieces placed in the drawing. */
.placed { pointer-events: none; }

/* The whole board: four little jobs, two by two (four in a row on a wide page). */
.jobs { height: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqmin; align-content: center; max-width: min(100%, 130cqh); margin: 0 auto; }
@container page (aspect-ratio > 1.7) { .jobs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: min(100%, 500cqh); } }
.job { min-width: 80px; min-height: 80px; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; touch-action: none; }
.job svg { width: 100%; height: 100%; display: block; }
.job .moves { transition: transform .6s ease-in-out; }
.job .shuts { transition: transform .6s ease-in-out; transform-box: fill-box; transform-origin: 50% 50%; }
.job.zip.done .moves { transform: translateX(84px); }
.job.zip.done .shuts { transform: scaleY(0); }
.job.snap.done .moves { transform: translateY(34px); }
.job.clip.done .moves { transform: translateX(30px); }
.job.toggle.done .moves { transform: translateX(46px); }
@media (prefers-reduced-motion: reduce) {
  .wallet .cover, .lace.new, .job .moves, .job .shuts { transition: none; }
}

/* Turning pages (Doug, Oct 12: "switching pages should be clear, simple and easy"): three equal buttons under the book,
   back, every page, next. The next arrow turns yellow once a page is done, slowly; it never turns the page itself. */
.turn { grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 640px; justify-self: center; }
.turn-btn {
  min-height: 72px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 20px; background: var(--card);
  color: var(--ink); box-shadow: 0 5px 0 var(--ink); transition: background-color .6s ease-in-out;
}
.turn-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.turn-btn:disabled { opacity: .35; box-shadow: none; }
.turn-btn.next.ready { background: var(--sun); }
.turn-btn.pages { grid-template-columns: auto auto; gap: 8px; }
.where { font-size: 15px; font-weight: 700; color: var(--soft); white-space: nowrap; }
@media (max-width: 380px) { .where { display: none; } }

/* The cover: the book's name sewn on in felt. */
.page.cover { display: grid; place-items: center; }
.cover-in { display: grid; justify-items: center; gap: 4cqmin; }
.cover-in img { width: min(52cqmin, 260px); height: auto; }
.cover-name { margin: 0; font: 700 clamp(30px, 11cqmin, 64px) 'Fredoka', system-ui, sans-serif; color: var(--felt-white, #fffaf0); }

/* Every page at a glance: equal rows (24 tiles: 4 x 6 on a phone, 6 x 4 wider, 8 x 3 on a big screen). */
.picker { position: fixed; inset: 0; z-index: 72; background: #1f2a4dcc; display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.picker-in { position: relative; width: 100%; max-width: 1100px; max-height: 100%; overflow-y: auto; background: var(--bg); border: 3px solid var(--ink); border-radius: 22px; padding: 64px 12px 14px; }
.picker-close { position: absolute; top: 8px; right: 8px; }
.picker-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .picker-pages { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .picker-pages { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.pick-page { padding: 0; border: 0; background: none; border-radius: 18px; min-height: 64px; }
.pick-page .made-page { width: 100%; }
.pick-page.here .made-page { border-color: var(--sun); }
.cover-thumb img { width: 80%; height: auto; }
.end-thumb span { font: 700 clamp(13px, 3.4vw, 18px) 'Fredoka', system-ui, sans-serif; color: var(--felt-white, #fffaf0); text-align: center; }

/* The end: back a page, read it again, home, three equal buttons. */
.end-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.end-row .big { display: grid; place-items: center; }

/* Phones held sideways: no room under the book, so the arrows stand tall at its sides and every page sits up top. */
@media (orientation: landscape) and (max-height: 520px) {
  #play-screen { grid-template-columns: 76px minmax(0, 1fr) 76px; grid-template-rows: auto minmax(0, 1fr); column-gap: 10px; }
  .ask { grid-row: 1; grid-column: 2; }
  .book { grid-row: 2; grid-column: 2; }
  .turn { display: contents; }
  #prev-page { grid-row: 2; grid-column: 1; }
  #next-page { grid-row: 2; grid-column: 3; }
  #pages-btn { grid-row: 1; grid-column: 3; min-height: 52px; }
  #pages-btn .where { display: none; }
}
