
/* source: shaliz-v509-reader-fonts.css */
/* V509: reader font options. Preserve unrelated site typography. */
@font-face{font-family:'SHALIZ Amiri';src:url('./fonts/Amiri-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'SHALIZ Amiri';src:url('./fonts/Amiri-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
html body.studio-app[data-reader-font="amiri"]{--shaliz-reader-family:'SHALIZ Amiri','Amiri',serif}
html body.studio-app[data-reader-font="reem"]{--shaliz-reader-family:'Reem Kufi','Noto Kufi Arabic',sans-serif}
/* Apply font selection to poems, the reading modal and reader retreat. */
html body.studio-app #view-literature .v495-poem,
html body.studio-app #view-literature .v495-poem *,
html body.studio-app #modalContent .v501-poetry-reading,
html body.studio-app #modalContent .v501-poetry-reading * {font-family:var(--shaliz-reader-family,'Noto Naskh Arabic',serif)!important}



/* source: shaliz-v510-punctuation.css */
/* V510: Correct Arabic reading direction and punctuation placement. */
#v495Ashaar .v495-poem-text,
#v495Ashaar .v495-poem,
.v501-poetry-reading .shaliz-copy-poetry {
 direction:rtl !important;
 text-align:right;
 unicode-bidi:plaintext;
}
.v501-poetry-reading .shaliz-copy-poetry { white-space:pre-wrap; }



/* source: shaliz-v511-admin.css */
/* V511 — Admin-only visual refinement. No behavior changes. */
#view-admin{--admin-paper:#eee0c3;--admin-ink:#4d321e;--admin-muted:#795d42;--admin-border:#b99a6c;--admin-panel:#f6ebd5;background:linear-gradient(180deg,#2c241f 0%,#47392b 28%,#30261e 100%);color:var(--admin-ink)}
#view-admin .room-hero{min-height:300px;background:radial-gradient(ellipse at 50% 15%,#9a784735,transparent 70%),linear-gradient(160deg,#272320,#4b3a2c 52%,#29231f);border-bottom:1px solid #a78a5b80}
#view-admin .room-hero h2{color:#e9cf9f;text-shadow:0 3px 12px #0e0a08}
#view-admin .room-hero p,#view-admin .room-kicker{color:#e0cda9}
#view-admin .room-hero-graphic{opacity:.65}
#view-admin .content-shell{width:min(1120px,calc(100% - 28px));margin:0 auto;padding:30px 0 85px}
#view-admin #adminContent>.parchment{background:linear-gradient(135deg,#f3e7ce,#e5d1ac 60%,#f1e1c2);color:var(--admin-ink);border:1px solid #b99a6c;border-radius:17px;padding:clamp(18px,3.2vw,38px);box-shadow:0 20px 55px #100b0860,inset 0 1px #fff9;overflow-wrap:anywhere}
#view-admin #adminContent h3{font-family:var(--display);color:#654123;font-size:clamp(25px,2.6vw,34px);margin:34px 0 12px;padding:0 0 11px;border-bottom:1px solid #b99a6c80}
#view-admin #adminContent h3:first-child{margin-top:0}
#view-admin #adminContent h4{color:#684629;font-size:clamp(19px,2vw,24px);margin:22px 0 12px}
#view-admin #adminContent p,#view-admin #adminContent label{color:#60452e;line-height:1.8}
#view-admin #adminContent .admin-form{background:#fff9ec9e;border:1px solid #cbb28a;border-radius:13px;padding:clamp(14px,2.5vw,25px);margin:15px 0 25px}
#view-admin #adminContent input:not([type=checkbox]):not([type=radio]),#view-admin #adminContent textarea,#view-admin #adminContent select{box-sizing:border-box;max-width:100%;border:1px solid #b89b70;border-radius:9px;background:#fffaf0;color:#49301d;padding:11px 13px;font:inherit;outline-offset:2px}
#view-admin #adminContent input:focus-visible,#view-admin #adminContent textarea:focus-visible,#view-admin #adminContent select:focus-visible{outline:2px solid #947044}
#view-admin #adminContent button{border-radius:9px;transition:filter .18s,transform .18s}
#view-admin #adminContent button:hover{filter:brightness(1.08)}
#view-admin #adminContent .gold-btn{background:linear-gradient(140deg,#76512c,#9a7544);color:#fff4df;border:1px solid #ad8b5e;box-shadow:0 3px 9px #49321b25}
#view-admin #adminContent .inbox-letter,#view-admin #adminContent .playlist-editor,#view-admin #adminContent .chapter-editor-help{background:#f8efdc;color:#4d321e;border:1px solid #c6ab7c;border-radius:12px;padding:14px}
#view-admin #adminContent .inbox-letter *{color:inherit}
#view-admin #adminContent code{color:#6d492c;white-space:normal;overflow-wrap:anywhere}
#view-admin #adminContent [role=status]{min-height:1.3em}
body.night #view-admin{--admin-ink:#eee1c8;--admin-muted:#d2ba93;background:linear-gradient(180deg,#15191b,#262321 45%,#17191a)}
body.night #view-admin #adminContent>.parchment{background:linear-gradient(140deg,#302a25,#211e1c);color:#eee1c8;border-color:#92764f}
body.night #view-admin #adminContent h3,body.night #view-admin #adminContent h4{color:#e1c391;border-color:#92764f80}
body.night #view-admin #adminContent p,body.night #view-admin #adminContent label{color:#e2d1b5}
body.night #view-admin #adminContent .admin-form{background:#352d26;border-color:#766044}
body.night #view-admin #adminContent input:not([type=checkbox]):not([type=radio]),body.night #view-admin #adminContent textarea,body.night #view-admin #adminContent select{background:#242321;color:#f1e5cf;border-color:#8a704c}
body.night #view-admin #adminContent .inbox-letter,body.night #view-admin #adminContent .playlist-editor,body.night #view-admin #adminContent .chapter-editor-help{background:#302923;color:#ebdec6;border-color:#8a704c}
body.night #view-admin #adminContent code{color:#e5c89b}
@media(max-width:650px){#view-admin .room-hero{min-height:240px;padding:34px 16px}#view-admin .content-shell{width:calc(100% - 20px);padding-top:18px}#view-admin #adminContent>.parchment{padding:16px}#view-admin #adminContent .inbox-toolbar{align-items:stretch}#view-admin #adminContent .admin-form{padding:13px}}



/* source: shaliz-v512-literature.css */
/* V512 — literary heading breathing room and consistent tab typography. */
html body.studio-app #view-literature .room-hero,
html body.studio-app.day #view-literature .room-hero,
html body.studio-app.night #view-literature .room-hero {
  padding:58px 16px 8px!important;
}
html body.studio-app #view-literature #litTabs {
  margin:26px auto 22px!important;
}
html body.studio-app #view-literature #v495Ashaar .v495-intro p {
  font-family:var(--ui)!important;
}
@media(max-width:600px){
 html body.studio-app #view-literature .room-hero,
 html body.studio-app.day #view-literature .room-hero,
 html body.studio-app.night #view-literature .room-hero {padding:40px 12px 7px!important;}
 html body.studio-app #view-literature #litTabs {margin:19px auto 18px!important;}
}



