/* Timeline refresh — a warmer, clearer social feed. */

.timeline-feed-page{max-width:1240px;margin:0 auto;padding-top:18px}
.timeline-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:26px 28px!important;margin-bottom:15px;border-radius:24px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,var(--surface)),var(--surface) 58%,color-mix(in srgb,var(--accent) 5%,var(--surface)))!important;border-color:color-mix(in srgb,var(--accent) 16%,var(--line))!important}
.timeline-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;top:-120px;background:color-mix(in srgb,var(--accent) 9%,transparent);pointer-events:none}
.timeline-hero-copy{position:relative;z-index:1;min-width:0}
.timeline-hero h1{font-size:clamp(32px,4vw,46px);line-height:1.04;letter-spacing:-1.8px;margin:7px 0 9px;font-weight:600}
.timeline-hero p{max-width:570px;font-size:12.5px;line-height:1.75;color:var(--muted);margin:0}
.timeline-hero-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:15px}
.timeline-hero-stats span{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--surface) 75%,transparent);font-size:9.5px;color:var(--muted)}
.timeline-hero-stats strong{font-size:11px;color:var(--ink)}
.timeline-hero-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;position:relative;z-index:1;flex-shrink:0}
.timeline-feed-tabs{display:flex;align-items:center;gap:5px;margin:0 0 15px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 16px color-mix(in srgb,var(--ink) 3%,transparent);overflow-x:auto;scrollbar-width:none}
.timeline-feed-tabs::-webkit-scrollbar{display:none}
.timeline-feed-tabs a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 12px;border-radius:9px;font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap;transition:background .16s,color .16s}
.timeline-feed-tabs a:hover{background:var(--canvas);color:var(--ink)}
.timeline-feed-tabs a.active{background:var(--lavender);color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 16%,var(--line))}
.timeline-feed-tabs .icon{width:14px;height:14px}
.timeline-feed-tabs .timeline-tab-action{margin-left:auto;border-left:1px solid var(--line);border-radius:0 9px 9px 0;padding-left:13px}
.timeline-feed-layout{grid-template-columns:minmax(0,700px) minmax(250px,310px);gap:22px}
.timeline-story-shell{margin-bottom:14px}
.timeline-story-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 2px 9px}
.timeline-story-heading h2{font-size:18px;letter-spacing:-.4px;margin:3px 0 0}
.timeline-story-heading>a{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;color:var(--accent);min-height:32px}
.timeline-story-heading .icon{width:13px;height:13px}
.timeline-story-strip{gap:9px;padding:2px 2px 8px}
.timeline-story-card{flex:0 0 104px;width:104px;height:164px;border-radius:15px}
.timeline-story-card .timeline-story-avatar{width:30px;height:30px;top:8px;left:8px;border-width:2px}
.timeline-story-card>strong{bottom:9px;left:8px;right:6px;font-size:10.5px}
.timeline-create-story{background:linear-gradient(155deg,var(--lavender),var(--surface));border-color:color-mix(in srgb,var(--accent) 20%,var(--line))}
.timeline-create-story>img{height:112px;opacity:.85}
.story-create-plus{position:absolute;left:50%;top:63%;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;border:2px solid var(--surface);z-index:2}
.story-create-plus .icon{width:13px;height:13px}
.timeline-create-story>strong{bottom:9px}
.timeline-stories-empty{min-height:164px;min-width:220px;flex:1;display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:15px;background:var(--surface)}
.timeline-stories-empty>.icon{width:27px;height:27px;color:var(--accent);flex:0 0 27px}
.timeline-stories-empty>div{min-width:0}
.timeline-stories-empty strong{font-size:11px}
.timeline-stories-empty p{font-size:10px;line-height:1.55;margin:3px 0 0}
.timeline-stories-empty>a{font-size:10px;font-weight:700;color:var(--accent);white-space:nowrap;display:inline-flex;align-items:center;gap:4px;margin-left:auto}
.timeline-stories-empty .icon{width:12px;height:12px}
.timeline-quick-compose.panel{padding:13px 15px!important;border-radius:17px!important;margin-bottom:14px!important;border-color:var(--line)!important;background:var(--surface)!important}
.timeline-composer-head{display:flex;align-items:center;gap:9px}
.timeline-composer-head img{width:38px;height:38px;border-radius:13px;object-fit:cover;flex:0 0 38px}
.timeline-composer-head>button{flex:1;min-width:0;min-height:42px;border-radius:13px;padding:10px 13px;text-align:left;background:var(--canvas);border:1px solid var(--line);color:var(--muted);font-size:11.5px;transition:border-color .16s,background .16s}
.timeline-composer-head>button:hover{border-color:color-mix(in srgb,var(--accent) 28%,var(--line));background:var(--lavender);color:var(--accent)}
.timeline-compose-vibe{font-size:8px;text-transform:uppercase;letter-spacing:1px;font-weight:800;color:var(--dim);white-space:nowrap}
.timeline-quick-compose footer{margin-top:9px;padding-top:8px;justify-content:flex-start;gap:6px}
.timeline-quick-compose footer>button,.timeline-quick-compose footer>a{flex:0 1 auto;min-height:38px;padding:7px 12px;font-size:11.5px;font-weight:600;border-radius:10px;gap:8px;transition:transform .18s cubic-bezier(0.34, 1.56, 0.64, 1), background .18s, color .18s}
.timeline-quick-compose footer>button:hover,.timeline-quick-compose footer>a:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent)}
.timeline-quick-compose footer .icon{width:19px;height:19px;vertical-align:middle;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.12))}
.timeline-quick-compose footer>button:hover .icon,.timeline-quick-compose footer>a:hover .icon{transform:scale(1.15)}
.timeline-feed-page .feed-post{padding:17px 18px!important;margin-bottom:13px!important;border-radius:19px!important;box-shadow:0 3px 20px color-mix(in srgb,var(--ink) 4%,transparent)!important;border-color:var(--line)!important;transition:border-color .18s,box-shadow .18s}
.timeline-feed-page .feed-post:hover{border-color:color-mix(in srgb,var(--accent) 14%,var(--line))!important;box-shadow:0 8px 28px color-mix(in srgb,var(--ink) 6%,transparent)!important}
.timeline-feed-page .post-author{gap:9px;align-items:flex-start}
.timeline-feed-page .post-author>a>img{width:38px;height:38px;border-radius:12px;object-fit:cover}
.timeline-feed-page .post-author strong{font-size:12px}
.timeline-feed-page .post-author small{font-size:9.5px;color:var(--muted);margin-top:2px}
.post-visibility-dot{opacity:.6;margin:0 1px}
.timeline-feed-page .post-body{font-size:14px;line-height:1.72;margin:13px 0 14px;color:var(--ink);overflow-wrap:anywhere}
.post-image-button{display:block;width:100%;padding:0;margin:0;border:0;border-radius:14px;overflow:hidden;background:var(--canvas);cursor:zoom-in}
.timeline-feed-page .post-image{width:100%;max-height:580px;object-fit:cover;border-radius:14px;display:block;transition:transform .3s}
.post-image-button:hover .post-image{transform:scale(1.012)}
.timeline-feed-page .post-interactions{padding:9px 0 7px;margin-top:2px;gap:3px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap}
.timeline-feed-page .post-interactions form{margin:0}
.timeline-feed-page .post-interactions .btn,.timeline-feed-page .post-comment-focus,.timeline-feed-page .post-share{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 9px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:600;cursor:pointer;transition:background .16s,color .16s}
.timeline-feed-page .post-interactions .btn:hover,.timeline-feed-page .post-comment-focus:hover,.timeline-feed-page .post-share:hover{background:var(--canvas);color:var(--accent)}
.timeline-feed-page .post-interactions .btn.btn-primary{color:var(--surface);background:var(--accent);border:1px solid var(--accent)}
.timeline-feed-page .post-interactions .icon{width:15px;height:15px}
.post-share-status{flex-basis:100%;font-size:9px;line-height:1.4;color:var(--accent);min-height:0}
.post-comments{margin-top:4px}
.timeline-feed-page .post-comments>div{padding:7px 10px;margin-top:5px;background:var(--canvas);border-radius:9px}
.timeline-feed-page .post-comments p{font-size:11px;line-height:1.55;margin-top:2px}
.timeline-feed-page .comment-compose{margin-top:8px;gap:6px}
.timeline-feed-page .comment-compose input{min-height:38px;font-size:11.5px;padding:9px 12px;background:var(--canvas)}
.timeline-feed-page .comment-compose .icon-button{width:34px;height:34px;flex:0 0 34px}
.timeline-feed-page .post-comments-expand{font-size:10px;min-height:28px;padding:5px 0}
.post-options>summary{width:30px;height:30px}
.timeline-feed-empty{padding:44px 22px!important;text-align:center;border-radius:19px!important}
.timeline-feed-empty .icon{width:34px;height:34px;color:var(--accent);margin-bottom:8px}
.timeline-feed-empty h2{font-size:22px;margin-bottom:6px}
.timeline-feed-empty p{font-size:11.5px;max-width:380px;margin:0 auto 14px;line-height:1.7}
.timeline-right-rail{position:sticky;top:88px;align-self:start}
.timeline-rail-card{padding:16px!important;border-radius:17px!important;margin-bottom:12px!important}
.timeline-rail-card .eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:3px}
.timeline-rail-card h2{font-size:17px;letter-spacing:-.3px}
.timeline-rail-card .section-heading{margin-bottom:7px}
.timeline-rail-card .section-heading .icon{width:15px;height:15px;color:var(--accent)}
.timeline-rail-note{font-size:9px!important;line-height:1.6!important;color:var(--dim)!important;margin:9px 0 0!important}
.timeline-trending-tags{display:flex;flex-wrap:wrap;gap:5px}
.timeline-trending-tags a{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--canvas);font-size:10px;font-weight:700;color:var(--accent)}
.timeline-trending-tags a:hover{border-color:var(--accent);background:var(--lavender)}
.timeline-trending-tags small{font-size:8px;font-weight:600;color:var(--muted)}
.timeline-person-row{padding:7px 0!important}
.timeline-person-row img{width:32px;height:32px;border-radius:10px}
.timeline-person-row .match-score{font-size:8px}
.timeline-room-shortcut{padding:7px 0}
.timeline-room-shortcut>span{width:32px;height:32px;flex-basis:32px}
.timeline-rail-guidelines ul{margin:5px 0 9px;padding-left:15px;font-size:10px;line-height:1.75;color:var(--muted)}
.timeline-rail-guidelines li{margin-bottom:3px}
.timeline-rail-guidelines .header-inline-link{font-size:10px}
.post-lightbox{width:min(960px,calc(100vw - 26px));max-height:calc(100dvh - 30px);padding:0;border:0;border-radius:18px;background:#0b0f16;overflow:hidden}
.post-lightbox::backdrop{background:#05070bd9;backdrop-filter:blur(5px)}
.post-lightbox img{display:block;width:100%;max-height:calc(100dvh - 30px);object-fit:contain}
.post-lightbox-close{position:absolute;right:10px;top:10px;z-index:2;background:#0b0f16cc;color:#fff;width:36px;height:36px}
@media(max-width:1100px){.timeline-feed-layout{grid-template-columns:minmax(0,700px)}.timeline-right-rail{display:none}.timeline-feed-page{max-width:760px}}
@media(max-width:760px){
    .timeline-feed-page{padding-top:8px}
    .timeline-hero{padding:20px!important;flex-direction:column;align-items:flex-start;gap:14px}
    .timeline-hero h1{font-size:34px}
    .timeline-hero p{font-size:11.5px}
    .timeline-hero-actions{width:100%}
    .timeline-hero-actions .btn{flex:1;justify-content:center;font-size:10px}
    .timeline-hero-stats{margin-top:11px}
    .timeline-feed-tabs{padding:4px;margin-bottom:12px}
    .timeline-feed-tabs a{font-size:10px;padding:6px 9px}
    .timeline-feed-tabs .timeline-tab-action{display:none}
    .timeline-feed-page .feed-post{padding:13px!important;border-radius:16px!important;margin-bottom:10px!important}
    .timeline-story-card{flex-basis:96px;width:96px;height:150px}
    .timeline-create-story>img{height:101px}
    .timeline-compose-vibe{display:none}
    .timeline-quick-compose footer>a:last-child{display:none}
    .timeline-quick-compose footer>button,.timeline-quick-compose footer>a{font-size:9.5px;padding:6px 7px}
}
@media(prefers-reduced-motion:reduce){.feed-post,.post-image,.timeline-story-card{transition:none}}

.timeline-feed-page .post-author>a{display:block;flex:0 0 38px;width:38px;height:38px;border-radius:12px;overflow:hidden}
.timeline-feed-page .post-author>a>img{display:block;width:38px!important;height:38px!important;border-radius:12px;object-fit:cover}
/* Facebook-style comments: photo, rounded bubble, then "Like · ♥ n · time". Display is left alone so "View more comments" still works. */
.post-comments>div.post-comment,.timeline-feed-page .post-comments>div.post-comment{position:relative;padding:0 0 0 42px;background:none;border-radius:0;margin-top:10px;min-height:34px}
.post-comment-avatar{position:absolute;left:0;top:0;width:32px;height:32px}
.post-comment-avatar img{width:32px;height:32px;border-radius:50%;object-fit:cover;display:block}
.post-comment-bubble{display:inline-block;max-width:100%;padding:8px 12px;background:var(--canvas);border-radius:16px}
.post-comment-bubble a{color:inherit;text-decoration:none}
.post-comment-bubble p{margin-top:2px}
.post-comment-meta{display:flex;align-items:center;gap:12px;padding:2px 12px 0;font-size:11px;color:var(--muted)}
.post-comment-like{background:none;border:0;padding:4px 0;min-height:28px;font:inherit;font-weight:700;color:var(--muted);cursor:pointer;transition:color .15s}
.post-comment-like:hover{color:var(--ink)}
.post-comment-like.is-liked{color:var(--accent)}
.post-comment-likes{display:inline-flex;align-items:center;gap:3px}
.post-comment-likes svg{width:12px;height:12px;color:var(--accent);fill:currentColor}
.post-comment-likes[hidden]{display:none}
/* Comment stickers, emoji and sticker palette (comment-extras.js) */
.post-comment-sticker{display:block;width:96px;height:96px;object-fit:contain;margin-top:4px}
.comment-compose .comment-extra{flex:0 0 auto;color:var(--muted);transition:color .15s}
.comment-compose .comment-extra:hover,.comment-compose .comment-extra[aria-expanded=true]{color:var(--accent)}
.comment-palette{margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 12px 30px #0002}
.comment-palette-emoji{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.comment-palette-emoji button{min-height:38px;border:0;border-radius:10px;background:none;font-size:20px;cursor:pointer;transition:background .15s}
.comment-palette-emoji button:hover{background:var(--canvas)}
.comment-palette-search{width:100%;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--canvas);color:var(--ink);font:inherit;margin-bottom:8px}
.comment-palette-stickers{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px;max-height:240px;overflow:auto}
.comment-palette-sticker{aspect-ratio:1;border:1px solid var(--line);border-radius:12px;background:var(--canvas);cursor:pointer;padding:4px;transition:transform .15s,border-color .15s}
.comment-palette-sticker:hover{transform:scale(1.05);border-color:var(--accent)}
.comment-palette-sticker img{width:100%;height:100%;object-fit:contain}

/* Vibe feed: why-you're-seeing-this chips, clickable #tags, rooms popping right now */
.post-vibe{display:inline-flex;align-items:center;gap:4px;margin-top:4px;padding:2px 9px 2px 7px;border-radius:999px;font-size:11.5px;font-weight:700;line-height:1.6;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);width:fit-content}
.post-vibe .icon{width:13px;height:13px}
.post-vibe.is-trend{background:linear-gradient(120deg,color-mix(in srgb,#E8682A 18%,transparent),color-mix(in srgb,#F59E0B 18%,transparent));color:#C2410C}
.post-vibe.is-pin{background:color-mix(in srgb,#0EA5E9 14%,transparent);color:#0369A1}
.post-vibe.is-sparkles{background:color-mix(in srgb,#8B5CF6 14%,transparent);color:#6D28D9}
.post-vibe.is-heart{background:color-mix(in srgb,#F43F5E 12%,transparent);color:#BE123C}
html.dark .post-vibe.is-trend{color:#FDBA74}html.dark .post-vibe.is-pin{color:#7DD3FC}html.dark .post-vibe.is-sparkles{color:#C4B5FD}html.dark .post-vibe.is-heart{color:#FDA4AF}
.post-author>div{display:flex;flex-direction:column;align-items:flex-start}
.post-hashtag{color:var(--accent);font-weight:600;text-decoration:none}
.post-hashtag:hover{text-decoration:underline}
.popping-room{display:grid;gap:2px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}
.popping-room+.popping-room{margin-top:8px}
.popping-room:hover{border-color:var(--accent);transform:translateY(-1px)}
.popping-room strong{font-size:14px}.popping-room small{color:var(--muted);font-size:12px}
.popping-rooms-strip{margin:0 0 20px}
.popping-rooms-row{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x mandatory}
.popping-rooms-row .popping-room{position:relative;flex:0 0 min(240px,78vw);margin:0;padding-left:28px;scroll-snap-align:start}
.popping-live-dot{position:absolute;left:12px;top:15px;width:8px;height:8px;border-radius:50%;background:#10B981;box-shadow:0 0 0 0 #10B98180;animation:poppingLive 1.6s infinite}
@keyframes poppingLive{70%{box-shadow:0 0 0 7px #10B98100}100%{box-shadow:0 0 0 0 #10B98100}}
@media(prefers-reduced-motion:reduce){.popping-live-dot{animation:none}.popping-room{transition:none}}

/* Post reactions, save, replies, composer helpers, post page */
.post-react{position:relative;display:inline-flex}
.post-react-mine{font-size:16px;line-height:1}
.post-react{align-items:center;gap:6px}.post-react-top{font-size:14px;letter-spacing:-3px;padding-right:3px}
.post-react-top:empty{display:none}
.post-react-picker{position:absolute;bottom:calc(100% + 6px);left:0;z-index:5;display:flex;gap:2px;padding:4px 6px;border-radius:999px;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 28px #0003;opacity:0;visibility:hidden;transform:translateY(6px) scale(.95);transition:opacity .15s,transform .15s,visibility .15s}
.post-react-picker button{width:38px;height:38px;border:0;border-radius:50%;background:transparent;font-size:22px;cursor:pointer;transition:transform .15s}
.post-react-picker button:hover,.post-react-picker button:focus-visible{transform:scale(1.3) translateY(-3px)}
@media(hover:hover){.post-react:hover .post-react-picker,.post-react:focus-within .post-react-picker{opacity:1;visibility:visible;transform:none;transition-delay:.25s}}
.post-react.is-picking .post-react-picker{opacity:1;visibility:visible;transform:none}
.post-save{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:6px 8px;border-radius:8px;transition:background .15s,color .15s}
.post-save:hover{background:var(--canvas);color:var(--ink)}
.post-save.is-saved{color:var(--accent)}.post-save.is-saved path{fill:currentColor}
.post-comment.is-reply{margin-left:40px}
.post-comment.is-reply .post-comment-avatar img{width:24px;height:24px}
.post-comment-reply{border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:0}
.post-comment-reply:hover{color:var(--accent)}
.comment-reply-chip{flex-basis:100%;order:-1;justify-self:start;width:fit-content;margin-bottom:4px;padding:3px 10px;border-radius:999px;border:1px solid var(--line);background:var(--canvas);color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
.comment-compose:has(.comment-reply-chip){flex-wrap:wrap}
.composer-helpers{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.composer-tag-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.composer-tag-chips button{flex:none;padding:4px 10px;border-radius:999px;border:1px solid var(--line);background:var(--canvas);color:var(--accent);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .15s}
.composer-tag-chips button:hover{border-color:var(--accent)}
.composer-count{flex:none;font-size:11.5px;color:var(--muted)}.composer-count.is-near{color:#C2410C;font-weight:700}
.composer-draft-note{margin:4px 0 0;font-size:12px;color:var(--muted)}
.post-comment-sort{display:flex;align-items:center;gap:6px;margin-top:14px;font-size:13px}
.post-comment-sort span{font-weight:700;margin-right:auto}
.post-comment-sort a{padding:5px 12px;border-radius:999px;border:1px solid var(--line);color:var(--muted);text-decoration:none;transition:all .15s}
.post-comment-sort a.active{background:var(--accent);border-color:var(--accent);color:#fff}
.post-related{margin:24px 0}
.post-related h2{font-family:Outfit,sans-serif;font-size:18px;margin:0 0 10px}
.post-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.post-related-card{display:grid;gap:6px;padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}
.post-related-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.post-related-card p{margin:0;font-size:13.5px;line-height:1.45}
.post-related-card small{color:var(--muted);font-size:11.5px}
.post-related-author{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700}
.post-related-author img{width:24px;height:24px;border-radius:50%;object-fit:cover}
@media(max-width:600px){.post-related-grid{grid-template-columns:1fr}.post-comment.is-reply{margin-left:28px}}
@media(prefers-reduced-motion:reduce){.post-react-picker,.post-react-picker button,.post-related-card{transition:none}}
/* Post page: post → reactions → write a comment → sort → comments (new comments are prepended, so they land right under the box). */
.feed-post.comments-expanded{display:flex;flex-direction:column}
.feed-post.comments-expanded>*{order:0}
.feed-post.comments-expanded>.comment-compose,.feed-post.comments-expanded>.post-comments-off{order:1;margin-top:12px}
.feed-post.comments-expanded>.post-comment-sort{order:2;margin:16px 0 4px;padding-top:12px;border-top:1px solid var(--line)}
.feed-post.comments-expanded>.post-comments,.feed-post.comments-expanded>.post-action-status{order:3}
.post-comment-sort a{cursor:pointer}
.post-comment-sort a:not(.active):hover{border-color:var(--accent);color:var(--ink)}
/* Phones: one row of actions — icons and counts stay, the words go to screen readers only. */
@media(max-width:420px){.post-interactions{flex-wrap:nowrap;justify-content:space-between}.post-interactions .post-action-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}}
/* Comment stickers and avatars that fail to load (see timeline-ui.js). */
.post-sticker-missing{display:block;color:var(--muted);font-size:12px;font-style:italic}
.avatar-letter{display:inline-grid;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-weight:800;font-size:.9em;line-height:1;aspect-ratio:1;flex:none}

/* Single post page: use the room tablets and desktops have. */
.timeline-feed-page.premium-timeline.post-page{max-width:720px}
@media(min-width:768px){.timeline-feed-page.premium-timeline.post-page{max-width:880px}}
@media(min-width:1200px){.timeline-feed-page.premium-timeline.post-page{max-width:1000px}}

/* "See more comments": the next ten threads load in place, under the comments. */
.feed-post.comments-expanded>.post-comments-more{order:4}
.post-comments-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:40px;margin-top:12px;padding:8px 14px;border:1px solid var(--line);border-radius:12px;color:var(--ink);font-weight:700;font-size:13px;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.post-comments-more:hover{background:var(--canvas);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.post-comments-more:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.post-comments-more[aria-busy="true"]{opacity:.65;pointer-events:none}
.post-comments-more-count{font-weight:500;color:var(--muted)}

/* Long comments show four lines first. */
.post-comment-bubble p.is-clamped{display:-webkit-box;-webkit-line-clamp:4;line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.post-comment-more-text{display:inline-block;margin-top:4px;padding:0;border:0;background:none;color:var(--accent);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.post-comment-more-text:hover{text-decoration:underline}
.post-comment-more-text:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
