:root {
    --white: #fff;
    --black: #000;
    --gray-50: #f9f9f9;
    --gray-50-rgb: 249 249 249;
    --gray-100: #ececec;
    --gray-200: #e3e3e3;
    --gray-300: #cdcdcd;
    --gray-400: #b4b4b4;
    --gray-500: #9b9b9b;
    --gray-600: #676767;
    --gray-700: #424242;
    --gray-750: #2f2f2f;
    --gray-800: #212121;
    --gray-900: #171717;
    --gray-900-rgb: 23 23 23;
    --gray-950: #0d0d0d;
    --red-500: #ef4444;
    --red-700: #b91c1c;
    --brand-purple: #ab68ff;
    font-size: 1rem;
    line-height: 1.75;
}


@media (prefers-color-scheme: light) {
    html {
        --black-: 0 0 0;
        --white-: 255 255 255;
        --black--: rgb(var(--black-) / 100%);
        --bg-body-up: rgb(255 255 255);
        --text-primary: var(--gray-950);
        --text-secondary: #7d7d7d;
        --text-tertiary: var(--gray-400);
        --text-quaternary: var(--gray-300);
        --link: 41 100 170;
        --link-: rgb(var(--link) / 100%);
        --link-bg: rgb(var(--link) / 4%);
        --link-bg-hover: rgb(var(--link) / 8%);
        --text-error: 249 58 55;
        --text-error-: rgb(var(--text-error) / 100%);
        --text-error-bg: rgb(var(--text-error) / 4%);
        --text-error-bg-hover: rgb(var(--text-error) / 8%);
        --text-success: 16 163 127;
        --text-success-: rgb(var(--text-success) / 100%);
        --text-success-bg: rgb(var(--text-success) / 4%);
        --text-success-bg-hover: rgb(var(--text-success) / 8%);
        --border-light: rgba(0, 0, 0, .1);
        --border-medium: rgba(0, 0, 0, .15);
        --border-heavy: rgba(0, 0, 0, .2);
        --border-xheavy: rgba(0, 0, 0, .25);
        --border-sharp: rgb(0 0 0 / 5%);
        --main-surface-primary: var(--white);
        --main-surface-secondary: var(--gray-50);
        --main-surface-tertiary: var(--gray-100);
        --sidebar-surface-primary: var(--gray-50);
        --sidebar-surface-secondary: var(--gray-100);
        --sidebar-surface-tertiary: var(--gray-200);
        --link-hover: #749ac8;
        --bg-body: 252 252 252;
        --bg-body-: rgb(var(--bg-body) / 100%);
        --shadow-black: 0 0 0;
        --shadow-black-: rgb(var(--shadow-black) / 4%);
    }
}


@media (prefers-color-scheme: dark) {


    html {
        --black-: 255 255 255;
        --white-: 0 0 0;
        --bg-body-up: rgb(37 37 37);
        --text-primary: var(--gray-100);
        --text-secondary: var(--gray-400);
        --text-tertiary: var(--gray-500);
        --text-quaternary: var(--gray-600);
        --text-error: #f93a37;
        --border-light: hsla(0, 0%, 100%, .1);
        --border-medium: hsla(0, 0%, 100%, .15);
        --border-heavy: hsla(0, 0%, 100%, .2);
        --border-xheavy: hsla(0, 0%, 100%, .25);
        --border-sharp: hsla(0, 0%, 100%, .05);
        --main-surface-primary: var(--gray-800);
        --main-surface-secondary: var(--gray-750);
        --main-surface-tertiary: var(--gray-700);
        --sidebar-surface-primary: var(--gray-900);
        --sidebar-surface-secondary: var(--gray-800);
        --sidebar-surface-tertiary: var(--gray-750);
        --link: #7ab7ff;
        --link-hover: #5e83b3;
        --surface-error: 249 58 55;
        --link: 122 183 255;
        --link-: rgb(var(--link) / 100%);
        --link-bg: rgb(var(--link) / 4%);
        --link-bg-hover: rgb(var(--link) / 8%);
        --text-error: 249 58 55;
        --text-error-: rgb(var(--text-error) / 100%);
        --text-error-bg: rgb(var(--text-error) / 4%);
        --text-error-bg-hover: rgb(var(--text-error) / 8%);
        --text-success: 16 163 127;
        --text-success-: rgb(var(--text-success) / 100%);
        --text-success-bg: rgb(var(--text-success) / 4%);
        --text-success-bg-hover: rgb(var(--text-success) / 8%);
        --bg-body: 33 33 33;
        --bg-body-: rgb(var(--bg-body) / 100%);
        --shadow-black: 0 0 0;
        --shadow-black-: rgb(var(--shadow-black) / 12%);
    }



}







html.light-theme {
        --black-: 0 0 0;
        --white-: 255 255 255;
        --black--: rgb(var(--black-) / 100%);
        --bg-body-up: rgb(255 255 255);
        --text-primary: var(--gray-950);
        --text-secondary: #7d7d7d;
        --text-tertiary: var(--gray-400);
        --text-quaternary: var(--gray-300);
        --link: 41 100 170;
        --link-: rgb(var(--link) / 100%);
        --link-bg: rgb(var(--link) / 4%);
        --link-bg-hover: rgb(var(--link) / 8%);
        --text-error: 249 58 55;
        --text-error-: rgb(var(--text-error) / 100%);
        --text-error-bg: rgb(var(--text-error) / 4%);
        --text-error-bg-hover: rgb(var(--text-error) / 8%);
        --text-success: 16 163 127;
        --text-success-: rgb(var(--text-success) / 100%);
        --text-success-bg: rgb(var(--text-success) / 4%);
        --text-success-bg-hover: rgb(var(--text-success) / 8%);
        --border-light: rgba(0, 0, 0, .1);
        --border-medium: rgba(0, 0, 0, .15);
        --border-heavy: rgba(0, 0, 0, .2);
        --border-xheavy: rgba(0, 0, 0, .25);
        --border-sharp: rgb(0 0 0 / 5%);
        --main-surface-primary: var(--white);
        --main-surface-secondary: var(--gray-50);
        --main-surface-tertiary: var(--gray-100);
        --sidebar-surface-primary: var(--gray-50);
        --sidebar-surface-primary-rgb: var(--gray-50-rgb);
        --sidebar-surface-secondary: var(--gray-100);
        --sidebar-surface-tertiary: var(--gray-200);
        --link-hover: #749ac8;
        --bg-body: 252 252 252;
        --bg-body-: rgb(var(--bg-body) / 100%);
        --shadow-black: 0 0 0;
        --shadow-black-: rgb(var(--shadow-black) / 4%);
}