/* source: shaliz-v513-poetry-reader.css */
/* V513: poetry reader typography only; preserve all other literature readers. */
html body.studio-app #modal .reading-paper.v501-poetry-reading .v92-reader-kicker {
 font-size:clamp(1.05rem,2.1vw,1.24rem)!important;
 line-height:1.9!important;letter-spacing:normal!important;
 margin-bottom:24px!important;
}
html body.studio-app #modal .reading-paper.v501-poetry-reading .work-prose.shaliz-copy-poetry {
 font-size:clamp(1.24rem,2.5vw,1.58rem)!important;
 line-height:2.25!important;
}
html body.studio-app #modal .reading-paper.v501-poetry-reading .actions button {
 font-size:clamp(1rem,1.7vw,1.12rem)!important;
 padding:12px 19px!important;line-height:1.7!important;
 min-height:45px!important;
}
html body.studio-app #modal .reading-paper.v501-poetry-reading .v92-reader-signature {
 font-size:clamp(1.08rem,2vw,1.3rem)!important;
 line-height:1.8!important;margin-top:34px!important;
}
@media(max-width:600px){
 html body.studio-app #modal .reading-paper.v501-poetry-reading .work-prose.shaliz-copy-poetry {font-size:1.28rem!important;line-height:2.15!important}
 html body.studio-app #modal .reading-paper.v501-poetry-reading .actions button {padding:11px 14px!important}
}



