/* X feed on the homepage — matches the coder theme, light + dark */
.xfeed { margin-top: 1rem; }
/* the theme's .content wrapper is display:flex (row); this forces one stacked column */
.home-page { width: 100%; }
.xfeed-head { text-align: center; margin: 3.2rem 0 1.6rem; }
.xfeed-avatar { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; }
.xfeed-title { font-size: 2.2rem !important; margin: 1rem 0 0 !important; }

.xfeed-list { display: flex; flex-direction: column; gap: 1.6rem; }
.xfeed-card { border: 1px solid #e0e0e0; border-radius: 1rem; padding: 1.6rem; }
.xfeed-repost-label { font-size: 1.2rem; color: #757575; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.xfeed-head { display: flex; align-items: center; gap: 1rem; }
.xfeed-avatar { width: 4rem; height: 4rem; border-radius: 50%; }
.xfeed-name { font-family: Lato, Helvetica, sans-serif; font-weight: 700; font-size: 1.5rem; color: #212121; line-height: 1.3; }
.xfeed-handle { font-size: 1.3rem; color: #757575; }
.xfeed-time { font-size: 1.3rem; color: #757575; margin-left: auto; white-space: nowrap; }
.xfeed-text { font-size: 1.5rem; line-height: 1.65; margin: 1rem 0 .4rem; overflow-wrap: break-word; }
.xfeed-text a { color: #1565c0; }
.xfeed-media { margin-top: 1rem; border-radius: .8rem; overflow: hidden; }
.xfeed-media img { display: block; width: 100%; height: auto; }
.xfeed-foot { display: flex; gap: 1.6rem; font-size: 1.3rem; color: #757575; margin-top: .8rem; }
.xfeed-loading, .xfeed-error { color: #757575; font-size: 1.5rem; }
.xfeed-more { margin-top: 1.6rem; font-size: 1.5rem; }

/* dark mode */
body.colorscheme-dark .xfeed-card { border-color: #424242; }
body.colorscheme-dark .xfeed-name { color: #dadada; }
body.colorscheme-dark .xfeed-text a { color: #42a5f5; }
@media (prefers-color-scheme: dark) {
  body.colorscheme-auto .xfeed-card { border-color: #424242; }
  body.colorscheme-auto .xfeed-name { color: #dadada; }
  body.colorscheme-auto .xfeed-text a { color: #42a5f5; }
}