html.dark-theme {--black-: 255 255 255;--white-: 0 0 0;--bg-body-up: rgb(37 37 37);--text-primary: var(--gray-100);--text-secondary: var(--gray-400);--text-tertiary: var(--gray-500);--text-quaternary: var(--gray-600);--text-error: #f93a37;--border-light: hsla(0, 0%, 100%, .1);--border-medium: hsla(0, 0%, 100%, .15);--border-heavy: hsla(0, 0%, 100%, .2);--border-xheavy: hsla(0, 0%, 100%, .25);--border-sharp: hsla(0, 0%, 100%, .05);--main-surface-primary: var(--gray-800);--main-surface-secondary: var(--gray-750);--main-surface-tertiary: var(--gray-700);--sidebar-surface-primary: var(--gray-900);--sidebar-surface-primary-rgb: var(--gray-900-rgb);--sidebar-surface-secondary: var(--gray-800);--sidebar-surface-tertiary: var(--gray-750);--link: #7ab7ff;--link-hover: #5e83b3;--surface-error: 249 58 55;--link: 122 183 255;--link-: rgb(var(--link) / 100%);--link-bg: rgb(var(--link) / 4%);--link-bg-hover: rgb(var(--link) / 8%);--text-error: 249 58 55;--text-error-: rgb(var(--text-error) / 100%);--text-error-bg: rgb(var(--text-error) / 4%);--text-error-bg-hover: rgb(var(--text-error) / 8%);--text-success: 16 163 127;--text-success-: rgb(var(--text-success) / 100%);--text-success-bg: rgb(var(--text-success) / 4%);--text-success-bg-hover: rgb(var(--text-success) / 8%);--bg-body: 33 33 33;--bg-body-: rgb(var(--bg-body) / 100%);--shadow-black: 0 0 0;--shadow-black-: rgb(var(--shadow-black) / 12%);}


/* :root {
    --white: #fff;
    --black: #000;
    --gray-50: #f9f9f9;
    --gray-100: #f7f7f7;
    --gray-200: #e3e3e3;
    --gray-300: #bcbcba;
    --gray-400: #b4b4b4;
    --gray-500: #9b9b9b;
    --gray-600: #676767;
    --gray-700: #424242;
    --gray-750: #2f2f2f;
    --gray-800: #212121;
    --gray-900: #171717;
    --gray-950: #1a1a1a;
    --red-500: #ef4444;
    --red-700: #b91c1c;
    --brand-purple: #ab68ff;
    font-size: 1rem;
    line-height: 1.75;
}



@media (prefers-color-scheme: light) {
    html {

        --iawrite-bg: #f7f7f7;
        --iawrite-color: #1a1a1a;
        --iawrite-color-litgh: #bcbcba;

        --black-: 0 0 0;
        --white-: 255 255 255;
        --black--: rgb(var(--black-) / 100%);
        --bg-body-up: rgb(255 255 255);
        --text-primary: var(--gray-950);
        --text-secondary: #7d7d7d;
        --text-tertiary: var(--gray-400);
        --text-quaternary: var(--gray-300);
        --link: 41 100 170;
        --link-: rgb(var(--link) / 100%);
        --link-bg: rgb(var(--link) / 4%);
        --link-bg-hover: rgb(var(--link) / 8%);
        --text-error: 249 58 55;
        --text-error-: rgb(var(--text-error) / 100%);
        --text-error-bg: rgb(var(--text-error) / 4%);
        --text-error-bg-hover: rgb(var(--text-error) / 8%);
        --text-success: 16 163 127;
        --text-success-: rgb(var(--text-success) / 100%);
        --text-success-bg: rgb(var(--text-success) / 4%);
        --text-success-bg-hover: rgb(var(--text-success) / 8%);
        --border-light: rgba(0, 0, 0, .1);
        --border-medium: rgba(0, 0, 0, .15);
        --border-heavy: rgba(0, 0, 0, .2);
        --border-xheavy: rgba(0, 0, 0, .25);
        --border-sharp: rgb(0 0 0 / 5%);
        --main-surface-primary: var(--white);
        --main-surface-secondary: var(--gray-50);
        --main-surface-tertiary: var(--gray-100);
        --sidebar-surface-primary: var(--gray-50);
        --sidebar-surface-secondary: var(--gray-100);
        --sidebar-surface-tertiary: var(--gray-200);
        --link-hover: #749ac8;
        --bg-body: 247 247 247;
        --bg-body-: rgb(var(--bg-body) / 100%);
        --shadow-black: 0 0 0;
        --shadow-black-: rgb(var(--shadow-black) / 4%);
    }
}


@media (prefers-color-scheme: dark) {


    html {--iawrite-bg: #1a1a1a;--iawrite-color: #f7f7f7;--iawrite-color-litgh: #565656;--black-: 255 255 255;--white-: 0 0 0;--bg-body-up: rgb(32 32 32);--text-primary: var(--gray-100);--text-secondary: var(--gray-400);--text-tertiary: var(--gray-500);--text-quaternary: var(--gray-600);--text-error: #f93a37;--border-light: hsla(0, 0%, 100%, .1);--border-medium: hsla(0, 0%, 100%, .15);--border-heavy: hsla(0, 0%, 100%, .2);--border-xheavy: hsla(0, 0%, 100%, .25);--border-sharp: hsla(0, 0%, 100%, .05);--main-surface-primary: var(--gray-800);--main-surface-secondary: var(--gray-750);--main-surface-tertiary: var(--gray-700);--sidebar-surface-primary: var(--gray-900);--sidebar-surface-secondary: var(--gray-800);--sidebar-surface-tertiary: var(--gray-750);--link: #7ab7ff;--link-hover: #5e83b3;--surface-error: 249 58 55;--link: 122 183 255;--link-: rgb(var(--link) / 100%);--link-bg: rgb(var(--link) / 4%);--link-bg-hover: rgb(var(--link) / 8%);--text-error: 249 58 55;--text-error-: rgb(var(--text-error) / 100%);--text-error-bg: rgb(var(--text-error) / 4%);--text-error-bg-hover: rgb(var(--text-error) / 8%);--text-success: 16 163 127;--text-success-: rgb(var(--text-success) / 100%);--text-success-bg: rgb(var(--text-success) / 4%);--text-success-bg-hover: rgb(var(--text-success) / 8%);--bg-body: 26 26 26;--bg-body-: rgb(var(--bg-body) / 100%);--shadow-black: 0 0 0;--shadow-black-: rgb(var(--shadow-black) / 12%);}



} */





* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    padding: 100px 8px;
    /* background-color: rgb(var(--bg-body) / 100%); */
    background-color: var(--sidebar-surface-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    min-height: 100svh;
}









.ql-container {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-size: 137.5%;
    height: 100%;
    margin: 0;
    position: relative;
}

.ql-bubble .ql-tooltip.ql-flip {
    background-color: rgb(var(--white-) / 100%);
    border-radius: 25px;
    box-shadow: 0px 0px 0px 1px var(--border-sharp), 0px 4px 8px 0px var(--shadow-black-);
    z-index: 999;
}


.ql-bubble .ql-tooltip:not(.ql-flip) {
    background-color: var(--bg-body-up);
    border-radius: 12px;
    color: var(--text-secondary);
    z-index: 999;
    box-shadow: 0px 0px 0px 1px var(--border-sharp), 0px -4px 8px 0px var(--shadow-black-);
}

.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow {
    border-top: 6px solid rgb(var(--white-) / 100%);
    bottom: -6px;
}

.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow {
    border-bottom: 6px solid var(--bg-body-up);
    top: -6px;
    backdrop-filter: blur(20px);
}

.ql-bubble .ql-toolbar .ql-formats:first-child {
    margin-left: 8px;
}






.ql-bubble.ql-toolbar button,
.ql-bubble .ql-toolbar button {
    height: 32px;
    padding: 6px 6px;
    width: 32px;
    border-radius: 6px;
}

.ql-bubble.ql-toolbar button svg,
.ql-bubble .ql-toolbar button svg {
    float: none;
}

.ql-bubble.ql-toolbar button:hover,
.ql-bubble .ql-toolbar button:hover,
.ql-bubble.ql-toolbar button:focus,
.ql-bubble .ql-toolbar button:focus,
.ql-bubble.ql-toolbar .ql-picker-label:hover,
.ql-bubble .ql-toolbar .ql-picker-label:hover,
.ql-bubble.ql-toolbar .ql-picker-item:hover,
.ql-bubble .ql-toolbar .ql-picker-item:hover,

.ql-bubble.ql-toolbar button.ql-active,
.ql-bubble .ql-toolbar button.ql-active,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected {
    background-color: var(--color-background-selected);
    background-color: var(--main-surface-secondary);
}



.ql-bubble.ql-toolbar button.ql-active,
.ql-bubble .ql-toolbar button.ql-active,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected {
    background-color: var(--sidebar-surface-primary);
}







rect.ql-stroke {
    fill: none;
    stroke: var(--text-quaternary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.ql-stroke.ql-fill {
    fill: rgba(0, 0, 0, .34);
    fill: var(--color-text-secondary);
}

.ql-even {
    fill-rule: evenodd;
}

.ql-fill {
    fill: var(--text-quaternary);
}

.ql-stroke {
    stroke: var(--text-quaternary);
}





.ql-bubble .ql-fill {
    fill: var(--text-secondary);
}

.ql-bubble .ql-stroke.ql-fill,
.ql-bubble .ql-stroke {
    stroke: var(--text-secondary);
}

.ql-bubble.ql-toolbar button:hover .ql-fill,
.ql-bubble .ql-toolbar button:hover .ql-fill,
.ql-bubble.ql-toolbar button:focus .ql-fill,
.ql-bubble .ql-toolbar button:focus .ql-fill,
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill {
    fill: var(--text-secondary);
}

.ql-bubble.ql-toolbar button:hover .ql-stroke,
.ql-bubble .ql-toolbar button:hover .ql-stroke,
.ql-bubble.ql-toolbar button:focus .ql-stroke,
.ql-bubble .ql-toolbar button:focus .ql-stroke,
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,
.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,
.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,
.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter {
    stroke: var(--text-secondary);
}





.ql-bubble.ql-toolbar button.ql-active .ql-fill,
.ql-bubble .ql-toolbar button.ql-active .ql-fill,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
    fill: var(--text-primary);
}


.ql-bubble.ql-toolbar button.ql-active .ql-stroke,
.ql-bubble .ql-toolbar button.ql-active .ql-stroke,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,
.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,
.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
    stroke: var(--text-primary);
}


















.ql-tooltip.ql-editing[data-mode="video"] {
    margin-top: -40px;
    margin-left: 21px;
    box-shadow: none;
    left: 0 !important;
    z-index: 999;
    background-color: transparent;
    border-radius: 0;
}

::-webkit-input-placeholder {
    /* color: var(--color-text-secondary-apple); */
}

.ql-bubble .ql-tooltip-editor input[type=text] {
    color: var(--text-secondary);
    font-family: monospace;
    /* padding: 0; */
    letter-spacing: 1px;
    /* background: rgb(var(--bg-body) / 100%); */
    /* margin-left: 0; */
}

.ql-tooltip.ql-editing[data-mode="video"] a.ql-close,
.ql-bubble .ql-tooltip-editor a {
    display: none;
}

button.ql-image,
button.ql-video {
    /* display: none !important; */
}


.ql-tooltip.ql-editing[data-mode="video"] input {
    margin-left: 0px;
    border-radius: 0;
    background: rgb(var(--bg-body) / 100%);
}

.ql-tooltip.ql-editing[data-mode="video"] span.ql-tooltip-arrow {
    display: none;
}

img.blot-formatter__proxy-image,
iframe.ql-video,
img {
    box-shadow: 0px 0px 0px 1px rgb(var(--black-) / 15%);
    border-radius: .5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


.hi-img img {
    box-shadow: none;
    border-radius: 0;
    margin-top: auto;
}

.ql-bubble .ql-picker-options {
    background-color: var(--bg-body-up);
    box-shadow: 0px 0px 0px 1px var(--border-sharp), 0px 4px 8px 0px var(--shadow-black-);
    padding: 8px 8px !important;
    border-radius: 8px;
}








/* #toolbarFloating */

#toolbarFloating {
    position: absolute;
    opacity: 0;
    transition: opacity .15s;
    z-index: 1;
    /* margin-left: 0ch; */
    margin-top: -4px;
}

#toolbarFloating button {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 36px;
    padding: 6px 6px;
    width: 36px;
    border-radius: 6px;
}

