/* UGC UI kit (uk-): Meta Ads Manager, the events funnel strip, phones with Instagram and TikTok screens.
 * API and rules: the block comment at the top of ugc.js. Every text here is at least 14 px; Satoshi only. */

.uk-mock { font-family: var(--font-sans, Satoshi, system-ui, sans-serif); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.uk-i { display: inline-grid; place-items: center; flex: none; line-height: 0; }
.uk-ic { display: block; }
.uk-bar { display: block; height: 8px; border-radius: 4px; background: #E4E6EB; flex: none; }
.uk-bars { display: grid; gap: 7px; min-width: 0; }
.uk-flex, .uk-am__flex { flex: 1 1 auto; min-width: 0; }
.uk-example { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1; color: #4B5B66; background: #fff; box-shadow: inset 0 0 0 1px #D5DADF; white-space: nowrap; flex: none; }
.uk-counting { color: #0866FF; }

/* halftone pictures */
.uk-thumb { position: relative; display: block; overflow: hidden; background: #d5e2e6; flex: none; }
.uk-thumb canvas, .uk-av canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.uk-av { --s: 32px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; }
.uk-av__in { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #d5e2e6; }
.uk-av--story { padding: 0; }
.uk-av--story::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 200deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.uk-av--story::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: #fff; }
.uk-av--story .uk-av__in { z-index: 1; }
.uk-av--orange { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #FF7F32; }

/* ================================================================ Meta Ads Manager */
.uk-am { --rh: 56px; --tpl: 30px 44px minmax(0, 1.75fr) minmax(84px, .8fr); --am-fg: #1C2B33; --am-mut: #465A69; --am-line: #DADDE1; --am-soft: #F5F6F7; --am-blue: #0866FF;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; width: 100%; max-height: 100%; background: #fff; color: var(--am-fg); border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 2px 4px rgb(0 0 0 / .04), 0 22px 48px -30px rgb(28 43 51 / .45); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1), filter .6s; }
.uk-am.uk-am--rail { grid-template-columns: 56px minmax(0, 1fr); }
.uk-am__rail { display: none; flex-direction: column; align-items: center; gap: 18px; padding: 14px 0; background: #fff; border-right: 1px solid var(--am-line); color: #5E6E78; }
.uk-am--rail .uk-am__rail { display: flex; }
.uk-am__logo { color: var(--am-blue); line-height: 0; margin-bottom: 4px; }
.uk-am__rail .is-cur { color: var(--am-blue); background: #E7F0FF; border-radius: 8px; width: 38px; height: 34px; }
.uk-am__main { display: flex; flex-direction: column; min-width: 0; }
.uk-am__top { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--am-line); color: #5E6E78; }
.uk-am__acct { display: flex; align-items: center; gap: 8px; }
.uk-am__acct-av { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #FF7F32, #E1B5A8); flex: none; }
.uk-bar--acct { width: 120px !important; height: 10px; background: #CDD2D8; }
.uk-am__upd { width: 110px; }
.uk-am__pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--am-line); color: #5E6E78; flex: none; }
.uk-bar--date { width: 96px !important; }
.uk-am__tabs { display: flex; gap: 0; padding: 10px 16px 0; background: var(--am-soft); border-bottom: 1px solid var(--am-line); }
.uk-am__tab { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; height: 44px; padding: 0 16px; color: #5E6E78; border-radius: 8px 8px 0 0; }
.uk-am__tab .uk-bar { width: min(var(--bw, 90px), 60%) !important; height: 10px; background: #C9CED4; }
.uk-am__tab.is-cur { background: #fff; color: var(--am-blue); box-shadow: 0 -1px 0 var(--am-line), 1px 0 0 var(--am-line), -1px 0 0 var(--am-line); margin-bottom: -1px; }
.uk-am__tab.is-cur .uk-bar { background: #9FB9E6; }
.uk-am__tools { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 10px 16px; border-bottom: 1px solid var(--am-line); }
.uk-am__create { display: grid; place-items: center; width: 74px; height: 36px; border-radius: 7px; background: var(--am-blue); color: #fff; flex: none; box-shadow: 0 1px 2px rgb(8 102 255 / .35); }
.uk-am__tool { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--am-line); color: #5E6E78; flex: none; }
.uk-am__tool--w .uk-bar { width: 44px !important; }
.uk-am__tools .uk-example { margin-right: 4px; }

.uk-am__table { min-width: 0; }
.uk-am__row { display: grid; grid-template-columns: var(--tpl); align-items: center; min-height: var(--rh); border-bottom: 1px solid #E8EAED; position: relative; background: #fff;
  transition: opacity .5s, transform .55s cubic-bezier(.2,.8,.2,1), background-color .5s, box-shadow .5s; }
.uk-am__c { min-width: 0; padding: 0 10px; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.uk-am__c--v { justify-content: flex-end; text-align: right; }
.uk-am__row--head { min-height: 48px; background: var(--am-soft); border-bottom-color: var(--am-line); }
.uk-am__row--head .uk-am__c { align-self: stretch; padding-top: 8px; padding-bottom: 8px; font-size: 14px; line-height: 1.22; font-weight: 600; color: var(--am-fg); box-shadow: inset -1px 0 0 #E4E6EB; }
.uk-am__row--head .uk-am__c--v { justify-content: flex-end; }
.uk-am__ht { min-width: 0; overflow-wrap: break-word; }
.uk-bar--h { width: 70%; max-width: 78px; height: 9px; background: #CDD2D8; }
.uk-am__sort { display: none; color: var(--am-blue); line-height: 0; }
.uk-am__c.is-sorted .uk-am__sort { display: block; }
.uk-am__c.is-sorted.is-desc .uk-am__sort { transform: rotate(180deg); }
.uk-am__c.is-sorted { color: var(--am-blue); }
.uk-am__c--name { gap: 10px; }
.uk-am__th { height: calc(var(--rh) - 14px); width: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.uk-am__nm { display: grid; gap: 6px; min-width: 0; flex: 1 1 auto; }
.uk-am__name { font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--am-fg); overflow-wrap: break-word; padding: 2px 0; }
.uk-bar--name { height: 9px; max-width: 120px; background: #D3D7DC; }
.uk-bar--sub { height: 7px; max-width: 80px; }
.uk-am__caret { color: #5E6E78; transform: rotate(0); transition: transform .4s; }
.uk-am__dot { width: 9px; height: 9px; border-radius: 50%; background: #BCC0C4; flex: none; transition: background-color .5s, box-shadow .5s; }
.uk-am__row[data-st="on"] .uk-am__dot { background: #31A24C; box-shadow: 0 0 0 3px rgb(49 162 76 / .14); }
.uk-am__row[data-st="learn"] .uk-am__dot { background: #F7B928; }
.uk-bar--dl { width: 52px !important; }
.uk-cb { display: block; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #BCC0C4; flex: none; }
.uk-tg { position: relative; display: block; width: 30px; height: 17px; border-radius: 9px; background: #CBD0D6; flex: none; transition: background-color .4s; }
.uk-tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .4s; }
.uk-am__row:is([data-st="on"], [data-st="learn"], [data-st="idle"]) .uk-tg { background: var(--am-blue); }
.uk-am__row:is([data-st="on"], [data-st="learn"], [data-st="idle"]) .uk-tg::after { transform: translateX(13px); }
.uk-am__val { font-size: 15px; line-height: 1.2; font-weight: 500; color: var(--am-fg); overflow-wrap: break-word; font-variant-numeric: tabular-nums; transition: color .4s; }
.uk-bar--v { width: 46px !important; max-width: 80%; }
.uk-am__c--x .uk-bar { max-width: 70%; }
.uk-am__row--foot { min-height: 44px; background: #FAFBFC; border-bottom: 0; }
.uk-bar--f { height: 8px; background: #DDE0E4; }
/* row states */
.uk-am__row.is-out { opacity: 0; transform: translateY(14px); }
.uk-am__row.is-cut, .uk-am__row--foot.is-cut, .uk-am__row.is-gone { display: none; }
.uk-am__row.is-aqua { background: #E2F6F2; box-shadow: inset 4px 0 0 #66CDBF; }
.uk-am__row.is-rose { background: #FBEDE8; box-shadow: inset 4px 0 0 #C79586; }
.uk-am__row.is-grey-t > * { opacity: .5; }
.uk-am__row.is-hot .uk-am__name, .uk-am__row.is-hot .uk-am__val { font-weight: 700; }
.uk-am__row--group { background: #F7F8FA; }
.uk-am__row--child .uk-am__c--name { padding-left: 26px; }
.uk-am__c.is-lit { background: rgb(8 102 255 / .07); }
.uk-am__row--head .uk-am__c.is-lit { background: #E1ECFF; color: var(--am-blue); }
.uk-am__c.is-lit .uk-am__val { color: #0546B8; font-weight: 700; }
.uk-am.uk-am--dim { opacity: .38; filter: saturate(.4); }
/* hidden columns keep their grid cell (0 px) so the rest stay aligned */
.uk-am--no-cb .uk-am__c--cb, .uk-am--no-tg .uk-am__c--tg, .uk-am--no-dl .uk-am__c--dl,
.uk-am--no-x0 .uk-am__c--x0, .uk-am--no-x1 .uk-am__c--x1, .uk-am--no-x2 .uk-am__c--x2 { visibility: hidden; padding: 0; box-shadow: none; }
.uk-am__row--head .uk-am__c--x0, .uk-am__row--head .uk-am__c--x1, .uk-am__row--head .uk-am__c--x2 { }
/* chrome levels set by fit(): 3 all, 2 no top bar, 1 no tabs, 0 slim toolbar */
.uk-am[data-chrome="2"] .uk-am__top, .uk-am[data-chrome="1"] .uk-am__top, .uk-am[data-chrome="0"] .uk-am__top { display: none; }
.uk-am[data-chrome="1"] .uk-am__tabs, .uk-am[data-chrome="0"] .uk-am__tabs { display: none; }
.uk-am[data-chrome="0"] .uk-am__tools { min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.uk-am[data-chrome="0"] .uk-am__tool, .uk-am[data-chrome="0"] .uk-am__create { height: 30px; }
.uk-am[data-chrome="-1"] .uk-am__top, .uk-am[data-chrome="-1"] .uk-am__tabs, .uk-am[data-chrome="-1"] .uk-am__tools > :not(.uk-example) { display: none; }
.uk-am[data-chrome="-1"] .uk-am__tools { min-height: 0; padding: 6px 10px; justify-content: flex-end; }
.uk-am[data-chrome="-1"] .uk-am__tools:not(:has(.uk-example)) { display: none; }
/* narrow: fewer toolbar pieces */
.uk-am[data-w="m"] .uk-am__tool--bd, .uk-am[data-w="s"] .uk-am__tool--bd, .uk-am[data-w="xs"] .uk-am__tool--bd,
.uk-am[data-w="s"] .uk-am__tool--ab, .uk-am[data-w="xs"] .uk-am__tool--ab, .uk-am[data-w="s"] .uk-am__tool--more, .uk-am[data-w="xs"] .uk-am__tool--more,
.uk-am[data-w="xs"] .uk-am__tool--cols, .uk-am[data-w="xs"] .uk-am__tool--w, .uk-am[data-w="s"] .uk-am__upd, .uk-am[data-w="xs"] .uk-am__upd, .uk-am[data-w="m"] .uk-am__upd { display: none; }
.uk-am[data-w="xs"] .uk-am__tab, .uk-am[data-w="s"] .uk-am__tab { padding: 0 10px; gap: 6px; }
.uk-am[data-w="xs"] .uk-am__tab .uk-bar { display: none; }
.uk-am[data-w="xs"] .uk-am__create { width: 46px; }
.uk-am[data-w="xs"] .uk-am__c, .uk-am[data-w="s"] .uk-am__c { padding: 0 7px; gap: 7px; }
.uk-am[data-w="xs"] .uk-am__top .uk-bar--acct { width: 80px !important; }
.uk-instant, .uk-instant * { transition: none !important; }

/* ================================================================ funnel strip (Meta events view) */
.uk-fn { position: relative; display: grid; gap: 12px; padding: 14px 18px 16px; background: #fff; color: #1C2B33; border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 26px 50px -26px rgb(28 43 51 / .5); }
.uk-fn__head { display: flex; align-items: center; gap: 10px; color: #5E6E78; padding-bottom: 10px; border-bottom: 1px solid #E8EAED; }
.uk-bar--fnh { width: 120px !important; height: 10px; background: #CDD2D8; }
.uk-fn__rows { display: grid; gap: 12px; }
.uk-fn__row { display: grid; grid-template-columns: minmax(7.5em, auto) minmax(0, 1fr) 4.6em; align-items: center; gap: 14px; }
.uk-fn__l { font-size: 15px; font-weight: 500; white-space: nowrap; }
.uk-fn__track { position: relative; height: 30px; border-radius: 5px; background: #F3F4F6; overflow: hidden; }
.uk-fn__fill { --v: 0; position: absolute; inset: 3px; border-radius: 3px; --dot: #8D99A3; background: radial-gradient(circle, var(--dot) 1.9px, transparent 2.3px) 0 0 / 6px 6px;
  clip-path: inset(0 calc((1 - var(--v)) * 100%) 0 0); transition: clip-path 1.1s cubic-bezier(.2,.8,.2,1); }
.uk-fn__row--rose .uk-fn__fill { --dot: #C79586; }
.uk-fn__row--aqua .uk-fn__fill { --dot: #4FC2B2; }
.uk-fn__row--orange .uk-fn__fill { --dot: #FF7F32; }
.uk-fn__row--blue .uk-fn__fill { --dot: #0866FF; }
.uk-fn__end { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.uk-fn__v { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.uk-fn__row--rose .uk-fn__v { color: #85503F; }
.uk-fn__warn { color: #B0705C; }
.uk-fn__foot { display: flex; justify-content: flex-end; }

/* ================================================================ phones */
.uk-phone-fit { container-type: size; position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.uk-ph { position: relative; height: min(100cqh, 100cqw * 19.5 / 9); aspect-ratio: 9 / 19.5; padding: max(5px, 1.6cqh * .7); border-radius: min(46px, 7cqh); background: linear-gradient(145deg, #2b2c30, #0b0b0d 40%, #1a1b1e);
  box-shadow: inset 0 0 0 1.5px #3a3b40, 0 2px 4px rgb(0 0 0 / .2), 0 28px 60px -24px rgb(0 0 0 / .55); }
.uk-ph__screen { container-type: size; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: min(40px, 6.2cqh); background: #fff; color: #0C1014; display: flex; flex-direction: column; }
.uk-ph__screen.is-dark { background: #000; color: #fff; }
.uk-ph__status { position: relative; z-index: 4; flex: none; display: flex; align-items: center; justify-content: space-between; height: clamp(26px, 6.2cqh, 46px); padding: 0 7cqw 0 9cqw; color: inherit; }
.uk-ph__status .uk-bar { width: 30px !important; height: 8px; background: currentColor; opacity: .85; }
.uk-ph__island { position: absolute; left: 50%; top: 50%; width: 30cqw; height: clamp(14px, 3.6cqh, 28px); border-radius: 99px; background: #000; transform: translate(-50%, -46%); }
.uk-ph__sys { display: flex; align-items: center; gap: 3px; }
.uk-ph__screen > :not(.uk-ph__status) { min-height: 0; }
.uk-ph .is-dark .uk-bar, .uk-reel .uk-bar, .uk-tt .uk-bar { background: rgb(255 255 255 / .38); }
.uk-chip { align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: rgb(255 255 255 / .2); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.uk-chip.is-empty, .uk-tt__tag.is-empty { display: none; }
.uk-video { position: absolute; inset: 0; z-index: 0; background: #222; }
.uk-video .uk-thumb { position: absolute; inset: 0; width: 100%; height: 100%; }
.uk-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .42) 0, transparent 22%, transparent 52%, rgb(0 0 0 / .72) 100%); }

/* Instagram Reels */
.uk-reel { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.uk-phone--reels .uk-ph__screen, .uk-phone--tt .uk-ph__screen { background: #000; color: #fff; }
.uk-phone--reels .uk-ph__status, .uk-phone--tt .uk-ph__status { position: absolute; left: 0; right: 0; top: 0; color: #fff; }
.uk-phone--reels .uk-ph__status + .uk-reel, .uk-phone--tt .uk-ph__status + .uk-tt { position: absolute; inset: 0; }
.uk-reel__top { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(30px, 7cqh, 52px); display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw; }
.uk-bar--reels { width: 64px !important; height: 11px; background: rgb(255 255 255 / .85) !important; }
.uk-side { position: absolute; z-index: 2; right: 3cqw; bottom: calc(clamp(44px, 9cqh, 60px) + 14px); display: grid; gap: clamp(8px, 2.4cqh, 18px); justify-items: center; color: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4)); }
.uk-side__b { display: grid; gap: 4px; justify-items: center; }
.uk-bar--cnt { width: 22px !important; height: 6px; }
.uk-reel__info { position: relative; z-index: 2; display: grid; gap: 8px; padding: 0 calc(3cqw + 44px) 12px 4cqw; }
.uk-reel__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.uk-reel__names { display: grid; gap: 1px; min-width: 0; }
.uk-reel__handle, .uk-tt__handle { font-size: 15px; font-weight: 700; line-height: 1.25; white-space: nowrap; text-shadow: 0 1px 3px rgb(0 0 0 / .45); }
.uk-reel__sub { font-size: 14px; line-height: 1.25; font-weight: 500; color: rgb(255 255 255 / .92); white-space: nowrap; text-shadow: 0 1px 3px rgb(0 0 0 / .45); }
.uk-reel__sub:empty { display: none; }
.uk-reel__follow { flex: none; display: grid; place-items: center; width: 50px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .8); }
.uk-reel__follow .uk-bar { width: 26px !important; height: 6px; background: #fff !important; }
.uk-reel__cap .uk-bar { height: 7px; }
.uk-reel__cta, .uk-tt__cta, .uk-post__cta { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; border-radius: 7px; background: rgb(255 255 255 / .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.uk-reel__cta .uk-bar, .uk-tt__cta .uk-bar { height: 7px; background: #fff !important; }
.uk-ig-nav { position: relative; z-index: 3; flex: none; display: flex; align-items: center; justify-content: space-around; height: clamp(44px, 9cqh, 60px); padding-bottom: 6px; background: #000; color: #fff; border-top: 1px solid rgb(255 255 255 / .12); }
.uk-ph__screen:not(.is-dark) .uk-ig-nav { background: #fff; color: #0C1014; border-top-color: #EFEFEF; }

/* Instagram feed post */
.uk-feed { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.uk-feed__bar { flex: none; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 4cqw; }
.uk-bar--logo { width: 86px !important; height: 14px; background: #0C1014 !important; border-radius: 6px; }
.uk-post__h { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 4cqw; }
.uk-post__names { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; }
.uk-post__names b { font-size: 15px; font-weight: 700; line-height: 1.2; overflow-wrap: break-word; }
.uk-post__sub { font-size: 14px; line-height: 1.2; color: #3B4249; }
.uk-post__sub:empty { display: none; }
.uk-post__media { position: relative; inset: auto; flex: 1 1 auto; min-height: 60px; }
.uk-post__media::after { display: none; }
.uk-post__cta { flex: none; margin: 0; border-radius: 0; background: #EFEFEF; color: #0C1014; padding: 0 4cqw; }
.uk-post__cta .uk-bar { background: #0095F6 !important; height: 7px; }
.uk-post__act { flex: none; display: flex; align-items: center; gap: 14px; padding: 10px 4cqw 6px; }
.uk-post__cap { flex: none; padding: 2px 4cqw 10px; }

/* TikTok */
.uk-tt { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.uk-tt__top { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(30px, 7cqh, 52px); display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw; color: #fff; }
.uk-tt__tabs { display: flex; gap: 14px; }
.uk-tt__tabs .uk-bar { width: 44px !important; height: 9px; background: rgb(255 255 255 / .55) !important; }
.uk-tt__tabs .uk-bar.is-cur { background: #fff !important; box-shadow: 0 7px 0 -4px #fff; }
.uk-side--tt { gap: clamp(8px, 2.2cqh, 16px); }
.uk-side__me { position: relative; margin-bottom: 6px; }
.uk-side__me .uk-av { box-shadow: 0 0 0 1.5px #fff; }
.uk-side__me > i { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #FE2C55; color: #fff; line-height: 0; }
.uk-side__disc { color: #2b2b2b; border-radius: 50%; box-shadow: 0 0 0 5px #1c1c1c; animation: uk-spin 6s linear infinite; }
@keyframes uk-spin { to { transform: rotate(360deg); } }
.uk-tt__info { position: relative; z-index: 2; display: grid; gap: 7px; justify-items: start; padding: 0 calc(3cqw + 46px) 12px 4cqw; }
.uk-tt__cap { width: 100%; }
.uk-tt__cap .uk-bar { height: 7px; }
.uk-tt__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: rgb(255 255 255 / .22); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.uk-tt__cta { width: 100%; background: rgb(255 255 255 / .2); }
.uk-tt__music { display: flex; align-items: center; gap: 6px; width: 70%; }
.uk-tt__music .uk-bar { height: 6px; }
.uk-tt-nav { position: relative; z-index: 3; flex: none; display: flex; align-items: center; justify-content: space-around; height: clamp(44px, 9cqh, 60px); background: #000; color: #fff; border-top: 1px solid rgb(255 255 255 / .1); }
.uk-tt-nav__plus { display: grid; place-items: center; width: 40px; height: 26px; border-radius: 8px; background: #fff; color: #000; box-shadow: -3px 0 0 #25F4EE, 3px 0 0 #FE2C55; }
@media (prefers-reduced-motion: reduce) { .uk-side__disc { animation: none; } }

/* search grids */
.uk-sr { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.uk-sr__bar { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 4cqw 8px; }
.uk-sr__field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border-radius: 10px; background: #EFEFEF; color: #737373; }
.uk-sr__q { font-size: 15px; line-height: 1.25; font-weight: 500; color: #0C1014; overflow-wrap: break-word; min-width: 0; }
.uk-sr__tabs { flex: none; display: flex; gap: 0; border-bottom: 1px solid #DBDBDB; }
.uk-sr__tabs .uk-bar { flex: 1 1 0; height: 8px; margin: 13px 6cqw; background: #C7C7C7; }
.uk-sr__tabs .uk-bar.is-cur { background: #0C1014; box-shadow: 0 13px 0 -11px #0C1014; }
.uk-sr__acct { flex: none; display: flex; align-items: center; gap: 10px; margin: 8px 3cqw; padding: 8px 10px; border-radius: 10px; transition: background-color .5s, box-shadow .5s; }
.uk-sr__acct.is-lit { background: rgb(255 127 50 / .14); box-shadow: inset 0 0 0 1.5px #FF7F32; }
.uk-sr__names { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.uk-sr__names b { font-size: 15px; line-height: 1.2; font-weight: 700; overflow-wrap: break-word; }
.uk-sr__fol { font-size: 14px; line-height: 1.2; font-weight: 500; opacity: .85; }
.uk-sr__acct.is-lit .uk-sr__fol { opacity: 1; color: #FFB07A; }
.uk-ph__screen:not(.is-dark) .uk-sr__acct.is-lit .uk-sr__fol { color: #B2531A; }
.uk-sr__btn { flex: none; display: grid; place-items: center; width: 64px; height: 30px; border-radius: 6px; background: #FE2C55; }
.uk-sr__btn .uk-bar { width: 30px !important; height: 6px; background: #fff !important; }
.uk-sr__grid { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); align-content: start; gap: 2px; min-height: 0; overflow: hidden; }
.uk-sr__item { position: relative; min-width: 0; transition: box-shadow .5s, transform .5s; }
.uk-sr__item .uk-thumb { width: 100%; }
.uk-sr__badge { position: absolute; right: 6px; top: 6px; color: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5)); }
.uk-sr__views { position: absolute; left: 6px; right: 4px; bottom: 6px; display: flex; align-items: center; gap: 3px; color: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .6)); }
.uk-sr__v { font-size: 14px; line-height: 1.15; font-weight: 700; overflow-wrap: break-word; }
.uk-sr__views .uk-bar { width: 26px !important; height: 6px; background: rgb(255 255 255 / .9) !important; }
.uk-sr__item.is-lit { z-index: 1; box-shadow: 0 0 0 3px #FF7F32, 0 8px 22px -6px rgb(255 127 50 / .7); }
.uk-sr__item.is-cut, .uk-pf__row.is-cut, .uk-dm__row.is-cut { display: none; }
.uk-sr--tt .uk-sr__field { background: #2F2F2F; color: #aaa; }
.uk-sr--tt .uk-sr__q { color: #fff; }
.uk-sr--tt .uk-sr__tabs { border-bottom-color: #2a2a2a; }
.uk-sr--tt .uk-sr__tabs .uk-bar { background: #555; }
.uk-sr--tt .uk-sr__tabs .uk-bar.is-cur { background: #fff; box-shadow: 0 13px 0 -11px #fff; }
.uk-sr--tt .uk-sr__grid { gap: 8px 6px; padding: 6px 3cqw; }
.uk-sr--tt .uk-sr__item .uk-thumb { border-radius: 6px; }
.uk-sr--tt .uk-sr__views { bottom: auto; top: calc(100% * 0 + 6px); }
.uk-sr__cap { padding: 6px 2px 2px; }
.uk-sr__cap .uk-bar { height: 6px; background: #444 !important; }
.uk-sr--tt .uk-sr__item .uk-sr__views { position: absolute; top: auto; bottom: calc(24px + 6px); }
.uk-ph__screen.is-dark .uk-bar { background: rgb(255 255 255 / .3); }

/* profile + followers */
.uk-pf { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.uk-pf__bar { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 4cqw; }
.uk-pf__handle { font-size: 15px; line-height: 1.2; font-weight: 700; min-width: 0; overflow-wrap: break-word; }
.uk-pf__head { flex: none; display: flex; align-items: center; gap: 6cqw; padding: 6px 5cqw; }
.uk-pf__counts { flex: 1 1 auto; display: flex; justify-content: space-around; gap: 8px; }
.uk-pf__count { display: grid; gap: 6px; justify-items: center; width: 22%; }
.uk-bar--num { width: 70% !important; height: 11px; background: #8E8E8E !important; }
.uk-pf__bio { flex: none; padding: 10px 5cqw 6px; }
.uk-pf__tabs { flex: none; display: flex; border-bottom: 1px solid #DBDBDB; margin-top: 6px; }
.uk-pf__tab { flex: 1 1 0; display: grid; place-items: center; height: 42px; font-size: 15px; font-weight: 600; color: #737373; }
.uk-pf__tab .uk-bar { width: 60px !important; height: 8px; background: #C7C7C7; }
.uk-pf__tab.is-cur { color: #0C1014; box-shadow: inset 0 -1.5px 0 #0C1014; }
.uk-pf__find { flex: none; display: flex; align-items: center; gap: 8px; height: 34px; margin: 10px 4cqw 4px; padding: 0 10px; border-radius: 9px; background: #EFEFEF; color: #8E8E8E; }
.uk-pf__list { flex: 1 1 auto; min-height: 0; overflow: hidden; display: grid; align-content: start; }
.uk-pf__row { display: flex; align-items: center; gap: 10px; padding: 7px 4cqw; transition: background-color .5s, box-shadow .5s; }
.uk-pf__names { flex: 1 1 auto; display: grid; gap: 5px; min-width: 0; }
.uk-pf__names b { font-size: 15px; line-height: 1.2; font-weight: 600; overflow-wrap: break-word; }
.uk-pf__btn { flex: none; display: grid; place-items: center; width: 22cqw; max-width: 84px; height: 30px; border-radius: 8px; background: #EFEFEF; }
.uk-pf__btn .uk-bar { width: 50% !important; height: 6px; background: #A8A8A8; }
.uk-pf__row.is-lit { background: rgb(255 127 50 / .13); box-shadow: inset 3px 0 0 #FF7F32; }
.uk-pf__row.is-lit .uk-pf__btn { background: #0095F6; }
.uk-pf__row.is-lit .uk-pf__btn .uk-bar { background: #fff; }

/* DM thread */
.uk-dm { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.uk-dm__bar { flex: none; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 4cqw; border-bottom: 1px solid #EFEFEF; }
.uk-dm__handle { font-size: 15px; line-height: 1.2; font-weight: 700; min-width: 0; overflow-wrap: break-word; }
.uk-dm__hero { flex: none; display: grid; justify-items: center; gap: 8px; padding: 16px 0 10px; }
.uk-dm__hero .uk-bar--name { width: 90px !important; }
.uk-dm__hero .uk-bar--sub { width: 120px !important; }
.uk-dm__thread { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px 4cqw; }
.uk-dm__row { display: flex; align-items: flex-end; gap: 8px; }
.uk-dm__row.is-out { justify-content: flex-end; }
.uk-dm__b { max-width: 76%; padding: 9px 13px; border-radius: 20px; background: #EFEFEF; color: #0C1014; font-size: 15px; line-height: 1.35; }
.uk-dm__b.is-out { background: linear-gradient(160deg, #A033FF 0%, #5B51D8 40%, #3797F0 100%); background-attachment: fixed; color: #fff; }
.uk-dm__b.is-out { background: #3797F0; background-image: linear-gradient(170deg, #7A3CF0, #3797F0); }
.uk-dm__bars { width: 120px; max-width: 100%; padding: 4px 0; }
.uk-dm__b.is-out .uk-bar { background: rgb(255 255 255 / .55); }
.uk-dm__t { white-space: pre-wrap; overflow-wrap: break-word; }
.uk-dm__comp { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; margin: 6px 3cqw 10px; padding: 0 6px; border-radius: 22px; background: #EFEFEF; color: #0C1014; }
.uk-dm__cam { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #3797F0; color: #fff; flex: none; }

/* small phones: drop secondary chrome, never shrink text */
@container (max-height: 520px) {
  .uk-ig-nav, .uk-tt-nav { display: none; }
  .uk-side { bottom: 12px; }
  .uk-reel__cap, .uk-tt__music, .uk-pf__bio, .uk-dm__hero { display: none; }
  .uk-post__cap, .uk-post__cta { display: none; }
}
@container (max-height: 400px) {
  .uk-reel__cta, .uk-tt__cta, .uk-tt__cap, .uk-reel__top, .uk-tt__top, .uk-pf__find, .uk-feed__bar { display: none; }
  .uk-bar--cnt { display: none; }
  .uk-side { gap: 8px; }
  .uk-sr__tabs, .uk-ph__sys { display: none; }
}
@container (max-width: 190px) {
  .uk-reel__follow, .uk-ph__sys, .uk-reel__av, .uk-post__more { display: none; }
  .uk-reel__info, .uk-tt__info { padding-right: calc(3cqw + 34px); }
  .uk-side .uk-ic { width: 22px; height: 22px; }
  .uk-sr__btn, .uk-pf__btn, .uk-dm__bar .uk-i:nth-last-child(-n+2), .uk-pf__bar > .uk-i:last-child { display: none; }
  .uk-pf__head { gap: 8px; padding: 6px 8px; }
  .uk-pf__head .uk-av { --s: 44px !important; }
  .uk-ph__status > .uk-bar { display: none; }
  .uk-dm__b { max-width: 92%; }
}
.uk-sr__grid, .uk-pf__list, .uk-dm__thread { position: relative; }
/* the slimmest chrome level also tightens the header row */
.uk-am[data-chrome="-1"] .uk-am__row--head { min-height: 0; }
.uk-am[data-chrome="-1"] .uk-am__row--head .uk-am__c { padding-top: 4px; padding-bottom: 4px; line-height: 1.1; }
.uk-am[data-chrome="-1"] .uk-am__sub { display: none; }
