:root{--scrollbar-thumb:#721ee3;--scrollbar-track:transparent}@media (prefers-color-scheme:dark){:root{--scrollbar-thumb:#a985ff;--scrollbar-track:transparent}}.chapter-list{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);overflow-y:auto}.chapter-list::-webkit-scrollbar{width:4px}.chapter-list::-webkit-scrollbar-track{background:var(--scrollbar-track)}.chapter-list::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:2px}.wide{width:98%}.medium{width:94%}.narrow{width:90%}@media (min-width:768px){.wide{width:95%}.medium{width:85%}.narrow{width:75%}}@media (min-width:1024px){.wide{width:85%}.medium{width:75%}.narrow{width:65%}}@media (min-width:1440px){.wide{width:75%}.medium{width:65%}.narrow{width:55%}}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.no-scrollbar::-webkit-scrollbar{display:none}:root{--lines-DaisyBush-600:#8130f7;--lines-DaisyBush-700:#721ee3;--lines-DaisyBush-900:#4c1595;--Grey-100:#f5f5f5;--Grey-200:#eee;--Grey-400:#bdbdbd;--Grey-700:#616161;--Grey-800:#424242;--Grey-900:#212121;--text-muted:#0009}.dark{--text-muted:#fff9}novel,play,scene,action,line,header,list,item,image,gate,liner{margin:.5rem 0;display:block;position:relative}#story-editor-content p[data-ph],#story-editor-content action[data-ph]{position:relative}action:has(>br:only-child):before{content:attr(data-ph);top:4px;color:var(--Grey-400);pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset-inline-start:4px}p:has(>br:only-child):before{content:attr(data-ph);top:4px;color:var(--Grey-400);pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset-inline-start:4px}@media (prefers-color-scheme:dark){action:has(>br:only-child):before{--tw-text-opacity:1;color:rgb(158 158 158/var(--tw-text-opacity,1))}p:has(>br:only-child):before{--tw-text-opacity:1;color:rgb(158 158 158/var(--tw-text-opacity,1))}}novel{counter-reset:chapter-counter;padding-bottom:1rem}chapter-title,act-title{counter-increment:chapter-counter}chapter-title[data-extra=true],act-title[data-extra=true]{counter-increment:none}h1,h2,h3,h4,h5,h6{--tw-text-opacity:1;color:rgb(26 26 26/var(--tw-text-opacity,1));margin:.75rem 0 .5rem;font-weight:700;display:block}h1:is(.dark *),h2:is(.dark *),h3:is(.dark *),h4:is(.dark *),h5:is(.dark *),h6:is(.dark *){--tw-text-opacity:1;color:rgb(250 250 250/var(--tw-text-opacity,1))}h1{font-size:1.9rem}h2{font-size:1.6rem}h3{font-size:1.35rem}h4{font-size:1.2rem}h5{font-size:1.05rem}h6{font-size:.95rem}h1:empty:before,h2:empty:before,h3:empty:before,h4:empty:before,h5:empty:before,h6:empty:before{content:attr(data-ph) " " attr(level);color:#0006;pointer-events:none;font-style:italic}chapter-title:empty:before,act-title:empty:before{content:attr(data-ph);color:#0006;pointer-events:none;font-style:italic}ul,ol{margin:.5rem 0;padding-inline-start:1.5rem}#white-sheet ul,#white-sheet ol{list-style-position:outside}#white-sheet ul{list-style-type:disc}#white-sheet ol{list-style-type:decimal}#white-sheet li::marker{color:var(--text-muted)}@media (max-width:767px){#white-sheet ul,#white-sheet ol{padding-inline-start:1.75rem}}li{margin-left:0}ul li+li,ol li+li{margin-top:.25rem}ul li p,ol li p{margin:0;display:inline}image{border-radius:.5rem;max-width:100%;display:inline-block;box-shadow:0 3px 8px #00000014}#white-sheet p{--tw-text-opacity:1;color:rgb(26 26 26/var(--tw-text-opacity,1));margin-top:1rem;margin-bottom:1rem}#white-sheet p:is(.dark *){--tw-text-opacity:1;color:rgb(250 250 250/var(--tw-text-opacity,1))}#white-sheet.preview-white-sheet p{margin-block:.5rem}blockquote,quote,.quote{--tw-text-opacity:1;color:rgb(129 48 247/var(--tw-text-opacity,1));padding-inline:2rem;font-style:italic;display:inline-block;position:relative}blockquote:is(.dark *),quote:is(.dark *),.quote:is(.dark *){--tw-text-opacity:1;color:rgb(197 177 255/var(--tw-text-opacity,1))}blockquote:before,quote:before,.quote:before{content:"“";--tw-text-opacity:1;color:rgb(114 30 227/var(--tw-text-opacity,1));margin-right:.25em;font-size:x-large;line-height:100%}blockquote:is(.dark *):before,quote:is(.dark *):before,.quote:is(.dark *):before{--tw-text-opacity:1;color:rgb(237 232 255/var(--tw-text-opacity,1))}blockquote:after,quote:after,.quote:after{content:"”";--tw-text-opacity:1;color:rgb(114 30 227/var(--tw-text-opacity,1));margin-left:.25em;font-size:x-large;line-height:100%}blockquote:is(.dark *):after,quote:is(.dark *):after,.quote:is(.dark *):after{--tw-text-opacity:1;color:rgb(237 232 255/var(--tw-text-opacity,1))}liner{justify-content:center;width:100%;display:flex}liner>button,liner:empty:before{color:#fff;background:var(--lines-DaisyBush-700);border-radius:.375rem;padding:.4rem 1.2rem;font-family:Lines,sans-serif;font-size:1.3rem;transition:background .25s}liner>button:hover{background:var(--lines-DaisyBush-600)}liner:empty:before{content:"— New plot line —";opacity:.4;pointer-events:none}gate{border:2px dashed var(--lines-DaisyBush-700);text-align:center;border-radius:.375rem;padding:.4rem 1rem;font-style:italic}gate:empty:before{content:"⛔ Gate here";color:var(--text-muted)}scene-title{text-transform:uppercase;--tw-text-opacity:1;color:rgb(142 83 255/var(--tw-text-opacity,1));margin-top:1.5rem;margin-bottom:.75rem;font-size:1.125rem;font-weight:600;line-height:1.75rem;display:block}scene-title:is(.dark *){--tw-text-opacity:1;color:rgb(197 177 255/var(--tw-text-opacity,1))}scene-title:empty:before{content:"Scene title";color:#0006;pointer-events:none;font-style:italic}scene-title:has(>br:only-child):before{content:"Scene title";pointer-events:none;-webkit-user-select:none;user-select:none;text-transform:uppercase;color:#721ee380;font-size:1.125rem;font-weight:600;line-height:1.75rem;position:absolute;left:5px}scene-title:has(>br:only-child):is(.dark *):before{--tw-text-opacity:1;color:rgb(197 177 255/var(--tw-text-opacity,1))}chapter-title,act-title{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1));margin-top:2.5rem;margin-bottom:1.25rem;font-family:inherit;font-size:2.25rem;font-weight:700;line-height:1.25;display:block}chapter-title:is(.dark *),act-title:is(.dark *){--tw-text-opacity:1;color:rgb(245 245 244/var(--tw-text-opacity,1))}chapter-title:before,act-title:before{letter-spacing:.12em;text-transform:uppercase;--tw-text-opacity:1;color:rgb(142 83 255/var(--tw-text-opacity,1));margin-bottom:.45rem;font-size:.9rem;font-weight:700;display:block}chapter-title:is(.dark *):before,act-title:is(.dark *):before{--tw-text-opacity:1;color:rgb(197 177 255/var(--tw-text-opacity,1))}chapter-title:before{content:"CHAPTER " counter(chapter-counter)}chapter-title[data-extra=true]:before{content:"INTRODUCTION"}act-title:before{content:"ACT " counter(chapter-counter)}act-title[data-extra=true]:before{content:"PROLOGUE"}:lang(fa) chapter-title:before{content:"فصل " counter(chapter-counter)}:lang(fa) chapter-title[data-extra=true]:before{content:"پیش‌درآمد"}:lang(fa) act-title:before{content:"پرده " counter(chapter-counter)}:lang(fa) act-title[data-extra=true]:before{content:"پیش‌درآمد"}@media (prefers-color-scheme:dark){act-title:empty:after{color:#aaa}}action{--tw-text-opacity:1;color:rgb(117 117 117/var(--tw-text-opacity,1));margin-top:.5rem;margin-bottom:.5rem;font-size:.875rem;font-style:italic;font-weight:400;line-height:1.25rem;display:block}action:is(.dark *){--tw-text-opacity:1;color:rgb(224 224 224/var(--tw-text-opacity,1))}line{margin:.25rem 0}line character{text-align:center;letter-spacing:.1em;color:var(--char-color);margin-top:1rem;margin-bottom:.25rem;font-weight:700;display:block}line character:is(.dark *){color:var(--char-color-dark)}line dialogue{font-size:normal;text-align:center;--tw-text-opacity:1;max-width:40rem;color:rgb(0 0 0/var(--tw-text-opacity,1));margin:.25rem auto;font-weight:500;line-height:1.75rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:block}.group:hover line dialogue,line dialogue:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}parenthetical{color:var(--text-muted);margin-left:1.25rem;font-style:italic;display:block}.draggable-block-menu{display:none}.draggable-block-menu.active{display:flex}#story-editor-content{--tw-prose-spacing:calc(var(--story-content-spacing-multiplier,1) * 1.5rem)}#story-editor-content p{margin-top:var(--tw-prose-spacing)!important;margin-bottom:var(--tw-prose-spacing)!important}