#toolbarFloating button svg {
    width: 24px;
    display: block;
    float: left;
    height: 100%;
}

#toolbarFloating button:hover svg rect.ql-stroke {
    stroke: var(--text-primary);
}

#toolbarFloating button:hover svg .ql-fill {
    fill: var(--text-primary);
}

#toolbarFloating button:hover svg .ql-stroke {
    stroke: var(--text-primary);
}















/* EDITOR */


#editor {
    position: relative;
    /* max-width: 732px; */
    /* max-width: 617px; */
    /* max-width: 65ch; */
    /* max-width: 960px; */
    /* max-width: 87ch; */
    max-width: 881px;
    max-width: 85ch;
    /* max-width: 882px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: calc(100svh - 200px);
    padding-top: calc(6.8125rem * 1);
    width: 100%;
    /* background: antiquewhite; */
}

main#editor {
    font-size: 137.5%;
}

.ql-editor {
    caret-color: var(--link-);
    line-height: 1.5;
    padding: 12px 15px 12px 100px;
    margin-left: -50px;
    padding: 12px 10ch 12px 10ch;
    margin-left: 0px;
    width: 100%;
    /* background: aqua; */
}

.editor-container {
    position: relative;
    /* max-width: 732px; */
    max-width: 960px;
    max-width: 105ch;
    margin: 0 auto;
    transition: left 1.15s;
}



