/* Builder C: scene 13 (bans) and levers 5 to 8. Every selector starts with oc-.
 * Compact = (max-width: 959px), (max-height: 599px); phone = (max-width: 759px) and (orientation: portrait). */

/* ---------- shared ---------- */
.oc-swap { display: grid; }
.oc-swap > * { grid-area: 1 / 1; min-width: 0; }
.oc-cell { display: grid; gap: 6px; align-content: start; }
.oc-scene .rm-side .rm-stat__l { color: inherit; }

/* flat labels over 3D, positioned every frame; shown with .oc-on */
.oc-lab { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; white-space: nowrap; font-size: 15px; font-weight: 500; line-height: 1.25; color: #fff;
  opacity: 0; transition: opacity .55s cubic-bezier(.2,.7,.2,1); text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 14px rgb(0 0 0 / .5); will-change: transform, opacity; }
.oc-lab.oc-on { opacity: 1; }
.oc-lab--pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 7px; background: rgb(10 10 12 / .74); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); text-shadow: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.oc-lab--orange { color: #FFB27A; box-shadow: inset 0 0 0 1px rgb(255 127 50 / .45); }
.oc-lab--rose { color: #F6C8BC; box-shadow: inset 0 0 0 1px rgb(255 143 134 / .45); }
.oc-lab--white { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.oc-lab--muted { color: rgb(255 255 255 / .78); }
.oc-lab .oc-upi { display: grid; color: #FF7F32; }
.oc-lab .oc-upi svg { width: 16px; height: 16px; }

/* bans: the laser dash before each wire label */
.oc-dash { display: inline-block; width: 16px; height: 2px; border-radius: 2px; background: #FF8F86; box-shadow: 0 0 8px 1px rgb(255 120 110 / .9); flex: none; }
.oc-lab--wire { color: #FBE3DC; }

/* l8-why: the counters pinned over the street and the door */
.oc-lab--block { display: grid; gap: 2px; padding: 10px 14px 11px; border-radius: 10px; background: rgb(10 10 12 / .78); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); text-shadow: none; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.oc-lab--door { box-shadow: inset 0 0 0 1px rgb(255 127 50 / .45); }
.oc-shop__row { display: flex; align-items: baseline; gap: 6px; }
.oc-shop__v { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.oc-shop__v--o { color: #FF9A55; }
.oc-shop__u { font-size: clamp(18px, 1.5vw, 24px); font-weight: 500; color: #fff; }
.oc-shop__u--o { color: #FF9A55; }
.oc-shop__l { font-size: 15px; color: rgb(255 255 255 / .86); }
.oc-shop__l--o { color: #FFC59A; }
.oc-shop__key { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 15px; color: rgb(255 255 255 / .78); }
.oc-shop__dot { width: 7px; height: 11px; border-radius: 4px 4px 2px 2px; background: #fff; box-shadow: 0 -6px 0 -1.5px #fff; margin-top: 5px; flex: none; }
.oc-shop__src { font-size: 14px; color: rgb(255 255 255 / .6); margin-top: 2px; }

/* ================================================================ mocks (shared) */
.oc-ic { display: inline-grid; place-items: center; flex: none; color: inherit; }
.oc-svg { display: block; }
.oc-svg svg { display: block; }
.oc-scene .rd-post__h .rm-example { margin-left: auto; }
.oc-scene .rd-post__h .rm-example + .rd-post__more { margin-left: 4px; }
.oc-bp__name { width: 96px !important; height: 9px; background: #CFD7DB; }
.oc-bp__age { width: 46px !important; height: 7px; }
.oc-shot { display: grid; grid-template-rows: 18px minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: #F6F8F9; box-shadow: inset 0 0 0 1px #DFE4E7; }
.oc-shot__bar { display: flex; gap: 5px; align-items: center; padding: 0 9px; background: #EEF1F3; }
.oc-shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: #CFD7DB; }
.oc-shot__svg { padding: 6px 8px 4px; min-height: 0; }
@keyframes oc-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes oc-pulse { 0%, 100% { box-shadow: inset 0 0 0 1.5px #0F1A1C, 0 0 0 0 rgb(255 127 50 / .5); } 50% { box-shadow: inset 0 0 0 1.5px #FF7F32, 0 0 0 10px rgb(255 127 50 / 0); } }

/* ---------- l5-proof ---------- */
.oc-pf-s .rm-vis { container: ocpf / size; }
.oc-pf { position: relative; height: 100%; }
.oc-pf__page { position: absolute; left: 0; top: 0; bottom: 0; width: 61%; height: auto; }
.oc-pf__post { gap: 10px; }
.oc-pf__page .rd-page__body, .oc-hw__page .rd-page__body { grid-template-columns: minmax(0, 1fr); }
.oc-pf__body { display: grid; gap: 10px; }
.oc-pf__shot { height: clamp(70px, 24cqh, 170px); }
.oc-pf__link { display: none; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #FDECEA; box-shadow: inset 0 0 0 1px #F3B5AC; color: #0045AC; }
.oc-pf__url { display: block; height: 9px; width: 58%; border-radius: 4px; background: #0045AC; opacity: .55; }
.oc-pf[data-b="1"] .oc-pf__link { display: flex; animation: oc-pop .6s both; }
.oc-pf__post .rd-vote .rd-bar--n { transition: width .9s ease; }
.oc-pf[data-b="1"] .oc-pf__post .rd-vote { background: #ECE9FF; }
.oc-pf[data-b="1"] .oc-pf__post .rd-vote__up { color: #A9B4B9; }
.oc-pf[data-b="1"] .oc-pf__post .rd-vote__dn { color: #6A5CFF; }
.oc-pf[data-b="1"] .oc-pf__post .rd-vote .rd-bar--n { width: 6px !important; background: #B8B1F5; }
.oc-pf__ins { position: absolute; right: 0; top: 8%; width: 37%; max-width: 420px; display: grid; gap: 6px; padding: 16px 18px 14px; border-radius: 16px; background: #fff; color: #0F1A1C;
  box-shadow: 0 1px 2px rgb(15 26 28 / .06), 0 34px 60px -30px rgb(15 26 28 / .45), inset 0 0 0 1px #DFE4E7; }
.oc-pf__insh { display: flex; align-items: center; gap: 8px; color: #576F76; }
.oc-pf__insh .rd-bar { width: 90px; height: 9px; background: #CFD7DB; }
.oc-pf .flap { font-size: clamp(24px, 3.6cqw, 48px); margin-top: 4px; }
.oc-pf__cms { display: grid; gap: 6px; padding-top: 6px; }
.oc-pf__lab { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: #0F1A1C; }
.oc-pf__src { margin-top: 0; color: #576F76; }
.oc-pf__curve { position: relative; display: grid; }
.oc-pf .rm-sr { opacity: 0; }
.oc-pf .flap__c:nth-child(4) { width: .34em; } /* the comma cell, so 798,124 reads as one number */ /* the counter's screen-reader copy: read aloud, not counted twice on screen */
.oc-pf__ill { position: absolute; left: 0; top: 2px; }
.oc-pf__spark { padding-top: 22px; height: clamp(44px, 26cqh, 170px); margin-top: 6px; }
.oc-pf__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.3,.6,.2,1) .2s; }
.oc-pf__area { opacity: 0; transition: opacity 1.2s ease 1s; }
.oc-pf.is-drawn .oc-pf__line { stroke-dashoffset: 0; }
.oc-pf.is-drawn .oc-pf__area { opacity: .55; }
@container ocpf (max-height: 520px) { .oc-pf__more { display: none; } }
@container ocpf (max-height: 400px) { .oc-pf__page .rd-top { display: none; } .oc-pf__shot { height: clamp(56px, 20cqh, 90px); } }
@container ocpf (max-height: 330px) { .oc-pf__curve { display: none; } }
@container ocpf (max-width: 619px) and (min-width: 360px) { .oc-pf__page .rd-top { display: none; } .oc-pf__ins { top: 0; width: 38%; padding: 12px; gap: 4px; } .oc-pf__insh { display: none; } .oc-pf .flap { font-size: 20px; } .oc-pf__lab { font-size: 14px; } .oc-pf__page { width: 59%; } .oc-pf__post .rd-post__h .rd-bar { display: none; } .oc-pf__cms { display: none; } }
@container ocpf (max-height: 230px) { .oc-pf__post .rd-post__t { font-size: 15px; } .oc-pf__page .rd-page__body { padding-top: 8px; } .oc-pf__post { gap: 6px; } .oc-pf__more, .oc-pf__body > .rd-bars, .oc-pf__shot { display: none; } }
@container ocpf (max-height: 290px) { .oc-pf__shot { display: none; } }
@container ocpf (max-width: 359px) {
  .oc-pf { display: flex; flex-direction: column; gap: 10px; }
  .oc-pf__page { position: relative; width: 100%; flex: 1 1 0; min-height: 0; overflow: hidden; }
  .oc-pf__ins { position: relative; top: auto; right: auto; width: 100%; max-width: none; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 10px 14px; align-items: center; }
  .oc-pf__insh, .oc-pf__curve { display: none; }
  .oc-pf .flap { grid-row: span 2; margin: 0; font-size: 24px; }
  .oc-pf__lab { margin: 0; font-size: 14px; }
  .oc-pf__more, .oc-pf__body > .rd-bars { display: none; }
  .oc-pf__page .rd-top { display: none; }
}

/* ---------- l5-how ---------- */
.oc-hw-s .rm-vis { container: ochw / size; }
.oc-hw { position: relative; height: 100%; --pw: min(620px, 58cqw); }
.oc-hw__page { position: absolute; top: 0; bottom: 0; height: auto; left: max(0px, calc((100cqw - var(--pw) - 330px) / 2)); width: var(--pw); }
.oc-hw__post { gap: 10px; }
.oc-hw__body { display: grid; gap: 10px; max-height: 640px; transition: max-height .7s cubic-bezier(.4,0,.2,1), opacity .4s; }
.oc-hw[data-b="2"] .oc-hw__body { max-height: 0; opacity: 0; overflow: hidden; }
.oc-hw__line { margin: 0; font-size: 15px; line-height: 1.5; color: #0F1A1C; font-weight: 500; }
.oc-hw__line:not(.is-on) { display: none; }
.oc-hw__shot { flex: none; height: clamp(52px, 16cqh, 120px); width: min(100%, 300px); transition: box-shadow .5s; }
.oc-hw__srow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.oc-hw__srow--hi .oc-hw__hirow { flex: 0 0 min(100%, 380px); }
.oc-hw__slot { display: contents; }
.oc-hw__lrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; min-width: 0; }
.oc-hw__lrow .oc-ann--in { margin: 4px 0 0; }
.oc-hw__lrow .oc-ann--in::before { left: 14px; bottom: 100%; height: 6px; }
.oc-hw-s .rm-side .rm-pit:not(.is-on) { display: none; }
.oc-hw__hirow { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.oc-hw__hirow .rd-bar { flex: none; }
.oc-hw__pk { flex: none; display: inline-flex; align-items: center; }
.oc-hw__mark { display: block; width: 84px; height: 12px; border-radius: 4px; background: #FF7F32; opacity: .5; }
.oc-hw__pkw { display: none; padding: 1px 7px; border-radius: 5px; background: #FFE2CF; box-shadow: 0 0 0 1.5px rgb(255 127 50 / .7), 0 0 0 5px rgb(255 127 50 / .14); color: #0F1A1C; font-size: 15px; font-weight: 700; line-height: 1.35; }
.oc-hw:not([data-b="0"]) .oc-hw__mark { display: none; }
.oc-hw:not([data-b="0"]) .oc-hw__pkw { display: inline-block; }
.oc-hw[data-b="1"] .oc-hw__shot { box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .7), 0 0 0 4px rgb(255 127 50 / .14); }
.oc-hw[data-b="0"] .oc-hw__post .rd-post__t { background: linear-gradient(transparent 62%, rgb(255 127 50 / .22) 62%); }
.oc-hw__cms { display: grid; gap: 6px; padding-top: 4px; }
.oc-hw[data-b="2"] .oc-hw__c2 { display: none; }
.oc-hw[data-b="2"] .oc-hw__page { bottom: auto; max-height: 100%; }
.oc-hw:not(.is-narrow) .oc-hw__page .rd-page__body { -webkit-mask-image: linear-gradient(#000 calc(100% - 24px), transparent); mask-image: linear-gradient(#000 calc(100% - 24px), transparent); }
.oc-hw[data-b="2"] .oc-hw__page .rd-page__body { padding-bottom: 14px; -webkit-mask-image: none; mask-image: none; }
.oc-hw__reply { display: none; }
.oc-hw[data-b="2"] .oc-hw__reply { display: grid; animation: oc-pop .6s both .25s; }
.oc-hw__clock { display: grid; color: #FF7F32; margin-left: 2px; }
.oc-ann { position: absolute; left: 0; top: 0; z-index: 3; display: grid; gap: 2px; max-width: 290px; padding: 8px 12px; border-radius: 9px; background: #FFF3EA; color: #9A4210; font-size: 15px; line-height: 1.35; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .55), 0 10px 24px -16px rgb(154 66 16 / .5); }
.oc-ann::before { content: ""; position: absolute; right: 100%; top: 50%; width: var(--tick, 30px); height: 2px; margin-top: -1px; background: #FF7F32; border-radius: 2px; }
.oc-ann::after { content: ""; position: absolute; right: calc(100% + var(--tick, 30px) - 3px); top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #FF7F32; }
.oc-ann__src { font-weight: 500; color: #8B6A58; opacity: 1; }
.oc-ann--in { position: relative; justify-self: start; max-width: 100%; margin: 6px 0 2px 10px; transform: none !important; }
.oc-hw__srow .oc-ann--in { margin: 0; flex: 0 1 auto; }
.oc-hw__srow .oc-ann--in::before { left: auto; right: 100%; top: 50%; bottom: auto; width: 10px; height: 2px; margin-top: -1px; }
.oc-ann--in::before { right: auto; left: 14px; top: auto; bottom: 100%; width: 2px; height: 8px; margin: 0; }
.oc-ann--in::after { display: none; }
.oc-ann--in:not(.is-on) { display: none; }
@container ochw (max-height: 440px) { .oc-hw__page .rd-top { display: none; } }
@container ochw (max-height: 300px) {
  .oc-hw__post .rd-post__t { font-size: 16px; }
  .oc-hw__shot { height: 38px; width: min(46%, 220px); }
  .oc-hw__post, .oc-hw__body { gap: 6px; }
  .oc-hw__page .rd-page__body { padding-top: 10px; }
  .oc-hw__shot .oc-shot__bar { display: none; }
  .oc-hw__shot { grid-template-rows: minmax(0, 1fr); }
  .oc-hw__tail { display: none; }
  .oc-ann { padding: 5px 10px; font-size: 14px; }
  .oc-hw[data-b="2"] .oc-hw__post .rd-actions, .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__main > .rd-cm__h, .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__main > .rd-cm__text, .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__main > .rd-cm__act { display: none; }
  .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__rail > .rd-av { visibility: hidden; }
  .oc-hw[data-b="2"] .oc-ann--2 { display: block; }
  .oc-hw[data-b="2"] .oc-ann__src { display: inline; margin-left: 8px; }
}
@container ochw (max-width: 759px) { .oc-hw__page { left: 0; width: 100%; } .oc-hw__page .rd-top { display: none; } }
@container ochw (max-width: 520px) { .oc-hw__shot { height: 42px; width: 64%; } .oc-hw__shot .oc-shot__bar { display: none; } .oc-hw__shot { grid-template-rows: minmax(0, 1fr); } .oc-hw:not([data-b="0"]) .oc-hw__post .rd-actions, .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__main > .rd-cm__text, .oc-hw[data-b="2"] .oc-hw__cms > .rd-cm > .rd-cm__main > .rd-cm__act, .oc-hw[data-b="2"] .oc-hw__reply .rd-cm__act { display: none; } }
@container ochw (max-height: 250px) { .oc-hw__post .rd-post__t { font-size: 15px; } .oc-hw__shot { height: 32px; width: 30%; } .oc-hw__post, .oc-hw__body { gap: 4px; } .oc-hw__page .rd-page__body { padding-top: 6px; } .oc-hw__pkw { font-size: 14px; padding: 0 6px; } .oc-hw .oc-ann { padding: 3px 9px; } }
@container ochw (max-height: 190px) { .oc-hw[data-b="1"] .oc-hw__post > .rd-post__h, .oc-hw[data-b="1"] .oc-ann--1 { display: none; } }
@container ochw (max-height: 250px) { .oc-hw:not([data-b="2"]) .oc-hw__post .rd-actions { display: none; } }
@container ochw (max-height: 190px) { .oc-hw[data-b="2"] .oc-hw__post > .rd-post__h { display: none; } }
@container ochw (max-height: 250px) { .oc-hw[data-b="2"] .oc-hw__cms { padding-top: 0; gap: 2px; } .oc-hw[data-b="2"] .oc-ann--2.oc-ann--in { margin: 2px 0 0 10px; } }
@container ochw (max-height: 250px) { .oc-hw[data-b="2"] .oc-hw__reply .rd-cm__text, .oc-hw[data-b="2"] .oc-hw__reply .rd-cm__act { display: none; } }

/* ---------- l6-proof ---------- */
.oc-bn-s .rm-vis { container: ocbn / size; }
.oc-bn { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 12px 18px; }
.oc-bn__main { grid-column: 1; grid-row: 1; min-width: 0; min-height: 0; display: flex; }
.oc-bn__page { flex: 1 1 auto; height: auto; min-height: 0; }
.oc-bn__in { display: grid; gap: 12px; align-content: start; padding: 0 18px 16px; min-height: 0; overflow: hidden; }
.oc-bn__head { display: grid; gap: 10px; margin: 0 -18px; }
.oc-bn__banner { height: clamp(28px, 9cqh, 64px); background: linear-gradient(110deg, #3D7BDA, #8DD8F3 55%, #9CE7DD); }
.oc-bn__row { display: flex; align-items: center; gap: 12px; padding: 0 18px; margin-top: -22px; }
.oc-bn__icon { display: grid; border-radius: 50%; box-shadow: 0 0 0 4px #fff; background: #fff; }
.oc-bn__name { font-size: clamp(18px, 2.2cqw, 24px); font-weight: 700; color: #0F1A1C; margin-top: 18px; }
.oc-bn__compose { margin-left: auto; margin-top: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E5EBEE; color: #0F1A1C; transition: background .4s, color .4s; }
.oc-bn__compose > span { display: grid; }
.oc-bn__lock { display: none !important; }
.oc-bn.is-ban .oc-bn__plus { display: none; }
.oc-bn.is-ban .oc-bn__lock { display: grid !important; }
.oc-bn.is-ban .oc-bn__compose { background: #F1F3F4; color: #A9B4B9; }
.oc-bn__join { margin-top: 18px; width: 74px; height: 34px; border-radius: 999px; background: #0045AC; opacity: .9; transition: opacity .4s; flex: none; }
.oc-bn.is-ban .oc-bn__join { opacity: .25; }
.oc-bn__ban { display: none; align-items: flex-start; gap: 10px; margin: 0 18px; padding: 11px 14px; border-radius: 10px; background: #FDECEA; box-shadow: inset 0 0 0 1px #F3B5AC; color: #8A1C0F; font-size: 15px; line-height: 1.4; font-weight: 600; }
.oc-bn__banic { display: grid; margin-top: 1px; }
.oc-bn.is-ban .oc-bn__ban { display: flex; animation: oc-pop .5s both; }
.oc-bn.is-ban.is-static .oc-bn__ban { animation: none; }
.oc-bn__feed { display: grid; gap: 12px; }
.oc-bn__fp { padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px #DFE4E7; }
.oc-bn__rc { grid-column: 2; grid-row: 1 / 3; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.oc-bn__ins { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; color: #0F1A1C;
  box-shadow: 0 1px 2px rgb(15 26 28 / .06), 0 30px 60px -34px rgb(15 26 28 / .4), inset 0 0 0 1px #DFE4E7; transition: flex-grow .8s cubic-bezier(.4,0,.2,1); }
.oc-bn__insh { display: flex; align-items: center; gap: 8px; }
.oc-bn__insh .rd-bar { width: 90px; height: 9px; background: #CFD7DB; } .oc-bn__insh .oc-bn__insb { width: 46px; background: #E2E7EA; }
.oc-bn__ms { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.oc-bn__m { display: inline-flex; align-items: baseline; gap: 6px; font-size: 15px; color: #576F76; }
.oc-bn__m .oc-ic { align-self: center; color: #576F76; }
.oc-bn__mv { font-size: clamp(24px, 3.4cqw, 36px); font-weight: 700; color: #0F1A1C; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.02em; }
.oc-bn__chart { flex: 1 1 auto; min-height: 0; }
.oc-bn__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.3,.6,.2,1); }
.oc-bn__area { opacity: 0; transition: opacity .8s ease .5s; }
.oc-bn.is-drawn .oc-bn__line { stroke-dashoffset: 0; } .oc-bn.is-drawn .oc-bn__area { opacity: 1; }
.oc-bn__tags { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.oc-bn__fan { position: relative; flex: 0 0 0; min-height: 0; overflow: hidden; perspective: 1100px; transition: flex-grow .8s cubic-bezier(.4,0,.2,1); }
.oc-bn[data-b="1"] .oc-bn__ins { flex: 0 0 auto; }
.oc-bn[data-b="1"] .oc-bn__chart { display: none; }
.oc-bn[data-b="1"] .oc-bn__fan { flex: 1 1 auto; }
.oc-bn__fanin { position: absolute; inset: 0; container: ocfan / size; }
.oc-bn__tab { position: absolute; left: 50%; top: 50%; width: clamp(56px, min(46cqh, 36cqw), 150px); aspect-ratio: 4 / 5; display: grid; align-content: start; gap: 8px; padding: 12% 9% 0; border-radius: 10px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgb(15 26 28 / .08), 0 16px 30px -18px rgb(15 26 28 / .5), inset 0 0 0 1px #DFE4E7; transform-origin: 50% 140%;
  opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .4s; transition-delay: calc(var(--k) * 35ms); }
.oc-bn[data-b="1"] .oc-bn__tab { opacity: 1; transform: translate(-50%, -50%) rotateY(-12deg) rotateZ(calc((var(--k) - 5.5) * 6deg)) translateZ(calc(var(--k) * 4px)); }
.oc-bn__th { display: flex; align-items: center; gap: 6px; }
.oc-bn__th .rd-bar { width: 60%; height: 7px; background: #CFD7DB; }
.oc-bn__tban { position: absolute; left: 0; right: 0; top: 0; height: 34%; display: flex; align-items: center; gap: 6px; padding: 0 10%; background: #F7C9C0; color: #8A1C0F; opacity: 0; transform: translateY(-100%); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.oc-bn__tban span { display: grid; }
.oc-bn__tban i { display: block; height: 7px; width: 60%; border-radius: 4px; background: #E08F80; }
.oc-bn[data-b="1"] .is-banned .oc-bn__tban { opacity: 1; transform: none; transition-delay: calc(700ms + var(--k) * 60ms); }
.oc-bn.is-static .oc-bn__tab, .oc-bn.is-static .oc-bn__tban { transition-delay: 0ms !important; }
@container ocbn (max-height: 470px) { .oc-bn__page .rd-top { display: none; } .oc-bn__banner { height: 22px; } }
@container ocbn (max-height: 360px) { .oc-bn__ins { padding: 12px 14px; gap: 8px; } .oc-bn__insh { display: none; } }
/* narrow: one column; the page keeps only the subreddit row and the banner */
@container ocbn (max-width: 600px) {
  .oc-bn { display: flex; flex-direction: column; gap: 8px; }
  .oc-bn__main { flex: 0 0 auto; }
  .oc-bn__rc { flex: 1 1 auto; gap: 8px; }
  .oc-bn__page .rd-top, .oc-bn__banner, .oc-bn__feed, .oc-bn__insh { display: none; }
  .oc-bn[data-b="0"] .oc-bn__ins { flex: 1 1 auto; } .oc-bn__chart { min-height: 0; }
  .oc-bn__in { padding-bottom: 10px; gap: 8px; }
  .oc-bn__row { margin-top: 10px; gap: 10px; }
  .oc-bn__icon .rd-mark { width: 30px !important; height: 30px !important; }
  .oc-bn__name, .oc-bn__compose, .oc-bn__join { margin-top: 0; }
  .oc-bn__compose { width: 30px; height: 30px; } .oc-bn__join { height: 28px; width: 56px; }
  .oc-bn__ban { font-size: 14px; padding: 8px 12px; }
  .oc-bn__ins { flex: 0 0 auto; padding: 8px 12px; gap: 6px; }
  .oc-bn__mv { font-size: 22px; }
  .oc-bn[data-b="0"] .oc-bn__fan { display: none; }
  .oc-bn__tab { width: clamp(38px, 60cqh, 76px); padding: 9% 8% 0; gap: 4px; border-radius: 6px; transform-origin: 50% 50%; top: 50%; }
  .oc-bn__tab .rd-bars, .oc-bn__th .rd-bar { display: none; }
  .oc-bn[data-b="1"] .oc-bn__tab { transform: translate(-50%, -50%) translateX(calc((var(--k) - 5.5) * min(8cqw, 9cqh * 2.2))) rotateZ(calc((var(--k) - 5.5) * 3deg)); }
  .oc-bn__tban { padding: 0 5px; height: 44%; } .oc-bn__tban i { display: none; }
  .oc-bn__tags { order: 3; }
}
/* very short and narrow: in beat 2 the counts row goes, so the banner and the tabs stay whole */
@container ocbn (max-width: 600px) and (max-height: 260px) { .oc-bn__row { display: none; } .oc-bn__ban { margin-top: 0; } .oc-bn__in { padding-top: 10px; } }
@container ocbn (max-width: 600px) and (max-height: 230px) { .oc-bn[data-b="1"] .oc-bn__ins { display: none; } .oc-bn__row { margin-top: 6px; } }
/* ---------- l6-how ---------- */
.oc-rl-s .rm-vis { container: ocrl / size; }
.oc-rl { position: relative; height: 100%; }
.oc-rl__page { height: 100%; }
.oc-rl__head { display: grid; gap: 8px; }
.oc-rl__banner { height: clamp(26px, 8cqh, 64px); border-radius: 10px; background: linear-gradient(110deg, #CDBDEB, #8DD8F3 60%, #9CE7DD); }
.oc-rl__row { display: flex; align-items: center; gap: 12px; padding: 0 6px; margin-top: -18px; }
.oc-rl__icon { display: grid; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #fff; }
.oc-rl__name { width: 130px !important; height: 12px; margin-top: 16px; background: #CFD7DB; }
.oc-rl__lrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.oc-rl .oc-rl__dot { display: block; width: 6px; height: 6px; margin: 7px 0 0 4px; border-radius: 50%; background: #A9B4B9; transition: background .35s; }
.oc-rl .rd-rule.is-hi .oc-rl__dot { background: #FF7F32; }
.oc-rl__join { margin: 16px 0 0 auto; width: 70px; height: 32px; border-radius: 999px; background: #0045AC; opacity: .85; flex: none; }
.oc-rl__pin { padding: 12px 14px; gap: 8px; border-radius: 12px; box-shadow: inset 0 0 0 1px #DFE4E7; transition: background .5s, box-shadow .5s; }
.oc-rl__pinic { display: grid; color: #0A8A4B; }
.oc-rl__pt { display: grid; }
.oc-rl__ptx { display: none; }
.oc-rl[data-b="1"] .oc-rl__ptx { display: block; }
.oc-rl[data-b="1"] .oc-rl__ptb { display: none; }
.oc-rl[data-b="1"] .oc-rl__pin { background: #FFF6EE; box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .6), 0 0 0 6px rgb(255 127 50 / .1); }
.oc-rl__ann { display: none; justify-self: start; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #FF7F32; color: #fff; font-size: 14px; font-weight: 600; }
.oc-rl[data-b="1"] .oc-rl__ann { display: inline-flex; }
.oc-rl .rd-rule.is-hi { transition: background .35s, box-shadow .35s; }
.oc-rl__modcard { padding: 12px 16px; }
.oc-rl__mods { display: inline-flex; align-items: center; justify-self: start; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #0F1A1C; color: #0F1A1C; font-size: 15px; font-weight: 600; }
.oc-rl__mt .rd-bar { width: 116px; height: 9px; background: #CFD7DB; align-self: center; }
.oc-rl__mt > span { white-space: nowrap; }
.oc-rl[data-b="2"] .oc-rl__mods { animation: oc-pulse 1.6s ease-in-out infinite .4s; }
.oc-rl[data-b="2"] .oc-rl__mt .rd-bar { visibility: hidden; }
@container ocrl (max-height: 640px) { .oc-rl .rd-side__card:first-child { display: none; } }
@container ocrl (max-height: 430px) { .oc-rl__page .rd-top { display: none; } }
@container ocrl (max-height: 380px) { .oc-rl__banner { display: none; } .oc-rl__row { margin-top: 0; } .oc-rl__name, .oc-rl__join { margin-top: 0; } .oc-rl .rd-rule { padding: 3px 6px; line-height: 1.3; } .oc-rl .rd-side__card { padding: 10px 12px; gap: 6px; } .oc-rl__modcard { padding: 8px 12px; } .oc-rl .rd-page__body { grid-template-columns: minmax(0, 1fr) minmax(0, 350px); gap: 14px; padding-top: 10px; } }
@container ocrl (max-height: 250px) { .oc-rl[data-b="1"] .rd-rule:nth-child(n+3) { display: none; } }
@container ocrl (max-height: 230px) {
  .oc-rl.is-tiny .oc-rl__modcard, .oc-rl.is-tiny .oc-rl__head, .oc-rl.is-tiny .oc-rl__feed { display: none; }
  .oc-rl.is-tiny .oc-rl__lrow { gap: 8px; } .oc-rl.is-tiny .oc-rl__lrow .rm-example { margin-left: auto; }
  .oc-rl.is-tiny .oc-rl__mods { height: 30px; padding: 0 10px; font-size: 14px; }
  .oc-rl.is-tiny .rd-side__card { padding: 8px 12px; gap: 4px; }
  .oc-rl.is-tiny .rd-rule { padding: 2px 6px; }
  .oc-rl.is-tiny .rd-page__body { padding-top: 8px; gap: 8px; }
  .oc-rl.is-tiny[data-b="1"] .oc-rl__pin { padding: 8px 12px; gap: 4px; } .oc-rl.is-tiny[data-b="1"] .oc-rl__pin .rd-post__h { display: none; }
  .oc-rl.is-tiny[data-b="1"] .oc-rl__pt { font-size: 15px; } .oc-rl.is-tiny[data-b="1"] .oc-rl__lrow .oc-rl__mods { display: none; } .oc-rl.is-tiny[data-b="1"] .rd-rule:nth-child(n+2) { display: none; }
}
@container ocrl (max-height: 330px) { .oc-rl__head { display: none; } .oc-rl.is-small:not([data-b="1"]) .oc-rl__pin { display: none; } .oc-rl__pin .rd-actions { display: none; } .oc-rl.is-small .oc-rl__modcard { padding: 0; background: none; } }
@container (max-width: 640px) {
  .oc-rl .rd-page__side { display: grid; }
  .oc-rl .rd-page__body { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; gap: 10px; align-content: start; }
  .oc-rl .rd-side__card:first-child, .oc-rl__feed, .oc-rl__banner, .oc-rl__join, .oc-rl__head { display: none; }
  .oc-rl.is-small .oc-rl__modcard { padding: 0; background: none; }
  .oc-rl[data-b="1"] .oc-rl__modcard { display: none; }
  .oc-rl .rd-mark { width: 30px !important; height: 30px !important; }
  .oc-rl .rd-rule { padding: 4px 6px; line-height: 1.3; }
  .oc-rl .rd-side__card { padding: 10px 12px; gap: 6px; }
  .oc-rl__pin { display: none; }
  .oc-rl[data-b="1"] .oc-rl__pin { display: grid; padding: 10px 12px; }
  .oc-rl[data-b="1"] .oc-rl__pin .rd-actions { display: none; }
}

/* ---------- l7-how ---------- */
.oc-sr-s .rm-vis { container: ocsr / size; }
.oc-sr { position: relative; height: 100%; }
.oc-sr__page { height: 100%; }
.oc-sr__field { flex: 1; min-width: 0; max-width: 560px; height: 40px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #0045AC; color: #576F76; }
.oc-sr__q { flex: 1; min-width: 0; font-size: 16px; color: #0F1A1C; white-space: nowrap; overflow: hidden; }
.oc-sr__clr { color: #576F76; }
.oc-sr__body { flex: 1; min-height: 0; display: grid; align-content: start; gap: 12px; padding: 14px 20px 0; overflow: hidden; }
.oc-sr__sort { display: flex; align-items: center; gap: 14px; }
.oc-sr__tabs { display: flex; gap: 14px; }
.oc-sr__tabs .rd-bar { width: 52px; height: 9px; } .oc-sr__tabs .is-on { background: #576F76; opacity: .6; }
.oc-sr__new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: #E5EBEE; color: #0F1A1C; font-size: 14px; font-weight: 600; }
.oc-sr__sort .rm-example { margin-left: auto; }
.oc-sr__rows { display: grid; gap: 10px; align-content: start; }
.oc-sr__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px #DFE4E7; background: #fff;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .5s, background .5s; }
.oc-sr__row.is-r2 { transition-delay: .12s; } .oc-sr__row.is-r3 { transition-delay: .24s; }
.oc-sr.is-found .oc-sr__row { opacity: 1; transform: none; }
.oc-sr.is-found .oc-sr__row.is-fresh { background: #FFF7F1; box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .6), 0 0 0 5px rgb(255 127 50 / .08); }
.oc-sr.is-found .oc-sr__row.is-old { opacity: .5; filter: grayscale(1); }
.oc-sr__rm { display: grid; gap: 6px; min-width: 0; }
.oc-sr__t { font-size: clamp(16px, 1.4vw, 20px); }
.oc-sr__thumb { width: 72px; height: 54px; border-radius: 8px; background: linear-gradient(135deg, #E5EBEE, #D3DCE0); align-self: center; }
.oc-sr__x { display: none; gap: 10px; }
.oc-sr[data-b="1"] .is-r2, .oc-sr[data-b="1"] .is-r3, .oc-sr[data-b="1"] .oc-sr__thumb { display: none; }
.oc-sr[data-b="1"] .is-first { grid-template-columns: minmax(0, 1fr); background: #fff; box-shadow: inset 0 0 0 1px #DFE4E7; }
.oc-sr[data-b="1"] .is-first .oc-sr__x { display: grid; animation: oc-pop .6s both .1s; }
.oc-sr__more { display: grid; gap: 6px; padding-top: 6px; }
.oc-sr__reply { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 4px; }
.oc-sr__box { position: relative; min-height: 84px; padding: 10px 52px 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgb(0 69 172 / .5); }
.oc-sr__send { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0045AC; color: #fff; }
@container ocsr (max-height: 420px) { .oc-sr__more { display: none; } }
@container ocsr (max-height: 470px) { .oc-sr__x > .rd-bars { display: none; } .oc-sr__x > .rd-actions { display: none; } .oc-sr__extra { display: none; } }
@container ocsr (max-height: 280px) { .oc-sr__page .rd-top { height: 40px; } .oc-sr__body { gap: 8px; padding-top: 8px; } .oc-sr__row { padding: 8px 12px; gap: 6px; } .oc-sr__box { min-height: 52px; padding: 8px 48px 8px 12px; } .oc-sr__box .rd-bars .rd-bar:nth-child(3) { display: none; } .oc-sr__send { width: 30px; height: 30px; bottom: 8px; } .oc-sr__t { font-size: 16px; } }
@container ocsr (max-height: 280px) { .oc-sr__thumb { display: none; } }
@container ocsr (max-height: 200px) { .oc-sr__page .rd-top { height: 36px; } .oc-sr__body { padding-top: 6px; gap: 6px; } .oc-sr__t { font-size: 15px; } .oc-sr__rm { gap: 3px; } .oc-sr__new { height: 28px; }  .oc-sr[data-b="1"] .oc-sr__sort, .oc-sr[data-b="1"] .is-first .rd-post__h { display: none; } .oc-sr__box { min-height: 40px; } .oc-sr__box .rd-bars .rd-bar:nth-child(n+2) { display: none; } }
@container ocsr (max-height: 360px) { .oc-sr__page .rd-top { height: 46px; } .oc-sr__row { padding: 9px 12px; } .oc-sr__thumb { display: none; } .oc-sr__box { min-height: 64px; } }
@container ocsr (max-width: 520px) { .oc-sr__page .rd-top__ic, .oc-sr__page .rd-top > .rd-av, .oc-sr__clr { display: none; } .oc-sr__thumb { display: none; } .oc-sr__body { padding: 12px 12px 0; } .oc-sr__tabs { display: none; } }

/* ---------- l8-how ---------- */
.oc-tr-s .rm-vis { container: octr / size; }
.oc-tr { position: relative; height: 100%; overflow: hidden; }
.oc-tr__form { position: absolute; top: 50%; left: 50%; z-index: 2; width: min(560px, 92cqw); max-height: 100%; display: grid; gap: 12px; padding: 22px 26px 24px; border-radius: 16px; background: #fff; color: #111;
  box-shadow: 0 1px 2px rgb(17 17 17 / .06), 0 34px 60px -32px rgb(17 17 17 / .4), inset 0 0 0 1px #E4E2DD; transform: translate(-50%, -50%);
  transition: opacity .45s, transform .6s cubic-bezier(.4,0,.2,1); }
.oc-tr:not([data-b="0"]) .oc-tr__form { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.85); }
.oc-tr__brand { display: flex; align-items: center; gap: 10px; }
.oc-tr__kite { display: grid; }
.oc-tr__bname { width: 104px !important; height: 11px; background: #CFD7DB; }
.oc-tr__fields { display: grid; gap: 8px; }
.oc-tr__field { display: block; height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px #DCDAD4; background: linear-gradient(90deg, #EAE8E3 0 34%, transparent 34%) 12px 50% / 100% 8px no-repeat; }
.oc-tr__qrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.oc-tr__q { margin: 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.3; }
.oc-tr__qrow .rm-example { flex: none; }
.oc-tr__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oc-tr__opt { display: flex; flex: none; white-space: nowrap; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #E4E2DD; font-size: 16px; transition: background .3s, box-shadow .3s; }
.oc-tr__radio { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #A9A6A0; flex: none; transition: box-shadow .3s; }
.oc-tr.is-picked .oc-tr__opt.is-pick { background: #FFF3EA; box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .6); }
.oc-tr.is-picked .oc-tr__opt.is-pick .oc-tr__radio { box-shadow: inset 0 0 0 5px #FF7F32; }
.oc-tr__follow { display: grid; gap: 6px; }
.oc-tr__fl { margin: 0; font-size: 16px; font-weight: 600; }
.oc-tr__input { min-height: 44px; display: flex; align-items: center; padding: 6px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px #FF7F32; font-size: 16px; line-height: 1.35; }
.oc-tr__btn { display: block; height: 42px; border-radius: 8px; background: #111; opacity: .9; }
/* the flow */
.oc-tr__flow { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, .78fr) minmax(40px, .5fr) minmax(0, 1.7fr); align-items: center; transition: opacity .5s; }
.oc-tr[data-b="0"] .oc-tr__flow { opacity: 0; visibility: hidden; }
.oc-tr__src { position: relative; display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(17 17 17 / .06), 0 26px 50px -30px rgb(17 17 17 / .4), inset 0 0 0 1px #E4E2DD; }
.oc-tr__srch { display: flex; align-items: center; gap: 8px; }
.oc-tr__srch .rd-bar { width: 40%; height: 9px; background: #CFD7DB; }
.oc-tr__srch .rm-example { margin-left: auto; }
.oc-tr__sopts { display: grid; gap: 6px; }
.oc-tr__so { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px #E9E7E2; }
.oc-tr__sr { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #BDBAB4; flex: none; }
.oc-tr__sb { height: 7px; width: 54%; border-radius: 4px; background: #E2E0DA; }
.oc-tr__so.is-pick { background: #FFF3EA; box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .6); }
.oc-tr__so.is-pick .oc-tr__sr { box-shadow: inset 0 0 0 4px #FF7F32; } .oc-tr__so.is-pick .oc-tr__sb { background: #FFB27A; }
.oc-tr__sans { display: block; height: 26px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #FF7F32; background: linear-gradient(90deg, #FFD3B4 0 66%, transparent 66%) 9px 50% / 100% 7px no-repeat; }
.oc-tr__items { display: grid; gap: 14px; align-content: center; min-height: 0; max-height: 100%; }
.oc-tr__item { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgb(17 17 17 / .06), 0 26px 50px -30px rgb(17 17 17 / .4), inset 0 0 0 1px #E4E2DD; min-width: 0; }
.oc-tr__ih { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.oc-tr__il { font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; color: #0F1A1C; }
.oc-tr__views { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: #EEF1F3; color: #0F1A1C; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oc-tr__views .oc-ic svg { width: 15px; height: 15px; }
.oc-tr__card { padding: 10px 12px; border-radius: 10px; background: #F6F8F9; min-width: 0; }
.oc-tr__card .rd-cm__act { display: none; }
.oc-tr__story { display: grid; gap: 8px; }
.oc-tr__shot { height: 58px; }
.oc-tr__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; font-weight: 600; color: #B4501A; }
.oc-tr__dots { display: flex; gap: 6px; }
.oc-tr__dots i { width: 14px; height: 14px; border-radius: 50%; background: #FF7F32; box-shadow: 0 0 10px rgb(255 127 50 / .7); opacity: 0; transform: scale(.3); transition: opacity .3s, transform .45s cubic-bezier(.3,1.6,.5,1); }
.oc-tr:not([data-b="0"]) .oc-tr__dots i { opacity: 1; transform: none; transition-delay: calc(900ms + var(--k) * 110ms); }
.oc-tr.is-fast .oc-tr__dots i { transition-delay: 0ms; transition-duration: 0ms; }
/* the streams */
.oc-tr__svg { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; transition: opacity .5s; }
.oc-tr[data-b="0"] .oc-tr__svg { opacity: 0; }
.oc-tr__sg { fill: none; stroke: #FF7F32; stroke-opacity: .14; stroke-linecap: round; }
.oc-tr__sm { fill: none; stroke: url(#octrg); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.oc-tr:not([data-b="0"]) .oc-tr__sm { stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1) .15s; }
.oc-tr.is-fast .oc-tr__sm { transition: none; }
.oc-tr__sf { fill: none; stroke: #fff; stroke-opacity: .85; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 18; animation: oc-flow 1.1s linear infinite; }
@keyframes oc-flow { to { stroke-dashoffset: -20; } }
@container octr (max-height: 470px) { .oc-tr__fields { display: none; } .oc-tr__form { gap: 9px; padding: 16px 20px; } .oc-tr__opt { height: 34px; font-size: 15px; } .oc-tr__card .rd-bars .rd-bar:nth-child(n+3) { display: none; } .oc-tr__shot { height: 40px; } }
@container octr (max-height: 380px) { .oc-tr__btn, .oc-tr__brand { display: none; } .oc-tr__opts { display: flex; flex-wrap: wrap; gap: 6px; } .oc-tr__opt { height: 30px; padding: 0 10px; gap: 7px; } .oc-tr__input { min-height: 34px; } .oc-tr__shot, .oc-tr__card .rd-cm__h, .oc-tr__story .rd-post__h { display: none; } .oc-tr__item { gap: 7px; padding: 10px 12px; } .oc-tr__card { padding: 6px 10px; } .oc-tr__items { gap: 10px; } .oc-tr__sopts { gap: 4px; } .oc-tr__so { height: 18px; } .oc-tr__sans { height: 20px; } .oc-tr__src { padding: 10px; gap: 7px; } }
@container octr (max-height: 290px) { .oc-tr__card { display: none; } .oc-tr__form { gap: 7px; padding: 12px 16px; } .oc-tr__q { font-size: 16px; } .oc-tr__fl { font-size: 15px; } .oc-tr__opt { height: 28px; } .oc-tr__sopts .oc-tr__so:nth-child(n+3) { display: none; } .oc-tr__srch .rd-bar, .oc-tr__srch .oc-tr__kite { display: none; } }
@container octr (max-height: 260px) and (min-width: 350px) { .oc-tr__opts { flex-wrap: nowrap; } .oc-tr__opt { padding: 0 7px; gap: 5px; } }
@container octr (max-height: 220px) and (min-width: 350px) { .oc-tr__opts { flex-wrap: nowrap; } }
@container octr (max-height: 220px) { .oc-tr__opts { gap: 4px; } .oc-tr__opt { padding: 0 7px; gap: 5px; font-size: 14px; } .oc-tr__form { padding: 10px 14px; gap: 6px; } .oc-tr__input { min-height: 30px; padding: 3px 10px; font-size: 14px; } .oc-tr__q { font-size: 15px; } .oc-tr__srch .rm-example { margin-left: 0; } }
@container octr (max-height: 220px) and (max-width: 519px) { .oc-tr .oc-tr__src { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 10px; } .oc-tr__srch { grid-column: 2; grid-row: 1; } .oc-tr__sans { grid-column: 1; grid-row: 1; } .oc-tr .oc-tr__flow { grid-template-rows: auto 12px auto; align-content: start; } .oc-tr .oc-tr__srch { grid-column: 2; grid-row: 1; } .oc-tr .oc-tr__sans { grid-column: 1; grid-row: 1; } .oc-tr__il { font-size: 14px; } .oc-tr__pay { font-size: 14px; } .oc-tr__item { padding: 7px 9px; gap: 4px; } .oc-tr__views { height: 24px; } .oc-tr__ih { gap: 3px 8px; } }
@container octr (max-height: 290px) and (min-width: 480px) { .oc-tr__follow { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; } }
/* short and wide frames: the form spreads over two columns so it stays large */
@container octr (max-height: 380px) and (min-width: 640px) {
  .oc-tr .oc-tr__form { width: min(860px, 96cqw); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 26px; align-items: center; padding: 20px 24px; }
  .oc-tr .oc-tr__qrow { grid-column: 1; grid-row: 1; }
  .oc-tr .oc-tr__opts { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .oc-tr .oc-tr__opt { height: 36px; font-size: 16px; padding: 0 12px; }
  .oc-tr .oc-tr__follow { grid-column: 2; grid-row: 1 / span 2; }
  .oc-tr .oc-tr__q { font-size: 19px; }
  .oc-tr .oc-tr__input { min-height: 46px; font-size: 16px; }
}
/* narrow: the form card on top as a strip, the streams fall into the two items side by side */
@container octr (max-width: 519px) {
  .oc-tr__flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(26px, 44px) auto; align-items: stretch; align-content: center; }
  .oc-tr__src { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 8px 12px; gap: 6px 10px; }
  .oc-tr__srch { grid-column: 1 / -1; }
  .oc-tr__sopts { display: none; }
  .oc-tr__sans { grid-column: 1 / -1; height: 20px; }
  .oc-tr__items { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-content: start; }
  .oc-tr__item { padding: 10px; gap: 7px; }
  .oc-tr__card { display: none; }
  .oc-tr__dots i { width: 11px; height: 11px; }
  .oc-tr__dots { gap: 4px; flex-wrap: wrap; }
}

/* compact 3D: a narrower side column so the subject sits clear of the copy */
@media (max-width: 959px), (max-height: 599px) {
  .oc-scene.rm-full .rm--full .rm-side { max-width: min(19em, 40vw); }
}
/* l5-how on short frames: while the pitfall is hidden the mock takes both columns */
@media (max-height: 430px) and (min-width: 600px) {
  .oc-hw-s .rm--stage:not(:has(.rm-pit.is-on)) .rm-vis { grid-column: 1 / -1 !important; }
  .oc-hw-s .rm--stage:not(:has(.rm-pit.is-on)) .rm-side { display: none; }
}
@media (max-width: 959px), (max-height: 599px) {
  .oc-hw-s .oc-hw:not([data-b="2"]) .oc-hw__cms, .oc-hw-s .oc-hw__tail { display: none; }
}
/* short landscape frames: the stage mocks put their copy beside the mock, so the mock keeps its height */
@media (max-height: 430px) and (min-width: 600px) {
  .oc-hw-s .rm--stage, .oc-rl-s .rm--stage, .oc-tr-s .rm--stage { grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 20px; }
  .oc-hw-s .rm--stage .rm-vis, .oc-rl-s .rm--stage .rm-vis, .oc-tr-s .rm--stage .rm-vis { grid-column: 2; grid-row: 2; }
  .oc-hw-s .rm--stage .rm-side, .oc-rl-s .rm--stage .rm-side, .oc-tr-s .rm--stage .rm-side { grid-column: 1; grid-row: 2; grid-auto-flow: row; align-self: start; }
}

@media (max-height: 430px) { .oc-scene .oc-lab--pill { padding: 2px 7px; line-height: 1.15; } .oc-scene .oc-dash { width: 10px; } .oc-scene .oc-lab--block { padding: 5px 9px 6px; gap: 0; } .oc-scene .oc-shop__v { font-size: 20px; } .oc-scene .oc-shop__u { font-size: 14px; } .oc-scene .oc-shop__key { margin-top: 0; } }
@media (max-width: 959px), (max-height: 599px) {
  .oc-lab { font-size: 14px; }
  .oc-lab--pill { padding: 4px 9px; gap: 6px; }
  .oc-lab--block { padding: 7px 10px 8px; }
  .oc-shop__v { font-size: 24px; }
  .oc-shop__u { font-size: 16px; }
  .oc-shop__l, .oc-shop__key { font-size: 14px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .oc-scene.rm-full .rm--full .rm-side { max-width: 100%; }
  .oc-lab { font-size: 14px; }
  .oc-lab--pill { padding: 4px 8px; gap: 6px; }
  .oc-dash { width: 10px; }
  .oc-lab--block { padding: 6px 9px 7px; }
  .oc-shop__v { font-size: 22px; }
  .oc-shop__u { font-size: 15px; }
  .oc-shop__l, .oc-shop__key { font-size: 14px; }
  .oc-shop__key { margin-top: 2px; }
}
