/* ============================================================
   SAMYOS.FIT RECIPE FLIPBOOK — STYLES
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #1A6B6B;
  --teal-dark:  #0D4A4A;
  --teal-light: #2A9090;
  --teal-pale:  #E8F5F5;
  --cream:      #FAF7F2;
  --cream-dark: #F0EBE0;
  --gold:       #C8A96E;
  --gold-light: #E8C98E;
  --charcoal:   #1C1C1C;
  --dark:       #2A2A2A;
  --mid:        #555555;
  --light:      #888888;
  --white:      #FFFFFF;
  --veg-green:  #2E7D32;
  --veg-pale:   #E8F5E9;
  --nonveg-red: #B71C1C;
  --nonveg-pale:#FFEBEE;

  --page-w: 480px;
  --page-h: 640px;
  --spread-w: 960px;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0A0A0A;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
}

/* ============================================================
   SCENE & BOOK CONTAINER
   ============================================================ */
.scene {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2500px;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #050505 100%);
  position: relative;
}

/* Subtle texture overlay */
.scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.book {
  width: var(--spread-w);
  height: var(--page-h);
  position: relative;
  transform-style: preserve-3d;
  /* Book shadow */
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(26,107,107,0.15));
}

/* ============================================================
   PAGE STRUCTURE
   ============================================================ */
.page {
  position: absolute;
  top: 0;
  width: var(--page-w);
  height: var(--page-h);
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  cursor: pointer;
}

/* Pages stack on the right side by default */
.page { left: var(--page-w); }

/* Page faces */
.page-front,
.page-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.page-back {
  transform: rotateY(180deg);
}

/* Flipped state — page has been turned to the left */
.page.flipped {
  transform: rotateY(-180deg);
}

/* Active left pages use right-center origin */
.page.active-left {
  left: 0 !important;
  transform-origin: right center !important;
}

/* Book spine shadow */
.book::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.1), rgba(0,0,0,0.4));
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
}

/* Page edge shadow (right side) */
.page-front::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.12));
  pointer-events: none;
}

/* ============================================================
   COVER PAGE
   ============================================================ */
.cover-page {
  background: var(--teal-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?w=600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,74,74,0.92) 0%, rgba(13,74,74,0.75) 50%, rgba(26,107,107,0.88) 100%);
}

.cover-content {
  position: relative;
  z-index: 2;
  padding: 40px 36px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cover-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cover-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cover-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
}

.cover-brand span {
  color: var(--gold-light);
}

.cover-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.cover-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cover-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.cover-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cover-macro-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.macro-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(4px);
}

.macro-pill.accent {
  background: rgba(200,169,110,0.2);
  border-color: rgba(200,169,110,0.4);
}

.mp-num {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.mp-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 3px;
}

.cover-footer {
  position: relative;
  z-index: 2;
  padding: 16px 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* Page hint arrows */
.page-hint {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 10;
  opacity: 0.4;
  font-size: 20px;
  color: white;
  animation: hintPulse 2s ease-in-out infinite;
}

.right-hint { right: 12px; }
.left-hint  { left: 12px; }

@keyframes hintPulse {
  0%, 100% { opacity: 0.3; transform: translateY(50%) translateX(0); }
  50%       { opacity: 0.7; transform: translateY(50%) translateX(4px); }
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc-page {
  background: var(--cream);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.toc-header { margin-bottom: 24px; }

.toc-brand {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.toc-brand span { color: var(--gold); }

.toc-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.toc-line {
  width: 40px;
  height: 2px;
  background: var(--teal);
}

.toc-section { margin-bottom: 20px; }

.toc-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.veg-label   { background: var(--veg-pale);   color: var(--veg-green); }
.nonveg-label{ background: var(--nonveg-pale); color: var(--nonveg-red); }

.toc-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.toc-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  min-width: 22px;
}

.toc-name {
  font-size: 11px;
  color: var(--dark);
  flex: 1;
  line-height: 1.4;
}

.toc-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(0,0,0,0.2);
  margin: 0 4px;
  min-width: 10px;
}

.toc-pg {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  min-width: 16px;
  text-align: right;
}

.toc-footer {
  margin-top: auto;
  font-size: 9px;
  color: var(--light);
  letter-spacing: 0.08em;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veg-divider .divider-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1540420773420-3366772f4999?w=600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.nonveg-divider .divider-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1544025162-d76694265947?w=600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.veg-divider .divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,125,50,0.88) 0%, rgba(27,94,32,0.92) 100%);
}

.nonveg-divider .divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,74,74,0.90) 0%, rgba(0,40,40,0.95) 100%);
}

.divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.divider-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.divider-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.divider-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

.divider-line {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto 20px;
}

.divider-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto 24px;
}

.divider-count {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  border-radius: 20px;
}

/* ============================================================
   RECIPE PAGES
   ============================================================ */