p {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1+p {
    letter-spacing: 0.5px;
}

.ql-bubble .ql-editor h1 {
    position: relative;
}



.ql-editor h1::after {
    content: 'Title';
    pointer-events: none;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity .15s;
    font-weight: 400;
    color: var(--text-tertiary);
}

.ql-editor h1.h1-presholder:after {
    opacity: 0;
}

.ql-editor h1::before {
    content: 'Title';
    color: var(--border-xheavy);
    pointer-events: none;
    display: block;
    position: absolute;
    left: -100px;
    top: 0;
    opacity: 0;
    transition: opacity .15s;
    padding-right: 12px;
    border-right: 1px solid var(--border-light);
    font-weight: 400;
}

.ql-editor h1.focush1::before {
    opacity: 0;
    transition: opacity .15s;
}

.ql-editor h1.h1-presholder.focush1:before {
    opacity: 1;
}


.ql-editor h1+.p-presholder:after,
.ql-editor h1+p+p.p-presholder::after {
    opacity: 0;
}

.ql-editor h1+.p-presholder::before {
    content: 'You name';
    color: var(--color-borders-input);
    pointer-events: none;
    display: block;
    position: absolute;
    left: -104px;
    top: 0;
    opacity: 0;
    transition: opacity .15s;
    padding-right: 12px;
    border-right: 1px solid var(--color-borders-input);
}

.ql-editor h1+.p-presholder::before {
    opacity: 0;
    transition: opacity .15s;
}

.ql-editor h1+.p-presholder.focusp:before {
    opacity: 1;
}












.ql-editor h1+p {
    position: relative;
    font-size: 15px;
    line-height: 18px;
    margin: 12px 21px !important;
    margin-bottom: 32px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    color: var(--color-text-secondary);
    display: none;
}


.ql-editor h1+p::after {
    content: 'You name';
    color: var(--color-borders-input);
    color: var(--color-text-secondary);
    pointer-events: none;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity .15s;
}

.ql-editor h1+p+p {
    position: relative;
    /* background: antiquewhite; */
}

.ql-editor h1+p+p::after {
    content: 'Your story';
    color: var(--text-tertiary);
    pointer-events: none;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity .15s;
}









body.publisOk .editor-container {
    pointer-events: none;
}

body.publisOk .editor-container #editor {
    pointer-events: auto;
    cursor: default;
}



body.publisOk h1::before,
body.publisOk h1+.p-presholder::before {
    display: none;
}



p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
.ql-editor h1+p,
h1::after,
h1+p::after,
h1+p::before,
h1+p+p::after {}
















#messageDiv {
    position: absolute;
    padding-left: 4.25rem;
    padding-right: 4.25rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    font-family: monospace;
    backdrop-filter: blur(4px);
    right: 0px;
    margin: 0 auto;
    z-index: 1;
    /* font-size: 13px; */
    border-radius: var(--border-radius-default);
    /* left: 50%; */
    right: auto;
    /* top: 50%; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: .5rem;
}










body.publisOk .publishBar {}











button.btnCopy {}

button.btnCopy:hover {
    /* background-color: var(--light-primary-color); */
    /* background-color: var(--main-surface-secondary); */
}

button.btnCopy:hover svg+span {
    right: 0;
    margin-right: -.25rem;
}

#wordCount,
.made {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--text-tertiary);
}

.login {
    display: flex;
    gap: 8px;
    margin: 0;
    width: auto;
    /* position: relative; */
    /* top: 0; */
}



body.onlyWrite .login,
/* body.onlyWrite #wordCount, */
/* body.onlyWrite #publishbtn, */
body.onlyWrite .btnCopy {
    pointer-events: none;
}

body.onlyWrite #wordCount {
    /* opacity: 0; */
}

body.hover-onlyWrite .login,
body.hover-onlyWrite #wordCount,
body.hover-onlyWrite #publishbtn,
body.hover-onlyWrite .btnCopy {}

body.hover-onlyWrite #wordCount {}


body.message header,body.message #editor-container, body.message #publishbtn, body.message .btnCopy, body.message .wordCountDiv {
    opacity: .25 !important;
    pointer-events: none;
}

body.message #editor-container {
    /* opacity: .25; */
}





.publishAllbtn {
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

body.publisOk #editor-container #toolbarFloating {
    opacity: 0 !important;
}

body.publisOk #editor-container p,
body.publisOk #editor-container h1,
body.publisOk #editor-container h2,
body.publisOk #editor-container h3,
body.publisOk #editor-container h4,
body.publisOk #editor-container h5,
body.publisOk #editor-container h6,
body.publisOk #editor-container blockquote,
body.publisOk #editor-container h1::after,
body.publisOk #editor-container h1+p::after,
body.publisOk #editor-container h1+p::before,
body.publisOk #editor-container h1+p+p::after {
    color: var(--color-text);
}

body.publisOk #editor-container .ql-editor h1+p {
    color: var(--color-text-secondary);
}








































/* ///////////////////////////////////////////////////////////////////////// */
body.open-sidebar .authuserBox {
    display: flex;
}

body.open-sidebar .authuserBox.listBox {}

body.authuser #editor-container {}

body.open-sidebar #editor-container {}



.authuserBox {
    display: none;
    position: absolute;
    margin-top: 46px;
    top: 0;
    height: auto;
    max-height: calc(100vh - 70px - -7px - 0px);
    overflow: hidden;
    overflow-y: scroll;
    z-index: 91;
    align-content: space-between;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    /* background-color: rgb(var(--bg-body) / 90%); */
    background-color: var(--bg-body-up);
    background-color: var(--main-surface-primary);
    /* backdrop-filter: blur(10px); */
    transition: left .15s;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    border-radius: 1rem;
    width: 20rem;
    max-width: 20rem;
    padding: 8px;
    box-shadow: 0px 0px 0px 1px var(
    --border-sharp), 0px 4px 8px 0px var(--shadow-black-);
}

