.rs-vis { --v-ink: var(--wp--preset--color--ink); --v-cobalt: var(--wp--preset--color--cobalt); --v-volt: var(--wp--preset--color--volt); --v-line: var(--wp--preset--color--line); --v-paper: var(--wp--preset--color--paper); --v-muted: var(--wp--preset--color--muted); --v-ease: cubic-bezier(.2, .8, .2, 1); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--v-ink); line-height: 1.45; font-size: 14px; }
.rs-vis p { margin: 0; }
.rs-vis.is-framed { min-height: 480px; padding: clamp(32px, 5vw, 72px); border-radius: 18px; }
.rs-vis.is-framed::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 20px 20px; }
.rs-vis--google-ads.is-framed { background: var(--v-cobalt); }
.rs-vis--meta-ads.is-framed, .rs-vis--funnel.is-framed { background: var(--wp--preset--color--ink-2); }
.rs-vis--seo.is-framed { background: var(--wp--preset--color--haze); }
.rs-vis--seo.is-framed::before { background-image: radial-gradient(rgba(43, 69, 245, .18) 1px, transparent 1.4px); }
.rs-vis--cart, .rs-vis--pipeline { min-height: 0 !important; height: 190px; padding: 0 !important; border-radius: 14px; background: var(--v-paper) !important; }
.rs-vis--cart::before, .rs-vis--pipeline::before { content: none !important; }
.rs-vis .rs-ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-vis .rs-ic-sm { width: 1em; height: 1em; }
.rs-url { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 14px; border: 1px solid var(--v-line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--v-ink); }
.rs-url .rs-ic { color: var(--wp--custom--color--muted-2); }
.rs-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; background: currentColor; vertical-align: -.18em; animation: rs-blink 1s steps(1) infinite; }
@keyframes rs-blink { 50% { opacity: 0; } }
@keyframes rs-bob { 50% { transform: translateY(-8px); } }
@keyframes rs-grow-x { from { transform: scaleX(0); } }

