.lasting-posts{width:min(100%,680px);margin:0 auto 28px}.posts-compose,.lasting-post{background:var(--surface,#fff);border:1px solid #d8e3dd;border-radius:20px;margin:0 0 18px;box-shadow:0 8px 28px #163b2b08;overflow:hidden}.posts-compose{padding:18px}.posts-compose>div{display:flex;align-items:center;gap:12px}.posts-compose>div button{flex:1;border:0;border-radius:24px;background:#eef4f0;color:#536b5d;text-align:left;padding:16px;font:inherit}.posts-compose>small{display:block;color:#697c70;margin:12px 0}.posts-compose>.primary{border-radius:18px}.posts-search{display:flex;gap:8px;margin:12px 0}.posts-search input{flex:1;min-width:0;border-radius:16px;padding:12px;border:1px solid #d8e3dd}.posts-search button{width:44px;border:0;border-radius:14px;background:#e8f0eb}.posts-filters{display:flex;gap:8px;margin:16px 0}.posts-filters button{padding:10px 17px;border-radius:22px;border:1px solid #d4e1d8;background:transparent;color:inherit}.posts-filters .selected,.lasting-post-actions .selected{background:#e3f1e9;color:#17633d}.lasting-post-head{display:flex;align-items:center;gap:10px;padding:16px;margin:0!important;position:static!important}.lasting-post-head .avatar{width:42px;height:42px;flex:0 0 42px}.lasting-post-head>div{flex:1;min-width:0}.lasting-post-head small{display:block;font-size:11px;color:#718177;margin:3px 0}.posts-audience{font-size:10px;border-radius:8px;background:#edf3ef;padding:2px 7px;color:#476454}.posts-options{border:0;background:transparent;font-size:25px;width:40px;height:40px}.lasting-post>h3,.lasting-post>.note{margin:8px 18px}.lasting-post-text{padding:0 18px 12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.lasting-post-text p{margin:3px 0}.lasting-post-text summary{cursor:pointer;color:#246448;font-weight:600}.lasting-post .media-slot{width:100%;height:auto!important;min-height:220px;aspect-ratio:4/3;background:#edf2ee;position:relative}.lasting-post .media-slot img,.lasting-post .media-slot video{width:100%;height:100%;object-fit:contain;max-height:75vh}.posts-counts{display:flex;justify-content:space-between;font-size:11px;color:#64776a;padding:12px 16px}.lasting-post-actions{display:flex;border-top:1px solid #e1e9e4;padding:5px 8px;gap:3px}.lasting-post-actions button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:inherit;font-size:12px}.lasting-post-actions svg,.posts-private svg,.posts-search svg{width:19px;height:19px}.posts-private{display:flex;align-items:center;gap:6px;border:0;background:transparent;font-size:11px;padding:9px 16px;color:#60796a}.posts-review{margin:8px 16px;padding:10px;background:#fff3d7;border-radius:10px;font-size:12px}.posts-more{display:block;margin:16px auto;padding:12px 22px;border-radius:20px}.posts-compose .avatar{width:42px;height:42px}
@media(max-width:900px){body.signed-in-mobile>.mobile-bar{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important}body.signed-in-mobile>.mobile-bar button{min-width:0!important;padding:5px 1px!important;font-size:9px!important}body.signed-in-mobile>.mobile-bar button span{font-size:9px!important;line-height:12px!important}body.signed-in-mobile>.mobile-bar button svg{width:21px;height:21px}body.signed-in-mobile>.mobile-bar{min-height:60px!important}.lasting-posts{max-width:680px}.lasting-post{border-radius:16px}.posts-compose{padding:14px}}

/* Compact media-first cards; expand is an overlay, never a layout column. */
.lasting-posts{max-width:620px}.lasting-post{margin:0 auto 16px;width:100%;box-sizing:border-box}
.lasting-post .media-slot{display:block!important;aspect-ratio:auto;min-height:180px;background:var(--surface,#fff);overflow:hidden;padding:0}
.lasting-post .media-slot.post-media-ready{min-height:0}
.lasting-post .media-slot>img,.lasting-post .media-slot>video{display:block!important;width:100%!important;height:auto!important;max-height:calc(100dvh - 220px);object-fit:contain;margin:0!important;border-radius:0}
.lasting-post .media-slot>.video-fullscreen{position:absolute!important;top:10px!important;right:10px!important;bottom:auto!important;left:auto!important;margin:0!important;z-index:6;display:flex!important;width:40px;height:40px;min-height:40px;background:#13241de8;color:white;border:1px solid #ffffffa0;box-shadow:0 2px 9px #0004}
.lasting-post-head{padding:11px 13px}.lasting-post-head .avatar{width:34px;height:34px;flex-basis:34px}.posts-counts{padding:8px 12px}.lasting-post-actions{gap:5px;padding:6px 8px;flex-wrap:wrap}
.lasting-post-actions button{min-height:44px;min-width:58px;padding:8px 4px;background:var(--surface,#fff);border:1px solid var(--line,#cbd8cf);font-size:12px;font-weight:650;color:var(--ink,#243d30);cursor:pointer}
.lasting-post-actions button.selected{background:var(--green,#235f46);color:#fff;border-color:var(--green,#235f46)}
.lasting-post-actions button:hover,.posts-option-list button:hover{box-shadow:0 0 0 2px var(--line,#cbd8cf)}
.posts-private{min-height:40px;font-size:12px;color:var(--ink,#243d30)}
.posts-option-list{display:grid;grid-template-columns:1fr;gap:10px;margin-top:12px}
.posts-option-list button{width:100%;min-height:50px;display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid var(--line,#cfdbd2);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#243d30);text-align:left;font:600 15px system-ui;cursor:pointer}
.posts-option-list button svg{width:22px;height:22px;flex:none}.posts-option-list button.delete{color:#a52c39;background:#fff4f4;border-color:#e6bec4}
.posts-option-list button:focus-visible,.lasting-post-actions button:focus-visible{outline:3px solid var(--green,#24664a);outline-offset:2px}
@media(max-width:480px){.lasting-post-actions button{font-size:11px;gap:4px}.lasting-post-actions svg{width:17px;height:17px}.lasting-post{border-radius:14px}.posts-compose{padding:12px}.lasting-post-text{padding:0 12px 10px;line-height:1.5}}

/* Author identity and follow action share a compact, accessible row. */
.lasting-post-author-row{display:flex;align-items:center;gap:8px;min-width:0}
.lasting-post-author-row>.profile-name-link{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.lasting-post-author-row>[data-follow-user]{flex:0 0 auto;min-height:44px;padding:6px 10px;margin:0;border:1px solid var(--line,#cbd8cf);border-radius:999px;background:var(--surface,#fff);color:var(--green,#235f46);font:600 12px system-ui;white-space:nowrap;cursor:pointer}
.lasting-post-author-row>[data-follow-user].on{background:var(--green,#235f46);border-color:var(--green,#235f46);color:#fff}
.lasting-post-author-row>[data-follow-user]:focus-visible{outline:3px solid var(--green,#235f46);outline-offset:2px}
.lasting-post-head small{overflow-wrap:anywhere}

/* Keep every Post card full width; fit the media inside the available viewport. */
.lasting-post{max-width:100%;min-width:0}
.lasting-post-head{height:auto!important;min-height:76px;flex-wrap:nowrap;overflow:visible}
.lasting-post-head>.posts-options{flex:0 0 32px;width:32px;padding:0}
.lasting-post-head .profile-avatar-link{flex:0 0 34px}
.lasting-post .media-slot,.lasting-post .media-slot[data-feed-video]{height:var(--post-media-height,48svh)!important;min-height:0!important;aspect-ratio:auto!important}
.lasting-post .media-slot>img,.lasting-post .media-slot>video,.lasting-post .media-slot[data-feed-video]>video{height:100%!important;max-height:100%!important;min-height:0!important;width:100%!important;object-fit:contain!important}
.lasting-post-author-row{flex-wrap:wrap;row-gap:2px}
.lasting-post-author-row>[data-follow-user]{min-height:32px;padding:4px 8px;font-size:11px}
.lasting-post-head small{margin:2px 0;line-height:1.35}
.posts-counts{gap:8px;flex-wrap:wrap}