.authuserBox p {
    margin: 0;
}




span.list-user-files-date {
    font-size: 13px;
    color: red;
}


.list-user-files.have-post li.no-publish,
.create-new-post button {}

.authuserBox.listBox>.authuserBox__list>p {
    display: none;
}

.ul-list-file li.highlighted {
    /* background: var(--sidebar-surface-secondary); */
    /* background: rgb(var(--link) / 4%); */
    background: rgb(var(--white-) / 15%);
    pointer-events: none;
}

.ul-list-file li.highlighted button.settingPost,
.ul-list-file li.highlighted button.settingPost+div {
    pointer-events: auto;
}



.ul-list-file li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: .5rem;
    font-size: .875rem;
}



.ul-list-file li a {
    width: 100%;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
    color: var(--text-primary);
    padding: 0.5rem .5rem;
}

.ul-list-file li:hover {
    background-color: var(--sidebar-surface-secondary);
    background-color: var(--main-surface-secondary);
}









.auth-user {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.auth-form {}

.hi-img {
    height: 203px;
}

.hi-img img {
    max-width: 160px;
    width: 10rem;
    height: 10rem;
    margin-bottom: 2.5rem;
}


img.hi-img2-pass,
.hi-img.hide-img-password img.hi-img1 {
    display: none;
}

.hi-img.hide-img-password img.hi-img2-pass {
    display: block;
    margin: 0 auto;
    max-width: 160px;
    width: 10rem;
    height: 10rem;
    margin-bottom: 2.5rem;
}



.auth-form {
    width: 100%;
    max-width: 25.5rem;
    margin: 0 auto;
    /* padding: 6.8125rem 1.5rem 1.5rem; */
    padding: 1.5rem 1.5rem 1.5rem;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Apple Color Emoji", "Helvetica Neue", sans-serif;
    z-index: 22222;
    position: relative;
}

input {
    --border-width: 1px;
    --border-radius-default: 0.75rem;
    display: block;
    width: 100%;
    height: 3.375rem;
    padding: calc(.75rem - var(--border-width)) calc(.9rem - var(--border-width));
    border: var(--border-width) solid var(--border-light);
    border-radius: var(--border-radius-default);
    outline: none;
    transition: border-color .15s ease;
    word-break: break-word;
    -webkit-appearance: none;
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
    background-color: rgb(var(--bg-body) / 100%);
    background-color: var(--sidebar-surface-primary);
    color: var(--text-primary);
}

input#profileUsername {}

label {
    display: block;
    padding: 0 .25rem;
    position: absolute;
    left: .75rem;
    top: .7375rem;
    background-color: rgb(var(--bg-body) / 100%);
    background-color: var(--sidebar-surface-primary);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-tertiary);
    color: var(--text-primary);
    /* color: var(--border-xheavy); */
    transition: transform .15s ease-out, color .15s ease-out;
    cursor: var(--custom-cursor, text);
    pointer-events: none;
    transform-origin: left center;
    white-space: nowrap;
    order: 1;
}

input:focus+label,
input.get-focus+label {
    transform: scale(0.85) translate(-0.25rem, -2rem);
    color: var(--border-xheavy);
}






span#usernameMessage,
span#passwordMessage,
span#questionMessage,
span#newPasswordMessage {
    position: relative;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    font-size: .85rem;
    text-align: left;
    padding: 0px 14px;
    z-index: -1;
    color: var(--text-secondary);
    transition: all .15s;
}

span#usernameMessage[style="color: var(--text-success-);"]+input,
span#passwordMessage[style="color: var(--text-success-);"]+input {
    border-color: var(--text-success-);
    color: var(--text-success-);
}

span#usernameMessage[style="color: var(--text-success-);"]+input+label,
span#passwordMessage[style="color: var(--text-success-);"]+input+label {
    color: var(--text-success-);
}

span#usernameMessage[style="color: var(--text-error-);"]+input,
span#passwordMessage[style="color: var(--text-error-);"]+input {
    border-color: var(--text-error-);
    color: var(--text-error-);
}

span#usernameMessage[style="color: var(--text-error-);"]+input+label,
span#passwordMessage[style="color: var(--text-error-);"]+input+label {
    color: var(--text-error-);
}


form.profileUsername span#usernameMessage,
form.password span#passwordMessage,
span#questionMessage {
    opacity: 1;
}



button#togglePassword,
button#toggleNewPassword {
    position: absolute;
    right: 0px;
    top: 0px;
    height: auto;
    padding: 19px;
    width: auto;
    background: transparent;
    /* color: var(--color-text-secondary); */
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 400;
}

form.profileUsername #passwordSection,
form.profileUsername #registrationSection,
form.password #usernameSection,
form.password #registrationSection {
    opacity: .15;
}









button {
    display: flex;
    align-items: center;
    gap: .625rem;
    cursor: pointer;
    position: relative;
    background: transparent;
    border-color: transparent;
    height: 2.5rem;
    border-radius: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
    border: 1px solid;
    border-color: transparent;
    color: var(--text-primary);
}

button svg {
    width: 15.5px;
    height: auto;
}

:disabled {
    pointer-events: none;
    opacity: .1;
}

div#usernameSection,
div#passwordSection,
div#registrationSection,
div#changePasswordSection,
div#registrationSection>div,
div#secret_questionSection {
    display: flex;
    flex-direction: column;
}


div#usernameSection>span,
div#passwordSection>span,
div#registrationSection>span,
div#passwordSection>span,
div#changePasswordSection>span,
div#secret_questionSection>span {
    order: 2;
}

div#usernameSection>input,
div#passwordSection>input,
div#registrationSection>input,
div#changePasswordSection>input,
div#passwordSection>input,
div#secret_questionSection>input {
    order: 0;
}

div#usernameSection>label,
div#passwordSection>label,
div#registrationSection>label,
div#changePasswordSection>label,
div#passwordSection>label,
div#secret_questionSection>label {
    order: 1;
}

div#usernameSection>button,
div#passwordSection>button,
div#registrationSection>button,
div#changePasswordSection>button,
div#passwordSection>button,
div#secret_questionSection>button {
    order: 9;
}


div#passwordSection button#forgotPasswordButton {
    order: 10;
}

div#registrationSection>div>span {
    order: 2;
}