/* source: shaliz-v514-adab.css */
/* V514 — user-provided parchment and precise literature search spacing. */
html:has(#view-literature.active),
html:has(#view-literature.active) body,
html body.studio-app:has(#view-literature.active),
html body.studio-app.day:has(#view-literature.active),
html body.studio-app.night:has(#view-literature.active),
html body.studio-app #view-literature,
html body.studio-app.day #view-literature,
html body.studio-app.night #view-literature,
html body.studio-app #view-literature.active,
html body.studio-app.day #view-literature.active,
html body.studio-app.night #view-literature.active {
  
  
  
  
  
}
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,
html body.studio-app #view-literature .content-shell {background-image:none!important;background-color:transparent!important;}
html body.studio-app #view-literature #v495Ashaar .v495-intro {padding-bottom:42px!important;}
html body.studio-app #view-literature #v495Ashaar #v495Count {margin-top:25px!important;}
html body.studio-app #view-literature #v495Search::placeholder {color:rgba(79,49,30,.53)!important;opacity:1!important;-webkit-text-fill-color:rgba(79,49,30,.53)!important;}
@media(max-width:600px){html body.studio-app #view-literature #v495Ashaar .v495-intro{padding-bottom:34px!important;}html body.studio-app #view-literature #v495Ashaar #v495Count{margin-top:21px!important;}}



/* source: shaliz-v515-admin-glass.css */
/* V520 — neutral charcoal palette; transparency values preserved. */
/* V515 — Admin parchment glass, isolated to the administration view. */
#view-admin{--admin-ink:#353535;--admin-muted:#666666;--admin-border:rgba(68,68,68,.33);color:var(--admin-ink)!important;background:linear-gradient(180deg,rgba(245,245,245,.24),rgba(245,245,245,.14))!important}
#view-admin .room-hero{min-height:260px;background:linear-gradient(115deg,rgba(245,245,245,.54),rgba(245,245,245,.24))!important;border-bottom:1px solid rgba(68,68,68,.25)!important;box-shadow:none!important}
#view-admin .room-hero-inner{background:transparent!important;box-shadow:none!important}
#view-admin .room-hero h2{color:#373737!important;text-shadow:none!important}
#view-admin .room-hero p,#view-admin .room-kicker{color:#656565!important;text-shadow:none!important}
#view-admin .room-hero-graphic{opacity:1!important;background:none!important;box-shadow:none!important}
#view-admin .room-graphic-orb{display:none!important}
#view-admin .room-graphic-icon{display:grid;place-items:center;color:#606060!important;background:rgba(245,245,245,.36)!important;border:1px solid rgba(68,68,68,.25)!important;border-radius:18px;box-shadow:none!important;width:100px;height:100px;transform:none!important}
#view-admin .room-graphic-icon svg{width:64px;height:64px;stroke:#606060}
#view-admin .content-shell{background:transparent!important}
#view-admin #adminContent>.parchment,#view-admin #adminContent .admin-form,#view-admin #adminContent .inbox-letter,#view-admin #adminContent .playlist-editor,#view-admin #adminContent .chapter-editor-help,#view-admin #adminContent .parchment{background:rgba(245,245,245,.42)!important;background-image:none!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);border:1px solid rgba(68,68,68,.28)!important;box-shadow:0 7px 25px rgba(45,45,45,.07)!important;color:#353535!important}
#view-admin #adminContent input:not([type=checkbox]):not([type=radio]),#view-admin #adminContent textarea,#view-admin #adminContent select{background:rgba(245,245,245,.52)!important;color:#353535!important;border:1px solid rgba(68,68,68,.34)!important;box-shadow:none!important}
#view-admin #adminContent h3,#view-admin #adminContent h4{color:#424242!important;border-color:rgba(68,68,68,.28)!important}
#view-admin #adminContent p,#view-admin #adminContent label,#view-admin #adminContent small{color:#565656!important}
#view-admin #adminContent .gold-btn{background:rgba(68,68,68,.84)!important;color:#f8f8f8!important;border:1px solid rgba(45,45,45,.48)!important}
#view-admin #adminContent button:not(.gold-btn){background:rgba(245,245,245,.58)!important;color:#393939!important;border-color:rgba(68,68,68,.32)!important;box-shadow:none!important}
#view-admin #adminContent button:hover{filter:brightness(.97)}
#view-admin #v429VisitorsWidget{margin:0 0 20px;padding:13px 17px;border:1px solid rgba(68,68,68,.3)!important;border-radius:12px;background:rgba(245,245,245,.45)!important;color:#393939!important;box-shadow:none!important;backdrop-filter:blur(6px)}
#view-admin #v429VisitorsWidget .v429-visitors-inline{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-weight:600}
#view-admin #v429VisitorsWidget svg{width:20px;height:20px;color:#666666}
#view-admin #v429VisitorsWidget #v429VisitorCount{font-size:20px;color:#393939;font-variant-numeric:tabular-nums;margin-inline-start:4px}
#view-admin #v429VisitorsWidget .v429-live-dot{margin-inline-start:2px}
body.night #view-admin{background:linear-gradient(180deg,rgba(45,45,45,.42),rgba(45,45,45,.35))!important;color:#eeeeee!important}
body.night #view-admin .room-hero{background:linear-gradient(120deg,rgba(68,68,68,.44),rgba(45,45,45,.35))!important}
body.night #view-admin .room-hero h2,body.night #view-admin .room-hero p,body.night #view-admin .room-kicker{color:#e5e5e5!important}
body.night #view-admin .room-graphic-icon{background:rgba(245,245,245,.12)!important;color:#d0d0d0!important}
body.night #view-admin .room-graphic-icon svg{stroke:#d0d0d0}
body.night #view-admin #adminContent>.parchment,body.night #view-admin #adminContent .admin-form,body.night #view-admin #adminContent .inbox-letter,body.night #view-admin #adminContent .playlist-editor,body.night #view-admin #adminContent .chapter-editor-help,body.night #view-admin #adminContent .parchment{background:rgba(68,68,68,.32)!important;color:#eeeeee!important;border-color:rgba(180,180,180,.29)!important}
body.night #view-admin #adminContent h3,body.night #view-admin #adminContent h4,body.night #view-admin #adminContent p,body.night #view-admin #adminContent label,body.night #view-admin #adminContent small{color:#e3e3e3!important}
body.night #view-admin #adminContent input:not([type=checkbox]):not([type=radio]),body.night #view-admin #adminContent textarea,body.night #view-admin #adminContent select{background:rgba(68,68,68,.32)!important;color:#f4f4f4!important;border-color:rgba(180,180,180,.36)!important}
body.night #view-admin #adminContent button:not(.gold-btn){background:rgba(68,68,68,.4)!important;color:#e9e9e9!important;border-color:rgba(180,180,180,.35)!important}
body.night #view-admin #v429VisitorsWidget{background:rgba(68,68,68,.29)!important;color:#e6e6e6!important;border-color:rgba(180,180,180,.3)!important}
body.night #view-admin #v429VisitorsWidget #v429VisitorCount{color:#ededed!important}
@media(max-width:650px){#view-admin .room-hero{min-height:220px}#view-admin .room-graphic-icon{width:70px;height:70px}#view-admin .room-graphic-icon svg{width:47px;height:47px}}



/* source: shaliz-v516-poetry-reader-size.css */
/* V516: restore reader size preference for Shaliz poems, overriding V513 fixed font size. */
html body.studio-app #modal #modalContent .reading-paper.v501-poetry-reading .work-prose.shaliz-copy-poetry,
html body.studio-app #modal #modalContent .reading-paper.v501-poetry-reading .work-prose.shaliz-copy-poetry * {
  font-size:var(--shaliz-reader-size,22px)!important;
  line-height:var(--shaliz-reader-leading,1.95)!important;
}



/* source: shaliz-v518-admin-header.css */
/* V518 — remove the full-width administration hero background without hiding its text. */
#view-admin .room-hero,#view-admin .room-hero-inner,#view-admin .room-hero-content{background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}
#view-admin .room-hero{min-height:0!important;padding-top:26px!important;padding-bottom:20px!important}
#view-admin .room-hero::before,#view-admin .room-hero::after,#view-admin .room-hero-inner::before,#view-admin .room-hero-inner::after{background:none!important;box-shadow:none!important;display:none!important}
body.night #view-admin .room-hero,body.night #view-admin .room-hero-inner{background:transparent!important;background-image:none!important}
#view-admin #v429VisitorsWidget .v429-visitors-inline{gap:10px}
#view-admin #v429VisitorsWidget #v429VisitorCount{display:inline-block;min-width:2ch}



/* source: shaliz-v521-live-cms.css */
/* Shaliz V521: dynamic backgrounds override historic fixed-image CSS only for configured sections */
html body.studio-app section.view.shaliz-live-themed{position:relative!important;isolation:isolate;background-image:none!important;background-color:transparent!important}
html body.studio-app section.view.shaliz-live-themed>.shaliz-live-background{display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;overflow:hidden!important;background:transparent!important}
html body.studio-app section.view.shaliz-live-themed>.shaliz-live-background::before{content:"";position:absolute;inset:0;background-image:var(--v521-bg);background-size:cover;background-position:var(--v521-pos);filter:var(--v521-filter)}
html body.studio-app section.view.shaliz-live-themed>.shaliz-live-background::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,var(--v521-overlay))}
html body.studio-app section.view.shaliz-live-themed>*:not(.shaliz-live-background){position:relative;z-index:1}
html body.studio-app #view-literature.shaliz-live-themed .room-hero,html body.studio-app #view-literature.shaliz-live-themed .content-shell{background-image:none!important;background-color:transparent!important}
#view-admin .v521-control-section,#v521BulkPoems{margin-block:22px;padding:18px;border:1px solid rgba(40,40,40,.18);border-radius:16px;background:rgba(255,255,255,.10)}
#view-admin .v521-admin-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 6px;border-bottom:1px solid rgba(80,80,80,.15)}
#view-admin .v521-admin-item>span{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
#view-admin .v521-admin-item small{display:block;opacity:.7}
#view-admin .v521-admin-item button,#view-admin .v521-control-section button:not(.gold-btn),#view-admin #v521BulkPoems button{padding:8px 15px;border-radius:9px;border:1px solid rgba(90,90,90,.25);background:rgba(240,234,218,.18);color:inherit;cursor:pointer}
#view-admin .v521-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
#view-admin .v521-controls label{display:flex;flex-direction:column;gap:8px}
#view-admin .v521-controls input{width:100%}
#view-admin .v521-bg-preview-wrap{margin:12px 0;min-height:190px;background:#e7dcc7;overflow:hidden;border-radius:12px;position:relative}
#view-admin .v521-bg-preview-wrap::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,var(--preview-overlay,0));pointer-events:none}
#view-admin #v521BackgroundPreview{height:200px;background-repeat:no-repeat;background-size:cover;background-position:center}
#view-admin #v521Backgrounds>label{display:block;margin-bottom:12px}
@media(max-width:700px){#view-admin .v521-control-section{padding:12px}#view-admin .v521-bg-preview-wrap{min-height:140px}#view-admin #v521BackgroundPreview{height:145px}}



/* source: shaliz-v524-admin.css */

#v524AdminHub{margin:18px 0 34px;color:inherit;display:block}.v524-dashboard>h3{font-size:clamp(22px,3vw,30px);margin-bottom:8px}.v524-dashboard>p{opacity:.8}.v524-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px;margin:16px 0}.v524-stat{display:flex;flex-direction:column;align-items:center;gap:4px;padding:15px 10px;border:1px solid rgba(130,130,130,.26);border-radius:14px;background:rgba(150,150,150,.06)}.v524-stat strong{font-size:23px}.v524-stat span{font-size:12px;text-align:center}.v524-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 24px}.v524-shortcuts button,.v524-panel button{background:rgba(130,130,130,.08);border:1px solid rgba(140,140,140,.35);color:inherit;border-radius:10px;padding:9px 14px;cursor:pointer}.v524-panel button:hover,.v524-shortcuts button:hover{background:rgba(130,130,130,.18)}.v524-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:14px}.v524-panel{padding:18px;border:1px solid rgba(130,130,130,.28);border-radius:17px;background:rgba(130,130,130,.055);min-width:0}.v524-panel h3{font-size:20px;margin:0 0 8px}.v524-panel p{font-size:14px;line-height:1.8;opacity:.85}.v524-panel label{display:block;margin:10px 0}.v524-panel input,.v524-panel textarea,.v524-panel select{display:block;width:100%;margin-top:6px;padding:9px;border-radius:8px;border:1px solid rgba(120,120,120,.35);background:rgba(200,200,200,.08);color:inherit;box-sizing:border-box}.v524-panel button{margin:5px 4px}.v524-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid rgba(130,130,130,.19);padding:10px 0}.v524-row span{flex:1;overflow-wrap:anywhere;min-width:140px}.v524-public-banner{position:fixed;left:50%;top:80px;transform:translateX(-50%);z-index:6500;max-width:min(760px,95vw);width:max-content;box-sizing:border-box;background:rgba(35,34,32,.95);color:#fff7e8;border:1px solid rgba(226,203,154,.5);border-radius:13px;padding:10px 44px 10px 16px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;box-shadow:0 7px 22px #0005}.v524-public-banner button{position:absolute;right:12px;top:7px;background:none;border:0;color:inherit;font-size:24px;cursor:pointer}.v524-public-banner a{color:#eacb93;text-decoration:underline}@media(max-width:600px){.v524-panel{padding:12px}.v524-stats{grid-template-columns:repeat(2,1fr)}}



/* source: shaliz-v525-editor.css */
/* V525: admin jump menu and persistent static content manager */
.v525-admin-nav{position:sticky;top:66px;z-index:80;border:1px solid rgba(120,120,120,.35);border-radius:17px;background:rgba(235,232,225,.88);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 10px 26px rgba(0,0,0,.13);padding:12px 15px;margin:5px 0 25px;color:#272727;max-width:100%;box-sizing:border-box}
body.night .v525-admin-nav,body.dark .v525-admin-nav,[data-theme="dark"] .v525-admin-nav{background:rgba(29,30,31,.88);color:#f4f0e8}
.v525-nav-head,.v525-nav-body,.v525-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v525-nav-head{justify-content:space-between}.v525-nav-head strong{font-size:17px}.v525-nav-body{padding-top:10px}.v525-nav-body label{display:flex;align-items:center;gap:10px;flex:1;min-width:min(100%,250px)}.v525-nav-body select{min-width:180px;max-width:100%;flex:1;border-radius:10px;padding:10px;color:inherit;background:rgba(255,255,255,.15);border:1px solid #9996}.v525-nav-collapsed .v525-nav-body{display:none}
.v525-panel{margin:18px 0 26px;padding:18px;background:rgba(120,120,120,.055);border:1px solid rgba(125,125,125,.32);border-radius:18px;direction:rtl}.v525-panel h3{font-size:clamp(20px,2.5vw,26px);margin:0 0 5px}.v525-panel h4{font-size:19px}.v525-title p{line-height:1.8;opacity:.8}.v525-panel button{cursor:pointer;min-height:39px;padding:8px 14px;border:1px solid rgba(110,110,110,.4);background:rgba(130,130,130,.11);color:inherit;border-radius:10px}.v525-panel button:hover{background:rgba(100,100,100,.22)}.v525-panel label{display:block;margin:12px 0;line-height:1.6}.v525-panel input:not([type="checkbox"]):not([type="color"]),.v525-panel select,.v525-panel textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:37px;padding:9px;border:1px solid rgba(110,110,110,.4);border-radius:9px;background:rgba(255,255,255,.09);color:inherit;margin-top:5px;font:inherit}.v525-panel select option{color:#202020;background:#f9f5ed}.v525-find{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;margin:12px 0}.v525-find label:has(#v525ItemSelect){grid-column:1/-1}.v525-find #v525ItemSelect{min-height:135px}.v525-find button{align-self:end}.v525-panel #v525Selected{border-top:1px solid rgba(130,130,130,.3);margin-top:17px;padding-top:12px}.v525-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:5px 15px}.v525-fields span{display:flex;gap:5px;align-items:center;font-size:13px}.v525-fields input[type=color]{height:33px;width:80px;border:1px solid #9997;border-radius:8px;background:transparent}.v525-inline{display:flex!important;gap:9px;align-items:center}.v525-panel code{direction:ltr;display:block;max-width:100%;overflow:auto;font-size:11px;opacity:.7}.v525-help{font-size:13px;opacity:.75;line-height:1.7}.v525-hidden-element{display:none!important}.v525-panel .v525-actions{margin:12px 0}.v525-panel button:disabled{opacity:.5;cursor:wait}
.v525-picker-active :is(#view-hall,#view-music,#view-literature,#view-letters,#view-videos,#view-reflection) :is(h1,h2,h3,h4,p,span,strong,small,button,a,label,li,figcaption,blockquote,img):hover{outline:2px dashed #cba267!important;outline-offset:3px;cursor:crosshair!important}
#view-admin #adminContent :is(.v525-admin-nav,.v525-panel){scroll-margin-top:175px}#view-admin #adminContent [id]{scroll-margin-top:165px}
@media(max-width:600px){.v525-admin-nav{top:56px;padding:9px}.v525-nav-body label{width:100%}.v525-find{grid-template-columns:1fr}.v525-panel{padding:12px}.v525-nav-body select{min-width:0}}
.v525-panel .v525-import-label{display:inline-flex;align-items:center;gap:6px;margin:0;flex-wrap:wrap;font-size:13px}.v525-import-label input[type=file]{width:min(220px,100%);font-size:12px;min-height:auto!important}



/* source: shaliz-v526.css */
/* V526: compact, top-left live visitor counter aligned with the administration title. */
#view-admin .room-hero-inner{position:relative!important;display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;width:100%!important}
#view-admin .room-hero-content{flex:1 1 auto!important;min-width:0!important}
#view-admin .room-hero-graphic{display:none!important}
#view-admin #v429VisitorsWidget{position:relative!important;flex:0 0 auto!important;align-self:flex-start!important;margin:0!important;padding:9px 13px!important;width:auto!important;max-width:45%!important;min-height:0!important;border-radius:12px!important;text-align:center!important}
#view-admin #v429VisitorsWidget .v429-visitors-inline{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:7px!important;font-size:12px!important}
#view-admin #v429VisitorsWidget svg{width:17px;height:17px}
#view-admin #v429VisitorsWidget strong{font-size:15px!important}
#view-admin .v526-page-picker{display:flex;flex-direction:column;gap:9px;font-weight:600;max-width:440px}
#view-admin .v526-page-picker select{width:100%;min-height:43px;border-radius:9px;padding:8px 12px;background:rgba(40,40,40,.5);color:inherit;border:1px solid rgba(160,150,130,.4)}
#view-admin .v526-page-picker option{background:#242424;color:#eee}
#view-admin .v526-theme-hint{font-size:13px;opacity:.75;margin:9px 0}
@media(max-width:600px){#view-admin .room-hero-inner{gap:8px!important}#view-admin #v429VisitorsWidget{max-width:49%!important;padding:7px!important}#view-admin #v429VisitorsWidget .v429-visitors-inline{gap:5px!important;font-size:10px!important}#view-admin #v429VisitorsWidget svg{display:none}#view-admin .room-hero-content h2{font-size:clamp(22px,6vw,32px)!important}}



/* source: shaliz-v528.css */
@media(max-width:700px){html body.studio-app section.view.v528-has-mobile-bg{position:relative!important;isolation:isolate;background-image:none!important}html body.studio-app section.view.v528-has-mobile-bg>.shaliz-live-background{display:none!important}html body.studio-app section.view>.v528-mobile-background{display:none}html body.studio-app section.view.v528-has-mobile-bg>.v528-mobile-background{display:block;position:absolute;inset:0;z-index:0;pointer-events:none;background-size:cover;background-repeat:no-repeat}html body.studio-app section.view.v528-has-mobile-bg>*:not(.v528-mobile-background){position:relative;z-index:1}html body.studio-app .bottom-nav.v528-custom-nav{background:var(--v528-nav-bg)!important;backdrop-filter:blur(var(--v528-nav-blur))!important;-webkit-backdrop-filter:blur(var(--v528-nav-blur))!important;border-top:1px solid var(--v528-nav-border)!important}html body.studio-app .bottom-nav.v528-custom-nav button{color:var(--v528-nav-text)!important}html body.studio-app .bottom-nav.v528-custom-nav button:is(.active,[aria-current="page"]){color:var(--v528-nav-accent)!important}}
#v528MobileBackgrounds,#v528MobileNav{margin:20px 0;padding:20px;border:1px solid rgba(200,180,145,.28);border-radius:12px}#v528MobileBackgrounds label,#v528MobileNav label{display:block;margin:12px 0}#v528MobileBackgrounds input[type=url],#v528MobileBackgrounds select{width:100%;max-width:500px}.v528-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.v528-fields input{display:block;width:100%;margin-top:7px}.v528-bg-preview{width:min(100%,360px);height:210px;background-size:cover;background-color:#252525;border:1px solid #777;border-radius:10px;margin:14px auto}.v528-nav-preview{display:flex;justify-content:space-around;align-items:center;gap:8px;border:1px solid;padding:18px 8px;border-radius:10px;margin:16px auto;max-width:450px;font-size:13px}#v528MobileBackgrounds button,#v528MobileNav button{margin:6px}



/* source: shaliz-v530-admin.css */

/* V530: Simplified Shaliz admin */
#view-admin #v521BulkPoems, #view-admin #v524Stats {display:none!important}
#view-admin #adminQuoteForm textarea[name="body"] {height:110px!important;min-height:85px!important;max-height:220px!important;resize:vertical!important}
#view-admin #adminContent h2,#view-admin #adminContent h3,#view-admin #adminContent h4,#view-admin #adminContent h5 {color:#d4b57a!important}



/* source: shaliz-v531-admin.css */

/* V531: Golden section headings in Shaliz administration only. */
#view-admin h2, #view-admin h3, #view-admin h4,
#view-admin .v525-nav-head strong,
#v525AdminNav .v525-nav-head strong,
#v523PlayerPanel h3, #v528MobileNav h3,
#v525StaticPanel h3 {color:#d4b57a!important;}



/* source: shaliz-v532-admin.css */

/* V532: corrected admin scope; prior releases used #view-admin, which does not exist. */
#adminContent h2,#adminContent h3,#adminContent h4,#adminContent h5,
#adminContent .v525-title h3,#adminContent .v523-admin-section h3,
#adminContent .v525-nav-head strong,
#adminContent .v524-section-title,
#adminContent legend,
#adminContent .admin-section-title {color:#d4b57a!important;}
#adminContent #v521BulkPoems,#adminContent #v524Stats,
#v521BulkPoems,#v524Stats {display:none!important;}
#adminContent #adminQuoteForm textarea[name="body"]{
 height:110px!important;min-height:85px!important;max-height:220px!important;resize:vertical!important;
}



/* source: shaliz-v533-admin.css */
/* V533 admin-only robust rules */
#view-admin h2,#view-admin h3,#view-admin h4,#view-admin h5,#view-admin h6 {color:#d4b57a!important}
#view-admin #v521BulkPoems,#view-admin #v524Stats {display:none!important}
#view-admin #adminQuoteForm textarea[name="body"] {height:110px!important;min-height:85px!important;max-height:220px!important;resize:vertical!important}



/* source: shaliz-v534-gold.css */

/* V534 — LAST loaded stylesheet; scoped to the administration screen. */
html body #view-admin #adminContent h1,
html body #view-admin #adminContent h2,
html body #view-admin #adminContent h3,
html body #view-admin #adminContent h4,
html body #view-admin #adminContent h5,
html body #view-admin #adminContent h6,
html body #view-admin #adminContent .v525-nav-head strong,
html body #view-admin #adminContent legend,
html body #view-admin .room-hero h1,
html body #view-admin .room-hero h2 {
 color:#d4b57a !important;
 -webkit-text-fill-color:#d4b57a !important;
}



/* source: shaliz-v535-literature.css */
/* V535: one viewport-sized background for literature mobile tabs. */
@media(max-width:700px){
html body.studio-app #view-literature.v535-mobile-literature-bg{position:relative!important;isolation:isolate;background-image:none!important;background-repeat:no-repeat!important}
html body.studio-app #view-literature.v535-mobile-literature-bg::before,
html body.studio-app #view-literature.v535-mobile-literature-bg::after{background-image:none!important}
html body.studio-app #view-literature.v535-mobile-literature-bg>.v528-mobile-background,
html body.studio-app #view-literature.v535-mobile-literature-bg>.shaliz-live-background{display:none!important}
html body.studio-app #view-literature>.v535-literature-bg{display:none}
html body.studio-app #view-literature.v535-mobile-literature-bg>.v535-literature-bg{display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:0!important;pointer-events:none!important;background-size:cover!important;background-repeat:no-repeat!important;background-attachment:scroll!important}
html body.studio-app #view-literature.v535-mobile-literature-bg>*:not(.v535-literature-bg){position:relative;z-index:1}
}



/* source: shaliz-v536-nav.css */
@media(max-width:700px){html body.studio-app nav.bottom-nav.v528-custom-nav{background:var(--v528-nav-bg)!important;background-color:var(--v528-nav-bg)!important;backdrop-filter:blur(var(--v528-nav-blur))!important;-webkit-backdrop-filter:blur(var(--v528-nav-blur))!important;border-top-color:var(--v528-nav-border)!important}html body.studio-app nav.bottom-nav.v528-custom-nav button,html body.studio-app nav.bottom-nav.v528-custom-nav button span,html body.studio-app nav.bottom-nav.v528-custom-nav button svg{color:var(--v528-nav-text)!important;stroke:currentColor!important}html body.studio-app nav.bottom-nav.v528-custom-nav button.active,html body.studio-app nav.bottom-nav.v528-custom-nav button[aria-current="page"]{color:var(--v528-nav-accent)!important}}


/* source: shaliz-v541-mobile-background.css */
/* V541: single non-repeating image for literature mobile tabs, overriding earlier page backgrounds. */
@media (max-width:700px){
 html body.studio-app #view-literature.v541-custom-mobile-background{
  position:relative!important;isolation:isolate!important;background-image:none!important;background-color:transparent!important;
 }
 html body.studio-app #view-literature.v541-custom-mobile-background::before,
 html body.studio-app #view-literature.v541-custom-mobile-background::after{
  background-image:none!important;background:none!important;
 }
 html body.studio-app #view-literature.v541-custom-mobile-background > .v528-mobile-background,
 html body.studio-app #view-literature.v541-custom-mobile-background > .v535-literature-bg,
 html body.studio-app #view-literature.v541-custom-mobile-background > .shaliz-live-background{
  display:none!important;background-image:none!important;
 }
 html body.studio-app #view-literature > .v541-literature-background{display:none!important}
 html body.studio-app #view-literature.v541-custom-mobile-background > .v541-literature-background{
  display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100vw!important;height:100vh!important;height:100dvh!important;
  z-index:0!important;pointer-events:none!important;background-repeat:no-repeat!important;
  background-size:cover!important;background-attachment:scroll!important;transform:none!important;
 }
 html body.studio-app #view-literature.v541-custom-mobile-background > :not(.v541-literature-background){position:relative;z-index:1}
}



/* source: shaliz-v544-journal-colors.css */

html body.studio-app #view-reflection textarea#journalEntry[data-paper="night"],
html body.studio-app #view-reflection .journal.v461-book[data-paper="night"] {
 background-color:#202438!important;
 background-image:radial-gradient(ellipse at 85% 5%,rgba(121,126,167,.18),transparent 55%),linear-gradient(140deg,#343952,#202438)!important;
 color:#fff!important;
}
html body.studio-app #view-reflection textarea#journalEntry[data-paper="brown"],
html body.studio-app #view-reflection .journal.v461-book[data-paper="brown"] {
 background-color:#1a1817!important;
 background-image:radial-gradient(ellipse at 75% 12%,rgba(157,132,91,.12),transparent 55%),linear-gradient(135deg,rgba(52,43,37,.95),rgba(26,24,23,.96))!important;
 color:#fff!important;
}
#view-reflection .v467-brown{background:linear-gradient(135deg,#342b25,#1a1817)!important}



/* source: shaliz-v545-journal-scope.css */
/* V545: keep indigo and brown on the writing field, never the whole journal panel. */
html body.studio-app #view-reflection .journal.v461-book[data-paper="night"],
html body.studio-app #view-reflection .journal.v461-book[data-paper="brown"]{background:rgba(22,21,20,.18)!important;background-image:none!important}
html body.studio-app #view-reflection textarea#journalEntry[data-paper="night"]{background:linear-gradient(140deg,#343952,#202438)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.studio-app #view-reflection textarea#journalEntry[data-paper="brown"]{background:linear-gradient(135deg,#342b25,#1a1817)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}



/* source: shaliz-v547-writing-font.css */
@font-face{font-family:"SHALIZ Amiri";src:url("./fonts/Amiri-Regular.ttf") format("truetype");font-display:swap}
html{--shaliz-writing-font:"Noto Naskh Arabic",serif}
html body #view-reflection textarea#journalEntry{font-family:var(--shaliz-writing-font)!important}
html body #view-literature #literatureItems .empty-manuscript{background:rgba(0,0,0,.38)!important;background-image:none!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important}
html body #view-literature #literatureItems .empty-manuscript h4,html body #view-literature #literatureItems .empty-manuscript p{color:#fff!important}


/* source: shaliz-v549-journal-date.css */
/* V549: date lives inside the writing area, at its lower-left corner. */
#view-reflection #v549JournalWritingWrap{position:relative;width:100%;min-width:0}
#view-reflection #v549JournalWritingWrap #journalEntry{display:block;width:100%;box-sizing:border-box;padding-bottom:3.5rem!important}
#view-reflection #v549JournalWritingWrap #v548JournalPageDate{
position:absolute!important;left:1.15rem!important;right:auto!important;bottom:.8rem!important;
margin:0!important;padding:0!important;z-index:2;pointer-events:none;
font-size:.82rem!important;line-height:1.4!important;text-align:left!important;
direction:rtl!important;opacity:.86;max-width:calc(100% - 2.3rem);
background:transparent!important;border:0!important;box-shadow:none!important;
}



/* source: shaliz-v551-retreat.css */

/* The journal remains in its original DOM position to preserve saving, page controls and editor behavior. */
#view-reflection .v551-retreat-actions{display:flex;justify-content:flex-start;gap:10px;margin:10px 0 14px}
#v551RetreatEnter,#v551RetreatExit{border:1px solid rgba(213,184,125,.55);border-radius:9px;background:rgba(24,24,25,.65);color:#e8d5a6;padding:9px 18px;font:inherit;cursor:pointer}
#v551RetreatEnter:hover,#v551RetreatExit:hover{border-color:#f0d79b}
body.v551-retreat-mode{overflow:hidden!important}
body.v551-retreat-mode::after{content:"";position:fixed;inset:0;z-index:2147483000;background:#141619;pointer-events:none}
body.v551-retreat-mode #view-reflection .journal.v461-book{
 position:fixed!important;inset:0!important;z-index:2147483001!important;
 width:100%!important;max-width:none!important;height:100dvh!important;
 margin:0!important;padding:clamp(22px,4vw,52px)!important;box-sizing:border-box!important;
 overflow-y:auto!important;display:flex!important;flex-direction:column!important;
 align-items:stretch!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:linear-gradient(145deg,#202326,#111316)!important;
 color:#f1e9dd!important;
}
body.v551-retreat-mode #view-reflection .journal.v461-book>h3,
body.v551-retreat-mode #view-reflection .journal.v461-book>p:not(#journalStatus),
body.v551-retreat-mode #view-reflection .v463-notebook-tools,
body.v551-retreat-mode #view-reflection .v467-paper-picker,
body.v551-retreat-mode #view-reflection .journal-buttons,
body.v551-retreat-mode #view-reflection #journalStatus,
body.v551-retreat-mode #view-reflection #v477NotebookTitleRow{display:none!important}
body.v551-retreat-mode #view-reflection .v551-retreat-actions{order:-1;justify-content:flex-end;margin:0 0 18px}
body.v551-retreat-mode #v551RetreatEnter{display:none!important}
body.v551-retreat-mode #v551RetreatExit{display:inline-block!important}
body.v551-retreat-mode #view-reflection .v480-journal-heading-row{flex:0 0 auto;margin-bottom:14px}
body.v551-retreat-mode #view-reflection #v549JournalWritingWrap{flex:1 1 auto;display:flex!important;min-height:45vh}
body.v551-retreat-mode #view-reflection #journalEntry{
 flex:1 1 auto!important;min-height:45vh!important;height:auto!important;
 max-height:none!important;resize:none!important;box-sizing:border-box!important;
}
@media(max-width:650px){
 body.v551-retreat-mode #view-reflection .journal.v461-book{padding:18px 13px!important}
 body.v551-retreat-mode #view-reflection #journalEntry{min-height:55vh!important}
}



/* source: shaliz-v552-literature.css */
/* V552 — no duplicate heading in the literature subcategories */
html body #view-literature #litSectionHeading{display:none!important}
/* Subtle translucent charcoal search field in the poetry collection */
html body #view-literature #poetryFilterWrap input#poetryFilter{
 background:rgba(0,0,0,.32)!important;background-image:none!important;
 color:#f8f4ed!important;border:1px solid rgba(255,255,255,.22)!important;
 box-shadow:none!important;backdrop-filter:none!important;
}
html body #view-literature #poetryFilterWrap input#poetryFilter::placeholder{color:rgba(245,240,230,.72)!important}
html body #view-literature #poetryFilterWrap input#poetryFilter:focus{border-color:rgba(218,191,137,.65)!important;outline:none}



