/* Levers 1 to 3 (ch-levers-1-3.js). Every class starts with l13-. Shared pieces: scenes.css (im-), kit.css (kt-). */

/* ---------- 3D worlds: labels, leader lines ---------- */
.scene .l13-lab { font-size: 16px; }
.scene .l13-lab.im-lab--chip, .scene .l13-lab--chip { padding: 5px 10px; border-radius: 4px; background: rgb(12 12 16 / .9); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); text-shadow: none; }
.scene .l13-lab--o { color: #FFB27A; }
.scene .l13-lab--rose { color: #F6BFAF; }
.scene .l13-lab--cut { text-decoration: line-through; text-decoration-color: rgb(246 191 175 / .8); }
.l13-lead { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.l13-lead line { stroke: rgb(255 255 255 / .45); stroke-width: 1; }
.l13-w .im-note { color: rgb(255 255 255 / .88); }
.l13-w .kt-ex { justify-self: start; }
.l13-names { margin: 2px 0 0; font-size: 15px; line-height: 1.45; font-weight: 500; color: #FFC79E; }
@media (max-width: 959px), (max-height: 599px) {
  .scene .l13-lab { font-size: 14px; } .l13-names { font-size: 14px; }
  .scene.l13-w .im--full, .scene.l13-w .im--right { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto auto minmax(0, 1fr); }
  .l13-w .im--full .im-t, .l13-w .im--right .im-t { grid-column: 1; max-width: 100%; }
  .l13-w .im--full .im-side, .l13-w .im--right .im-side { grid-column: 1; grid-row: 2; max-width: 100%; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .scene.l13-w .im--full, .scene.l13-w .im--right { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- mocks: shared ---------- */
.l13-mk .im-vis { min-height: 0; }
.l13-i { display: inline-grid; place-items: center; flex: none; line-height: 0; }
.l13-bar { display: block; height: 8px; border-radius: 4px; background: #E7E3DC; flex: none; }
.l13-bar--soft { background: #EFECE6; }
.l13-bar--dk { background: #D6D1C8; }
.l13-bar--chip { height: 18px; border-radius: 9px; }
.l13-bar--field { height: 28px; border-radius: 6px; background: #F2F0EB; box-shadow: inset 0 0 0 1px #E3DFD7; }
.l13-bar--name { height: 7px; background: #DDD8CF; }
.l13-av { flex: none; display: inline-block; width: 28px; height: 28px; border-radius: 50%; --av: #FF7F32;
  background: radial-gradient(circle at 50% 40%, rgb(255 255 255 / .55) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 108%, rgb(255 255 255 / .45) 0 40%, transparent 41%), radial-gradient(circle, rgb(0 0 0 / .16) 1.1px, transparent 1.5px) 0 0 / 4px 4px, var(--av); }
.l13-av--o { --av: #FF9550; } .l13-av--b { --av: #8DB8F3; } .l13-av--l { --av: #B9A5E6; } .l13-av--a { --av: #86D9CF; } .l13-av--r { --av: #E1A898; }
.l13-av--lg { width: 44px; height: 44px; }
.l13-av--xl { width: 56px; height: 56px; }
.l13-th { display: block; width: 100%; height: 100%; border-radius: 4px; --a: #6b4a3a; --b: #d9a27a;
  background: radial-gradient(circle at 50% 36%, rgb(255 236 214 / .9) 0 16%, transparent 17%), radial-gradient(ellipse at 50% 100%, rgb(255 236 214 / .7) 0 36%, transparent 37%), radial-gradient(circle, rgb(0 0 0 / .22) 1.2px, transparent 1.6px) 0 0 / 5px 5px, linear-gradient(165deg, var(--b), var(--a)); }
.l13-th--1 { --a: #2c3a5a; --b: #7d9ad0; } .l13-th--2 { --a: #4a2f5a; --b: #b48ad6; } .l13-th--3 { --a: #2d5148; --b: #7fc7b6; }
.l13-th--4 { --a: #5a3a2a; --b: #e0a070; } .l13-th--5 { --a: #3a3a40; --b: #a9a4a0; }
.l13-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 14px; font-size: 14px; font-weight: 500; color: #333; background: #F1EEE8; white-space: nowrap; }
.l13-pill--o { background: #FFE6D4; color: #9A3E0C; }
.l13-view { position: absolute; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; }
.l13-view.is-on { opacity: 1; visibility: inherit; transform: none; transition: opacity .5s .1s, transform .6s cubic-bezier(.2,.8,.2,1) .1s; }

/* ---------- 7 l1-how: the payouts dashboard ---------- */
.l13-pay .im-vis { display: grid; align-items: center; }
.l13-pay__win { height: min(100%, 520px); }
.l13-pay__body { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 1fr); height: 100%; }
.l13-rail { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 16px 10px; background: #FAF9F6; border-right: 1px solid #ECEAE5; }
.l13-rail__logo { margin-bottom: 8px; }
.l13-rail__i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #9A958C; }
.l13-rail__i.is-on { background: #FFE6D4; color: #C4561A; }
.l13-pay__main { position: relative; min-width: 0; }
.l13-pay__main .l13-view { inset: clamp(14px, 2.2vw, 28px); }
.l13-pay__ex { position: absolute; top: clamp(24px, 2.8vw, 42px); right: clamp(24px, 2.8vw, 44px); z-index: 2; transition: opacity .4s; }
.l13-pay__ex:not(.is-on) { opacity: 0; visibility: hidden; }
.l13-v1 { display: flex; flex-direction: column; gap: 14px; }
.l13-cr { display: flex; align-items: center; gap: 12px; padding-right: 80px; }
.l13-cr__who { display: grid; gap: 6px; min-width: 0; }
.l13-cr__who b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.l13-cr__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.l13-wks { flex: 1; min-height: 70px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10%; padding: 0 4%; border-bottom: 2px solid #111; }
.l13-wk { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-height: 0; }
.l13-wk__v { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 6px; opacity: 0; transition: opacity .4s calc(.5s + var(--i) * .12s); }
.l13-wk__b { display: block; width: 100%; height: calc(var(--v) * (100% - 28px)); border-radius: 4px 4px 0 0; transform-origin: 50% 100%; transform: scaleY(0);
  background: radial-gradient(circle, rgb(255 255 255 / .35) 1.3px, transparent 1.7px) 0 0 / 6px 6px, linear-gradient(180deg, #FF9A55, #FF7F32); transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s); }
.l13-v1.is-on .l13-wk__b { transform: none; }
.l13-v1.is-on .l13-wk__v { opacity: 1; }
.l13-rows { display: grid; gap: 8px; }
.l13-row2 { display: flex; align-items: center; gap: 10px; opacity: .7; }
.l13-row2 .l13-av { width: 24px; height: 24px; }
.l13-v2, .l13-v3 { display: grid; }
.l13-offer, .l13-msg { width: 100%; height: 100%; display: grid; align-content: space-between; gap: clamp(10px, 2vh, 20px); padding: clamp(16px, 2.2vw, 30px); border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #ECE8E1, 0 18px 40px -26px rgb(17 17 17 / .35); }
.l13-offer__hd { display: flex; align-items: center; gap: 12px; padding-right: 76px; }
.l13-offer__mail { color: #9A958C; }
.l13-offer__big { margin: 0; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.1; font-weight: 500; letter-spacing: -.025em; color: #111; font-variant-numeric: tabular-nums; }
.l13-orders { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(8px, 1.2vw, 16px); }
.l13-ord { display: grid; justify-items: center; gap: 6px; transform: translateY(10px) scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3,1.5,.5,1) calc(.4s + var(--i) * .22s), opacity .3s calc(.4s + var(--i) * .22s); }
.l13-ord b { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 8px; border-radius: 6px; font-size: 15px; font-weight: 600; color: #9A3E0C; background: #FFE6D4; font-variant-numeric: tabular-nums; }
.l13-ord__p svg { width: clamp(30px, 3vw, 46px); height: auto; }
.l13-orders__eq { align-self: center; color: #111; opacity: 0; transition: opacity .3s 1.6s; }
.l13-orders__t { align-self: center; font-size: clamp(30px, 3.2vw, 52px); font-weight: 600; letter-spacing: -.02em; color: #C4561A; opacity: 0; transform: translateY(6px); transition: opacity .4s 1.75s, transform .4s 1.75s; font-variant-numeric: tabular-nums; }
.l13-v2.is-on .l13-ord, .l13-v2.is-on .l13-orders__eq, .l13-v2.is-on .l13-orders__t { opacity: 1; transform: none; }
.l13-tl { position: relative; height: 40px; margin-right: 44px; }
.l13-tl__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #ECE8E1; }
.l13-tl__d { position: absolute; top: 50%; left: calc(var(--d) * 100% / 6); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #D9D4CB; }
.l13-tl__d.is-sale { background: radial-gradient(circle at 40% 35%, #FFD08A, #FF8A3C); box-shadow: 0 0 0 3px rgb(255 127 50 / .18); transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1) calc(.5s + var(--d) * .2s); }
.l13-v2.is-on .l13-tl__d.is-sale { transform: scale(1.25); }
.l13-tl__w { position: absolute; right: -44px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; background: #FFE6D4; color: #C4561A; display: grid; place-items: center; }
.l13-msg__ban { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); min-height: clamp(80px, 16vh, 150px); border-radius: 10px; background: radial-gradient(circle, rgb(255 255 255 / .35) 1.3px, transparent 1.7px) 0 0 / 7px 7px, linear-gradient(120deg, #FFE2CC, #FFB884); }
.l13-msg__pack svg { width: clamp(40px, 4vw, 64px); height: auto; }
.l13-msg__coin svg { width: clamp(34px, 3.4vw, 54px); height: auto; }
.l13-msg__hd { display: flex; align-items: center; gap: 10px; }
.l13-msg__hd b { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; }
.l13-msg__hl { margin: 0; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: #111; }
.l13-msg__hl mark { color: inherit; background: linear-gradient(transparent 55%, rgb(255 127 50 / .38) 55%) no-repeat 0 0 / 0% 100%; padding: 0 2px; transition: background-size 1s cubic-bezier(.3,.7,.2,1) .5s; }
.l13-v3.is-on .l13-msg__hl mark { background-size: 100% 100%; }
.l13-flow { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
.l13-flow__s { display: grid; place-items: center; width: clamp(46px, 4.4vw, 62px); height: clamp(46px, 4.4vw, 62px); border-radius: 12px; background: #F6F3EE; color: #555; opacity: .35; transition: opacity .4s, background .4s, color .4s; }
.l13-flow__a { color: #C9C3B8; }
.l13-v3.is-on .l13-flow__s { opacity: 1; }
.l13-v3.is-on .l13-flow__s:last-child { background: #FFE6D4; color: #C4561A; }
.l13-v3.is-on .l13-flow > :nth-child(1) { transition-delay: .6s; } .l13-v3.is-on .l13-flow > :nth-child(3) { transition-delay: .9s; } .l13-v3.is-on .l13-flow > :nth-child(5) { transition-delay: 1.2s; } .l13-v3.is-on .l13-flow > :nth-child(7) { transition-delay: 1.5s; }

/* ---------- 9 l2-proof: columns, then Ridge's share ---------- */
.l13-cc__wrap { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 18px; }
.l13-leg { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16px; font-weight: 500; color: #111; transition: opacity .4s; }
.l13-leg span { display: inline-flex; align-items: center; gap: 8px; }
.l13-sw { display: inline-block; width: 16px; height: 16px; border-radius: 3px; }
.l13-sw--g, .l13-col--g .l13-col__f { background: radial-gradient(circle, rgb(255 255 255 / .45) 1.3px, transparent 1.7px) 0 0 / 6px 6px, #8F8A82; }
.l13-sw--o, .l13-col--o .l13-col__f { background: radial-gradient(circle, rgb(255 255 255 / .38) 1.3px, transparent 1.7px) 0 0 / 6px 6px, #FF7F32; }
.l13-plot { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7%; min-height: 0; transform-origin: 0 100%; transition: transform .9s cubic-bezier(.5,0,.2,1), opacity .6s; }
.l13-plot__ref { display: none; }
.l13-grp { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; min-height: 0; }
.l13-grp__cols { position: relative; border-bottom: 2px solid #111; min-height: 0; }
.l13-grp__cols::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% / 1.25); border-top: 2px dashed #A9A39A; }
.l13-col { position: absolute; bottom: 0; width: 32%; height: calc(var(--h) * 100%); }
.l13-col--g { left: 8%; }
.l13-col--o { left: 46%; }
.l13-col__f { position: absolute; inset: 0; border-radius: 4px 4px 0 0; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1) calc(.15s + var(--i) * .15s); }
.l13-col__v { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 6px; text-align: center; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; font-variant-numeric: tabular-nums; color: #111; transition: opacity .4s; }
.l13-col--o .l13-col__v { color: #B54A0E; }
.scene.is-active .l13-col__f { transform: none; }
.l13-gap { position: absolute; left: 81%; width: 10px; bottom: calc(var(--a) * 100%); height: calc((var(--b) - var(--a)) * 100%); border: 2px solid #111; border-left: 0; border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .4s 1.3s; }
.scene.is-active .l13-gap { opacity: 1; }
.l13-grp__n { display: grid; justify-items: center; gap: 0; text-align: center; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; color: #111; transition: opacity .4s; }
.l13-grp__d { font-size: clamp(22px, 2.5vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: #C4561A; font-variant-numeric: tabular-nums; }
.l13-hide2 { transition: opacity .4s; }
.is-b2 .l13-hide2 { opacity: 0; visibility: hidden; }
.is-b2 .l13-plot { opacity: 0; visibility: hidden; }
.l13-rd { position: absolute; top: 0; right: 0; width: 100%; display: grid; gap: clamp(12px, 2.4vh, 24px); align-content: start; padding-top: 4px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1), visibility 0s .5s; }
.is-b2 .l13-rd { opacity: 1; visibility: inherit; transform: none; transition: opacity .6s .5s, transform .8s cubic-bezier(.2,.8,.2,1) .5s; }
.l13-rd__t { margin: 0 0 4px; font-size: clamp(17px, 1.55vw, 24px); line-height: 1.3; font-weight: 500; color: #111; }
.l13-rr { display: grid; gap: 8px; }
.l13-rr__l { font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; font-variant-numeric: tabular-nums; }
.l13-rr__bar { position: relative; height: clamp(30px, 6vh, 60px); border-radius: 4px; background: radial-gradient(circle, rgb(0 0 0 / .14) 1.2px, transparent 1.6px) 0 0 / 6px 6px, #ECE8E1; overflow: hidden; }
.l13-rr__s { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--s) * 100%); min-width: 4px; background: radial-gradient(circle, rgb(255 255 255 / .38) 1.3px, transparent 1.7px) 0 0 / 6px 6px, #FF7F32; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.3,.7,.2,1) 1.1s; }
.is-b2 .l13-rr + .l13-rr .l13-rr__s { transition-delay: 1.4s; }
.is-b2 .l13-rr__s { clip-path: inset(0 0 0 0); }
.l13-rd__ax { display: flex; justify-content: space-between; font-size: 14px; color: #6b6a66; font-variant-numeric: tabular-nums; }

/* ---------- 10 l2-how: Ads Manager identity, Spark code, budget strip ---------- */
.l13-am__stack { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.l13-am__win { min-height: 0; }
.l13-am .kt-win__bar { gap: 14px; }
.l13-am .kt-win__bar .l13-bar { width: 70px !important; }
.l13-am .kt-win__bar .l13-bar + .l13-bar { width: 52px !important; }
.l13-am__btn { margin-left: auto; width: 64px; height: 22px; border-radius: 5px; background: #0866FF; opacity: .9; }
.l13-am__ex { justify-self: start; margin-top: 12px; }
.l13-am__ex:not(.is-on) { display: none; }
.l13-scr { position: absolute; inset: 0; transition: transform .85s cubic-bezier(.6,0,.2,1); }
.l13-am[data-b="1"] .l13-scr { transform: translateY(-100%); }
.l13-sec { position: absolute; left: 0; right: 0; height: 100%; padding: clamp(12px, 1.8vw, 22px); }
.l13-sec--a { top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(12px, 2vw, 26px); align-items: start; }
.l13-sec--b { top: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.l13-ed { display: grid; gap: 0; }
.l13-ed__r { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid #EEEBE5; }
.l13-ed__r b { font-size: 16px; font-weight: 600; }
.l13-ed__h { font-size: 16px; font-weight: 600; }
.l13-ed__ghost { display: grid; gap: 6px; align-content: center; padding: 8px 0; }
.l13-ed__ghost .l13-bar:first-child { height: 7px; }
.l13-tg { position: relative; flex: none; width: 38px; height: 22px; border-radius: 11px; background: #0866FF; }
.l13-tg i { position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.l13-ok { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 13px; font-size: 14px; font-weight: 600; color: #0D652D; background: #DDF2E3; }
.l13-pv { justify-self: end; width: min(100%, 250px); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px #E6E2DA, 0 14px 30px -20px rgb(0 0 0 / .4); }
.l13-pv__hd { display: flex; align-items: center; gap: 8px; padding: 9px 10px; }
.l13-pv__who { display: grid; min-width: 0; }
.l13-pv__who b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.l13-pv__who span { font-size: 14px; color: #65676B; line-height: 1.25; }
.l13-pv__img { position: relative; aspect-ratio: 4 / 4.4;
  background: radial-gradient(circle at 50% 38%, rgb(255 236 214 / .92) 0 15%, transparent 16%), radial-gradient(ellipse at 50% 102%, rgb(255 236 214 / .75) 0 34%, transparent 35%), radial-gradient(circle, rgb(0 0 0 / .2) 1.3px, transparent 1.7px) 0 0 / 6px 6px, linear-gradient(165deg, #E8A877, #7A4A30); }
.l13-pv__act { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: #444; }
.l13-pv__act .l13-bar { width: 60px !important; } .l13-pv__act .l13-bar + .l13-bar { width: 34px !important; }
.l13-ban { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.25; color: #6E2414; background: #F7D3C8; box-shadow: 0 0 0 1px #E5A897, 0 10px 24px -12px rgb(110 36 20 / .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s, transform .5s, visibility 0s .4s; }
.l13-ban.is-on { opacity: 1; visibility: inherit; transform: none; transition: opacity .5s .7s, transform .6s cubic-bezier(.2,.8,.2,1) .7s; }
.l13-sec__t { font-size: 17px; font-weight: 600; }
.l13-sets { display: grid; gap: 8px; align-content: start; min-height: 0; overflow: hidden; }
.l13-as { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px #EEEBE5; }
.l13-as .l13-th { height: 46px; }
.l13-as__n { display: flex; align-items: center; gap: 8px; }
.l13-as__n b { font-size: 16px; font-weight: 600; }
.l13-as__v { width: 22px; height: 22px; border-radius: 50%; background: #F1EEE8; color: #555; }
.l13-as__b { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #FF7F32 calc(var(--w) * 100%), #F0ECE6 0); }
.l13-bud { display: grid; gap: 8px; }
.l13-bud__l { font-size: 16px; font-weight: 600; color: #B54A0E; }
.l13-bud__bar { position: relative; height: 18px; border-radius: 9px; background: #EEEAE3; overflow: hidden; }
.l13-bud__band { position: absolute; left: 25%; width: 25%; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgb(255 127 50 / .25) 0 4px, transparent 4px 8px); box-shadow: inset 2px 0 0 #FF7F32, inset -2px 0 0 #FF7F32; }
.l13-bud__f { position: absolute; left: 0; top: 0; bottom: 0; width: 8%; background: #FF7F32; border-radius: 9px; transition: width 1.6s cubic-bezier(.3,.7,.2,1) .9s; }
.l13-am[data-b="1"] .l13-bud__f { width: 40%; }
.l13-sp { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #E6E2DA, 0 14px 30px -24px rgb(0 0 0 / .4); }
.l13-sp:not(.is-on) { display: none; }
.l13-sp__g { width: 34px; height: 34px; border-radius: 8px; background: #F1F1F2; }
.l13-sp__f { display: grid; gap: 4px; min-width: 0; flex: 1; }
.l13-sp__l { font-size: 14px; font-weight: 600; color: #444; }
.l13-sp__in { display: block; padding: 6px 10px; border-radius: 6px; font-size: 16px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #111; box-shadow: inset 0 0 0 1.5px #25C2C0; background: #F4FDFD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 13 l3-proof: the comment sheet ---------- */
.l13-cm .im-vis, .l13-pg .im-vis { position: relative; }
.l13-q { margin: 0; font-size: clamp(19px, 1.7vw, 26px) !important; line-height: 1.38 !important; font-weight: 500; color: #111 !important; padding-left: 16px; border-left: 3px solid var(--cta); }
.kt-phone.l13-cm__ph, .kt-phone.l13-pg__ph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: min(100%, 620px); max-width: none; margin: 0; }
.kt-phone.l13-cm__ph { height: 100%; aspect-ratio: 9 / 15.6; }
@media (min-width: 960px) and (min-height: 781px) { .l13-cm .l13-c__t { font-size: 16px; } .l13-cm .l13-c { padding: 9px 8px; } }
.l13-cm__ph .kt-phone__screen { display: flex; flex-direction: column; }
.l13-vid { flex: none; height: 24%; background: radial-gradient(circle at 50% 50%, rgb(255 236 214 / .85) 0 14%, transparent 15%), radial-gradient(circle, rgb(0 0 0 / .3) 1.3px, transparent 1.7px) 0 0 / 6px 6px, linear-gradient(170deg, #c98a5e, #3a2418); }
.l13-sheet { flex: 1; min-height: 0; margin-top: -14px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 4px; padding: 12px 12px 8px; border-radius: 16px 16px 0 0; background: #fff; color: #111; }
.l13-sheet__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid #F0EEEA; }
.l13-sheet__hd .l13-bar { width: 84px !important; }
.l13-sheet__x { color: #888; }
.l13-sheet__list { display: grid; align-content: start; gap: 2px; overflow: hidden; }
.l13-c { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 8px; transition: opacity .8s .3s, background .8s .5s, box-shadow .8s .5s; }
.l13-c__b { display: grid; gap: 5px; min-width: 0; }
.l13-c__b .l13-bar { width: 70px !important; }
.l13-c__e { font-size: 17px; line-height: 1.2; }
.l13-c__t { font-size: 15px; line-height: 1.3; font-weight: 500; }
.l13-c__h { color: #9a9a9a; }
.l13-c__l { display: grid; justify-items: center; gap: 1px; color: #FF7F32; }
.l13-c__n { font-size: 14px; font-weight: 600; color: #111; font-variant-numeric: tabular-nums; }
.l13-cm.is-play .l13-c--emo { opacity: .3; }
.l13-cm.is-play .l13-c--q { background: linear-gradient(90deg, rgb(255 127 50 / .14), rgb(255 127 50 / .02)); box-shadow: inset 3px 0 0 #FF7F32, 0 0 18px -6px rgb(255 127 50 / .5); }

/* ---------- 14 l3-how: the profile grid and its median ---------- */
.l13-pg__ph .kt-phone__screen { display: flex; flex-direction: column; padding: 34px 10px 10px; }
.l13-prof { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 4px 4px 10px; }
.l13-prof__who { display: grid; gap: 7px; min-width: 0; }
.l13-prof__who > * { grid-area: auto; }
.l13-prof__h { font-size: 17px; font-weight: 600; }
.l13-prof__h:not(.is-on), .l13-aud:not(.is-on) { display: none; }
.l13-aud { grid-column: 1 / -1; justify-self: start; display: inline-flex; white-space: normal !important; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #0D652D; white-space: nowrap; }
.l13-aud .l13-i { width: 20px; height: 20px; border-radius: 50%; background: #DDF2E3; }
.l13-prof__st { display: flex; gap: 8px; }
.l13-prof__st .l13-bar { width: 22% !important; }
.l13-grid { position: relative; flex: 1; min-height: 0; }
.l13-tile { position: absolute; border-radius: 4px; overflow: hidden; transition: left .8s cubic-bezier(.6,0,.2,1), top .8s cubic-bezier(.6,0,.2,1), width .8s cubic-bezier(.6,0,.2,1), height .8s cubic-bezier(.6,0,.2,1), box-shadow .5s; }
.l13-tile .l13-th { border-radius: 0; }
.l13-tile__c { position: absolute; left: 5px; bottom: 5px; display: flex; align-items: center; gap: 3px; width: 60%; color: #fff; transition: opacity .3s; }
.l13-tile__c .l13-bar { height: 6px; background: rgb(255 255 255 / .8); width: 100% !important; }
.l13-pg.is-hit .l13-tile--hit { box-shadow: 0 0 0 2.5px #FF7F32, 0 0 22px rgb(255 127 50 / .7); z-index: 2; }
.l13-pg.is-bars .l13-tile__c { opacity: 0; }
.l13-pg.is-bars .l13-tile { border-radius: 3px 3px 0 0; }
.l13-pg.is-bars .l13-tile--hit .l13-th { background: radial-gradient(circle, rgb(255 255 255 / .35) 1.2px, transparent 1.6px) 0 0 / 5px 5px, linear-gradient(180deg, #FF9A55, #FF7F32); }
.l13-pg.is-bars .l13-tile:not(.l13-tile--hit) .l13-th { background: radial-gradient(circle, rgb(255 255 255 / .4) 1.2px, transparent 1.6px) 0 0 / 5px 5px, #8F8A82; }
.l13-med { position: absolute; left: 0; right: 0; height: 0; border-top: 2.5px dashed #FF7F32; z-index: 3; opacity: 0; transition: opacity .5s; }
.l13-pl { position: absolute; z-index: 4; padding: 2px 7px; border-radius: 4px; font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; background: rgb(255 255 255 / .95); color: #111; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.l13-pl--hit { color: #fff; background: #FF7F32; }
.l13-pl--med { color: #B54A0E; box-shadow: inset 0 0 0 1px #FFC9A6; }
.l13-pl--low { box-shadow: inset 0 0 0 1px #DDD8CF; }
.l13-pg.is-hit .l13-pl--hit, .l13-pg.is-lab .l13-pl--med, .l13-pg.is-lab .l13-pl--low { opacity: 1; visibility: inherit; transition: opacity .4s; }
.l13-pg.is-lab .l13-med { opacity: 1; }
.l13-mk .im-side .kt-ex { justify-self: start; }
.l13-wall { position: absolute; left: 0; right: 0; bottom: 0; min-height: 40%; z-index: 6; display: grid; align-content: start; gap: 6px; padding: 12px 12px 10px; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -12px 30px -16px rgb(0 0 0 / .35); opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .4s, transform .5s, visibility 0s .4s; }
.l13-wall.is-on { opacity: 1; visibility: inherit; transform: none; transition: opacity .5s .5s, transform .7s cubic-bezier(.2,.8,.2,1) .5s; }
.l13-wall__r { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; }
.l13-wall__r .l13-av { width: 24px; height: 24px; }
.l13-wall__b { display: grid; gap: 5px; }
.l13-wall__reply { background: #EAF6EE; box-shadow: inset 3px 0 0 #34A853; }
.l13-wall__rep { color: #188038; }
.l13-wall__fake { position: relative; display: grid; gap: 2px; }
.l13-wall__fake .l13-wall__r { opacity: .4; }
.l13-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); padding: 2px 14px; border: 3px solid #C9715C; border-radius: 6px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #9E3B22; background: rgb(255 244 240 / .85); font-variant-numeric: tabular-nums; }

/* ---------- compact: the title and its text share the left column, the mock takes the full height on the right ---------- */
@media (max-width: 959px), (max-height: 599px) {
  .scene.l13-mk .im--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 20px; row-gap: 10px; }
  .l13-mk .im--split .im-t { grid-column: 1; grid-row: 1; }
  .l13-mk .im--split .im-side { grid-column: 1; grid-row: 2; }
  .l13-mk .im--split .im-vis { grid-column: 2; grid-row: 1 / 3; }
  .l13-pay__body { grid-template-columns: minmax(0, 1fr); }
  .l13-rail { display: none; }
  .l13-pay__win { height: 100%; }
  .l13-pay__main .l13-view { inset: 12px; }
  .l13-cr { padding-right: 78px; }
  .l13-cr .l13-av--lg { width: 34px; height: 34px; }
  .l13-cr__who b { font-size: 15px; }
  .l13-rows { display: none; }
  .l13-v1 { gap: 8px; }
  .l13-offer, .l13-msg { gap: 6px; padding: 12px; }
  .l13-offer__hd { display: none; }
  .l13-offer__big { font-size: 20px; padding-right: 70px; }
  .l13-ord__p { display: none; }
  .l13-ord b { min-width: 34px; height: 26px; font-size: 14px; }
  .l13-orders { gap: 5px; }
  .l13-orders__t { font-size: 22px; }
  .l13-tl { height: 30px; }
  .l13-msg__ban { min-height: 0; padding: 6px; }
  .l13-msg__ban .l13-av--xl { width: 34px; height: 34px; }
  .l13-msg__pack svg, .l13-msg__coin svg { width: 28px; }
  .l13-msg__hl { font-size: 17px; }
  .l13-msg__hd b { font-size: 16px; }
  .l13-flow__s { width: 36px; height: 36px; }
  .l13-flow__s svg { width: 22px; height: 22px; }
  .l13-cc__wrap { gap: 10px; }
  .l13-leg { font-size: 14px; gap: 4px 14px; }
  .l13-grp__n { font-size: 14px; }
  .l13-grp__d { font-size: 20px; }
  .is-b2 .l13-plot { opacity: 0; visibility: hidden; }
  .l13-rd { width: 100%; }
  .l13-col__v { font-size: 15px; }
  .l13-rd { gap: 8px; }
  .l13-rd__t { font-size: 15px; }
  .l13-rr { gap: 4px; }
  .l13-rr__l { font-size: 15px; }
  .l13-rr__bar { height: 22px; }
  .l13-am .kt-win__bar { display: none; }
  .l13-sec { padding: 10px; }
  .l13-sec--a { grid-template-columns: minmax(0, 1fr); }
  .l13-pv { display: none; }
  .l13-am[data-b="2"] .l13-pv { display: block; justify-self: stretch; width: 100%; }
  .l13-am[data-b="2"] .l13-ed__ghost { display: none; }
  .l13-am[data-b="2"] .l13-pv__img { aspect-ratio: auto; height: 64px; }
  .l13-am[data-b="2"] .l13-pv__act { display: none; }
  .l13-ed__r { min-height: 38px; }
  .l13-ed__r b, .l13-ed__h { font-size: 15px; }
  .l13-ed__ghost { display: none; }
  .l13-as .l13-th { height: 30px; }
  .l13-as { padding: 4px 6px; }
  .l13-as:nth-child(n + 3) { display: none; }
  .l13-sec--b { gap: 8px; }
  .l13-sec__t, .l13-bud__l { font-size: 15px; }
  .l13-sp { padding: 8px 10px; gap: 10px; }
  .l13-sp__in { font-size: 15px; padding: 3px 8px; }
  .l13-am__stack { gap: 8px; }
  .l13-q { font-size: 16px !important; padding-left: 12px; }
  .kt-phone.l13-cm__ph, .kt-phone.l13-pg__ph { left: 0; top: 0; transform: none; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; padding: 0; border-radius: 12px; background: none; box-shadow: none; }
  .l13-cm__ph .kt-phone__notch, .l13-pg__ph .kt-phone__notch { display: none; }
  .l13-cm__ph .kt-phone__screen, .l13-pg__ph .kt-phone__screen { border-radius: 12px; box-shadow: inset 0 0 0 1px #E6E2DA, 0 14px 30px -24px rgb(0 0 0 / .4); }
  .l13-vid { display: none; }
  .l13-sheet { margin-top: 0; border-radius: 12px; padding: 8px 10px; }
  .l13-c--emo { display: none; }
  .l13-c { padding: 5px 6px; }
  .l13-c__t { font-size: 14px; }
  .l13-pg__ph .kt-phone__screen { padding: 8px; }
  .l13-prof { padding: 0 2px 6px; }
  .l13-prof .l13-av--xl { width: 34px; height: 34px; }
  .l13-prof__h { font-size: 15px; }
  .l13-aud { font-size: 14px; }
  .l13-prof__st { display: none; }
  .l13-wall { height: 58%; padding: 8px 10px; gap: 3px; }
  .l13-wall__r { padding: 3px 6px; }
  .l13-wall__fake .l13-wall__r:nth-child(3) { display: none; }
  .l13-stamp { font-size: 20px; }
}
/* short desktop frames (1100 x 620 to 1240 x 698): a wider phone so the comment rows keep their lines */
@media (min-width: 960px) and (min-height: 600px) and (max-height: 780px) {
  .kt-phone.l13-cm__ph, .kt-phone.l13-pg__ph { aspect-ratio: 10 / 16.4; }
  .kt-phone.l13-cm__ph { aspect-ratio: 11 / 13.5; }
  .l13-cm .l13-vid { height: 15%; }
  .l13-cm .l13-c__t { font-size: 14px; }
  .l13-cm .l13-c--emo:nth-child(3), .l13-cm .l13-c--emo:nth-child(5) { display: none; }
  .l13-am .l13-ed__ghost + .l13-ed__ghost { display: none; }
  .l13-pv__img { aspect-ratio: 4 / 3.2; }
  .l13-pv__act { display: none; }
  .l13-as .l13-th { height: 34px; }
  .l13-sets { gap: 6px; }
  .l13-aud { font-size: 14px; }
  .l13-prof .l13-av--xl { width: 44px; height: 44px; }
}
@media (max-height: 440px) {
  .scene.l13-pg .im--split { grid-template-columns: minmax(0, 1.32fr) minmax(0, .85fr); }
  .scene.l13-cc .im--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .l13-pg .im-side, .l13-cc .im-side { gap: 6px; }
}
/* phone portrait: title, text, then the mock below */
@media (max-width: 759px) and (orientation: portrait) {
  .scene.l13-mk .im--split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); }
  .l13-mk .im--split .im-t { grid-column: 1; grid-row: 1; }
  .l13-mk .im--split .im-side { grid-column: 1; grid-row: 2; }
  .l13-mk .im--split .im-vis { grid-column: 1; grid-row: 3; }
  .is-b2 .l13-plot { opacity: 0; visibility: hidden; }
  .l13-rd { width: 100%; }
  .l13-cc__wrap { grid-template-rows: auto minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .l13-mk * { transition-duration: 0s !important; transition-delay: 0s !important; }
}

@media (min-width: 960px) and (min-height: 600px) {
}

/* ---------- audit round: l3-how counts, axis break, reply; l2-proof stacked area ---------- */
.l13-tile__n { font-size: 14px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgb(0 0 0 / .6); font-variant-numeric: tabular-nums; }
.l13-pg.is-b2 .l13-tile__n { display: none; }
.l13-brk { position: absolute; left: -2px; right: -2px; top: 26px; height: 12px; opacity: 0; background: #fff; clip-path: polygon(0 30%, 20% 0, 40% 30%, 60% 0, 80% 30%, 100% 0, 100% 70%, 80% 100%, 60% 70%, 40% 100%, 20% 70%, 0 100%); transition: opacity .4s; z-index: 2; }
.l13-pg.is-bars .l13-brk { opacity: 1; }
.l13-wall__txt { font-size: 15px; font-weight: 500; line-height: 1.3; color: #14532d; }
.l13-stamp { display: grid; place-items: center; padding: 4px 10px; color: #9E3B22; }
.l13-sa { position: relative; display: grid; grid-template-columns: 22% 1fr 22%; align-items: end; height: clamp(150px, 34vh, 340px); }
.l13-sa__area { position: absolute; inset: 0 0 30px 0; }
.l13-sa__svg { width: 100%; height: 100%; display: block; }
.l13-sa__band--g { fill: #ECE8E1; opacity: 0; transition: opacity .6s .8s; }
.l13-sa__band--o { fill: #FFD3B4; opacity: 0; transition: opacity .6s 1.4s; }
.is-b2 .l13-sa__band { opacity: 1; }
.l13-sa__c { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 8px; height: 100%; }
.l13-sa__c:last-child { grid-column: 3; }
.l13-sa__bar { position: relative; border-radius: 4px; overflow: hidden; background: radial-gradient(circle, rgb(0 0 0 / .14) 1.2px, transparent 1.6px) 0 0 / 6px 6px, #DDD8CF; }
.l13-sa__part { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--s) * 100%); min-height: 4px; background: radial-gradient(circle, rgb(255 255 255 / .38) 1.3px, transparent 1.7px) 0 0 / 6px 6px, #FF7F32; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.1s cubic-bezier(.3,.7,.2,1) calc(.7s + var(--i) * .5s); }
.is-b2 .l13-sa__part { transform: none; }
.l13-sa__l { font-size: clamp(15px, 1.3vw, 19px); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.l13-sa__c:last-child .l13-sa__l { justify-self: end; }
@media (max-width: 959px), (max-height: 599px) { .l13-sa { height: 130px; } .l13-sa__l { font-size: 14px; } .l13-wall__txt { font-size: 14px; } }
.l13-offer__big { text-wrap: balance; }
@media (max-width: 959px), (max-height: 599px) { .l13-sa { grid-template-columns: 30% 1fr 30%; } .l13-sa__l { white-space: normal; text-align: center; justify-self: stretch !important; line-height: 1.2; } }
@media (min-width: 960px) and (min-height: 600px) and (max-height: 780px) { .l13-wall { min-height: 0; } }
@media (min-width: 960px) and (min-height: 600px) and (max-height: 780px) { .l13-wall__fake .l13-wall__r:nth-child(n + 2) { display: none; } .l13-wall { gap: 3px; padding: 8px 10px; } .l13-stamp { position: static; transform: rotate(-10deg); justify-self: center; } }