/* google ads */
.rs-browser { position: relative; z-index: 1; width: min(100%, 560px); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--wp--preset--shadow--deep); }
.rs-browser__bar { padding: 12px; border-bottom: 1px solid var(--v-line); background: var(--v-paper); }
.rs-browser__body { display: grid; gap: 14px; padding: 16px 18px 18px; }
.rs-g-ad { transition: opacity .35s, transform .35s var(--v-ease); }
.rs-g-ad.is-swap { opacity: 0; transform: translateY(6px); }
.rs-g-spons { font: 700 12px/1.2 var(--wp--preset--font-family--body); }
.rs-g-site { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; font-size: 13px; }
.rs-g-path { color: var(--v-muted); }
.rs-g-fav { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--v-ink); color: var(--v-volt); font: 700 11px/1 var(--wp--preset--font-family--display); }
.rs-g-title { margin-top: 6px !important; font: 500 19px/1.3 var(--wp--preset--font-family--body); color: var(--wp--custom--color--cobalt-2); }
.rs-g-desc { margin-top: 2px !important; font-size: 14px; color: var(--v-muted); }
.rs-g-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px !important; font-size: 13.5px; color: var(--wp--custom--color--cobalt-2); }
.rs-g-links[hidden] { display: none; }
.rs-g-shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; transition: opacity .35s; }
.rs-g-shop.is-off { opacity: 0; }
.rs-g-prod { display: grid; gap: 1px; min-width: 0; padding: 8px; border: 1px solid var(--v-line); border-radius: 10px; font-size: 12px; }
.rs-g-prod b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-g-prod em { font-style: normal; font-size: 11px; color: var(--v-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-g-prod.is-you { border-color: var(--v-cobalt); box-shadow: 0 0 0 3px var(--wp--preset--color--haze); animation: rs-you-pulse 3s ease-in-out infinite; }
@keyframes rs-you-pulse { 50% { box-shadow: 0 0 0 5px var(--wp--preset--color--haze); } }
.rs-gp-img { position: relative; aspect-ratio: 1; margin-bottom: 5px; overflow: hidden; border-radius: 7px; background: var(--v-paper); }
.rs-shoe { position: absolute; left: 14%; right: 12%; bottom: 26%; height: 30%; border-radius: 50% 60% 12px 30% / 70% 80% 12px 30%; }
.rs-shoe::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -16%; height: 22%; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 var(--wp--custom--color--line-2); }
.rs-shoe.s1 { background: var(--v-cobalt); } .rs-shoe.s2 { background: var(--wp--preset--color--coral); } .rs-shoe.s3 { background: var(--wp--custom--color--ink-3); } .rs-shoe.s4 { background: var(--wp--custom--color--amber); }
.rs-float-kpi { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: var(--wp--preset--shadow--deep); animation: rs-bob 5s ease-in-out infinite; }
.rs-float-kpi span { font: 500 11px/1.2 var(--wp--preset--font-family--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--v-muted); }
.rs-float-kpi b { font: 740 26px/1 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.rs-float-kpi em { font: 600 12px/1.2 var(--wp--preset--font-family--mono); font-style: normal; color: var(--wp--preset--color--success); }
.rs-float-kpi.fk-a { right: 20px; top: 26px; }
.rs-float-kpi.fk-b { left: 20px; bottom: 26px; animation-delay: -2.5s; }

/* meta ads */
.rs-vis--meta-ads { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.rs-vis--meta-ads::after { content: ""; position: absolute; width: 420px; height: 420px; left: 50%; top: 50%; margin: -210px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 240, 74, .22), transparent 65%); pointer-events: none; }
.rs-phone { position: relative; z-index: 1; flex: none; width: 236px; padding: 9px; border-radius: 36px; background: #05081C; box-shadow: var(--wp--preset--shadow--deep), inset 0 0 0 2px var(--wp--custom--color--ink-3); }
.rs-phone__notch { position: absolute; z-index: 2; left: 50%; top: 16px; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #05081C; }
.rs-phone__screen { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; }
.rs-ph-head { display: flex; align-items: center; gap: 8px; padding: 34px 12px 10px; font-size: 12px; line-height: 1.2; }
.rs-ph-name { flex: 1; }
.rs-ph-name b { display: block; }
.rs-ph-name small { font-size: 11px; color: var(--v-muted); }
.rs-ph-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--v-volt); font: 700 12px/1 var(--wp--preset--font-family--display); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--v-cobalt); }
.rs-ph-dots { color: var(--v-muted); letter-spacing: 1px; }
.rs-ph-creatives { position: relative; aspect-ratio: 1; }
.rs-cr { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .8s var(--v-ease); }
.rs-cr.is-on { opacity: 1; transform: none; }
.rs-cr-a { background: radial-gradient(circle at 50% 62%, #FFE3D1 0 30%, #FFB598 70%); }
.rs-cr-b { background: linear-gradient(160deg, var(--wp--custom--color--ink-3), var(--v-ink)); }
.rs-cr-c { background: var(--v-volt); color: var(--v-ink); text-align: center; font: 800 25px/1.02 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.rs-crt-prod { position: relative; width: 44%; aspect-ratio: 1 / 1.1; border-radius: 30% 30% 10px 10px; background: #fff; box-shadow: 0 10px 20px -8px rgba(10, 15, 44, .4); }
.rs-crt-prod::before { content: ""; position: absolute; left: 50%; top: 0; width: 34%; height: 22%; transform: translateX(-50%); border-radius: 0 0 50% 50%; background: #FFB598; }
.rs-crt-face { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #F2C3A0; box-shadow: 0 30px 0 10px var(--wp--custom--color--cobalt-3); }
.rs-crt-play { position: absolute; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--v-ink); }
.rs-crt-play .rs-ic { width: 16px; height: 16px; margin-left: 2px; }
.rs-cr-tag { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 4px; background: var(--v-ink); color: #fff; font: 600 10.5px/1.2 var(--wp--preset--font-family--mono); letter-spacing: .06em; text-transform: uppercase; }
.rs-cr-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 8px; border-radius: 6px; background: rgba(10, 15, 44, .7); color: #fff; font-size: 11.5px; text-align: center; }
.rs-ph-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--v-paper); font-size: 11.5px; line-height: 1.25; }
.rs-ph-cta small { display: block; font-size: 10.5px; color: var(--v-muted); }
.rs-ph-btn { flex: none; padding: 7px 10px; border-radius: 6px; background: var(--v-ink); color: #fff; font-weight: 600; }
.rs-ph-react { display: flex; gap: 14px; padding: 10px 12px 14px; }
.rs-ph-heart { color: var(--wp--custom--color--down); }
.rs-ph-heart .rs-ic { animation: rs-heart 2.4s ease-in-out infinite; }
@keyframes rs-heart { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.35); } 80% { transform: scale(.95); } }
.rs-ab-card { position: relative; z-index: 1; width: 264px; display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--wp--preset--shadow--deep); }
.rs-ab-title { font: 600 11.5px/1.2 var(--wp--preset--font-family--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--v-muted); }
.rs-ab-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; margin: -6px -8px; padding: 6px 8px; border-radius: 8px; font-size: 13px; transition: background-color .3s; }
.rs-ab-row.is-hot { background: var(--wp--preset--color--haze); }
.rs-ab-row em { margin-left: 4px; padding: 2px 6px; border-radius: 4px; background: var(--v-volt); font: 600 10px/1 var(--wp--preset--font-family--mono); font-style: normal; vertical-align: 1px; }
.rs-ab-row b { font: 600 13px/1 var(--wp--preset--font-family--mono); }
.rs-ab-bar { grid-column: 1 / -1; display: block; height: 8px; overflow: hidden; border-radius: 99px; background: var(--v-paper); }
.rs-ab-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--wp--custom--color--cobalt-3); transform-origin: left; animation: rs-grow-x 1.4s var(--v-ease) both .2s; }
.rs-ab-row.is-win .rs-ab-bar i { background: var(--v-cobalt); }
.rs-ab-foot { font: 500 11.5px/1.3 var(--wp--preset--font-family--mono); color: var(--v-muted); }