/* source: shaliz-v553-retreat-fix.css */
/* V553: preserve the exact chosen textarea paper and font during writer's retreat. */
#view-reflection .v551-retreat-actions{display:flex;justify-content:flex-start;margin:5px 0 9px!important;gap:8px}
#view-reflection #v551RetreatEnter{
 appearance:none!important;background:transparent!important;background-image:none!important;
 border:0!important;box-shadow:none!important;border-radius:0!important;
 color:inherit!important;font:inherit!important;font-size:.85rem!important;
 padding:4px 2px!important;margin:0!important;cursor:pointer!important;
 text-decoration:none!important;transition:color .18s ease!important;
}
#view-reflection #v551RetreatEnter:hover,
#view-reflection #v551RetreatEnter:focus-visible{
 color:#e9c76c!important;text-decoration:underline!important;
 text-decoration-color:#e0b947!important;text-underline-offset:6px!important;
 text-decoration-thickness:2px!important;
}
body.v551-retreat-mode::after{background:#111316!important}
body.v551-retreat-mode #view-reflection .journal.v461-book{
 background:rgba(22,21,20,.18)!important;background-image:none!important;
 padding:clamp(60px,5vw,80px) clamp(14px,5vw,60px) 20px!important;
}
body.v551-retreat-mode #view-reflection .v551-retreat-actions{display:none!important}
body.v551-retreat-mode #v551RetreatExit{
 display:block!important;position:fixed!important;
 top:calc(12px + env(safe-area-inset-top,0px))!important;
 left:calc(12px + env(safe-area-inset-left,0px))!important;
 right:auto!important;bottom:auto!important;
 z-index:2147483646!important;
 visibility:visible!important;opacity:1!important;
 border:1px solid rgba(214,181,111,.55)!important;
 background:rgba(15,16,18,.92)!important;
 color:#f1dcac!important;padding:9px 13px!important;
 border-radius:7px!important;font-size:.86rem!important;
 cursor:pointer!important;box-shadow:0 2px 12px rgba(0,0,0,.25)!important;
}
body.v551-retreat-mode #view-reflection #v549JournalWritingWrap{
 flex:1 1 auto!important;min-height:0!important;display:flex!important;align-items:stretch!important;
}
body.v551-retreat-mode #view-reflection #journalEntry{
 display:block!important;visibility:visible!important;opacity:1!important;
 flex:1 1 auto!important;width:100%!important;height:100%!important;
 min-height:45vh!important;max-height:none!important;
 font-family:var(--shaliz-writing-font,"SHALIZ Amiri",serif)!important;
 font-size:inherit;caret-color:currentColor!important;
 -webkit-text-fill-color:currentColor!important;
}
/* Ensure readable writing ink on every background, without changing its color or transparency. */
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="night"],
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="brown"],
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="stone"],
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="parchment"],
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="none"]{
 color:#f2e8d8!important;-webkit-text-fill-color:#f2e8d8!important;caret-color:#f2e8d8!important;
}
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="paper"],
body.v551-retreat-mode #view-reflection #journalEntry[data-paper="rose"]{
 color:#171412!important;-webkit-text-fill-color:#171412!important;caret-color:#171412!important;
}
@media(max-width:650px){
 body.v551-retreat-mode #view-reflection .journal.v461-book{
 padding:65px 12px 15px!important;
 }
 body.v551-retreat-mode #v551RetreatExit{top:calc(10px + env(safe-area-inset-top,0px))!important;left:10px!important}
}



