
/* source: shaliz-v475-reflection.css */
/* V475: guest-only plain notice immediately above the save/login button */
#view-reflection .v475-guest-warning{margin:17px 0 9px;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;color:#d6c4a8;font-size:.9rem;line-height:1.85;text-align:right}
#view-reflection .v475-guest-warning[hidden]{display:none!important}
/* Deep near-black ink only on the translucent antique-rose writing surface */
html body.studio-app #view-reflection textarea#journalEntry[data-paper="rose"]{color:#120d0f!important;-webkit-text-fill-color:#120d0f!important;caret-color:#120d0f!important}
html body.studio-app #view-reflection textarea#journalEntry[data-paper="rose"]::selection{background:rgba(43,24,33,.23);color:#100b0d}



/* source: shaliz-v477-reflection-layout.css */
/* V477: journal page controls beneath paper swatches, title alone above writing. */
html body.studio-app #view-reflection .v461-book-nav{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  width:100%!important;justify-content:flex-start!important;direction:ltr!important;
  gap:5px!important;margin:7px 0 5px!important;padding:0!important;
}
html body.studio-app #view-reflection .v461-book-nav #v461PageNum{white-space:nowrap!important;min-width:0!important}
html body.studio-app #view-reflection .v461-book-nav #v461Prev,
html body.studio-app #view-reflection .v461-book-nav #v461Next,
html body.studio-app #view-reflection .v461-book-nav #v461Add{order:initial!important;flex:0 0 auto!important}
html body.studio-app #view-reflection .v477-notebook-title{
  display:flex!important;justify-content:flex-start!important;align-items:center!important;
  direction:rtl!important;text-align:right!important;width:100%!important;margin:4px 0 9px!important;
}
html body.studio-app #view-reflection .v477-notebook-title #v464CurrentNotebookTitle{
  display:block!important;flex:none!important;max-width:100%!important;margin:0!important;
  text-align:right!important;direction:rtl!important;color:#d8b577!important;
  -webkit-text-fill-color:#d8b577!important;font-size:20px!important;font-weight:600!important;
}
/* V478: more opaque antique rose (92%), retain paper texture and dark ink. */
html body.studio-app #view-reflection textarea#journalEntry[data-paper="rose"]{
  background-image:radial-gradient(ellipse at 18% 17%,rgba(238,199,193,.13),transparent 58%),
    radial-gradient(ellipse at 88% 83%,rgba(69,42,47,.11),transparent 58%),
    linear-gradient(125deg,rgba(185,143,152,.92),rgba(159,121,129,.92))!important;
  background-color:transparent!important;caret-color:#120d0f!important;
}
/* White insertion caret on mobile for every paper except antique rose. */
@media (max-width: 767px){
 html body.studio-app #view-reflection textarea#journalEntry:not([data-paper="rose"]){caret-color:#fff!important;}
 html body.studio-app #view-reflection textarea#journalEntry[data-paper="rose"]{caret-color:#120d0f!important;}
 html body.studio-app #view-reflection .v461-book-nav{gap:3px!important;}
 html body.studio-app #view-reflection .v461-book-nav #v461PageNum{font-size:11px!important;}
 html body.studio-app #view-reflection .v477-notebook-title #v464CurrentNotebookTitle{font-size:18px!important;}
}



