/* X growth deck, levers 4 to 6 (scenes 16 to 24), builder C. Every selector carries the xb- prefix. */

/* ---------- shared ---------- */
.xb-stack { display: grid; }
.xb-stack > .xb-layer { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; }
.scene .xb-strong { color: var(--s-fg); }
.xb-lbl { font-size: 15px; font-weight: 500; color: #fff; text-shadow: 0 1px 14px rgb(0 0 0 / .8), 0 0 2px rgb(0 0 0 / .6); transition: opacity .6s; }
.xb-lbl--lilac { color: #E4DAFF; }
.xb-lbl--orange { color: #FFB27F; }
.xb-lbl--rose { color: #F3CABD; }
.xb-lbl--aqua { color: #BFF3EC; }
.xb-lbl--b { opacity: 0; }
.xb-lbl--b.is-on { opacity: 1; }
.xb-lbl--chip { padding: 5px 10px; border-radius: 4px; background: rgb(8 8 10 / .72); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); text-shadow: none; }
.xb-only-wide { display: block; }

/* ---------- 16 l4-why ---------- */
.xb-s16 .xg--right { grid-template-columns: minmax(0, 1fr) minmax(0, 22em); }
.xb-s16 .xg--right .xg-side { align-self: center; }

@media (max-width: 959px), (max-height: 599px) {
  .xb-lbl { font-size: 14px; }
  .xb-s16 .xg--right { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .xb-only-wide { display: none; }
  .xb-s16 .xg--right { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- mocks: shared ---------- */
.xb-n { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--xu-fg, #0F1419); }
.xb-bars { display: grid; gap: calc(9px * var(--u)); padding: calc(3px * var(--u)) 0; }
.xb-bars .xu-bar { height: calc(9px * var(--u)); }
.xb-mstack { display: grid; }
.xb-mstack > * { grid-area: 1 / 1; transition: opacity .55s, transform .65s cubic-bezier(.2,.7,.2,1); }
.xb-mstack > :not(.is-on) { opacity: 0; transform: translateY(12px); pointer-events: none; }
.xb-tagrow { display: flex; justify-content: flex-end; padding: 0 calc(16px * var(--u)) calc(12px * var(--u)); }
.xb-tagrow .xg-tag { box-shadow: inset 0 0 0 1px #CFD9DE; color: #536471; }

/* annotation brackets (orange by default) */
.xb-brg { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s calc(var(--k) * .18s); }
.xb-brg.is-on { opacity: 1; }
.xb-br { position: absolute; width: 10px; border: 2px solid var(--cta); border-left: 0; border-radius: 0 4px 4px 0; }
.xb-br--left { border: 2px solid var(--cta); border-right: 0; border-radius: 4px 0 0 4px; }
.xb-br--rose { border-color: #D9826C; }
.xb-brt { position: absolute; font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--s-fg); white-space: normal; text-wrap: balance; }
.xb-brt--left { text-align: right; }

/* the post-detail mock */
.xb-pd { --u: 1; border-radius: calc(16px * var(--u)); box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(15 20 25 / .3); overflow: hidden; width: var(--mw, 460px); }
.xb-pd__head { display: flex; align-items: center; gap: calc(10px * var(--u)); padding: calc(14px * var(--u)) calc(16px * var(--u)) calc(4px * var(--u)); }
.xb-pd__who { flex: 1; display: grid; gap: calc(7px * var(--u)); }
.xb-pd__who .xu-bar--name { width: calc(110px * var(--u)); }
.xb-pd__who .xu-bar { max-width: calc(130px * var(--u)); }
.xb-pd__body { display: grid; gap: calc(9px * var(--u)); padding: calc(8px * var(--u)) calc(16px * var(--u)) calc(10px * var(--u)); }
.xb-pd__first { margin: 0; font-size: max(16px, calc(19px * var(--u))); line-height: 1.3; font-weight: 500; color: var(--xu-fg); }
.xb-part { position: relative; }
.xb-steps .xu-bar { position: relative; margin-left: calc(14px * var(--u)); width: calc(var(--w) - 14px * var(--u)); }
.xb-steps .xu-bar::before { content: ""; position: absolute; left: calc(-13px * var(--u)); top: 50%; width: calc(6px * var(--u)); height: calc(6px * var(--u)); margin-top: calc(-3px * var(--u)); border-radius: 50%; background: #AAB8C2; }
.xb-more { margin-top: 0; font-size: max(14px, calc(15px * var(--u))); }
.xb-pd__meta, .xb-pd__stats { display: flex; align-items: center; gap: calc(12px * var(--u)); margin: 0 calc(16px * var(--u)); padding: calc(12px * var(--u)) 0; border-top: 1px solid var(--xu-line); font-size: max(14px, calc(15px * var(--u))); color: var(--xu-mut); white-space: nowrap; }
.xb-pd__meta .xu-bar, .xb-pd__stats .xu-bar { flex: 0 1 auto; min-width: 6px; width: calc(var(--w) * 3.2); max-width: 30%; }
.xb-pd__v { flex: none; }
.xb-pd__v { display: inline-flex; gap: .3em; align-items: baseline; }
.xb-pd__acts { display: flex; justify-content: space-around; margin: 0 calc(16px * var(--u)); padding: calc(10px * var(--u)) 0 calc(12px * var(--u)); border-top: 1px solid var(--xu-line); color: var(--xu-mut); }
.xb-pd.xb-d1 .xb-pd__body { gap: calc(6px * var(--u)); }
.xb-pd.xb-d1 .xb-bars { gap: calc(6px * var(--u)); }
.xb-pd.xb-d1 .xb-bars .xu-bar { height: calc(7px * var(--u)); }
.xb-pd.xb-d2 .xb-pd__acts, .xb-pd.xb-d2 .xb-play, .xb-pd.xb-d2 .xb-pd__stats > .xu-bar { display: none; }
.xb-pd.xb-d3 .xb-lim .xu-bar:nth-child(n+3) { display: none; }
.xb-pd.xb-d3 .xb-pd__head { padding-top: calc(10px * var(--u)); padding-bottom: 0; }
.xb-pd.xb-d3 .xb-pd__head .xu-ava { --s: 34px !important; }
.xb-pd.xb-d3 .xb-pd__body { gap: calc(5px * var(--u)); padding-top: 4px; padding-bottom: 6px; }
.xb-pd.xb-d3 .xb-bars { gap: calc(5px * var(--u)); padding: 1px 0; }
.xb-pd.xb-d3 .xb-bars .xu-bar { height: 6px; }
.xb-pd.xb-d3 .xb-pd__meta, .xb-pd.xb-d3 .xb-pd__stats { padding: calc(8px * var(--u)) 0; }
.xb-pd.xb-d3 .xb-pd__first { line-height: 1.22; }
.xb-pd.xb-d4 .xb-pd__head { padding: 6px 12px 0; }
.xb-pd.xb-d4 .xb-pd__head .xu-ava { --s: 28px !important; }
.xb-pd.xb-d4 .xb-pd__body { padding: 2px 12px 2px; gap: 3px; }
.xb-pd.xb-d4 .xb-bars { gap: 3px; }
.xb-pd.xb-d4 .xb-bars .xu-bar { height: 5px; }
.xb-pd.xb-d4 .xb-pd__first { font-size: 15px; line-height: 1.15; }
.xb-pd.xb-d4 .xb-pd__meta, .xb-pd.xb-d4 .xb-pd__stats { margin: 0 12px; padding: 3px 0; }
.xb-pd.xb-d4 .xb-more { line-height: 1.15; }
.xb-pd.xb-d4 .xb-pd__meta > .xu-bar { display: none; }
.xb-pd.xb-d4 .xb-more { font-size: 14px; }

/* ---------- 17 l4-proof ---------- */
.xb-s17 .xg-vis { display: grid; align-items: center; justify-items: start; }
.xb-wrap17 { position: relative; }
.xb-old { position: relative; justify-self: start; color: var(--xu-mut); }
.xb-strike { position: absolute; left: -2px; top: 54%; height: 2px; width: 0; background: #D9826C; border-radius: 2px; transition: width .6s cubic-bezier(.6,0,.2,1); }
.xb-old.is-struck .xb-strike { width: calc(100% + 4px); }
.xb-new { min-height: 1.3em; color: var(--xu-fg); }
.xb-pd__likes { gap: 4px calc(10px * var(--u)); flex-wrap: wrap; white-space: nowrap; }
.xb-likes { font-size: 15px; display: inline-flex; align-items: center; gap: .35em; color: var(--xu-mut); transition: opacity .5s, color .5s; }
.xb-likes b { color: inherit; font-weight: 700; }
.xb-heart { display: inline-grid; }
.xb-likes--old { position: relative; }
.xb-likes--old::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: #D9826C; transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.xb-likes--old.is-struck { opacity: .7; }
.xb-likes--old.is-struck::after { transform: none; }
.xb-likes--new { opacity: .35; }
.xb-likes--new.is-on { opacity: 1; color: #F91880; }
.xb-likes--new.is-on .xu-ico path { fill: currentColor; }
.xb-arrow { color: #AAB8C2; display: inline-grid; }
@media (max-width: 959px), (max-height: 599px) { .xb-brt { font-size: 14px; } }
.xb-mstack > * { align-self: start; }

/* low landscape frames: title and side text share the left column, the mock takes the full height on the right */
@media (max-height: 479px) and (orientation: landscape) {
  .xb-s .xg--split { grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, .45fr) minmax(0, .55fr); column-gap: 24px; }
  .xb-s .xg--split .xg-t { grid-column: 1; grid-row: 1; }
  .xb-s .xg--split .xg-side { grid-column: 1; grid-row: 2; align-self: start; }
  .xb-s .xg--split .xg-vis { grid-column: 2; grid-row: 1 / 3; }
}

/* ---------- 18 l4-how ---------- */
.xb-s18 .xg-vis { position: relative; }
.xb-feed { --u: 1; position: absolute; left: 0; top: 0; }
.xb-feed__head { position: absolute; left: 0; line-height: 1.2; font-size: 15px; font-weight: 700; color: #536471; opacity: 0; transition: opacity .5s; white-space: nowrap; }
.xb-feed__head.is-on { opacity: 1; }
.xb-slot { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: calc(14px * var(--u)); transition: transform .9s cubic-bezier(.6,0,.2,1), opacity .6s, filter .6s; will-change: transform; }
.xb-feed.is-instant .xb-slot, .xb-feed.is-instant .xb-shelf, .xb-feed.is-instant .xb-badge, .xb-feed.is-instant .xb-ghost { transition: none !important; }
.xb-fc { position: relative; z-index: 2; flex: 1; min-width: 0; max-width: calc(420px * var(--u)); padding: calc(10px * var(--u)) calc(14px * var(--u)) calc(8px * var(--u)); border-radius: calc(14px * var(--u)); box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 12px 30px -20px rgb(15 20 25 / .35); transition: box-shadow .5s, background .5s; }
.xb-fc__ctx { display: flex; align-items: center; gap: 6px; margin: 0 0 calc(4px * var(--u)) calc(14px * var(--u)); font-size: max(14px, calc(14px * var(--u))); color: #536471; white-space: nowrap; }
.xb-fc__ctx b { font-weight: 700; }
.xb-fc__row { display: flex; gap: calc(10px * var(--u)); align-items: flex-start; }
.xb-fc__body { flex: 1; min-width: 0; }
.xb-fc__text { display: grid; gap: calc(7px * var(--u)); padding-top: calc(3px * var(--u)); }
.xb-fc__more { display: grid; gap: calc(7px * var(--u)); }
.xb-fc .xu-bar { height: calc(8px * var(--u)); }
.xb-fc__first.xu-bar { height: calc(10px * var(--u)); background: #CBD3D9; transition: background .5s, box-shadow .5s; }
.xb-fc__step, .xb-fc__tool, .xb-fc__dot { position: relative; margin-left: calc(14px * var(--u)); width: calc(var(--w) - 14px * var(--u)) !important; }
.xb-fc__step::before, .xb-fc__tool::before, .xb-fc__dot::before { content: ""; position: absolute; left: calc(-14px * var(--u)); top: 50%; width: calc(7px * var(--u)); height: calc(7px * var(--u)); transform: translateY(-50%); background: #AAB8C2; border-radius: 50%; }
.xb-fc__tool::before { border-radius: 2px; background: #C9B7EE; }
.xb-fc__step::before { border-radius: 1px; width: calc(9px * var(--u)); height: 2px; }
.xb-fc__acts { display: flex; gap: calc(26px * var(--u)); margin-top: calc(8px * var(--u)); color: #536471; }
.xb-fc__a { display: inline-flex; align-items: center; gap: 5px; transition: color .3s; }
.xb-fc__a .xu-bar--n { width: calc(24px * var(--u)); height: calc(6px * var(--u)); }
.xb-fc__a--b { margin-left: auto; }
.xb-fc__a--b.is-lift { color: var(--xu-blue); }
.xb-fc__a--v.is-hit { color: var(--xu-blue); }
.xb-fc__mini { display: none; color: #536471; }
.xb-badge { position: relative; z-index: 3; flex: none; display: grid; place-items: center; width: calc(66px * var(--u)); height: calc(66px * var(--u)); min-width: 54px; min-height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -8px rgb(15 20 25 / .35), inset 0 0 0 2px #CFD9DE; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.3,1.5,.5,1), box-shadow .6s; }
.xb-badge b { font-size: max(15px, calc(17px * var(--u))); font-weight: 700; font-variant-numeric: tabular-nums; color: #0F1419; }
.xb-badge.is-on { opacity: 1; transform: none; }
.xb-slot.is-sorted .xb-badge--good { box-shadow: 0 0 0 4px rgb(255 127 50 / .16), 0 0 24px rgb(255 127 50 / .45), inset 0 0 0 2px var(--cta); }
.xb-slot.is-sorted .xb-badge--bad { box-shadow: inset 0 0 0 2px #D9A898; }
.xb-slot.is-sorted.is-bad { opacity: .62; filter: grayscale(1); }
.xb-ghost { position: relative; z-index: 1; flex: none; display: grid; align-content: start; gap: calc(7px * var(--u)); width: calc(150px * var(--u)); padding: calc(14px * var(--u)); border-radius: calc(14px * var(--u)); background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .55); opacity: 0; transform: translateX(-60px) scale(.9); transition: opacity .6s .5s, transform .8s .5s cubic-bezier(.2,.8,.2,1); }
.xb-ghost .xu-bar { height: calc(7px * var(--u)); }
.xb-ghost__first { display: block; height: calc(9px * var(--u)); width: 88%; border-radius: 99px; background: var(--cta); box-shadow: 0 0 12px rgb(255 127 50 / .6); }
.xb-slot.is-sorted .xb-ghost { opacity: 1; transform: none; }
.xb-shelf { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 10px; opacity: 0; transform: scaleX(.6); transform-origin: left; transition: opacity .6s .3s, transform .9s .3s cubic-bezier(.2,.8,.2,1); }
.xb-shelf.is-on { opacity: 1; transform: none; }
.xb-shelf i { display: block; flex: 1; height: 4px; border-radius: 4px; }
.xb-shelf--good i { background: linear-gradient(90deg, var(--cta), #FFB27F); box-shadow: 0 0 18px rgb(255 127 50 / .55), 0 0 4px rgb(255 127 50 / .8); }
.xb-shelf--bad i { background: linear-gradient(90deg, #D9826C, #E8C6BB); }
.xb-shelf span { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.xb-shelf--good span { color: #C2571B; }
.xb-shelf--bad span { color: #85503F; }
.xb-fly { position: absolute; left: 0; top: 0; z-index: 6; display: grid; place-items: center; width: 22px; height: 22px; color: var(--xu-blue, #1D9BF0); filter: drop-shadow(0 0 6px rgb(29 155 240 / .6)); pointer-events: none; }
.xb-hook { position: absolute; left: 0; top: 0; z-index: 4; width: 9px; border: 2px solid var(--cta); border-right: 0; border-radius: 4px 0 0 4px; opacity: 0; transition: opacity .5s; }
.xb-hook.is-on { opacity: 1; }
.xb-slot.is-hook .xb-fc__first.xu-bar { background: var(--cta); box-shadow: 0 0 14px rgb(255 127 50 / .65); }
.xb-slot.is-hook .xb-fc { box-shadow: 0 0 0 1.5px rgb(255 127 50 / .45), 0 16px 34px -18px rgb(255 127 50 / .5); }
/* density: d1 drops the third text bar, d2 collapses each card to one line, d3 hides the ghost */
.xb-feed.xb-d1 .xb-fc__more .xu-bar:nth-child(n+3) { display: none; }
.xb-feed.xb-d2 .xb-fc { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.xb-feed.xb-d2 .xb-fc__ctx { margin: 0; flex: none; order: 2; }
.xb-feed.xb-d2 .xb-fc__row { flex: 1; order: 1; align-items: center; min-width: 0; }
.xb-feed.xb-d2 .xb-fc__row .xu-ava { --s: 26px !important; }
.xb-feed.xb-d2 .xb-fc__more, .xb-feed.xb-d2 .xb-fc__acts { display: none; }
.xb-feed.xb-d2 .xb-fc__mini { display: grid; order: 3; }
.xb-feed.xb-d2 .xb-fc__text { padding: 0; }
.xb-feed.xb-d2 .xb-fc__body { min-width: 24px; }
.xb-feed.xb-d2 .xb-badge { width: 46px; height: 46px; min-width: 46px; min-height: 46px; }
.xb-feed.xb-d2 .xb-badge b { font-size: 15px; }
.xb-feed.xb-d2 .xb-fc__ctx > span { display: none; }
.xb-feed.xb-d2 .xb-slot { gap: 8px; }
.xb-feed.xb-d3 .xb-badge { width: 54px; height: 30px; min-width: 54px; min-height: 30px; border-radius: 99px; }
.xb-feed.xb-d3 .xb-badge b { font-size: 14px; }
.xb-feed.xb-d3 .xb-fc { padding: 3px 8px; }
.xb-feed.xb-d3 .xb-fc__row .xu-ava { --s: 22px !important; }
.xb-feed.xb-d3 .xb-ghost { display: none; }
.xb-feed.xb-d3 .xb-shelf span { font-size: 14px; }

.xb-srcrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.xb-srcrow .xg-src--line { margin-top: 0; }

/* ---------- 3D scenes: stronger bottom scrim on phones ---------- */
@media (max-width: 759px) and (orientation: portrait) {
  .xb-s3d .xg-scrim--top.xg-scrim--bottom, .xb-s16 .xg-scrim--top.xg-scrim--bottom { background: linear-gradient(180deg, rgb(5 5 6 / .9) 0, transparent 30%), linear-gradient(0deg, rgb(5 5 6 / .95) 0, rgb(5 5 6 / .82) 30%, transparent 48%); }
}
/* ---------- 19 l5-why ---------- */
.xb-lbl--spam { padding: 6px 14px; border-radius: 5px; background: #E5484D; color: #fff; font-weight: 700; text-shadow: none; box-shadow: inset 0 0 0 1.5px #ffb3b5, 0 0 26px rgb(229 72 77 / .7); transition: opacity .2s; }

/* ---------- 20 l5-proof ---------- */
.xb-countrow { display: grid; gap: 4px; }
.xb-count { font-size: clamp(44px, 5.4vw, 92px); line-height: 1; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff; }
.xb-count__l { font-size: clamp(15px, 1.25vw, 20px); line-height: 1.35; color: #fff; max-width: 22em; }
.xb-scrim-bl { background: radial-gradient(70% 60% at 0% 100%, rgb(5 5 6 / .92) 0, rgb(5 5 6 / .6) 45%, transparent 75%); }
.xb-s20 .xg--full .xg-side { gap: 10px; }
@media (max-width: 959px), (max-height: 599px) {
  .xb-count { font-size: clamp(34px, 5vw, 48px); }
  .xb-count__l { font-size: 15px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .xb-count { font-size: 40px; }
  .xb-scrim-bl { background: none; }   /* round 5: the side text sits above the wall now, nothing to shade at the bottom */
}

/* ---------- 22 l6-why ---------- */
.xb-s22 .xg--right { grid-template-columns: minmax(0, 1fr) minmax(0, 22em); }
.xb-s22 .xg--right .xg-side { align-self: center; }
@media (max-width: 959px), (max-height: 599px) { .xb-s22 .xg--right { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); } }
@media (max-width: 759px) and (orientation: portrait) { .xb-s22 .xg--right { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 21 l5-how ---------- */
.xb-s21 .xg-vis { display: grid; align-items: center; justify-items: start; }
.xb-wrap21 { position: relative; }
.xb-comp, .xb-uth { width: var(--mw, 460px); box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(15 20 25 / .3); }
.xb-comp .xu-compose__area { gap: calc(12px * var(--u)); }
.xb-cbars { padding-top: calc(6px * var(--u)); }
.xb-baitbox { display: grid; gap: calc(8px * var(--u)); }
.xb-bait { position: relative; justify-self: start; color: var(--xu-fg); transition: opacity .6s, transform .6s, color .6s; transform-origin: left center; }
.xb-bait .xb-strike { top: 55%; }
.xb-bait.is-struck .xb-strike { width: calc(100% + 4px); }
.xb-bait.is-struck { color: #85503F; }
.xb-bait.is-gone { opacity: .42; transform: translateX(-4px); }
.xb-uth { border-radius: calc(16px * var(--u)); overflow: hidden; position: relative; }
.xb-uth__head { display: flex; align-items: center; gap: 14px; padding: calc(16px * var(--u)) calc(18px * var(--u)); border-bottom: 1px solid var(--xu-line); }
.xb-uth__t { display: grid; gap: 2px; }
.xb-uth__t b { font-size: max(17px, calc(21px * var(--u))); font-weight: 800; letter-spacing: -.01em; }
.xb-uth__t span { font-size: max(14px, calc(15px * var(--u))); color: var(--xu-mut); }
.xb-uth__shield { display: grid; place-items: center; padding: calc(18px * var(--u)) 0 calc(8px * var(--u)); }
.xb-uth__shield svg { width: calc(64px * var(--u)); height: calc(64px * var(--u)); }
.xb-uth__row { display: flex; align-items: center; gap: 14px; padding: calc(14px * var(--u)) calc(18px * var(--u)); border-top: 1px solid var(--xu-line); font-size: max(15px, calc(16px * var(--u))); font-weight: 700; }
.xb-uth__ic { display: grid; color: var(--xu-mut); }
.xb-uth__l { flex: 1; }
.xb-none { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px 4px 8px; border-radius: 99px; background: #E3F8EC; color: #00875A; font-size: 15px; font-weight: 700; transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .3s; }
.xb-uth.is-on .xb-none { transform: none; opacity: 1; }
.xb-uth.is-on .xb-uth__row:nth-of-type(1) .xb-none { transition-delay: .9s; }
.xb-uth.is-on .xb-uth__row ~ .xb-uth__row .xb-none { transition-delay: 1.4s; }
.xb-uth__scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgb(29 155 240 / .12), transparent); opacity: 0; pointer-events: none; }
.xb-uth.is-scan .xb-uth__scan { animation: xb-scan 1.6s .3s ease-in-out 1; }
@keyframes xb-scan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(420px); } }
.xb-uth .xb-tagrow { padding-top: calc(10px * var(--u)); }
.xb-uth.xb-d1 .xb-uth__shield { display: none; }
.xb-uth.xb-d2 .xb-uth__head { padding: 10px 14px; }
.xb-uth.xb-d2 .xb-uth__row { padding: 9px 14px; }
.xb-uth.xb-d2 .xb-tagrow { padding: 8px 14px 10px; }
.xb-comp.xb-narrow .xu-compose__tools > :nth-child(n+3) { display: none; }
@media (prefers-reduced-motion: reduce) { .xb-uth__scan { display: none; } }

/* ---------- 24 l6-how ---------- */
.xb-s24 .xg-vis { display: grid; align-items: center; justify-items: end; }
.xb-s24 .xg--split .xg-side { align-self: center; }
.xb-s24 .xb-brt--left { white-space: nowrap; }
.xb-s24 .xb-brt--right { white-space: normal; }
@media (max-height: 479px) and (orientation: landscape) { .xb-s24 .xg--split { grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); } }
.xb-wrap24 { position: relative; }
.xb-prof { border-radius: calc(16px * var(--u)); box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(15 20 25 / .3); }
.xb-prof .xu-prof__banner { aspect-ratio: 3.4 / 1; }
.xb-prof .xu-prof__stats { display: none; }
.xb-prof .xu-prof__pinned { padding-top: 4px; }
.xb-prof .xu-post { border-bottom: 0; }
.xb-pin .xu-media { aspect-ratio: 2.4 / 1; }
.xb-prof .xu-prof__edit .xg-tag { box-shadow: inset 0 0 0 1px #CFD9DE; color: #536471; }
.xb-prof.xb-narrow .xu-acts .xu-bar--n, .xb-prof.xb-narrow .xu-a--share { display: none; }
.xb-prof.xb-narrow .xu-acts { justify-content: space-between; }
.xb-flip { position: relative; perspective: 1200px; display: grid; }
.xb-flip__a, .xb-flip__b { grid-area: 1 / 1; backface-visibility: hidden; transition: transform .45s cubic-bezier(.5,0,.2,1), opacity .25s; transform-style: preserve-3d; }
.xb-flip__b { transform: rotateY(-180deg); opacity: 0; align-self: center; padding: 6px 12px 10px; }
.xb-flip.is-flipped .xb-flip__a { transform: rotateY(180deg); opacity: 0; }
.xb-flip.is-flipped .xb-flip__b { transform: none; opacity: 1; }
.xb-anl { box-shadow: inset 0 0 0 1px var(--xu-line); }
.xb-anl .xu-anl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xb-anl .xu-anl__cell:last-child { border-right: 0; }
.xb-prof.xb-d1 .xu-prof__banner { aspect-ratio: 4.6 / 1; }
.xb-prof.xb-d1 .xb-pin .xu-media { aspect-ratio: 3.4 / 1; }
.xb-prof.xb-d2 .xb-pin .xu-media { display: none; }
.xb-prof.xb-d2 .xb-pin .xu-acts { margin-top: 6px; }
.xb-prof.xb-d3 .xu-prof__banner { aspect-ratio: 6 / 1; }
.xb-prof.xb-d3 .xu-prof__top { height: calc(30px * var(--u)); }
.xb-prof.xb-d3 .xu-prof__ava .xu-ava { --s: 60px !important; }
.xb-prof.xb-d3 .xu-prof__ava { margin-top: calc(-34px * var(--u)); }
.xb-prof.xb-d3 .xu-pinned { margin-bottom: 0; }
.xb-prof.xb-d3 .xb-flip__b { padding: 2px 8px 6px; }
.xb-prof.xb-d3 .xu-prof__bio { padding-top: 6px; }
.xb-prof.xb-d3 .xu-prof__link { padding-top: 6px; padding-bottom: 6px; }
.xb-prof.xb-d3 .xu-post { padding-top: 6px; padding-bottom: 4px; }
.xb-prof.xb-d3 .xu-acts { margin-top: 6px; }
.xb-prof.xb-d4 .xu-prof__banner { display: none; }
.xb-prof.xb-d4 .xu-prof__top { height: auto; padding-top: 10px; align-items: center; }
.xb-prof.xb-d4 .xu-prof__ava { margin-top: 0; padding: 0; }
.xb-prof.xb-d4 .xu-prof__ava .xu-ava { --s: 40px !important; }
.xb-prof.xb-d4 .xu-prof__edit { margin-top: 0; }
.xb-prof.xb-d4 { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.xb-prof.xb-d4 > * { grid-column: 1 / -1; min-width: 0; }
.xb-flip > * { min-width: 0; }
.xb-prof .xu-acts { min-width: 0; }
.xb-prof .xu-a { flex-shrink: 1; }
.xb-prof.xb-d4 .xu-prof__top { grid-column: 1; grid-row: 1; padding: 8px 0 0 12px; }
.xb-prof.xb-d4 .xu-prof__ava .xu-ava { --s: 34px !important; }
.xb-prof.xb-d4 .xu-prof__pinned { padding-top: 2px; }
.xb-prof.xb-d4 .xu-acts { margin-top: 4px; }
.xb-prof.xb-d4 .xu-pinned { margin-bottom: 2px; }
.xb-prof.xb-d4 .xu-prof__edit { display: none; }
.xb-prof.xb-d4 .xu-prof__id { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; padding: 8px 12px 0 10px; line-height: 1.2; }
.xb-prof.xb-d4 .xu-prof__name { font-size: 16px; }
.xb-prof.xb-d4 .xu-prof__bio { padding: 4px 12px 0; }
.xb-prof.xb-d4 .xu-prof__link { padding: 4px 12px 4px; }
.xb-prof.xb-d4 .xu-pinned { margin-left: 12px; }
.xb-prof.xb-d4 .xu-post { padding: 4px 12px 4px; }
.xb-prof.xb-d4 .xu-post .xu-gutter .xu-ava { --s: 30px !important; }
.xb-prof .xb-tag4 { display: none; margin-left: auto; margin-right: 12px; font-weight: 500; }
.xb-prof.xb-d4 .xb-tag4 { display: inline-flex; }
.xb-prof .xb-tag4 .xg-tag { height: 24px; box-shadow: inset 0 0 0 1px #CFD9DE; color: #536471; }
.xb-prof.xb-d4 .xb-pin .xu-head { display: none; }
.xb-prof.xb-narrow .xu-anl__grid { grid-template-columns: 1fr; }
.xb-prof.xb-narrow .xu-anl__cell { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 12px; border-right: 0; }
.xb-prof.xb-narrow .xu-anl__v, .xb-prof.xb-d4 .xu-anl__v { font-size: 20px; }
.xb-prof.xb-d4:not(.xb-narrow) .xu-anl__cell { padding: 6px 8px; gap: 2px; }
.xb-prof.xb-d4.xb-low .xu-anl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xb-prof.xb-d4.xb-low .xu-anl__cell { display: grid; padding: 6px 8px; gap: 2px; border-right: 1px solid var(--xu-line); }
.xb-prof.xb-d4.xb-low .xu-anl__l { font-size: 14px; line-height: 1.15; }
.xb-prof.xb-d4.xb-low .xu-anl__v { font-size: 18px; }
.xb-prof.xb-narrow .xu-anl__head, .xb-prof.xb-d4 .xu-anl__head { padding: 8px 12px; font-size: 17px; }
.xb-prof.xb-narrow .xb-pin .xu-gutter, .xb-prof.xb-narrow .xu-a__end, .xb-prof.xb-narrow .xu-prof__link > span:first-child { display: none; }
.xb-prof.xb-narrow .xu-a__i { width: 28px; height: 28px; margin: -4px; }
.xb-prof.xb-d3 .xu-anl__head { padding: 8px 12px; }
.xb-prof.xb-d3 .xu-anl__cell { padding: 8px 10px; }
@media (max-width: 759px) and (orientation: portrait) { .xb-s24 .xg-vis { justify-items: start; } }

.xb-prof.xb-low .xu-acts .xu-bar--n { display: none; }

/* ---------- 23 l6-proof ---------- */
.xb-s23 .xg-vis { position: relative; }
.xb-flowcv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.xb-l23 { --u: 1; position: absolute; inset: 0; display: grid; align-items: center; transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1); }
.xb-l23:not(.is-on) { opacity: 0; pointer-events: none; }
.xb-l23--1:not(.is-on) { transform: scale(.94); }
.xb-l23--2:not(.is-on) { transform: translateY(14px); }
.xb-flowtag { position: absolute; left: 0; top: 0; z-index: 4; }
.xb-flowtag .xg-tag { background: #fff; box-shadow: inset 0 0 0 1px #CFD9DE; color: #536471; }
/* wide: card | flow | counter ; beat 2: summary | app card | flow | metrics */
.xg-vis.xb-wide .xb-l23--1 { grid-template-columns: minmax(0, calc(400px * var(--u))) minmax(120px, 1fr) minmax(0, calc(300px * var(--u))); }
.xg-vis.xb-wide .xb-l23--1 > .xb-ctr { grid-column: 3; }
.xg-vis.xb-wide .xb-l23--2 { grid-template-columns: minmax(0, calc(250px * var(--u))) minmax(0, calc(330px * var(--u))) minmax(90px, 1fr) minmax(0, calc(280px * var(--u))); grid-template-rows: auto auto; column-gap: calc(36px * var(--u)); align-content: center; }
.xg-vis.xb-wide .xb-l23--2 > .xb-sum { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.xg-vis.xb-wide .xb-l23--2 > .xb-apphead { grid-column: 2 / 5; grid-row: 1; }
.xg-vis.xb-wide .xb-l23--2 > .xb-mp { grid-column: 2; grid-row: 2; }
.xg-vis.xb-wide .xb-l23--2 > .xb-met { grid-column: 4; grid-row: 2; }
/* narrow: everything in two columns, smaller */
.xg-vis.xb-narrow .xb-l23--1 { grid-template-columns: minmax(0, 58fr) minmax(0, 8fr) minmax(0, 34fr); }
.xg-vis.xb-narrow .xb-l23--1 > .xb-ctr { grid-column: 3; }
.xg-vis.xb-narrow .xb-l23--2 { grid-template-columns: minmax(0, 50fr) minmax(0, 5fr) minmax(0, 45fr); grid-template-rows: auto auto auto; row-gap: 6px; align-content: center; }
.xg-vis.xb-narrow .xb-l23--2 > .xb-sum { grid-column: 1 / 4; grid-row: 1; }
.xg-vis.xb-narrow .xb-l23--2 > .xb-apphead { grid-column: 1 / 4; grid-row: 2; }
.xg-vis.xb-narrow .xb-l23--2 > .xb-mp { grid-column: 1; grid-row: 3; }
.xg-vis.xb-narrow .xb-l23--2 > .xb-met { grid-column: 3; grid-row: 3; }
/* the mini profile */
.xb-mp { border-radius: calc(16px * var(--u)); overflow: hidden; box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(15 20 25 / .3); }
.xb-mp__banner { aspect-ratio: 4 / 1; }
.xb-mp__top { display: flex; align-items: flex-end; gap: calc(10px * var(--u)); padding: 0 calc(14px * var(--u)); margin-top: calc(-24px * var(--u)); }
.xb-mp__ava { padding: 3px; background: #fff; border-radius: 50%; }
.xb-mp__ava .xu-ava { --s: calc(56px * var(--u)) !important; }
.xb-mp__who { flex: 1; display: grid; gap: 6px; padding-bottom: 6px; }
.xb-mp__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: calc(10px * var(--u)) calc(14px * var(--u)) 0; }
.xb-mp__lab, .xb-ctr__lab { font-size: 15px; color: #536471; font-weight: 500; }
.xb-mp__pin { display: grid; gap: calc(6px * var(--u)); margin-top: calc(10px * var(--u)); padding: calc(10px * var(--u)) calc(14px * var(--u)) calc(14px * var(--u)); border-top: 1px solid #EFF3F4; }
.xb-mp__pinrow { display: flex; align-items: center; gap: 6px; color: #536471; }
.xb-mp__text { font-size: max(15px, calc(17px * var(--u))); font-weight: 700; color: #0F1419; }
.xb-mp__cover { position: relative; aspect-ratio: 2.3 / 1; border-radius: calc(12px * var(--u)); overflow: hidden; border: 1px solid #EFF3F4; }
.xb-covertag { position: absolute; right: 8px; bottom: 8px; }
.xb-covertag .xg-tag { background: rgb(255 255 255 / .92); color: #536471; }
.xb-mp__cover--apps { display: grid; place-items: center; background: #F7F9F9; }
.xb-apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: calc(8px * var(--u)); padding: 0 calc(12px * var(--u)); width: 100%; }
.xb-apps i { aspect-ratio: 1; border-radius: 26%; background: radial-gradient(circle, rgb(0 0 0 / .18) 1.2px, transparent 1.5px) 0 0 / 5px 5px, var(--c); box-shadow: 0 6px 12px -8px rgb(0 0 0 / .4); }
/* counters */
.xb-ft { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.xb-ft__from { font-size: 15px; color: #8B98A5; }
.xb-ft__arr { color: #AAB8C2; align-self: center; display: inline-grid; }
.xb-ft__to { font-size: max(18px, calc(22px * var(--u))); font-weight: 700; color: #0F1419; }
.xb-ft--big .xb-ft__to { font-size: max(28px, calc(52px * var(--u))); letter-spacing: -.02em; color: var(--cta); }
.xb-ctr { display: grid; gap: calc(8px * var(--u)); align-content: center; padding: calc(18px * var(--u)); border-radius: calc(16px * var(--u)); background: #fff; box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(255 127 50 / .45), inset 0 0 0 1.5px rgb(255 127 50 / .35); }
.xb-ctr__months { display: grid; gap: 6px; font-size: 15px; color: #536471; }
.xb-ticks { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; }
.xb-ticks i { height: 8px; border-radius: 2px; background: #EFF3F4; transition: background .3s; }
.xb-ticks i.is-on { background: var(--cta); }
.xb-sum { display: grid; gap: calc(6px * var(--u)); padding: calc(14px * var(--u)); border-radius: calc(16px * var(--u)); box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 12px 30px -20px rgb(15 20 25 / .3); opacity: .92; }
.xb-sum__top { display: flex; align-items: center; gap: 10px; }
.xb-sum__l { margin: 0; font-size: 15px; color: #536471; }
.xb-sum__l b { color: #0F1419; font-weight: 700; font-size: max(16px, calc(19px * var(--u))); }
.xb-apphead { margin: 0 0 calc(8px * var(--u)); font-size: max(15px, calc(19px * var(--u))); font-weight: 500; color: #0F1419; }
.xb-met { display: grid; gap: calc(14px * var(--u)); align-content: center; padding: calc(16px * var(--u)); border-radius: calc(16px * var(--u)); background: #fff; box-shadow: 0 1px 2px rgb(15 20 25 / .06), 0 18px 44px -24px rgb(255 127 50 / .45), inset 0 0 0 1.5px rgb(255 127 50 / .35); }
.xb-met__row { display: grid; gap: 2px; }
.xb-met .xb-ft__to { color: var(--cta); font-size: max(20px, calc(28px * var(--u))); }
.xb-mp--sm .xb-mp__banner { aspect-ratio: 5 / 1; }
/* narrow tweaks */
.xg-vis.xb-narrow .xb-mp__banner { aspect-ratio: 5 / 1; }
.xg-vis.xb-narrow .xb-mp__pin { padding: 8px 10px 10px; margin-top: 6px; }
.xg-vis.xb-narrow .xb-mp__stat { padding: 6px 10px 0; }
.xg-vis.xb-narrow .xb-mp__top { padding: 0 10px; }
.xg-vis.xb-narrow .xb-ctr, .xg-vis.xb-narrow .xb-met { padding: 10px; gap: 6px; }
.xg-vis.xb-narrow .xb-ft--big .xb-ft__to { font-size: 26px; }
.xg-vis.xb-narrow .xb-met .xb-ft__to { font-size: 18px; }
.xg-vis.xb-narrow .xb-sum { grid-template-columns: auto auto auto; align-items: center; column-gap: 12px; padding: 8px 10px; }
.xg-vis.xb-narrow .xb-sum__top .xu-bar { display: none; }
.xg-vis.xb-narrow .xb-sum .xg-src--line { grid-column: 2 / 4; margin: 0; }
.xg-vis.xb-narrow .xb-apphead { margin: 0; font-size: 15px; }
.xg-vis.xb-narrow .xb-apps { gap: 4px; padding: 0 6px; grid-template-columns: repeat(3, 1fr); }
.xg-vis.xb-narrow .xb-mp__cover--apps { aspect-ratio: auto; padding: 6px 0; }
/* the stage layout in low landscape frames: title and side on the left, the visual on the right */
@media (max-height: 539px) and (orientation: landscape) {
  .xb-s23 .xg--stage { grid-template-columns: minmax(0, .4fr) minmax(0, .6fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 24px; }
  .xb-s23 .xg--stage .xg-t { grid-column: 1; grid-row: 1; }
  .xb-s23 .xg--stage .xg-side { grid-column: 1; grid-row: 2; grid-auto-flow: row; max-width: none; align-self: start; }
  .xb-s23 .xg--stage .xg-vis { grid-column: 2; grid-row: 1 / 3; }
}

.xb-pintag { display: none; }
.xb-pintag .xg-tag, .xg-vis.xb-narrow .xb-flowtag .xg-tag { height: 24px; box-shadow: inset 0 0 0 1px #CFD9DE; color: #536471; background: #fff; }
.xg-vis.xb-narrow .xb-flowtag { position: static; justify-self: start; }
.xg-vis.xb-narrow .xb-l23 { align-content: center; }
/* narrow densities: d1 drops the banners, d2 turns the cover into a thumbnail, d3 tightens everything */
.xb-l23.xb-d1 .xb-mp__banner { display: none; }
.xb-l23.xb-d1 .xb-mp__top { margin-top: 0; padding-top: 8px; align-items: center; }
.xb-l23.xb-d1 .xb-mp__ava .xu-ava { --s: 34px !important; }
.xb-l23.xb-d1 .xb-mp__ava { padding: 0; }
.xb-l23.xb-d1 .xb-mp__who { padding-bottom: 0; }
.xb-l23.xb-d2 .xb-mp__pin { grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.xb-l23.xb-d2 .xb-mp__pinrow { grid-column: 1 / -1; }
.xb-l23.xb-d2 .xb-mp__cover { grid-column: 1; grid-row: 2 / 4; aspect-ratio: 1; border-radius: 8px; }
.xb-l23.xb-d2 .xb-mp__text { grid-column: 2; grid-row: 2; }
.xb-l23.xb-d2 .xb-covertag { display: none; }
.xb-l23.xb-d2 .xb-pintag { display: block; grid-column: 2; grid-row: 3; }
.xb-l23.xb-d2 .xb-mp__cover--apps { grid-column: 1 / -1; grid-row: 2; aspect-ratio: auto; padding: 6px 0; }
.xb-l23.xb-d2 .xb-apps { grid-template-columns: repeat(6, 1fr); }
.xb-l23.xb-d2 .xb-ticks i { height: 6px; }
.xb-l23.xb-d3 .xb-mp__pin { margin-top: 4px; padding: 6px 10px 8px; gap: 4px; }
.xb-l23.xb-d3 .xb-mp__stat { padding-top: 4px; }
.xb-l23.xb-d3 .xb-ctr, .xb-l23.xb-d3 .xb-met { padding: 8px; gap: 4px; }
.xb-l23.xb-d3 .xb-met__row { gap: 0; }
.xb-l23.xb-d3 .xb-sum { padding: 6px 10px; gap: 2px 12px; }
.xb-l23.xb-d3 .xb-ft--big .xb-ft__to { font-size: 24px; }
.xg-vis.xb-narrow .xb-sum { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); }
.xg-vis.xb-narrow .xb-sum__l b { font-size: 16px; }

.xb-ctr > *, .xb-met > *, .xb-mp > * { min-width: 0; }
.xb-ticks { width: 100%; }
.xg-vis.xb-narrow .xb-met .xb-ft { flex-wrap: wrap; gap: 0 4px; white-space: nowrap; }
.xg-vis.xb-narrow .xb-met .xb-ft__from { font-size: 14px; }
.xg-vis.xb-narrow .xb-met .xb-ft__to { font-size: 16px; }
.xg-vis.xb-narrow .xb-met .xb-ft__arr svg { width: 12px; height: 12px; }
.xg-vis.xb-narrow .xb-met { gap: 4px; }
.xg-vis.xb-narrow .xb-met__row { gap: 0; }
.xg-vis.xb-narrow .xb-sum { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); row-gap: 0; }
.xg-vis.xb-narrow .xb-sum__l { line-height: 1.25; }
.xg-vis.xb-narrow .xb-l23--2:not(.xb-d2) .xb-apps { grid-template-columns: repeat(3, 1fr); }
.xb-flowtag .xg-tag { white-space: nowrap; }

.xb-sum.xb-out { transition: opacity .6s; display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; background: none; box-shadow: none; opacity: 1; }
.xb-sum.xb-out:not(.is-on) { opacity: 0; }
.xb-sum.xb-out .xb-sum__top { display: none; }
.xb-sum.xb-out .xg-src--line { margin: 2px 0 0; }
.xb-sum.xb-out .xb-sum__l b { font-size: 16px; }
.xb-s23 .xg-side { position: relative; }
.xb-s23 .xg-side > .xb-sum.xb-out { position: absolute; left: 0; right: 0; top: 0; }

.xb-s23 .xg-side > .xb-layer[data-hide]:not(.is-on) { display: none; }

.xb-s22 .xg-scrim--right { background: linear-gradient(270deg, rgb(5 5 6 / .94) 0, rgb(5 5 6 / .8) 26%, rgb(5 5 6 / .35) 42%, transparent 56%); }

.xb-feed.xb-thin .xb-ghost { display: none; }

.xb-srcrow .xb-flowtag { position: static; transform: none !important; }
@media (max-height: 479px) and (orientation: landscape) { .xb-s23 .xg--stage { grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); } }
/* review 3: the stream runs under the cards; phones stack the counter under the profile */
.xb-flowcv { z-index: 0; }
.xb-l23 { z-index: 1; }
.xb-met__rows { display: grid; gap: calc(14px * var(--u)); }
.xg-vis.xb-narrow .xb-met__rows { gap: 4px; }
.xg-vis.xb-ph .xb-l23--1 { grid-template-columns: minmax(0, 1fr); row-gap: 30px; align-content: center; }
.xg-vis.xb-ph .xb-l23--1 > .xb-ctr { grid-column: 1; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
.xg-vis.xb-ph .xb-l23--1 > .xb-ctr .xb-ctr__lab { grid-column: 1 / -1; }
.xg-vis.xb-ph .xb-l23--2 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; row-gap: 8px; align-items: start; }
.xg-vis.xb-ph .xb-l23--2 > .xb-sum, .xg-vis.xb-ph .xb-l23--2 > .xb-apphead { grid-column: 1; }
.xg-vis.xb-ph .xb-l23--2 > .xb-mp { grid-column: 1; grid-row: 3; }
.xg-vis.xb-ph .xb-l23--2 > .xb-met { grid-column: 1; grid-row: 4; margin-top: 22px; }
.xg-vis.xb-ph .xb-met__rows { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; align-items: end; }
.xg-vis.xb-ph .xb-met .xb-ctr__lab { font-size: 14px; line-height: 1.2; }
.xg-vis.xb-ph .xb-met .xb-ft__to { font-size: 17px; }

/* narrow landscape: metrics as label and value lines; the flow tag joins the summary under the title */
.xg-vis.xb-narrow:not(.xb-ph) .xb-met { gap: 4px; }
.xg-vis.xb-narrow:not(.xb-ph) .xb-met .xb-ctr__lab { line-height: 1.15; }
.xg-vis.xb-narrow:not(.xb-ph) .xb-met .xb-ft__to { font-size: 17px; line-height: 1.2; }
.xb-s23 .xg-side > .xb-flowtag { position: static; transform: none !important; margin-top: 8px; justify-self: start; }
.xb-flowtag.xb-off { opacity: 0; } .xb-s23 .xg-side > .xb-flowtag { transition: opacity .6s; }
.xb-sum > .xb-flowtag { position: static; transform: none !important; margin-top: 6px; justify-self: start; }
.xb-sum.xb-out { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.xb-sum.xb-out .xb-sum__l { flex-basis: 100%; }
.xb-sum.xb-out > .xb-flowtag { margin-top: 2px; }

/* round 5: beat 2 source lines live in the side column; hide them in beat 1 */
.xb-s23 .xg-side > .xb-layer[data-show]:not(.is-on) { display: none; }

/* round 5b: when the summary moves into the side column it sits in the flow, above beat 2's source lines */
.xb-s23 .xg-side > .xb-sum.xb-out { position: static !important; order: -1; }
.xb-s23 .xg-side > .xb-sum.xb-out:not(.is-on) { display: none; }
/* round 5b: in the shortest frames the text column is wider and beat 2's two source lines share one row */
@media (max-height: 439px) and (orientation: landscape) {
  .xb-s23 .xg--stage { grid-template-columns: minmax(0, .54fr) minmax(0, .46fr) !important; }
  .xb-s23 .xg-side > .xb-layer[data-show].is-on { display: flex; flex-wrap: wrap; column-gap: 14px; }
  .xb-s23 .xg-side > .xb-layer[data-show] .xg-src--line { margin-top: 0; }
}
.xb-s23 .xg-side .xb-layer > .xb-flowtag { position: static !important; transform: none !important; justify-self: start; margin-top: 4px; }