/* source: shaliz-v554-retreat-fix.css */
/* V554: Move the real editor into a top-level layer so no parent stacking context obscures it.
   The same textarea instance is retained, preserving listeners, draft state and selected paper. */
body.v551-retreat-mode::after{display:none!important;content:none!important}
body.v551-retreat-mode>.journal.v461-book{
 position:fixed!important;inset:0!important;z-index:2147483000!important;
 display:flex!important;flex-direction:column!important;
 box-sizing:border-box!important;overflow:auto!important;
 width:100vw!important;max-width:none!important;
 height:100dvh!important;min-height:0!important;
 margin:0!important;padding:65px clamp(12px,4vw,48px) 18px!important;
 background:#151719!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 visibility:visible!important;opacity:1!important;pointer-events:auto!important;
}
body.v551-retreat-mode>.journal.v461-book .v551-retreat-actions,
body.v551-retreat-mode>.journal.v461-book .v463-notebook-tools,
body.v551-retreat-mode>.journal.v461-book .v467-paper-picker,
body.v551-retreat-mode>.journal.v461-book .journal-buttons,
body.v551-retreat-mode>.journal.v461-book #journalStatus,
body.v551-retreat-mode>.journal.v461-book #v477NotebookTitleRow{display:none!important}
body.v551-retreat-mode>.journal.v461-book .v480-journal-heading-row{
 display:flex!important;flex:0 0 auto!important;visibility:visible!important;
 margin:0 0 16px!important;
}
body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap{
 position:relative!important;display:flex!important;flex:1 1 auto!important;
 min-height:0!important;width:100%!important;visibility:visible!important;
}
body.v551-retreat-mode>.journal.v461-book #journalEntry{
 display:block!important;position:relative!important;
 visibility:visible!important;opacity:1!important;
 pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;
 flex:1 1 auto!important;min-height:50vh!important;
 width:100%!important;height:100%!important;max-height:none!important;
 font-family:var(--shaliz-writing-font,"SHALIZ Amiri",serif)!important;
 caret-color:currentColor!important;resize:none!important;
}
body.v551-retreat-mode #v551RetreatExit{
 display:block!important;position:fixed!important;
 top:calc(12px + env(safe-area-inset-top,0px))!important;
 left:calc(12px + env(safe-area-inset-left,0px))!important;
 right:auto!important;bottom:auto!important;
 z-index:2147483647!important;visibility:visible!important;opacity:1!important;
 background:rgba(0,0,0,.55)!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 border-radius:7px!important;padding:9px 13px!important;color:#f1e6d2!important;
 cursor:pointer!important;pointer-events:auto!important;
}
body.v551-retreat-mode #v551RetreatExit:hover,
body.v551-retreat-mode #v551RetreatExit:focus-visible{background:rgba(0,0,0,.72)!important;color:#f5d895!important}
@media(max-width:650px){
 body.v551-retreat-mode>.journal.v461-book{padding:65px 12px 15px!important}
 body.v551-retreat-mode #v551RetreatExit{left:10px!important;top:calc(10px + env(safe-area-inset-top,0px))!important}
}