.recipe-page {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.recipe-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.recipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.recipe-page:hover .recipe-img {
  transform: scale(1.03);
}

.recipe-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.recipe-type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.veg-tag    { background: var(--veg-pale);   color: var(--veg-green); }
.nonveg-tag { background: var(--nonveg-pale); color: var(--nonveg-red); }

/* Gradient overlay on image bottom */
.recipe-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

.recipe-body {
  flex: 1;
  padding: 16px 20px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.recipe-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 12px;
}

/* Macro bar */
.macro-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.mb {
  flex: 1;
  background: var(--teal-pale);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  border-top: 2px solid var(--teal-light);
}

.mb.accent-mb {
  background: #FFF8EC;
  border-top-color: var(--gold);
}

.mb-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

.accent-mb .mb-num { color: var(--gold); }

.mb-label {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mid);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Recipe columns */
.recipe-cols {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow: hidden;
}

.ingredients-col,
.method-col {
  flex: 1;
  overflow: hidden;
}

.col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--teal-pale);
}

.ing-list {
  list-style: none;
  font-size: 10px;
  line-height: 1.5;
  color: var(--dark);
}

.ing-list li {
  padding: 2px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  gap: 4px;
}

.qty {
  font-weight: 600;
  color: var(--teal-dark);
  min-width: 40px;
  flex-shrink: 0;
}

.method-list {
  list-style: none;
  font-size: 10px;
  line-height: 1.5;
  color: var(--dark);
  counter-reset: step;
}

.method-list li {
  counter-increment: step;
  padding: 3px 0 3px 20px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.method-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   SUMMARY PAGE
   ============================================================ */
.summary-page {
  background: var(--cream);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.summary-header { margin-bottom: 16px; }

.summary-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.summary-brand span { color: var(--gold); }

.summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.summary-sub {
  font-size: 11px;
  color: var(--mid);
  margin-bottom: 10px;
}

.summary-line {
  width: 36px;
  height: 2px;
  background: var(--teal);
}

.summary-table-wrap {
  flex: 1;
  overflow: hidden;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px;
}

.summary-table thead tr {
  background: var(--teal-dark);
  color: white;
}

.summary-table th {
  padding: 7px 5px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 8.5px;
  text-transform: uppercase;
}

.summary-table th:first-child { width: 20px; text-align: center; }
.summary-table th:nth-child(3),
.summary-table th:nth-child(4),
.summary-table th:nth-child(5),
.summary-table th:nth-child(6),
.summary-table th:nth-child(7) { text-align: center; }

.summary-table td {
  padding: 6px 5px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle;
}

.summary-table td:first-child {
  text-align: center;
  font-weight: 700;
  color: var(--teal);
  font-family: 'Playfair Display', serif;
}

.summary-table td:nth-child(3),
.summary-table td:nth-child(4),
.summary-table td:nth-child(5),
.summary-table td:nth-child(6),
.summary-table td:nth-child(7) { text-align: center; }

.veg-row    { background: rgba(232,245,233,0.5); }
.nonveg-row { background: rgba(255,235,238,0.4); }

.v-tag {
  background: var(--veg-pale);
  color: var(--veg-green);
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.nv-tag {
  background: var(--nonveg-pale);
  color: var(--nonveg-red);
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.summary-note {
  margin-top: 10px;
  font-size: 8px;
  color: var(--light);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   BACK COVER
   ============================================================ */
.back-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-cover-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?w=600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.back-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,74,74,0.95) 0%, rgba(0,30,30,0.98) 100%);
}

.back-cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.back-brand {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.back-brand span { color: var(--gold-light); }

.back-divider {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 0 auto 28px;
}

.back-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

.back-tagline em {
  font-style: italic;
  color: var(--gold-light);
}

.back-macro-reminder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.back-macro-reminder .dot {
  color: var(--gold);
  font-size: 16px;
}

/* ============================================================
   NAVIGATION CONTROLS
   ============================================================ */
.nav-controls {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 8px 20px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.1);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.nav-btn svg {
  width: 18px;
  height: 18px;
}

.page-counter {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  min-width: 100px;
  text-align: center;
}

/* ============================================================
   KEYBOARD HINT
   ============================================================ */
.keyboard-hint {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  z-index: 1000;
  animation: fadeHint 4s ease forwards;
}

@keyframes fadeHint {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

kbd {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   PAGE CURL EFFECT (CSS only enhancement)
   ============================================================ */
.page::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  :root {
    --page-w: 380px;
    --page-h: 520px;
    --spread-w: 760px;
  }
  .cover-title { font-size: 32px; }
  .recipe-img-wrap { height: 160px; }
  .recipe-title { font-size: 14px; }
}

@media (max-width: 800px) {
  :root {
    --page-w: 320px;
    --page-h: 480px;
    --spread-w: 640px;
  }
  .cover-title { font-size: 26px; }
  .recipe-img-wrap { height: 140px; }
  .recipe-title { font-size: 13px; }
  .recipe-cols { gap: 10px; }
  .ing-list, .method-list { font-size: 9px; }
}

@media (max-width: 660px) {
  :root {
    --page-w: 90vw;
    --page-h: 85vh;
    --spread-w: 90vw;
  }
  .book { width: var(--spread-w); }
  .page { left: 0; width: var(--spread-w); }
  .page-back { display: none; }
  .book::after { display: none; }
}