/* Story Garden: a shared, readable, soft-touch interface for young readers. */
:root {
  --font-display: 'Fredoka', 'Nunito', sans-serif;
  --font-body: 'Nunito', 'Comic Neue', sans-serif;
  --garden-ink: #343356;
  --garden-purple: #6850ab;
  --garden-line: #e3dfee;
}
body { color: var(--garden-ink); }
.auth-confirmation-help { padding: 16px; border: 1px solid #d8c9e9; border-radius: 18px; background: #f4eefb; color: #49365f; text-align: left; }
.auth-confirmation-help[hidden] { display: none !important; }
.auth-confirmation-help p { margin: 8px 0; font-size: 14px; line-height: 1.6; color: #5d4a70; }
#auth-modal .btn-resend-confirmation { width: 100%; min-height: 46px; padding: 10px 14px; border: 2px solid #fff; border-radius: 17px; color: #4d326c; background: #e5d7f7; box-shadow: 0 3px 0 #c9b4df; font: 500 17px/1.3 var(--font-display); }
#auth-modal .btn-resend-confirmation:disabled { opacity: .65; box-shadow: none; cursor: default; }
#auth-confirmation-status:empty { display: none; }
/* Text stays sharp: decoration belongs around words, never on their glyphs. */
:is(h1,h2,h3,h4,h5,h6,p,label,summary,button,.auth-pill-text,.nav-text,.plaque-text) { text-shadow: none !important; filter: none; }
:is(.package-main-title,.empty-slot-title,.admin-heading,.auth-modal-title) { font-weight: 600 !important; }
.app-brand { display: flex; flex-direction: column; color: #514171; font: 500 16px/1.05 var(--font-display); white-space: nowrap; }
.app-brand strong { font-size: 21px; font-weight: 600; }
.shelf-header .header-left { display: flex; align-items: center; gap: 18px; }
.shelf-header .btn-auth-header,.shelf-header .btn-auth-header .auth-pill-text,.shelf-header .btn-auth-header .auth-icon { color: #3e315a !important; opacity: 1; text-shadow: none !important; }
.shelf-header .btn-auth-header { background: #e8e0fa !important; border-color: #cbbce4; }
.shelf-header .btn-auth-header:hover { background: #dbcef3 !important; }
.shelf-unit .empty-slot-card { height: auto; min-height: 13.5cqw; padding: 1.2cqw 1.2cqw 1.6cqw; gap: .45cqw; background: #fff8f4ed; backdrop-filter: none; border: 1px solid #fff; }
.empty-slot-add-btn { margin-bottom: .4cqw; flex-shrink: 0; }
.bookshelf-outer { flex: 1 1 0; min-height: 0; }
#app-container > .bookshelf-credit { position: relative; z-index: 25; flex: 0 0 auto; width: 100%; padding: 12px 16px max(12px,env(safe-area-inset-bottom)); background: #fff7eb; color: #704d3b; border-top: 1px solid #e5d8c9; font-size: 11px; }
#come-alive-modal { padding: 24px; overflow-y: auto; background: #493c6266; backdrop-filter: blur(5px); }
#come-alive-modal .come-alive-card { width: min(1120px,100%); max-width: 1120px; max-height: calc(100dvh - 48px); overflow-y: auto; padding: 36px; background: #fffdf8; border: 2px solid #fff; border-radius: 30px; box-shadow: 0 20px 65px #38214c30; }
#come-alive-modal .package-main-title { font: 600 clamp(25px,3vw,34px)/1.2 var(--font-display); color: #3b2f55; margin: 16px 0 10px; }
#come-alive-modal .package-subtitle { color: #62566e; font: 600 17px/1.65 var(--font-body); max-width: 700px; margin: 0 auto; }
#come-alive-modal .free-notice-pill { color: #285c46; background: #e3f2e8; border: 1px solid #abcdb7; font: 700 14px/1.5 var(--font-body); }
#come-alive-modal .packages-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 30px; }
#come-alive-modal .package-card { display: flex; flex-direction: column; padding: 25px 22px; border: 2px solid #dfd5eb; border-radius: 24px; background: #f8f4fd; box-shadow: none; transform: none; }
#come-alive-modal .tier-basic { background: #f1f8f3; border-color: #c9dfce; }
#come-alive-modal .tier-cinematic { background: #f0f5fe; border-color: #cbd9ef; }
#come-alive-modal .package-name { font: 600 22px/1.3 var(--font-display); color: #514069; }
#come-alive-modal .package-price { font: 600 32px/1.5 var(--font-display); color: #423058; }
#come-alive-modal :is(.package-books-count,.package-plus-tag) { color: #63536f; font: 700 14px/1.5 var(--font-body); }
#come-alive-modal .package-features-list { flex: 1; margin: 24px 0; }
#come-alive-modal .package-features-list li { color: #493e56 !important; font: 600 16px/1.65 var(--font-body); opacity: 1; margin-bottom: 12px; }
#come-alive-modal .feat-check { color: #2d7854; }
#come-alive-modal .btn-package-choose { background: #e3d7f7; color: #4d346c; border: 2px solid #fff; box-shadow: 0 4px 0 #c7b3e0; font: 500 17px/1.3 var(--font-display); min-height: 52px; padding: 12px; }
#come-alive-modal .package-footer-note { color: #62566e; font: 600 15px/1.6 var(--font-body); }
#come-alive-modal .package-close-btn { background: #eee7f6; color: #513a6e; width: 44px; height: 44px; }
#come-alive-modal .package-best-value { color: #593910; background: #ffe7a7; box-shadow: none; text-shadow: none; }
.reader-edition-picker { color: #4a3b60; background: #fff; border: 2px solid #ddd1eb; border-radius: 15px; padding: 10px; font: 600 16px var(--font-body); max-width: 180px; }
.online-library-settings { background: #fffdf8; border: 1px solid #dcd3e7; border-radius: 22px; padding: 22px; margin-bottom: 20px; color: #44374f; }
.online-library-settings h3 { font: 500 23px var(--font-display); margin-bottom: 10px; }
.online-library-settings p { font: 600 16px/1.6 var(--font-body); margin-bottom: 12px; color: #5c5069; }
#tab-settings[data-ai-model-tab='image'] .ai-token-panel { display: none !important; }
#admin-modal .edition-copy-button { color: #51396f; background: #ece1fa; border: 1px solid #ccbbdf; padding: 10px 14px; margin-top: 8px; }
@media(max-width:900px) { #come-alive-modal .packages-grid { grid-template-columns: 1fr; } #come-alive-modal .come-alive-card { padding: 28px 20px; } }
@media(max-width:600px) { .shelf-unit .empty-slot-card { min-height: 175px; padding: 16px 16px 22px; gap: 6px; } .empty-slot-add-btn { margin-bottom: 6px; } .app-brand { font-size: 13px; } .app-brand strong { font-size: 17px; } }
button, input, select, textarea { font-family: var(--font-body); }
button { cursor: pointer; }
button:focus-visible, summary:focus-visible, [role='button']:focus-visible {
  outline: 3px solid #5841a0; outline-offset: 4px;
}
button:disabled { cursor: default; }
/* Puffy, tactile controls with quiet colors and strong lettering. */
:is(.shelf-header,.reader-topbar,.reader-bottom-nav,#admin-modal,.modal-backdrop) button:not(.reader-word):not(.progress-dot):not(.canvas-page-thumb):not(.segment-select):not(.segment-icon-button) {
  border-radius: 20px; font-family: var(--font-display); font-weight: 500;
  transition: background .18s, box-shadow .18s, transform .18s;
}
.shelf-header { background: #f8fbf6; border-bottom: 2px solid #e1eadf; padding: 12px 24px; min-height: 82px; }
.header-nav-capsule { background: #fff; border: 1px solid #e3dfee; padding: 6px; gap: 6px; border-radius: 26px; box-shadow: 0 4px 0 #e4e0ed; }
.nav-capsule-btn { min-height: 48px; font-size: 17px; color: #514968; }
.nav-capsule-btn.active { background: #e7dffd; color: #4d348a; box-shadow: inset 0 -3px 0 #cbbde9; }
.btn-come-alive-header { background: #ffe8a6; color: #684511; border: 2px solid #fff4d2; box-shadow: 0 4px 0 #e1bf6f; min-height: 48px; }
.header-btn, .btn-auth-header { background: #fff; color: #4c4170; border: 1px solid #e0d9eb; box-shadow: 0 4px 0 #ded7e9; min-height: 48px; }
.category-view-header { background: #fffaf3; border: 2px solid #fff; box-shadow: 0 5px 0 #ded8e9; }
.category-view-title { font-family: var(--font-display); font-weight: 500; }
.shelf-category-plaque { font-family: var(--font-display); font-weight: 600; color: #453653; text-shadow: none !important; box-shadow: 0 4px 0 #6a526326; border-color: #fff; }
.shelf-category-plaque.plaque-continue_reading { background: #d9efdf; color: #30583d; }
.shelf-category-plaque.plaque-classic_tales { background: #ffe0ec; color: #71334f; }
.shelf-category-plaque.plaque-christmas { background: #ffe0d8; color: #773d37; }
.shelf-category-plaque.plaque-activities { background: #ffe7ac; color: #634817; }
.shelf-category-plaque.plaque-bedtime_magic { background: #e7ddfb; color: #533975; }
/* A real workspace, with friendly toy-like tabs instead of screenshot sprites. */
#admin-modal { --admin-font-heading: 'Fredoka',sans-serif; --admin-font-body: 'Nunito',sans-serif; --dash-ink: #343356; --dash-muted: #6f6883; }
#admin-modal .admin-window { background: #f5f4fb; }
#admin-modal .admin-header { min-height: 104px; padding: 18px 3%; background: #fffdf8; border-bottom: 1px solid #e8e2ef; }
#admin-modal .admin-header::after, #admin-modal .admin-badge-icon::after { display: none; }
#admin-modal .admin-badge-icon { display: grid; place-items: center; width: 64px; height: 64px; font-size: 36px; border-radius: 23px; background: #efe6ff; box-shadow: 0 5px 0 #d8cbed; }
#admin-modal .admin-heading { color: #343356; font: 500 clamp(27px,3vw,38px)/1.15 var(--font-display); letter-spacing: 0; }
#admin-modal .admin-subheading { color: #70647d; font: 700 16px/1.5 var(--font-body); }
#admin-modal .admin-tabs { background: transparent; border: 0; box-shadow: none; padding: 16px 0 8px; margin-bottom: 16px; min-height: 92px; gap: 12px; }
#admin-modal .admin-tab-btn { border: 2px solid #fff; background: #fff7df; box-shadow: 0 5px 0 #e5dabc; padding: 12px 16px; gap: 12px; color: #594a2b; }
#admin-modal .admin-tab-btn[data-tab='tab-canvas-creator'] { background: #e3edff; color: #354f83; }
#admin-modal .admin-tab-btn[data-tab='tab-manage-books'] { background: #ffe5ed; color: #813e59; }
#admin-modal .admin-tab-btn[data-tab='tab-manage-shelves'] { background: #dff2e9; color: #315f51; }
#admin-modal .admin-tab-btn[data-tab='tab-settings'] { background: #eee5ff; color: #604585; }
#admin-modal .admin-tab-btn.active { border-color: #8061b8; box-shadow: 0 5px 0 #b8a5d6; }
#admin-modal .admin-tab-label strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; white-space: normal; }
#admin-modal .admin-tab-label small { color: inherit; opacity: .85; font-size: 13px; white-space: normal; }
#admin-modal .dashboard-tab-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #ffffff8a; border-radius: 15px; font-size: 25px; }
#admin-modal [data-tab='tab-canvas-creator'] .dashboard-tab-icon::after { content: '🎨'; }
#admin-modal [data-tab='tab-add-book'] .dashboard-tab-icon::after { content: '📖'; }
#admin-modal [data-tab='tab-manage-books'] .dashboard-tab-icon::after { content: '📚'; }
#admin-modal [data-tab='tab-manage-shelves'] .dashboard-tab-icon::after { content: '🌱'; }
#admin-modal [data-tab='tab-settings'] .dashboard-tab-icon::after { content: '⚙️'; }
#admin-modal :is(.dashboard-book-settings,.canvas-sidebar,.canvas-stage-wrapper) { background: #fff !important; border: 1px solid #e6e0ee !important; border-radius: 24px !important; box-shadow: 0 5px 0 #e8e3f1; }
#admin-modal .dashboard-book-settings { padding: 18px 22px !important; }
#admin-modal .form-label { color: #514765 !important; font-size: 15px !important; }
#admin-modal .creator-hint { color: #62536e; font-size: 14px; line-height: 1.6; }
#admin-modal :is(.form-input,.form-select,.form-textarea) { font-size: 16px; background: #faf9fd; border: 2px solid #e2ddeb; border-radius: 15px; color: #39334c; }
#admin-modal :is(.admin-section-heading,.page-status) { color: #514368; font-family: var(--font-display); font-weight: 500; }
#admin-modal .dashboard-disclosure { background: #f8f5fd; border-color: #e7dff0; padding: 12px; }
#admin-modal :is(.upload-file-btn,.page-navigation,.canvas-mode-pill-btn) { background: #eee5ff; border: 2px solid #fff; box-shadow: 0 4px 0 #d5c8e8; color: #594080; min-height: 44px; }
#admin-modal #canvas-btn-publish { background: #d9f2e5 !important; color: #285b48 !important; border: 2px solid #fff; box-shadow: 0 4px 0 #afd6c0; }
#admin-modal #canvas-btn-export-pdf { background: #eee4ff !important; color: #594080 !important; box-shadow: 0 4px 0 #d4c3e8; }
#admin-modal #canvas-segment-text { min-height: 90px; font-size: 17px !important; line-height: 1.6; }
#admin-modal .canvas-page-footer { background: #f8f5fd; border-radius: 20px; padding: 12px; gap: 10px; }
/* A calm reading nook: mint sky, cream paper, lavender binding. */
#reader-modal { background: radial-gradient(ellipse at 5% 15%,#fff0c9 0,transparent 35%),radial-gradient(ellipse at 96% 85%,#e3ddfb 0,transparent 45%),#edf5f0; }
.reader-options-bar { display: flex; justify-content: flex-end; padding: 8px 28px 0; flex-shrink: 0; position: relative; z-index: 25; }
.reader-reading-options summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid #d9cce8; border-radius: 16px; background: #fffcf7; color: #4f3d68; font: 500 16px var(--font-display); }
.reader-reading-options summary::-webkit-details-marker { display: none; }
.reader-options-panel { position: absolute; right: 28px; top: 100%; width: min(340px,calc(100vw - 32px)); padding: 20px; border: 2px solid #ddd0ec; border-radius: 20px; background: #fffdf8; box-shadow: 0 10px 30px #4d3b6626; color: #493958; display: flex; flex-direction: column; gap: 12px; }
.reader-options-panel label { font: 700 16px var(--font-body); }
.reader-options-panel select { font: 600 16px var(--font-body); width: 100%; padding: 10px; background: #f4eefb; color: #463252; border: 1px solid #d6c8e6; border-radius: 12px; }
.reader-options-panel p { font: 600 13px/1.5 var(--font-body); color: #706079; }
.reader-color-choice { display: flex; align-items: center; gap: 14px; }
#reader-highlight-color { width: 56px; height: 48px; padding: 4px; background: #fff; border: 2px solid #d6c8e6; border-radius: 12px; cursor: pointer; }
.reader-highlight-sample { padding: 5px 8px; border-radius: 6px; font: 700 16px var(--font-body); background: var(--reader-highlight-color,#ffe38a); color: var(--reader-highlight-ink,#000); }
#reader-modal :is(.page-story-text,.canvas-reader-text) .reader-word:is(.active-word,.read-word) { background: var(--reader-highlight-color,#ffe38a); color: var(--reader-highlight-ink,#000); box-shadow: none; padding: 0 2px; font-weight: inherit; transform: none; -webkit-text-stroke: 0; text-shadow: none; }
#reader-modal .canvas-reader-text .reader-word:is(.active-word,.read-word) { padding: 0; }
#reader-modal .reader-word.active-word { outline: 1px solid var(--reader-highlight-ink,#000); outline-offset: 1px; }
@media(max-width:700px) { .reader-options-bar { padding: 6px 16px 0; } .reader-options-panel { right: 16px; } }
#reader-modal.reader-loading .reader-stage { visibility: hidden; }
#reader-modal.reader-loading :is(.reader-bottom-nav,.btn-read-aloud,.btn-reader-upgrade,.reader-edition-picker) { pointer-events: none; opacity: .45; }
#reader-modal .reader-topbar { padding: 18px 28px; background: #fffdf8ed; border-bottom: 1px solid #e0e5dc; backdrop-filter: none; gap: 18px; }
.reader-book-title { color: #393153; text-shadow: none; font: 500 clamp(21px,2.2vw,30px)/1.15 var(--font-display); }
.reader-book-author { color: #756b81; font-size: 14px; }
.reader-meta-row { flex-wrap: wrap; }
.reader-tier-badge.tier-free { color: #4c6c5b; background: #e3f0e8; border: 0; text-transform: none; letter-spacing: 0; font-size: 12px; }
.reader-tier-badge.tier-come-alive { background: #eee0f6; color: #614072; border-color: #d6bfe2; box-shadow: none; }
.reader-tier-badge.tier-cinematic { background: #e0eafb; color: #38557b; border-color: #bdcde5; box-shadow: none; }
#reader-modal .btn-reader-upgrade { background: #eee6f9; color: #635080; border: 1px solid #ded1ed; animation: none; box-shadow: none; font-size: 13px; }
#reader-modal .btn-read-aloud { min-height: 52px; padding: 12px 24px; background: #ffe3a0; color: #634716; border: 2px solid #fff5d5; box-shadow: 0 5px 0 #d8bb78; font-size: 19px; }
#reader-modal .btn-read-aloud.speaking { background: #d2eddf; color: #2c604a; box-shadow: 0 5px 0 #a6ccb9; }
#reader-modal .btn-reader-close { width: 50px; height: 50px; background: #fff; color: #685876; border: 2px solid #e8e0ed; box-shadow: 0 4px 0 #ded6e5; }
.reader-stage { padding: 32px 38px; min-height: 0; }
.open-book-spread { max-width: 1080px; max-height: 710px; border-radius: 20px; background: #fffdf6; box-shadow: 0 16px 40px #72618426,0 0 0 7px #b6a4ce,0 7px 0 7px #9580b2; }
.open-book-spread .page-left,.open-book-spread .page-right { background: #fffdf6; border-bottom: 0; box-shadow: none; }
.page-illustration-wrap { box-shadow: none; background: transparent; border-radius: 16px; }
.page-illustration-wrap img { object-fit: contain; }
.page-chapter-title { color: #7c6898; font-family: var(--font-display); font-weight: 500; }
.page-story-text { color: #342e45; font-family: 'Nunito',sans-serif; font-size: clamp(24px,2.5vw,34px); line-height: 1.8; letter-spacing: .01em; }
.book-gutter { width: 24px; background: linear-gradient(90deg,transparent,#77624b14,transparent); }
.page-corner-fold { display: none; }
.reader-bottom-nav { background: transparent; border: 0; padding: 12px 28px 24px; gap: 14px; }
#reader-modal .reader-btn-nav { min-height: 54px; padding: 12px 28px; font-size: 20px; border: 2px solid #fff; color: #4e3a73; background: #e6dcfa; box-shadow: 0 5px 0 #c5b5df; }
#reader-modal .btn-nav-next { background: #d6eee0; color: #315d49; box-shadow: 0 5px 0 #aecdbb; }
.reader-progress-group { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 5px; }
.reader-page-status { color: #625773; font: 500 16px var(--font-display); }
.reader-progress-dots { max-width: min(36vw,400px); overflow-x: auto; gap: 3px; padding: 3px; }
#reader-modal .progress-dot { flex: 0 0 24px; width: 24px; height: 24px; border: 7px solid #edf5f0; background: #cec4dc; box-shadow: none; transform: none; }
#reader-modal .progress-dot.active { background: #72559a; }
#reader-modal .progress-dot.visited { background: #80b49a; }
.celebration-card,.locked-card { background: #fffaf2; color: #443454; border: 3px solid #e0d1ee; box-shadow: 0 20px 60px #59447233; border-radius: 32px; }
.celebration-title,.locked-title { color: #614481; font-family: var(--font-display); }
.celebration-card p,.locked-desc { color: #6e6179 !important; }
/* Each canvas document page is one physical page, with no invented facing page. */
.canvas-reading .open-book-spread { width: auto; height: min(100%,710px); aspect-ratio: 10 / 7; max-width: 100%; }
.canvas-reading .open-book-spread > :is(.page-left,.page-right) { padding: 0; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.canvas-reading .open-book-spread > .page-right { text-align: initial; }
.canvas-reading .page-left > :not(.canvas-reader-face),.canvas-reading .page-right > :not(.canvas-reader-face) { display: none !important; }
.canvas-reading .open-book-spread > .canvas-face-hidden { display: none; }
.canvas-reading .open-book-spread:has(.canvas-face-hidden) { aspect-ratio: 5 / 7; }
.canvas-reading .open-book-spread:has(.canvas-face-hidden) .book-gutter { display: none; }
.canvas-reader-face { width: 100%; position: relative; overflow: hidden; container-type: inline-size; }
.canvas-reader-paper { position: absolute; top: 0; left: 0; transform-origin: top left; }
.canvas-reader-paper > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.canvas-reader-text { position: absolute; white-space: normal; }
.canvas-reader-text .reader-word { padding: 0; margin: 0; border-radius: 3px; display: inline; letter-spacing: normal; word-spacing: normal; }
.canvas-reader-text .reader-word.active-word { color: #332643; background: #ffe38a; box-shadow: 0 0 0 2px #ffe38a; }
/* A paired canvas spread becomes a single story scene on a phone. */
.mobile-story-scene { aspect-ratio: 5 / 7; height: 100%; display: grid; grid-template-rows: minmax(30%,auto) minmax(0,1fr); background: #fffdf5; }
.mobile-story-scene .mobile-scene-words { position: static; padding: 14px 18px; color: #2e2455; font: 700 clamp(18px,5cqw,26px)/1.4 var(--font-body); text-align: center; display: flex; flex-direction: column; justify-content: center; overflow-wrap: anywhere; }
.mobile-scene-words p { margin: 0; }
.mobile-scene-art { min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mobile-scene-art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width:1100px) {
  #admin-modal .dashboard-book-settings > .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px !important; }
  #admin-modal .dashboard-book-settings .form-group:nth-child(n+3) { padding-left: 0; border-left: 0; }
  #admin-modal .dashboard-tab-icon { display: none; }
  #admin-modal .admin-tab-label small { display: none; }
  .shelf-header { padding: 12px; flex-wrap: wrap; }
  .reader-top-actions { gap: 8px; }
  #reader-modal .btn-reader-upgrade { display: none !important; }
}
@media (max-width:700px) {
  #admin-modal .admin-header { padding: 16px; min-height: 90px; }
  #admin-modal .admin-badge-icon { display: none; }
  #admin-modal .admin-tabs { overflow-x: auto; gap: 8px; min-height: 74px; }
  #admin-modal .admin-tab-btn { flex: 0 0 auto; min-width: 100px; padding: 10px 14px; }
  #admin-modal .admin-tab-label strong { font-size: 16px; }
  #admin-modal .admin-header-actions { gap: 8px; }
  #admin-modal .dashboard-avatar { display: none; }
  #admin-modal .dashboard-book-settings > .form-grid { grid-template-columns: 1fr !important; }
  #admin-modal .canvas-editor-layout { display: flex; flex-direction: column; }
  #admin-modal .canvas-sidebar { max-height: 360px !important; flex: 0 0 auto; }
  #reader-modal .reader-topbar { padding: 12px 14px; flex-wrap: wrap; }
  .reader-book-info { flex: 1; min-width: 140px; }
  #reader-modal .btn-read-aloud { padding: 10px 14px; min-height: 48px; font-size: 17px; }
  .reader-stage { padding: 20px 16px; }
  .canvas-reading .open-book-spread { aspect-ratio: 5 / 7; height: auto; max-height: 100%; width: min(100%,calc((100dvh - 240px)*5/7)); flex-direction: row; }
  .canvas-reading .open-book-spread > .page-left { display: flex; height: auto; min-height: 0; order: 0; }
  .canvas-reading .book-gutter { display: none; }
  #reader-modal .reader-bottom-nav { padding: 10px 12px 20px; }
  #reader-modal .reader-btn-nav { padding: 10px 16px; font-size: 17px; min-height: 48px; }
  .reader-progress-dots { display: none; }
  .reader-page-status { font-size: 14px; text-align: center; }
}
@media (prefers-reduced-motion:reduce) {
  #reader-modal *,#admin-modal *, .shelf-header * { animation: none !important; transition: none !important; }
}
