/* Post component contract. Loaded after legacy page and production layers.
   Card owns its border; each section owns exactly one horizontal gutter. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post{--post-gutter:18px;padding:0!important;margin:0 0 14px!important;width:100%!important;min-width:0;border:1px solid #293144!important;border-radius:16px!important;background:#101620!important;overflow:hidden!important;box-shadow:none!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-top{display:flex!important;align-items:center!important;padding:18px var(--post-gutter) 0!important;gap:12px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1!important;gap:4px!important;overflow:hidden!important;min-width:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-name-row,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-name-row,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-author-row{display:flex!important;align-items:center!important;gap:5px!important;max-width:100%!important;min-width:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-name,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-author{display:block!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-name{font-size:14px!important;line-height:20px!important;color:#f0f2f8!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .user-badges{flex-shrink:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-time{display:block!important;margin:0!important;max-width:100%!important;color:#929daf!important;font-size:12px!important;line-height:18px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-body{margin:0!important;padding:14px var(--post-gutter)!important;font-size:15px!important;line-height:1.65!important;overflow-wrap:anywhere!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-body:empty{display:none!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-images{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;width:calc(100% - var(--post-gutter) * 2)!important;margin:14px var(--post-gutter)!important;border-radius:12px!important;overflow:hidden!important;background:#080d15}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-body:not(:empty)+.post-images{margin-top:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-media-tile{display:block;position:relative;width:100%;min-width:0;border:0;background:#080d15;padding:0;cursor:zoom-in;aspect-ratio:4/3;overflow:hidden;border-radius:0;color:#aeb8c9;font:inherit}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-media-tile:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/9}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-images[data-media-count="1"]{grid-template-columns:minmax(0,1fr)!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-images[data-media-count="1"] .post-media-tile{aspect-ratio:auto;min-height:120px}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-images .post-image{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:cover!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-images[data-media-count="1"] .post-image{height:auto!important;max-height:600px!important;object-fit:contain!important}
.post-media-error{position:absolute;inset:0;display:grid;place-items:center;padding:16px;font-size:13px}
.media-failed img{visibility:hidden}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-actions{width:100%!important;display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:4px!important;margin:0!important;padding:8px 10px!important;min-height:56px!important;border-top:1px solid #252e40!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action{min-height:40px!important;min-width:40px!important;padding:8px 10px!important;font-size:12px!important;line-height:1.2!important;color:#9ca8bb!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action.edit-post{display:inline-flex!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action.liked{color:#ff86aa!important;background:#ff719514!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action.saved{color:#bd9aff!important;background:#a779ff18!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action.reposted{color:#75d9ae!important;background:#75d9ae14!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action.delete-post{color:#d793a2!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-label{padding:0!important;margin:14px var(--post-gutter) 0!important;flex-wrap:wrap!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-content{margin:14px var(--post-gutter)!important;padding:12px!important;min-width:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-content .post-body{padding:10px 0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-content .post-images{width:100%!important;margin:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-top .meta{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comments{padding:14px var(--post-gutter)!important;margin:0!important;background:#0d131d!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-author-row{flex:1 1 140px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-handle{max-width:100%!important;color:#8d99ac!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-time{color:#8d99ac!important;font-size:11px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-actions button{font-size:12px!important;min-height:36px!important;color:#99a6ba!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form{grid-template-columns:minmax(0,1fr) auto!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form textarea{width:100%!important;font-size:14px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form .comment-replying{position:static!important;transform:none!important;grid-column:1/-1;white-space:normal;overflow-wrap:anywhere}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form .comment-replying[hidden]{display:none!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .feed-hashtags{padding:0 var(--post-gutter) 12px!important;display:flex;flex-wrap:wrap;gap:7px}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-content .feed-hashtags{padding:10px 0 0!important}
/* The stream is a list of distinct cards, not another border around them. */
.av-page-feed .feed-stream-panel{border:0!important;background:transparent!important;overflow:visible!important;box-shadow:none!important}
.av-page-feed .feed-stream-head{border:0!important;padding:4px 2px 14px!important}
.composer.av-composer .composer-footer{flex-wrap:wrap!important;gap:10px!important}
.composer.av-composer .post-tools{flex-wrap:wrap!important;overflow:visible!important;gap:8px!important;order:0!important;width:auto!important}
.composer.av-composer .post-image-preview{margin-top:12px;gap:8px}
.composer.av-composer .post-image-preview:empty{display:none}
.composer.av-composer .post-preview-item{width:88px!important;height:88px!important;flex-basis:88px!important}
.composer.av-composer .post-preview-item button{width:28px!important;height:28px!important;top:4px!important;right:4px!important;font-size:18px}
.composer.av-composer .post-tools>.btn,.composer.av-composer .post-tools>label.btn{width:40px!important;height:40px!important;min-height:40px!important;min-width:40px!important;padding:0!important;flex-shrink:0}
.composer.av-composer .attachment-name:empty{display:none}
.composer.av-composer .feed-schedule-control{min-width:0;max-width:100%;flex-wrap:wrap}
.composer.av-composer .post-tools input[type=datetime-local]{max-width:100%!important;min-width:0!important;height:40px!important;color-scheme:dark}
.composer.av-composer .composer-target{max-width:100%;min-width:0;flex:1}
.composer.av-composer .primary-btn{order:1!important;min-height:40px!important}
.post-media-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:16px;background:#080c14f5;color:#f4f5fa;box-sizing:border-box;z-index:100000}
.post-media-dialog::backdrop{background:#04070bea}
.post-media-toolbar{display:flex;align-items:center;justify-content:space-between;height:48px}
.post-media-dialog button{border:1px solid #414b60;border-radius:12px;background:#172030;color:#fff;min-width:44px;min-height:44px;font-size:28px;cursor:pointer}
.post-media-stage{display:flex;align-items:center;justify-content:center;gap:12px;height:calc(100% - 60px)}
.post-media-stage img{display:block;min-width:0;max-width:calc(100% - 112px);max-height:100%;object-fit:contain}
.post-media-dialog button[hidden]{display:none}
.post-media-open{overflow:hidden}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post :is(button,a,textarea):focus-visible,.composer.av-composer :is(button,label,input,textarea,select):focus-visible,.post-media-dialog button:focus-visible{outline:2px solid #bd99ff!important;outline-offset:2px!important}
@media(max-width:700px){
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post{--post-gutter:14px;border-radius:14px!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-top{padding-top:14px!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-body{font-size:14px!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-actions{padding:7px!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action:is(.repost-action,.save-post,.post-share) span{display:none!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-replies{margin-left:16px!important;padding-left:8px!important}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form{grid-template-columns:minmax(0,1fr)!important}
 .composer.av-composer .post-tools{width:100%!important}
 .composer.av-composer .primary-btn{width:100%!important}
 .post-media-dialog{padding:10px}
 .post-media-stage{gap:6px}.post-media-stage img{max-width:calc(100% - 100px)}
}
@media(prefers-reduced-motion:reduce){body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post *{transition:none!important;scroll-behavior:auto!important}}
/* Hidden scheduled-post actions must win over legacy display: inline-flex. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-actions .post-action[hidden]{display:none!important}
.post-share-modal{z-index:100100!important}
.post-share-dialog{max-height:calc(100dvh - 36px)!important}
/* Screenshot correction: feed alignment, composition, and quiet discussion rows. */
body.av-page-feed .av-app .av-content>main.wrap{width:calc(100% - 2 * var(--ui-page-gutter,24px))!important;max-width:1120px!important;margin:0 auto!important;padding:var(--ui-page-top,28px) 0 var(--ui-page-bottom,48px)!important}
body.av-page-feed .feed-layout{grid-template-columns:minmax(0,1fr) 288px!important;gap:24px!important}
body.av-page-feed .feed-main{gap:16px!important}
body.av-page-feed .feed-page-head{margin:0!important;padding:0!important;align-items:center!important}
body.av-page-feed .feed-page-head h1{font-size:28px!important;margin:0!important}
body.av-page-feed .feed-page-head p{margin:6px 0 0!important}
body.av-page-feed .feed-kicker{display:none}
body.av-page-feed .feed-mode-nav{margin:0!important;box-shadow:none!important;min-height:46px}
body.av-page-feed .feed-mode-nav button{display:inline-flex!important;align-items:center;gap:7px;min-height:38px!important}
body.av-page-feed #composerPanel{padding:0!important;border:1px solid #293144!important;border-radius:16px!important;background:#101620!important}
body.av-page-feed #composerPanel>.panel-title{margin:0!important;padding:16px 18px 0!important;color:#e9edf5;font-size:14px;line-height:20px;font-weight:700}
body.av-page-feed #composerPanel .composer.av-composer{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:14px 18px 18px!important}
body.av-page-feed .composer-context-row{margin-bottom:12px!important}
body.av-page-feed .composer-footer{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important}
body.av-page-feed .composer-footer .counter{white-space:nowrap}
body.av-page-feed .composer-footer .post-tools{width:auto!important;flex:initial!important}
body.av-page-feed .feed-schedule-control{display:flex!important;align-items:center;gap:6px;border:0!important;background:transparent!important;padding:0!important;max-width:100%}
body.av-page-feed .feed-schedule-control input{padding:8px!important;width:190px;max-width:100%!important;background:#0b111b;border:1px solid #293144;border-radius:10px;font-size:12px!important}
body.av-page-feed .feed-stream-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:2px 0 12px!important;background:transparent!important}
body.av-page-feed .feed-count-hint{color:#8d99ad!important}
body.av-page-feed .feed-right{top:calc(var(--ui-shell-height,64px) + 24px)!important;gap:14px!important}
.post-ui-icon{display:block!important;flex:0 0 20px;min-width:20px!important;width:20px!important;height:20px!important;pointer-events:none}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment{border:0!important;border-bottom:1px solid #222c3e!important;background:transparent!important;border-radius:0!important;padding:12px 0!important;margin:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-body{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-head{justify-content:flex-start!important;gap:5px 8px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-author-row{flex:0 1 auto!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-time{margin-left:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-replies{margin:0 0 0 16px!important;padding:0 0 0 14px!important;border-left:1px solid #34415c!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-replies .comment{border-left:0!important;padding-left:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment:last-child{border-bottom:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
@media(max-width:1200px){body.av-page-feed .av-app .av-content>main.wrap{max-width:808px!important}body.av-page-feed .feed-layout{grid-template-columns:minmax(0,1fr)!important}body.av-page-feed .feed-right{display:none!important}}
@media(max-width:760px){
 body.av-page-feed .av-app .av-content>main.wrap{width:calc(100% - 2 * var(--ui-page-gutter,16px))!important;margin:0 auto!important;padding-top:var(--ui-page-top,20px)!important}
 body.av-page-feed .composer-footer{grid-template-columns:1fr auto!important}
 body.av-page-feed .composer-footer .post-tools{grid-column:1/-1;grid-row:1;flex-wrap:wrap!important}
 body.av-page-feed .composer-footer .primary-btn{width:auto!important;min-width:150px}
 body.av-page-feed #composerPanel>.panel-title{padding:14px 14px 0!important}
 body.av-page-feed #composerPanel .composer.av-composer{padding:12px 14px 14px!important}
 body.av-page-feed .feed-count-hint{display:none}
 body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-time{width:auto!important;white-space:normal!important}
}
/* Both hosts use one full-width stack. No implicit grid track or list maximum. */
body.av-page-profile .av-content :is(#view-posts,#view-liked,.profile-content-column){width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments){min-width:0!important;max-width:none!important;box-sizing:border-box!important}
body :is(#feed,#feedCard,#posts,#likedPosts){display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:14px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post{width:100%!important;max-width:none!important;min-width:0!important;align-self:stretch!important;flex-shrink:0!important;margin:0!important;box-sizing:border-box!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .comment{min-width:0!important;max-width:100%!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .comment-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .comment-time{margin-left:0!important;font-size:11px!important;color:#8d99ac!important;width:auto!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .comment-replies{box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0 0 0 16px!important;padding:0 0 0 14px!important;border-left:1px solid #34415c!important}
/* Explicit profile composer geometry defeats old profile-ID overrides. */
body.av-page-profile .av-content #composerPanel{width:100%!important;max-width:none!important;padding:0!important;border:1px solid #293144!important;border-radius:16px!important;background:#101620!important;margin:0 0 16px!important;overflow:visible!important}
body.av-page-profile .av-content #composerPanel>.panel-title{padding:16px 18px 0!important;margin:0!important;font-size:14px!important;line-height:20px!important;background:transparent!important;font-weight:700!important}
body.av-page-profile .av-content #composerPanel .composer.av-composer{padding:14px 18px 18px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.av-page-profile .av-content #composerPanel .composer-footer{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;margin-top:10px!important}
body.av-page-profile .av-content #composerPanel #charCounter{grid-column:1!important;grid-row:1!important;align-self:center!important;white-space:nowrap}
body.av-page-profile .av-content #composerPanel .post-tools{grid-column:2!important;grid-row:1!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
body.av-page-profile .av-content #composerPanel #publishBtn{grid-column:3!important;grid-row:1!important;width:auto!important;align-self:center!important}
body.av-page-profile .av-content #composerPanel .profile-schedule-field{margin:0!important;padding:0!important;gap:6px!important;min-width:0!important}
body.av-page-profile .av-content #composerPanel #profilePostSchedule{height:40px!important;background:#0b111b!important;border:1px solid #293144!important;border-radius:10px!important;padding:8px!important;width:190px!important}
body.av-page-profile .av-content #composerPanel .composer-avatar{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}
body.av-page-profile .av-content #composerPanel #postBody{min-height:88px!important}
body.av-page-profile .av-content #composerPanel .post-tools>.btn,body.av-page-profile .av-content #composerPanel .post-tools>label.btn{width:40px!important;height:40px!important;min-height:40px!important;min-width:40px!important}
@media(max-width:760px){
 body.av-page-profile .av-content #composerPanel>.panel-title{padding:14px 14px 0!important}
 body.av-page-profile .av-content #composerPanel .composer.av-composer{padding:12px 14px 14px!important}
 body.av-page-profile .av-content #composerPanel .composer-footer{grid-template-columns:1fr auto!important}
 body.av-page-profile .av-content #composerPanel .post-tools{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
 body.av-page-profile .av-content #composerPanel #charCounter{grid-column:1!important;grid-row:2!important}
 body.av-page-profile .av-content #composerPanel #publishBtn{grid-column:2!important;grid-row:2!important;width:auto!important}
 body.av-page-profile .av-content #composerPanel .profile-schedule-field{flex-basis:auto!important}
}

/* Editor and asynchronous discussion states use the same component in every host. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form{display:grid!important;align-items:end!important;gap:10px!important;padding-top:14px!important;border-top:1px solid #293144!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form textarea,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-inline-editor textarea{box-sizing:border-box!important;display:block!important;min-height:44px!important;max-height:200px!important;min-width:0!important;width:100%!important;resize:vertical!important;overflow-y:auto!important;border:1px solid #34415c!important;border-radius:12px!important;background:#101925!important;color:#edf1f8!important;padding:11px 12px!important;font:inherit!important;line-height:1.5!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-inline-editor{min-width:0;width:100%;margin:8px 0}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-inline-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-text{white-space:pre-wrap!important;overflow-wrap:anywhere!important;line-height:1.6!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comments-error{display:block;width:100%;margin:0 0 12px;padding:12px;border:1px solid #694454;border-radius:10px;background:#30202c;color:#ffd4df;text-align:left;font:inherit;cursor:pointer}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comments-loading,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comments-empty{padding:12px 0;color:#a6b1c4;font-size:13px;line-height:1.5}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post button:disabled{opacity:.55!important;cursor:wait!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-like.liked{color:#ff86aa!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form .comment-replying{text-align:left!important;color:#c8b3ff!important;min-height:36px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-actions{flex-wrap:wrap!important;gap:4px 10px!important}
 .composer.av-composer[aria-busy="true"],#composerPanel[aria-busy="true"]{cursor:progress}
.composer.av-composer :disabled{opacity:.6;cursor:wait}
.composer.av-composer .post-image-preview{display:flex;flex-wrap:wrap;max-width:100%;min-width:0}
.composer.av-composer .post-preview-item{position:relative;overflow:hidden;border:1px solid #34415c;border-radius:12px}
.composer.av-composer .post-preview-item img{width:100%;height:100%;object-fit:cover}
@media(max-width:480px){body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-inline-actions .btn{flex:1;min-height:40px}body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form>.btn{justify-self:end;min-width:120px;min-height:44px}}

/* Screenshot polish: centered stream, readable discussion, one reply indentation. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-name{font-size:15px!important;font-weight:650!important;line-height:22px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment{gap:10px!important;padding-top:14px!important;padding-bottom:14px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-text{font-size:14px!important;line-height:1.65!important;color:#e2e7f0!important;margin-top:4px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-author{font-size:13px!important;line-height:20px!important;font-weight:650!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-avatar{width:32px!important;height:32px!important;min-width:32px!important;flex:0 0 32px!important;border-radius:50%!important;overflow:hidden!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-actions button{font-size:12px!important;line-height:18px!important;min-height:36px!important;padding:6px 8px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-replies .comment{margin-left:0!important;padding-left:0!important;border-left:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-handle{font-size:12px!important;overflow-wrap:anywhere!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-action{font-size:12px!important;font-weight:550!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .post-top .post-avatar{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-reply-context{font-size:12px!important;line-height:18px!important;margin-top:3px!important}
body.av-page-feed #composerPanel>.panel-title,body.av-page-profile .av-content #composerPanel>.panel-title{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:16px!important;font-weight:650!important;line-height:24px!important;letter-spacing:0!important}
body.av-page-feed .feed-stream-panel{margin-top:0!important;padding:0!important}
body.av-page-feed .feed-stream-head{min-height:28px!important;padding:0 0 12px!important}
body.av-page-feed .feed-stream-head strong{font:600 13px/20px Inter,system-ui,sans-serif!important}
body.av-page-feed .feed-stream-head>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.composer.av-composer textarea{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:14px!important;line-height:1.6!important}
.composer.av-composer .counter{font-size:12px!important;color:#a0abc0!important}
.composer.av-composer .post-tools input[type=datetime-local]{color:#c5cfdf!important}
@media(max-width:480px){
 body.av-page-feed .feed-mode-nav{overflow-x:auto!important;scrollbar-width:thin;max-width:100%}
 body.av-page-feed .feed-mode-nav button{flex:0 0 auto!important}
}

.post-media-stage:has([data-prev][hidden]) img{max-width:100%}

/* Inline replies and a single shared source-card design for all reposts. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form.comment-form-inline{box-sizing:border-box!important;width:calc(100% - 42px)!important;max-width:calc(100% - 42px)!important;margin:0 0 14px 42px!important;padding:12px!important;border:1px solid #34415c!important;border-radius:12px!important;background:#101925!important;min-width:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-content{border:1px solid #34415c!important;border-radius:12px!important;background:#0c121c!important;box-shadow:none!important;padding:14px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-top{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-avatar{width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;border-radius:50%!important;overflow:hidden!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-name-row .name{font:650 14px/20px Inter,system-ui,sans-serif!important;color:#edf1f8!important;overflow-wrap:anywhere!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-top .handle,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-time{font:400 12px/18px Inter,system-ui,sans-serif!important;color:#99a6ba!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-community-context{display:inline-flex!important;align-items:center!important;gap:6px!important;margin:3px 0 0!important;font-size:12px!important;color:#bca5ed!important;background:transparent!important;border:0!important;padding:0!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-community-context img,body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-community-context .post-community-fallback{width:20px!important;height:20px!important;min-width:20px!important;border-radius:6px!important;object-fit:cover!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-original-stats{display:flex!important;gap:16px!important;padding-top:10px!important;margin-top:10px!important;border-top:1px solid #293144!important;color:#99a6ba!important;font-size:12px!important}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .repost-label{font-size:12px!important;line-height:18px!important;color:#99a6ba!important}
@media(max-width:480px){body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post .comment-form.comment-form-inline{margin-left:0!important;width:100%!important;max-width:100%!important}}
/* Repost: one sharing author, one source; actions belong to the outer post. */
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .is-repost .repost-caption{font-size:12px;line-height:18px;color:#aa92ca}
body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .is-repost .repost-content{border:0!important;border-left:3px solid #8060b8!important;border-radius:0 10px 10px 0!important;background:#ffffff03!important;padding:14px 16px!important;margin:16px var(--post-gutter)!important}
body .anihate-post .repost-source-link{display:inline-flex;align-items:center;margin-top:12px;padding:6px 0;color:#bda2ee;font-size:12px;line-height:18px;text-decoration:none}
body .anihate-post .repost-source-link:hover{text-decoration:underline;color:#d6c1ff}
body .anihate-post .repost-original-top .meta{min-width:0}
body .anihate-post .repost-original-name-row{flex-wrap:wrap}
@media(max-width:600px){body :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .is-repost .repost-content{padding:12px!important;margin:12px var(--post-gutter)!important}}

/* Touch targets must outrank the stream's ID-qualified compact desktop rules. */
@media(max-width:760px){
 html body .av-app .av-content :is(#feed,#feedCard,#posts,#likedPosts,#scheduledPosts,#postPage,.community-posts,.saved-list,.tag-list,#topicComments,#editComments) .anihate-post :is(.post-action,.comment-actions button){min-height:44px!important;min-width:44px!important}
 html body .av-app .av-content .composer.av-composer .post-tools>:is(.btn,label.btn),
 html body.av-page-profile .av-content #composerPanel .post-tools>:is(.btn,label.btn){width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important}
}

/* The live composer uses av-emoji-picker, not the retired emoji-picker component. */
html body .av-app .av-content .av-emoji-picker{position:absolute;left:0;bottom:52px;width:320px;max-width:calc(100vw - 72px);max-height:calc(100dvh - 160px);overflow-y:auto;padding:12px;border:1px solid var(--ui-line-strong);border-radius:14px;background:var(--ui-surface-raised);box-shadow:var(--av-shadow);z-index:3000;display:none;grid-template-columns:minmax(0,1fr);gap:10px}
html body .av-app .av-content .av-emoji-picker.open{display:grid}
html body .av-app .av-content .av-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr));max-height:230px}
html body .av-app .av-content .av-emoji-item{min-width:0;min-height:34px;aspect-ratio:1}
@media(max-width:520px){html body .av-app .av-content .av-emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Shared discussion controls: page CSS must not supply missing form defaults. */
.anihate-post .comments{font:400 14px/1.5 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e2e7f0}
.anihate-post :is(.comment-form,.comment-inline-editor) .btn{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border:1px solid #34415c!important;border-radius:10px!important;padding:9px 15px!important;background:#171c2d!important;color:#edf1f8!important;font:650 13px/20px Inter,system-ui,sans-serif!important;cursor:pointer!important;box-shadow:none!important;transform:none!important}
.anihate-post :is(.comment-form,.comment-inline-editor) .btn.primary{border-color:#9c66e933!important;background:linear-gradient(135deg,#7545d5,#9c66e9)!important;color:#fff!important}
.anihate-post :is(.comment-form,.comment-inline-editor) .btn:hover:not(:disabled){filter:brightness(1.1)}
.anihate-post .comment-avatar{background:#55349d;color:#fff;text-decoration:none}

/* Stage 135: explicit grid placement prevents the sidebar becoming a new row. */
@media(min-width:1201px){body.av-page-feed .feed-layout{align-items:start!important;min-width:0!important}body.av-page-feed .feed-layout> :not(.feed-right){min-width:0;max-width:100%;grid-column:1}body.av-page-feed .feed-layout>.feed-right{grid-column:2!important;grid-row:1!important;align-self:start!important;position:sticky!important;max-height:calc(100dvh - var(--ui-shell-height,64px) - 40px);overflow-y:auto;overscroll-behavior:contain;min-width:0!important}}
