/* Publication components share the chat's dark surfaces and plum accents. */
.post-page-heading,.post-modern-composer,.post-modern-feed,.post-detail-page{width:100%;max-width:820px;min-width:0;margin:28px auto}
.post-eyebrow{display:block;color:#c3a7d4;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:.13em;text-transform:uppercase}
.post-page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:12px 0 6px}
.post-page-heading h1{margin:7px 0 10px;font-size:clamp(30px,4vw,42px);font-weight:750;letter-spacing:-.045em;line-height:1.15}
.post-page-heading h1>span{color:#d68abb}
.post-page-heading p{font-size:14px;line-height:1.7;color:#b2afc1;margin:0;max-width:450px}
.post-page-heading>a,.post-detail-heading>a{font-size:12px;color:#d6c5e5;min-height:44px;display:inline-flex;align-items:center;flex-shrink:0}
.post-modern-composer{position:relative;border:1px solid #ffffff16;border-radius:24px;padding:26px;background:radial-gradient(ellipse at 100% 0,#9e5fa514,transparent 65%),#1b1924;box-shadow:0 12px 45px #0002}
.post-composer-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.post-composer-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;background:linear-gradient(135deg,#b16cda20,#dc779c18);border:1px solid #c79adc25;border-radius:16px;color:#e8c1f4;font-size:24px}
.post-modern-composer h2{font-size:20px;letter-spacing:-.025em;font-weight:650;margin:4px 0 6px;line-height:1.3}
.post-composer-heading p{color:#b2afc1;font-size:12px;line-height:1.6;margin:0}
.post-modern-composer form{gap:16px}
.post-modern-composer .post-text-label{position:relative;display:flex;flex-direction:column;gap:10px;color:#cec4d8;font-size:12px}
.post-modern-composer textarea{min-height:146px;max-height:420px;border:1px solid #ffffff16;border-radius:16px;background:#14131c;color:#f5f0fa;font-size:16px;line-height:1.75;padding:16px 18px;resize:vertical;transition:border-color .18s,box-shadow .18s;scrollbar-width:thin;scrollbar-color:#715180 transparent}
.post-modern-composer textarea::placeholder{color:#a9a0b7;opacity:1}
.post-modern-composer textarea:focus{outline:none;border-color:#c78be58a;box-shadow:0 0 0 3px #bc79de0c}
.post-modern-composer .post-text-label>.emoji-trigger{position:absolute;bottom:10px;right:10px;border-color:#ffffff15;background:#292232;min-width:40px;min-height:40px;border-radius:12px;font-size:19px}
.post-modern-composer .post-text-label textarea{padding-bottom:58px}
.post-modern-composer .post-composer-footer{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.post-modern-composer .post-visibility-label{display:flex;flex-direction:column;gap:7px;color:#bdb1c9;font-size:11px;min-width:150px}
.post-modern-composer select{width:100%;min-height:44px;border:1px solid #ffffff20;border-radius:12px;padding:10px 32px 10px 12px;background:#282232;color:#f5edfb;font-size:13px;cursor:pointer}
.post-modern-composer .post-character-count{margin-left:auto;margin-bottom:13px;color:#b2afc1;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.post-modern-composer .post-publish-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 23px;border:1px solid #ffffff15;border-radius:14px;background:linear-gradient(125deg,#a964d0,#bd6996);color:#fff;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 4px 16px #0002}
.post-modern-composer .post-publish-button:hover{filter:brightness(1.1)}
.post-modern-composer .post-audience-help{color:#b2afc1;font-size:11px;line-height:1.6;margin:0}
.post-modern-composer .post-cancel-link{align-self:flex-start;min-height:36px;display:inline-flex;align-items:center;font-size:13px}
.post-modern-composer .post-form-error{padding:12px 14px;border:1px solid #9f526c;border-radius:12px;background:#422337;color:#ffdaea;line-height:1.6;font-size:13px}
.post-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 18px}
.post-feed-heading h2{font-size:17px;letter-spacing:-.02em;margin:0;font-weight:650}
.post-feed-heading>span{font-size:11px;color:#b2afc1}
.post-modern-card{position:relative;min-width:0;padding:24px;margin:0 0 18px;border:1px solid #ffffff13;border-radius:24px;background:#1b1a25;box-shadow:0 6px 25px #00000012;overflow-wrap:anywhere}
.post-modern-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center}
.post-modern-card .mobile-author{min-width:0;display:flex;align-items:center;gap:12px;color:#f6effb}
.post-modern-card .mobile-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#67417e,#8b496e);border:1px solid #ffffff1a;display:grid;place-items:center;color:#f9cbe7;font-size:20px}
.post-modern-card .mobile-avatar img{width:100%;height:100%;object-fit:cover}
.post-modern-card .mobile-author-info{display:grid;gap:4px;min-width:0}
.post-modern-card .mobile-author-info strong{font-size:14px;font-weight:650;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5edf9}
.post-modern-card .mobile-author-info small{font-size:11px;line-height:1.5;color:#b2afc1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-modern-card .post-visibility-badge{font-size:10px;padding:6px 9px;line-height:1.4;color:#d2bedf;background:#a877ca0b;border:1px solid #c697e01a;border-radius:100px;white-space:nowrap}
.post-modern-card .social-post-body{font-size:16px;line-height:1.85;letter-spacing:.005em;color:#eee8f4;margin:24px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.post-modern-card .post-published{font-size:10px;line-height:1.7;color:#b2afc1;margin-bottom:20px;font-variant-numeric:tabular-nums}
.post-modern-card .social-post-interactions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:14px;border-top:1px solid #ffffff0e;margin-top:0}
.post-modern-card .social-post-interactions form{display:block;margin:0}
.post-modern-card .social-post-interactions button,.post-modern-card .social-post-interactions>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#c8bad4;font:inherit;font-size:12px;line-height:1.5;cursor:pointer}
.post-modern-card .social-post-interactions button:hover,.post-modern-card .social-post-interactions>a:hover{background:#ffffff07}
.post-modern-card .social-post-interactions button[aria-pressed=true]{color:#ffc1dd;background:#bf65991a;border-color:#c774aa28}
.post-modern-card .social-post-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;margin-top:6px;padding-top:8px}
.post-modern-card .social-post-actions>a,.post-modern-card .social-post-actions>button{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:0;border-radius:10px;background:none;font:inherit;font-size:11px;line-height:1.5;color:#bdb0cd;cursor:pointer}
.post-modern-card .social-post-actions>a:hover,.post-modern-card .social-post-actions>button:hover{background:#ffffff07;color:#e6d6f3}
.post-modern-card .post-owner-menu{position:relative;justify-self:end}
.post-modern-card .post-owner-menu>summary{display:grid;place-items:center;width:40px;height:40px;border:1px solid transparent;border-radius:12px;cursor:pointer;list-style:none;color:#cec0db;font-size:24px;line-height:1}
.post-modern-card .post-owner-menu>summary::-webkit-details-marker{display:none}
.post-modern-card .post-owner-menu>summary:hover,.post-modern-card .post-owner-menu[open]>summary{background:#ffffff0b;border-color:#ffffff12}
.post-modern-card .post-owner-panel{position:absolute;right:0;top:46px;z-index:4;min-width:220px;max-width:calc(100vw - 64px);padding:12px;background:#2a2333;border:1px solid #ffffff22;border-radius:16px;box-shadow:0 15px 45px #0006;line-height:1.6}
.post-modern-card .post-owner-panel>a,.post-modern-card .post-delete-confirm>summary{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;color:#eadcf4;font-size:12px;cursor:pointer}
.post-modern-card .post-owner-panel>a:hover,.post-modern-card .post-delete-confirm>summary:hover{background:#ffffff08}
.post-modern-card .post-delete-confirm>summary{color:#ffbcd4}
.post-modern-card .post-owner-panel p{font-size:12px;color:#e0c9d8;margin:10px;line-height:1.7}
.post-modern-card .post-owner-panel form{margin:0 8px 8px}
.post-modern-card .post-owner-panel button{min-height:44px;background:#683447;border-color:#a95a75;border-radius:10px;color:#ffe1eb;font-size:12px;line-height:1.4}
.post-modern-feed>nav{display:flex;justify-content:center;gap:12px;margin:28px 0}
.post-modern-feed>nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #ffffff18;border-radius:100px;background:#25202f;color:#d9c4e8;font-size:12px;text-align:center}
.post-feed-empty{padding:44px 24px;text-align:center;border:1px dashed #bc8bd42e;border-radius:24px;background:#1a1722;color:#b2afc1}
.post-feed-empty>span{font-size:32px;color:#d0a4e2}
.post-feed-empty h3{color:#e8def1;font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.5;margin:15px 0 10px}
.post-feed-empty p{font-size:13px;line-height:1.7;margin:0}
.post-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.post-detail-page .social-comments,.social-thread{padding:24px;border:1px solid #ffffff15;border-radius:24px;background:#1a1823;margin-top:24px;min-width:0}
.post-detail-page .social-comments h2,.social-thread h1{font-size:20px;letter-spacing:-.025em;font-weight:650;margin:0 0 20px}
.post-detail-page .social-comment-form,.social-thread .social-comment-form{gap:10px;margin-bottom:24px}
.post-detail-page .social-comment-form label,.social-thread .social-comment-form label{font-size:12px;color:#c8b7d4}
.post-detail-page .social-comment-form textarea,.social-thread .social-comment-form textarea{border:1px solid #ffffff1a;border-radius:14px;padding:14px;background:#12111a;min-width:0;max-width:100%;font-size:16px;line-height:1.7;color:#f4edfb}
.post-detail-page .social-comment-form>.emoji-trigger,.social-thread .social-comment-form>.emoji-trigger{background:#292232;border-color:#ffffff1a;border-radius:12px}
.post-detail-page .social-comment-form>button[type=submit],.social-thread .social-comment-form>button[type=submit]{align-self:flex-end;min-height:44px;padding:10px 20px;background:linear-gradient(125deg,#a964d0,#bd6996);border:1px solid #ffffff15;border-radius:12px;color:#fff;font-size:13px;font-weight:650}
.post-detail-page .social-comment-form small,.social-thread small{color:#b2afc1;font-size:11px;line-height:1.6}
.post-detail-page .social-comment,.social-thread .social-comment{border:1px solid #ffffff0d;border-radius:16px;padding:16px 18px;margin:14px 0;background:#24202c;font-size:13px;line-height:1.7;min-width:0}
.post-detail-page .social-comment p,.social-thread .social-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:10px 0}
.post-detail-page .social-comment>a,.social-thread .social-comment>a{color:#dcc3ec;font-size:12px}
.post-detail-page .social-comment .social-reply-link{display:block;margin-top:10px;min-height:36px;line-height:2}
.post-detail-page .social-comment details,.social-thread .social-comment details{font-size:11px;margin-top:8px;color:#e4bad0}
.post-detail-page .social-comments>p,.social-thread>p{color:#b2afc1;font-size:13px;line-height:1.7}
.post-modern-card :focus-visible,.post-modern-composer :focus-visible,.post-modern-feed>nav :focus-visible,.post-detail-page :focus-visible{outline:2px solid #e2b5fa;outline-offset:3px}
@media(max-width:650px){
 .post-page-heading,.post-modern-composer,.post-modern-feed,.post-detail-page{margin:20px auto}
 .post-page-heading{display:block;padding:4px 2px 0}
 .post-page-heading h1{font-size:32px}
 .post-page-heading p{font-size:13px}
 .post-page-heading>a{margin-top:7px;font-size:11px}
 .post-modern-composer{padding:20px 16px;border-radius:21px}
 .post-composer-heading{gap:11px;margin-bottom:20px;align-items:flex-start}
 .post-composer-mark{flex-basis:40px;width:40px;height:40px;border-radius:14px;font-size:21px}
 .post-modern-composer h2{font-size:18px;line-height:1.35}
 .post-composer-heading p{font-size:11px}
 .post-modern-composer .post-composer-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
 .post-modern-composer .post-visibility-label{grid-column:1;grid-row:1;min-width:0}
 .post-modern-composer .post-character-count{grid-column:2;grid-row:1;margin:0 0 14px;font-size:10px}
 .post-modern-composer .post-publish-button{grid-column:1/-1;width:100%;min-height:46px}
 .post-feed-heading{margin:26px 2px 16px}
 .post-feed-heading h2{font-size:16px}
 .post-feed-heading>span{display:none}
 .post-modern-card{padding:19px 16px;border-radius:21px;margin-bottom:14px}
 .post-modern-card>header{gap:8px}
 .post-modern-card .mobile-author{gap:10px}
 .post-modern-card .mobile-author-info strong{font-size:13px}
 .post-modern-card .mobile-avatar{width:40px;height:40px;flex-basis:40px;border-radius:14px}
 .post-modern-card .post-visibility-badge{font-size:9px;padding:5px 7px}
 .post-modern-card .social-post-body{font-size:15px;line-height:1.85;margin:21px 0 15px}
 .post-modern-card .post-published{font-size:10px;margin-bottom:15px}
 .post-modern-card .social-post-interactions{gap:0;justify-content:space-between}
 .post-modern-card .social-post-interactions button,.post-modern-card .social-post-interactions>a{font-size:11px;padding:9px 7px}
 .post-modern-card .social-post-actions{gap:6px}
 .post-modern-card .social-post-actions>a,.post-modern-card .social-post-actions>button{padding:8px 6px}
 .post-detail-heading{flex-wrap:wrap;gap:6px}
 .post-detail-heading .post-eyebrow{font-size:9px}
 .post-detail-page .social-comments,.social-thread{padding:20px 16px;border-radius:21px}
}
@media(prefers-reduced-motion:reduce){.post-modern-composer *,.post-modern-card *{transition:none!important;animation:none!important}}
@media(prefers-contrast:more){.post-modern-card,.post-modern-composer{border-color:#a39aaf}.post-modern-card .post-published,.post-modern-composer .post-character-count,.post-modern-composer .post-audience-help{color:#e2d7eb}}

.post-modern-composer [hidden]{display:none!important}
.post-modern-composer .post-photo-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.post-modern-composer .post-photo-picker{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;position:relative;min-height:44px;padding:10px 14px;border:1px solid #bc83d435;border-radius:12px;background:#b776d90b;color:#e6c9f8;font-size:12px;cursor:pointer;overflow:hidden}
.post-photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.post-modern-composer .post-photo-picker:focus-within{outline:2px solid #e2b5fa;outline-offset:3px}
.post-modern-composer .post-photo-tools>small{font-size:11px;color:#b2afc1;line-height:1.7}
.post-modern-composer .post-photo-status{font-size:12px;color:#f0c5e4;line-height:1.7;margin:0}
.post-photo-status:empty{display:none}
.post-modern-composer .post-photo-preview,.post-modern-composer .post-existing-photo{padding:12px;border:1px solid #ffffff16;border-radius:16px;background:#13111b;min-width:0}
.post-modern-composer .post-photo-preview img,.post-modern-composer .post-existing-photo>img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px;background:#0f0e16}
.post-modern-composer .post-photo-preview>div{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:10px}
.post-modern-composer [data-post-photo-name]{font-size:11px;color:#bcb0ca;overflow-wrap:anywhere;min-width:0}
.post-modern-composer [data-post-photo-clear]{min-height:40px;padding:8px 12px;border:1px solid #b777962f;border-radius:10px;background:#3c2333;color:#ffcee6;font-size:11px;cursor:pointer}
.post-modern-composer .post-existing-photo>label{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px;margin-top:10px;color:#e5c3db;font-size:12px;line-height:1.6;cursor:pointer}
.post-existing-photo input{width:18px;height:18px;flex-shrink:0;accent-color:#bc75cd}
.post-existing-photo:has(input:checked)>img{opacity:.35}
.post-modern-card .post-photo-link{display:block;margin:22px 0 18px;border:1px solid #ffffff0e;border-radius:16px;overflow:hidden;background:#101018}
.post-modern-card .post-photo{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#101018}
@media(max-width:650px){.post-modern-composer .post-photo-tools{gap:9px}.post-modern-composer .post-photo-tools>small{font-size:10px}.post-modern-card .post-photo-link{margin:20px -4px 16px;border-radius:13px}.post-modern-card .post-photo{max-height:480px}}
