/* Server data in the supplied template components. */
.feed-media .live-media{margin:0;border-radius:0;max-height:none;width:100%;display:block}
.feed-media audio{padding:16px}
.feed-copy,.post-copy{white-space:pre-wrap;overflow-wrap:anywhere}
.feed-copy.is-collapsed{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.post-read-more{color:#777090;font-size:14px;margin:0 0 12px}
.feed-hub-link{min-width:0;flex:1}
.feed-views img,.post-views img{width:16px;height:12px}
.feed-stack .post{cursor:default}
.feed-stack .post-media{margin:0}
.feed-stack .post-media .live-media{margin:0;max-height:380px;border-radius:0}
.feed-stack .live-empty{margin:0;padding:32px 20px 12px}
.feed-stack .live-row-link{text-align:center;padding-bottom:28px}
.profile-moments>.profile-empty,.profile-moments>.live-empty{grid-column:1/-1}
.profile-wall-text p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.hub-entry{display:flex;align-items:center;gap:4px;min-width:0}
.hub-entry>.hub-list-row{flex:1;min-width:0}
.hub-entry .live-close{padding:8px}
.hub-hero>h1{overflow-wrap:anywhere}
.hub-hero .owner-actions img{width:22px;height:22px}
.hub-avatar{object-fit:cover}
.device-card{padding:16px;overflow-wrap:anywhere;font-size:13px}
.device-card .settings-save{display:block;margin-top:12px}
.settings-form input{box-sizing:border-box}
.settings-empty{margin:0}
.comment-is-reply{margin-left:32px}
.comment-like{font-size:24px;color:#8e7aa9}
.comment-like[aria-pressed=true]{color:#9652ed}
.section-chevron{font-size:16px;color:#85858f;margin-left:5px}
.header-action img{object-fit:contain}
.cv-attachments .live-media{width:auto;max-width:130px;max-height:90px;margin:0}
.cv-attachments{display:flex;align-items:center;gap:12px;padding:8px 14px}
.cv-reply-bar p{margin:2px 0;max-height:36px;overflow:hidden}
.cv-picker-items{overflow:auto;max-height:230px}
.cv-picker-items button{font-size:26px;background:none;border:0;padding:8px}
.cv-picker-items .cv-sticker{width:90px;height:90px}
.cv-meta .message-status img{width:16px;height:16px}
.cv-overlay .cv-menu-items{max-height:48dvh;overflow:auto}
.cv-overlay .cv-menu-items button{width:100%;text-align:left}
.live-load-error{margin:16px;padding:20px;background:#fff;border-radius:18px;text-align:center}
.live-load-error p{margin:0 0 12px}
.post-actions button:disabled{opacity:.5}
.profile-info-row>span small{display:block}
.post-context[open]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}
#wall-preview .live-media{max-width:100%;max-height:180px;margin:0}

/* Profile card meets the bottom navigation with the same 10px gap as the header. */
body.profile-page{display:flex;flex-direction:column;min-height:100dvh}
.profile-page>.site-header{flex:none}
.profile-page>.profile-shell{width:100%;flex:1 0 auto;margin:10px auto 0}
.profile-page>footer[data-tabbar]{position:sticky;left:auto;bottom:0;transform:none;flex:none;margin:0 auto;padding-top:10px}
.profile-action:disabled{opacity:.5}
/* A conversation is a page panel, not a modal covering the site header. */
#conversation:focus,#conversation:focus-visible{outline:0}
body.conversation-open #conversation{top:calc(62px + env(safe-area-inset-top) + 10px);bottom:10px}
@media(max-width:599px){body.conversation-open #conversation{top:calc(48px + env(safe-area-inset-top) + 10px);bottom:0}}
.feed-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px 22px;text-align:center}
.feed-empty-art{display:block;flex:none;width:112px;height:112px;object-fit:contain;margin:0 0 8px}
.feed-empty .live-empty,.feed-stack .feed-empty .live-empty{padding:0;margin:0;color:#8d8498;font-size:15px;line-height:22px}
.feed-empty .live-row-link,.feed-stack .feed-empty .live-row-link{padding:12px 0 0;font-size:14px;line-height:20px}

/* Original three-pill swipe actions in both directories. */
.chat-swipe-row>.chat-row img{pointer-events:none;-webkit-user-drag:none}
.chat-swipe-row>.chat-row{min-height:94px}
.hub-swipe-row>.hub-list-row{min-height:88px}
.chat-swipe-action:disabled,.hub-swipe-action:disabled{opacity:.55}
.chat-muted-mark{width:14px;height:14px;filter:brightness(0);opacity:.35;flex:none}

.live-notices-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 16px;gap:18px;color:#91899f;text-align:center}.live-notices-empty img{width:112px;height:112px;object-fit:contain}.live-notices-empty p{margin:0;font-size:16px}.pwa-settings{padding:18px;display:flex;flex-wrap:wrap;gap:12px}.pwa-settings .settings-note{flex-basis:100%;margin:0}.story-dialog{outline:none}.story-dialog .story-person-name{color:#fff}.story-dialog .story-publish{background:#fff;color:#151519}.story-add-badge{color:white;font-size:22px;line-height:1}.story-moment-tile{padding:0;border:0;background:none;overflow:hidden;border-radius:12px}.story-moment-tile img{width:100%;height:100%;object-fit:cover}.story-dialog .live-toast{z-index:100}.story-editor-card .story-sticker:focus-visible{outline:2px solid white}


/* Loading occupies list rows; empty illustrations appear only after a successful response. */
.list-loading{width:100%;padding:4px 0;box-sizing:border-box}.list-skeleton-row{display:flex;align-items:center;gap:14px;min-height:88px;padding:12px 0;box-sizing:border-box}.list-skeleton-avatar{display:block;flex:0 0 54px;height:54px;border-radius:50%;background:#efedf5}.list-skeleton-lines{display:grid;gap:12px;flex:1;min-width:0}.list-skeleton-lines i{display:block;height:12px;width:68%;border-radius:8px;background:#efedf5}.list-skeleton-lines i+i{width:90%;height:10px;background:#f4f2f8}.list-load-error{padding:24px 12px;text-align:center;color:#8d8498}.list-load-error p{margin:0 0 14px}@media(max-width:599px){.list-skeleton-row{min-height:76px;gap:12px}.list-skeleton-avatar{flex-basis:46px;height:46px}}
