#x-feed{box-sizing:border-box;border:1px solid #299eac;border-radius:5px;background:#fff;color:#202124;text-align:left;width:100%;min-width:0;font-size:14px;line-height:1.55;overflow:hidden}
#x-feed *{box-sizing:border-box}
#x-feed a{color:#147985;text-decoration:none}
#x-feed a:hover{text-decoration:underline}
#x-feed .x-feed-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #e0e5e7;font-weight:bold}
#x-feed .x-feed-header img{width:20px;height:20px;object-fit:contain}
#x-feed .x-feed-list{max-height:460px;overflow-y:auto}
#x-feed .x-feed-post{padding:12px;border-bottom:1px solid #e0e5e7}
#x-feed .x-feed-author{display:flex;align-items:center;gap:8px;color:#202124}
#x-feed .x-feed-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none}
#x-feed .x-feed-handle{display:block;color:#59636b;font-size:12px}
#x-feed .x-feed-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:14px}
#x-feed .x-feed-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0}
#x-feed .x-feed-media a:only-child{grid-column:1/-1}
#x-feed .x-feed-media img{width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:4px}
#x-feed .x-feed-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px}
#x-feed .x-feed-message{padding:0 12px;font-size:13px}
#x-feed .x-feed-message:empty{display:none}
#x-feed .x-feed-bottom{display:block;text-align:center;padding:9px;border-top:1px solid #e0e5e7;font-weight:bold}

/* Home timeline: match the height of the news column. */
.home-feed-layout #x-feed {
    display: flex;
    flex-direction: column;
    height: var(--home-feed-height, 500px);
}
.home-feed-layout #x-feed .x-feed-list {
    flex: 1 1 0;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
}
.home-feed-layout #x-feed .x-feed-header,
.home-feed-layout #x-feed .x-feed-bottom { flex-shrink: 0; }