/* source: shaliz-v556-retreat.css */
/* V556: uncluttered retreat. Only navigation, add page, exit and the writing surface. */
body.v551-retreat-mode>.journal.v461-book>h3,
body.v551-retreat-mode>.journal.v461-book>h2,
body.v551-retreat-mode>.journal.v461-book>p,
body.v551-retreat-mode>.journal.v461-book>.v480-journal-heading-row>.v477-notebook-title,
body.v551-retreat-mode>.journal.v461-book #v548JournalPageDate,
body.v551-retreat-mode>.journal.v461-book .v548-journal-date,
body.v551-retreat-mode>.journal.v461-book .v474-guest-warning,
body.v551-retreat-mode>.journal.v461-book .v467-paper-picker,
body.v551-retreat-mode>.journal.v461-book .v463-notebook-tools,
body.v551-retreat-mode>.journal.v461-book .journal-buttons,
body.v551-retreat-mode>.journal.v461-book .v551-retreat-actions,
body.v551-retreat-mode>.journal.v461-book #journalStatus{display:none!important}
body.v551-retreat-mode>.journal.v461-book .v480-journal-heading-row{
 display:flex!important;justify-content:center!important;align-items:center!important;
 margin:0 0 12px!important;padding:0!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:10px!important;
}
body.v551-retreat-mode>.journal.v461-book #journalEntry{
 background-clip:padding-box!important;visibility:visible!important;opacity:1!important;
 pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;
}
body.v551-retreat-mode #v551RetreatExit{
 background:rgba(0,0,0,.5)!important;border:0!important;box-shadow:none!important;
}



