/* Reddit marketing deck, builder A (ch-open.js). Every selector starts with oa- or is scoped under an oa- scene class. */
.oa-stack { display: grid; }
.oa-stack > * { grid-area: 1 / 1; }

/* ---------- cover ---------- */
.oa-cover .rm-scrim.oa-scrim--cover { background:
  radial-gradient(120% 90% at 0% 0%, rgb(5 5 6 / .82) 0, rgb(5 5 6 / .4) 34%, transparent 58%),
  linear-gradient(0deg, rgb(5 5 6 / .55) 0, transparent 22%); }
.oa-cover .rm-t { font-size: clamp(34px, 3.6vw, 60px); max-width: min(100%, 15em); }
@media (max-width: 959px), (max-height: 599px) { .oa-cover .rm-t { font-size: clamp(26px, 3.6vw, 34px); } }
@media (max-width: 759px) and (orientation: portrait) { .oa-cover .rm-t { font-size: clamp(26px, 7.4vw, 32px); } }

/* ---------- es-buyers: the Reddit thread ---------- */
.oa-buyers__wrap { position: relative; height: 100%; max-width: 1100px; }
.oa-buyers .rd-page { height: 100%; }
.oa-buyers__ex { margin-left: auto; }
.oa-tree { display: flex; flex-direction: column; gap: 4px; }
.oa-buyers .oa-maya { display: none; position: relative; z-index: 0; }
.oa-buyers .oa-maya.oa-on { display: grid; }
.oa-buyers .oa-maya.oa-arrive { animation: oa-arrive .6s cubic-bezier(.2,.75,.2,1) both; }
@keyframes oa-arrive { from { opacity: 0; transform: translateY(18px); } }
.oa-buyers .oa-gone { display: none !important; }
/* a vote count shown as a grey bar (skeleton rows) */
.oa-vote--bar .rd-vote__n { font-size: 0; line-height: 0; display: inline-flex; align-items: center; justify-content: center; align-self: center; height: 22px; min-width: 28px; }
.oa-vote--bar .rd-vote__n::after { content: ""; width: 22px; height: 8px; border-radius: 4px; background: #E2E7EA; }
/* Maya's votes: the count rolls digit by digit and the arrow turns Reddit orange */
.oa-mvote { position: relative; }
.oa-mvote .rd-vote__n { display: inline-block; min-width: 3ch; }
.oa-upv { font-size: 14px; font-weight: 600; margin: 0 2px 0 -1px; }
.oa-mvote.oa-hot .rd-vote__n, .oa-mvote.oa-hot .oa-upv, .oa-mvote.oa-hot .rd-vote__up { color: #D93900; }
.oa-mvote .rd-vote__n.oa-tick { animation: oa-tick .16s ease-out; }
@keyframes oa-tick { from { transform: translateY(46%); opacity: .2; } }
.oa-fx { position: absolute; left: 0; bottom: 60%; width: 100%; height: 0; pointer-events: none; }
.oa-fx__a { position: absolute; bottom: 0; color: #FF4500; display: grid; animation: oa-float .9s ease-out forwards; }
@keyframes oa-float { from { opacity: 1; transform: translate(0, 0) scale(.8); } to { opacity: 0; transform: translate(var(--dx, 0), -38px) scale(1.15); } }
.oa-buyers .rd-cm--hi > .rd-cm__main::before { inset: -6px -10px 0 -46px; }
/* tighter rhythm than the kit default, so a full thread fits a slide */
.oa-buyers .rd-page__body { padding-top: 12px; }
.oa-buyers .rd-page__main { gap: 8px; }
.oa-buyers .rd-cm__main { gap: 3px; padding-bottom: 2px; }
.oa-buyers .rd-cm__h { min-height: 26px; }
.oa-buyers .rd-cm__act .rd-vote, .oa-buyers .rd-cm__act .rd-pill { height: 28px; }
/* fit levels: drop optional rows until the end state fits the mock (never cut a line) */
.oa-f1 .oa-cm .rd-bars .rd-bar:nth-child(n+2), .oa-f1 .oa-cm--kid { display: none; }
.oa-f2 .rd-top { display: none; }
.oa-f3 .oa-buyers__post .rd-post__b .rd-bar:nth-child(n+2) { display: none; }
.oa-f4 .oa-buyers__post .rd-post__b, .oa-f4 .oa-cm .rd-cm__text .rd-bars { display: none; }
.oa-f4 .rd-page__body { padding-top: 8px; }
.oa-f4 .rd-page__main { gap: 6px; }
.oa-f5 .rd-actions .rd-pill, .oa-f5 .rd-cm__act .rd-pill { display: none; }
.oa-f5 .rd-cm__main { gap: 1px; padding-bottom: 0; }
.oa-f5 .rd-cm__h { min-height: 22px; }
/* the stat card: over the sidebar, or in the side column */
.oa-stat { position: relative; z-index: 3; display: grid; gap: 8px; align-content: start; padding: clamp(16px, 1.6vw, 26px); border-radius: 16px; background: #111; color: #fff;
  box-shadow: 0 24px 50px -24px rgb(15 26 28 / .55), inset 0 0 0 1px rgb(255 255 255 / .06); }
.oa-stat--over { position: absolute; }
.oa-stat__v { font-size: clamp(48px, 5vw, 84px); line-height: 1; letter-spacing: -.035em; font-weight: 500; color: #FF7F32; font-variant-numeric: tabular-nums; }
.oa-stat__l { margin: 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; color: #fff; }
.oa-stat .rm-src { color: rgb(255 255 255 / .62); opacity: 1; }
.oa-buyers__copy .oa-stat { max-width: 30em; }
@media (min-width: 960px) and (min-height: 600px) {
  .oa-buyers .rd-post__t { font-size: clamp(22px, 1.8vw, 28px); }
  .oa-buyers .rd-cm__text, .oa-buyers .rd-post__b { font-size: 17px; }
  .oa-buyers .rd-cm__h, .oa-buyers .rd-post__h { font-size: 15px; }
}
@media (max-width: 959px), (max-height: 599px) {
  .oa-buyers__copy .oa-stat { padding: 12px 16px; gap: 4px; }
  .oa-buyers__copy .oa-stat__v { font-size: 34px; }
  .oa-stat__l { font-size: 15px; }
  .oa-stat--over .oa-stat__v { font-size: 40px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .oa-buyers__copy .oa-stat { padding: 12px 14px; }
  .oa-buyers__copy .oa-stat__v { font-size: 32px; }
  .oa-stat__l { font-size: 14px; }
}

/* ---------- es-crackdown ---------- */
.oa-cd__stat { white-space: normal; width: max-content; max-width: 21em; text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 18px rgb(0 0 0 / .6); }
.oa-cd__v { font-size: clamp(30px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; color: #F6B3A3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oa-cd__v b { font-weight: 500; display: inline-block; min-width: 5.6ch; text-align: left; }
.oa-cd__l { margin: 6px 0 0; max-width: 15em; font-size: 16px; line-height: 1.38; color: #fff; }
.oa-cd__src { margin-top: 4px; }
.oa-cd__new { color: #D7F7F2; }
@media (max-width: 959px), (max-height: 599px) { .oa-cd__l { max-width: 13em; } .oa-cd__v { font-size: 26px; } .oa-cd__l { font-size: 14px; } }
@media (max-width: 759px) and (orientation: portrait) { .oa-cd__l { max-width: 11em; } .oa-cd__v { font-size: 24px; } .oa-cd__l { font-size: 14px; } }

/* ---------- es-slow ---------- */
.oa-slow__l1 { color: #CFF5EF; }
.oa-slow__l2 { color: #FFC9A3; }
.oa-slow__stat { white-space: normal; width: max-content; max-width: 19em; text-align: center; display: grid; justify-items: center; gap: 4px; text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 18px rgb(0 0 0 / .7); }
.oa-slow__n { font-size: clamp(52px, 5.4vw, 92px); line-height: 1; letter-spacing: -.04em; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.oa-slow__sl { margin: 4px 0 0; font-size: 16px; line-height: 1.4; color: #fff; }
.oa-slow__copy > div { display: grid; gap: 2px; }
@media (max-width: 959px), (max-height: 599px) {
  .oa-slow__copy .oa-slow__stat { width: auto; max-width: 21em; text-align: left; justify-items: start; text-shadow: none; gap: 2px; }
  .oa-slow__n { font-size: 36px; } .oa-slow__sl { font-size: 15px; margin: 2px 0 0; }
  .oa-slow .rm--full .rm-side { max-width: min(15em, 100%); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .oa-slow__n { font-size: 34px; } .oa-slow__sl { font-size: 14px; }
  .oa-slow__l1, .oa-slow__l2 { white-space: normal; max-width: 9.6em; }
}

/* ---------- levers: the dartboard ---------- */
.oa-flag { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 11px; border-radius: 6px;
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; color: #fff; background: rgb(12 11 18 / .78); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), 0 6px 18px -8px rgb(0 0 0 / .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s, background .5s, color .5s, box-shadow .5s; will-change: transform; }
.oa-flag.is-in { opacity: 1; }
.oa-flag__d { display: inline-flex; gap: 3px; }
.oa-flag__d i { width: 6px; height: 6px; border-radius: 50%; background: #CDBDEB; }
.oa-lv--hot .oa-flag.is-in:not(.oa-flag--top) { color: rgb(255 255 255 / .62); background: rgb(10 10 14 / .86); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.oa-lv--hot .oa-flag:not(.oa-flag--top) .oa-flag__d i { background: rgb(205 189 235 / .5); }
.oa-lv--hot .oa-flag--top { background: #FF7F32; color: #111; box-shadow: 0 0 0 1px rgb(255 160 100 / .6), 0 0 26px rgb(255 127 50 / .55); }
.oa-lv--hot .oa-flag--top .oa-flag__d i { background: #111; }
.oa-lv__legend { display: grid; gap: 8px; }
.oa-lv__key { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; color: rgb(255 255 255 / .82); }
.oa-lv__ic { flex: none; display: inline-grid; place-items: center; width: 26px; color: #FFB27E; }
.oa-lv__ic--dots { display: inline-flex; gap: 3px; justify-content: center; }
.oa-lv__ic--dots i { width: 6px; height: 6px; border-radius: 50%; background: #CDBDEB; }
@media (max-width: 959px), (max-height: 599px) { .oa-flag { font-size: 14px; height: 24px; padding: 0 7px; gap: 5px; border-radius: 5px; } .oa-flag__d i { width: 5px; height: 5px; } }
@media (max-width: 759px) and (orientation: portrait) {
  .oa-flag { font-size: 14px; height: auto; min-height: 24px; padding: 3px 7px; gap: 5px; white-space: normal; max-width: 8.4em; line-height: 1.15; }
  .oa-flag__d i, .oa-lv__ic--dots i { width: 5px; height: 5px; }
}
@media (max-height: 400px) and (orientation: landscape) {
  .oa-lv .rm--full .rm-side { max-width: 16em; }
  .oa-flag { height: auto; min-height: 22px; padding: 2px 6px; white-space: normal; max-width: 7.8em; line-height: 1.12; }
}

/* ---------- ryze-2: the Claude window ---------- */
@media not ((max-width: 759px) and (orientation: portrait)) { .scene .oa-r2-x, .oa-r2 .rm--split { grid-template-columns: minmax(0, .33fr) minmax(0, .67fr); } }
.oa-r2 .rm-side { align-self: start; gap: 18px; }
.oa-r2__mark { justify-self: start; }
.oa-r2__link { justify-self: start; font-size: 16px; font-weight: 500; color: #C2410C; text-decoration: underline; text-underline-offset: 3px; }
.oa-r2__beam { position: absolute; z-index: 1; height: 2px; margin-top: -1px; pointer-events: none; border-radius: 2px;
  background: linear-gradient(90deg, rgb(255 127 50 / .9), rgb(255 160 100 / .5) 60%, rgb(255 127 50 / .15));
  box-shadow: 0 0 12px 2px rgb(255 127 50 / .35); transition: opacity .4s; }
.oa-cl__wrap { position: relative; z-index: 2; height: 100%; display: flex; }
.oa-cl { --cl-bg: #FAF9F5; --cl-fg: #1F1E1D; --cl-mut: #73726C; --cl-line: #E5E2D8; --cl-bar: #E7E4DA; --cl-acc: #C96442;
  position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; background: var(--cl-bg); color: var(--cl-fg); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(31 30 29 / .06), 0 34px 70px -36px rgb(31 30 29 / .4), inset 0 0 0 1px var(--cl-line); font-family: var(--font-sans); }
.oa-cl__bar { flex: none; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #F0EEE6; box-shadow: inset 0 -1px 0 var(--cl-line); }
.oa-cl__dots { display: flex; gap: 7px; } .oa-cl__dots i { width: 11px; height: 11px; border-radius: 50%; background: #DAD6CB; }
.oa-cl__barT { width: 110px; height: 8px; border-radius: 4px; background: #E0DCD1; margin: 0 auto; }
.oa-cl__ex-tag { flex: none; }
.oa-cl__main { flex: 1; min-height: 0; display: flex; }
.oa-cl__rail { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; box-shadow: inset -1px 0 0 var(--cl-line); color: var(--cl-mut); }
.oa-cl__ri { display: grid; } .oa-cl__ri--new { width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--cl-acc); color: #fff; }
.oa-cl__av { margin-top: auto; width: 28px; height: 28px; border-radius: 50%; background: #CDBDEB; }
.oa-cl__views { position: relative; flex: 1; min-width: 0; overflow: hidden; container-type: size; }
.oa-cl__view { position: absolute; inset: 0; display: flex; transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s, visibility 0s; }
.oa-cl__view.is-off { visibility: hidden; opacity: 0; transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s, visibility 0s .7s; }
.oa-cl__view--set.is-off { transform: translateX(-30%); }
.oa-cl__view--chat.is-off { transform: translateX(30%); }
.oa-cl__bars { display: grid; gap: 8px; flex: 1; min-width: 0; }
.oa-cl__bars i { display: block; height: 8px; border-radius: 4px; background: var(--cl-bar); }
/* settings */
.oa-cl__nav { flex: none; width: 34%; max-width: 230px; display: flex; flex-direction: column; gap: 4px; padding: 20px 12px; box-shadow: inset -1px 0 0 var(--cl-line); }
.oa-cl__nav-h { font-size: 20px; font-weight: 600; letter-spacing: -.01em; padding: 0 8px 12px; }
.oa-cl__nav-i { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 15px; font-weight: 500; transition: background .4s; }
.oa-cl__nav-i > span { display: grid; color: var(--cl-mut); }
.oa-cl__nb { display: block; height: 8px; border-radius: 4px; background: var(--cl-bar); }
.oa-cl__nav-i--on { background: #ECE9DF; }
.oa-cl__panel { position: relative; flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.oa-cl__crumb { display: none; align-items: center; gap: 6px; font-size: 15px; color: var(--cl-mut); } .oa-cl__crumb b { color: var(--cl-fg); font-weight: 600; } .oa-cl__crumb span { display: inline-grid; }
.oa-cl__list { display: grid; gap: 10px; transition: opacity .4s; }
.oa-cl__lhead { display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.oa-cl__bars--h i { height: 12px; background: #DCD8CD; }
.oa-cl__addbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; font-size: 15px; font-weight: 500; background: #fff; }
.oa-cl__addbtn span { display: grid; }
.oa-cl__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.oa-cl__rowic { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #EFECE3; }
.oa-cl__tog { flex: none; width: 34px; height: 20px; border-radius: 10px; background: #E2DED3; }
.oa-cl__panel.is-dlg .oa-cl__list { display: none; }
.oa-cl__dlg { display: none; gap: 14px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px -20px rgb(31 30 29 / .35), inset 0 0 0 1px var(--cl-line); }
.oa-cl__panel.is-dlg .oa-cl__dlg { display: grid; animation: oa-pop .5s cubic-bezier(.2,.75,.2,1) both; }
@keyframes oa-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.oa-cl__dlg-t { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.oa-cl__field { display: grid; gap: 7px; }
.oa-cl__bars--lab { flex: none; } .oa-cl__bars--lab i { height: 7px; background: #DEDACF; }
.oa-cl__input { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; background: #FDFCFA; font-size: 15px; }
.oa-cl__val { white-space: nowrap; overflow: hidden; }
.oa-cl__val--url { font-variant-numeric: tabular-nums; }
.oa-cl__dlg-f { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.oa-cl__time { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 14px; font-weight: 500; color: var(--cl-mut); }
.oa-cl__time span { display: grid; }
.oa-cl__btn-grey { width: 72px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px #D6D2C6; }
.oa-cl__btn-ok { display: grid; place-items: center; width: 72px; height: 34px; border-radius: 8px; background: var(--cl-fg); color: #fff; }
/* chat */
.oa-cl__view--chat { flex-direction: column; }
.oa-cl__thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 22px clamp(16px, 4cqw, 40px) 8px; overflow: hidden; }
.oa-cl__ex { display: grid; gap: 16px; }
.oa-cl__ex.is-gone { display: none; }
.oa-cl__you { justify-self: end; max-width: 84%; padding: 11px 15px; border-radius: 14px; background: #EFECE3; font-size: 16px; line-height: 1.45; }
.oa-cl__bot { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.oa-cl__spark { display: grid; padding-top: 2px; }
.oa-cl__body { display: grid; gap: 12px; min-width: 0; }
.oa-cl__tool { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; background: #F1EFE7; box-shadow: inset 0 0 0 1px var(--cl-line); max-width: 300px; }
.oa-cl__ga { display: block; }
.oa-cl__tool .oa-cl__bars { flex: 1; }
.oa-cl__tok { display: grid; color: #3B8E6A; }
.oa-cl__table { display: grid; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.oa-cl__tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 14px; font-size: 15px; font-variant-numeric: tabular-nums; }
.oa-cl__tr + .oa-cl__tr { box-shadow: inset 0 1px 0 var(--cl-line); }
.oa-cl__td--name { font-weight: 600; overflow-wrap: anywhere; }
.oa-cl__card { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.oa-cl__card-h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.oa-cl__card-h b { font-weight: 600; }
.oa-cl__appr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F1EFE7; box-shadow: inset 0 0 0 1px var(--cl-line); }
.oa-cl__bars--ap { flex: 1; }
.oa-cl__edit, .oa-cl__approve { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.oa-cl__edit { background: #fff; box-shadow: inset 0 0 0 1px #D6D2C6; }
.oa-cl__approve { background: var(--cl-fg); color: #fff; }
.oa-cl__comp { flex: none; margin: 6px clamp(14px, 4cqw, 40px) 16px; display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 10px -4px rgb(31 30 29 / .15), inset 0 0 0 1px #DDD9CE; }
.oa-cl__field2 { min-height: 22px; font-size: 16px; line-height: 1.4; }
.oa-cl__typed.rm-typing::after { background: var(--cl-acc); }
.oa-cl__ctools { display: flex; align-items: center; gap: 8px; color: var(--cl-mut); }
.oa-cl__cb { display: grid; }
.oa-cl__send { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--cl-acc); color: #fff; }
/* reveal steps inside the chat */
.oa-cl__you, .oa-cl__bot, .oa-cl__tool, .oa-cl__table, .oa-cl__tr, .oa-cl__card, .oa-cl__appr { transition: opacity .45s, transform .5s cubic-bezier(.2,.75,.2,1); }
.oa-cl__you:not(.is-on), .oa-cl__bot:not(.is-on), .oa-cl__tool:not(.is-on), .oa-cl__table:not(.is-on), .oa-cl__tr:not(.is-on), .oa-cl__card:not(.is-on), .oa-cl__appr:not(.is-on) { opacity: 0; transform: translateY(8px); visibility: hidden; }
.oa-cl__you:not(.is-on) { display: none; }
/* narrow or short windows: drop the nav column, the rail and optional rows, never cut a line */
@container (max-width: 520px) { .oa-cl__nav { display: none; } .oa-cl__crumb { display: flex; } .oa-cl__lhead .oa-cl__bars { display: none; } .oa-cl__btn-grey { display: none; } }
@container (max-height: 380px) { .oa-cl__bars--ans, .oa-cl__card .oa-cl__bars { display: none; } .oa-cl__thread { padding-top: 12px; } .oa-cl__ex { gap: 10px; } .oa-cl__dlg { gap: 9px; padding: 14px 16px; } .oa-cl__panel { padding: 12px 14px; gap: 8px; } .oa-cl__comp { margin-bottom: 10px; padding: 8px 12px; gap: 4px; } .oa-cl__comp:not(.is-typing) { display: none; } .oa-cl__nav-h { padding-bottom: 4px; } .oa-cl__nav { padding: 12px 10px; } }
@container (max-height: 300px) { .oa-cl__tool { display: none; } .oa-cl__ctools { display: none; } .oa-cl__dlg-t { font-size: 16px; } .oa-cl__input { min-height: 32px; } .oa-cl__bars--lab { display: none; } .oa-cl__dlg { gap: 7px; padding: 10px 12px; } .oa-cl__nav-i { height: 30px; } .oa-cl__card { padding: 10px 12px; } .oa-cl__appr { padding: 6px 8px; } }
@media (max-width: 959px), (max-height: 599px) {
  .oa-r2 .rm-side { gap: 10px; }
  .oa-r2__link { font-size: 15px; }
  .oa-cl__bar { height: 32px; } .oa-cl__rail { display: none; }
  .oa-cl__you, .oa-cl__field2, .oa-cl__card-h { font-size: 14px; } .oa-cl__tr, .oa-cl__nav-i, .oa-cl__input, .oa-cl__addbtn, .oa-cl__crumb, .oa-cl__edit, .oa-cl__approve { font-size: 14px; }
  .oa-cl__tr { padding: 7px 10px; } .oa-cl__edit, .oa-cl__approve { height: 30px; padding: 0 12px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .oa-r2 .rm-side { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; max-width: none; }
  .oa-r2__mark { --rz-size: 46px !important; grid-row: 1 / span 2; }
  .oa-r2 .oa-r2__copy { grid-column: 2; } .oa-r2__link { grid-column: 2; }
  .oa-cl__dots { display: none; } .oa-cl__barT { margin: 0; }
  .oa-cl__thread { padding: 10px 12px 4px; } .oa-cl__comp { margin: 4px 10px 8px; }
}
@media (min-width: 960px) and (min-height: 600px) {
  .oa-cl__you, .oa-cl__field2 { font-size: 18px; }
  .oa-cl__tr { font-size: 17px; padding: 12px 16px; }
  .oa-cl__card-h { font-size: 18px; }
  .oa-cl__edit, .oa-cl__approve { font-size: 16px; height: 38px; padding: 0 18px; }
  .oa-cl__nav-i, .oa-cl__addbtn { font-size: 16px; }
  .oa-cl__nav-h { font-size: 22px; }
  .oa-cl__dlg-t { font-size: 22px; }
  .oa-cl__input { font-size: 17px; min-height: 46px; }
  .oa-cl__time { font-size: 15px; }
  .oa-cl__tool { height: 40px; }
}
@container (max-height: 240px) {
  .oa-cl__panel { padding: 8px 12px; gap: 6px; }
  .oa-cl__crumb { font-size: 14px; }
  .oa-cl__dlg { gap: 6px; padding: 8px 12px; border-radius: 10px; }
  .oa-cl__input { min-height: 30px; }
  .oa-cl__dlg-f { padding-top: 0; } .oa-cl__btn-ok { height: 30px; }
  .oa-cl__thread { padding: 8px 14px 6px; } .oa-cl__ex { gap: 8px; } .oa-cl__body { gap: 8px; }
  .oa-cl__you { max-width: 96%; padding: 8px 12px; }
  .oa-cl__card { padding: 8px 12px; } .oa-cl__card-h { gap: 8px; }
  .oa-cl__appr { padding: 5px 8px; } .oa-cl__edit, .oa-cl__approve { height: 28px; }
  .oa-cl__tr { padding: 6px 10px; }
}
/* the mark's glow halo reaches 46% past its box: keep that ring clear of text */
.oa-r2__mark { margin: calc(var(--rz-size) * .48) 0; }
/* compact: the mark takes its own column between the text and the window (100 px, or 76 px in the shortest frames) */
.oa-r2__col { flex: none; display: none; align-items: center; justify-content: center; }
.oa-r2--cmp .oa-r2__col { display: flex; padding: 0 22px 0 10px; }
.oa-r2--cmp .oa-r2__mark { --rz-size: 100px !important; margin: 0; }
.oa-r2--cmp .oa-r2__mark .rz-mark__halo { inset: -22%; } .oa-r2--cmp .oa-r2__mark .rz-mark__dots { inset: -15%; }
.oa-r2--cmp .oa-cl__wrap { align-items: stretch; }
@media (max-height: 400px) { .oa-r2--cmp .oa-r2__mark { --rz-size: 76px !important; } .oa-r2--cmp .oa-r2__col { padding: 0 18px 0 6px; } }
@media (max-width: 959px), (max-height: 599px) {
  .oa-r2.oa-r2--cmp .rm--split { grid-template-columns: minmax(0, .28fr) minmax(0, .72fr); column-gap: 18px; }
  .oa-r2 .rm-side { gap: 10px; }
  .oa-r2__link { white-space: nowrap; font-size: 15px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .oa-r2 .rm-side { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 26px; row-gap: 6px; align-items: center; max-width: none; }
  .oa-r2__mark { --rz-size: 46px !important; grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .oa-r2 .oa-r2__copy { grid-column: 2; grid-row: 1; } .oa-r2__link { grid-column: 2; grid-row: 2; }
}
.oa-cl__ph { display: block; width: 46%; height: 8px; margin: 7px 0; border-radius: 4px; background: #ECE9E0; }
@media (max-width: 959px), (max-height: 599px) { .oa-cd .rm--full .rm-side { max-width: min(15em, 100%); } }
/* the shortest frames (640 x 360): no title bar, a 64 px mark, tight chat rows */
.oa-r2--tiny .oa-cl__bar { display: none; }
.oa-r2--tiny .oa-r2__mark { --rz-size: 64px !important; }
.oa-r2--tiny .oa-r2__col { padding: 0 16px 0 2px; }
.oa-r2--tiny .rm-side .oa-cl__ex-tag { justify-self: start; }
@container (max-height: 190px) {
  .oa-cl__thread { padding: 5px 10px 4px; } .oa-cl__ex { gap: 4px; } .oa-cl__body { gap: 4px; }
  .oa-cl__bot { grid-template-columns: minmax(0, 1fr); } .oa-cl__spark { display: none; }
  .oa-cl__you { max-width: 100%; padding: 5px 10px; line-height: 1.3; }
  .oa-cl__card { padding: 4px 10px; } .oa-cl__card-h { gap: 8px; }
  .oa-cl__appr { padding: 2px 6px; } .oa-cl__edit, .oa-cl__approve { height: 26px; }
  .oa-cl__tr { padding: 4px 8px; line-height: 1.25; }
  .oa-cl__panel { padding: 5px 10px; gap: 5px; }
  .oa-cl__dlg { gap: 5px; padding: 7px 10px; } .oa-cl__input { min-height: 26px; } .oa-cl__btn-ok { height: 24px; } .oa-cl__dlg-t { font-size: 15px; }
}
@media (max-height: 480px) and (orientation: landscape) { .oa-slow__l1, .oa-slow__l2 { white-space: normal; max-width: 9.6em; } }
/* es-buyers short frames: the post loses its action row; comments become tight rows with the vote beside the name */
.oa-f6 .rd-cm { grid-template-columns: 24px minmax(0, 1fr); column-gap: 6px; }
.oa-f6 .rd-cm__rail { grid-template-rows: 24px 1fr; }
.oa-f6 .rd-cm__rail .rd-av { width: 22px !important; height: 22px !important; }
.oa-f6 .rd-cm__main { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 0; }
.oa-f6 .rd-cm__h { grid-column: 1; grid-row: 1; min-height: 24px; }
.oa-f6 .rd-cm__act { grid-column: 2; grid-row: 1; }
.oa-f6 .rd-cm__text { grid-column: 1 / -1; grid-row: 2; }
.oa-f6 .oa-cm:not(.oa-maya) .rd-cm__text { display: none; }
.oa-f6 .rd-cm__act .rd-vote, .oa-f6 .rd-cm__act .rd-pill { height: 24px; }
.oa-f6 .oa-tree { gap: 2px; }
.oa-f6 .rd-cm--hi > .rd-cm__main::before { inset: -3px -8px 0 -34px; }
/* once Maya's answer is in, the question title steps aside so her row, 38 and 21 fit */
.oa-f7 .oa-buyers__post .rd-actions { display: none; }
.oa-f7 .oa-buyers__post .rd-post__t { font-size: 15px; }
.oa-f7.oa-maya-in .oa-buyers__post .rd-post__t { display: none; }
@media (max-height: 469px) and (orientation: landscape) { .oa-buyers .rm--split { grid-template-columns: minmax(0, .29fr) minmax(0, .71fr); column-gap: 18px; } .oa-buyers .rm--split .rm-side { align-self: start; } .oa-buyers .rm-note { font-size: 14px; line-height: 1.38; } }
@media (max-height: 469px) and (orientation: landscape) {
  .oa-buyers__copy .oa-stat { padding: 8px 11px; gap: 2px; border-radius: 12px; }
  .oa-buyers__copy .oa-stat__v { font-size: 26px; }
  .oa-buyers__copy .oa-stat__l { font-size: 14px; line-height: 1.28; }
  .oa-buyers__copy .oa-stat .rm-src--line { margin-top: 1px; }
}
/* levers column mode (compact and phone): ticks join each flag to its dart */
.oa-ticks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.oa-tick { stroke: rgb(255 255 255 / .42); stroke-width: 1; }
.oa-lv--hot .oa-tick { stroke: rgb(255 255 255 / .22); }
.oa-lv--hot .oa-tick--top { stroke: rgb(255 140 70 / .9); stroke-width: 1.5; }
@media (max-width: 759px) and (orientation: portrait) { .oa-lv--col .oa-flag { max-width: 6.6em; } }
@media (max-width: 959px) and (orientation: landscape), (max-height: 599px) and (orientation: landscape) {
  .oa-lv--col .oa-flag { white-space: nowrap; max-width: none; height: 24px; min-height: 0; padding: 0 7px; }
}
@media (max-height: 400px) and (orientation: landscape) { .oa-lv--col .oa-flag { height: 22px; } }
@media (max-width: 959px) and (orientation: landscape), (max-height: 599px) and (orientation: landscape) { .oa-lv--col .rm--full .rm-side { max-width: min(14em, 100%); } }

/* levers row layout: compact frames keep the side text short (legend on one line) so the board gets the height */
@media (max-width: 959px), (max-height: 599px) {
  .oa-lv--rows .rm--full .rm-side { max-width: min(14em, 100%); }
  .oa-lv--rows .oa-flag { white-space: nowrap; max-width: none; height: 24px; min-height: 0; padding: 0 7px; }
}
@media (max-height: 400px) and (orientation: landscape) { .oa-lv--rows .oa-flag { height: 22px; } }
@media (max-width: 759px) and (orientation: portrait) {
  .oa-lv--rows .oa-flag { display: block; white-space: normal; max-width: 8.4em; height: auto; padding: 3px 7px; line-height: 1.15; }
  .oa-lv--rows .oa-flag__t { display: inline; }
  .oa-lv--rows .oa-flag__d { display: inline-flex; margin-left: 5px; vertical-align: 1px; }
}
/* ryze-2: the answer line in beat 3 */
.oa-cl__card-h { align-items: flex-start; }
.oa-cl__card-h p { margin: 0; font-weight: 600; line-height: 1.38; }
.oa-cl__card-h .rd-mark { margin-top: 1px; }
.oa-cl__td--name { white-space: nowrap; }
/* narrow windows: each row puts its name on one line and its two numbers under it */
@container (max-width: 380px) {
  .oa-cl__tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 0; column-gap: 12px; }
  .oa-cl__td--name { grid-column: 1 / -1; }
}
/* phones: the glowing mark (72 px) sits above the window */
.oa-r2--ph .oa-cl__wrap { flex-direction: column; }
.oa-r2--ph .oa-r2__col { display: flex; padding: 6px 0 12px; }
.oa-r2--ph .oa-r2__mark { --rz-size: 72px !important; margin: 0; }
.oa-r2--ph .oa-r2__mark .rz-mark__halo { inset: -22%; } .oa-r2--ph .oa-r2__mark .rz-mark__dots { inset: -15%; }
.oa-r2--ph .oa-cl { flex: 1; min-height: 0; }
@media (max-width: 759px) and (orientation: portrait) {
  .oa-r2.oa-r2--ph .rm-side { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: 14px; row-gap: 4px; align-items: center; }
  .oa-r2.oa-r2--ph .oa-r2__copy { grid-column: 1 / -1; grid-row: 1; }
  .oa-r2.oa-r2--ph .oa-r2__link { grid-column: 1; grid-row: 2; }
  .oa-r2.oa-r2--ph .rm-side .oa-cl__ex-tag { grid-column: 2; grid-row: 2; }
  .oa-r2--ph .oa-cl__comp, .oa-r2--ph .oa-cl__card .oa-cl__bars, .oa-r2--ph .oa-cl__bars--ans { display: none; }
}
/* phones always use the tight chat: no Claude spark column or tool row, small gaps */
.oa-r2--ph .oa-cl__bot { grid-template-columns: minmax(0, 1fr); } .oa-r2--ph .oa-cl__spark, .oa-r2--ph .oa-cl__tool { display: none; }
.oa-r2--ph .oa-cl__thread { padding: 8px 10px 6px; } .oa-r2--ph .oa-cl__ex { gap: 6px; } .oa-r2--ph .oa-cl__body { gap: 6px; }
.oa-r2--ph .oa-cl__you { max-width: 100%; padding: 6px 10px; line-height: 1.32; }
.oa-r2--ph .oa-cl__card { padding: 6px 10px; } .oa-r2--ph .oa-cl__appr { padding: 4px 6px; } .oa-r2--ph .oa-cl__edit, .oa-r2--ph .oa-cl__approve { height: 28px; }

/* es-crackdown: the stat sits on its own scrim; the side text keeps to the left 38% */
.oa-cd__stat { padding: 10px 14px 11px; border-radius: 12px; background: rgb(5 5 6 / .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 40px 20px rgb(5 5 6 / .45); }
@media not ((max-width: 759px) and (orientation: portrait)) { .oa-cd .rm--full .rm-side { max-width: min(38vw, 27em); } }
@media (max-width: 959px), (max-height: 599px) { .oa-cd .rm--full .rm-side { max-width: min(15em, 38vw); } .oa-cd__stat { padding: 8px 12px 9px; } }

/* 640 x 360: a slimmer mark column and side, so the beat-3 answer fits in two lines and Approve stays in view */
.oa-r2--tiny:not(.oa-r2--ph) .oa-r2__mark { --rz-size: 58px !important; }
.oa-r2--tiny:not(.oa-r2--ph) .oa-r2__col { padding: 0 12px 0 0; }
@media (max-height: 400px) and (orientation: landscape) { .oa-r2.oa-r2--cmp .rm--split { grid-template-columns: minmax(0, .25fr) minmax(0, .75fr); column-gap: 14px; } }
.oa-r2--tiny:not(.oa-r2--ph) .oa-r2__mark .rz-mark__halo { inset: -12%; } .oa-r2--tiny:not(.oa-r2--ph) .oa-r2__mark .rz-mark__dots { inset: -8%; }
.oa-r2--tiny:not(.oa-r2--ph) .oa-r2__col { padding: 0 10px 0 10px; }
@media (max-height: 400px) and (orientation: landscape) { .oa-r2__link { font-size: 14px; } }
@media (max-width: 759px) and (orientation: portrait) { .oa-cd .rm--full .rm-side { max-width: 100%; } }

/* ---------- ryze-ads: the Reddit Ads report in the shared Claude window ---------- */
.oa-r2 .oa-cl__you.is-gone, .oa-r2 .oa-ra__ask.is-gone, .oa-r2 .oa-cl__appr.is-gone { display: none; }
.oa-ra__report { display: grid; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cl-line); }
.oa-ra__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) 3.4em 5.6em; align-items: center; gap: 12px; padding: 10px 14px; font-size: 15px; font-variant-numeric: tabular-nums; transition: background .5s, color .5s, opacity .45s, transform .5s cubic-bezier(.2,.75,.2,1); }
.oa-ra__row + .oa-ra__row { box-shadow: inset 0 1px 0 var(--cl-line); }
.oa-ra__sub { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; white-space: nowrap; }
.oa-ra__sub > span:last-child { overflow: hidden; text-overflow: clip; }
.oa-ra__bar { position: relative; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--cl-line); overflow: hidden; }
.oa-ra__bar i { position: absolute; left: 2px; top: 2px; bottom: 2px; width: calc(var(--w) - 4px); background: radial-gradient(circle, #FF7F32 1.4px, transparent 1.8px) 0 0 / 5px 5px; transition: width .9s cubic-bezier(.2,.75,.2,1), filter .5s; }
.oa-ra__row:not(.is-on) .oa-ra__bar i { width: 0; }
.oa-ra__spend { text-align: right; font-weight: 600; }
.oa-ra__sign { text-align: right; color: var(--cl-mut); white-space: nowrap; }
.oa-ra--cut .oa-ra__row--bad { background: #FBEDE9; color: #8E3F2E; }
.oa-ra--cut .oa-ra__row--bad .oa-ra__sign { color: #B4503A; font-weight: 600; }
.oa-ra--cut .oa-ra__row--bad .oa-ra__bar i { background-image: radial-gradient(circle, #D9776A 1.4px, transparent 1.8px); }
.oa-ra__ask { margin: 2px 0 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.oa-ra__report, .oa-ra__ask { transition: opacity .45s, transform .5s cubic-bezier(.2,.75,.2,1); }
.oa-ra__report:not(.is-on), .oa-ra__row:not(.is-on), .oa-ra__ask:not(.is-on) { opacity: 0; transform: translateY(8px); }
/* the paused campaign card with a preview of her post */
.oa-ra__chead { display: flex; align-items: center; gap: 10px; }
.oa-ra__chead .oa-cl__bars { flex: 1; } .oa-ra__cname i { height: 10px; background: #DCD8CD; }
.oa-ra__paused { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: #F3EFE4; box-shadow: inset 0 0 0 1px #E2DCCB; font-size: 14px; font-weight: 600; color: #6B5F3F; }
.oa-ra__paused::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C9A227; }
.oa-ra__post { position: relative; display: grid; gap: 8px; margin-top: 4px; padding: 26px 14px 12px; border-radius: 10px; background: #F7F8F9; box-shadow: inset 0 0 0 1px #DFE4E7; }
.oa-ra__from { position: absolute; left: 10px; top: -11px; height: 22px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #DFE4E7; font-size: 14px; font-weight: 600; color: #0F1A1C; }
.oa-ra__ph { display: flex; align-items: center; gap: 8px; } .oa-ra__ph .oa-cl__bars { flex: 1; }
.oa-ra__pbar i { height: 7px; background: #CFD7DB; }
.oa-ra__ptitle { gap: 7px; } .oa-ra__ptitle i { height: 10px; background: #C7D0D5; }
.oa-ra__pact { display: flex; gap: 8px; } .oa-ra__pact i { width: 54px; height: 22px; border-radius: 999px; background: #E5EBEE; } .oa-ra__pact i + i { width: 40px; }
@media (min-width: 960px) and (min-height: 600px) { .oa-ra__row { font-size: 17px; padding: 12px 16px; } .oa-ra__ask { font-size: 18px; } }
@media (max-width: 959px), (max-height: 599px) { .oa-ra__row { font-size: 14px; padding: 7px 10px; gap: 8px; } .oa-ra__ask { font-size: 14px; } .oa-ra__post { padding: 20px 10px 8px; gap: 6px; } }
/* narrow windows: each row puts the subreddit on one line and its bar, spend and signups under it */
@container (max-width: 440px) {
  .oa-ra__row { grid-template-columns: max-content minmax(22px, 1fr) max-content max-content; gap: 7px; padding: 6px 9px; }
  .oa-ra__sub > span:last-child { overflow: visible; }
  .oa-ra__sub .rd-mark { display: none; }
}
@container (max-width: 300px) {
  .oa-ra__row { grid-template-columns: minmax(0, 1fr) 2.9em 4.9em; row-gap: 3px; }
  .oa-ra__sub { grid-column: 1 / -1; }
}
/* the campaign card keeps its preview bars in short windows, in a compact form */
.oa-ra__camp .oa-cl__bars { display: grid !important; }
@container (max-height: 240px) {
  .oa-ra__ph, .oa-ra__pact, .oa-ra__ptitle i + i { display: none !important; }
  .oa-ra__post { padding: 16px 10px 7px; margin-top: 8px; }
  .oa-ra__camp { gap: 6px; padding: 6px 10px; }
  .oa-ra__paused { height: 22px; }
}
@container (max-height: 300px) { .oa-ra__pact { display: none; } .oa-ra__post { padding-top: 18px; gap: 5px; } .oa-ra__row { padding: 5px 10px; } }
@container (max-height: 190px) { .oa-ra__row { padding: 3px 9px; } .oa-ra__ask { margin: 0; line-height: 1.25; } .oa-ra__report { border-radius: 9px; } }

/* round 5: at 640x360 the legend runs on one line under the title, so the flag columns keep their height */
@media (max-height: 400px) and (orientation: landscape) {
  .oa-lv .rm--full .rm-side { max-width: none; }
  .oa-lv .oa-lv__legend { display: flex; flex-wrap: nowrap; column-gap: 20px; }
  .oa-lv .oa-lv__key { white-space: nowrap; }
  .oa-lv .oa-lv__copy .rm-note { max-width: 36em; }
}
@media (max-height: 400px) and (orientation: landscape) {
  .oa-lv .oa-lv__copy > [data-show]:not(.is-on), .oa-lv .oa-lv__copy > [data-hide]:not(.is-on) { display: none; }
  .oa-lv--col .oa-flag { height: 20px; }
}
/* round 5: on desktop the Ryze mock scenes put their text directly under the title and the glowing logo below it */
@media (min-width: 960px) and (min-height: 600px) {
  .oa-r2:not(.oa-r2--cmp):not(.oa-r2--ph):not(.oa-r2--tiny) .rm-side > .oa-r2__copy { order: 1; }
  .oa-r2:not(.oa-r2--cmp):not(.oa-r2--ph):not(.oa-r2--tiny) .rm-side > .oa-r2__link { order: 2; }
  .oa-r2:not(.oa-r2--cmp):not(.oa-r2--ph):not(.oa-r2--tiny) .rm-side > .oa-r2__mark { order: 3; }
}
