.createpost-overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:9999!important;padding:0;overflow-y:auto;overscroll-behavior:contain;animation:createpostOverlayFadeIn .2s ease-out}@keyframes createpostOverlayFadeIn{0%{opacity:0}to{opacity:1}}.createpost-container{background:#181d1d;border-radius:12px;width:100%;max-width:600px;max-height:85vh;box-shadow:0 4px 20px rgba(0,0,0,.5);position:relative;z-index:10000!important;animation:createpostContainerSlideIn .3s ease-out;overflow:hidden;display:flex;flex-direction:column;border:1px solid #4c4c4c}@keyframes createpostContainerSlideIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes createpostContainerSlideOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.createpost-container.createpost-closing{animation:createpostContainerSlideOut .3s ease-out forwards}.createpost-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #2a2f2f;flex-shrink:0;background:#181d1d}.createpost-back{background:none;border:none;padding:8px;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;border-radius:4px}.createpost-back,.createpost-post-btn{color:#ffffff;cursor:pointer;transition:all .2s ease}.createpost-post-btn{background:#283939;border:none;padding:8px 20px;border-radius:6px;font-size:14px;font-weight:500}.createpost-post-btn:hover:not(:disabled){background:#334444}.createpost-post-btn:active:not(:disabled){background:#1d2b2b}.createpost-post-btn:disabled{background:#1a2525;color:#666666;cursor:not-allowed;opacity:.6}.createpost-content{padding:20px;flex:1 1;display:flex;flex-direction:column;gap:20px;background:#000;min-height:0;overflow:hidden}.createpost-post-to-label{font-size:18px;color:#ffffff;font-weight:500}.createpost-circles{display:flex;flex-direction:column;gap:12px}.createpost-circle-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #2a3333;border-radius:8px;cursor:pointer;transition:border-color .2s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:transparent}.createpost-circle-option:has(input:checked){border-color:#ffffff}.createpost-circle-option input{display:none}.createpost-circle-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:#4a9eff}.createpost-circle-label{font-size:15px;color:#fff;font-weight:500;flex:1 1}.createpost-section{display:flex;flex-direction:column;gap:12px}.createpost-content-section{flex:1 1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.createpost-label{text-transform:none;letter-spacing:0}.createpost-label,.createpost-title-field{font-size:24px;font-weight:500;color:#ffffff}.createpost-title-field{background:transparent;border:none;outline:none;padding:0;margin-bottom:8px;font-family:inherit;flex:0 0 auto;width:100%;min-height:20px}.createpost-title-field::placeholder{color:#8aa8a8;opacity:1}.createpost-title-field[contenteditable][data-placeholder]:empty:before{content:attr(data-placeholder);color:#8aa8a8;opacity:1;pointer-events:none}.createpost-title-input{background:transparent;border:none;color:#ffffff;font-size:16px;font-weight:400;padding:0;outline:none;resize:none;font-family:inherit;line-height:1.5;flex:1 1;width:100%;min-height:200px}.createpost-title-input::placeholder{color:#8aa8a8}.createpost-title-input[contenteditable][data-placeholder]:empty:before{content:attr(data-placeholder);color:#8aa8a8;opacity:1;pointer-events:none}.createpost-content-input{background:transparent;border:none;color:#cccccc;font-size:14px;padding:0;outline:none;resize:none;font-family:inherit;line-height:1.6;flex:1 1;width:100%}.createpost-content-input::placeholder{color:#4a5555}.createpost-images-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));grid-gap:10px;gap:10px;margin-top:10px;flex-shrink:0}.createpost-image-preview{position:relative;border-radius:8px;overflow:hidden;border:1px solid #2a3333}.createpost-image-preview img{width:100%;height:100px;object-fit:cover;display:block;background:#000}.createpost-remove-image{position:absolute;top:5px;right:5px;background:rgba(0,0,0,.7);border:none;color:#ffffff;width:24px;height:24px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;transition:all .2s ease;z-index:10}.createpost-remove-image:hover{background:rgba(255,0,0,.8);transform:scale(1.1)}.createpost-toolbar{display:flex;align-items:center;gap:16px;padding-top:0;border-top:none;margin-top:0;flex-shrink:0;background:#000}.createpost-char-counter{margin-left:auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;opacity:.95}.createpost-char-count-label{font-size:15px;font-weight:500;line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#f5a623;min-width:2.5ch;text-align:right}.createpost-char-count-label--warning{color:#f5a623}.createpost-char-count-label--over{color:#ff4d4d}.createpost-char-svg{display:block;flex-shrink:0}.createpost-rte.rte-wrapper{flex:1 1 auto;min-height:140px;display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:1}.createpost-rte.rte-wrapper>div:has(.rte-editor-area){flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(4,191,191,.42) #070d0d}.createpost-rte.rte-wrapper>div:has(.rte-editor-area)::-webkit-scrollbar{width:9px}.createpost-rte.rte-wrapper>div:has(.rte-editor-area)::-webkit-scrollbar-track{background:#070d0d;border-radius:999px}.createpost-rte.rte-wrapper>div:has(.rte-editor-area)::-webkit-scrollbar-thumb{background:linear-gradient(180deg,rgba(4,191,191,.58),rgba(4,191,191,.28));border-radius:999px;border:1px solid rgba(8,18,18,.95)}.createpost-rte.rte-wrapper>div:has(.rte-editor-area)::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,rgba(4,191,191,.72),rgba(4,191,191,.36))}.createpost-rte .rte-editor-area{font-size:15px;min-height:120px;color:#ffffff;caret-color:#ffffff;pointer-events:auto;-webkit-user-select:text;-moz-user-select:text;user-select:text}.createpost-rte .ProseMirror{pointer-events:auto;outline:none}.createpost-rte--readonly .ProseMirror,.createpost-rte--readonly.rte-wrapper .rte-editor-area{caret-color:transparent;cursor:default;opacity:.85}.createpost-rte .rte-toolbar{flex-shrink:0;background:#000}.createpost-tool-btn{background:none;border:none;color:#888888;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.createpost-tool-btn:hover{color:#4a9eff;background-color:rgba(74,158,255,.1)}.createpost-avatar{width:36px;height:36px;background:#4a9eff;border-radius:50%;display:none;align-items:center;justify-content:center;color:#181d1d;font-weight:600;font-size:16px;margin-left:auto}@media (max-width:768px){.createpost-overlay{align-items:flex-end}.createpost-container{border-radius:16px 16px 0 0;max-width:100%;height:min(92dvh,92vh);max-height:min(92dvh,92vh)}@keyframes createpostContainerSlideIn{0%{opacity:1;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes createpostContainerSlideOut{0%{opacity:1;transform:translateY(0)}to{opacity:1;transform:translateY(100%)}}.createpost-header{padding:12px 16px}.createpost-content{padding:16px;gap:14px;overflow:hidden}.createpost-circles,.createpost-post-to-label{flex-shrink:0}.createpost-circles{gap:10px}.createpost-circle-option{padding:12px}.createpost-content-section{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}.createpost-rte.rte-wrapper{flex:1 1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.createpost-rte.rte-wrapper>div:has(.rte-editor-area){flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.createpost-rte .rte-editor-area{min-height:80px}.createpost-content-section--with-preview{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}.createpost-content-section--with-preview .createpost-title-field{flex:0 0 auto}.createpost-content-section--with-preview .createpost-rte.rte-wrapper{flex:0 0 auto;min-height:0;height:auto;overflow:visible}.createpost-content-section--with-preview .createpost-rte.rte-wrapper>div:has(.rte-editor-area){flex:0 0 auto;min-height:120px;max-height:42vh;height:auto;overflow-x:hidden;overflow-y:auto}.createpost-content-section--with-preview .createpost-rte .rte-editor-area{min-height:120px}.createpost-content-section--with-preview .createpost-images-preview,.createpost-content-section--with-preview .ext-preview-card{flex:0 0 auto}.createpost-content-section--with-preview .ext-preview-media,.createpost-content-section--with-preview .ext-preview-skeleton-media{height:150px}.createpost-rte .rte-toolbar{display:flex;flex:0 0 auto;margin-top:0;border-top:1px solid #2a2f2f;padding-top:8px;padding-bottom:4px;background:#000;position:relative;z-index:2}.createpost-images-preview{display:flex;flex-wrap:nowrap;gap:8px;margin-top:8px;flex-shrink:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:4px}.createpost-image-preview{flex:0 0 88px;width:88px}.createpost-image-preview img{height:88px}.createpost-title-input{font-size:14px}.createpost-content-input{min-height:80px}.createpost-toolbar{gap:12px;flex-shrink:0;padding-top:8px;padding-bottom:env(safe-area-inset-bottom,0);border-top:1px solid #2a2f2f}.createpost-tool-btn{padding:6px}.createpost-avatar{width:32px;height:32px;font-size:14px}}