.social-preview{height:calc(var(--social-viewport,100dvh)*.30);flex:0 0 auto;max-height:none;grid-template-rows:minmax(0,1fr)}.social-preview img,.social-preview video{width:100%;height:100%;min-height:0;max-height:calc(var(--social-viewport,100dvh)*.28);object-fit:contain}@media(min-width:700px){.social-preview{height:calc(var(--social-viewport,100dvh)*.23);flex:0 0 auto}.social-preview img,.social-preview video{max-height:calc(var(--social-viewport,100dvh)*.21)}}

.social-post-tools{display:flex;align-items:center;gap:15px;margin:3px 0 10px}.social-post-tools button,.social-likers,.social-sheet button{border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.social-post-tools button{padding:5px;display:grid;place-items:center}.social-post-tools .social-save{margin-left:auto}.social-post-tools button:active,.social-recipient:active{transform:scale(.92)}.is-liked{color:#ff426b!important}.social-likers{display:flex;align-items:center;gap:7px;text-align:left;font-size:12px;padding:3px 0;line-height:1.5}.social-avatar-stack{display:flex;flex:none;padding-left:5px}.social-avatar-stack:empty{display:none}.social-avatar-stack .avatar{width:21px;height:21px;min-width:21px;border:2px solid var(--bg);margin-left:-5px}.social-sheet-open{overflow:hidden}.social-overlay{position:fixed;inset:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:#0009;animation:social-backdrop-in .2s ease;height:var(--social-viewport,100dvh);font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--text)}.social-sheet{width:min(540px,100%);max-height:min(78%,800px);min-height:260px;display:flex;flex-direction:column;flex-shrink:1;min-width:0;border-radius:27px 27px 0 0;background:#171c20;border:1px solid #ffffff10;box-shadow:0 -12px 55px #0004;overflow:hidden;animation:social-sheet-in .32s cubic-bezier(.16,1,.3,1);padding-bottom:env(safe-area-inset-bottom,0px)}.social-sheet-head{height:46px;flex:none;display:flex;align-items:center;justify-content:center;position:relative}.social-sheet-head h2{font-size:15px;font-weight:650;margin:0}.social-sheet-head>button{position:absolute;right:12px;top:0;width:42px;height:42px;display:grid;place-items:center}.social-drag-handle{width:36px;height:4px;background:#adb2b6;border-radius:10px;margin:10px auto 1px;flex:none;opacity:.65}.social-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;padding:10px 16px 18px;scrollbar-width:none}.social-scroll::-webkit-scrollbar{display:none}.social-preview{min-height:0;flex:1;max-height:32%;padding:12px;display:grid;place-items:center;width:100%;overflow:hidden}.social-preview img,.social-preview video{max-width:100%;width:auto;height:100%;max-height:100%;object-fit:contain;border-radius:15px}.social-preview+.social-sheet{height:66%;max-height:78%}.social-footer{flex:none;border-top:1px solid #ffffff12;padding:12px 18px;display:grid;gap:10px;background:inherit}.social-footer>span{font-size:12px;color:var(--muted)}.social-sheet .social-primary{background:#5264ff;border:0;border-radius:14px;color:white;min-height:44px;font-weight:650;font-size:14px;transition:opacity .18s,transform .18s}.social-sheet button:disabled{opacity:.4;cursor:default}.social-search{padding:8px 16px 12px;display:grid;gap:10px;flex:none}.social-search label{display:flex;align-items:center;gap:9px;padding:0 12px;border-radius:30px;background:#ffffff0c;color:var(--muted)}.social-sheet input{font-size:14px;color:var(--text);outline:none;background:#ffffff0c;border:0;border-radius:15px;padding:12px;min-width:0;width:100%}.social-search label input{background:none;padding-left:0}.social-sheet input::placeholder{color:var(--muted)}.social-section-label{font-size:11px;font-weight:600;color:var(--muted);padding:0 18px 6px}.social-person{display:flex;align-items:center;gap:11px;width:100%;padding:10px 0;text-align:left;min-height:62px}.social-person .avatar{width:44px;height:44px;flex:0 0 44px}.social-person>span{display:grid;gap:2px;min-width:0}.social-person b{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis}.social-person small{font-size:11px;color:var(--muted)}.social-checkbox{margin-left:auto;border:1.5px solid #777;display:grid;place-items:center;border-radius:50%;width:24px;height:24px;flex:none}.social-checkbox svg{width:15px;height:15px}.social-person.selected .social-checkbox{background:#5264ff;border-color:#5264ff}.social-recipient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 8px;align-content:start;padding-top:15px}.social-recipient{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;font-size:12px;padding:0;transition:transform .16s}.social-recipient>span:last-of-type{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-recipient-avatar{position:relative;display:block;width:70px;height:70px}.social-recipient-avatar .avatar{width:100%;height:100%;object-fit:cover;border:2px solid transparent}.social-recipient.selected .avatar{border-color:#6775ff;padding:3px}.social-recipient small{font-size:10px;color:var(--muted);margin-top:-6px}.social-presence{position:absolute;bottom:3px;right:3px;width:13px;height:13px;background:#38d86d;border:2px solid #171c20;border-radius:50%}.social-recipient-check{position:absolute;right:0;bottom:0;width:23px;height:23px;background:#5264ff;border:2px solid #171c20;border-radius:50%;display:none;place-items:center}.social-recipient-check svg{width:14px;height:14px}.selected .social-recipient-check{display:grid}.social-copy{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;font-size:12px}.social-copy svg{width:18px;height:18px}.social-comment{display:flex;align-items:flex-start;gap:11px;margin:10px 0 21px;animation:social-comment-in .22s ease}.social-comment .avatar{width:33px;height:33px;flex:0 0 33px}.social-profile-link{padding:0;flex:none}.social-comment-copy{flex:1;min-width:0}.social-comment-copy b{font-size:12px;font-weight:650}.social-comment time{font-size:11px;color:var(--muted);margin-left:3px}.social-comment p{margin:3px 0 4px;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.social-comment-copy>button{padding:0;font-size:11px;color:var(--muted);font-weight:600;min-height:28px}.social-comment-like{display:grid;justify-items:center;gap:3px;flex:none;width:34px;min-height:38px;padding:2px}.social-comment-like svg{width:19px;height:19px}.social-comment-like small{font-size:10px;color:var(--muted)}.social-replies{margin-left:44px;margin-top:-13px}.social-replies summary{font-size:11px;color:var(--muted);padding:6px 0 15px;cursor:pointer}.social-comment-footer{flex:none;padding:0 14px 14px;background:inherit;border-top:1px solid #ffffff0a}.social-emoji-row{display:flex;justify-content:space-between;padding:5px 0 9px}.social-emoji-row button{font-size:23px;padding:5px 3px;min-height:42px}.social-comment-form{display:flex;align-items:center;gap:9px;min-width:0}.social-comment-form>.avatar{width:34px;height:34px;flex:0 0 34px}.social-comment-form input{border:1px solid #ffffff15;border-radius:25px;flex:1;font-size:12px;min-height:44px;background:none}.social-comment-send{color:#7190ff!important;display:grid;place-items:center;min-width:35px;min-height:42px}#socialReplyTo{font-size:11px;color:var(--muted);padding:5px 0 10px}#socialReplyTo button{float:right;font-size:17px}.social-empty{padding:25px 8px;color:var(--muted);text-align:center;grid-column:1/-1}.social-skeleton{height:54px;border-radius:14px;background:linear-gradient(100deg,#ffffff06 30%,#ffffff12 50%,#ffffff06 70%);background-size:200% 100%;animation:social-shimmer 1.5s linear infinite;margin:10px 0}.social-overlay.is-closing{pointer-events:none;opacity:0;transition:opacity .2s}.social-overlay.is-closing .social-sheet{transform:translateY(35px);transition:transform .2s}.theme-light .social-sheet{background:#fff;color:#131313}.theme-light .social-sheet input,.theme-light .social-search label{background:#f0f1f3}.theme-light .social-comment-form input{border-color:#ddd;background:none}.theme-light .social-footer,.theme-light .social-comment-footer{border-color:#eee}.theme-light .social-skeleton{background:#eee}.theme-light .social-search label input{background:none}.theme-light .social-comment-like small{color:#737373}@media(min-width:700px){.social-overlay{padding:24px;justify-content:center}.social-sheet{border-radius:25px;max-height:76%;width:500px}.social-preview{flex:0 1 24%;max-height:24%;padding:0 0 14px}.social-preview+.social-sheet{height:66%}}@media(max-height:540px){.social-preview{display:none}.social-sheet,.social-preview+.social-sheet{max-height:98%;height:98%}.social-emoji-row{display:none}}@keyframes social-sheet-in{from{transform:translateY(70px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes social-backdrop-in{from{background:#0000}to{background:#0009}}@keyframes social-comment-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes social-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.social-overlay,.social-sheet,.social-comment,.social-skeleton{animation:none!important}.social-sheet button{transition:none!important}}

/* Accessible carousel pagination follows the horizontal media viewport. */
.post-pagination{display:flex;justify-content:center;gap:0;min-height:30px;padding:2px 12px;flex-wrap:wrap}.post-pagination button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:none;touch-action:manipulation}.post-pagination button span{width:5px;height:5px;border-radius:50%;background:var(--muted,#8b8f99);opacity:.45;transition:transform .18s ease,opacity .18s ease,background .18s ease}.post-pagination button[aria-current=true] span{background:var(--accent,#99aaff);opacity:1;transform:scale(1.35)}.post-pagination button:focus-visible{outline:2px solid var(--accent,#99aaff);border-radius:50%}@media(prefers-reduced-motion:reduce){.post-pagination button span{transition:none}}
