/* UCMU_POSTS_OWNER */
.ucmu-post-more{margin-left:auto;width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:var(--ucmu-muted);font-size:22px;font-weight:900;cursor:pointer}
.ucmu-post-more:hover{background:rgba(47,54,62,.07);color:var(--ucmu-graphite)}
.ucmu-post-more[hidden]{display:none}
.ucmu-post-actions .ucmu-post-action.is-active{background:rgba(209,15,25,.11);color:var(--ucmu-red)}
.ucmu-post-actions .ucmu-post-action.is-busy{opacity:.55;pointer-events:none}
.ucmu-post-action-heart{font-size:15px;line-height:1}
.ucmu-post-action-repost{font-size:18px;line-height:1;transform:translateY(-1px)}
.ucmu-post-unavailable{color:var(--ucmu-muted);font-style:italic}



body.ucmu-post-layer-open{overflow:hidden}
.ucmu-post-layer{position:fixed;inset:0;z-index:10100;display:grid;grid-template-columns:var(--ucmu-sidebar-width,285px) minmax(0,1fr);place-items:center;padding:18px;box-sizing:border-box}
.ucmu-post-layer-backdrop{position:absolute;inset:0;background:rgba(15,18,22,.58);backdrop-filter:blur(8px)}
.ucmu-post-sheet{position:relative;z-index:1;grid-column:2;width:min(680px,calc(100vw - var(--ucmu-sidebar-width,285px) - 40px));max-height:min(860px,calc(100vh - 36px));display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:26px;background:var(--ucmu-card,#fff);color:var(--ucmu-text);box-shadow:0 28px 90px rgba(0,0,0,.34);overflow:hidden}
.ucmu-post-sheet-head{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid rgba(47,54,62,.09)}
.ucmu-post-sheet-head b{font-size:14px;font-weight:950}
.ucmu-post-sheet-head button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(47,54,62,.08);color:var(--ucmu-text);font-size:22px;cursor:pointer}
.ucmu-post-sheet-body{min-height:0;overflow:auto;padding:16px}
.ucmu-post-overlay-status{min-height:18px;margin:8px 0 0;color:var(--ucmu-muted);font-size:11px;font-weight:800}
.ucmu-post-overlay-empty{padding:34px 18px;text-align:center;color:var(--ucmu-muted);font-size:13px;font-weight:850}
.ucmu-post-overlay-avatar{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--ucmu-graphite);color:#fff;font-style:normal;font-size:12px;font-weight:950}
.ucmu-post-overlay-avatar img{width:100%;height:100%;object-fit:cover}

.ucmu-comments-layer .ucmu-post-sheet{width:min(520px,calc(100vw - var(--ucmu-sidebar-width,285px) - 40px));height:min(760px,calc(100vh - 36px))}
.ucmu-comments-layer .ucmu-post-sheet-body{display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:10px;overflow:hidden}
.ucmu-comments-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding-right:4px}
.ucmu-comment-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:18px;background:rgba(47,54,62,.045)}
.ucmu-comment-main{min-width:0;flex:1}
.ucmu-comment-main header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ucmu-comment-main header b{font-size:13px;font-weight:950}
.ucmu-comment-main header time{color:var(--ucmu-muted);font-size:10px;font-weight:800}
.ucmu-comment-main p{margin:5px 0 0;white-space:pre-wrap;font-size:13px;line-height:1.42;font-weight:600}
.ucmu-comment-main small{display:block;margin-top:4px;color:var(--ucmu-muted);font-size:9px;font-weight:800}
.ucmu-comments-form{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:8px;padding-top:10px;border-top:1px solid rgba(47,54,62,.08)}
.ucmu-comments-form input{height:46px;border:1px solid rgba(47,54,62,.12);border-radius:999px;padding:0 16px;background:rgba(47,54,62,.035);color:var(--ucmu-text);font:inherit;font-size:13px;outline:0}
.ucmu-comments-form button{width:46px;height:46px;border:0;border-radius:50%;background:var(--ucmu-red);color:#fff;font-size:20px;cursor:pointer}

.ucmu-repost-self{width:100%;height:48px;border:0;border-radius:16px;background:var(--ucmu-red);color:#fff;font-size:12px;font-weight:950;cursor:pointer}
.ucmu-repost-search{display:block;margin:12px 0}
.ucmu-repost-search input{width:100%;height:44px;border:1px solid rgba(47,54,62,.12);border-radius:999px;padding:0 16px;background:rgba(47,54,62,.035);color:var(--ucmu-text);font:inherit;outline:0;box-sizing:border-box}
.ucmu-repost-contacts{display:flex;flex-direction:column;gap:7px}
.ucmu-repost-contact{position:relative;width:100%;display:flex;align-items:center;gap:11px;border:0;border-radius:16px;padding:10px;background:transparent;color:var(--ucmu-text);text-align:left;cursor:pointer}
.ucmu-repost-contact:hover{background:rgba(47,54,62,.055)}
.ucmu-repost-contact span{min-width:0}
.ucmu-repost-contact b,.ucmu-repost-contact small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ucmu-repost-contact b{font-size:13px;font-weight:950}
.ucmu-repost-contact small{margin-top:2px;color:var(--ucmu-muted);font-size:10px;font-weight:750}

.ucmu-edit-post-form{display:flex;flex-direction:column;gap:10px}
.ucmu-edit-post-form input,.ucmu-edit-post-form textarea{width:100%;border:1px solid rgba(47,54,62,.12);border-radius:16px;padding:12px 14px;background:rgba(47,54,62,.035);color:var(--ucmu-text);font:inherit;box-sizing:border-box;outline:0}
.ucmu-edit-post-form textarea{min-height:220px;resize:vertical;line-height:1.45}
.ucmu-edit-post-form footer{display:flex;justify-content:flex-end;gap:8px}
.ucmu-edit-post-form footer button{height:40px;border:0;border-radius:999px;padding:0 16px;font-size:11px;font-weight:900;cursor:pointer}
.ucmu-edit-post-form footer button:first-child{background:rgba(47,54,62,.08);color:var(--ucmu-text)}
.ucmu-edit-post-form footer button:last-child{background:var(--ucmu-red);color:#fff}

.ucmu-hidden-source-list{display:flex;flex-direction:column;gap:8px}
.ucmu-hidden-source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;background:rgba(47,54,62,.045)}
.ucmu-hidden-source-row b,.ucmu-hidden-source-row small{display:block}
.ucmu-hidden-source-row b{font-size:13px;font-weight:950}
.ucmu-hidden-source-row small{margin-top:2px;color:var(--ucmu-muted);font-size:10px;font-weight:800}
.ucmu-hidden-source-row button{height:36px;border:0;border-radius:999px;padding:0 13px;background:rgba(47,54,62,.09);color:var(--ucmu-text);font-size:10px;font-weight:900;cursor:pointer}

@media(max-width:900px){
  .ucmu-post-layer{grid-template-columns:1fr;padding:8px}
  .ucmu-post-sheet{grid-column:1;width:min(100%,calc(100vw - 16px));max-height:calc(100vh - 16px);border-radius:22px}
  .ucmu-comments-layer .ucmu-post-sheet{width:min(100%,calc(100vw - 16px));height:calc(100vh - 16px)}
}