/* seo */
.rs-serp { position: relative; z-index: 1; width: min(100%, 540px); display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--wp--preset--shadow--deep); }
.rs-aio { padding: 12px 14px; border: 1px solid var(--v-line); border-radius: 10px; background: linear-gradient(135deg, var(--wp--preset--color--haze), #fff); }
.rs-aio__h { display: flex; align-items: center; gap: 6px; margin-bottom: 6px !important; font: 600 13px/1.2 var(--wp--preset--font-family--body); }
.rs-aio__h .rs-ic { color: var(--v-cobalt); }
.rs-aio__t { font-size: 13.5px; line-height: 1.5; }
.rs-aio__t mark { padding: 0 3px; border-radius: 3px; background: var(--v-volt); color: var(--v-ink); }
.rs-aio__src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rs-src { padding: 3px 8px; border: 1px solid var(--v-line); border-radius: 999px; font: 500 11px/1.3 var(--wp--preset--font-family--mono); color: var(--v-muted); white-space: nowrap; }
.rs-src.is-you { border-color: var(--v-cobalt); background: var(--wp--preset--color--haze); color: var(--v-cobalt); }
.rs-serp-list { position: relative; height: 212px; margin: 0; padding: 0; list-style: none; }
.rs-serp-list li { position: absolute; left: 0; right: 0; top: calc(var(--i) * 53px); height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 10px; border-radius: 9px; transition: top .7s var(--v-ease), background-color .3s; }
.rs-serp-list li.is-you { z-index: 1; background: var(--wp--preset--color--haze); box-shadow: inset 0 0 0 1.5px var(--v-cobalt); }
.rs-pos { flex: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: var(--v-paper); font: 600 12px/1 var(--wp--preset--font-family--mono); }
.is-you .rs-pos { background: var(--v-cobalt); color: #fff; }
.rs-sr-t { display: grid; min-width: 0; }
.rs-sr-t em { font-style: normal; font-size: 11.5px; color: var(--v-muted); }
.rs-sr-t b { overflow: hidden; font-weight: 500; font-size: 14px; color: var(--wp--custom--color--cobalt-2); white-space: nowrap; text-overflow: ellipsis; }
.rs-ai-vis { position: absolute; z-index: 2; right: 20px; bottom: 20px; width: 230px; display: grid; gap: 9px; padding: 14px; border-radius: 14px; background: var(--v-ink); color: #fff; box-shadow: var(--wp--preset--shadow--deep); animation: rs-bob 6s ease-in-out infinite; }
.rs-ai-vis .rs-ab-title, .rs-ai-vis .rs-ab-foot { color: var(--wp--preset--color--on-dark-muted); }
.rs-av-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: 12px; }
.rs-av-row b { font: 600 12px/1 var(--wp--preset--font-family--mono); text-align: right; }
.rs-ai-vis .rs-ab-bar { grid-column: auto; background: var(--wp--custom--color--ink-3); }
.rs-ai-vis .rs-ab-bar i { background: var(--v-volt); }

/* funnel */
.rs-fn { position: relative; z-index: 1; width: min(100%, 460px); display: grid; justify-items: center; color: #fff; }
.rs-fn__src { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rs-fn__src span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--v-ink); font: 600 14px/1 var(--wp--preset--font-family--body); box-shadow: var(--wp--preset--shadow--soft); }
.rs-fn__src .rs-ic { color: var(--v-cobalt); }
.rs-fn__shape { position: relative; width: 100%; height: 190px; margin-top: 14px; }
.rs-fn__cone { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 64% 78%, 64% 100%, 36% 100%, 36% 78%); background: linear-gradient(var(--v-cobalt), var(--wp--custom--color--cobalt-2)); }
.rs-fn__cone::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, .08) 22px 23px); }
.rs-drop { position: absolute; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--v-volt); animation: rs-drop 2.4s cubic-bezier(.5, 0, .7, 1) infinite; }
.rs-drop:nth-child(2) { left: 18%; --tx: 120px; animation-delay: .3s; }
.rs-drop:nth-child(3) { left: 50%; --tx: 0px; animation-delay: .9s; }
.rs-drop:nth-child(4) { left: 82%; --tx: -120px; animation-delay: 1.5s; }
.rs-drop:nth-child(5) { left: 34%; --tx: 60px; animation-delay: 1.9s; }
.rs-drop:nth-child(6) { left: 66%; --tx: -60px; animation-delay: .6s; }
@keyframes rs-drop { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--tx, 0), 180px); opacity: .2; } }
.rs-fn__out { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px; border-radius: 12px; background: var(--v-volt); color: var(--v-ink); font: 700 16px/1 var(--wp--preset--font-family--display); box-shadow: 0 0 0 6px rgba(200, 240, 74, .18); }
.rs-fn__kpis { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.rs-fn__kpis span { padding: 7px 11px; border-radius: 8px; background: var(--wp--custom--color--ink-3); font: 500 12px/1 var(--wp--preset--font-family--mono); color: var(--wp--preset--color--on-dark); }
.rs-fn__kpis b { color: var(--v-volt); font-weight: 600; }

/* cart */
.rs-anim-cart { position: absolute; inset: 0; }
.rs-cart-ic { position: absolute; left: 50%; bottom: 14px; width: 84px; height: 64px; margin-left: -42px; display: grid; place-items: center; }
.rs-cart-ic .rs-ic { width: 72px; height: 72px; stroke-width: 1.6; }
.rs-box { position: absolute; left: 50%; top: -30px; width: 22px; height: 22px; margin-left: -8px; border-radius: 5px; background: var(--v-cobalt); animation: rs-box-drop 3s cubic-bezier(.5, 0, .75, 1) infinite; }
.rs-box.b2 { margin-left: -18px; background: var(--v-volt); animation-delay: 1s; }
.rs-box.b3 { margin-left: 2px; background: var(--wp--preset--color--coral); animation-delay: 2s; }
@keyframes rs-box-drop { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 55% { transform: translateY(128px) rotate(160deg); opacity: 1; } 62%, 100% { transform: translateY(128px) rotate(180deg); opacity: 0; } }
.rs-order-pop { position: absolute; right: 18%; top: 36%; padding: 6px 10px; border-radius: 8px; background: var(--v-ink); color: var(--v-volt); font: 600 12px/1 var(--wp--preset--font-family--mono); animation: rs-pop-up 1s ease-in-out infinite; }
@keyframes rs-pop-up { 0%, 50% { opacity: 0; transform: translateY(8px); } 60%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
.rs-roas-pill { position: absolute; left: 16px; top: 16px; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--wp--preset--color--success); font: 600 12px/1 var(--wp--preset--font-family--mono); box-shadow: var(--wp--preset--shadow--soft); }

/* pipeline */
.rs-anim-pipe { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.rs-pcol { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 10px; background: #fff; }
.rs-pcol span { padding: 2px 2px 4px; font: 600 11px/1 var(--wp--preset--font-family--mono); letter-spacing: .08em; color: var(--v-muted); }
.rs-pcol i { display: block; height: 24px; border-radius: 6px; background: var(--wp--preset--color--haze); }
.rs-pcol i.is-won { background: var(--v-volt); }
.rs-pmove { position: absolute; left: 22px; top: 49px; width: calc((100% - 48px) / 3 - 16px); height: 24px; border-radius: 6px; background: var(--v-cobalt); box-shadow: 0 8px 16px -6px rgba(43, 69, 245, .6); animation: rs-pipe-move 4.5s var(--v-ease) infinite; }
@keyframes rs-pipe-move { 0%, 12% { transform: translate(0, 0); } 38%, 50% { transform: translate(calc(100% + 26px), 64px); } 76%, 88% { transform: translate(calc(200% + 52px), 32px); background: var(--v-volt); } 100% { transform: translate(calc(200% + 52px), 32px); opacity: 0; background: var(--v-volt); } }

@media (max-width: 720px) {
	.rs-vis.is-framed { min-height: 0; padding: 32px 18px; }
	.rs-g-shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rs-g-prod:nth-child(n+3) { display: none; }
	.rs-float-kpi { display: none; }
	.rs-vis--seo { display: flex; flex-direction: column; align-items: center; }
	.rs-ai-vis { position: relative; right: auto; bottom: auto; width: min(100%, 540px); margin-top: 14px; }
	.rs-phone { width: 200px; }
	.rs-ab-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.rs-vis *, .rs-vis *::before, .rs-vis *::after { animation: none !important; transition: none !important; }
}
