/* X growth deck, builder A (ch-open.js): cover, es-score, es-start, es-money, levers, ryze, ryze-how, close.
 * Every selector starts with xo-. Satoshi only, digits tabular, nothing under 14 px. */

/* ---------------------------------------------------------------- 1 cover */
.xo-cover__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 100%, rgb(5 5 6 / .92) 0, rgb(5 5 6 / .7) 30%, rgb(5 5 6 / 0) 62%),
    linear-gradient(180deg, rgb(5 5 6 / .7) 0, rgb(5 5 6 / 0) 18%); }
.scene .xg--full.xo-cover { grid-template-rows: minmax(0, 1fr) auto auto; row-gap: 0; }
.xo-cover .xo-cover__brand { grid-row: 2; align-self: end; margin: 0 0 clamp(10px, 1.6vh, 18px); font-size: clamp(72px, 9.4vw, 168px); line-height: .9; letter-spacing: -.045em; font-weight: 500; color: #fff;
  text-shadow: 0 0 60px rgb(255 127 50 / .25); }
.xo-cover .xg-t { grid-row: 3; max-width: 17em; font-size: clamp(24px, 2.3vw, 38px); line-height: 1.15; color: rgb(255 255 255 / .86); }
@media (max-width: 959px), (max-height: 599px) {
  .xo-cover .xo-cover__brand { font-size: clamp(56px, 11vh, 96px); margin-bottom: 8px; }
  .xo-cover .xg-t { font-size: 24px; max-width: 20em; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .xo-cover .xo-cover__brand { font-size: clamp(60px, 19vw, 88px); }
  .xo-cover .xg-t { font-size: 24px; }
  .xo-cover__scrim { background: linear-gradient(0deg, rgb(5 5 6 / .94) 0, rgb(5 5 6 / .75) 26%, rgb(5 5 6 / 0) 52%), linear-gradient(180deg, rgb(5 5 6 / .7) 0, rgb(5 5 6 / 0) 16%); }
}

/* ---------------------------------------------------------------- shared: swapping copy, 3D labels */
.xo-swap { display: grid; align-items: end; }
.xo-swap .xg-src--line { margin-top: 10px; }
.xo-swap > * { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.xo-swap > [data-show]:not(.is-on), .xo-swap > [data-hide]:not(.is-on) { opacity: 0; transform: translateY(6px); visibility: hidden; }
.xo-scene .xg-side .xg-note { color: rgb(255 255 255 / .84); }
.theme-xlight.xo-scene .xg-side .xg-note, .theme-claude.xo-scene .xg-side .xg-note { color: var(--s-fg); }
.xo-lab { opacity: 0; transition: opacity .5s var(--ease); font-size: 15px; color: #fff; }
.xo-lab.xo-on { opacity: 1; }
.xo-lab:not(.xo-on) { visibility: hidden !important; }
.xo-lab--pool { color: rgb(255 255 255 / .9); }
.xo-lab--share { color: #FFB27A; }
.xo-lab--reply { color: var(--c-aqua, #9CE7DD); }
.xo-lab--follow { color: #F2B8C9; }
.xo-lab--like { color: #fff; }
.xo-lab--feed { color: #FFD2B0; font-size: 16px; padding: 4px 10px; border-radius: 4px; background: rgb(5 5 6 / .78); box-shadow: 0 0 0 1px rgb(255 210 176 / .25); }
@media (max-width: 959px), (max-height: 599px) { .xo-lab { font-size: 15px; } }

/* ---------------------------------------------------------------- 2 es-score */
@media (max-width: 959px), (max-height: 599px) {
  .scene .xg--right.xo-score { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene .xg--right.xo-score { grid-template-columns: minmax(0, 1fr); }
}
.xo-lab--chip { padding: 1px 8px; border-radius: 4px; background: rgb(5 5 6 / .72); text-shadow: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }

/* ---------------------------------------------------------------- 4 es-money */
.xo-cap { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.35; font-weight: 500; color: #fff; }
.xo-dune { display: grid; justify-items: center; gap: 1px; text-align: center; font-variant-numeric: tabular-nums; }
.xo-dune b { font-weight: 500; color: #fff; }
.xo-dune span { color: rgb(255 255 255 / .72); }
.xo-lab--buyer { color: #FFB27A; }
@media (max-width: 959px), (max-height: 599px) { .xo-cap { font-size: 15px; } }
.xo-stack { display: grid; gap: 10px; align-content: end; }
.xo-stack .xg-src--line { margin-top: 0; }
@media (max-width: 959px), (max-height: 599px) {
  .scene .xg--full.xo-money { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); column-gap: 24px; }
  .xo-money .xg-t { grid-column: 1 / -1; }
  .xg--full.xo-money .xg-side { grid-column: 2; grid-row: 2 / 4; align-self: center; max-width: none; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene .xg--full.xo-money { grid-template-columns: minmax(0, 1fr); }
  .xg--full.xo-money .xg-side { grid-column: 1; grid-row: 2; }
}

/* ---------------------------------------------------------------- 5 levers */
.xo-lv { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; font-size: 15px; line-height: 1.2; font-weight: 500; color: #fff; text-align: center; text-wrap: balance; width: max-content; will-change: transform; text-shadow: 0 1px 8px rgb(0 0 0 / .7); }
.xo-lv--hot { color: #FFF3EA; }
.xo-ax { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: rgb(255 255 255 / .74); white-space: nowrap; }
.xo-ax span { white-space: nowrap; }
.xo-ax i { position: relative; flex: 1; min-width: 24px; min-height: 24px; }
.xo-ax i::before { content: ""; position: absolute; background: rgb(255 255 255 / .38); }
.xo-ax i::after { content: ""; position: absolute; width: 7px; height: 7px; border-color: rgb(255 255 255 / .6); border-style: solid; border-width: 1px 1px 0 0; }
/* horizontal: text, then a line with an arrow to the right */
.xo-ax--h i::before { left: 0; right: 0; top: 50%; height: 1px; }
.xo-ax--h i::after { right: 0; top: calc(50% - 4px); transform: rotate(45deg); }
/* vertical importance axis (desktop): the text reads upwards, the line rises to an arrow */
.xo-ax--imp.xo-ax--v { flex-direction: column-reverse; justify-content: flex-start; gap: 8px; }
.xo-ax--imp.xo-ax--v span { writing-mode: vertical-rl; transform: rotate(180deg); }
.xo-ax--imp.xo-ax--v i { width: 12px; min-width: 0; }
.xo-ax--imp.xo-ax--v i::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.xo-ax--imp.xo-ax--v i::after { top: 0; left: calc(50% - 3px); transform: rotate(-45deg); }
/* effort axis: horizontal under the columns, or vertical on phones (Less effort above the rows, More effort below) */
.xo-ax--eff { opacity: 0; transition: opacity .6s var(--ease); }
.xo-ax--eff.xo-on { opacity: 1; }
.xo-ax--eff:not(.xo-on) { visibility: hidden; }
.xo-ax--eff.xo-ax--v { flex-direction: column; align-items: flex-start; gap: 4px; }
.xo-ax--eff.xo-ax--v i { width: 12px; min-width: 0; flex: 1; }
.xo-ax--eff.xo-ax--v i::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.xo-ax--eff.xo-ax--v i::after { bottom: 0; left: calc(50% - 3px); transform: rotate(135deg); }

/* ---------------------------------------------------------------- 36 close */
.xo-close__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgb(5 5 6 / .9) 0, rgb(5 5 6 / .62) 22%, rgb(5 5 6 / 0) 42%), linear-gradient(180deg, rgb(5 5 6 / .6) 0, rgb(5 5 6 / 0) 14%); }
.scene .xg--full.xo-close { grid-template-rows: minmax(0, 1fr) auto; justify-items: center; }
.xo-close .xg-t { grid-row: 2; justify-self: center; text-align: center; max-width: 18em; font-size: clamp(28px, 3.3vw, 54px); }
@media (max-width: 959px), (max-height: 599px) { .xo-close .xg-t { font-size: clamp(24px, 3.6vw, 34px); } }
@media (max-width: 759px) and (orientation: portrait) { .xo-close .xg-t { font-size: 26px; } }

/* ---------------------------------------------------------------- 3 es-start */
.xo-start__cols { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(20px, 3vw, 48px); align-items: start; align-content: start; }
.xo-start__srow { grid-column: 1 / -1; }
.xo-start__srow:empty { display: none; }
.xo-start__col { display: grid; gap: 10px; align-content: start; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.xo-start__h { font-size: 15px; font-weight: 500; color: #536471; transition: opacity .6s var(--ease); }
.xo-start__tl { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px #E6ECF0, 0 20px 40px -24px rgb(15 20 25 / .28); --u: 1; transition: opacity .6s var(--ease), filter .6s; }
.xo-start__tl .xu-post:last-child { border-bottom: 0; }
.xo-start .xu-media { aspect-ratio: 16 / 7.5; }
.xo-start__own .xu-media { aspect-ratio: 16 / 8; }
.xo-start__v { color: #0F1419; }
.xo-start__v .xu-n { font-weight: 700; color: #0F1419; }
.xo-start__rw { position: relative; }
.xo-start__rw::after { content: ""; position: absolute; inset: 4px 6px; border-radius: 14px; pointer-events: none; opacity: 0; }
.xo-start[data-b="1"] .xo-start__rw::after { opacity: 1; animation: xo-ring 1.8s var(--ease) infinite; }
@keyframes xo-ring { 0% { box-shadow: 0 0 0 2px rgb(255 127 50 / .9), 0 0 0 0 rgb(255 127 50 / .35); } 70% { box-shadow: 0 0 0 2px rgb(255 127 50 / .7), 0 0 0 14px rgb(255 127 50 / 0); } 100% { box-shadow: 0 0 0 2px rgb(255 127 50 / .9), 0 0 0 0 rgb(255 127 50 / 0); } }
.xo-start[data-b="1"] .xo-start__reply .xo-start__v { color: #FF7F32; }
.xo-start[data-b="1"] .xo-start__reply .xo-start__v .xu-n { color: #E0611A; }
.xo-start .xo-start__col--r { opacity: 0; transform: translateY(10px); }
.xo-start[data-b="1"] .xo-start__col--r { opacity: 1; transform: none; }
.xo-start[data-b="1"] .xo-start__col--l .xo-start__tl { opacity: .6; filter: saturate(.5); }
.xo-start[data-b="1"] .xo-start__col--l .xo-start__h { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .xo-start[data-b="1"] .xo-start__rw::after { animation: none; box-shadow: 0 0 0 2px rgb(255 127 50 / .9); } }
/* fit levels: 1 smaller images, 2 no images, 3 no text bars, 4 the viral post loses its action row, 5 tighter rows */
.xo-start[data-fit="1"] .xu-media, .xo-start[data-fit="1"] .xo-start__own .xu-media { aspect-ratio: 16 / 4.5; }
.xo-start:is([data-fit="2"], [data-fit="3"], [data-fit="4"], [data-fit="5"], [data-fit="6"]) .xu-media { display: none; }
.xo-start:is([data-fit="3"], [data-fit="4"], [data-fit="5"], [data-fit="6"]) .xu-text { display: none; }
.xo-start:is([data-fit="4"], [data-fit="5"], [data-fit="6"]) .xo-start__viral .xu-acts { display: none; }
.xo-start:is([data-fit="5"], [data-fit="6"]) .xu-post { padding-top: 6px; padding-bottom: 4px; }
.xo-start:is([data-fit="5"], [data-fit="6"]) .xu-acts { margin-top: 2px; }
.xo-start:is([data-fit="5"], [data-fit="6"]) .xo-start__col { gap: 4px; }
/* 6: your own post shrinks to one row, its views count moves to the row's right end */
.xo-start[data-fit="6"] .xo-start__own .xu-acts { display: none; }
.xo-start .xu-head > .xo-start__v { margin-left: auto; flex: none; }
.xo-start .xu-head > .xo-start__v .xu-a__i { display: none; }
.xo-start[data-fit="6"] .xo-start__notes .xg-note { line-height: 1.3; }
.xo-start--c[data-fit="6"] .xo-start__cols { row-gap: 4px; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
/* compact: the note sits under your own post, the source under both columns (moved in JS) */
.xo-start--c .xo-start__cols { gap: 8px 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.xo-start--c .xo-start__tl { --u: .86; }
.xo-start--c .xu-a__end, .xo-start--c .xu-more, .xo-start--c .xu-bar--n { display: none; }
.xo-start--c .xu-acts { justify-content: flex-start; gap: 14px; }
.xo-start--c .xo-start__notes { margin-top: 4px; }
.xo-start--c .xo-start__notes .xg-note { font-size: 15px; }
@media (max-width: 759px) and (orientation: portrait) {
  .xo-start .xo-start__cols, .xo-start--c .xo-start__cols { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .scene .xg--stage.xo-start .xg-side { max-width: none; }
  .xo-start__tl { --u: .86; }
  .xo-start .xu-a__end, .xo-start .xu-more, .xo-start .xu-bar--n { display: none; }
  .xo-start .xu-acts { justify-content: flex-start; gap: 22px; }
  .xo-start .xo-start__col--r { display: none; }
  .xo-start[data-b="1"] .xo-start__col--r { display: grid; }
  .xo-start[data-b="1"] .xo-start__own .xu-media, .xo-start[data-b="1"] .xo-start__own .xu-text { display: none; }
}


/* ---------------------------------------------------------------- 30 ryze-how: the Claude window */
.scene .xg--split.xo-cl { grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); }
.xo-cl .xg-side { display: flex; flex-direction: column; gap: 26px; align-self: center; }
.xo-cl__mark { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-bottom: 34px; }
.xo-cl__mw { display: inline-grid; place-items: center; flex: none; padding: 16px; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #3a2416 0, #1a120d 55%, #0f0b09 100%); box-shadow: 0 0 0 1px rgb(255 127 50 / .28), 0 22px 44px -18px rgb(255 110 40 / .7), 0 0 60px -10px rgb(255 127 50 / .45); }
.xo-cl__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 6px; background: #1f1e1d; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -14px rgb(217 119 87 / .7); }
.xo-cl__link:hover { background: #000; }
.xo-cl__notes { display: grid; }
.xo-cl__notes > .xo-cl__n { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.xo-cl__notes > .xo-cl__n.is-on { opacity: 1; visibility: inherit; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.xo-cl .xg-vis { display: grid; }
.xo-cl__win { --cl-bg: #FAF9F5; --cl-side: #F3F1EA; --cl-line: #E6E2D8; --cl-ink: #1f1e1d; --cl-mut: #75736d; --cl-bub: #EFEBE1; --cl-clay: #D97757;
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; height: 100%; max-height: 620px; align-self: center; border-radius: 12px; overflow: hidden; background: var(--cl-bg); color: var(--cl-ink);
  box-shadow: 0 0 0 1px var(--cl-line), 0 30px 60px -30px rgb(60 40 20 / .35), 0 8px 18px -12px rgb(60 40 20 / .2); font-size: 15px; line-height: 1.45; }
.xo-cl__bar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--cl-line); background: var(--cl-side); }
.xo-cl__dots { display: flex; gap: 7px; }
.xo-cl__dots i { width: 11px; height: 11px; border-radius: 50%; background: #E6584F; }
.xo-cl__dots i:nth-child(2) { background: #E9B23B; }
.xo-cl__dots i:nth-child(3) { background: #5FBF4C; }
.xo-cl__ex { height: 26px; background: transparent; color: var(--cl-mut); }
.xo-cl__res { grid-template-columns: auto auto; column-gap: 18px; align-items: start; }
.xo-cl__rows { display: grid; gap: 4px; }
.xo-cl__df .xo-cl__ex { margin-right: auto; align-self: center; }
.xo-cl__trow { display: flex; align-items: center; gap: 8px; }
.xo-cl__ex--tiny { display: none; }
.xo-cl__saved .xo-cl__ex { margin-left: 6px; font-weight: 500; }
.xo-cl__body { display: grid; grid-template-columns: 52px minmax(0, 1fr); min-height: 0; }
.xo-cl__rail { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px; background: var(--cl-side); border-right: 1px solid var(--cl-line); color: var(--cl-mut); }
.xo-cl__logo { width: 24px; height: 24px; margin-bottom: 6px; }
.xo-cl__i { display: inline-grid; place-items: center; flex: none; }
.xo-cl__rbtn { width: 30px; height: 30px; border-radius: 6px; }
.xo-cl__rbtn:first-of-type { background: #E9E5DA; color: var(--cl-ink); }
.xo-cl__main { position: relative; min-height: 0; overflow: hidden; }
.xo-cl__view { position: absolute; inset: 0; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.xo-cl__win[data-v="set"] .xo-cl__chat, .xo-cl__win[data-v="chat"] .xo-cl__set { opacity: 0; visibility: hidden; transform: translateY(8px); }
/* settings + dialog */
.xo-cl__set { padding: 18px 22px; display: grid; grid-template-rows: auto 1fr; gap: 16px; align-content: start; }
.xo-cl__crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; color: var(--cl-mut); }
.xo-cl__crumbs .xo-cl__i { color: #A9A59B; }
.xo-cl__here { color: var(--cl-ink); font-weight: 500; }
.xo-cl__list { display: grid; gap: 10px; align-content: start; }
.xo-cl__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--cl-line); background: #fff; }
.xo-cl__ri { width: 26px; height: 26px; border-radius: 7px; background: #ECE8DE; flex: none; }
.xo-cl__rb { flex: 1; display: grid; gap: 6px; }
.xo-cl__rb i { display: block; height: 8px; border-radius: 4px; background: #E6E2D8; }
.xo-cl__rb i:first-child { background: #D9D4C8; }
.xo-cl__tog { width: 30px; height: 18px; border-radius: 9px; background: #DCD8CE; position: relative; flex: none; }
.xo-cl__tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.xo-cl__tog.is-on { background: #2B7FFF; }
.xo-cl__tog.is-on::after { left: 14px; }
.xo-cl__pane { position: relative; min-height: 0; }
.xo-cl__ov { position: absolute; inset: -6px -22px -18px; display: grid; place-items: center; padding: 16px; background: rgb(31 30 29 / .22); }
.xo-cl__dlg { width: min(430px, 100%); display: grid; gap: 12px; padding: 20px 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--cl-line), 0 24px 48px -20px rgb(31 30 29 / .45); }
.xo-cl__dlg.is-pop { animation: xo-pop .45s var(--ease) both; }
@keyframes xo-pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.xo-cl__dt { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.xo-cl__f { display: grid; gap: 5px; }
.xo-cl__fl { font-size: 14px; color: var(--cl-mut); }
.xo-cl__in { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #DAD6CC; font-size: 15px; white-space: nowrap; overflow: hidden; }
.xo-cl__val:empty::after { content: ""; }
.xo-cl__df { display: flex; justify-content: flex-end; gap: 8px; }
.xo-cl__btn { display: inline-grid; place-items: center; min-height: 34px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px #DAD6CC; background: #fff; white-space: nowrap; transition: background .3s, color .3s, transform .15s; }
.xo-cl__btn--dark { background: #D6D2C8; color: #fff; box-shadow: none; }
.xo-cl__dlg.is-ready .xo-cl__btn--dark, .xo-cl__ap .xo-cl__btn--dark { background: var(--cl-ink); }
.xo-cl__btn.is-press { transform: scale(.95); background: #000; }
/* chat */
.xo-cl__chat { display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 18px 22px 16px; gap: 12px; }
.xo-cl__thread { position: relative; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; }
.xo-cl__g { display: none; flex-direction: column; gap: 14px; }
.xo-cl__g.is-on { display: flex; animation: xo-in .55s var(--ease) both; }
@keyframes xo-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.xo-cl__u { align-self: flex-end; display: grid; justify-items: end; gap: 6px; max-width: 86%; }
.xo-cl__ub { padding: 10px 14px; border-radius: 14px; background: var(--cl-bub); font-size: 15px; line-height: 1.45; }
.xo-cl__paste { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); font-size: 14px; color: var(--cl-ink); }
.xo-cl__paste .xo-cl__i { color: var(--cl-mut); }
.xo-cl__a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.xo-cl__spark { width: 22px; height: 22px; margin-top: 4px; }
.xo-cl__ab { display: grid; gap: 10px; justify-items: start; }
.xo-cl__tool { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--cl-line); background: #fff; font-size: 14px; color: var(--cl-ink); }
.xo-cl__rbg { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 6px; background: #17110d; box-shadow: 0 0 0 1px rgb(255 127 50 / .3), 0 0 8px rgb(255 127 50 / .45); }
.xo-cl__allow { display: inline-flex; align-items: center; gap: 6px; }
.xo-cl__aok { display: none; }
.xo-cl__ap.is-ok .xo-cl__allow { background: #227A47; }
.xo-cl__ap.is-ok .xo-cl__aok { display: inline-grid; }
.xo-cl__ap.is-ok .xo-cl__df > .xo-cl__btn:not(.xo-cl__allow) { opacity: .45; }
.xo-cl__ap.is-ok { box-shadow: inset 0 0 0 1.5px #9BD7B1, 0 10px 24px -16px rgb(34 122 71 / .45); }
.xo-cl__spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #E2DED4; border-top-color: var(--cl-clay); animation: xo-spin .8s linear infinite; }
@keyframes xo-spin { to { transform: rotate(360deg); } }
.xo-cl__ok { display: none; color: #2E9E5B; }
.xo-cl__tc { color: #A9A59B; }
.xo-cl__tool.is-done .xo-cl__spin { display: none; }
.xo-cl__tool.is-done .xo-cl__ok { display: inline-grid; }
.xo-cl__res { display: grid; gap: 4px; padding: 12px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.xo-cl__res.is-on { opacity: 1; transform: none; }
.xo-cl__res b { font-weight: 700; color: var(--cl-ink); }
.xo-cl__ap { display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line), 0 10px 24px -16px rgb(31 30 29 / .35); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.xo-cl__ap.is-on { opacity: 1; transform: none; }
.xo-cl__ap.is-gone { display: none; }
.xo-cl__apt { font-size: 15px; font-weight: 500; }
.xo-cl__saved { display: none; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #227A47; }
.xo-cl__saved .xo-cl__i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #DDF3E5; }
.xo-cl__saved.is-on { display: inline-flex; animation: xo-in .45s var(--ease) both; }
.xo-cl__comp { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line), 0 4px 14px -10px rgb(31 30 29 / .25); }
.xo-cl__ph { display: block; width: 46%; height: 9px; border-radius: 5px; background: #E8E4DA; }
.xo-cl__cb { display: flex; justify-content: space-between; align-items: center; color: var(--cl-mut); }
.xo-cl__send { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--cl-clay); color: #fff; }
@media (prefers-reduced-motion: reduce) { .xo-cl__g.is-on, .xo-cl__saved.is-on, .xo-cl__dlg.is-pop { animation: none; } .xo-cl__spin { animation: none; } }

/* compact: the title and the left column share the left half; the window takes the full height on the right */
@media (max-width: 959px), (max-height: 599px) {
  .scene .xg--split.xo-cl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 22px; row-gap: 10px; }
  .xo-cl .xg-t { grid-column: 1; grid-row: 1; }
  .xo-cl .xg-side { display: contents; }
  .xo-cl__notes { grid-column: 1; grid-row: 2; align-self: start; }
  .xo-cl__mark { grid-column: 1; grid-row: 3; gap: 18px; margin: 0; padding-top: 8px; }
  .xo-cl .xg-vis { grid-column: 2; grid-row: 1 / 4; }
  .xo-cl__win { max-height: none; font-size: 14px; }
  .xo-cl__bar, .xo-cl__rail, .xo-cl__comp { display: none; }
  .xo-cl__win { grid-template-rows: minmax(0, 1fr); }
  .xo-cl__body { grid-template-columns: minmax(0, 1fr); }
  .xo-cl__set { padding: 10px 12px; gap: 8px; }
  .xo-cl__crumbs { font-size: 14px; gap: 3px; }
  .xo-cl__list { gap: 6px; }
  .xo-cl__row { padding: 8px 10px; }
  .xo-cl__ov { inset: 0 -12px -10px; padding: 6px 8px; align-items: start; }
  .xo-cl__in { min-height: 30px; font-size: 14px; padding: 0 9px; }
  .xo-cl__btn { min-height: 30px; padding: 0 12px; font-size: 14px; }
  .xo-cl__chat { padding: 10px 12px; }
  .xo-cl__thread { justify-content: safe center; }
  .xo-cl__g { gap: 8px; }
  .xo-cl__u { max-width: 94%; }
  .xo-cl__ub { padding: 7px 10px; font-size: 14px; line-height: 1.38; }
  .xo-cl__a { grid-template-columns: 18px minmax(0, 1fr); gap: 7px; }
  .xo-cl__spark { width: 18px; height: 18px; margin-top: 3px; }
  .xo-cl__ab { gap: 7px; }
  .xo-cl__tool { padding: 4px 8px; }
  .xo-cl__res { padding: 7px 10px; gap: 1px; font-size: 14px; }
  .xo-cl__ap { padding: 9px 10px; gap: 7px; }
  .xo-cl__apt, .xo-cl__saved { font-size: 14px; }
  .xo-cl__paste { padding: 4px 9px; }
  .xo-cl__ex { height: 24px; padding: 0 8px; }
  .xo-cl__res { column-gap: 10px; }
  .xo-cl__rows { gap: 1px; }
  .xo-cl__crumbs { flex-wrap: nowrap; white-space: nowrap; }
  .xo-cl__crumbs .xo-cl__i svg { width: 12px; height: 12px; }
  .xo-cl__tc { display: none; }
  .xo-cl__dlg { gap: 5px; padding: 10px 12px; }
  .xo-cl__dt { font-size: 15px; }
  .xo-cl__f { gap: 2px; }
  .xo-cl__in { min-height: 28px; }
  .xo-cl__btn { min-height: 28px; }
  .xo-cl__df { margin-top: 3px; }
  .xo-cl__link { min-height: 34px; font-size: 14px; padding: 0 10px; }
  .xo-cl__mw { padding: 8px; border-radius: 14px; }
}
@media (max-height: 440px) {
  .scene .xg--split.xo-cl { grid-template-columns: minmax(0, .92fr) minmax(0, 1.1fr); column-gap: 16px; }
  .xo-cl__set { padding: 8px 6px; }
  .xo-cl__crumbs { letter-spacing: -.01em; gap: 2px; }
  .xo-cl__crumbs .xo-cl__i svg { width: 10px; height: 10px; }
  .xo-cl__chat { padding: 6px 8px; }
  .xo-cl__g { gap: 6px; }
  .xo-cl__ub { line-height: 1.3; }
  .xo-cl__rows { line-height: 1.25; }
  .xo-cl__res { padding: 6px 9px; }
  .xo-cl__ex--tiny { display: inline-flex; }
  .xo-cl__ex--card { display: none; }
  .xo-cl__res { grid-template-columns: auto; }
  .xo-cl__list { display: none; }
  .xo-cl__f:first-of-type { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
}
/* phone: title, the mark and the link, the window, the note */
@media (max-width: 759px) and (orientation: portrait) {
  .scene .xg--split.xo-cl { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; row-gap: 10px; }
  .xo-cl .xg-t { grid-column: 1; grid-row: 1; }
  .xo-cl__mark { grid-column: 1; grid-row: 2; margin: 6px 0 0; }
  .xo-cl .xg-vis { grid-column: 1; grid-row: 3; }
  .xo-cl__notes { grid-column: 1; grid-row: 4; }
  .xo-cl__list { display: none; }
  .xo-cl__f:first-of-type { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
}
@media not ((max-width: 759px) and (orientation: portrait)) {
  .scene .xg--stage.xo-start .xg-side { grid-auto-flow: row; gap: 8px; max-width: min(40em, calc(100% - 280px)); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene .xg--stage.xo-start .xg-side { grid-auto-flow: row; gap: 8px; max-width: none; width: 100%; }
}

/* ryze-how desktop tiers (kept last so they win over the base rules) */
@media (min-width: 960px) and (min-height: 600px) {
  .xo-cl__win { height: auto; max-height: 100%; font-size: 16px; grid-template-rows: auto auto; }
  .xo-cl__body { grid-template-rows: auto; }
  .xo-cl__main { overflow: visible; }
  .xo-cl__main { display: grid; }
  .xo-cl__view { position: relative; inset: auto; grid-area: 1 / 1; }
  .xo-cl__win .xo-cl__pane { min-height: 300px; }
  .xo-cl__win .xo-cl__ub, .xo-cl__win .xo-cl__apt, .xo-cl__win .xo-cl__res { font-size: 16px; }
  .xo-cl__win .xo-cl__thread { min-height: 300px; }
}
/* short desktop frames (1100 x 620 to 1240 x 698): the same window, tighter */
@media (min-width: 960px) and (min-height: 600px) and (max-height: 780px) {
  .xo-cl__win { font-size: 15px; }
  .xo-cl__win .xo-cl__pane { min-height: 236px; }
  .xo-cl__win .xo-cl__thread { min-height: 200px; }
  .xo-cl__win .xo-cl__ub, .xo-cl__win .xo-cl__apt, .xo-cl__win .xo-cl__res { font-size: 15px; }
  .xo-cl__set { padding: 12px 18px; gap: 10px; }
  .xo-cl__row { padding: 9px 12px; }
  .xo-cl__ov { place-items: start center; }
  .xo-cl__dlg { gap: 8px; padding: 14px 18px; }
  .xo-cl__dt { font-size: 16px; }
  .xo-cl__in { min-height: 32px; }
  .xo-cl__btn { min-height: 30px; }
  .xo-cl__chat { padding: 12px 18px; gap: 10px; }
  .xo-cl__mw { padding: 12px; border-radius: 20px; }
}
@media (min-width: 960px) and (min-height: 600px) and (max-height: 720px) {
  .xo-cl__comp { display: none; }
  .xo-cl__win .xo-cl__pane { min-height: 0; }
  .xo-cl__win .xo-cl__thread { min-height: 0; }
  .xo-cl__list { display: none; }
  .xo-cl__ov { position: relative; inset: auto; margin: 0 -18px -12px; padding: 10px 16px 14px; }
  .xo-cl__f:first-of-type { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
}

/* ---------------------------------------------------------------- 12 ryze: a veil under the top-right signature */
.scene.xo-ryze::after { content: ""; position: absolute; top: 0; right: 0; width: min(640px, 62%); height: 170px; z-index: 0; pointer-events: none;
  background: radial-gradient(100% 100% at 100% 0%, rgb(7 5 6 / .97) 0, rgb(7 5 6 / .9) 42%, rgb(7 5 6 / .5) 70%, rgb(7 5 6 / 0) 100%); }
@media (max-width: 959px), (max-height: 599px) { .scene.xo-ryze::after { height: 96px; } }
@media (max-width: 759px) and (orientation: portrait) { .scene.xo-ryze::after { display: none; } }
.xo-lv.xo-lv--tight { font-size: 14px; line-height: 1.15; }
@media (max-width: 959px), (max-height: 599px) { .xo-lv { line-height: 1.15; } }
/* es-score: the fixed legend key, a colour swatch before each label */
.xo-lab--share::before, .xo-lab--reply::before, .xo-lab--follow::before, .xo-lab--like::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; vertical-align: 0; background: currentColor; }
.xo-lab--share::before { background: #FF7F32; }
.xo-lab--reply::before { background: #9CE7DD; }
.xo-lab--follow::before { background: #E79CB4; }
.xo-lab--like::before { background: #fff; height: 4px; vertical-align: 3px; }
.xo-cl__ex--msg { height: 22px; padding: 0 8px; font-size: 14px; color: var(--cl-mut); box-shadow: inset 0 0 0 1px var(--cl-line); }
.xo-cl__urow { display: flex; align-items: center; gap: 8px; }

/* round 5, es-money on short compact frames (640 x 360): a wider text column so title, caption, note and source end
 * above the bottom zone; the dunes layer starts a little further right */
@media (max-height: 439px) and (min-width: 600px) {
  .scene .xg--full.xo-money:has(> .xg-side > *) { grid-template-columns: minmax(0, .56fr) minmax(0, .44fr) !important; }
  .scene.xo-scene.xg-scene--full:has(> .scene__inner.xo-money > .xg-side > *) > .xg-vis { left: 54%; }
}

/* round 5b: at the shortest frames the note and its source share one row under the title, so the two X columns keep their height */
@media (max-height: 439px) and (min-width: 600px) {
  .xo-start .xg-side { grid-auto-flow: column; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 20px; }
  .xo-start .xg-side .xg-src { font-size: 14px; }
  .xo-start .xg { row-gap: 8px !important; }
  .xo-start .xg-side .xg-note { font-size: 14px !important; }
  .xo-start--c .xo-start__tl { --u: .62; }
  /* the shortest frames keep only your reply in the right column (its label already says it sits under a viral post) */
  .xo-start--c .xo-start__tl:has(> .xo-start__rw) > .xu-post:first-child { display: none; }
  .xo-start--c .xo-start__cols { gap: 2px 16px; }
  .xo-start--c .xo-start__tl .xu-post { padding-top: 6px; padding-bottom: 4px; }
  .xo-start--c .xo-start__tl .xu-acts { margin-top: 4px; }
}