/* source: shaliz-v480-journal-nav.css */
/* V480: one aligned heading row: title at right, navigation at left. */
html body.studio-app #view-reflection .v480-journal-heading-row{
 display:flex!important;flex-direction:row!important;direction:rtl!important;
 align-items:center!important;justify-content:space-between!important;
 gap:12px!important;width:100%!important;margin:9px 0 10px!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v477-notebook-title{
 order:0!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
 margin:0!important;justify-content:flex-start!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav{
 order:1!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;
 margin:0!important;padding:0!important;gap:9px!important;justify-content:flex-start!important;
 direction:rtl!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Add{
 order:-1!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav button{
 font-size:16px!important;min-width:32px!important;min-height:34px!important;
 padding:4px 7px!important;line-height:1.25!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Add{
 font-size:13px!important;min-width:auto!important;padding:5px 9px!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461PageNum{
 font-size:13px!important;white-space:nowrap!important;
}
@media(max-width:767px){
 html body.studio-app #view-reflection .v480-journal-heading-row{gap:5px!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav{gap:3px!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav button{
  font-size:17px!important;min-width:25px!important;min-height:32px!important;padding:3px 4px!important;
 }
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Add{
  font-size:12px!important;padding:4px 5px!important;
 }
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461PageNum{font-size:12px!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v477-notebook-title #v464CurrentNotebookTitle{
  font-size:18px!important;overflow-wrap:anywhere!important;
 }
}



/* source: shaliz-v481-journal-controls.css */
/* V481: larger page arrows and explicit mobile reading order. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Next {
  font-size:27px!important; min-width:36px!important; min-height:40px!important;
  padding:2px 7px!important; line-height:1!important;
}
@media(max-width:767px){
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav{direction:rtl!important;gap:4px!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Add{order:-1!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Prev{order:0!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461PageNum{order:1!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Next{order:2!important;}
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Prev,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav #v461Next{
  font-size:28px!important;min-width:30px!important;min-height:38px!important;padding:2px 4px!important;
 }
}



/* source: shaliz-v482-nav-vertical-align.css */
/* V482: vertically center the page label and add-page button against larger arrows. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > button,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum{
  align-self:center!important;
  margin-top:0!important;
  margin-bottom:0!important;
  position:relative!important;
  top:0!important;
  transform:none!important;
  vertical-align:middle!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:40px!important;
  line-height:1.3!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:40px!important;
  box-sizing:border-box!important;
  line-height:1.3!important;
}
@media(max-width:767px){
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add{height:38px!important;}
}



/* source: shaliz-v483-journal-optical-align.css */
/* V483: force a shared box center and correct glyph optical alignment. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav {
  display:flex!important; align-items:center!important; flex-wrap:nowrap!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add {
  box-sizing:border-box!important; height:42px!important; min-height:42px!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  align-self:center!important; margin:0!important; vertical-align:middle!important;
  position:relative!important; top:0!important; bottom:auto!important;
  transform:none!important;
}
/* The arrow glyphs have a lower visual center than text in the Arabic font.
   Move the text controls down slightly to match the arrows optically. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add {
  padding-top:5px!important; padding-bottom:0!important; line-height:1.2!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next {
  line-height:1!important; padding-top:0!important; padding-bottom:4px!important;
}
@media(max-width:767px) {
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add {
  height:40px!important; min-height:40px!important;
 }
}



/* source: shaliz-v484-arrow-lower.css */
/* V484: lower only the two journal page arrows by 3px for optical alignment. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next {
  top: 3px !important;
}



/* source: shaliz-v485-arrow-alignment.css */
/* V485: optical alignment of both page arrows with Arabic page text. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next {
  top: 8px !important;
}



/* source: shaliz-v486-arrow-alignment.css */
/* V486: refine only the two page arrows' optical vertical position. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next {
  top: 5px !important;
}



/* source: shaliz-v487-nav-svg.css */
/* V487: Replace font glyphs with true center-aligned SVG chevrons. */
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next {
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  box-sizing:border-box!important; height:42px!important; min-height:42px!important;
  position:relative!important; top:0!important; bottom:auto!important;
  transform:none!important; margin:0!important; padding:0!important;
  line-height:normal!important;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev .v487-nav-chevron,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next .v487-nav-chevron {
  display:block!important; width:23px!important; height:23px!important;
  flex:0 0 23px; fill:none; stroke:currentColor; stroke-width:2.3;
  stroke-linecap:round; stroke-linejoin:round; vertical-align:middle;
}
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add {
  height:42px!important; min-height:42px!important; box-sizing:border-box!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  margin:0!important; padding-top:0!important; padding-bottom:0!important;
  top:0!important; transform:none!important;
}
@media(max-width:767px){
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Prev,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Next,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461PageNum,
 html body.studio-app #view-reflection .v480-journal-heading-row .v461-book-nav > #v461Add {height:40px!important;min-height:40px!important;}
}



/* source: shaliz-v489-journal-export.css */
#v489ExportDialog{border:1px solid #665a4c;border-radius:12px;background:#242320;color:#e5d6bf;padding:24px;width:min(92vw,420px);box-shadow:0 20px 70px #0009;font-family:inherit}#v489ExportDialog::backdrop{background:#000a;backdrop-filter:blur(3px)}#v489ExportDialog h3{font-size:20px;color:#d7b981;margin:0 0 8px}#v489ExportDialog p{color:#c2b7a5;margin:0 0 16px}#v489ExportDialog label{display:flex;align-items:center;gap:10px;padding:13px 4px;cursor:pointer;color:#f0e7da}#v489ExportDialog input{accent-color:#c4a477}#v489ExportDialog small{display:block;color:#b3a898;line-height:1.8;margin:10px 0 20px}#v489ExportDialog .v489-export-actions{display:flex;gap:12px;justify-content:flex-end}#v489ExportDialog button{font:inherit;padding:9px 18px;border-radius:5px;cursor:pointer;border:1px solid #75654f;background:transparent;color:#e8dac3}#v489ExportDialog button[type=submit]{background:#bda078;color:#211d18}


/* source: shaliz-v490-export-dialog.css */
#v489ExportDialog{background:rgba(31,30,31,.70)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(220,209,193,.25)!important;box-shadow:0 20px 75px rgba(0,0,0,.45)!important}#v489ExportDialog::backdrop{background:rgba(0,0,0,.45);backdrop-filter:blur(4px)}#v489ExportDialog h3{margin-bottom:0!important}#v489ExportDialog p{color:#fff!important;font-size:13px!important;line-height:1.9;margin:16px 0 18px!important}#v489ExportDialog label{color:#fff!important}#v489ExportDialog .v489-export-actions button{transition:box-shadow .2s ease,background .2s ease,border-color .2s ease,filter .2s ease}#v489ExportDialog .v489-export-actions button:hover,#v489ExportDialog .v489-export-actions button:focus-visible{box-shadow:0 0 13px rgba(231,217,187,.60),0 0 25px rgba(231,217,187,.18)!important;border-color:#eee1cb!important;filter:brightness(1.12)}#v489ExportDialog .v489-export-actions button:active{box-shadow:0 0 18px rgba(255,255,255,.8)!important;filter:brightness(1.23)}


/* source: shaliz-v491-export-compact.css */
/* V491: compact export modal; preserve existing transparency and button glow */
#v489ExportDialog{width:min(90vw,370px)!important;padding:18px 20px 17px!important;max-height:calc(100dvh - 28px);box-sizing:border-box}
#v489ExportDialog h3{font-size:19px!important;line-height:1.35!important}
#v489ExportDialog p{margin:11px 0 9px!important;font-size:12px!important;line-height:1.6!important}
#v489ExportDialog label{font-size:18px!important;font-weight:600!important;line-height:1.3!important;padding:8px 2px!important;gap:9px!important}
#v489ExportDialog .v489-export-actions{gap:9px!important;margin-top:11px!important}
#v489ExportDialog .v489-export-actions button{font-size:13px!important;padding:6px 13px!important;min-height:31px!important;line-height:1.3!important}
@media(max-width:480px){#v489ExportDialog{width:min(90vw,340px)!important;padding:16px 17px!important}#v489ExportDialog label{font-size:18px!important}}



/* source: shaliz-v492-export-dialog-refinement.css */
/* V492: restrained format prompt and clean radio rows */
#v489ExportDialog p{font-size:13px!important;}
#v489ExportDialog label,#v489ExportDialog label:hover,#v489ExportDialog label:focus,#v489ExportDialog label:focus-within,#v489ExportDialog label:active,#v489ExportDialog label:has(input:checked){background:transparent!important;background-image:none!important;border:0!important;outline:0!important;box-shadow:none!important;text-shadow:none!important;border-radius:0!important;transform:none!important;}
#v489ExportDialog label::before,#v489ExportDialog label::after{content:none!important;display:none!important;}
#v489ExportDialog input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;accent-color:#c4a477!important;box-shadow:none!important;outline-offset:2px;flex:none;}



/* source: shaliz-v494-export-mobile-clean.css */
/* V494: remove mobile selection frames by separating the radio from the label. */
#v489ExportDialog .v494-format-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:8px 2px!important;margin:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:none!important;background-image:none!important;border-radius:0!important;-webkit-tap-highlight-color:transparent!important;}
#v489ExportDialog .v494-format-row:hover,#v489ExportDialog .v494-format-row:active,#v489ExportDialog .v494-format-row:focus-within,#v489ExportDialog .v494-format-row:has(input:checked){border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;}
#v489ExportDialog .v494-format-row label{display:inline!important;flex:none!important;width:auto!important;min-width:0!important;max-width:max-content!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;background-image:none!important;color:#fff!important;font-size:18px!important;font-weight:600!important;line-height:1.3!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;}
#v489ExportDialog .v494-format-row label:focus,#v489ExportDialog .v494-format-row label:active,#v489ExportDialog .v494-format-row label:focus-within,#v489ExportDialog .v494-format-row label:hover{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;}
#v489ExportDialog .v494-format-row input[type=radio]{display:inline-block!important;position:static!important;appearance:auto!important;-webkit-appearance:radio!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;accent-color:#c4a477!important;box-shadow:none!important;outline:0!important;border-radius:50%!important;flex:none!important;}
#v489ExportDialog .v494-format-row input[type=radio]:focus-visible{outline:1px solid rgba(220,210,190,.6)!important;outline-offset:3px!important;}



/* source: shaliz-v495-ashaar.css */
/* V495: self-contained Shaliz poetry collection. */
#v495Ashaar[hidden],#v495Reader[hidden],#literatureItems[hidden]{display:none!important}.v495-ashaar{direction:rtl;padding:12px 0 42px;color:#e5d6bd}.v495-intro{text-align:center;padding:40px 12px 30px}.v495-ornament{font-size:29px;color:#c5a16b}.v495-intro h3{font-family:serif;font-size:clamp(27px,4vw,44px);color:#e0bf86;margin:12px 0}.v495-intro p{opacity:.8}.v495-intro small{display:block;color:#bd9c70;margin-top:15px}.v495-controls{max-width:850px;margin:0 auto 30px}.v495-controls label{display:block;margin:0 0 9px;color:#cbb38b}.v495-controls input{box-sizing:border-box;width:100%;padding:15px 19px;border:1px solid #8b74534d;border-radius:12px;background:#100f0edb;color:#f3e7d4;font:inherit;outline:none}.v495-controls input:focus{border-color:#c4a574}.v495-categories{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:22px 0}.v495-categories button,.v495-paging button{background:#1b1815b8;border:1px solid #b493654f;color:#dbc5a5;border-radius:30px;padding:9px 15px;cursor:pointer;font:inherit}.v495-categories button.active{background:#a6854b33;border-color:#c4a574;color:#f3dfb6}.v495-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.v495-poem{min-width:0;min-height:225px;display:flex;flex-direction:column;align-items:stretch;text-align:right;gap:16px;border:1px solid #b79a6c38;border-radius:8px;padding:23px 21px;background:linear-gradient(145deg,#2c251cba,#171614eb);color:#f0e0c6;cursor:pointer;font:inherit;transition:border-color .2s,transform .2s}.v495-poem:hover{border-color:#bfa477;transform:translateY(-3px)}.v495-poem-category{color:#c9aa78;font-size:12px}.v495-poem-text{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;line-height:2;font-family:serif;font-size:17px;overflow-wrap:anywhere}.v495-poem-footer{margin-top:auto;color:#c3a06e;font-size:12px}.v495-paging{display:flex;justify-content:center;align-items:center;gap:20px;margin:32px 0}.v495-paging button:disabled{opacity:.35;cursor:default}.v495-empty{text-align:center;grid-column:1/-1;padding:45px}.v495-reader{position:fixed;inset:0;z-index:999999;background:#090807ed;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box;backdrop-filter:blur(12px)}.v495-reader-inner{position:relative;box-sizing:border-box;width:min(760px,100%);max-height:min(88vh,900px);overflow:auto;padding:48px clamp(24px,5vw,70px);border:1px solid #a8895d69;border-radius:8px;background:linear-gradient(140deg,#282219,#151411);box-shadow:0 20px 90px #0009;text-align:center}.v495-close{position:absolute;top:13px;left:16px;background:none;border:0;color:#dbc4a0;font-size:31px;cursor:pointer}.v495-reader-heading{font-family:serif;font-size:26px;color:#d7b37c}.v495-reader-heading span{display:block;font-family:inherit;font-size:13px;margin:12px 0;color:#bda37b}.v495-reader article{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.45;color:#f2e3cd;font-family:serif;font-size:clamp(19px,2.4vw,25px);padding:30px 0;text-align:center}.v495-reader-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #9c805344;padding-top:20px;color:#bba078}.v495-reader-bottom button{background:none;border:1px solid #9c8053;color:#e5cda2;border-radius:6px;padding:8px 15px;cursor:pointer}body.v495-reader-open{overflow:hidden}@media(max-width:900px){.v495-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.v495-results{grid-template-columns:1fr}.v495-poem{min-height:170px}.v495-reader{padding:12px}.v495-reader-inner{padding:43px 24px}.v495-intro{padding-top:24px}}



/* source: shaliz-v500-adab.css */
/* V500: One and only one literature background, supplied by the owner. */
#view-literature,section#view-literature.literature-room{background-image:url("assets/shaliz-adab-v500.webp")!important;background-color:#f7dfb4!important;background-repeat:no-repeat!important;background-size:cover!important;background-position:center top!important;background-attachment:scroll!important}
#view-literature .room-hero,#view-literature.literature-room .room-hero{background-image:url("assets/shaliz-adab-v500.webp")!important;background-color:#f7dfb4!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
#view-literature .room-hero::before,#view-literature .room-hero::after{background-image:none!important}
#view-literature .content-shell{background-image:none!important;background-color:transparent!important}
#view-literature .room-hero .room-hero-inner{background-image:none!important}
@media(max-width:800px){#view-literature,#view-literature .room-hero{background-attachment:scroll!important}}



/* source: shaliz-v501-literature.css */
/* V501 — compact literature and shared manuscript reader */
#view-literature #litSectionHeading[hidden]{display:none!important}
#view-literature .v495-intro{padding:8px 8px 12px!important}
#view-literature .v495-intro p{font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important;color:#5c3b24!important;font-size:clamp(17px,2vw,23px)!important;font-weight:600;margin:0!important;opacity:1!important}
#view-literature .v495-intro small{color:#694d34!important;margin-top:5px!important}
#view-literature .v495-categories{gap:6px!important;margin:12px 0 17px!important}
#view-literature .v495-categories button{font-size:clamp(11px,1.15vw,13px)!important;padding:5px 10px!important;line-height:1.55!important;background:#f7e8cbdc!important;color:#5d412c!important;border:1px solid #a77d4f75!important}
#view-literature .v495-categories button.active{background:#d9bb85!important;color:#382719!important;border-color:#8b6335!important}
#view-literature .v495-results{gap:12px!important}
#view-literature .v495-poem{min-height:166px!important;padding:15px 16px!important;gap:9px!important;background:linear-gradient(150deg,#fff3d9f2,#eddbb7ef)!important;border:1px solid #b58b53a6!important;color:#3f3023!important;box-shadow:0 4px 12px #5b37151b!important}
#view-literature .v495-poem-category{color:#78542d!important;font-size:11px!important}
#view-literature .v495-poem-text{font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important;font-size:15px!important;line-height:1.85!important;-webkit-line-clamp:4!important}
#view-literature .v495-poem-footer{color:#80572e!important;font-size:11px!important}
#view-literature .v495-controls input{background:#fff4dcf0!important;color:#35271b!important;border-color:#ac865b!important}
#view-literature .v495-controls label{color:#593b22!important}
#view-literature .v495-paging{color:#49331f!important}
#view-literature .v495-paging button{background:#f4e3c6!important;color:#553a24!important}
#modalContent .v501-poetry-reading .work-prose{white-space:pre-wrap!important;overflow-wrap:anywhere;font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important}
#modalContent .v501-poetry-reading h2{font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important}
@media(max-width:600px){#view-literature .v495-poem{min-height:142px!important;padding:13px!important}}



/* source: shaliz-v503-adab-fix.css */
/* V503: root cause: legacy V310/V316 highly-specific !important backgrounds on html/body/active section overrode V500. */
html:has(#view-literature.active),
html:has(#view-literature.active) body,
html body.studio-app:has(#view-literature.active),
html body.studio-app.night:has(#view-literature.active),
html body.studio-app #view-literature,
html body.studio-app.night #view-literature,
html body.studio-app #view-literature.active,
html body.studio-app.night #view-literature.active,
html body.studio-app.day #view-literature.active{
 
 
 
 
 
 
}
html body.studio-app #view-literature .room-hero,
html body.studio-app.night #view-literature .room-hero,
html body.studio-app #view-literature.active .room-hero,
html body.studio-app.night #view-literature.active .room-hero,
html body.studio-app #view-literature .room-hero-inner,
html body.studio-app #view-literature .content-shell{
 background:transparent!important;background-image:none!important;
}
html body.studio-app #view-literature .room-hero::before,
html body.studio-app #view-literature .room-hero::after{background:none!important;opacity:0!important;}
#view-literature .room-hero-content,#view-literature .room-hero-inner{width:100%!important;max-width:100%!important;}
#view-literature .room-hero h2{text-align:center!important;width:100%!important;margin-inline:auto!important;}
#view-literature .v495-poem{min-height:178px!important;padding:17px 19px!important;}
#view-literature .v495-poem-text{font-size:clamp(17px,1.65vw,19px)!important;line-height:1.85!important;}
#view-literature .v495-poem-category{font-size:12px!important;}
#view-literature #v495Count{color:#49311f!important;font-weight:800!important;opacity:1!important;text-shadow:none!important;}
@media(max-width:767px){html body.studio-app #view-literature.active,html body.studio-app.night #view-literature.active{}#view-literature .v495-poem{min-height:153px!important;padding:15px!important}}



/* source: shaliz-v504-literature.css */
/* V504 — literature-only refinements */
html body.studio-app #view-literature .room-hero-graphic{display:none!important}
html body.studio-app #view-literature .room-hero-inner{grid-template-columns:minmax(0,1fr)!important}
html body.studio-app #view-literature .v495-categories{gap:9px!important;margin:17px 0 23px!important}
html body.studio-app #view-literature .v495-categories button{font-size:clamp(13px,1.35vw,15px)!important;padding:9px 16px!important;line-height:1.65!important;min-height:39px!important;border-radius:24px!important}
@media(max-width:600px){html body.studio-app #view-literature .v495-categories{gap:7px!important}html body.studio-app #view-literature .v495-categories button{font-size:13px!important;padding:8px 12px!important;min-height:37px!important}}



/* source: shaliz-v505-moon.css */
/* V505: Moon only, no decorative star. Night is filled; day is outlined. */
html body.studio-app #timeBtn svg .v505-moon-shape {fill:transparent!important;stroke:currentColor!important;stroke-width:1.7!important;transition:fill .2s ease!important;}
html body.studio-app.night #timeBtn svg .v505-moon-shape {fill:currentColor!important;}
html body.studio-app.day #timeBtn svg .v505-moon-shape {fill:transparent!important;}



/* source: shaliz-v506-literature.css */
/* V506: precise centering and matching dark-brown literary typography. */
html body.studio-app #view-literature .room-hero,
html body.studio-app #view-literature .room-hero-inner,
html body.studio-app #view-literature .room-hero-content {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  transform:none!important;
}
html body.studio-app #view-literature .room-hero-inner{
  display:flex!important;align-items:center!important;justify-content:center!important;
}
html body.studio-app #view-literature .room-hero-content{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;
}
html body.studio-app #view-literature .room-hero h2{
  display:block!important;position:relative!important;inset:auto!important;
  width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;
  text-align:center!important;color:#49311f!important;-webkit-text-fill-color:#49311f!important;
  text-shadow:none!important;
}
html body.studio-app #view-literature #v495Count{
  color:#49311f!important;-webkit-text-fill-color:#49311f!important;
  opacity:1!important;text-shadow:none!important;font-weight:800!important;
}



/* source: shaliz-v507-literature.css */
/* V507: enforce literary title tone and consistent manuscript category tabs. */
html body.studio-app #view-literature .room-hero .room-hero-content h2,
html body.studio-app.night #view-literature .room-hero .room-hero-content h2,
html body.studio-app.day #view-literature .room-hero .room-hero-content h2 {
 color:#5c3b24!important;-webkit-text-fill-color:#5c3b24!important;
 background:none!important;background-image:none!important;
 filter:none!important;opacity:1!important;text-shadow:none!important;
 text-align:center!important;position:static!important;display:block!important;
 width:100%!important;margin:0 auto!important;
}
html body.studio-app #view-literature #litTabs {
 display:flex!important;justify-content:center!important;align-items:center!important;
 flex-wrap:wrap!important;gap:9px!important;margin:17px auto 23px!important;
 padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.studio-app #view-literature #litTabs button {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:0!important;flex:0 0 auto!important;
 min-height:39px!important;padding:9px 16px!important;
 border:1px solid #a77d4f75!important;border-radius:24px!important;
 background:#f7e8cbdc!important;color:#5d412c!important;-webkit-text-fill-color:#5d412c!important;
 font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important;
 font-size:clamp(13px,1.35vw,15px)!important;font-weight:500!important;line-height:1.65!important;
 text-shadow:none!important;box-shadow:none!important;transform:none!important;
}
html body.studio-app #view-literature #litTabs button.selected,
html body.studio-app #view-literature #litTabs button.active,
html body.studio-app #view-literature #litTabs button[aria-selected="true"] {
 background:#d9bb85!important;color:#382719!important;-webkit-text-fill-color:#382719!important;
 border-color:#8b6335!important;
}
html body.studio-app #view-literature #litTabs button::before,
html body.studio-app #view-literature #litTabs button::after {display:none!important;content:none!important;}
@media(max-width:600px){html body.studio-app #view-literature #litTabs{gap:7px!important}html body.studio-app #view-literature #litTabs button{font-size:13px!important;padding:8px 12px!important;min-height:37px!important}}



/* source: shaliz-v508-literature.css */
/* V508 — restore original tab typeface, reduce title-to-tabs distance and remove separator. */
html body.studio-app #view-literature .room-hero,
html body.studio-app.night #view-literature .room-hero,
html body.studio-app.day #view-literature .room-hero{
 min-height:0!important;height:auto!important;
 padding:22px 16px 5px!important;
 margin:0!important;border:0!important;border-bottom:0!important;
 box-shadow:none!important;
}
html body.studio-app #view-literature .room-hero-inner,
html body.studio-app #view-literature .room-hero-content{
 min-height:0!important;height:auto!important;padding:0!important;margin:0!important;
 border:0!important;border-bottom:0!important;box-shadow:none!important;
}
html body.studio-app #view-literature .room-hero h2{
 padding:0!important;margin:0!important;border:0!important;
 border-bottom:0!important;box-shadow:none!important;
}
html body.studio-app #view-literature .room-hero::before,
html body.studio-app #view-literature .room-hero::after,
html body.studio-app #view-literature .room-hero-inner::before,
html body.studio-app #view-literature .room-hero-inner::after,
html body.studio-app #view-literature .room-hero-content::before,
html body.studio-app #view-literature .room-hero-content::after{
 display:none!important;content:none!important;border:0!important;box-shadow:none!important;
}
html body.studio-app #view-literature .content-shell{
 padding-top:0!important;margin-top:0!important;border-top:0!important;
}
html body.studio-app #view-literature #litTabs{
 margin:7px auto 17px!important;border-top:0!important;
}
html body.studio-app #view-literature #litTabs button{
 font-family:var(--ui)!important;
}
@media(max-width:600px){
 html body.studio-app #view-literature .room-hero{padding:16px 12px 4px!important}
 html body.studio-app #view-literature #litTabs{margin:6px auto 13px!important}
}

