/* ch-levers-4-6 (builder C): scenes 14 to 22. Every selector starts with uc- or sits under .uc. */

/* ---------- shared: labels over 3D, scrims, tags ---------- */
.uc .uc-lab { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.2; color: #fff; transition: opacity .45s; }
.uc .uc-lab.is-gone { opacity: 0; }
.scene:not(.is-active) .uc-lab { opacity: 0; transition: none; }
.uc .uc-lab--pill { padding: 5px 10px; border-radius: 6px; background: rgb(8 8 10 / .72); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); text-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.uc .uc-lab--chip { padding: 5px 10px; border-radius: 6px; background: rgb(14 10 8 / .74); color: #FFC98F; box-shadow: inset 0 0 0 1px rgb(255 170 70 / .5); text-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.uc .uc-lab--aqua { color: #BDF3EC; box-shadow: inset 0 0 0 1px rgb(156 231 221 / .45); }
.uc .uc-lab--lilac { color: #E2D8F6; box-shadow: inset 0 0 0 1px rgb(205 189 235 / .45); }
.uc .uc-lab--orange { color: #FFC49A; box-shadow: inset 0 0 0 1px rgb(255 127 50 / .5); }
.uc .uc-lab--two { flex-direction: column; align-items: flex-start; gap: 1px; }
.uc .uc-lab--two small { font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .66); }
.scene.is-active .uc-lab--pulse:not(.is-gone) { animation: uc-pulse 2.2s ease-in-out infinite; }
@keyframes uc-pulse { 50% { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5), 0 0 22px rgb(220 232 255 / .35); } }
.uc .uc-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uc .uc-col { display: grid; gap: 14px; }
.uc-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(5 5 7 / .84) 0, rgb(5 5 7 / .5) 24%, transparent 44%), linear-gradient(90deg, rgb(5 5 7 / .58) 0, transparent 40%); }
.uc-instant, .uc-instant * { transition: none !important; animation: none !important; }
.scene:not(.is-active) .uc * { transition: none !important; }
@media (max-width: 959px), (max-height: 599px) {
  .uc .uc-lab { font-size: 14px; }
  .uc .uc-col { gap: 8px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .uc .uc-lab { font-size: 14px; }
  .uc-scrim { background: linear-gradient(180deg, rgb(5 5 7 / .86) 0, rgb(5 5 7 / .55) 36%, transparent 54%); }
}
/* compact: a narrower text column over the 3D worlds leaves the right half to the subject */
@media (max-width: 959px), (max-height: 599px) {
  .uc.ug-full .ug--full .ug-side { max-width: min(25em, 54%); }
}
@media (max-width: 759px) and (orientation: portrait) {
  .uc.ug-full .ug--full .ug-side { max-width: 100%; }
}

/* ---------- 15 l4-proof: 3,000, then 60, then 20 ---------- */
.uc-haus__stage { position: relative; height: 100%; min-height: 0; }
.uc-haus__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.uc .uc-dl { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.25; font-weight: 500; color: #111; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.uc .uc-dl--num { font-size: clamp(18px, 1.9vw, 30px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.uc .uc-dl--mut { color: #6f6a63; }
.uc .uc-dl--or { color: #D45A12; }
.uc .uc-dl--aq { color: #1C8A7C; }
@media (max-width: 959px), (max-height: 599px) { .uc .uc-dl { font-size: 14px; } .uc .uc-dl--num { font-size: 18px; } }
@media (max-width: 759px) and (orientation: portrait) { .uc .uc-dl--num { font-size: 16px; } }

/* ---------- 16 l4-how: the creator roster (Airtable-like board) ---------- */
.uc-ros__wrap { position: relative; height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 18px; }
.uc-at { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; color: #1d1f25;
  box-shadow: 0 0 0 1px rgb(17 17 17 / .08), 0 22px 48px -28px rgb(17 17 17 / .35); container-type: size; transition: flex-basis .8s cubic-bezier(.2,.8,.2,1); }
.uc-at .uk-bar { background: #E3E5E9; }
.uc-at__ic { display: inline-grid; place-items: center; color: #616670; flex: none; }
.uc-at__flex { flex: 1; }
.uc-at__head { flex: none; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; background: #1F6FD9; color: #fff; }
.uc-at__head .uk-bar { background: rgb(255 255 255 / .55); }
.uc-at__logo { position: relative; width: 24px; height: 22px; flex: none; }
.uc-at__logo i { position: absolute; border-radius: 3px; }
.uc-at__logo i:nth-child(1) { left: 2px; top: 1px; width: 20px; height: 8px; background: #FFD66E; transform: skewX(-18deg); }
.uc-at__logo i:nth-child(2) { left: 1px; top: 10px; width: 10px; height: 11px; background: #FF6F6F; }
.uc-at__logo i:nth-child(3) { left: 13px; top: 10px; width: 10px; height: 11px; background: #7DD3FC; }
.uc-at__base { width: 96px !important; height: 11px; background: #fff !important; }
.uc-at__caret { color: rgb(255 255 255 / .8); display: inline-grid; margin-left: -6px; }
.uc-at__nav { display: flex; gap: 8px; margin-left: 18px; }
.uc-at__nav .uk-bar { width: 52px !important; height: 8px; }
.uc-at__nav .uk-bar.is-on { background: #fff !important; }
.uc-at__hicons { display: flex; gap: 8px; color: rgb(255 255 255 / .85); }
.uc-at__hicons .uc-at__ic { color: rgb(255 255 255 / .85); }
.uc-at__tables { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 32px; padding: 0 10px; background: #1A5FBC; }
.uc-at__tab { display: grid; place-items: center; width: 86px; height: 26px; border-radius: 6px 6px 0 0; }
.uc-at__tab .uk-bar { width: 60% !important; height: 8px; background: rgb(255 255 255 / .5); }
.uc-at__tab.is-on { background: #fff; }
.uc-at__tab.is-on .uk-bar { background: #C9CDD3; }
.uc-at__tplus { color: rgb(255 255 255 / .8); display: inline-grid; align-self: center; margin-left: 6px; }
.uc-at__tool { flex: none; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-bottom: 1px solid #E7E8EB; }
.uc-at__view { display: inline-flex; align-items: center; gap: 6px; }
.uc-at__view .uc-at__ic:first-child { color: #1F6FD9; }
.uc-at__vname { width: 64px !important; height: 10px; background: #2D3138 !important; }
.uc-at__sep { width: 1px; height: 20px; background: #E3E5E9; }
.uc-at__tb { display: inline-flex; align-items: center; gap: 6px; }
.uc-at__tb .uk-bar { width: 44px !important; }
.uc-at__sort { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px; background: #FFE7D6; color: #8A3B0B; font-size: 14px; font-weight: 500; white-space: nowrap; }
.uc-at__sort .uc-at__ic { color: #C2560F; }
.uc-at__ex { flex: none; }
.uc-at__board { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px 14px; background: #F4F5F7; }
.uc-at__lane { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 8px; background: #EBEDF0; overflow: hidden; }
.uc-at__lh { flex: none; display: flex; align-items: center; gap: 8px; height: 26px; }
.uc-at__pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 14px; font-weight: 500; white-space: nowrap; color: #1d1f25; }
.uc-at__lane--lilac .uc-at__pill { background: #E4DAF7; }
.uc-at__lane--aqua .uc-at__pill { background: #C8F1EA; }
.uc-at__lane--rose .uc-at__pill { background: #F4D7CF; }
.uc-at__cnt { width: 14px !important; background: #C9CDD3 !important; }
.uc-at__lmore { margin-left: auto; color: #8B9099; display: inline-grid; }
.uc-at__cards { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.uc-at__card { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; align-items: center; padding: 8px 10px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgb(17 17 17 / .07), 0 2px 4px rgb(17 17 17 / .05); transition: opacity .6s, filter .6s; }
.uc-at__who { display: contents; }
.uc-at__who .uk-av { grid-row: 1 / 3; }
.uc-at__name { height: 8px; max-width: 110px; background: #CDD1D7 !important; }
.uc-at__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.uc-at__spark { flex: 1; min-width: 0; height: 24px; overflow: visible; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.uc-at__line { fill: none; stroke: #4B5058; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s ease-out, stroke .6s; }
.uc-at__area { fill: #EEF0F3; opacity: 0; transition: opacity .8s .9s, fill .6s; }
.uc-at__pt { fill: #fff; stroke: #4B5058; stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s; }
.uc-at__cost { flex: none; width: 28%; max-width: 52px; display: grid; place-items: center; height: 20px; border-radius: 4px; background: #F1F2F4; }
.uc-at__cost .uk-bar { width: 60% !important; height: 7px; background: #B9BEC6 !important; }
.is-drawn .uc-at__line { stroke-dashoffset: 0; }
.is-drawn .uc-at__area { opacity: 1; }
.is-drawn .uc-at__pt { opacity: 1; transition-delay: 1.2s; }
.uc-at__card:nth-child(2) .uc-at__line { transition-delay: .15s; } .uc-at__card:nth-child(3) .uc-at__line { transition-delay: .3s; }
.uc-at__card:nth-child(4) .uc-at__line { transition-delay: .45s; } .uc-at__card:nth-child(5) .uc-at__line { transition-delay: .6s; } .uc-at__card:nth-child(6) .uc-at__line { transition-delay: .75s; }
/* beat 2: the two who get spend grow; the rest turn grey */
.is-sorted .uc-at__card.is-win { padding: 12px; box-shadow: 0 0 0 2px #7DD9CB, 0 8px 18px -10px rgb(28 138 124 / .5); }
.is-sorted .uc-at__card.is-win .uc-at__spark { height: 44px; }
.is-sorted .uc-at__card.is-win .uc-at__line, .is-sorted .uc-at__card.is-win .uc-at__pt { stroke: #1C8A7C; }
.is-sorted .uc-at__card.is-win .uc-at__area { fill: #D5F5F0; }
.is-sorted .uc-at__card:not(.is-win) { opacity: .5; filter: grayscale(1); }
/* beat 3: the lanes compress to the top, the step chart draws under them */
.uc-ros__wrap.is-b3 .uc-at { flex: 0 0 auto; height: clamp(142px, 38%, 190px); }
.uc-ros__wrap.is-b3 .uc-at__lane { padding: 5px 6px; gap: 5px; }
.uc-ros__wrap.is-b3 .uc-at__board { padding-top: 8px; padding-bottom: 8px; }
.uc-ros__wrap.is-b3 .uc-at__tables, .uc-ros__wrap.is-b3 .uc-at__ex, .uc-ros__wrap.is-b3 .uc-at__sort-t { display: none; }
.uc-ros__wrap.is-b3 .uc-at__pt-t { visibility: hidden; display: inline-block; width: 4.6em; overflow: hidden; height: 8px; }
.uc-ros__wrap.is-b3 .uc-at__pill { width: 64px; height: 14px; padding: 0; }
.uc-ros__wrap.is-b3 .uc-at__lh { height: 14px; }
.uc-ros__wrap.is-b3 .uc-at__cards { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.uc-ros__wrap.is-b3 .uc-at__card { padding: 4px; display: block; }
.uc-ros__wrap.is-b3 .uc-at__card .uc-at__row, .uc-ros__wrap.is-b3 .uc-at__card .uc-at__name { display: none; }
.uc-ros__wrap.is-b3 .uc-at__card .uk-av { --s: 24px; display: block; }
.uc-ros__wrap.is-b3 .uc-at__card.is-win { padding: 4px; }
.uc-st { flex: 1 1 0; min-height: 0; display: none; grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
.uc-ros__wrap.is-b3 .uc-st { display: grid; }
.uc-st__y { font-size: 15px; font-weight: 500; color: #6f6a63; }
.uc-st__plot { position: relative; display: flex; align-items: flex-end; gap: 6%; padding: 0 2% 0 2%; border-bottom: 1.5px solid #111; min-height: 0; }
.uc-st__band { position: absolute; left: 0; right: 0; top: 0; height: calc(100% * 20 / 60); border-top: 1.5px dashed #C79586; border-bottom: 1.5px dashed #C79586;
  background: radial-gradient(circle, rgb(225 181 168 / .9) 1.3px, transparent 1.7px) 0 0 / 7px 7px, rgb(225 181 168 / .18); opacity: 0; transition: opacity .8s 1.4s; }
.uc-st__col { position: relative; flex: 1; height: calc(var(--v) * 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.uc-st__bar { display: block; flex: 1; background: radial-gradient(circle, #FF7F32 2.6px, transparent 3.1px) 0 0 / 8px 8px; border-top: 3px solid #FF7F32; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--k) * .22s + .2s); }
.uc-st__n { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 6px; text-align: center; font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; font-variant-numeric: tabular-nums; color: #111; opacity: 0; transition: opacity .5s calc(var(--k) * .22s + .7s); }
.uc-ros__wrap.is-b3 .uc-st__bar { transform: none; }
.uc-ros__wrap.is-b3 .uc-st__n, .uc-ros__wrap.is-b3 .uc-st__band { opacity: 1; }
.scene:not(.is-active) .uc-ros__wrap * { transition: none !important; }
/* small boards: drop the chrome rows first */
@container (max-height: 380px) { .uc-at__tables { display: none; } .uc-at__head { height: 38px; } .uc-at__tool { height: 40px; } .uc-at__card { padding: 6px 8px; row-gap: 4px; } .uc-at__spark { height: 18px; } }
@container (max-width: 680px) { .uc-at__tb, .uc-at__sep { display: none; } }
@container (max-width: 560px) { .uc-at__tb, .uc-at__sep, .uc-at__nav, .uc-at__hicons { display: none; } .uc-at__tb--g { display: none; } .uc-at__board { gap: 8px; padding: 8px; } .uc-at__lane { padding: 6px; } .uc-at__cost { display: none; } }
@container (max-width: 420px) { .uc-at__base { width: 60px !important; } .uc-at__view .uc-at__vname { width: 40px !important; } .uc-at__tool { gap: 8px; padding: 0 10px; } .uc-at__card { padding: 6px; column-gap: 6px; } .uc-at__card .uk-av { --s: 22px; } .uc-at__pill { padding: 0 8px; } .uc-at__cnt, .uc-at__lmore { display: none; } }
@container (max-height: 260px) { .uc-at__head { height: 32px; } .uc-at__tool { height: 36px; } .uc-at__name { display: none; } .uc-at__who .uk-av { grid-row: auto; } .uc-at__card { grid-template-rows: auto; } }
@media (max-width: 959px), (max-height: 599px) { .uc-ros__wrap { gap: 10px; } .uc-st__y { font-size: 14px; } .uc-st__n { font-size: 16px; } }
@container (max-width: 420px) { .uc-at__view .uc-at__vname, .uc-at__view .uc-at__ic:last-child { display: none; } .uc-at__sort { padding: 0 8px; } }
@container (max-height: 300px) { .uc-at__card { padding: 5px 8px; } .uc-at__card .uk-av { --s: 22px; } .uc-at__spark { height: 16px; } .is-sorted .uc-at__card.is-win { padding: 6px 8px; } .is-sorted .uc-at__card.is-win .uc-at__spark { height: 26px; } .uc-at__lane { gap: 6px; } .uc-at__cards { gap: 6px; } }
.uc .uc-lab--rose { color: #FFD3DE; box-shadow: inset 0 0 0 1px rgb(255 170 195 / .45); }

/* ---------- 19 l5-how: the creators' server (Discord, dark) ---------- */
.uc .uc-am__flex { flex: 1; }
.uc-disc__wrap { position: relative; height: 100%; min-height: 0; container-type: size; }
.uc-dc { position: relative; height: 100%; display: grid; grid-template-columns: 72px 232px minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: #313338; color: #F2F3F5;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 30px 60px -30px rgb(0 0 0 / .8); }
.uc-dc .uk-bar { background: #4E5058; }
.uc-dc__i { display: inline-grid; place-items: center; flex: none; color: #B5BAC1; }
.uc-dc__rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: #1E1F22; overflow: hidden; }
.uc-dc__srv { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #313338; flex: none; color: #23A55A; }
.uc-dc__srv .uk-av { --s: 48px; }
.uc-dc__srv--home { background: #5865F2; border-radius: 16px; }
.uc-dc__srv.is-on { border-radius: 16px; background: #FF7F32; }
.uc-dc__srv.is-on::before { content: ""; position: absolute; left: -12px; top: 8px; width: 4px; height: 32px; border-radius: 0 4px 4px 0; background: #fff; }
.uc-dc__srvin { display: grid; place-items: center; }
.uc-dc__glyph { display: block; width: 18px; height: 22px; border-radius: 3px; background: #fff; box-shadow: inset -5px 0 0 #FFD9C2; }
.uc-dc__rsep { width: 32px; height: 2px; border-radius: 1px; background: #35363C; }
.uc-dc__srv--add { background: #313338; }
.uc-dc__chans { display: flex; flex-direction: column; background: #2B2D31; min-height: 0; }
.uc-dc__sh { flex: none; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 14px; box-shadow: 0 1px 0 rgb(0 0 0 / .3); }
.uc-dc__sname { width: 120px !important; height: 10px; background: #DBDEE1 !important; }
.uc-dc__ev { display: flex; align-items: center; gap: 8px; margin: 10px 8px 2px; height: 32px; padding: 0 8px; border-radius: 4px; }
.uc-dc__ev .uk-bar { width: 64px !important; }
.is-b1 .uc-dc__ev { background: #404249; }
.uc-dc__list { flex: 1; min-height: 0; overflow: hidden; padding: 6px 8px; display: flex; flex-direction: column; gap: 2px; }
.uc-dc__cat { display: flex; align-items: center; gap: 4px; height: 26px; margin-top: 12px; padding: 0 2px; }
.uc-dc__cat .uk-bar { width: 70px !important; height: 7px; background: #4E5058; }
.uc-dc__ch { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; border-radius: 4px; color: #80848E; }
.uc-dc__ch .uk-bar { height: 8px; max-width: 120px; }
.uc-dc__ch.is-on { background: #404249; }
.uc-dc__ch.is-on .uk-bar { background: #DBDEE1; }
.uc-dc__vname { font-size: 15px; font-weight: 500; color: #949BA4; opacity: 0; transition: opacity .4s; }
.uc-dc__vname::before { content: ""; }
.uc-dc__ch--voice::after { content: ""; flex: 1; height: 8px; max-width: 0; }
.uc-dc__vusers { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 6px 8px; padding: 0 8px 0 36px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.uc-dc__vusers .uk-bar { height: 7px; max-width: 80px; }
.uc-dc__vusers .uk-av:first-child { box-shadow: 0 0 0 2px #2B2D31, 0 0 0 4px #23A55A; }
.uc-dc__me { flex: none; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px; background: #232428; }
.uc-dc__mebars { flex: 1; display: grid; gap: 5px; }
.uc-dc__mebars .uk-bar { height: 7px; }
.uc-dc__pane { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.uc-dc__ph { flex: none; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; box-shadow: 0 1px 0 rgb(0 0 0 / .25); }
.uc-dc__phash { display: none; }
.uc-dc__cname { font-size: 16px; font-weight: 500; color: #F2F3F5; white-space: nowrap; display: none; }
.uc-dc__cbar { width: 120px !important; height: 10px; background: #DBDEE1 !important; }
.is-b2 .uc-dc__cname { display: inline; }
.is-b2 .uc-dc__cbar { display: none; }
.uc-dc__phi { display: flex; gap: 14px; }
.uc-dc__msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 12px 16px 6px; overflow: hidden; }
.uc-dc__old { display: flex; flex-direction: column; gap: 14px; }
.uc-dc__msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.uc-dc__mb { display: grid; gap: 7px; min-width: 0; }
.uc-dc__mh { display: flex; align-items: center; gap: 8px; }
.uc-dc__author { width: 80px !important; height: 10px; background: #C9CDD3 !important; }
.uc-dc__author--buyer { width: 92px !important; background: #FFB07A !important; }
.uc-dc__role { width: 14px; height: 14px; border-radius: 4px; background: #5865F2; }
.uc-dc__time { width: 54px !important; height: 7px; background: #4E5058 !important; }
.uc-dc__text { display: grid; gap: 6px; }
.uc-dc__text .uk-bar { height: 8px; max-width: 360px; }
.uc-dc__post { opacity: 0; transform: translateY(26px); transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1); }
.is-b2 .uc-dc__post { opacity: 1; transform: none; }
.uc-dc__atts { display: flex; gap: 8px; }
.uc-dc__att { position: relative; width: clamp(54px, 13cqw, 96px); border-radius: 8px; overflow: hidden; }
.uc-dc__att .uk-thumb { display: block; width: 100%; }
.uc-dc__play { position: absolute; left: 50%; top: 42%; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .55); color: #fff; }
.uc-dc__views { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: center; gap: 4px; color: #fff; }
.uc-dc__views .uk-bar { height: 6px; background: rgb(255 255 255 / .8) !important; }
.uc-dc__embed { display: grid; gap: 6px; max-width: 340px; padding: 10px 14px 10px 12px; border-radius: 4px; background: #2B2D31; border-left: 4px solid #FF7F32; }
.uc-dc__etitle { font-size: 16px; font-weight: 600; color: #fff; }
.uc-dc__lrow { display: grid; grid-template-columns: 12px 22px 1fr auto; align-items: center; gap: 10px; height: 26px; opacity: 0; transform: translateX(-10px); transition: opacity .4s calc(.5s + var(--k) * .16s), transform .5s calc(.5s + var(--k) * .16s); }
.is-b2 .uc-dc__lrow { opacity: 1; transform: none; }
.uc-dc__rank { width: 12px; height: 12px; border-radius: 50%; background: #FFC24A; box-shadow: 0 0 8px rgb(255 194 74 / .6); }
.uc-dc__rank--1 { background: #C9CED6; box-shadow: none; }
.uc-dc__rank--2 { background: #D08A55; box-shadow: none; }
.uc-dc__ln { font-size: 15px; font-weight: 500; color: #DBDEE1; }
.uc-dc__lv { font-size: 15px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.uc-dc__efoot { margin-top: 2px; }
.uc-dc__efoot .ug-example { color: rgb(255 255 255 / .72); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.uc-dc__comp { flex: none; display: flex; align-items: center; gap: 12px; height: 44px; margin: 6px 16px 16px; padding: 0 14px; border-radius: 8px; background: #383A40; }
.uc-dc__cplus { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #B5BAC1; color: #383A40; }
.uc-dc__comp .uk-bar { height: 8px; }
/* beat 1: the Events panel over a dimmed window */
.uc-dc__veil { position: absolute; inset: 0; background: rgb(0 0 0 / .62); opacity: 0; pointer-events: none; transition: opacity .4s; }
.is-b1 .uc-dc__veil { opacity: 1; }
.uc-dc__modal { position: absolute; left: 50%; top: 50%; width: min(440px, 88%); max-height: 92%; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; border-radius: 10px; background: #313338; box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 18px 50px rgb(0 0 0 / .55);
  opacity: 0; transform: translate(-50%, -50%) scale(.92); visibility: hidden; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
.scene.is-active .is-b1 .uc-dc__modal { opacity: 1; transform: translate(-50%, -50%); visibility: inherit; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.uc-dc__mhd { display: flex; align-items: center; gap: 10px; color: #DBDEE1; }
.uc-dc__mt { width: 70px !important; height: 10px; background: #DBDEE1 !important; }
.uc-dc__mbtn { display: grid; place-items: center; width: 84px; height: 28px; border-radius: 4px; background: #5865F2; }
.uc-dc__mbtn .uk-bar { width: 60% !important; height: 7px; background: rgb(255 255 255 / .8) !important; }
.uc-dc__evs { display: grid; gap: 8px; min-height: 0; }
.uc-dc__evc { display: grid; gap: 4px; padding: 10px 12px; border-radius: 8px; background: #2B2D31; box-shadow: inset 0 0 0 1px #3F4147; opacity: 0; transform: translateY(10px); transition: opacity .4s calc(.2s + var(--k) * .14s), transform .5s calc(.2s + var(--k) * .14s); }
.is-b1 .uc-dc__evc { opacity: 1; transform: none; }
.uc-dc__evc.is-hot { box-shadow: inset 0 0 0 2px #FF7F32, 0 0 24px -6px rgb(255 127 50 / .6); background: #33302F; }
.uc-dc__evd { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #23A55A; }
.uc-dc__evd .uc-dc__i { color: #23A55A; }
.uc-dc__evc.is-hot .uc-dc__evd, .uc-dc__evc.is-hot .uc-dc__evd .uc-dc__i { color: #FFB07A; }
.uc-dc__evt { font-size: 16px; font-weight: 600; color: #F2F3F5; }
.uc-dc__evf { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.uc-dc__evf > .uk-bar { width: 40px !important; height: 7px; }
.uc-dc__stack { display: inline-flex; }
.uc-dc__stack .uk-av { margin-right: -7px; box-shadow: 0 0 0 2px #2B2D31; }
.uc-dc__stack .uk-av:last-child { margin-right: 0; }
.uc-dc__evb { display: grid; place-items: center; width: 64px; height: 24px; border-radius: 4px; background: #4E5058; }
.uc-dc__evb .uk-bar { width: 60% !important; height: 6px; background: #B5BAC1 !important; }
/* beat 3: the one-to-one voice channel lights */
.is-b3 .uc-dc__ch--voice { background: rgb(35 165 90 / .16); box-shadow: inset 0 0 0 1px rgb(35 165 90 / .45); color: #23A55A; }
.is-b3 .uc-dc__vname { opacity: 1; color: #E3FBEA; }
.is-b3 .uc-dc__vusers { max-height: 70px; opacity: 1; padding-top: 4px; padding-bottom: 4px; }
.uc-dc__vtile { display: none; }
.is-b3 .uc-dc__old { display: none; }
.scene:not(.is-active) .uc-disc__wrap * { transition: none !important; }
/* narrow windows: fold the channel list (and later the rail) away, show the call as a tile in the pane */
@container (max-width: 640px) { .uc-dc { grid-template-columns: 64px minmax(0, 1fr); } .uc-dc__chans { display: none; } .uc-dc__srv { width: 42px; height: 42px; } .uc-dc__srv .uk-av { --s: 42px; }
  .is-b3 .uc-dc__vtile { display: flex; } .uc-dc__phi { gap: 10px; } }
@container (max-width: 440px) { .uc-dc { grid-template-columns: minmax(0, 1fr); } .uc-dc__rail { display: none; } .uc-dc__phi .uc-dc__i:nth-child(n+2) { display: none; } .uc-dc__msgs { padding: 8px 10px 4px; } .uc-dc__msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; } .uc-dc__msg > .uk-av { --s: 32px; } .uc-dc__ph { padding: 0 12px; } .uc-dc__comp { margin: 4px 10px 10px; } }
@container (max-height: 420px) { .uc-dc__old { display: none; } .uc-dc__comp { display: none; } .uc-dc__msgs { padding-bottom: 10px; } }
@container (max-height: 330px) { .uc-dc__ph { height: 40px; } .uc-dc__post .uc-dc__text { display: none; } .uc-dc__att { width: 46px; } .uc-dc__embed { gap: 2px; padding: 6px 10px; } .uc-dc__lrow { height: 22px; } .uc-dc__mb { gap: 5px; }
  .uc-dc__modal { padding: 10px 12px; gap: 8px; } .uc-dc__evc { padding: 6px 10px; gap: 2px; } .uc-dc__evf { display: none; } .uc-dc__evs { gap: 6px; } }
.uc-dc__vtile { position: absolute; right: 10px; top: 52px; z-index: 3; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: #1E1F22; box-shadow: 0 0 0 1px rgb(35 165 90 / .55), 0 10px 26px rgb(0 0 0 / .5); }
.uc-dc__vth { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: #E3FBEA; }
.uc-dc__vth .uc-dc__i { color: #23A55A; }
.uc-dc__vtg { display: flex; gap: 8px; }
.uc-dc__vtg > span { display: grid; place-items: center; width: 64px; height: 52px; border-radius: 8px; background: #2B2D31; }
.uc-dc__vtg > span.is-talk { box-shadow: inset 0 0 0 2px #23A55A; }
@container (max-height: 330px) { .uc-dc__vtg > span { width: 52px; height: 44px; } .uc-dc__vtg .uk-av { --s: 34px; } }
@container (max-height: 330px) { .uc-dc__evc { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 0; } }
@container (max-height: 250px) { .uc-dc__mhd { display: none; } .uc-dc__modal { padding: 8px 10px; } .uc-dc__evt { font-size: 15px; } .uc-dc__evc { padding: 5px 10px; } .uc-dc__atts { display: none; } }
@container (max-width: 640px) { .is-b3 .uc-dc__embed { max-width: max(150px, calc(100cqw - 200px)); } }
@container (max-width: 640px) and (min-width: 441px) { .is-b3 .uc-dc__embed { max-width: max(150px, calc(100cqw - 64px - 210px)); } }
.uc .uc-lab--blue { color: #D8ECFF; box-shadow: inset 0 0 0 1px rgb(141 216 243 / .5); }

/* ---------- 21 l6-proof: same video, two names ---------- */
.uc-two__stage { position: relative; height: 100%; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 3vw, 48px); padding: 0 4%; }
.uc-two__col { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.uc-two__phw { position: relative; min-height: 0; }
.uc-two__phw > .uk-phone-fit, .uc-two__swap { position: absolute; inset: 0; }
.uc-two__swap > .uk-phone-fit { position: absolute; inset: 0; transition: opacity .55s, transform .7s cubic-bezier(.2,.8,.2,1); }
.uc-two__swap > .uk-phone-fit:last-child { opacity: 0; transform: rotateY(-70deg) scale(.94); visibility: hidden; }
.is-b3 .uc-two__swap > .uk-phone-fit:first-child { opacity: 0; transform: rotateY(70deg) scale(.94); visibility: hidden; }
.is-b3 .uc-two__swap > .uk-phone-fit:last-child { opacity: 1; transform: none; visibility: inherit; }
.uc-two__swap { perspective: 900px; }
.uc-two__track { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; transition: opacity .5s; }
.uc-two__bar { position: relative; width: 82%; height: 22px; }
.uc-two__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 3px; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.2,.8,.2,1) .3s; }
.uc-two__bar--l i { background: radial-gradient(circle, #3a3936 2.3px, transparent 2.8px) 0 0 / 7px 7px; }
.uc-two__bar--r i { width: 55%; background: radial-gradient(circle, #FF7F32 2.3px, transparent 2.8px) 0 0 / 7px 7px; transition-delay: .6s; }
.uc-two__bar--r::before { content: ""; position: absolute; left: 55%; right: 0; top: 50%; border-top: 1.5px dashed #B9B4AC; opacity: 0; transition: opacity .5s 1.6s; }
.is-b1 .uc-two__bar i { clip-path: inset(0 0 0 0); }
.is-b1 .uc-two__bar--r::before { opacity: 1; }
.uc-two__pct { position: absolute; left: calc(55% + 8px); top: 50%; transform: translateY(-50%); padding: 0 6px; background: var(--s-bg, #F3F1EE); font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; color: #D45A12; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s 1.5s; }
.is-b1 .uc-two__pct { opacity: 1; }
.is-b2 .uc-two__pct { opacity: 0; visibility: hidden; transition: none; }
.is-b3 .uc-two__track { opacity: 0; }
.uc .uc-two__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: flex-end; }
.scene:not(.is-active) .uc-two__stage * { transition: none !important; }
@media (max-width: 759px) and (orientation: portrait) { .uc-two__stage { gap: 10px; padding: 0; } .uc-two__col { gap: 8px; } .uc-two__track { height: 26px; } .uc-two__bar { height: 16px; width: 90%; } .uc-two__pct { font-size: 15px; } }
@media (max-width: 959px), (max-height: 599px) { .uc-two__col { gap: 8px; } .uc-two__track { height: 26px; } .uc-two__bar { height: 16px; } }
.uc-two__stage .uk-reel__follow { display: none; }
.uc-two__cap { display: none; }
.uc-two__col { grid-template-rows: auto minmax(0, 1fr) auto; }
/* small frames: the phones are too narrow for names, so the names sit as a caption above each phone */
@media (max-width: 959px), (max-height: 599px) {
  .uc-two__cap { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 6px; font-size: 14px; line-height: 1.3; text-align: center; color: #111; grid-row: 1; }
  .uc-two__cap span { color: #5f5d59; font-weight: 500; }
  .uc-two__cap--tt { display: none; }
  .is-b3 .uc-two__cap--ig { display: none; }
  .is-b3 .uc-two__cap--tt { display: flex; }
  .uc-two__stage :is(.uk-reel__names, .uk-tt__handle, .uk-tt__tag) { display: none; }
  .uc-two__stage .uk-side { display: none; }
  .uc .uc-two__stats .ug-stat__v { font-size: 26px; }
  .uc .uc-two__stats { gap: 4px 18px; }
}
@media (max-width: 959px), (max-height: 599px) { .uc-two__cap { min-height: 2.6em; align-content: flex-end; align-items: flex-end; } }

/* ---------- 22 l6-how: the creator agreement (signing document) ---------- */
.uc-sign__stage { position: relative; height: 100%; min-height: 0; container-type: size; }
.uc-doc { position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: 0 auto; max-width: 640px; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #E9EBEF; color: #1d1f25;
  box-shadow: 0 0 0 1px rgb(17 17 17 / .08), 0 24px 50px -28px rgb(17 17 17 / .4); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s; }
.uc-doc .uk-bar { background: #DCDFE4; }
.uc-doc__bar { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: #1E1450; }
.uc-doc__logo { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #FFD54A 0 50%, #4C00FF 50%); }
.uc-doc__btitle { width: 120px !important; height: 9px; background: rgb(255 255 255 / .6) !important; }
.uc-doc__finish { display: grid; place-items: center; width: 74px; height: 28px; border-radius: 4px; background: #FFD54A; }
.uc-doc__finish .uk-bar { width: 56% !important; height: 7px; background: #3a2c00 !important; }
.uc-doc__paper { flex: 1; min-height: 0; margin: 14px 18px 0; padding: 22px 26px; background: #fff; border-radius: 4px 4px 0 0; box-shadow: 0 1px 3px rgb(0 0 0 / .08); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.uc-doc__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #EEF0F3; }
.uc-doc__mark { width: 30px; height: 30px; border-radius: 7px; background: #111; box-shadow: inset -9px -9px 0 #FF7F32; }
.uc-doc__hb { display: grid; gap: 6px; width: 46%; }
.uc-doc__hb .uk-bar:first-child { height: 10px; background: #2D3138 !important; }
.uc-doc__para { display: grid; gap: 7px; }
.uc-doc__para .uk-bar { height: 7px; }
.uc-doc__cls { display: grid; gap: 4px; }
.uc-doc__cl { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: 6px; font-size: 16px; font-weight: 500; color: #1d1f25; }
.uc-doc__chk { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #C9CDD3; color: transparent; transition: background .35s, box-shadow .35s, color .35s; }
.uc-doc__cl > .uc-doc__chk { transition-delay: calc(.3s + var(--k, 0) * .32s); }
.uc-doc__cl { transition: background .35s calc(.3s + var(--k, 0) * .32s); }
.is-b1 .uc-doc__cl > .uc-doc__chk { background: #FF7F32; box-shadow: 0 0 0 4px rgb(255 127 50 / .18); color: #fff; }
.is-b1 .uc-doc__cl { background: #FFF6EF; }
.uc-doc__fold { display: none; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 6px; background: #FFF6EF; }
.uc-doc__fold .uc-doc__chk { width: 18px; height: 18px; background: #FF7F32; box-shadow: none; color: #fff; }
.uc-doc__fold .uc-doc__chk svg { width: 10px; height: 10px; }
.uc-doc__fold .uk-bar { margin-left: 6px; height: 7px; }
.uc-doc__fee { display: none; gap: 10px; }
.uc-doc__cl--fee .uc-doc__chk { transition-delay: .2s; }
.is-b2 .uc-doc__cl:not(.uc-doc__cl--fee) { display: none; }
.is-b2 .uc-doc__fold { display: flex; }
.is-b2 .uc-doc__fee { display: grid; }
.uc-doc__range { display: grid; gap: 8px; padding: 4px 10px 4px 46px; }
.uc-doc__rb { position: relative; height: 18px; }
.uc-doc__rb i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; }
.uc-doc__rb--base i { width: 70%; background: radial-gradient(circle, #8f8a82 2.2px, transparent 2.7px) 0 0 / 7px 7px; }
.uc-doc__solid { width: 21%; background: radial-gradient(circle, #FF7F32 2.4px, transparent 2.9px) 0 0 / 7px 7px; clip-path: inset(0 100% 0 0); transition: clip-path .8s cubic-bezier(.2,.8,.2,1) .4s; }
.uc-doc__span { left: 21% !important; width: 49%; background: radial-gradient(circle, rgb(255 127 50 / .55) 2px, transparent 2.5px) 0 0 / 7px 7px, linear-gradient(90deg, rgb(255 127 50 / .16), rgb(255 127 50 / .04)); clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.2,.8,.2,1) 1s; }
.uc-doc__tk { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #D45A12; border-radius: 1px; opacity: 0; transition: opacity .4s 1.6s; }
.uc-doc__tk--a { left: 21%; } .uc-doc__tk--b { left: 70%; }
.is-b2 .uc-doc__solid, .is-b2 .uc-doc__span { clip-path: inset(0 0 0 0); }
.is-b2 .uc-doc__tk { opacity: 1; }
.uc-doc__sig { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 12px; margin-top: auto; padding-top: 6px; }
.uc-doc__sigtab { grid-row: 1 / 3; align-self: center; width: 34px; height: 44px; background: #FFD54A; clip-path: polygon(0 0, 70% 0, 100% 50%, 70% 100%, 0 100%); }
.uc-doc__script { width: min(220px, 70%); height: 46px; }
.uc-doc__script path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s ease-out 1.6s; }
.is-b1 .uc-doc__script path { stroke-dashoffset: 0; }
.uc-doc__line { grid-column: 2; height: 1.5px; background: #1d1f25; }
.uc-doc__sig > .uk-bar { grid-column: 2; margin-top: 6px; height: 6px; }
/* beat 3: the page slides back, two permission sheets come in front */
.is-b3 .uc-doc { transform: translateY(-2%) scale(.86); opacity: .45; filter: saturate(.4) blur(.5px); }
.is-b3 .uc-doc__ex { visibility: hidden; }
.uc-sign__sheets { position: absolute; left: 0; right: 0; bottom: 4%; margin: 0 auto; max-width: 560px; display: grid; gap: 14px; padding: 0 2%; pointer-events: none; }
.uc-sh { display: grid; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #fff; color: #161823; box-shadow: 0 0 0 1px rgb(17 17 17 / .08), 0 24px 40px -18px rgb(17 17 17 / .45); opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .8s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.uc-sh--meta { transition-delay: .2s; }
.scene.is-active .is-b3 .uc-sh { opacity: 1; transform: none; visibility: inherit; }
.uc-sh__h { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.uc-sh__h b { font-weight: 600; }
.uc-sh__app { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #fff; }
.uc-sh__app--tt { background: #111; box-shadow: inset 2px 0 0 #25F4EE, inset -2px 0 0 #FE2C55; }
.uc-sh__app--meta { background: #0866FF; }
.uc-sh__field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 6px; background: #F1F1F2; box-shadow: inset 0 0 0 1px #E3E3E4; }
.uc-sh__code { flex: 1; height: 10px; background: #A9ABB0 !important; }
.uc-sh__copy { display: grid; color: #FE2C55; }
.uc-sh__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.uc-sh__foot > .uk-bar { width: 90px !important; height: 7px; }
.uc-sh__btn { display: grid; place-items: center; width: 84px; height: 30px; border-radius: 4px; }
.uc-sh__btn--tt { background: #FE2C55; }
.uc-sh__btn .uk-bar { width: 56% !important; height: 7px; background: rgb(255 255 255 / .85) !important; }
.uc-sh__bars { display: grid; gap: 7px; }
.uc-sh__bars .uk-bar { height: 7px; background: #DADDE1; }
.uc-doc__tog { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #C9CDD3; transition: background .4s 1.1s; flex: none; }
.uc-doc__tog i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .4s cubic-bezier(.2,.8,.2,1) 1.1s; }
.is-b3 .uc-doc__tog { background: #0866FF; }
.is-b3 .uc-doc__tog i { transform: translateX(20px); }
.scene:not(.is-active) .uc-sign__stage * { transition: none !important; }
@container (max-height: 470px) { .uc-doc__para--2 { display: none; } .uc-doc__paper { gap: 10px; padding: 16px 18px; } .uc-doc__cl { min-height: 34px; } }
@container (max-height: 360px) { .uc-doc__bar { height: 36px; } .uc-doc__para { display: none; } .uc-doc__paper { margin: 8px 10px 0; padding: 10px 12px; gap: 8px; } .uc-doc__head { padding-bottom: 8px; } .uc-doc__cl { min-height: 28px; gap: 8px; font-size: 15px; padding: 0 6px; } .uc-doc__chk { width: 20px; height: 20px; } .uc-doc__sig { display: none; } .uc-doc__range { padding-left: 34px; }
  .uc-sh { padding: 10px 12px; gap: 8px; } .uc-sh__field { height: 34px; } .uc-sh__bars { display: none; } .uc-sign__sheets { gap: 8px; bottom: 2%; } .uc-sh__h { font-size: 15px; } .uc-sh__app { width: 26px; height: 26px; } }
@container (max-height: 250px) { .uc-doc__head .uc-doc__hb, .uc-doc__mark { display: none; } .uc-doc__head { padding-bottom: 4px; justify-content: flex-end; } .uc-sh--tt .uc-sh__foot { display: none; } .uc-sh__field { height: 30px; } .uc-doc__cl { min-height: 26px; } }
@container (max-width: 380px) { .uc-sh__h { font-size: 15px; gap: 8px; } .uc-doc__paper { margin: 8px 8px 0; padding: 12px; } .uc-doc__cl { font-size: 15px; } }
.is-b3 .uc-doc__ct { visibility: hidden; }
@container (max-height: 250px) { .uc-doc__bar { display: none; } .uc-doc__paper { margin-top: 0; border-radius: 0; padding: 8px 10px; gap: 6px; } .uc-doc__cls { gap: 2px; } .uc-doc__cl { min-height: 24px; } }
@media (max-width: 959px), (max-height: 599px) { .uc-st { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 10px; } .uc-st__y { align-self: start; } }
@media (max-height: 400px) { .uc .uc-two__stats .ug-stat__v { font-size: 22px; } .uc .uc-two__stats { gap: 2px 14px; } }
@media (max-height: 440px) {
  .uc-ros__wrap.is-b3 .uc-at { height: 84px; }
  .uc-ros__wrap.is-b3 .uc-at__tool, .uc-ros__wrap.is-b3 .uc-at__lh { display: none; }
  .uc-ros__wrap.is-b3 .uc-at__head { height: 30px; }
  .uc-ros__wrap.is-b3 .uc-at__board { padding: 6px 8px; }
  .uc-ros__wrap.is-b3 .uc-at__lane { padding: 4px 6px; }
}
.uc-two__phw { grid-row: 2; } .uc-two__track { grid-row: 3; } .uc-two__cap { grid-row: 1; }
/* compact: the sentence and its source first, the figures under them (text stays directly under the title) */
@media (max-width: 959px), (max-height: 599px) { .uc .uc-col > .uc-two__stats { order: 2; } }

/* very short boards (640x360): no blue header, wide Testing lane, cards as small tiles in a grid so all six show */
@container (max-height: 230px) { .uc-at__head { display: none; } }
@container (max-height: 390px) {
  .uc-at__tables { display: none; }
  .uc-at__tool { height: 32px; gap: 8px; padding: 0 8px; }
  .uc-at__board { grid-template-columns: 1.55fr 1.3fr .8fr; gap: 6px; padding: 6px; }
  .is-sorted .uc-at__board { grid-template-columns: .7fr 1.1fr 1.5fr; }
  .uc-at__lane { padding: 4px 5px; gap: 4px; }
  .uc-at__lh { height: 22px; }
  .uc-at__pill { height: 22px; padding: 0 7px; }
  .uc-at__cnt, .uc-at__lmore { display: none; }
  .uc-at__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 4px; align-content: start; }
  .uc-at__card { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; padding: 4px; column-gap: 4px; }
  .uc-at__card .uk-av { --s: 18px; grid-row: auto; }
  .uc-at__card { padding: 3px; }
  .uc-at__name, .uc-at__cost { display: none; }
  .uc-at__spark { height: 16px; }
  .is-sorted .uc-at__card.is-win { padding: 4px; }
  .is-sorted .uc-at__card.is-win .uc-at__spark { height: 22px; }
}
/* l6-proof on short frames: a wider text column; names as tags over the phones so the phones keep their height */
@media (max-height: 400px) and (min-width: 560px) {
  .scene.uc-two .ug--split { grid-template-columns: minmax(0, .52fr) minmax(0, .48fr); }
  .scene.uc-two .ug--split .ug-side { max-width: none; }
  .uc-two__col { grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .uc-two__col > * { grid-column: 1; }
  .uc-two__phw { grid-row: 1; }
  .uc-two__track { grid-row: 2; height: 22px; }
  .uc-two__cap { grid-row: 1; align-self: end; justify-self: center; z-index: 3; min-height: 0; margin-bottom: 6px; padding: 3px 8px; border-radius: 6px; background: rgb(17 17 17 / .78); color: #fff; flex-direction: column; align-items: center; row-gap: 0; }
  .uc-two__cap span { color: rgb(255 255 255 / .8); }
}
@container (min-height: 231px) and (max-height: 390px) {
  .uc-at__cards { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
  .uc-at__card { padding: 7px 8px; column-gap: 8px; }
  .uc-at__card .uk-av { --s: 26px; }
  .uc-at__spark { height: 22px; }
  .is-sorted .uc-at__card.is-win { padding: 8px; }
  .is-sorted .uc-at__card.is-win .uc-at__spark { height: 30px; }
  .uc-at__lh { height: 26px; } .uc-at__pill { height: 26px; padding: 0 10px; }
}
/* audit round: opaque chips for labels next to busy 3D */
.uc .uc-lab--solid { background: #0c0c0f; -webkit-backdrop-filter: none; backdrop-filter: none; }
.uc .uc-lab--chip.uc-lab--solid { background: #17100a; }
/* l4-how: the three key cards carry a real name and cost (Example) */
.uc-at__key { font-size: 14px; font-weight: 600; line-height: 1.2; color: #1d1f25; white-space: nowrap; font-variant-numeric: tabular-nums; }
.uc-at__card.is-key .uc-at__cost { display: none; }
.uc-ros__wrap.is-b3 .uc-at__key { display: none; }
@container (min-height: 231px) and (max-height: 390px) { .uc-at__cards { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); } }
@container (max-height: 230px) {
  .uc-at__board { grid-template-columns: 2.1fr 1fr 1.1fr; }
  .is-sorted .uc-at__board { grid-template-columns: .55fr 1.15fr 1.6fr; }
  .uc-at__cards { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); }
  .uc-at__card.is-key { grid-column: span 2; }
  .uc-at__card.is-key .uc-at__spark { display: none; }
  .uc-at__card.is-key .uc-at__key { align-self: center; }
}
@container (max-height: 230px) { .uc-at__card.is-key .uc-at__row { display: none; } }
/* card grid placed explicitly (avatar, name or key, then the spark row) */
.uc-at__card .uk-av { grid-column: 1; grid-row: 1 / 3; }
.uc-at__card .uc-at__name, .uc-at__card .uc-at__key { grid-column: 2; grid-row: 1; }
.uc-at__card .uc-at__row { grid-column: 2; grid-row: 2; }
.uc .uc-at__key { display: flex; flex-wrap: wrap; white-space: nowrap; min-width: 0; }
.uc-at__kc { white-space: pre; }
@container (max-height: 300px) { .uc-at__card .uk-av { grid-row: 1; } .uc-at__card .uc-at__row { grid-column: 1 / -1; } }
/* tiles (short boards and narrow phones): one row per card; the key cards span two tracks and show name and cost */
@container (max-height: 230px) { .uc-at__card .uc-at__row { grid-column: 2; grid-row: 1; } }
@container (max-width: 420px) {
  .uc-at__board { grid-template-columns: 2.1fr 1fr 1.1fr; }
  .is-sorted .uc-at__board { grid-template-columns: .55fr 1.15fr 1.6fr; }
  .uc-at__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 4px; align-content: start; }
  .uc-at__card { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; padding: 4px; column-gap: 4px; }
  .uc-at__card .uk-av { --s: 18px; grid-row: 1; }
  .uc-at__card .uc-at__row { grid-column: 2; grid-row: 1; }
  .uc-at__name, .uc-at__cost { display: none; }
  .uc-at__spark { height: 14px; }
  .uc-at__card.is-key { grid-column: span 2; }
  .uc-at__card.is-key .uc-at__row { display: none; }
  .is-sorted .uc-at__card.is-win { padding: 4px; }
  .is-sorted .uc-at__card.is-win .uc-at__spark { height: 18px; }
}
@container (max-height: 230px) { .uc-at__board { grid-template-columns: minmax(min-content, 2.1fr) minmax(min-content, 1fr) minmax(min-content, 1.1fr); } .is-sorted .uc-at__board { grid-template-columns: minmax(min-content, .55fr) minmax(min-content, 1.15fr) minmax(min-content, 1.6fr); } }
@container (max-width: 420px) { .uc-at__board { grid-template-columns: minmax(min-content, 2.1fr) minmax(min-content, 1fr) minmax(min-content, 1.1fr); } .is-sorted .uc-at__board { grid-template-columns: minmax(min-content, .55fr) minmax(min-content, 1.15fr) minmax(min-content, 1.6fr); } }
.uc .uc-leader { position: absolute; left: 0; top: 0; z-index: 2; height: 1px; background: rgb(189 243 236 / .7); transform-origin: 0 50%; pointer-events: none; transition: opacity .45s; }
.uc .uc-leader--gold { background: rgb(255 201 143 / .75); }
.uc .uc-leader.is-gone, .scene:not(.is-active) .uc-leader { opacity: 0; }
