/* Quran metadata is part of the paper, in every orientation and reading mode. */
.qpc-meta{font-family:Amiri,serif;fill:#716137}.qpc-heading{fill:#846e3d}.qpc-paper{fill:#fffef8;stroke:#b5a477}.qpc-ink{fill:#172b25}.reader-main .leaf-heading{display:none!important}
body.dark .qpc-paper{fill:#142c27;stroke:#a18b57}body.dark .qpc-meta,body.dark .qpc-heading{fill:#dac58d}body.dark .qpc-ink{fill:#ede7d6;font-palette:var(--qpc-night-palette,normal)}body.dark .vector-page,body.dark .paper-leaf,body.dark .vertical-page{background:#142c27;color:#ede7d6}body.dark .book{border-color:#746940;background:#142c27}body.dark .leaf-foot,body.dark .page-text-button,body.dark .page-medallion{background:#142c27;color:#ede7d6}body.dark .flow-page,body.dark .offline-page{background:#142c27;color:#ede7d6}body.dark .flow-word{font-palette:var(--qpc-night-palette,normal)}
body.reading-mode .reader-main .leaf-foot{display:flex!important}body.reading-mode .reader-main .paper-leaf{padding:2px}
body.book-view .book-toolbar:after{content:none}#reader-night{font-size:18px!important}
.scroll-reader-bar{z-index:6;flex-wrap:wrap}.vertical-page-label{display:none}.vertical-page{background:var(--paper);padding:8px;margin:12px auto;max-width:740px}.vertical-vector{background:transparent}.vertical-page .toolbar{justify-content:center}
body.scroll-focus{overflow:hidden;overscroll-behavior:none}body.scroll-focus #sidebar,body.scroll-focus #shell>header,body.scroll-focus #shell>footer{display:none!important}body.scroll-focus #shell{position:fixed;inset:0;z-index:100;margin:0;width:100%;height:var(--screen-vh,100dvh);overflow:hidden;background:var(--bg)}body.scroll-focus #main{height:100%;max-width:none;width:100%;margin:0;padding:5px 0;overflow:auto;overscroll-behavior:contain}body.scroll-focus .page-heading,body.scroll-focus .reader-editions,body.scroll-focus .notice{display:none!important}body.scroll-focus .scroll-reader-bar{position:fixed;inset-inline:0;top:0;z-index:120;margin:0;width:100%;box-sizing:border-box;background:var(--paper);padding:7px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:0 8px 18px #0001;transition:transform .2s ease,opacity .16s ease}body.scroll-focus #main{padding-top:calc(var(--scroll-focus-bar,96px) + 4px)!important;padding-inline:max(0px,env(safe-area-inset-left)) max(0px,env(safe-area-inset-right))!important}body.scroll-focus.scroll-bar-hidden .scroll-reader-bar{transform:translateY(-110%);opacity:0;pointer-events:none}body.scroll-focus.scroll-bar-hidden #main{padding-top:max(2px,env(safe-area-inset-top))!important}body.scroll-focus #scroll-pages,body.scroll-focus #vertical-leaves{width:100%;max-width:none;margin:0;padding:0}body.scroll-focus .vertical-page{width:100%;max-width:100%;margin:0 auto 8px;padding:0;box-sizing:border-box}body.scroll-focus .vertical-page>img,body.scroll-focus .vertical-vector,body.scroll-focus .vertical-page svg{width:100%!important;max-width:100%;height:auto;display:block}body.scroll-focus .vertical-page .toolbar{padding:6px 8px}
.offline-choice{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:10px;margin:8px 0;cursor:pointer}.offline-choice input{width:22px;height:22px;accent-color:var(--green);flex:none}.offline-choice span{min-width:0;display:grid;gap:4px}.offline-choice b{font-size:15px;font-weight:500}.offline-choice small{font-size:12px;color:var(--muted)}.offline-dialog progress{display:block;width:100%;height:12px;margin:15px 0;accent-color:var(--gold)}#offline-pack-progress,#offline-total{font-size:14px;line-height:1.8}.offline-dialog .device-state-tools{position:sticky;bottom:-20px;background:var(--paper);padding:10px 0;z-index:2}#device-settings{font-size:21px}
@font-face{font-family:SakinahOfflineHafs;src:url(assets/uthmanic-hafs.woff2) format("woff2");font-display:swap}
body.library-reader-view{overflow:hidden}body.library-reader-view #shell{height:var(--screen-vh,100dvh);overflow:hidden;display:flex;flex-direction:column}body.library-reader-view #shell>footer{display:none}body.library-reader-view #shell>header{height:45px;min-height:45px;padding:3px 12px;flex:none}body.library-reader-view main.library-reader{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:6px 10px;gap:6px;overflow:hidden}.library-reader-top,.library-reader-tools,.library-navigation{display:flex;gap:8px;align-items:center;justify-content:center;flex:none;min-width:0}.library-reader-top h1{font:22px/1.5 Amiri,serif;margin:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-reader-top .library-back{flex:none;max-width:42%;overflow:hidden;text-overflow:ellipsis}.library-reader-tools .chip,.library-reader-top .chip,.library-navigation .chip{min-height:32px;height:32px;padding:2px 12px;white-space:nowrap}.library-reader-tools{flex-wrap:wrap}.library-stage{position:relative;flex:1;min-height:0;background:radial-gradient(ellipse at center,#1f4a3e 0%,#12352c 55%,#0d281f 100%);border:1px solid #b58d5570;border-radius:12px;padding:10px;display:flex;justify-content:center;align-items:center;gap:0;overflow:hidden;direction:rtl;touch-action:pan-y;box-shadow:inset 0 0 40px #0004}.library-spread-frame{display:flex;flex-direction:row-reverse;align-items:stretch;justify-content:center;height:100%;max-height:100%;gap:0;filter:drop-shadow(0 14px 28px #0005)}.library-paper{width:var(--library-page-width,400px);max-width:100%;aspect-ratio:1/1.4142;flex:none;min-height:0;height:100%;max-height:100%;display:flex;flex-direction:column;background:#fffef8;color:#172b25;border:1px solid #b5a477;box-shadow:0 4px 16px #0003;padding:14px 18px;box-sizing:border-box;transition:transform .38s cubic-bezier(.35,.05,.2,1),box-shadow .38s}.library-paper.right-leaf{border-radius:4px 10px 10px 4px;box-shadow:inset -10px 0 18px #0001,2px 0 0 #eadfbf,0 8px 22px #0003}.library-paper.left-leaf{border-radius:10px 4px 4px 10px;box-shadow:inset 10px 0 18px #0001,-2px 0 0 #eadfbf,0 8px 22px #0003}.library-paper.single-leaf{border-radius:10px;box-shadow:0 10px 28px #0004,inset 0 0 0 1px #cbb98a55}.library-stage.library-turn-next .library-paper.right-leaf,.library-stage.library-turn-next .library-paper.single-leaf{transform:perspective(1400px) rotateY(-18deg);transform-origin:right center}.library-stage.library-turn-prev .library-paper.left-leaf,.library-stage.library-turn-prev .library-paper.single-leaf{transform:perspective(1400px) rotateY(18deg);transform-origin:left center}.library-empty{color:#f3ead0;text-align:center;margin:auto;font:18px/1.7 Amiri,serif}.library-leaf-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex:none;min-height:24px;border-bottom:1px solid #b5a47788;padding-bottom:4px;font:12px/1.5 Amiri,serif;color:#846e3d}.library-leaf-head span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-paper-body{flex:1;min-height:0;overflow:hidden!important;display:flex;flex-direction:column;padding:10px 4px 6px}.library-paper-body h2{font:600 var(--library-font,28px)/1.55 Amiri,'Noto Naskh Arabic',serif;color:#846e3d;margin:0 0 14px;flex:none;text-align:center}.library-text{font-family:Amiri,'Noto Naskh Arabic',serif;font-size:var(--library-font,28px);line-height:2.05;text-align:justify;text-justify:inter-word;text-align-last:right;direction:rtl;margin:0;flex:1 1 auto;min-height:0;font-synthesis:none}.library-para{margin:0 0 .85em;padding:0;white-space:normal;text-align:justify;text-justify:inter-word;text-align-last:right}.library-para:last-child{margin-bottom:0}.library-reference{font:11px/1.6 'IBM Plex Sans Arabic',sans-serif;color:#6f715f;display:block;margin-top:10px;flex:none;text-align:center}.library-leaf-foot{display:flex;justify-content:center;gap:15px;font:16px/1.5 Amiri,serif;border-top:1px solid #b5a47788;flex:none;min-height:25px;padding-top:3px}.library-paper-body img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.library-measure{position:absolute;visibility:hidden;pointer-events:none;inset-inline-start:0;top:0}.library-continuous{display:block;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-top:12px;padding:8px 4px 20px;-webkit-overflow-scrolling:touch;align-items:initial}.library-continuous .library-scroll-page{width:min(var(--library-page-width),100%);max-width:100%;margin:0 auto 18px}.library-continuous .library-paper{width:100%;height:auto;max-height:none;aspect-ratio:auto;min-height:0;padding:18px 20px 16px}.library-continuous .library-paper-body{overflow:visible;flex:none}.library-continuous .library-text{flex:none}.library-navigation{font-size:15px}.library-navigation>span{min-width:100px;text-align:center}body[data-library-mode=scroll] .library-navigation{justify-content:center}body.dark .library-paper{background:#142c27;color:#ede7d6;border-color:#a18b57}body.dark .library-paper.text-edition{background-color:#142c27}body.dark .library-paper-body h2,body.dark .library-leaf-head{color:#dac58d}body.dark .library-reference{color:#a6b8a7}body.dark .library-paper img{filter:invert(.88) hue-rotate(180deg)}body.dark .library-paper.right-leaf,body.dark .library-paper.left-leaf{box-shadow:inset 0 0 18px #0006,0 8px 22px #0005}body.dark .library-stage{background:radial-gradient(ellipse at center,#16362e 0%,#0c221c 70%)}body.library-focus #sidebar,body.library-focus #shell>header{display:none!important}body.library-focus #shell{position:fixed;inset:0;z-index:100;margin:0;width:100%;height:var(--screen-vh,100dvh)}body.library-focus .library-reader-top{display:none}
.arabic-text,.prayer-slide .arabic-text,.dhikr-card>.arabic-text,.screen-deck .dhikr-card>.arabic-text{font-family:SakinahOfflineHafs,Amiri,'Noto Naskh Arabic',serif;text-align:justify;text-justify:inter-word;text-align-last:center;direction:rtl;font-synthesis:none;line-height:2.05}
@media(max-width:600px){.library-paper{padding:8px 12px}.library-reader-tools{gap:4px}.library-reader-tools .chip{font-size:12px;padding:2px 8px}.library-leaf-head{font-size:11px}.library-reader-top h1{font-size:20px}.library-paper-body h2{font-size:21px}.library-reader-top{gap:4px}.offline-dialog .device-state-tools{bottom:-15px}.header-actions{gap:4px!important}#device-settings{width:30px;min-width:30px}}
@media(max-height:500px){body.library-reader-view #shell>header{display:none}.library-reader-top{display:none}body.library-reader-view main.library-reader{gap:3px;padding:3px}.library-paper{padding:4px 8px}.library-leaf-head{min-height:18px;font-size:10px}.library-leaf-foot{min-height:20px;font-size:12px}.library-paper-body{padding:5px 0}.library-reader-tools .chip{height:28px;min-height:28px}.library-navigation .chip{height:27px;min-height:27px}}

.qpc-ornament{pointer-events:none}.qpc-rosette{fill:#fffef8}body.dark .qpc-ornament{stroke:#c2aa70}body.dark .qpc-rosette{fill:#142c27}.library-collections{flex:none;min-width:0;width:100%;margin:0;padding:0}.library-collections-track{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:6px 2px 10px;scroll-snap-type:x proximity}.library-collections .chip{flex:none;scroll-snap-align:center;white-space:nowrap;font-size:14px;min-height:40px;padding:6px 16px;border:1px solid var(--line);background:var(--paper)}.library-collections [aria-current="page"]{background:var(--green);color:var(--paper);border-color:var(--green)}.library-source-link{color:var(--gold);font-size:12px}.library-edition-note{font-size:12px;line-height:1.8;padding:10px;border-inline-start:2px solid var(--gold);background:var(--soft)}
.catalog-books.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;align-content:start}.catalog-books .book-card{overflow:visible;height:auto;min-height:0;align-items:stretch;justify-content:flex-start;padding:18px 16px;gap:10px;text-align:center}.catalog-books .book-card h2{overflow:visible;max-height:none;font-size:20px;line-height:1.45}.catalog-books .book-card p{overflow:visible;display:block;-webkit-line-clamp:unset;font-size:13px}.catalog-books .book-card .hint{display:none}.catalog-books .book-card .book-emblem{width:64px;height:64px}
@media(orientation:landscape) and (max-height:520px){body.library-reader-view #shell>header,.library-reader-top{display:none}.library-reader-tools{gap:4px}.library-stage{padding:4px}.library-paper{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.library-paper{transition:none!important}.library-stage.library-turn-next .library-paper,.library-stage.library-turn-prev .library-paper{transform:none!important}}

/* Library path / back navigation */
.library-path{
  display:flex;align-items:center;gap:10px;flex:none;flex-wrap:wrap;
  margin:0;padding:4px 0 2px;min-width:0;
}
.library-path .library-back{
  flex:none;min-height:38px;padding:6px 14px;font-size:14px;
  background:var(--green,#173f35);color:#fffef8;border-color:transparent;
}
.library-path .library-crumbs{
  display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0;padding:0;list-style:none;min-width:0;
}
.library-path .library-crumbs li{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted,#6f715f)}
.library-path .library-crumb-sep{opacity:.55;margin-inline-end:2px}
.library-path .library-crumbs a{color:var(--green,#173f35);text-decoration:none}
.library-path .library-crumbs [aria-current="page"]{color:var(--ink,#223e34);font-weight:600}

/* Shelf cards: grow with content so #main scrolls — never compress into overlapping rows */
.books-grid.shelf-grid,
.catalog-books.catalog-grid,
.books-grid.shelf-grid.catalog-grid{
  flex:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-content:start!important;
  align-items:start!important;
  grid-auto-rows:auto!important;
  grid-template-rows:none!important;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;
  gap:32px 20px!important;
  justify-items:center;
  padding:12px 4px 40px;
  width:100%;
}
.book-card.shelf-card,
.catalog-books .book-card.shelf-card,
.screen-deck .book-card.shelf-card{
  width:100%;
  max-width:230px;
  margin:0!important;
  padding:14px 12px 16px!important;
  gap:12px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--ink,#223e34)!important;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start!important;
  min-height:auto!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  position:relative;
  z-index:1;
  align-self:start;
}
.book-card.shelf-card .book-seal{
  width:104px;height:104px;border-radius:50%;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 35% 30%,#fff8e8 0%,#f3e6c4 42%,#e6d3a0 100%);
  border:3px solid #ad925c;
  box-shadow:
    0 0 0 5px color-mix(in srgb,#173f35 88%,#000),
    0 10px 22px color-mix(in srgb,#173f35 22%,transparent);
  flex:none;
}
.book-card.shelf-card .book-emblem,
.catalog-books .book-card.shelf-card .book-emblem,
.screen-deck .book-card.shelf-card .book-emblem{
  width:64px!important;height:64px!important;min-height:0!important;
  object-fit:contain;display:block;margin:0;filter:none;
}
.book-card.shelf-card>h2,
.catalog-books .book-card.shelf-card>h2,
.screen-deck .book-card.shelf-card>h2{
  margin:2px 0 0!important;
  font:600 15px/1.5 'IBM Plex Sans Arabic',Amiri,serif!important;
  color:var(--green,#173f35)!important;
  max-height:none!important;
  min-height:2.9em;
  overflow:visible!important;
  display:block!important;
  -webkit-line-clamp:unset!important;
  width:100%;
}
.book-card.shelf-card .book-meta,
.book-card.shelf-card>p{
  margin:0!important;
  font-size:12px!important;
  line-height:1.55!important;
  color:color-mix(in srgb,var(--ink,#223e34) 70%,transparent)!important;
  max-height:3.2em;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  width:100%;
}
.book-card.shelf-card .book-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  width:100%;
  margin-top:2px;
  flex:none;
}
.book-card.shelf-card .book-actions .btn,
.catalog-books .book-card.shelf-card .book-actions .btn,
.screen-deck .book-card.shelf-card .book-actions .btn{
  width:100%;
  min-height:40px!important;
  padding:8px 10px!important;
  font-size:13px!important;
  border-radius:999px;
  justify-content:center;
  white-space:nowrap;
  flex:none!important;
  margin:0!important;
  position:relative;
  z-index:2;
}
.book-card.shelf-card .book-read{
  background:var(--green,#173f35)!important;
  color:#fffef8!important;
  border-color:transparent!important;
}
.book-card.shelf-card .book-pdf{
  background:#f4ead0!important;
  color:var(--green,#173f35)!important;
  border:1px solid #c9b27a!important;
}
.book-card.shelf-card .book-pdf[disabled]{
  opacity:.45;cursor:not-allowed;
}
.book-card.shelf-card>small{display:none!important}
@media(min-width:900px){
  .book-card.shelf-card .book-actions{grid-template-columns:1fr 1fr}
  .book-card.shelf-card .book-actions .btn{font-size:12px!important;min-height:38px!important}
}
@media(max-width:560px){
  .books-grid.shelf-grid,.catalog-books.catalog-grid,.books-grid.shelf-grid.catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px 12px!important;
  }
  .book-card.shelf-card{max-width:none;padding:10px 4px 14px!important}
  .book-card.shelf-card .book-seal{width:88px;height:88px}
  .book-card.shelf-card .book-emblem{width:52px!important;height:52px!important}
  .book-card.shelf-card>h2{font-size:13px!important;min-height:2.7em}
}
@media(min-width:1200px){
  .books-grid.shelf-grid,.catalog-books.catalog-grid,.books-grid.shelf-grid.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(min-width:900px) and (max-width:1199px){
  .books-grid.shelf-grid,.catalog-books.catalog-grid,.books-grid.shelf-grid.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Book pages: fixed leaf look, not editable text */
body.library-reader-view .library-paper,
body.library-reader-view .library-paper *{
  user-select:none!important;
  -webkit-user-select:none!important;
  -webkit-user-drag:none!important;
  caret-color:transparent;
}
body.library-reader-view .library-paper{
  cursor:default;
  background:
    linear-gradient(90deg,#f7f1df 0 1.5%,#fffef8 4%,#fffef8 96%,#f1e8d0 100%),
    #fffef8;
  border:1px solid #b5a477;
  box-shadow:
    inset 0 0 0 1px #fff8e8,
    0 10px 28px rgba(23,63,53,.18);
}
body.library-reader-view .library-paper.right-leaf{
  border-radius:3px 14px 14px 3px;
  box-shadow:inset -14px 0 24px rgba(0,0,0,.06),3px 0 0 #eadfbf,0 12px 28px rgba(0,0,0,.18);
}
body.library-reader-view .library-paper.left-leaf{
  border-radius:14px 3px 3px 14px;
  box-shadow:inset 14px 0 24px rgba(0,0,0,.06),-3px 0 0 #eadfbf,0 12px 28px rgba(0,0,0,.18);
}
body.library-reader-view .library-text,
body.library-reader-view .library-para{
  pointer-events:none;
}
body.library-reader-view .library-paper img{
  pointer-events:none;
  -webkit-user-drag:none;
}
body.library-reader-view .library-stage.library-spread .library-spread-frame{
  gap:0;
  filter:drop-shadow(0 14px 30px rgba(23,63,53,.2));
}

/* Unified fixed-page book reading */
body.library-reader-view .library-paper-body{overflow:hidden!important;scrollbar-width:none}
body.library-reader-view .library-paper-body::-webkit-scrollbar{display:none;width:0;height:0}
body.library-reader-view .library-text,
body.library-reader-view .library-para,
body.library-reader-view .library-paper-body h2{
  font-family:Amiri,'Noto Naskh Arabic',serif!important;
}
body.library-reader-view .library-paper.image-edition .library-paper-body{
  display:grid;place-items:center;overflow:hidden!important;
}
body.library-reader-view .library-paper.image-edition img{
  max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
}
body.library-reader-view .library-text{
  overflow:hidden!important;flex:1;min-height:0;
}
.library-measure .library-para{margin:0 0 .55em;padding:0;line-height:1.85;font-family:Amiri,'Noto Naskh Arabic',serif}

/* Arabic book spread: isolate from page RTL so left/right leaves stay correct */
.library-stage.library-spread .library-spread-frame,
body.library-reader-view .library-spread-frame{
  direction:ltr!important;
  display:flex!important;
  flex-direction:row!important; /* DOM: left leaf, then right leaf */
  align-items:stretch;
  justify-content:center;
  height:100%;
  max-height:100%;
  gap:0;
  filter:drop-shadow(0 14px 28px #0005);
}
.library-spread-frame .library-paper{
  direction:rtl;
}
.library-paper.is-blank{
  background:#f3ecd8!important;
  border-style:dashed!important;
  opacity:.55;
  box-shadow:none!important;
}
.library-paper.is-blank .library-leaf-head,
.library-paper.is-blank .library-leaf-foot,
.library-paper.is-blank .library-paper-body{visibility:hidden}

/* Book body typography: dense flowing Arabic, not spaced OCR lines */
body.library-reader-view .library-paper-body{
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start!important;
  padding:12px 16px 8px!important;
  place-items:unset!important;
}
body.library-reader-view .library-paper-body h2{
  font:600 calc(var(--library-font,24px) * 1.05)/1.45 Amiri,'Noto Naskh Arabic',serif!important;
  margin:0 0 10px!important;
  text-align:center;
  color:#7a6434;
}
body.library-reader-view .library-text{
  display:block!important;
  flex:0 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  font-family:Amiri,'Noto Naskh Arabic',serif!important;
  font-size:var(--library-font,24px)!important;
  line-height:1.85!important;
  text-align:justify!important;
  text-justify:inter-word!important;
  text-align-last:right!important;
  direction:rtl!important;
  color:#172b25;
  font-feature-settings:"liga" 1,"calt" 1;
}
body.library-reader-view .library-para{
  margin:0 0 .55em!important;
  padding:0!important;
  font:inherit!important;
  line-height:inherit!important;
  text-align:justify!important;
  text-justify:inter-word!important;
  text-align-last:right!important;
  white-space:normal!important;
  word-spacing:normal!important;
  letter-spacing:normal!important;
}
body.library-reader-view .library-para:last-child{margin-bottom:0!important}
body.library-reader-view .library-reference{
  margin-top:8px!important;
  font:12px/1.5 'IBM Plex Sans Arabic',sans-serif!important;
  text-align:center;
}
body.dark .library-reader-view .library-text,
body.dark.library-reader-view .library-text{color:#ede7d6}
@media(max-width:700px){
  body.library-reader-view .library-paper-body{padding:10px 12px 6px!important}
  body.library-reader-view .library-text{line-height:1.8!important}
}
