/* Homepage: the live narratives section (dark, live from X) and verdicts that move (rechecks, CTO). Builds on landing.css. */

/* ---------- live narratives ---------- */
.narrsec { padding-bottom: 88px; }
.narrsec .sec-head h2 { color: var(--t-dark); }
.pill.new { color: #e7dcff; background: linear-gradient(90deg, rgba(127,199,236,.18), rgba(229,143,192,.18), rgba(143,111,240,.22)); box-shadow: 0 0 0 1px rgba(198,168,244,.25) inset; }
.pill.new::before { background: #ff6b86; box-shadow: 0 0 0 3px rgba(255,107,134,.25); animation: nh-pulse 1.8s ease-in-out infinite; }
@keyframes nh-pulse { 50% { box-shadow: 0 0 0 6px rgba(255,107,134,0); } }

/* the dark blueprint: ink cells, faint hairlines, a glow along the top */
.bp.dk { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.08); grid-template-columns: repeat(3, 1fr); }
.bpw.w-dk { margin-bottom: 0; }
.bpw.w-dk .x::before, .bpw.w-dk .x::after { background: #c6a8f4; }
.bp.dk > .cell { background: var(--ink2); color: var(--t-dark); }
.bp.dk > .cell h3 { color: #c6a8f4; }
.bp.dk > .cell > p { color: var(--m-dark); }
.bp.dk > .cell .num { background: rgba(255,255,255,.06); color: var(--m-dark); }

/* the hero image with a live strip across the bottom */
.nh-hero { position: relative; }
.nh-hero img { width: 100%; height: auto; aspect-ratio: 1600 / 560; object-fit: cover; object-position: 50% 50%; }
.nh-strip { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 16px;
  background: rgba(21,18,28,.78); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 20px 40px -20px rgba(21,18,28,.7); }
.nh-live { flex: none; display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.nh-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b86; animation: nh-pulse 1.8s ease-in-out infinite; box-shadow: 0 0 0 3px rgba(255,107,134,.25); }
.nh-marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nh-track { display: flex; gap: 8px; width: max-content; animation: nh-scroll 38s linear infinite; }
.nh-marquee:hover .nh-track { animation-play-state: paused; }
@keyframes nh-scroll { to { transform: translateX(-50%); } }
.nh-track span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 99px; font-size: 12.5px; color: var(--t-dark); background: rgba(255,255,255,.07); white-space: nowrap; }
.nh-track span em { font: 500 10.5px var(--mono); font-style: normal; color: #c6a8f4; }
.nh-track span em.early { color: #7fe0b0; }
.nh-at { flex: none; font: 500 10.5px var(--mono); color: var(--m-dark); padding-right: 6px; white-space: nowrap; }

/* image panels inside cells */
.nh-panel { position: relative; height: 178px; border-radius: 18px; overflow: hidden; background: #efecf6; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.nh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.cell:hover .nh-img img { transform: scale(1.04); }

/* loading bars until the live data lands */
.nh-sk { height: 36px; border-radius: 11px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)) 0 0 / 200% 100%; animation: nh-sk 1.4s linear infinite; }
.nh-sk.tall { height: 84px; border-radius: 14px; }
.nh-sk.light { background-image: linear-gradient(90deg, #f1eef7, #e6e0f2, #f1eef7); margin-top: 5px; height: 40px; }
@keyframes nh-sk { to { background-position: -200% 0; } }
.nh-empty { padding: 12px; border-radius: 11px; font-size: 12.5px; color: var(--m-dark); background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px dashed rgba(255,255,255,.08) inset; }
/* live lists */
.nh-list { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; min-height: 104px; }
.nh-f, .nh-b { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border-radius: 11px; background: rgba(255,255,255,.045); box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset; font-size: 12.5px; }
.nh-f b, .nh-b b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nh-f span { flex: none; font: 500 10.5px var(--mono); color: var(--m-dark); }
.nh-f span.early { color: #7fe0b0; }
.meter { flex: none; display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.meter i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.14); }
.meter i:nth-child(1) { height: 6px; } .meter i:nth-child(2) { height: 10px; } .meter i:nth-child(3) { height: 14px; }
.meter.quiet i:nth-child(1) { background: #8f88a0; }
.meter.some i:nth-child(-n+2) { background: #f0b46b; }
.meter.loud i { background: #ff6b86; box-shadow: 0 0 8px rgba(255,107,134,.5); }

/* real X posts */
.nh-posts { display: flex; flex-direction: column; gap: 8px; min-height: 290px; }
.nh-post { display: block; padding: 12px 14px; border-radius: 14px; background: linear-gradient(160deg, rgba(182,226,245,.09), rgba(198,168,244,.08)); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; transition: transform .2s, box-shadow .2s; }
a.nh-post:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(198,168,244,.45) inset; }
.nh-post b { display: flex; align-items: center; gap: 7px; font: 600 12.5px var(--sans); color: #fff; }
.nh-post b::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); flex: none; }
.nh-post b small { margin-left: auto; font: 500 10px var(--mono); color: var(--m-dark); }
.nh-post p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #d7d1e2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* the wide cell: copy on the left, a live trend with its coins on the right */
.bp.dk > .cell.nh-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; padding: 28px; }
.nh-wide-copy { display: flex; flex-direction: column; gap: 8px; }
.nh-wide-copy .num { align-self: flex-start; padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--m-dark); }
.nh-wide-copy h3 { color: #c6a8f4; margin: 4px 0 0; }
.nh-wide-copy p { margin: 0; font-size: 13px; color: var(--m-dark); max-width: 420px; }
.nh-wide-copy p.nh-small { font-size: 12px; }
.nh-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.06); margin: 8px 0 2px; align-self: flex-start; }
.nh-tabs span { padding: 7px 14px; border-radius: 99px; font: 700 12px var(--display); color: var(--m-dark); }
.nh-tabs .on2 { color: #fff; background: linear-gradient(120deg, #c7a6f8, #9b85f6, #7f6bf3); box-shadow: 0 6px 16px -4px rgba(127,107,243,.55); }
.nh-trend { border-radius: 20px; padding: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(127,107,243,.55), 0 0 0 1px rgba(255,255,255,.6) inset; }
.nh-th { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.nh-th b { font: 700 16px var(--display); letter-spacing: -.01em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-th em { flex: none; font: 600 10px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; color: #c2264f; background: #fde4ea; }
.nh-th em.warm { color: #b86a12; background: #fdf0de; } .nh-th em.new { color: #6c4fd0; background: #eee6ff; }
.nh-th small { margin-left: auto; flex: none; font: 500 10.5px var(--mono); color: var(--m-light); }
.nh-why { margin: 0 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--m-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nh-c { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 11px; background: color-mix(in srgb, var(--c, #7a7484) 7%, #fff); margin-top: 5px; }
.nh-c i, .nh-c img { width: 26px; height: 26px; border-radius: 7px; background: var(--grad); object-fit: cover; }
.nh-c b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-c span { font: 500 11.5px var(--mono); color: var(--m-light); }
.nh-c .verd { font-size: 9.5px; padding: 4px 6px; }

/* ---------- verdicts that move ---------- */
.movesec { padding-bottom: 88px; }
.bp.mv { grid-template-columns: 1fr 1fr; }
.bpw.w-mv { margin-bottom: 0; }
.mv-img { height: 230px; border-radius: 18px; overflow: hidden; background: #efecf6; }
.mv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.mv-card:hover .mv-img img { transform: scale(1.04); }
.mv-time { position: relative; margin-top: 6px; padding: 12px 14px 8px; border-radius: 16px; background: linear-gradient(160deg, #dcf0fb 0%, #ece5fb 100%); }
.mv-time svg { width: 100%; height: 60px; display: block; overflow: visible; }
.mv-ticks { display: flex; justify-content: space-between; font: 500 10.5px var(--mono); color: var(--violet); padding: 4px 2px 0; }
.mv-ticks span { position: relative; padding-top: 10px; }
.mv-ticks span::before { content: ''; position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; border: 2px solid #b9a0f2; }
.mv-coin, .mv-cto-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 13px; background: #fff; box-shadow: 0 14px 28px -18px rgba(124,92,214,.45); font-size: 13px; }
.mv-coin b, .mv-cto-top b { font-weight: 600; margin-right: auto; }
.mv-tag { font: 700 10px var(--mono); letter-spacing: .06em; padding: 4px 8px; border-radius: 99px; color: #0c5b3a; background: linear-gradient(90deg, #b9f3d6, #d6f7c4); }
.mv-tag.cto { color: #4a2a9a; background: linear-gradient(90deg, #d9ccff, #f6c9e4); }
/* the verdict flips from SKETCHY to MID, again and again */
.mv-flip { position: relative; display: inline-grid; }
.mv-flip .verd { grid-area: 1 / 1; justify-self: end; animation: mv-a 6s ease-in-out infinite; }
.mv-flip .verd + .verd { animation-name: mv-b; }
@keyframes mv-a { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes mv-b { 0%, 42% { opacity: 0; transform: translateY(6px); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
.mv-coin .mv-tag { animation: mv-b 6s ease-in-out infinite; }
.mv-cto { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.mv-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-radius: 10px; font-size: 12px; background: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(21,18,28,.05) inset; }
.mv-row span { color: var(--m-light); }
.mv-row b { font: 500 11px var(--mono); color: var(--t-light); }
.mv-row b.up { color: #13885a; }
.bp.mv > .cell.mv-split { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.mv-split > .num, .mv-split > h3, .mv-split > p { grid-column: 1 / -1; order: -1; }
.mv-split > .num { justify-self: start; margin-top: 0 !important; }
.mv-split > p { margin-bottom: 6px !important; }
.mv-split > p { margin: 0; font-size: 13px; color: var(--m-light); }
.mv-col { border-radius: 18px; padding: 16px 18px; }
.mv-col h4 { margin: 0 0 8px; font: 700 15px var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.mv-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mv-col li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.75); }
.mv-col.bad { background: linear-gradient(160deg, #fde4ea 0%, #f3e4fb 100%); } .mv-col.bad h4 { color: #c2264f; }
.mv-col.bad li::before { content: '✕'; font: 700 11px var(--mono); color: #c2264f; }
.mv-col.risk { background: linear-gradient(160deg, #fdf0de 0%, #ece5fb 100%); } .mv-col.risk h4 { color: #b86a12; }
.mv-col.risk li::before { content: '!'; font: 700 11px var(--mono); color: #b86a12; width: 10px; text-align: center; }

@media (prefers-reduced-motion: reduce) { .nh-track, .mv-flip .verd, .mv-coin .mv-tag, .pill.new::before, .nh-live i { animation: none !important; } .mv-flip .verd + .verd { display: none; } }
@media (max-width: 1080px) {
  .bp.dk { grid-template-columns: 1fr 1fr; }
  .bp.dk > .cell:nth-child(4) { grid-column: 1 / -1; }
  .nh-posts { min-height: 0; }
}
@media (max-width: 760px) {
  .bp.dk, .bp.mv { grid-template-columns: 1fr; }
  .bp.dk > .cell.nh-wide, .bp.mv > .cell.mv-split { grid-template-columns: 1fr; }
  .nh-hero img { aspect-ratio: 4 / 3; object-position: 70% 50%; }
  .nh-at { display: none; }
  .bp.dk > .cell.nh-wide { padding: 22px; }
}

/* ---------- <tp-ext>: the real extension panel, in a box ---------- */
tp-ext { display: block; height: 356px; border-radius: 20px; overflow: hidden; background: #f2f0f5; box-shadow: 0 0 0 1px rgba(21,18,28,.09), 0 28px 50px -30px rgba(70,45,140,.5); margin-bottom: 6px; contain: content; }
tp-ext.short { height: 262px; }
tp-ext.tall { height: 400px; }
.bp.dk tp-ext { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 28px 50px -30px #000; }

/* ---------- the narratives banner: real X posts ---------- */
.bp.dk > .cell.nh-wall { grid-column: 1 / -1; padding: 18px 0 20px; gap: 14px; overflow: hidden; }
.nh-wall-head { display: flex; align-items: center; gap: 14px; padding: 0 22px; }
.nh-wall-head b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--m-dark); }
.xw { display: flex; flex-direction: column; gap: 12px; }
.xw-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.xw-track { display: flex; gap: 12px; width: max-content; padding: 0 22px; }
.xw-track.go { animation: xw-scroll var(--dur, 60s) linear infinite; }
.xw-row.rev .xw-track.go { animation-direction: reverse; }
.xw-row:hover .xw-track { animation-play-state: paused; }
@keyframes xw-scroll { to { transform: translateX(calc(-50% - 6px)); } }
.xw-sk { width: 310px; height: 150px !important; flex: none; }
/* one post, the way X shows it (dark) */
.xc { flex: none; width: 310px; display: flex; flex-direction: column; gap: 8px; padding: 13px 15px 12px; border-radius: 16px; background: #000; border: 1px solid #2f3336; color: #e7e9ea; text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; transition: background .15s, border-color .15s, transform .2s; }
.xc:hover { background: #080808; border-color: #536471; transform: translateY(-2px); }
.xc-top { display: flex; align-items: center; gap: 10px; }
.xc-av { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #333639; display: grid; place-items: center; font: 700 15px/1 inherit; font-style: normal; color: #e7e9ea; }
.xc-who { flex: 1; min-width: 0; line-height: 1.25; }
.xc-who b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-who span { display: block; font-size: 13.5px; color: #71767b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xc-x { flex: none; width: 18px; height: 18px; color: #e7e9ea; }
.xc p { margin: 0; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; min-height: 61px; }
.xc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 9px; border-top: 1px solid #2f3336; font-size: 12.5px; color: #71767b; }
.xc-foot em { font-style: normal; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 9px; border-radius: 99px; color: #d7c6fb; background: rgba(198,168,244,.14); }
.xc-foot em.loud { color: #ff9db0; background: rgba(255,107,134,.14); }
.xc-foot em.early { color: #7fe0b0; background: rgba(111,224,173,.13); }
.xc-foot span { flex: none; color: #1d9bf0; }
.nh-list { min-height: 164px; }

/* ---------- the X bot ---------- */
.xbotsec { padding-bottom: 88px; }
.xbotsec .sec-head h2 { color: var(--t-dark); }
.xbotsec .sec-head p b { color: var(--t-dark); font-weight: 600; }
.bp.dk.xb > .xb-thread { grid-column: span 2; }
.xt { border-radius: 16px; background: #000; border: 1px solid #2f3336; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #e7e9ea; margin-bottom: 6px; }
.xt-post { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
.xt-post + .xt-post { padding-top: 6px; }
.xt-post:first-child::after { content: ''; position: absolute; left: 35px; top: 58px; bottom: -6px; width: 2px; background: #333639; }
.xt-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #3a3f45, #5b6470); display: block; position: relative; z-index: 1; }
img.xt-av { background: #efecf6; object-fit: cover; }
.xt-who { display: flex; align-items: baseline; gap: 6px; font-size: 15px; }
.xt-who b { font-weight: 700; }
.xt-who span { color: #71767b; flex: 1; }
.xt-who svg { width: 18px; height: 18px; align-self: center; }
.xt p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.42; }
.xt p em, .xt p a { font-style: normal; color: #1d9bf0; text-decoration: none; }
.xt p a:hover { text-decoration: underline; }
.xt-post.bot p b { font-weight: 700; }
.bp.dk > .cell.xb-ways { gap: 14px; }
.xb-way { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.xb-way > b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); color: #15121c; background: linear-gradient(115deg, #b6e2f5, #f3bddb 48%, #c6a8f4); }
.xb-way h4 { margin: 2px 0 2px; font-size: 14px; font-weight: 600; color: var(--t-dark); }
.xb-way p { margin: 0 0 6px; font-size: 13px; line-height: 1.45; color: var(--m-dark); }
.xb-way code { display: inline-block; padding: 4px 9px; border-radius: 8px; font: 500 12px var(--mono); color: #8ecdf7; background: rgba(29,155,240,.1); }
.xb-ways .btn { align-self: flex-start; margin-top: auto; }

/* ---------- where it works ---------- */
.termsec { padding-bottom: 88px; }
.bp.tm { grid-template-columns: repeat(3, 1fr); }
.bp.tm > .tm-sites { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tm-site { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(21,18,28,.07); text-decoration: none; color: var(--t-light); transition: transform .2s, box-shadow .2s; }
.tm-site:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(124,92,214,.35), 0 18px 30px -20px rgba(70,45,140,.5); }
.tm-logo { height: 64px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 8px; }
.tm-logo img { max-width: 62%; max-height: 26px; }
.tm-site b { font-size: 15px; font-weight: 600; }
.tm-site small { font: 500 11px var(--mono); color: var(--m-light); }
.tm-site ul, .tm-priv ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--m-light); }
.tm-site li, .tm-priv li { position: relative; padding-left: 20px; line-height: 1.35; }
.tm-site li::before, .tm-priv li::before { content: ''; position: absolute; left: 0; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #2fb67c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2l1.9 1.9 3.7-4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tm-site li.no { color: #a9a3b5; } .tm-site li.no::before { background: #d6d1e0; background-image: none; }
.tm-priv ul { margin: 0 0 6px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(21,18,28,.07); font-size: 13.5px; gap: 12px; color: var(--t-light); min-height: 262px; justify-content: center; }
.tm-priv li { padding-left: 26px; } .tm-priv li::before { width: 17px; height: 17px; background-size: 14px; top: 0; }
.tm-priv p a { color: var(--violet); }
/* the edge tab, as it sits on the page */
.tm-edge { position: relative; height: 262px; border-radius: 20px; overflow: hidden; background: #101114; margin-bottom: 6px; box-shadow: 0 0 0 1px rgba(21,18,28,.09), 0 28px 50px -30px rgba(70,45,140,.5); }
.tm-page { position: absolute; inset: 18px 70px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.tm-page i { flex: 1; border-radius: 10px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset; }
.tm-tabs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; animation: tm-nudge 4s ease-in-out infinite; }
@keyframes tm-nudge { 0%, 70%, 100% { transform: translateY(-50%); } 80% { transform: translate(-5px, -50%); } }
.tm-tab { width: 34px; padding: 10px 0 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: #fff; color: #15121c; border: 1px solid rgba(124,92,214,.45); border-right: 0; border-radius: 10px 0 0 10px; box-shadow: -6px 0 20px rgba(0,0,0,.45); }
.tm-tab img { width: 20px; height: 20px; border-radius: 5px; }
.tm-tab span, .tm-tab small { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 10.5px/1 Consolas, 'SF Mono', Menlo, monospace; letter-spacing: .18em; }
.tm-tab small { letter-spacing: .06em; font-weight: 700; padding: 6px 4px; border-radius: 4px; color: #b86a14; background: rgba(255,180,107,.2); box-shadow: 0 0 0 1px rgba(255,180,107,.45) inset; }
.tm-gear { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; color: #6b6478; border: 1px solid rgba(124,92,214,.45); border-right: 0; border-radius: 9px 0 0 9px; box-shadow: -6px 0 20px rgba(0,0,0,.45); }
.tm-gear svg { width: 16px; height: 16px; }

@media (max-width: 1080px) { .bp.tm > .tm-sites { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .bp.dk.xb > .xb-thread { grid-column: auto; }
  .bp.tm { grid-template-columns: 1fr; } .bp.tm > .tm-sites { grid-template-columns: repeat(2, 1fr); }
  .xc, .xw-sk { width: 270px; }
}
@media (prefers-reduced-motion: reduce) { .xw-track.go, .tm-tabs { animation: none; } .xw-row { overflow-x: auto; } }

.feats .panel.tall { height: 400px; }
.feats .mini-term { gap: 9px; }

/* ---------- real UI where the scene pictures were ---------- */
.bp > .cell.show-cell.real { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 40px; align-items: center; padding: 44px 6%; background: linear-gradient(135deg, #e6f1fb 0%, #f5e6f2 50%, #ebe3fb 100%); }
.show-cell.real .show-copy { position: static; transform: none; max-width: none; order: -1; }
.show-cell.real tp-ext { height: 400px; margin: 0; }
.checks.four { grid-template-columns: 1fr 1fr; }
.mv-eg { font: 600 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--m-light); }
.bx.statcard, .bx.listcard { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.bx.statcard { grid-column: 3; grid-row: 1; }
.bx.listcard { grid-column: 2 / 4; grid-row: 2; background: #f6f3fb; }
.bx h4 { margin: 0; font: 600 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--m-light); }
.bx .live-stats { flex: 1; margin: 0; grid-template-columns: 1fr 1fr; border: 0; border-radius: 0; background: none; gap: 10px; overflow: visible; }
.bx .live-stats div { border: 0 !important; border-radius: 16px; background: #f6f3fb; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bx .live-list { margin: 0; flex: 1; align-content: start; }
.bx .live-list .coin { text-decoration: none; color: inherit; box-shadow: 0 0 0 1px rgba(21,18,28,.06); transition: transform .2s, box-shadow .2s; }
.bx .live-list .coin:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(124,92,214,.35), 0 14px 24px -18px rgba(70,45,140,.5); }
@media (max-width: 1080px) { .checks.four { grid-template-columns: 1fr 1fr; } .bx.statcard, .bx.listcard { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 760px) { .bp > .cell.show-cell.real { grid-template-columns: 1fr; padding: 26px 20px; gap: 22px; } .bx .live-list { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .checks.four { grid-template-columns: 1fr; } .bx.statcard, .bx.listcard { grid-column: auto; } }

/* ---------- never more than two cards across ---------- */
.narrsec .about-cta { margin-bottom: 88px; }
.bp.dk.xb { grid-template-columns: 1.35fr 1fr; }
.bp.dk.xb > .xb-thread { grid-column: auto; }
.xb-way h4 { margin-bottom: 6px; }
.bp.dk > .cell.xb-ways { gap: 20px; justify-content: center; }
.mv-legend { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; margin-bottom: 6px; }
.mv-legend div { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(21,18,28,.07); }
.mv-legend div > :first-child { flex: none; min-width: 96px; text-align: center; }
.mv-legend p { margin: 0; font-size: 14.5px; color: var(--t-light); }
@media (min-width: 901px) {
  .steps, .feats, .bp.tm { grid-template-columns: 1fr 1fr; }
  .bp > .cell.row { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 44px; padding: 28px 28px 28px 40px; }
  .bp > .cell.row > :first-child { grid-column: 2; grid-row: 1 / -1; margin: 0; align-self: center; }
  .bp > .cell.row > .num { grid-row: 2; justify-self: start; margin-top: 0; }
  .bp > .cell.row > h3 { grid-row: 3; }
  .bp > .cell.row > p { grid-row: 4; }
  .feats .cell.row .panel.tall { height: 300px; }
  .tm-priv.row ul { min-height: 0; padding: 26px; }
}
@media (max-width: 900px) { .steps, .bp.dk.xb { grid-template-columns: 1fr; } }

/* ---------- how narratives work, in three lines ---------- */
.bp.dk > .cell.nh-how { grid-column: 1 / -1; flex-direction: row; gap: 28px; padding: 26px 30px; }
.nh-how .xb-way { flex: 1; }
.nh-how .xb-way h4 { margin: 2px 0 4px; font-size: 15px; }
.nh-how .xb-way p { margin: 0; font-size: 13.5px; }
@media (max-width: 760px) { .bp.dk > .cell.nh-how { flex-direction: column; gap: 16px; padding: 22px; } }

/* ---------- the terminals: real screenshots, fanned out ---------- */
.tm-fan { display: flex; justify-content: center; max-width: 1240px; margin: 0 auto; padding: 14px 40px 64px; }
.tm-shot { position: relative; flex: none; width: 24%; margin-left: -5%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #0d0d12; color: #fff; text-decoration: none;
  transform: rotate(calc(var(--i) * 3.5deg)) translateY(calc(var(--i) * var(--i) * 5px)); z-index: calc(5 - var(--i) * var(--i));
  box-shadow: 0 0 0 1px rgba(21,18,28,.5), 0 26px 44px -18px rgba(30,18,70,.6); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.tm-shot:first-child { margin-left: 0; }
.tm-shot:hover, .tm-shot:focus-visible { transform: translateY(-12px) scale(1.07); z-index: 9; box-shadow: 0 0 0 1px rgba(160,130,240,.7), 0 34px 54px -18px rgba(30,18,70,.75); }
.tm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.tm-shot::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,9,16,.5) 0%, rgba(10,9,16,.12) 60%, rgba(10,9,16,.3) 100%); transition: opacity .35s; }
.tm-shot:hover::after { opacity: .55; }
.tm-x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border-radius: 14px; white-space: nowrap;
  background: rgba(16,14,22,.86); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 12px 30px -8px #000; backdrop-filter: blur(6px); }
.tm-x img { height: 17px; width: auto; max-width: 84px; display: block; }
.tm-x img.us { height: 26px; width: 26px; border-radius: 7px; }
.tm-x i { font: 400 14px/1 var(--mono); font-style: normal; color: rgba(255,255,255,.5); }
.tm-cap { position: absolute; left: 12px; bottom: 10px; z-index: 1; font: 500 10.5px var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.75); text-shadow: 0 1px 6px #000; }
.tm-cap b { font-weight: 700; color: #fff; margin-right: 6px; }
@media (max-width: 900px) {
  .tm-fan { flex-direction: column; align-items: center; padding: 6px 24px 44px; }
  .tm-shot { width: 100%; max-width: 420px; margin-left: 0; margin-top: -9%; transform: rotate(calc(var(--i) * 1deg)); z-index: auto; }
  .tm-shot:first-child { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .tm-shot { transition: none; } }

/* ---------- the terminal cards: straight, standing on the box, stacked left to right ---------- */
.tm-fan { max-width: none; margin: 0 32px; padding: 14px 30px 0; align-items: flex-end; }
.tm-shot { width: 24.8%; margin-left: -6%; border-radius: 16px 16px 0 0; transform: none; transform-origin: 50% 100%; z-index: calc(var(--i) + 3); box-shadow: 0 0 0 1px rgba(21,18,28,.5), -14px -6px 34px -16px rgba(30,18,70,.6); }
.tm-shot:hover, .tm-shot:focus-visible { transform: scale(1.06); z-index: 9; box-shadow: 0 0 0 1px rgba(160,130,240,.7), 0 -12px 44px -14px rgba(30,18,70,.75); }
@media (max-width: 900px) {
  .tm-fan { margin: 0 20px; padding: 6px 4px 28px; align-items: center; }
  .tm-shot { width: 100%; margin-left: 0; border-radius: 16px; transform: none; z-index: auto; }
}

/* ---------- the edge tab: the panel slides out and back ---------- */
.tm-drawer { position: absolute; top: 0; bottom: 0; right: 0; display: flex; align-items: center; transform: translateX(250px); animation: tm-open 8s cubic-bezier(.3,.8,.2,1) infinite; }
.tm-drawer .tm-tabs { position: static; transform: none; animation: none; }
tp-ext.tm-panel { flex: none; width: 250px; height: 100%; margin: 0; border-radius: 0; box-shadow: -14px 0 34px rgba(0,0,0,.55); }
@keyframes tm-open { 0%, 18% { transform: translateX(250px); } 22% { transform: translateX(243px); } 34%, 80% { transform: translateX(0); } 92%, 100% { transform: translateX(250px); } }
@media (prefers-reduced-motion: reduce) { .tm-drawer { animation: none; transform: none; } }

/* ---------- card captions: a proper heading above the component, readable text ---------- */
.bp > .cell { padding: 28px 28px 30px; }
.bp > .cell > .num, .bp > .cell > h3, .bp > .cell > p { order: -1; }
.bp > .cell .num { margin-top: 0; padding: 3px 10px; border-radius: 99px; font-weight: 600; color: var(--violet); background: rgba(124,92,214,.1); }
.bp > .cell h3 { margin: 8px 0 0; font: 700 22px/1.18 var(--display); letter-spacing: -.02em; text-transform: none; color: var(--t-light); }
.bp > .cell > p { font-size: 15px; line-height: 1.5; max-width: 48ch; margin-bottom: 18px; }
.bp > .cell > h3:last-child, .bp > .cell > h3:not(:has(+ p)) { margin-bottom: 18px; }
.bp.dk > .cell h3 { color: var(--t-dark); }
.bp.dk > .cell .num { color: #c6a8f4; background: rgba(198,168,244,.12); }
.bp > .cell > tp-ext, .bp > .cell > .tm-edge, .bp > .cell > .panel, .bp > .cell > .xt, .bp > .cell > .mv-legend { margin-bottom: 0; }
@media (min-width: 901px) {
  .bp > .cell.row h3 { font-size: 30px; }
  .bp > .cell.row > p { font-size: 16px; margin-bottom: 0; }
  .bp > .cell.row > .num { margin-bottom: 4px; }
}
@media (max-width: 600px) { .bp > .cell { padding: 22px 20px 24px; } .bp > .cell h3 { font-size: 20px; } }

/* ---------- the X posts, in our own light theme ---------- */
.xc { background: #fff; border: 1px solid rgba(21,18,28,.08); border-radius: 18px; color: var(--t-light); font-family: inherit; box-shadow: 0 18px 34px -24px rgba(0,0,0,.7); }
.xc:hover { background: #fff; border-color: rgba(124,92,214,.55); box-shadow: 0 0 0 3px rgba(198,168,244,.28), 0 18px 34px -22px rgba(0,0,0,.7); }
.xc-av { background: #efecf6; color: var(--t-light); }
.xc-who b { font-weight: 600; letter-spacing: -.01em; }
.xc-who span { color: var(--m-light); }
.xc-x { color: var(--t-light); opacity: .85; }
.xc p { color: #2b2636; }
.xc-foot { border-top-color: rgba(21,18,28,.08); color: var(--m-light); }
.xc-foot em { color: #5a3fb4; background: rgba(124,92,214,.1); font-weight: 500; }
.xc-foot em.loud { color: #c2264f; background: rgba(226,74,110,.1); }
.xc-foot em.early { color: #0f7a50; background: rgba(47,182,124,.13); }
.xc-foot span { color: var(--violet); font-weight: 500; }

/* ---------- get the extension: a thin bar that pulses like the extension's tab ---------- */
.getbar { position: relative; z-index: 2; padding: 26px 32px; background: var(--paper, #f2f0f5); box-shadow: 0 0 0 100vmax var(--paper, #f2f0f5); clip-path: inset(0 -100vmax); }
.gb { position: relative; display: flex; align-items: center; gap: 14px; max-width: 860px; margin: 0 auto; padding: 9px 9px 9px 12px; border-radius: 99px; text-decoration: none; color: var(--t-light);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #9fd6f3, #f3a9d2 48%, #a88bf0) border-box; border: 1.5px solid transparent;
  box-shadow: 0 14px 30px -20px rgba(110,80,200,.55); animation: gbBreath 2.6s ease-in-out infinite; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.gb::after { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; animation: gbPing 2.6s cubic-bezier(.2,.8,.2,1) infinite; }
.gb:hover { transform: translateY(-2px); }
.gb-logo { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e3f2fc, #f7e3f1 50%, #e9defc); }
.gb-logo img { width: 26px; height: 26px; border-radius: 7px; }
.gb-txt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; }
.gb-txt b { font: 700 16px var(--display); letter-spacing: -.01em; white-space: nowrap; }
.gb-txt small { font-size: 13.5px; color: var(--m-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 99px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--ink, #15121c); transition: background .2s; }
.gb-btn i { font-style: normal; animation: gbDrop 1.3s ease-in-out infinite; }
.gb:hover .gb-btn { background: #6a4bd0; }
@keyframes gbBreath { 50% { box-shadow: 0 14px 34px -16px rgba(110,80,200,.75), 0 0 26px rgba(198,168,244,.55); } }
@keyframes gbPing { 0%, 55% { opacity: 1; box-shadow: 0 0 0 0 rgba(198,168,244,.7), 0 0 0 0 rgba(243,189,219,.5); } 100% { opacity: 0; box-shadow: 0 0 0 10px rgba(198,168,244,0), 0 0 0 20px rgba(243,189,219,0); } }
@keyframes gbDrop { 50% { transform: translateY(3px); } }
@media (max-width: 760px) { .getbar { padding: 20px 16px; } .gb-txt { flex-direction: column; gap: 0; } .gb-txt b { font-size: 14px; line-height: 1.15; white-space: normal; } .gb-txt small { display: none; } .gb-btn { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .gb, .gb::after, .gb-btn i { animation: none; } }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* how to add it to Chrome */

.features .bpw.w-feats, .features .feats { margin-bottom: 40px; }

/* ---------- the X bot: light, one thread, nothing else ---------- */
.xbotsec .sec-head h2, .xbotsec .sec-head p b { color: var(--t-light); }
.xbotsec .about-cta { margin-bottom: 88px; }
.xb-solo { max-width: 640px; margin: 0 auto 30px; padding: 0 20px; }
.xb-solo .xt { margin: 0; background: #fff; border: 1px solid rgba(21,18,28,.08); border-radius: 24px; color: var(--t-light); font-family: inherit; box-shadow: 0 0 0 6px rgba(198,168,244,.14), 0 34px 60px -34px rgba(70,45,140,.55); }
.xb-solo .xt-post { padding: 20px 22px; gap: 14px; grid-template-columns: 44px minmax(0, 1fr); }
.xb-solo .xt-post + .xt-post { padding-top: 8px; }
.xb-solo .xt-post:first-child::after { left: 43px; top: 68px; background: #e6e1ef; }
.xb-solo .xt-av { width: 44px; height: 44px; }
.xb-solo .xt-av.you { background: linear-gradient(135deg, #d9d3e6, #bdb4d0); }
.xb-solo .xt-who span { color: var(--m-light); }
.xb-solo .xt-who b { font-weight: 600; }
.xb-solo .xt p { font-size: 16.5px; line-height: 1.45; color: #2b2636; }
.xb-solo .xt p em, .xb-solo .xt p a { color: #6a4bd0; }
.xb-solo .xt-post.bot { animation: xbIn 9s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes xbIn { 0%, 14% { opacity: 0; transform: translateY(10px); } 22%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .xb-solo .xt-post.bot { animation: none; } }

/* ---------- one light surface after the hero, with a line flowing section to section ---------- */
body { background-image: radial-gradient(rgba(124,92,214,.09) 1px, transparent 1.3px); background-size: 24px 24px; }
.flow { position: relative; z-index: 1; height: 128px; margin: -46px auto -52px; display: grid; place-items: center; pointer-events: none; }
.flow svg { display: block; overflow: visible; }
.flow-dash { animation: flowDash 1.6s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) { .flow-dash { animation: none; } }
@media (max-width: 760px) { .flow { height: 96px; margin: -30px auto -36px; } .flow svg { height: 96px; width: 180px; } }
/* narratives, light */
.narrsec .sec-head h2 { color: var(--t-light); }
.bp.nh > .cell.nh-wall { padding: 18px 0 20px; gap: 14px; overflow: hidden; }
.bp.nh > .cell.nh-how { flex-direction: row; gap: 28px; padding: 26px 30px; }
.narrsec .nh-live { color: var(--t-light); }
.narrsec .nh-wall-head b, .narrsec .nh-at { color: var(--m-light); }
.narrsec .xb-way h4 { color: var(--t-light); }
.narrsec .xb-way p { color: var(--m-light); }
.narrsec .nh-sk { background-image: linear-gradient(90deg, #ece8f4, #e0d9ee, #ece8f4); }
.narrsec .xc { box-shadow: 0 16px 30px -24px rgba(70,45,140,.55); }
.narrsec .about-cta { margin-bottom: 72px; }
@media (max-width: 760px) { .bp.nh > .cell.nh-how { flex-direction: column; gap: 16px; padding: 22px; } }
.frame > section.cta.light { background: transparent; }
.getbar { background: none; box-shadow: none; clip-path: none; }
.narrsec .pill.new { color: #5a3fb4; background: rgba(124,92,214,.12); border-color: rgba(124,92,214,.2); }

/* nav: open app beside download */
.nav-ctas { display: flex; align-items: center; gap: 8px; }
.nav .btn.nav-app { background: transparent; color: var(--t-dark); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset; }
.nav .btn.nav-app:hover { background: rgba(255,255,255,.08); }
@media (max-width: 900px) { .nav .btn.nav-app { display: none; } }
@media (max-width: 600px) { .nav .nav-ctas .btn.grad { display: inline-flex; } }

/* the photo or video on the post, as a thumbnail beside the text */
.xc-body { display: flex; gap: 10px; align-items: flex-start; }
.xc-body p { flex: 1; min-width: 0; }
.xc-media { position: relative; flex: none; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; background: #efecf6; border: 1px solid rgba(21,18,28,.08); }
.xc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xc-media.vid::after { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.xc-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the Chrome mark on Add to Chrome buttons */
.btn .cr, .gb-btn .cr { width: 16px; height: 16px; flex: none; border-radius: 50%; }
.btn.sm .cr, .hud .gb-btn .cr { width: 14px; height: 14px; }

/* the wall before the first X read: one centred card, not a stray line in the faded edge */
.xw-empty { align-self: center; display: grid; justify-items: center; gap: 8px; max-width: 460px; margin: 12px auto; padding: 22px 26px; text-align: center; border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 16px 30px -24px rgba(70,45,140,.55); }
.xw-empty p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #4b4557; }
.xw-empty .nh-live { color: #15121c; }