/* source: shaliz-v557-retreat-controls.css */
/* V557: original notebook navigation is moved with the original journal.
   Its historical CSS was scoped under #view-reflection, so reproduce that look
   in the relocated full-screen editor without creating duplicate controls. */
body.v551-retreat-mode>.journal.v461-book .v480-journal-heading-row{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:12px!important;width:100%!important;margin:0 auto 20px!important;
 visibility:visible!important;opacity:1!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:12px!important;direction:rtl!important;flex-wrap:wrap!important;
 width:auto!important;max-width:100%!important;padding:8px 15px!important;
 border-radius:14px!important;background:rgba(0,0,0,.25)!important;
 border:1px solid rgba(208,181,125,.23)!important;
 box-shadow:0 4px 22px rgba(0,0,0,.12)!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button{
 appearance:none!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;min-width:35px!important;height:35px!important;
 padding:5px 10px!important;border-radius:9px!important;
 border:1px solid rgba(209,181,122,.45)!important;
 background:rgba(31,30,29,.46)!important;color:#e7c98e!important;
 box-shadow:none!important;font:inherit!important;font-size:.9rem!important;
 cursor:pointer!important;transition:background .2s,border-color .2s!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button:hover:not(:disabled){
 background:rgba(197,159,86,.19)!important;border-color:#d8b878!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button:disabled{
 opacity:.35!important;cursor:default!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav svg{
 width:17px!important;height:17px!important;display:block!important;
 fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.v551-retreat-mode>.journal.v461-book #v461PageNum{
 display:inline-block!important;color:#e5d6ba!important;
 font-size:.9rem!important;white-space:nowrap!important;
}
body.v551-retreat-mode>.journal.v461-book #v461Add{
 padding-inline:14px!important;white-space:nowrap!important;
}
@media(max-width:520px){
 body.v551-retreat-mode>.journal.v461-book .v461-book-nav{gap:6px!important;padding:6px!important}
 body.v551-retreat-mode>.journal.v461-book .v461-book-nav button{min-width:31px!important;height:32px!important;padding:4px 7px!important}
}



/* source: shaliz-v559-retreat-buttons.css */
/* V559 — same retreat controls, with soft black translucent buttons and no gold frame */
body.v551-retreat-mode>.journal.v461-book .v461-book-nav{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button{
 background:rgba(0,0,0,.50)!important;background-image:none!important;
 border:0!important;outline:0!important;box-shadow:none!important;
 color:#f1e6d2!important;border-radius:7px!important;
 transform:none!important;filter:none!important;
}
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button:hover:not(:disabled),
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button:active:not(:disabled),
body.v551-retreat-mode>.journal.v461-book .v461-book-nav button:focus-visible:not(:disabled){
 background:rgba(0,0,0,.72)!important;color:#f5d895!important;
 text-shadow:0 0 9px rgba(234,184,86,.75)!important;
 border:0!important;box-shadow:none!important;transform:none!important;
}



/* source: shaliz-v562-retreat-no-focus-frame.css */
/* V562: suppress writing-focus outline without changing selected paper or caret. */
body.v551-retreat-mode>.journal.v461-book #journalEntry,
body.v551-retreat-mode>.journal.v461-book #journalEntry:focus,
body.v551-retreat-mode>.journal.v461-book #journalEntry:focus-visible,
body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap,
body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap:focus-within{
 outline:none!important;outline-width:0!important;
 border-color:transparent!important;box-shadow:none!important;
 filter:none!important;
}
body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap::before,
body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap::after{
 box-shadow:none!important;outline:none!important;
}



/* source: shaliz-v563-focus-glow-fix.css */
/* V563: no hover glow on the two administrative controls.
   Keep the original charcoal background and a crisp gold border only. */
html body.studio-app #view-guests .v399-site-settings #guestSettings,
html body.studio-app #view-guests .v399-admin-footer #adminEntry,
html body.studio-app #view-guests .v399-site-settings #guestSettings:is(:hover,:active,:focus,:focus-visible),
html body.studio-app #view-guests .v399-admin-footer #adminEntry:is(:hover,:active,:focus,:focus-visible){
 background:#454b4d!important;background-image:none!important;
 box-shadow:none!important;text-shadow:none!important;filter:none!important;
 transform:none!important;translate:none!important;scale:1!important;
 outline:none!important;animation:none!important;
 transition:border-color .15s ease!important;
}
html body.studio-app #view-guests .v399-site-settings #guestSettings:is(:hover,:active,:focus,:focus-visible),
html body.studio-app #view-guests .v399-admin-footer #adminEntry:is(:hover,:active,:focus,:focus-visible){
 border:1px solid #c9a566!important;
}
html body.studio-app #view-guests .v399-site-settings #guestSettings :is(svg,path,circle),
html body.studio-app #view-guests .v399-admin-footer #adminEntry :is(svg,path,circle){
 filter:none!important;text-shadow:none!important;box-shadow:none!important;
}
/* No border or halo on the writing editor OR its enclosing wrapper when focused. */
html body.v551-retreat-mode>.journal.v461-book,
html body.v551-retreat-mode>.journal.v461-book:focus-within,
html body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap,
html body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap:focus-within,
html body.v551-retreat-mode>.journal.v461-book #journalEntry,
html body.v551-retreat-mode>.journal.v461-book #journalEntry:is(:focus,:focus-visible,:active){
 outline:0 none!important;outline-offset:0!important;
 border-color:transparent!important;box-shadow:none!important;
 filter:none!important;
}
html body.v551-retreat-mode>.journal.v461-book #journalEntry{
 border:0!important;outline:0!important;
}
html body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap::before,
html body.v551-retreat-mode>.journal.v461-book #v549JournalWritingWrap::after,
html body.v551-retreat-mode>.journal.v461-book #journalEntry::before,
html body.v551-retreat-mode>.journal.v461-book #journalEntry::after{
 border:0!important;outline:0!important;box-shadow:none!important;
}