#secretQuestionSection span#secretQuestion {
    display: block;
    margin-bottom: 1.5rem;
    padding: 0px 12px;
}

form#deleteAccountForm button {
    background: transparent;
    color: rgb(var(--text-error) / 25%);
    justify-content: center;
}

form#deleteAccountForm button:hover {
    background: var(--text-error-bg-hover);
    color: var(--text-error-);
}


form#deleteAccountForm  button svg path {
    color: rgb(var(--text-error) / 25%);
}


form#deleteAccountForm button:hover svg path {
    color: var(--text-error);
}

.profile-out {
    /* margin-top: 1.5rem; */
    display: flex;
    flex-direction: column;
}

.profile-out form {
    width: 100%;
}

.auth-form button {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

form#logoutForm button {
    /* color: var(--text-secondary); */
}















.authuserBox__list {
    width: 100%;
}

.authuserBox__list>a {}

.authuserBox p:nth-child(1) {
    color: var(--text-secondary);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: .5rem;
    font-size: .875rem;
    line-height: 1.25rem;
    position: relative;
    margin-bottom: 1.75rem;
}

.authuserBox p:nth-child(1) svg {
    padding-left: .125rem;
    width: 1.25rem;
    height: auto;
    color: var(--text-tertiary);
    position: absolute;
    margin-left: 2.125rem;
    margin-top: 1px;
    top: 8px;
    right: 8px;
}


.authuserBox .made {
    padding-top: 8px;
    padding-bottom: 0px;
    text-align: center;
}

.authuserBox .made>span {
    text-align: center;
    width: 100%;
    display: block;
    font-size: .75rem;
    color: var(--text-quaternary);
}




.authuserBox__list .ul-list-file ul {
    list-style-type: circle;
    padding: 0;
}


.button-get button {
    display: flex;
    font-size: 0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 0;
}



.button-get button:last-child,
.button-get button:last-child svg path {
    color: var(--text-error-);
}

.button-get button:last-child:hover {
    background: var(--text-error-bg-hover);
}



.button-get button:after {}


.button-get button:nth-child(1):after {
    content: ''
}


.button-get button:nth-child(2):after {
    content: ''
}

.button-get button:nth-child(3):after {
    content: ''
}

.button-get {
    display: none;
    align-items: center;
    position: relative;
    width: 100%;
    justify-content: flex-end;
    flex-direction: row;
    right: 0px;
    top: 0px;
    height: 41px;
    z-index: 1;
    width: auto;
    position: absolute;
    align-items: flex-start;
    padding-right: 8px;
    padding-left: 32px;
    background-image: linear-gradient(-90deg, var(--main-surface-primary) 80%, transparent);
}

button.settingPost.active+.button-get {
    display: flex;
}

header {
    position: fixed;
    z-index: 9;
    /* background: #fdbe6a; */
    width: 100%;
    height: 15svh;
    top: 0;
    left: 0;
}

.header-sidebar {
    position: relative;
    z-index: 9;
    top: 8px;
    display: flex;
    width: calc(100% - 16px);
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;
    margin: 0 auto;
}


button.bottom-open-sidebar {
    background: transparent;
    border-color: transparent;
}

body.authuser button.bottom-open-sidebar {}

button.new-post {
    background: transparent;
    border-color: transparent;
}









button.bottom-open-sidebar h1 {
    font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    text-transform: none;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}


button.bottom-open-sidebar h1 span {
    color: var(--color-primary);
    color: var(--link);
}

button svg path {
    color: var(--text-secondary);
}

button.bottom-open-sidebar svg path {
    color: var(--text-tertiary);
}

button:hover,
#toolbarFloating button:hover {
    background: var(--main-surface-secondary);
    background: var(--sidebar-surface-secondary);
}

body.open-sidebar .authuserBox .authuserBox__list h2,
body.open-sidebar .authuserBox .authuserBox__list h2+p {
    display: none;
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
}

body.authuser.open-sidebar .authuserBox .authuserBox__list p:nth-child(1) {
    display: none;
}

body.authuser.open-sidebar .authuserBox .authuserBox__list p:nth-child(1)+h2+p {
    display: block;
    margin-bottom: 2.5rem;
    font-size: .875rem;
}

body.authuser.open-sidebar .authuserBox.listBox .authuserBox__list p:nth-child(1)+h2+p {
    display: none;
}



body.authuser.open-sidebar .authuserBox .authuserBox__list h2 {
    display: block;
}

.login-authuserBox {
    color: var(--text-tertiary);
    margin: 0 auto;
    margin-top: -.75rem;
    position: sticky;
    bottom: 0;
    background: var(--bg-body-up);
    background-color: var(--main-surface-primary);
}

.login-authuserBox:after {
    content: '';
    position: absolute;
    height: 8px;
    width: 100%;
    background: var(--bg-body-up);
    background: var(--main-surface-primary);
    backdrop-filter: blur(10px);
}

.em {
    height: 1px;
    background: var(--border-light);
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: .25rem;
    margin-top: .25rem;
}

.login-authuserBox button {
    text-align: left;
    background: transparent;
    border-color: transparent;
    gap: .625rem;
    padding-bottom: .75rem;
    padding-top: .75rem;
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: .875rem;
    line-height: 1.25rem;
    border-radius: .375rem;
    width: 100%;
}

.login-authuserBox button:hover {
    --tw-bg-opacity: 1;
    background-color: var(--main-surface-secondary);
}

.login-authuserBox button svg {
    width: 1.25rem;
    height: 1.25rem;
}


button svg+span {
    position: absolute;
    background: var(--bg-body-up);
    box-shadow: 0px 0px 0px 1px var(--border-sharp), 0px -4px 8px 0px var(--shadow-black-);
    color: var(--text-primary);
    margin-top: 5.75rem;
    margin-left: -.75rem;
    /* margin-left: 0; */
    /* left: 0; */
    padding-bottom: .75rem;
    padding-top: .75rem;
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: .875rem;
    border-radius: .375rem;
    font-weight: 600;
    display: none;
    width: max-content;
}


.button-get button:hover svg+span {
    margin-top: -5.75rem;
    margin-left: 0;
    padding-bottom: .75rem;
    padding-top: 0.75rem;
    padding-left: .75rem;
    padding-right: .75rem;
    right: -.25rem;
    box-shadow: 0px 0px 0px 1px var(--border-sharp), 0px 4px 8px 0px var(--shadow-black-);
}



button:hover svg+span {
    display: block;
    z-index: 9999;
}








button#publishbtn {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}

