/* CRM phone story, second version (owner, 21 Nov 2026): the phone carousel on the Build CRM page. Markup in src/partials/crm-phone-story.html,
   phones drawn and moved by /assets/js/crm-phone-story.js. The stage is drawn at 640 x 640 and scaled to fit (--s).
   Phone at iPhone 15 Pro proportions: screen 393 x 852 pt drawn at 266 x 578 px (1 pt = 0.677 px); Dynamic Island 126 x 37 pt, 11 pt from
   the top; status bar 54 pt; home indicator 134 x 5 pt, 8 pt from the bottom; screen corners 55 pt; body 70.6 x 146.6 mm. */

.cps-section { position: relative; isolation: isolate; overflow: clip; padding-top: 40px; }
.cps { display: grid; grid-template-columns: minmax(0, 1fr) 640px; grid-template-rows: auto auto; grid-template-areas: "words fig" "words nav";
  column-gap: 48px; }
.cps-words { grid-area: words; align-self: center; padding-bottom: 40px; }
.cps-h { margin: 0; }
.cps-h { display: grid; }
/* round 4 (owner): the words change on the same frame as the phone's move, so the new heading starts almost at once */
.cps-ht { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .16s, transform .5s var(--kit-ease, cubic-bezier(.22, .9, .24, 1)); }
.cps-ht > span { display: block; }
.cps-ht.is-on { opacity: 1; transform: none; transition: opacity .45s .08s, transform .6s .08s var(--kit-ease, cubic-bezier(.22, .9, .24, 1)); }
.cps-ht.is-out { transform: translateY(-12px); }
.cps-lines { display: grid; margin: 22px 0 0; max-width: 28rem; }
.cps-line { grid-area: 1 / 1; margin: 0; font: 500 20px/28px var(--font-text); color: var(--ink, #1d1d1f); letter-spacing: -.01em;
  opacity: 0; transform: translateY(10px); transition: opacity .16s, transform .5s var(--kit-ease, cubic-bezier(.22, .9, .24, 1)); }
.cps-line.is-on { opacity: 1; transform: none; transition: opacity .45s .1s, transform .6s .1s var(--kit-ease, cubic-bezier(.22, .9, .24, 1)); }
.cps-line.is-out { transform: translateY(-10px); }
.cps-src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cps-src i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 2px 6px rgba(0, 0, 0, .06); transition: transform .5s var(--kit-ease, ease), box-shadow .5s; }
.cps-src img, .cps-src svg { width: 20px; height: 20px; object-fit: contain; display: block; }
.cps-src svg { width: 22px; height: 15px; }
.cps-src i.is-ping { transform: scale(1.14); box-shadow: 0 0 0 2px var(--kit-accent, #4f9d2d), 0 6px 14px rgba(0, 0, 0, .12); transition-duration: .18s; }
.cps-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cps-fig { grid-area: fig; position: relative; width: 100%; max-width: 640px; height: calc(640px * var(--s, 1)); overflow-x: clip; justify-self: center; }
.cps-glow { position: absolute; inset: 8% 4% 4%; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 50% 52%, color-mix(in srgb, var(--kit-accent, #4f9d2d) 14%, transparent), transparent 72%); }
.cps-stage { position: absolute; left: 50%; top: 0; width: 640px; height: 640px; margin-left: -320px; transform-origin: 50% 0;
  transform: scale(var(--s, 1)); perspective: 1500px; perspective-origin: 50% 46%; transform-style: preserve-3d; z-index: 1; }
.cps-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- the controls under the phones: dots (the current one is a pill that fills as the step plays) and pause */
.cps-nav { grid-area: nav; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.cps-dots { display: flex; align-items: center; height: 40px; padding: 0 8px; border-radius: 20px; background: color-mix(in srgb, var(--ink, #1d1d1f) 6%, transparent); }
.cps-dot { all: unset; box-sizing: border-box; display: grid; place-items: center; height: 40px; padding: 0 6px; cursor: pointer; }
.cps-dot > i { position: relative; display: block; width: 8px; height: 8px; border-radius: 4px; overflow: hidden;
  background: color-mix(in srgb, var(--ink, #1d1d1f) 28%, transparent); transition: width .5s var(--kit-ease, cubic-bezier(.22, .9, .24, 1)), background .3s; }
.cps-dot:hover > i { background: color-mix(in srgb, var(--ink, #1d1d1f) 45%, transparent); }
.cps-dot.is-on > i { width: 36px; background: color-mix(in srgb, var(--ink, #1d1d1f) 18%, transparent); }
.cps-dot > i > i { position: absolute; inset: 0; border-radius: inherit; background: var(--ink, #1d1d1f); transform-origin: 0 50%; transform: scaleX(0); }
.cps-dot.is-on > i > i { transform: scaleX(var(--b, 0)); }
.cps-dot:focus-visible { outline: 2px solid var(--kit-accent, #4f9d2d); outline-offset: -4px; border-radius: 12px; }
.cps-ctl { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--ink, #1d1d1f) 6%, transparent); color: var(--ink, #1d1d1f); }
.cps-ctl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cps-ctl .cps-ctl-play { display: none; fill: currentColor; stroke-width: 1.2; }
.cps-ctl[aria-pressed="true"] .cps-ctl-pause { display: none; }
.cps-ctl[aria-pressed="true"] .cps-ctl-play { display: block; }
.cps-ctl:focus-visible { outline: 2px solid var(--kit-accent, #4f9d2d); outline-offset: 3px; }
.cps.is-still .cps-ctl { display: none; }

/* ---- the phone: body 288 x 600 (titanium 2.5 px + black border 8.5 px), screen 266 x 578 with 37 px corners */
.cps-ph { position: absolute; left: 176px; top: 20px; width: 288px; height: 600px; backface-visibility: hidden; }
.cps-body { position: absolute; inset: 0; border-radius: 48px; padding: 2.5px;
  background: linear-gradient(155deg, #d9d6d0 0%, #9e9b95 14%, #e8e6e1 34%, #8f8c86 56%, #cfccc6 80%, #7d7a74 100%);
  box-shadow: 0 0 0 .6px rgba(0, 0, 0, .42), 0 44px 70px -34px rgba(16, 28, 12, .5), 0 18px 32px -20px rgba(0, 0, 0, .32); }
.cps-bez { height: 100%; border-radius: 45.5px; padding: 8.5px; background: #050506; box-shadow: inset 0 0 0 .8px rgba(255, 255, 255, .08); }
.cps-scr { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #000; isolation: isolate;
  font-family: var(--font-text); -webkit-font-smoothing: antialiased; }
.cps-k { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #7f7c76, #cdcac4 60%, #8a877f); }
.cps-k.is-a { left: -2px; top: 116px; height: 22px; }
.cps-k.is-u { left: -2px; top: 156px; height: 40px; }
.cps-k.is-d { left: -2px; top: 206px; height: 40px; }
.cps-k.is-p { right: -2px; top: 176px; height: 64px; }
.cps-island { position: absolute; left: 50%; top: 7.5px; width: 85px; height: 25px; margin-left: -42.5px; border-radius: 12.5px; background: #000; z-index: 30; }
.cps-island::after { content: ""; position: absolute; right: 17px; top: 8.5px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #262b3a 0 25%, #0b0d14 60%); }
.cps-sb { position: absolute; left: 0; right: 0; top: 0; height: 37px; z-index: 20; color: #000; pointer-events: none; }
.cps-sb > b { position: absolute; left: 0; width: 90px; top: 13px; text-align: center; font: 600 11.5px/14px var(--font-text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cps-sb > span { position: absolute; left: 186px; width: 70px; top: 15.5px; display: flex; justify-content: center; align-items: center; gap: 3.5px; }
.cps-sb svg { display: block; fill: currentColor; }
.cps-hi { position: absolute; left: 50%; bottom: 5.5px; width: 90px; height: 3.5px; margin-left: -45px; border-radius: 2px; background: #000; z-index: 21; }
.cps-ph.is-light .cps-sb { color: #fff; }
.cps-ph.is-light .cps-hi { background: #fff; }
.cps-ly { position: absolute; inset: 0; overflow: hidden; }
.cps-off { background: #000; z-index: 25; opacity: 0; }
.cps-touch { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; z-index: 28; pointer-events: none; opacity: 0;
  background: rgba(90, 90, 98, .3); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85), 0 5px 14px rgba(0, 0, 0, .22); }

/* ---- home screen: wallpaper, then the icons layer (it steps back when an app opens and comes forward when one closes) */
.cps-wall { z-index: 0; background:
  radial-gradient(120% 70% at 85% 8%, #4bb07a 0%, transparent 55%),
  radial-gradient(110% 70% at 0% 70%, #1f6e8c 0%, transparent 60%),
  radial-gradient(90% 60% at 90% 100%, #f2a65a 0%, transparent 60%),
  linear-gradient(170deg, #12352b 0%, #17465a 55%, #2a3150 100%); }
.cps-hic { z-index: 1; transform-origin: 50% 50%; }
.cps-ic { position: absolute; width: 42px; display: block; }
.cps-ic svg { display: block; width: 42px; height: 42px; filter: drop-shadow(0 .5px 1px rgba(0, 0, 0, .18)); }
.cps-ic > b { position: absolute; left: -10px; right: -10px; top: 45px; text-align: center; font: 500 8px/10px var(--font-text); color: #fff;
  letter-spacing: .01em; white-space: nowrap; text-shadow: 0 .5px 2px rgba(0, 0, 0, .35); }
.cps-wid { position: absolute; width: 103px; height: 108px; border-radius: 20px; padding: 10px 11px; box-sizing: border-box; color: #fff;
  background: linear-gradient(180deg, #2a72d8 0%, #5ea6ef 100%); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.cps-wid > span { display: flex; align-items: center; gap: 3px; font: 600 9px/11px var(--font-text); }
.cps-wid > span svg { width: 6px; height: 6px; fill: #fff; }
.cps-wid > strong { display: block; font: 300 30px/34px var(--font-text); letter-spacing: -.02em; }
.cps-wid > i { display: block; width: 13px; height: 13px; margin-top: 8px; }
.cps-wid > i svg { width: 13px; height: 13px; display: block; }
.cps-wid > small { display: block; font: 600 8px/10px var(--font-text); }
.cps-wid > small + small { font-weight: 500; opacity: .95; }
.cps-wid > b { position: absolute; left: 0; right: 0; top: 111.5px; text-align: center; font: 500 8px/10px var(--font-text); text-shadow: 0 .5px 2px rgba(0, 0, 0, .35); }
.cps-search { position: absolute; left: 50%; top: 480px; width: 58px; height: 19px; margin-left: -29px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 3px;
  background: rgba(255, 255, 255, .22); color: #fff; font: 500 8px/1 var(--font-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cps-search svg { width: 7px; height: 7px; fill: none; stroke: #fff; stroke-width: 1.6; }
.cps-dock { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 64px; border-radius: 29px; background: rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); }
.cps-ic text { font-family: var(--font-text); }

/* ---- apps (common) */
.cps-app { z-index: 2; background: #fff; color: #000; opacity: 0; transform-origin: 50% 50%; }
/* the cover an app turns into as it closes (and starts from as it opens): the icon's own colour across the WHOLE card, with the icon art
   where the icon lands (156 px down = (578 - 266) / 2). Covering the whole card means no white card or header shows past the icon's edge
   while the card shrinks (round 4, owner: "that white border on top of the app when it is closing should not appear"). The colours repeat
   each icon's tile gradient, pinned to the same 266 px square, so the cover and the icon art meet without a seam. */
.cps-app-ic { position: absolute; inset: 0; opacity: 0; z-index: 9; pointer-events: none; background: #fff; }
.cps-app-ic svg { position: absolute; left: 0; top: 156px; display: block; width: 266px; height: 266px; }
.cps-crm > .cps-app-ic { background: linear-gradient(180deg, #6cc045 156px, #2f7a19 422px); }
.cv-wa > .cps-app-ic { background: linear-gradient(180deg, #62f27f 156px, #1fb83e 422px); }
.cv-ig > .cps-app-ic { background: radial-gradient(circle 399px at 80px 441px, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.cps-av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--font-text); color: #fff;
  background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); }
.cps-av.is-sil { background: #dfe5e7; }
.cps-av.is-sil svg { width: 74%; height: 74%; fill: #fff; margin-top: 18%; }
.cps-av > img { position: absolute; right: -4px; bottom: -4px; width: 17px; height: 17px; padding: 2.5px; border-radius: 50%; background: #fff; object-fit: contain;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .12); }

/* ---- the three chat apps, each open on one conversation in its own colours (round 3, owner 21 Nov: "the colours of the applications are different") */
.cv { background: #fff; }
.cv-bg { position: absolute; inset: 0; }
.cv-wa .cv-bg { background-color: #efeae2; background-size: 92px 92px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92' fill='none' stroke='%23000' stroke-opacity='.07' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='15' cy='16' r='6'/%3E%3Cpath d='M54 8l3.6 7.4 8 1.1-5.8 5.6 1.4 8-7.2-3.8-7.2 3.8 1.4-8-5.8-5.6 8-1.1z'/%3E%3Crect x='9' y='52' width='13' height='20' rx='3'/%3E%3Cpath d='M46 62c6-6 14-6 20 0M52 68c3-3 7-3 10 0'/%3E%3Ccircle cx='80' cy='80' r='4'/%3E%3Cpath d='M30 34l8 4-8 4z'/%3E%3Cpath d='M74 40c2-4 8-4 8 1 0 4-8 9-8 9s-8-5-8-9c0-5 6-5 8-1z'/%3E%3C/svg%3E"); }
.cv-hd { position: absolute; left: 0; right: 0; top: 0; height: 76px; padding: 38px 11px 0 5px; box-sizing: border-box; display: flex; align-items: center; gap: 6px;
  background: #fff; z-index: 2; }
.cv-hd > svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.cv-hd .cps-av { width: 27px; height: 27px; font-size: 11px; }
.cv-avw { position: relative; display: block; }
.cv-who { flex: 1; min-width: 0; display: grid; color: #000; }
.cv-who b { font: 600 11.5px/14px var(--font-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-who small { font: 400 8.5px/11px var(--font-text); color: #8a8a8e; }
.cv-act { display: flex; gap: 13px; }
.cv-act svg, .cv-bar svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* round 4 (owner): the chat starts at the top, just under the header; new replies appear beneath */
.cv-list { position: absolute; left: 0; right: 0; top: 86px; display: flex; flex-direction: column; gap: 3px; padding: 0 9px; z-index: 1; }
.cv-b { position: relative; max-width: 78%; box-sizing: border-box; font: 400 11px/15px var(--font-text); color: #111; }
.cv-b.is-old .cv-tk { stroke: #53bdeb; }
.cv-day + .cv-b, .cv-b + .cv-day { margin-top: 6px; }
.cv-b.is-in { align-self: flex-start; transform-origin: 0 100%; }
.cv-b.is-out { align-self: flex-end; transform-origin: 100% 100%; }
.cv-day { align-self: center; margin: 0 0 6px; font: 500 8.5px/1 var(--font-text); }
.cv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; padding: 8px 11px 0; box-sizing: border-box; display: flex; align-items: flex-start; gap: 10px; z-index: 2; background: #fff; }
.cv-bar > svg { margin-top: 4px; }
.cv-in { flex: 1; min-width: 0; height: 26px; border-radius: 13px; display: flex; align-items: center; gap: 7px; padding: 0 8px; box-sizing: border-box; font: 400 10.5px/1 var(--font-text); }
.cv-in > span { flex: 1; }
.cv-in svg { width: 15px; height: 15px; }
.cv-b > .cps-av { position: absolute; left: -24px; bottom: 0; width: 19px; height: 19px; font-size: 8px; }
.cv-seen { align-self: flex-end; margin-top: 2px; font: 400 8px/10px var(--font-text); color: #8e8e8e; transform-origin: 100% 0; }

/* WhatsApp: beige patterned wallpaper, white incoming and green outgoing bubbles with tails, time and blue ticks, grey bars with blue icons */
.cv-wa .cv-hd { background: #f6f6f6; box-shadow: inset 0 -.5px 0 #d1d1d6; color: #007aff; }
.cv-wa .cv-day { padding: 4px 8px; border-radius: 7px; background: #fff; color: #54656f; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.cv-wa .cv-b { border-radius: 8px; padding: 5px 38px 5px 8px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.cv-wa .cv-b.is-in { background: #fff; }
.cv-wa .cv-b.is-out { background: #d9fdd3; padding-right: 50px; }
.cv-wa .cv-day + .cv-b.is-in { border-top-left-radius: 0; }
.cv-wa .cv-b.is-in + .cv-b.is-out { border-top-right-radius: 0; margin-top: 4px; }
.cv-wa .cv-day + .cv-b.is-in::before, .cv-wa .cv-b.is-in + .cv-b.is-out::before { content: ""; position: absolute; top: 0; width: 7px; height: 9px; background: inherit; }
.cv-wa .cv-day + .cv-b.is-in::before { left: -6px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.cv-wa .cv-b.is-in + .cv-b.is-out::before { right: -6px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.cv-wa .cv-b em { position: absolute; right: 7px; bottom: 3px; display: flex; gap: 2px; align-items: center; font: 400 7.5px/1 var(--font-text); font-style: normal; color: #667781; }
.cv-tk { width: 12px; height: 8px; fill: none; stroke: #8696a0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.cv-b.is-read .cv-tk { stroke: #53bdeb; }
.cv-wa .cv-bar { background: #f6f6f6; box-shadow: inset 0 .5px 0 #d1d1d6; color: #007aff; }
.cv-wa .cv-in { background: #fff; box-shadow: inset 0 0 0 .6px #d1d1d6; justify-content: flex-end; color: #007aff; }

/* Instagram: white, grey incoming bubbles with the sender's photo, purple-to-blue outgoing bubbles, "Seen", the round message box with the blue camera */
.cv-ig .cv-hd, .cv-ms .cv-hd { box-shadow: inset 0 -.5px 0 #e9e9eb; color: #000; }
.cv-ig .cv-day, .cv-ms .cv-day { color: #8e8e8e; margin: 4px 0 8px; }
.cv-ig .cv-b, .cv-ms .cv-b { border-radius: 16px; padding: 6px 10px; }
.cv-ig .cv-b.is-in, .cv-ms .cv-b.is-in { margin-left: 24px; }
.cv-ig .cv-b.is-in { background: #efefef; color: #000; }
.cv-ig .cv-b.is-out { color: #fff; background: linear-gradient(180deg, #a83bff, #7b4cff); }
.cv-ig .cv-b.is-out + .cv-b.is-out { background: linear-gradient(180deg, #6c55ff, #3a7cf6); }
.cv-ig .cv-bar { color: #000; }
.cv-ig .cv-in { height: 30px; border-radius: 15px; padding: 0 10px 0 3px; box-shadow: inset 0 0 0 .8px #dbdbdb; color: #000; }
.cv-ig .cv-in > span { color: #8e8e8e; }
.cv-camb { width: 24px; height: 24px; border-radius: 50%; background: #3797f0; display: grid; place-items: center; }
.cv-camb svg { width: 14px; height: 14px; stroke: #fff; }

/* Messenger: white, blue back and call icons, grey incoming and blue outgoing bubbles, the reader's tiny photo as "seen", blue tools and the "Aa" box */
.cv-ms .cv-hd > svg, .cv-ms .cv-act { color: #0a7cff; }
.cv-avw::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: #31d158; box-shadow: 0 0 0 1.5px #fff; }
.cv-ms .cv-b.is-in { background: #f0f0f0; color: #050505; }
.cv-ms .cv-b.is-out { background: #0a7cff; color: #fff; }
.cv-ms .cv-seen .cps-av { width: 12px; height: 12px; font-size: 0; }
.cv-ms .cv-bar { color: #0a7cff; gap: 11px; }
.cv-ms .cv-in { background: #f0f2f5; color: #65676b; }
.cv-ms .cv-in svg { stroke: #0a7cff; }

/* Phoenix CRM app */
.cps-crm-hd { position: absolute; left: 18px; right: 18px; top: 44px; }
.cps-crm-k { display: flex; align-items: center; gap: 6px; font: 500 10.5px/14px var(--font-text); color: #6e6e73; }
.cps-crm-k svg { width: 13px; height: 13px; fill: var(--c-mkt-text, #2c7a14); }
.cps-crm-hd b { display: block; margin-top: 3px; font: 700 23px/28px var(--font-text); letter-spacing: -.02em; }
.cps-crm-sub { position: relative; display: block; height: 16px; margin-top: 2px; font: 400 11.5px/16px var(--font-text); color: #6e6e73; }
.cps-crm-sub span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.cps-crm-sub span + span { color: var(--c-mkt-text, #2c7a14); font-weight: 500; }
.cps-list { position: absolute; left: 9px; right: 9px; top: 118px; height: 340px; }
.cps-gbg { position: absolute; left: 0; right: 0; top: 0; border-radius: 16px; background: #f4f5f3; opacity: 0; }
.cps-gbg.is-b { background: color-mix(in srgb, var(--kit-accent, #4f9d2d) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kit-accent, #4f9d2d) 26%, transparent); }
.cps-gl { position: absolute; left: 10px; top: 0; display: flex; align-items: center; gap: 5px; font: 600 10.5px/16px var(--font-text); color: #6e6e73; opacity: 0; white-space: nowrap; }
.cps-gl svg { width: 12px; height: 12px; fill: var(--c-mkt-text, #2c7a14); }
.cps-gl.is-b { color: var(--c-mkt-text, #2c7a14); }
.cps-row { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px; opacity: 0; }
.cps-rt { flex: 1; min-width: 0; }
.cps-rt b { display: block; font: 600 12.5px/17px var(--font-text); }
.cps-rt > span { position: relative; display: block; height: 15px; }
.cps-rt > span > span { position: absolute; inset: 0; font: 400 11px/15px var(--font-text); color: #6e6e73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s, transform .4s var(--kit-ease, ease); }
.cps-rt > span > span + span { color: var(--c-mkt-text, #2c7a14); font-weight: 500; opacity: 0; transform: translateY(6px); }
.cps-row.is-rep .cps-rt > span > span:first-child { opacity: 0; transform: translateY(-6px); }
.cps-row.is-rep .cps-rt > span > span + span { opacity: 1; transform: none; }
.cps-row em { align-self: flex-start; margin-top: 7px; font: 400 10px/1 var(--font-text); font-style: normal; color: #8e8e93; }
.cps-ai { position: absolute; left: 16px; right: 16px; bottom: 30px; height: 46px; border-radius: 23px; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(180deg, #5cb337, #3a8a1f); color: #fff; font: 600 13.5px/1 var(--font-text); letter-spacing: -.005em; opacity: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 24px -10px rgba(47, 122, 25, .7); }
.cps-ai svg { width: 17px; height: 17px; fill: #fff; flex: none; }
.cps-ai > span { position: relative; height: 18px; display: grid; align-items: center; }
.cps-ai > span > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .3s, transform .4s var(--kit-ease, ease); }
.cps-ai > span > span + span { opacity: 0; transform: translateY(8px); display: flex; gap: 7px; align-items: center; }
.cps-ai.is-busy > span > span:first-child { opacity: 0; transform: translateY(-8px); }
.cps-ai.is-busy > span > span + span { opacity: 1; transform: none; }
.cps-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: cps-spin .8s linear infinite; }
@keyframes cps-spin { to { transform: rotate(1turn); } }

/* ---- lock screen (dark wallpaper; notifications land from the bottom, as on iOS 17 and 18) */
.cps-lock { z-index: 4; opacity: 0; color: #fff; background:
  radial-gradient(110% 60% at 85% 8%, #1f4a35 0%, transparent 60%), radial-gradient(90% 60% at 0% 75%, #0e3442 0%, transparent 62%), linear-gradient(170deg, #07140f, #0a1a22 60%, #10131f); }
.cps-lt { position: absolute; left: 0; right: 0; top: 46px; text-align: center; }
.cps-lt span { display: flex; justify-content: center; align-items: center; gap: 4px; font: 600 11.5px/15px var(--font-text); opacity: .85; }
.cps-lt span svg { width: 9px; height: 9px; fill: none; stroke: #fff; stroke-width: 1.6; }
.cps-lt b { display: block; margin-top: 0; font: 600 66px/1 var(--font-text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cps-note { position: absolute; left: 8px; right: 8px; top: 0; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 16px; opacity: 0; box-sizing: border-box;
  background: rgba(78, 84, 88, .52); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
.cps-note > svg { flex: none; width: 26px; height: 26px; }
.cps-note > span { min-width: 0; flex: 1; }
.cps-note b { display: flex; justify-content: space-between; gap: 6px; font: 600 10.5px/13px var(--font-text); }
.cps-note b small { font: 400 9px/13px var(--font-text); opacity: .65; }
.cps-note p { margin: 1px 0 0; font: 400 10px/13px var(--font-text); opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cps-lb { position: absolute; bottom: 30px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 44, 48, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cps-lb svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cps-lb.is-l { left: 30px; }
.cps-lb.is-r { right: 30px; }

/* ---- sizes */
@media (max-width: 1160px) { .cps { grid-template-columns: minmax(0, 1fr) 560px; column-gap: 32px; } }
@media (max-width: 1023px) {
  .cps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "words" "fig" "nav"; }
  .cps-words { padding-bottom: 0; }
  .cps-fig { margin: 24px auto 0; }
}
@media (max-width: 767px) { .cps-line { font-size: 18px; line-height: 25px; } .cps-lines { margin-top: 14px; } .cps-src { gap: 6px; } .cps-src i { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .cps-ht, .cps-line, .cps-src i, .cps-dot > i, .cv-tk, .cps-rt > span > span { transition: none; } .cps-spin { animation: none; } }

/* Facebook (owner, 22 Nov 2026: "Show the Facebook app instead" of Messenger): the shop's ad in the Facebook app with comments under it;
   Phoenix AI replies to each comment as the shop. White, grey comment bubbles with the name in bold, the replies indented under them. */
.cv-fb .cv-hd { box-shadow: inset 0 -.5px 0 #e4e6eb; color: #050505; }
.cv-fb .cv-hd .cps-av { width: 28px; height: 28px; font-size: 11px; }
.cv-fb .cv-act { color: #65676b; }
.cv-post { margin: 0 -9px 8px; padding: 0 0 6px; box-shadow: inset 0 -.5px 0 #e4e6eb; font: 400 10.5px/14px var(--font-text); color: #050505; }
.cv-post p { margin: 0 9px 6px; }
.cv-post-img { display: block; height: 96px; background: radial-gradient(60% 80% at 30% 40%, #8fb8ff 0%, transparent 70%), radial-gradient(50% 70% at 75% 65%, #3d6fe0 0%, transparent 70%), linear-gradient(135deg, #dfe9ff, #b9cdf7); }
.cv-post > span { display: block; margin: 5px 9px 0; font-size: 8.5px; color: #65676b; }
.cv-fb .cv-b { max-width: 82%; border-radius: 14px; padding: 5px 9px 6px; background: #f0f2f5; color: #050505; font-size: 10.5px; line-height: 14px; }
.cv-fb .cv-b b { display: block; font: 600 9px/12px var(--font-text); }
.cv-fb .cv-b.is-in { align-self: flex-start; margin-left: 24px; margin-top: 4px; }
.cv-fb .cv-b.is-out { align-self: flex-start; margin-left: 52px; margin-top: 4px; transform-origin: 0 100%; }
.cv-fb .cv-b > .cps-av { top: 0; bottom: auto; width: 19px; height: 19px; font-size: 8px; }
.cv-fb .cv-seen { align-self: flex-start; margin: 3px 0 0 60px; font-weight: 600; color: #65676b; }
.cv-fb .cv-bar { color: #65676b; box-shadow: inset 0 .5px 0 #e4e6eb; }
.cv-fb .cv-in { background: #f0f2f5; color: #65676b; }
.cv-fb .cv-in svg { stroke: #65676b; }