/* source: shaliz-v570-edit-button-match.css */
/* V570: one shared rule for the real buttons, overriding legacy v403 and v564. */
html body.studio-app #view-guests button#v391ToggleAccount,
html body.studio-app #view-guests .v399-site-settings button#guestSettings,
html body.studio-app #view-guests .v399-admin-footer button#adminEntry{
 box-sizing:border-box!important;
 background:#454b4d!important;background-image:none!important;
 border:1px solid rgba(183,151,99,.48)!important;border-radius:8px!important;
 color:#fff!important;
 box-shadow:none!important;text-shadow:none!important;filter:none!important;
 transform:none!important;translate:none!important;scale:1!important;
 outline:none!important;animation:none!important;
 transition:box-shadow .18s ease!important;
}
html body.studio-app #view-guests button#v391ToggleAccount:is(:hover,:active,:focus-visible),
html body.studio-app #view-guests .v399-site-settings button#guestSettings:is(:hover,:active,:focus-visible),
html body.studio-app #view-guests .v399-admin-footer button#adminEntry:is(:hover,:active,:focus-visible){
 background:#454b4d!important;background-image:none!important;
 border:1px solid rgba(183,151,99,.48)!important;
 box-shadow:0 0 0 1px rgba(212,173,97,.67),0 0 14px rgba(195,157,86,.24)!important;
 text-shadow:none!important;filter:none!important;
 transform:none!important;translate:none!important;scale:1!important;
 outline:none!important;animation:none!important;
}
html body.studio-app #view-guests .v399-admin-footer button#adminEntry{
 font-size:18px!important;font-weight:600!important;
 padding:14px 28px!important;min-height:54px!important;
 width:auto!important;max-width:none!important;min-width:190px!important;
 line-height:1.5!important;
}
html body.studio-app #view-guests .v399-admin-footer button#adminEntry[hidden]{display:none!important}



/* source: shaliz-v571-background-editor.css */
#v571DesktopReset{margin:12px 8px 4px;padding:10px 17px;cursor:pointer}
.v571-bg-hint{font-size:.86rem;opacity:.85;margin:10px 0}
#v521BackgroundPreview,.v528-bg-preview{background-size:cover;background-repeat:no-repeat;min-height:130px}



/* source: shaliz-v575-bg-preview.css */
.v575-range-value{display:inline-block;min-width:48px;margin-inline:8px;color:#d5b67b;font-variant-numeric:tabular-nums;font-size:.86rem;direction:ltr;text-align:center}#v521BackgroundPreview,.v528-bg-preview{background-repeat:no-repeat;background-size:cover;min-height:140px}


/* source: shaliz-v577-journal-transparency.css */
/* V577: soft translucency for dark brown and indigo journal papers.
   Applies to the writing area, including writer's retreat where the existing
   script captures computed background styles before moving the textarea. */
html body.studio-app #view-reflection textarea#journalEntry[data-paper="night"]{
 background-color:transparent!important;
 background-image:linear-gradient(140deg,rgba(52,57,82,.94),rgba(32,36,56,.94))!important;
}
html body.studio-app #view-reflection textarea#journalEntry[data-paper="brown"]{
 background-color:transparent!important;
 background-image:linear-gradient(135deg,rgba(52,43,37,.94),rgba(26,24,23,.94))!important;
}



/* source: shaliz-v585-fixes.css */
/* V585: no parchment placeholder. Preserve site's ORIGINAL default literature background
   while Supabase's custom image is loading; the live CMS layer takes over on readiness. */
@media(min-width:701px){
 html body.studio-app #view-literature::after{content:none!important;display:none!important}
 html body.studio-app #view-literature:not(.shaliz-live-themed){
   background-color:transparent!important;
 }
 html body.studio-app #view-literature.shaliz-live-themed>.shaliz-live-background{
   background-repeat:no-repeat!important;background-size:cover!important;
 }
}
/* Player only: animate position via the same --p variable the existing player uses. */
@media(min-width:769px){
 html body.studio-app #player.player .seek-luxe .seek-knob,
 html body.studio-app #player.player .seek-luxe .seek-progress{
   transition:none!important;animation:none!important;
 }
}
.v585-social-panel{margin:20px 0;padding:20px;border:1px solid rgba(190,159,99,.3);border-radius:12px;background:rgba(24,25,26,.48)}
.v585-social-panel h3{margin:0 0 10px}
.v585-social-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(160px,2fr) 70px;gap:10px;align-items:center;margin:8px 0}
.v585-social-row input[type=url]{width:100%;box-sizing:border-box}
.v585-social-row label{display:flex;gap:6px;align-items:center}
@media(max-width:600px){.v585-social-row{grid-template-columns:1fr}.v585-social-row input{width:100%}}