button#publishbtn:not(.disabled):not(:disabled) {
    background-color: var(--link-bg);
    color: var(--link-);
}


button#loginButton {
    background-color: var(--link-bg);
    color: var(--link-);
    background-color: var(--text-success-bg);
    color: var(--text-success-);
}

span#usernameMessage[style="color: var(--link-);"] + input + label + button#loginButton {
    background-color: var(--link-bg);
    color: var(--link-);
}

span#usernameMessage[style="color: var(--link-);"] + input + label + button#loginButton:hover {
 background-color: var(--link-bg-hover);
}

button#loginButton:not(.disabled):not(:disabled):hover,
button#publishbtn:not(.disabled):not(:disabled):hover {
    background-color: var(--link-bg-hover);
}


span#passwordMessage[style="color: var(--text-success-);"] + input + label + button + button + button#loginButton:not(.disabled):not(:disabled):hover {
    background-color: var(--text-success-bg-hover);
}


button#continueRegistrationButton,
button#continueQuestionButton,
button#registerButton,
button[onclick="changeSecretQuestion()"] {
    color: var(--text-success-);
    background-color: var(--text-success-bg);
}

button#continueRegistrationButton:not(.disabled):not(:disabled):hover,
button#continueQuestionButton:not(.disabled):not(:disabled):hover,
button#registerButton:not(.disabled):not(:disabled):hover,
button[onclick="changeSecretQuestion()"]:not(.disabled):not(:disabled):hover {
    background-color: var(--text-success-bg-hover);
}

button#forgotPasswordButton {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.25px;
}




body.publisOk.editNo #editor-container,
body.publisOk.editNo .login,
body.publisOk.editNo .publishAllbtn .wordCountDiv,
body.publisOk.editNo .publishAllbtn button.btnCopy {
    opacity: .08;
    pointer-events: none;
}












.preloader {
    background: var(--main-surface-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
}

.preloader-none {
    animation: fadeOut .3s ease-in-out forwards;
    opacity: 1;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}



.preloader>div {
    max-width: 55ch;
    width: 100%;
    text-align: left;
    position: relative;
}

.preloader>div>span:first-child {
    margin-right: 2.5ch;
    font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    text-transform: none;
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
}

.preloader>div>span:first-child>span {
    color: var(--color-primary);
    color: var(--link);
}

.preloader>div>span:last-child {
    color: var(--text-primary);
}

span.cursor {
    color: var(--color-primary);
    color: var(--link);
    font-size: 1.5rem;
    position: absolute;
    top: -.45rem;

}




.loading-indicator {
    position: fixed;
    /* background: rgb(255 255 255 / 75%); */
    background: rgb(var(--bg-body) / 75%);
    backdrop-filter: blur(8px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-image: linear-gradient(270deg, rgb(226 226 226 / 0%) 48.44%, rgb(226 226 226) 75.52%, rgb(226 226 226 / 0%) 100%); */
    background-image: linear-gradient(270deg, rgb(var(--bg-body) / 0%) 48.44%, rgb(var(--bg-body) / 92%) 75.52%, rrgb(var(--bg-body) / 0%) 100%);
    background-repeat: no-repeat;
    animation: bg-move linear 1s infinite;
}


body.message .loading-indicator {
    display: none !important;
}




@-webkit-keyframes bg-move {
    0% {
        background-position: -1800px 0;
    }

    100% {
        background-position: 3600px 0;
    }
}

@keyframes bg-move {
    0% {
        background-position: -1800px 0;
    }

    100% {
        background-position: 3600px 0;
    }
}











main#editor>h1+p {
    display: none;
}












.quill-focus .ql-editor {
    color: var(--text-quaternary);
}

.quill-focus .ql-editor>* {
    transition: color 300ms;
}

.quill-focus .focused-blot {
    color: var(--text-primary);
}

.ql-table-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background: #fff;
    border: 2px solid #e9ebf0;
    border-radius: 50%;
    margin: 3px 0 0 -22px;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    cursor: pointer;
    fill: #b9bec7
}

.ql-table-toggle_hidden {
    display: none
}

.ql-table-toggle:hover {
    border-color: #b9bec7
}

.ql-table-menu {
    top: 0;
    left: 0;
    position: absolute;
    background: #fff;
    z-index: 2100;
    box-shadow: rgba(15, 15, 15, 0.05) 0 0 0 1px, rgba(15, 15, 15, 0.1) 0 3px 6px, rgba(15, 15, 15, 0.2) 0 9px 24px;
    border-radius: 4px;
    animation: fadeIn 0.05s ease-in forwards
}

.ql-table-menu__item {
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 32px;
    padding: 5px
}

.ql-table-menu__item:hover {
    background-color: #fafbfc
}

.ql-table-menu__item-icon {
    margin-right: 5px
}

.ql-table-menu__item-text {
    font: 300 12px
}


.ql-editor table,
table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.ql-editor td,
td {
    border: 1px solid var(--border-light);
    padding: 2px 5px;
}

.ql-editor table td,
table td {
    outline: none;
}





footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    width: calc(100% - 16px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    /* background-color: rgb(var(--bg-write) / 92%); */
    /* backdrop-filter: blur(8px); */
    height: 15svh;
    z-index: 1;
    gap: 8ch;
    background: linear-gradient(180.3444711790446deg, rgb(var(--sidebar-surface-primary-rgb) / 0%) 0%, rgb(var(--sidebar-surface-primary-rgb) / 1%) 14.247293770313263%, rgb(var(--sidebar-surface-primary-rgb) / 4%) 26.620104908943176%, rgb(var(--sidebar-surface-primary-rgb) / 9%) 37.29010820388794%, rgb(var(--sidebar-surface-primary-rgb) / 14%) 46.42897844314575%, rgb(var(--sidebar-surface-primary-rgb) / 22%) 54.208385944366455%, rgb(var(--sidebar-surface-primary-rgb) / 30%) 60.79999804496765%, rgb(var(--sidebar-surface-primary-rgb) / 38%) 66.37549996376038%, rgb(var(--sidebar-surface-primary-rgb) / 47%) 71.10655307769775%, rgb(var(--sidebar-surface-primary-rgb) / 56%) 75.16483664512634%, rgb(var(--sidebar-surface-primary-rgb) / 65%) 78.72201800346375%, rgb(var(--sidebar-surface-primary-rgb) / 74%) 81.94977641105652%, rgb(var(--sidebar-surface-primary-rgb) / 82%) 85.01977920532227%, rgb(var(--sidebar-surface-primary-rgb) / 89%) 88.10369968414307%, rgb(var(--sidebar-surface-primary-rgb) / 95%) 91.37321710586548%, rgb(var(--sidebar-surface-primary-rgb) / 100%) 94.9999988079071%);
}

