/* UCMU_FEATURES_CORE_CANONICAL */
.ucmu-screen{display:grid;gap:16px}
.ucmu-screen-head{display:flex;align-items:end;justify-content:space-between;gap:16px;min-height:58px;margin-bottom:2px}
.ucmu-screen-head span{color:var(--ucmu-muted);font-size:12px;font-weight:800}
@media (max-width:760px){.ucmu-auth{padding:18px}
.ucmu-auth-logo .ucmu-brand-mark{width:72px;height:72px}
.ucmu-screen-head{display:grid;gap:4px}
}
.ucmu-feed-screen{gap:14px}
.ucmu-feed-list{display:grid;gap:14px}
.ucmu-post-card{position:relative;overflow:hidden;border-radius:var(--r-card);padding:16px 16px 15px;background:var(--ucmu-card,#fff);color:var(--ucmu-text);box-shadow:var(--shadow-card)}
.ucmu-post-card::before{content:"";display:block;height:3px;margin:-16px -16px 13px;background:linear-gradient(90deg,var(--ucmu-red),rgba(209,15,25,.22),transparent)}
.ucmu-post-card:hover{box-shadow:var(--shadow-card-hover)}
.ucmu-post-card.is-pending{opacity:.72}
.ucmu-post-head{display:flex;align-items:center;gap:10px}
.ucmu-post-avatar{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:var(--r-circle);background:var(--ucmu-graphite);color:#fff;font-size:13px;font-weight:950;box-shadow:0 5px 12px rgba(31,38,50,.11)}
.ucmu-post-avatar img{width:100%;height:100%;object-fit:cover}
.ucmu-post-author{min-width:0}
.ucmu-post-author b,.ucmu-post-author span{display:block}
.ucmu-post-author b{color:var(--ucmu-graphite);font-size:13px;font-weight:950}
.ucmu-post-author span{margin-top:2px;color:rgba(47,54,62,.52);font-size:11px;font-weight:850}
.ucmu-post-body{padding:12px 0 10px}
.ucmu-post-body h2{margin:0 0 6px;color:var(--ucmu-graphite);font-size:17px;font-weight:950}
.ucmu-post-body p{margin:0;white-space:pre-wrap;color:rgba(47,54,62,.88);font-size:14px;line-height:1.42;font-weight:600}
/* UCMU_FEATURE_PAGE_CANONICAL */
.ucmu-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 18px}
.ucmu-page-head h1{margin:0;color:var(--ucmu-text);font-size:24px;font-weight:950;letter-spacing:.02em}
.ucmu-page-head span{display:block;margin-top:3px;color:var(--ucmu-muted);font-size:12px;font-weight:850}
.ucmu-page-gear{position:relative;z-index:80}
.ucmu-page-gear summary{width:44px;height:44px;border:0;border-radius:18px;display:grid;place-items:center;cursor:pointer;list-style:none;background:var(--ucmu-card,#fff);color:var(--ucmu-graphite);box-shadow:0 12px 26px rgba(31,38,50,.10);font-size:18px;line-height:1}
.ucmu-page-gear summary::-webkit-details-marker{display:none}
.ucmu-page-gear summary:hover{color:var(--ucmu-red);box-shadow:0 16px 34px rgba(31,38,50,.14)}
.ucmu-page-menu{position:absolute;right:0;top:52px;width:max-content;min-width:168px;max-width:min(240px,calc(100vw - 24px));padding:6px;border:1px solid rgba(31,38,50,.08);border-radius:16px;display:grid;gap:2px;background:var(--ucmu-card,#fff);box-shadow:0 22px 60px rgba(0,0,0,.22)}
.ucmu-page-menu-action{width:100%;min-height:36px;border:0;border-radius:11px;padding:0 11px;background:transparent;color:var(--ucmu-text);text-align:left;font-size:11px;line-height:1.2;font-weight:900;white-space:nowrap;cursor:pointer}
.ucmu-page-menu-action:hover{background:rgba(46,51,56,.07)}
.ucmu-page-menu-action.is-danger{color:var(--ucmu-red)}
.ucmu-panel{border-radius:26px;padding:14px;box-sizing:border-box;background:var(--ucmu-card,#fff);box-shadow:var(--shadow-card)}
/* UCMU_PROFILE_CANONICAL */
.ucmu-profile-screen{gap:16px}
.ucmu-profile-hero{position:relative;min-height:276px;margin:0;border-radius:0;background:radial-gradient(circle at 83% 38%,rgba(47,54,62,.08),transparent 34%),linear-gradient(90deg,#f9fafb 0%,#f2f3f5 55%,#eceff2 100%);border-bottom:1px solid rgba(31,38,50,.08);display:flex;align-items:center;gap:34px;padding:72px 32px 28px;overflow:hidden;box-shadow:none;isolation:isolate}
.ucmu-profile-hero-actions{position:absolute;top:22px;right:26px;display:flex;align-items:center;gap:10px;z-index:5}
.ucmu-profile-hero-icon,.ucmu-hero-gear summary{width:44px;height:44px;border:1px solid rgba(31,38,50,.065);border-radius:50%;background:rgba(255,255,255,.96);color:#22282e;display:grid;place-items:center;box-shadow:0 12px 28px rgba(31,38,50,.12);font-size:17px;cursor:pointer;transition:transform .16s ease,color .16s ease,background .16s ease}
.ucmu-profile-hero-icon:hover,.ucmu-hero-gear summary:hover{color:var(--ucmu-red);background:#fff}
.ucmu-profile-hero-icon:active,.ucmu-hero-gear summary:active{transform:scale(.94)}
.ucmu-hero-gear{position:relative;z-index:40}
.ucmu-hero-gear .ucmu-page-menu{top:54px}
.ucmu-profile-create-btn{position:absolute;right:26px;bottom:32px;z-index:4;height:44px;border:0;border-radius:999px;background:var(--ucmu-red);color:#fff;padding:0 20px;font-size:10px;font-weight:950;letter-spacing:.14em;text-transform:uppercase;box-shadow:0 12px 28px rgba(209,15,25,.25);cursor:pointer}
.ucmu-profile-create-btn:hover{filter:brightness(1.04)}
.ucmu-profile-create-btn:active{transform:scale(.96)}
.ucmu-profile-avatar-xl{position:relative;z-index:2;width:190px;height:190px;min-width:190px;border-radius:50%;display:grid;place-items:center;background:var(--ucmu-graphite);color:#fff;font-size:58px;font-weight:950;box-shadow:0 0 0 8px rgba(255,255,255,.95),0 0 0 10px rgba(31,38,50,.12),0 24px 56px rgba(31,38,50,.16)}
.ucmu-profile-avatar-xl::after{content:"";position:absolute;right:10px;bottom:32px;width:46px;height:46px;border-radius:50%;background:var(--ucmu-red);box-shadow:0 12px 28px rgba(209,15,25,.34)}
.ucmu-profile-avatar-xl img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.ucmu-profile-info{position:relative;z-index:2;min-width:0;display:grid;gap:10px;align-content:center;max-width:560px;color:var(--ucmu-text)}
.ucmu-profile-title-line{display:flex;align-items:center;gap:10px;min-width:0}
.ucmu-profile-title-line h1{margin:0;color:var(--ucmu-text);font-size:34px;line-height:1.04;letter-spacing:-.035em;font-weight:950}
.ucmu-profile-title-line i{width:20px;height:20px;border-radius:8px;display:grid;place-items:center;background:var(--ucmu-red);color:#fff;font-style:normal;font-size:12px;font-weight:950}
.ucmu-profile-info>span{font-size:14px;font-weight:750;color:rgba(47,54,62,.58)}
.ucmu-profile-info p{margin:2px 0 0;max-width:540px;color:rgba(47,54,62,.76);font-size:14px;line-height:1.45}
.ucmu-profile-original-grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(420px,1.65fr);gap:16px;align-items:start}
.ucmu-profile-card{margin:0;padding:16px;border-radius:22px;background:rgba(255,255,255,.88);border:1px solid rgba(31,38,50,.06);box-shadow:0 14px 36px rgba(31,38,50,.055);min-width:0}
.ucmu-profile-contacts{grid-column:1;align-self:start}
.ucmu-profile-photos{grid-column:2;align-self:start}
.ucmu-profile-posts{grid-column:1 / -1;display:grid;gap:14px;background:transparent;border:0;box-shadow:none;padding:0;margin:0}
.ucmu-profile-block-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.ucmu-profile-block-head b{font-size:12px;letter-spacing:.16em;color:var(--ucmu-graphite)}
.ucmu-profile-block-head button{border:0;background:transparent;color:var(--ucmu-muted);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;padding:6px 8px;border-radius:999px}
.ucmu-profile-block-head button:hover{background:rgba(46,51,56,.07);color:var(--ucmu-red)}
.ucmu-profile-posts-empty{min-height:118px;border-radius:22px;background:transparent;display:grid;place-items:center;color:var(--ucmu-muted);font-size:13px;font-weight:900;text-transform:lowercase}
@media(max-width:900px){.ucmu-profile-hero{min-height:260px;padding:72px 18px 22px;gap:16px;align-items:flex-end}.ucmu-profile-avatar-xl{width:132px;height:132px;min-width:132px;font-size:34px}.ucmu-profile-avatar-xl::after{width:30px;height:30px;right:3px;bottom:15px}.ucmu-profile-title-line h1{font-size:27px}.ucmu-profile-info p{font-size:13px}.ucmu-profile-original-grid{grid-template-columns:1fr;gap:12px}.ucmu-profile-contacts,.ucmu-profile-photos,.ucmu-profile-posts{grid-column:1 / -1;display:grid;gap:14px;background:transparent;border:0;box-shadow:none;padding:0;margin:0}}
@media(max-width:640px){.ucmu-profile-hero{display:grid;padding-top:82px}.ucmu-profile-hero-actions{right:14px}.ucmu-profile-create-btn{right:14px;bottom:22px;height:40px;padding:0 16px}}
.ucmu-profile-public-list{display:grid;gap:8px}
.ucmu-profile-public-mini{width:100%;border:0;border-radius:18px;padding:8px;display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;background:rgba(46,51,56,.045);color:var(--ucmu-text);text-align:left;cursor:pointer}
.ucmu-profile-public-mini i{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;overflow:hidden;background:var(--ucmu-graphite);color:#fff;font-style:normal;font-size:14px;font-weight:950}
.ucmu-profile-public-mini img{width:100%;height:100%;object-fit:cover;display:block}
.ucmu-profile-public-mini span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900}

/* UCMU_CONTACTS_CANONICAL */
.ucmu-profile-screen{position:relative}
.ucmu-profile-contacts{align-self:start}
.ucmu-profile-contact-list{display:grid;grid-template-columns:1fr;gap:6px;align-items:start}
.ucmu-profile-contact-mini{width:100%;border:0;border-radius:18px;padding:8px;display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;background:rgba(46,51,56,.045);color:var(--ucmu-text);text-align:left;cursor:pointer}
.ucmu-profile-contact-mini i{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--ucmu-graphite);color:#fff;font-style:normal;font-size:17px;font-weight:950;box-shadow:0 0 0 1px rgba(255,255,255,.55)}
.ucmu-profile-contact-mini img,.ucmu-chat-row i img{width:100%;height:100%;object-fit:cover;display:block}
.ucmu-profile-contact-mini span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:900}

.ucmu-profile-modal-layer{position:fixed;inset:0;z-index:10050;display:grid;grid-template-columns:var(--ucmu-sidebar-width,285px) minmax(0,1fr);place-items:center;padding:20px}
.ucmu-profile-modal-layer[hidden]{display:none}
.ucmu-profile-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.52);backdrop-filter:blur(7px)}

.ucmu-profile-contacts-modal{position:relative;z-index:1;grid-column:2;width:min(820px,calc(100% - 72px));height:min(940px,calc(100vh - 34px));display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:14px;border-radius:28px;padding:20px 28px 20px 20px;background:var(--ucmu-card,#fff);color:var(--ucmu-text);box-shadow:0 24px 80px rgba(0,0,0,.28);overflow:hidden;box-sizing:border-box;justify-self:center;align-self:center}
.ucmu-profile-contacts-modal header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding-right:12px}
.ucmu-profile-contacts-modal header b{font-size:14px;font-weight:950;letter-spacing:.08em}
.ucmu-profile-contacts-modal header button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(46,51,56,.08);cursor:pointer;font-size:22px;line-height:1;margin-right:10px;flex:0 0 auto}

.ucmu-profile-contacts-view-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ucmu-profile-contacts-view-tabs button{border:0;border-radius:999px;padding:9px 13px;background:rgba(46,51,56,.08);color:var(--ucmu-graphite);font-size:10px;font-weight:950;text-transform:uppercase;cursor:pointer}
.ucmu-profile-contacts-view-tabs button.active{background:var(--ucmu-red);color:#fff}

.ucmu-profile-contacts-full{min-height:0;overflow:auto;display:grid;gap:12px;align-content:start;padding-right:4px;scrollbar-width:none;-ms-overflow-style:none}
.ucmu-profile-contacts-full::-webkit-scrollbar{width:0;height:0}

.ucmu-profile-contact-full-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:10px;align-items:center;border-radius:20px;background:rgba(46,51,56,.045);min-height:96px;overflow:hidden}
.ucmu-contact-open{min-width:0;border:0;background:transparent;color:var(--ucmu-text);display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;align-items:center;padding:10px 12px;text-align:left;cursor:pointer}
.ucmu-contact-open i{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--ucmu-graphite);color:#fff;font-style:normal;font-weight:950}
.ucmu-contact-open img{width:100%;height:100%;object-fit:cover;display:block}
.ucmu-contact-open span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900}
.ucmu-contact-remove{width:32px;height:32px;border:0;border-radius:50%;background:rgba(215,38,49,.12);color:var(--ucmu-red);font-size:20px;font-weight:950;line-height:1;cursor:pointer;margin-right:10px}
.ucmu-contact-remove.is-busy{opacity:.55;pointer-events:none}

.ucmu-profile-contacts-full.is-small{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.ucmu-profile-contacts-full.is-small .ucmu-profile-contact-full-row{grid-template-columns:1fr 30px;min-height:150px;border-radius:18px}
.ucmu-profile-contacts-full.is-small .ucmu-contact-open{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px;padding:14px 10px 10px}
.ucmu-profile-contacts-full.is-small .ucmu-contact-open i{width:76px;height:76px;border-radius:50%}
.ucmu-profile-contacts-full.is-small .ucmu-contact-open span{max-width:120px;white-space:normal;line-height:1.2;font-size:13px}

.ucmu-profile-contacts-full.is-medium{grid-template-columns:1fr}
.ucmu-profile-contacts-full.is-medium .ucmu-profile-contact-full-row{min-height:96px}

.ucmu-profile-contacts-full.is-cover{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px;align-content:start}
.ucmu-profile-contacts-full.is-cover .ucmu-profile-contact-full-row{min-height:292px;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:0;border-radius:4px;background:rgba(34,39,46,.96);box-shadow:0 8px 18px rgba(0,0,0,.22);overflow:hidden}
.ucmu-profile-contacts-full.is-cover .ucmu-contact-open{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:0;padding:0;color:#fff;text-align:left}
.ucmu-profile-contacts-full.is-cover .ucmu-contact-open i{width:100%;height:236px;border-radius:0;background:linear-gradient(135deg,#232a31,#12171c);font-size:34px;letter-spacing:.04em;box-shadow:none}
.ucmu-profile-contacts-full.is-cover .ucmu-contact-open img{width:100%;height:100%;object-fit:cover}
.ucmu-profile-contacts-full.is-cover .ucmu-contact-open span{display:block;min-height:56px;padding:14px 14px 12px;background:linear-gradient(180deg,rgba(17,22,27,.92),rgba(17,22,27,1));color:#fff;font-size:15px;font-weight:950;line-height:1.15;text-transform:uppercase;white-space:normal}
.ucmu-profile-contacts-full.is-cover .ucmu-contact-remove{position:absolute;top:10px;right:10px;margin:0;width:32px;height:32px;background:rgba(255,255,255,.88);color:var(--ucmu-red);box-shadow:0 4px 12px rgba(0,0,0,.25)}

@media(max-width:900px){.ucmu-profile-modal-layer{grid-template-columns:1fr}.ucmu-profile-contacts-modal{grid-column:1;width:min(100%,calc(100vw - 16px));height:min(100%,calc(100vh - 16px));padding:16px}
  .ucmu-profile-contacts-full.is-cover{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
  .ucmu-profile-contacts-full.is-cover .ucmu-profile-contact-full-row{min-height:240px}
  .ucmu-profile-contacts-full.is-cover .ucmu-contact-open i{height:186px}
}

.ucmu-profile-hero-actions .ucmu-page-menu{top:52px}

/* UCMU_CHATS_CANONICAL */
.ucmu-chat-list-view{height:calc(100vh - 176px);min-height:520px;display:grid}
.ucmu-chat-row{position:relative;width:100%;border:0;border-radius:24px;padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;background:var(--ucmu-card,#fff);color:var(--ucmu-text);text-align:left;box-shadow:var(--shadow-panel);cursor:pointer}
.ucmu-chat-row i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--ucmu-graphite);color:#fff;font-style:normal;font-size:12px;font-weight:950}
.ucmu-chat-row span{display:grid;gap:3px}
.ucmu-chat-row small{color:var(--ucmu-muted);font-weight:750}
.ucmu-chat-row em{color:var(--ucmu-graphite);font-style:normal;font-weight:950}
.ucmu-chat-back{width:max-content;border:0;border-radius:999px;padding:7px 11px;margin:0 0 8px;background:rgba(46,51,56,.08);color:var(--ucmu-graphite);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.10em;cursor:pointer}
.ucmu-chat-thread{height:calc(100vh - 176px);min-height:560px;overflow:hidden;border-radius:var(--r-card);display:grid;grid-template-rows:1fr auto;background:var(--ucmu-card,#fff);box-shadow:var(--shadow-card)}
.ucmu-chat-messages{padding:18px;display:flex;flex-direction:column;gap:11px;background:linear-gradient(180deg,rgba(46,51,56,.035),transparent);overflow:auto}
.ucmu-chat-message{max-width:72%;display:grid;gap:4px;margin:0;padding:10px 13px;border-radius:18px;font-weight:700}
.ucmu-chat-message p{margin:0;white-space:pre-wrap}
.ucmu-chat-message small{font-size:10px;opacity:.68}
.ucmu-chat-message button{justify-self:end;border:0;border-radius:999px;background:rgba(255,255,255,.18);color:inherit;padding:3px 8px;font-size:10px;font-weight:900;cursor:pointer}
.ucmu-chat-message.other{align-self:flex-start;background:rgba(46,51,56,.08);color:var(--ucmu-text)}
.ucmu-chat-message.mine{align-self:flex-end;background:var(--ucmu-graphite);color:#fff}
.ucmu-chat-empty{min-height:96px;display:grid;place-items:center;color:var(--ucmu-muted);font-size:12px;font-weight:850;text-align:center}
.ucmu-chat-input{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px;border-top:1px solid rgba(46,51,56,.08)}
.ucmu-chat-input input{border:0;outline:0;border-radius:999px;padding:0 14px;background:rgba(46,51,56,.07);color:var(--ucmu-text)}
.ucmu-chat-input button{width:42px;height:42px;border:0;border-radius:50%;background:var(--ucmu-graphite);color:#fff;font-weight:950;cursor:pointer}


/* UCMU_POSTS_FLOW_CANONICAL */
.ucmu-post-composer-modal{position:fixed;inset:0;z-index:10040;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.ucmu-post-composer-box{width:min(560px,calc(100vw - 32px));border-radius:28px;background:var(--ucmu-card,#fff);box-shadow:0 28px 80px rgba(0,0,0,.28);overflow:hidden}
.ucmu-post-composer-box header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(46,51,56,.08)}
.ucmu-post-composer-box header b{color:var(--ucmu-graphite);font-size:12px;font-weight:950;letter-spacing:.16em}
.ucmu-post-composer-box header button{width:36px;height:36px;border:0;border-radius:50%;background:rgba(46,51,56,.07);color:var(--ucmu-graphite);font-size:22px;cursor:pointer}
.ucmu-post-composer-box textarea{width:100%;min-height:160px;border:0;outline:0;resize:none;padding:16px;background:#fff;color:var(--ucmu-text);font-size:15px;line-height:1.45;font-weight:650;box-sizing:border-box}
.ucmu-post-composer-box footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 14px;border-top:1px solid rgba(46,51,56,.08)}
.ucmu-post-composer-box footer>div{display:flex;gap:8px}
.ucmu-post-composer-box footer button{height:38px;border:0;border-radius:999px;padding:0 15px;font-size:10px;font-weight:950;letter-spacing:.10em;text-transform:uppercase;box-sizing:border-box}
.ucmu-post-composer-box footer button{cursor:pointer}
.ucmu-post-composer-box footer button[type="button"]{background:rgba(46,51,56,.08);color:var(--ucmu-graphite)}
.ucmu-post-composer-box footer button[type="submit"]{background:var(--ucmu-red);color:#fff}
.ucmu-post-composer-box [data-post-compose-status]{min-height:18px;margin:0;padding:0 16px 14px;color:var(--ucmu-muted);font-size:11px;font-weight:850}
.ucmu-profile-posts .ucmu-post-card,.ucmu-feed-list .ucmu-post-card{margin:0}

/* UCMU_POST_MEDIA_CANONICAL */
.ucmu-post-body{display:flex;flex-direction:column}
.ucmu-post-media{order:-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 0 14px;width:100%;max-width:100%;overflow:visible;background:transparent}
.ucmu-post-media.single{flex-wrap:nowrap}
.ucmu-post-media.double,.ucmu-post-media.grid{flex-wrap:wrap}
.ucmu-post-media-item{display:flex;justify-content:center;align-items:center;max-width:100%;border:0;border-radius:18px;overflow:visible;background:transparent;padding:0;cursor:pointer}
.ucmu-post-media.single .ucmu-post-media-item{width:100%}
.ucmu-post-media.double .ucmu-post-media-item{max-width:calc(50% - 4px)}
.ucmu-post-media.grid .ucmu-post-media-item{max-width:calc(50% - 4px)}
.ucmu-post-media img{display:block;width:auto;height:auto;max-width:100%;max-height:560px;margin:0 auto;object-fit:contain;border-radius:18px;background:transparent}
.ucmu-post-media.double img,.ucmu-post-media.grid img{max-height:260px}
@media(max-width:680px){.ucmu-post-media.double .ucmu-post-media-item,.ucmu-post-media.grid .ucmu-post-media-item{max-width:100%}.ucmu-post-media.double img,.ucmu-post-media.grid img{max-height:420px}}

/* UCMU_FEED_TOGGLE_CANONICAL */
.ucmu-feed-toggle{position:relative;width:214px;height:44px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:4px;border-radius:999px;background:rgba(46,51,56,.08);box-shadow:inset 0 0 0 1px rgba(31,38,50,.07)}
.ucmu-feed-toggle i{position:absolute;top:4px;left:4px;width:calc(50% - 4px);height:36px;border-radius:999px;background:var(--ucmu-red);box-shadow:0 10px 24px rgba(209,15,25,.26);transition:transform .18s ease}
.ucmu-feed-toggle[data-mode="my"] i{transform:translateX(100%)}
.ucmu-feed-toggle button{position:relative;z-index:1;height:36px;border:0;border-radius:999px;background:transparent;color:var(--ucmu-muted);font-size:10px;font-weight:950;letter-spacing:.10em;text-transform:uppercase;cursor:pointer}
.ucmu-feed-toggle button[aria-pressed="true"]{color:#fff}
@media(max-width:640px){.ucmu-feed-toggle{width:100%;max-width:260px}}

/* UCMU_PROFILE_EMPTY_BLOCK_CANONICAL */
.ucmu-profile-empty-block{
  min-height:118px;
  border-radius:18px;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(46,51,56,.045);
  color:var(--ucmu-muted);
  font-size:12px;
  font-weight:850;
  text-align:center;
}





.ucmu-profile-publics{grid-column:1}
.ucmu-profile-contacts{grid-column:1}
.ucmu-profile-photos{grid-column:2}
.ucmu-profile-posts{grid-column:1 / -1}
@media(max-width:900px){
  .ucmu-profile-publics,.ucmu-profile-contacts,.ucmu-profile-photos,.ucmu-profile-posts{grid-column:auto}
}


/* UCMU_PROFILE_PUBLICS_AS_CONTACTS_CANONICAL */
.ucmu-profile-contacts{grid-column:1}
.ucmu-profile-publics{grid-column:1}
.ucmu-profile-photos{grid-column:2}
.ucmu-profile-posts{grid-column:1 / -1}
@media(max-width:900px){
  .ucmu-profile-contacts,.ucmu-profile-publics,.ucmu-profile-photos,.ucmu-profile-posts{grid-column:auto}
}


/* UCMU_POST_FLOW_SPACING_CANONICAL */
[data-posts-flow]{display:grid;gap:22px;align-content:start}
.ucmu-post-card{margin:0}


/* UCMU_PROFILE_PUBLIC_REMOVE_CANONICAL */
.ucmu-public-remove{width:32px;height:32px;border:0;border-radius:50%;background:var(--ucmu-red);color:#fff;font-size:20px;font-weight:950;line-height:1;cursor:pointer;margin-right:10px}
.ucmu-public-remove.is-delete{background:var(--ucmu-red);color:#fff}
.ucmu-public-remove.is-busy{opacity:.55;pointer-events:none}
.ucmu-profile-contacts-full.is-cover .ucmu-public-remove{position:absolute;top:10px;right:10px;margin:0;width:32px;height:32px;background:var(--ucmu-red);color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.25)}




/* UCMU_CHATS_MOBILE_TEXT_CANONICAL
   Owner: features/chats/chats-screen.js
   Purpose: message text must be visible on web/mobile even if old p-specific rules or mobile CSS interfere. */
.ucmu-chat-message .ucmu-chat-message-text{
  display:block;
  visibility:visible;
  opacity:1;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  color:inherit;
  font-size:15px;
  line-height:1.32;
  font-weight:850;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  -webkit-text-fill-color:currentColor;
}

.ucmu-chat-message.mine .ucmu-chat-message-text{
  color:#fff;
  -webkit-text-fill-color:#fff;
}

.ucmu-chat-message.other .ucmu-chat-message-text{
  color:var(--ucmu-text);
  -webkit-text-fill-color:var(--ucmu-text);
}

@media (max-width:760px){
  .ucmu-chat-message .ucmu-chat-message-text{
    display:block;
    font-size:15px;
    line-height:1.34;
  }
}

/* UCMU_PROFILE_PUBLICS_HEADERS_CANONICAL */
.ucmu-profile-hero{min-height:232px;padding:28px 32px 28px;gap:28px}
.ucmu-profile-info{gap:8px}
.ucmu-profile-title-line h1{font-size:clamp(34px,4.2vw,46px)}
.ucmu-profile-info>span{margin-top:-2px}

/* UCMU_LIST_HEADERS_CANONICAL */
.ucmu-feed-screen,.ucmu-chats-screen:not(.ucmu-chat-thread-view),.ucmu-publics-screen:not(.ucmu-public-detail-screen){padding:0;display:grid;align-content:start;gap:0;min-width:0}
.ucmu-route-head{min-height:58px;padding:0 6px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ucmu-route-head h1{margin:0;color:var(--ucmu-text);font-size:clamp(26px,3.2vw,36px);line-height:1;font-weight:950;letter-spacing:-.035em}
.ucmu-route-head-actions{display:flex;align-items:center;gap:10px}
.ucmu-route-head-actions>button{width:44px;height:44px;border:0;border-radius:18px;background:#fff;color:var(--ucmu-graphite);box-shadow:0 12px 26px rgba(31,38,50,.10);font-size:18px;font-weight:950;cursor:pointer}
.ucmu-route-head-actions>button:hover{color:var(--ucmu-red);box-shadow:0 16px 34px rgba(31,38,50,.14)}
.ucmu-feed-list,.ucmu-publics-list,.ucmu-chat-list-view{min-width:0}

/* UCMU_ROUTE_FRAME_GUTTERS_CANONICAL */
.ucmu-route-head{
  position:sticky;
  top:0;
  z-index:30;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:86px;
  margin:0;
  padding:24px 28px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(31,38,50,.08);
  box-shadow:0 16px 34px rgba(31,38,50,.08);
  backdrop-filter:blur(18px);
}

.ucmu-route-head-copy{
  display:grid;
  gap:4px;
  min-width:0;
}

.ucmu-route-head h1{
  margin:0;
  color:var(--ucmu-text);
  font-size:clamp(24px,3vw,34px);
  line-height:1;
  font-weight:950;
  letter-spacing:-.035em;
}

.ucmu-route-head span{
  color:var(--ucmu-muted);
  font-size:12px;
  line-height:1.2;
  font-weight:850;
}

.ucmu-route-head-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.ucmu-route-head-actions>button{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:18px;
  background:#fff;
  color:var(--ucmu-graphite);
  box-shadow:0 12px 26px rgba(31,38,50,.10);
  font-size:22px;
  line-height:1;
  font-weight:950;
  cursor:pointer;
}

.ucmu-route-head-actions>button:hover{
  color:var(--ucmu-red);
  box-shadow:0 16px 34px rgba(31,38,50,.14);
}

.ucmu-feed-list{
  box-sizing:border-box;
  width:100%;
  padding:14px 28px 32px;
}

.ucmu-publics-list{
  box-sizing:border-box;
  width:100%;
  padding:18px 28px 32px;
}

.ucmu-chat-list-view{
  box-sizing:border-box;
  width:100%;
  height:auto;
  min-height:0;
  padding:18px 28px 32px;
}


@media(max-width:900px){
  .ucmu-route-head{
    min-height:74px;
    padding:16px 14px 13px;
  }

  .ucmu-feed-list,
  .ucmu-publics-list,
  .ucmu-chat-list-view{
    padding:14px 12px 24px;
  }
}

/* UCMU_PROFILE_CREATE_MENU_CANONICAL */
.ucmu-profile-create-menu{
  position:absolute;
  right:26px;
  bottom:82px;
  z-index:8;
  min-width:148px;
  padding:7px;
  display:grid;
  gap:5px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 48px rgba(31,38,50,.18);
}

.ucmu-profile-create-menu[hidden]{display:none}

.ucmu-profile-create-menu button{
  height:38px;
  border:0;
  border-radius:14px;
  padding:0 13px;
  background:transparent;
  color:var(--ucmu-text);
  text-align:left;
  font-size:12px;
  font-weight:950;
  cursor:pointer;
}

.ucmu-profile-create-menu button:hover{background:rgba(46,51,56,.07)}
.ucmu-profile-create-menu-note{height:38px;border-radius:14px;padding:0 13px;display:flex;align-items:center;color:var(--ucmu-muted);font-size:12px;font-weight:950;opacity:.55}

@media(max-width:640px){
  .ucmu-profile-create-menu{
    right:14px;
    bottom:68px;
  }
}

/* UCMU_POST_COMPOSER_ATTACH_CANONICAL */
.ucmu-post-compose-attach{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(46,51,56,.08);
  color:var(--ucmu-graphite);
  cursor:pointer;
  font-size:20px;
  font-weight:950;
}

.ucmu-post-compose-attach:hover{
  color:var(--ucmu-red);
  background:rgba(215,38,49,.10);
}

.ucmu-post-compose-attach input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}


/* UCMU_POSTS_REPOST_RENDER_CANONICAL */
.ucmu-post-card.is-repost .ucmu-post-head{margin-bottom:12px}
.ucmu-post-repost{border:1px solid rgba(47,54,62,.12);border-radius:18px;padding:13px;background:rgba(47,54,62,.035)}
.ucmu-post-repost-head{display:flex;align-items:center;gap:9px}
.ucmu-post-repost-head .ucmu-post-avatar{width:36px;height:36px;font-size:11px}
.ucmu-post-repost-body{padding:11px 0 2px}
.ucmu-post-repost-body h2{margin:0 0 6px;color:var(--ucmu-graphite);font-size:16px;font-weight:950}
.ucmu-post-repost-body p{margin:0;white-space:pre-wrap;color:rgba(47,54,62,.88);font-size:14px;line-height:1.42;font-weight:600}


/* PROFILE_GUTTERS_CANONICAL */
.ucmu-profile-screen>[data-profile-layout-mount]{
  box-sizing:border-box;
  width:100%;
  padding:0 16px 16px;
}
@media(max-width:760px){
  .ucmu-profile-screen>[data-profile-layout-mount]{
    padding:0 10px 12px;
  }
}
