/* X dark theme, home timeline. Values measured on x.com (Chrome, macOS). */

.x-stage { background: #000; padding: 0; }
.x-col { width: 598px; margin: 0 auto; border-left: 1px solid rgb(47, 51, 54); border-right: 1px solid rgb(47, 51, 54); background: #000; min-height: 100%; }
.xt, .xt * { box-sizing: border-box; }
.xt-cell { border-bottom: 1px solid rgb(47, 51, 54); }
.xt-cell.connect-below { border-bottom: 0; }
.xt { display: block; width: 598px; padding: 0 16px; background: #000; color: rgb(231, 233, 234);
  font-family: TwitterChirp, -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 400; line-height: normal;
  -webkit-font-smoothing: auto; text-rendering: auto; position: relative; overflow: hidden; }
.xt-row { display: flex; padding-top: 12px; }
.xt-avcol { flex: 0 0 40px; width: 40px; margin-right: 8px; display: flex; flex-direction: column; align-items: center; position: relative; }
.xt-av { width: 40px; height: 40px; border-radius: 9999px; overflow: hidden; flex: none; }
.xt-av img { width: 40px; height: 40px; display: block; object-fit: cover; }
.xt-av.sq, .xt-qav.sq { border-radius: 8%; }
.xt-thread { width: 2px; flex: 1 1 auto; margin-top: 4px; background: rgb(51, 54, 57); }
.xt.connect-above::before { content: ""; position: absolute; left: 35px; top: 0; width: 2px; height: 8px; background: rgb(51, 54, 57); }
.xt-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; padding-bottom: 12px; }

.xt-head { display: flex; align-items: flex-start; justify-content: space-between; height: 20px; margin-bottom: 2px; }
/* An affiliate badge makes the name block 22px tall on x.com (measured: Michael 22, Blaxel 20). */
.xt-head.aff { height: 22px; }
.xt-who { display: flex; align-items: center; min-width: 0; height: 20px; overflow: hidden; }
.xt-namewrap { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.xt-name { font-weight: 700; line-height: 20px; color: rgb(231, 233, 234); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.xt-badges { display: flex; align-items: center; flex: none; height: 18.75px; }
.xt-verified { width: 18.75px; height: 18.75px; margin-left: 2px; fill: rgb(29, 155, 240); display: block; flex: none; }
.xt-aff { width: 15.9375px; height: 15.9375px; margin-left: 4px; margin-right: 2px; border: 1px solid rgb(51, 54, 57); border-radius: 2px; overflow: hidden; flex: none; }
.xt-aff img { width: 100%; height: 100%; display: block; object-fit: cover; }
.xt-meta { display: flex; align-items: baseline; margin-left: 4px; color: rgb(113, 118, 123); line-height: 20px; white-space: nowrap; flex: none; }
.xt-dot { padding: 0 4px; }
.xt-headright { display: flex; align-items: center; gap: 8px; margin-left: 8px; height: 20px; flex: none; color: rgb(113, 118, 123); }
.xt-grok { width: 19.34px; height: 18.75px; fill: currentColor; display: block; }
.xt-caret { width: 18.75px; height: 18.75px; fill: currentColor; display: block; }

.xt-text { font-size: 15px; line-height: 20px; white-space: pre-wrap; overflow-wrap: break-word; color: rgb(231, 233, 234); position: relative; }
.xt-showmore { color: rgb(29, 155, 240); border: 0; padding: 0; background: none; font: inherit; line-height: 20px; text-align: left; cursor: pointer; }
.xt-link { color: rgb(29, 155, 240); text-decoration: none; }
.xt-plainlink, .xt-plaintag { color: inherit; text-decoration: none; }
/* x.com sets Chirp stylistic set 1 on handles, mentions and URLs (not hashtags); it changes glyph widths. */
.xt-handle, .xt-mention, .xt-link, .xt-plainlink, .xt-ss01 { font-feature-settings: "ss01"; }
.xt-tag { font-feature-settings: normal; }
.xt-hidden { position: absolute; font-size: 0.001px; opacity: 0; pointer-events: none; left: -9999px; }
.xt-mention { display: inline-flex; flex-direction: column; color: rgb(29, 155, 240); }
.xt-mention > span { display: block; }

.xt-mediacol { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.xt-single { border: 1px solid rgb(47, 51, 54); border-radius: 16px; overflow: hidden; }
.xt-ph1, .xt-ph { position: relative; overflow: hidden; background: rgb(22, 24, 28); }
.xt-ph1 img, .xt-ph img, .xt-ph1 video, .xt-ph video { width: 100%; height: 100%; display: block; object-fit: cover; }
.xt-phbg { position: absolute; inset: 0; background-size: cover; background-position: 50% 50%; }
.xt-phbg + img { position: absolute; inset: 0; opacity: 0; }
.xt-vbadge { position: absolute; left: 12px; bottom: 12px; height: 20px; padding: 0 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.77); color: #fff; font-size: 13px; line-height: 16px; display: flex; align-items: center; }
.xt-vmute { position: absolute; right: 4px; bottom: 2px; width: 40px; height: 40px; padding: 8px; }
.xt-vmute-dot { width: 24px; height: 24px; border-radius: 9999px; background: rgba(0, 0, 0, 0.77); display: flex; align-items: center; justify-content: center; }
.xt-vmute-ico { width: 12px; height: 12px; fill: #fff; }

.xt-carousel { display: flex; gap: 4px; margin: -2px -16px -2px -64px; padding: 2px 16px 2px 64px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.xt-carousel::-webkit-scrollbar { display: none; }
.xt-carousel.inquote { margin: -2px 0; padding: 2px 12px; }
.xt-citem { flex: none; border: 1px solid rgb(47, 51, 54); border-radius: 8px; overflow: hidden; }

.xt-card { border: 1px solid rgb(47, 51, 54); border-radius: 16px; overflow: hidden; }
.xt-cardmedia { position: relative; width: 516px; height: 270.156px; background-size: cover; background-position: 50% 50%; }
.xt-cardlabel { position: absolute; left: 12px; bottom: 12px; max-width: 492px; height: 20px; padding: 0 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.77); display: flex; align-items: center; justify-content: center; }
.xt-cardtitle { font-size: 13px; line-height: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xt-cardfrom { font-size: 13px; line-height: 16px; color: rgb(113, 118, 123); }

.xt-quote { border: 1px solid rgb(47, 51, 54); border-radius: 16px; overflow: hidden; min-height: 64px; display: flex; flex-direction: column; }
.xt-qhead { display: flex; align-items: center; height: 24px; margin: 12px 12px 0 12px; min-width: 0; }
.xt-qav { width: 24px; height: 24px; border-radius: 9999px; overflow: hidden; margin-right: 4px; flex: none; }
.xt-qav img { width: 24px; height: 24px; display: block; object-fit: cover; }
.xt-qtextwrap { margin: 0 12px 12px 12px; }
.xt-qtext { margin-top: 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.xt-qtext.c { margin-top: 8px; }
.xt-qmedia { margin-top: 4px; }
.xt-qmulti { margin: 4px 0 12px 0; }
.xt-qrow { display: flex; }
.xt-qthumb { flex: 2 1 0; margin: 8px 0 12px 12px; border-radius: 16px; overflow: hidden; align-self: flex-start; }
.xt-qthumb-in { border: 1px solid rgb(47, 51, 54); border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; }
.xt-qthumb-in img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Thumb and text split the row 2:8 after the thumb's 12px left margin; the text margins sit inside its column. */
.xt-qtextcol { flex: 8 1 0; min-width: 0; }
.xt-qtextin { margin: 0 12px 12px 12px; }

.xt-actions { display: flex; justify-content: space-between; column-gap: 4px; max-width: 600px; margin-top: 12px; height: 20px; color: rgb(113, 118, 123); }
.xt-act { flex: 1 1 0; display: flex; min-width: 0; }
.xt-act.liked { color: rgb(249, 24, 128); }
.xt-btn { display: flex; align-items: center; height: 20px; line-height: 20px; }
.xt-ico { width: 18.75px; height: 18.75px; fill: currentColor; display: block; flex: none; }
.xt-count { display: block; height: 20px; line-height: 20px; overflow: hidden; }
.xt-n { font-size: 13px; line-height: 16px; padding: 0 4px; }
.xt-bm { flex: none; width: 18.75px; margin-right: 8px; display: flex; align-items: center; }
.xt-sh { flex: none; width: 18.75px; display: flex; align-items: center; }