footer .wordCountDiv {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
}





strong.about {
    margin-right: 0ch;
    font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    text-transform: none;
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
}

a {
    color: var(--link-);
}

a:hover {
    color: var(--link-hover);
}

body.publisOk div#contenteditablefalse {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

body.message div#contenteditablefalse {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: grayscale(1) blur(8px);
}

span#usernameMessage[style="color: var(--link-);"]+input+label+button#continueRegistrationButton {
    display: none !important;
}

html.light-theme svg.themeIconNight, html.dark-theme svg.themeIconLight, html.dark-theme 
 button.themeToggle svg:nth-child(2) {
    display: block;
}

html.light-theme svg.themeIconLight,
html.dark-theme svg.themeIconNight {
    display: none;
}



button.themeToggle {
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
}

button.themeToggle svg+span, button.themeToggle:hover svg+span {
    box-shadow: none;
    /* margin-left: -5.15rem; */
    /* margin-top: 1rem; */
    background: unset;
    padding: 0;
    margin: 0;
    position: relative;
}


body.none-header header .login button.bottom-open-sidebar,
body.none-header header .authuserBox,
body.none-header header .publishAllbtn {
    display: none;
}

form#questionForm {
    display: none;
}

body.none-header.open-answer form#questionForm {
    display: block;
}

button#toggleClassBtn span:nth-child(2),
body.open-answer button#toggleClassBtn span:nth-child(3) {
    display:block;
    position: relative;
    background: inherit;
    box-shadow: none;
    margin-top: 0;
    margin-left: 0;
    padding-bottom: inherit;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: unset;
    border-radius: inherit;
    width: auto;
}


button#toggleClassBtn span:nth-child(3), 
body.open-answer button#toggleClassBtn span:nth-child(2) {
    display:none;
}



body.open-answer button.themeToggle, 
body.open-answer .profile-out {
    opacity: 0;
    pointer-events: none;
}

button#toggleClassBtn + form {
    margin-top: 1.5rem;
}

button.themeToggle svg+span, html.dark-theme button.themeToggle svg+span {
    display: block;
}

button#toggleClassBtn,
.profile-out button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

body.open-answer button#toggleClassBtn {
    margin-top: 1.5rem;
    justify-content: center;
}

body.open-answer button#toggleClassBtn svg {
    display: none;
}

html.dark-theme  button.themeToggle span:nth-child(4),
html.light-theme button.themeToggle span:nth-child(3) {
    display: none;
}

button.themeToggle span:nth-child(3),button.themeToggle svg:nth-child(2){
    display: none;
}



@media (max-width: 768px) {

    #editor {
        padding-top: calc(1rem * 1);
    }

    main#editor {
        padding: 12px 15px 12px 15px;
        font-size: 100%;
    }


    
    .ql-editor {
        padding: 12px 15px 12px 15px;
        margin-left: 0px;
    }

    .ql-editor h1::before {
        display: none;
    }

    #toolbarFloating {
        margin-left: auto;
        margin-right: 0;
        right: 0;
        left: auto !important;
    }


    .ql-container {
    font-size: 100%;
}

    
}


.ql-bubble .ql-editor blockquote, blockquote {
    margin-left: -20px;
    border-left: 4px solid var(--text-quaternary);
    margin-bottom: 14px;
    margin-top: 14px;
    padding-left: 16px;
    font-family: serif;
    font-style: italic;
}






















div#cow {
    width: 160px;
    height: 160px;
    /* background: aqua; */
    position: relative;
    margin: 0 auto;
}

.hat {
    border-bottom: 50px solid var(--text-quaternary);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    height: 0;
    width: 80px;
    position: relative;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
  }
  
    .hat:before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 0;
      height: 0;
      border-top: 7px solid var(--sidebar-surface-primary);
      border-left: 26px solid transparent;
      border-right: 70px solid transparent;
  }
  
  .hat-bottom {
    width: 160px;
    height: 40px;
    background-color: var(--text-quaternary);
    top: 0;
    /* left: 0; */
    transform: translateY(60px) translateX(-54px);
    position: relative;
    border-top-right-radius: 100%;
    border-top-left-radius: 100%;
  }
  
  .hat-bottom:after{
    content: '';
    width: 161px;
    height: 30px;
    background-color: var(--sidebar-surface-primary);
    bottom: 0;
    position: absolute;
    transform: translateX(-1px);
    left: 0;
  }
  
  .glasses {
    width: 20px;
    height: 7px;
    background-color: var(--text-quaternary);
    top: 118px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  
  .glasses:before {
    content: '';
    width: 35px;
    height: 35px;
    border-radius: 100%;
    border: 6px solid var(--text-quaternary);
    top: 0;
    left: 0;
    transform: translateX(-42px) translateY(-10px);
    position: absolute;
  }
  
  .glasses:after {
    content: '';
    width: 35px;
    height: 35px;
    border-radius: 100%;
    border: 6px solid var(--text-quaternary);
    top: 0;
    right: 0;
    transform: translateX(42px) translateY(-10px);
    position: absolute;
    z-index: -1;
  }
  
  .eye {
    position: absolute;
    border-radius: 50%;
    height: 35px;
    width: 40px;
    /* background: red; */
  }
  .eye:after {
    position: absolute;
    bottom: 17px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 50%;
    content: " ";
  }
  
  .eye:nth-child(1) {
    margin-left: -37px;
    margin-top: -5px;
    /* background: red; */
  }
  
  .eye:nth-child(2) {
    margin-left: 17px;
    margin-top: -5px;
  }


.hi-img.lookpass .glasses:before,
.hi-img.lookpass .glasses:after {
    background: var(--text-quaternary);
}


.hi-img.lookpass .eye:after {
    background: var(--text-quaternary);

}






.hi-img.lookpass.hide-img-password .glasses:before,
.hi-img.lookpass.hide-img-password .glasses:after {
    background: var(--sidebar-surface-primary);
}


.hi-img.lookpass.hide-img-password .eye:after {
    background: var(--link-);

}












h1, .ql-bubble .ql-editor h1 {
    font-size: 175%;
    margin: 0.6em 0px 0.3em 0px;
}

h2, .ql-bubble .ql-editor h2 {
    font-size: 137.5%;
    margin: 1em 0px 0.1em 0px;
}

h3, .ql-bubble .ql-editor h3 {
    font-size: 118.75%;
    margin: 0px;
}

img {
    max-width: 100%;
}