/*
 * Creator answer pages: /youtube-channel-promotion/ and /how-to-promote-youtube-video/ (inc/creator-pages.php, enqueued by
 * sprizzy_cp_enqueue() from the two templates only), 2026-11-20. Ops repo docs/design/2026-11-20-creator-pages/03-plan.md.
 *
 * Motion: every block's resting state is its finished state (no JS, a script error, reduced motion, no
 * IntersectionObserver, or a block already in view at load). JS adds .cp-anim only to a block wholly below the window,
 * which attaches the animations paused (fill "both" shows each one's start), and .is-in once the block's top edge is 15%
 * inside the window (threshold 0, so blocks taller than the window still run; a scroll check covers a jump past one),
 * which runs them once. Only opacity, translate, scale, colors and width move. Nothing here hides content without .cp-anim.
 */

.template-landing-channel,
.template-landing-how-to {
	--cp-blue: #0042FF;
	--cp-ink: #1A1919;
	--cp-text: #3B3B3B;
	--cp-muted: #6B6F76;
	--cp-line: #E6E8EE;
	--cp-soft: #F4F6FB;
	--cp-green: #22A55A;
	--cp-yellow: #FFD600;
	--cp-shadow: 0 1px 3px rgba(16, 24, 64, 0.07), 0 14px 36px rgba(16, 24, 64, 0.09);
}

/* ---- Brand row (sprizzy_brand_proof, styled by css/reviews.css) sits right under the hero ---- */
.template-landing-channel .fr-brands,
.template-landing-how-to .fr-brands {
	padding-top: 44px;
}

/* ---- Shared bits ---- */
.cp-pill {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 3px 6px;
	border-radius: 4px;
	background: var(--cp-yellow);
	color: #000;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.cp-check {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cp-box {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: var(--cp-green);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cp-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--cp-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.cp-example {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cp-muted);
	text-align: center;
}

.cp-frame {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.3;
	color: var(--cp-ink);
	text-align: left;
}

.cp-frame__title {
	font-size: 15px;
	font-weight: 600;
}

.cp-frame__foot {
	font-size: 13px;
	color: var(--cp-muted);
}

/* In-feed ad card */
.cp-ad {
	display: block;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--cp-shadow);
}

.cp-ad__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #DDE3EE;
}

.cp-ad__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-ad__row {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 10px 10px;
}

.cp-ad__avatar {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
}

.cp-ad__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.cp-ad__text b {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp-ad__text small {
	font-size: 12px;
	color: var(--cp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp-ad__btn {
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--cp-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

/* ---- Channel loop (under "How do I promote my YouTube channel?") ---- */
.cp-loop {
	max-width: 1100px;
	margin: 40px auto 0;
	padding: 0 16px;
}

.cp-loop__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	counter-reset: none;
}

.cp-loop__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 18px;
	background: var(--cp-soft);
	border-radius: 18px;
	min-width: 0;
}

.cp-loop__step + .cp-loop__step::before {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230042FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

.cp-loop__label {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--cp-ink);
}

.cp-loop__cap {
	margin: 18px auto 0;
	max-width: 690px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--cp-text);
	text-align: center;
}

/* Channel header frame */
.cp-chan {
	position: relative;
	display: block;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--cp-shadow);
	padding-bottom: 14px;
}

.cp-chan__banner {
	display: block;
	height: 58px;
	background: linear-gradient(120deg, #F3D9B1 0%, #E9C08A 45%, #C99B62 100%);
}

.cp-chan__row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	margin-top: -22px;
}

.cp-chan__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid #fff;
	object-fit: cover;
	background: #ddd;
}

.cp-chan__name {
	display: flex;
	flex-direction: column;
	padding-top: 22px;
	min-width: 0;
}

.cp-chan__name b {
	font-size: 15px;
	font-weight: 600;
}

.cp-chan__name small {
	font-size: 12px;
	color: var(--cp-muted);
}

.cp-chan__sub {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px 0;
}

.cp-chan__subbed {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #EEF0F4;
	color: var(--cp-ink);
	font-size: 13px;
	font-weight: 600;
}

.cp-chan__plus {
	padding: 6px 10px;
	border-radius: 999px;
	background: #ECF8F1;
	color: #12763E;
	font-size: 12px;
	font-weight: 700;
}

/* Notification frame */
.cp-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: #fff;
	border-radius: 12px;
	padding: 14px;
	box-shadow: var(--cp-shadow);
}

.cp-note__bell {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #EEF3FF;
	color: var(--cp-blue);
	display: flex;
	align-items: center;
	justify-content: center;
}

.cp-note__bell svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linejoin: round;
}

.cp-note__body {
	display: flex;
	gap: 9px;
	min-width: 0;
}

.cp-note__avatar {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
}

.cp-note__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: 1.35;
}

.cp-note__text small {
	font-size: 12px;
	color: var(--cp-muted);
}

/* ---- Way cards (channel page) ---- */
.cp-ways .text_wrapper,
.cp-topics .text_wrapper,
.cp-rows .text_wrapper,
.cp-reviews .text_wrapper,
.cp-free .text_wrapper {
	padding: 0 16px;
}

.cp-ways__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1100px;
	margin: 36px auto 0;
	text-align: left;
}

.cp-way {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: 20px;
	padding: 22px;
	min-width: 0;
}

.cp-way__frame {
	display: flex;
	align-items: center;
	min-height: 236px;
	margin-bottom: 18px;
	padding: 18px;
	border-radius: 14px;
	background: var(--cp-soft);
	box-sizing: border-box;
}

.cp-way h3,
.cp-row h3,
.cp-topic h3,
.cp-note-card h3 {
	margin: 0 0 8px;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 600;
	color: #000;
}

.cp-way p,
.cp-row__text p,
.cp-topic p,
.cp-note-card p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--cp-text);
}

.cp-way p a,
.cp-row__text p a,
.cp-topics__more a,
.cp-free .answer_text a {
	color: var(--cp-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Frame: subscribe goal */
.cp-goal {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.cp-goal__label {
	font-size: 13px;
	color: var(--cp-muted);
	margin-right: 2px;
}

.cp-goal__opt {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 11px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--cp-line);
	font-size: 13px;
	font-weight: 500;
}

.cp-goal__opt.is-on {
	background: var(--cp-blue);
	border-color: var(--cp-blue);
	color: #fff;
}

.cp-ad--small {
	max-width: 300px;
}

/* Frame: several videos */
.cp-run {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(16, 24, 64, 0.08);
}

.cp-run__thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 36px;
	border-radius: 6px;
	background-size: cover;
	background-color: #DDE3EE;
}

.cp-run__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cp-run__aud {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp-run__bar {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: #EEF0F4;
	overflow: hidden;
}

.cp-run__bar i {
	display: block;
	height: 100%;
	width: var(--w);
	border-radius: 4px;
	background: #B8C2D6;
}

.cp-run.is-win .cp-run__bar i {
	background: var(--cp-blue);
}

.cp-run__tag {
	flex: 0 0 auto;
	padding: 4px 8px;
	border-radius: 999px;
	background: #ECF8F1;
	color: #12763E;
	font-size: 11px;
	font-weight: 700;
}

/* Frame: Auto-Promote */
.cp-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
}

.cp-switch b {
	color: var(--cp-green);
}

.cp-switch__knob {
	position: relative;
	width: 34px;
	height: 20px;
	border-radius: 999px;
	background: var(--cp-green);
}

.cp-switch__knob::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
}

.cp-seg {
	display: inline-flex;
	align-self: flex-start;
	padding: 3px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--cp-line);
	font-size: 12px;
}

.cp-seg span {
	padding: 5px 10px;
	border-radius: 999px;
	color: var(--cp-muted);
}

.cp-seg span.is-on {
	background: #EEF3FF;
	color: var(--cp-blue);
	font-weight: 600;
}

.cp-up {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(16, 24, 64, 0.08);
}

.cp-up__thumb {
	flex: 0 0 52px;
	width: 52px;
	height: 30px;
	border-radius: 5px;
	background-size: cover;
	background-color: #DDE3EE;
}

.cp-up__title {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp-up__title small {
	font-size: 11px;
	color: var(--cp-muted);
	font-weight: 400;
}

.cp-up__tag {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #ECF8F1;
	color: #12763E;
	font-size: 11px;
	font-weight: 700;
}

.cp-up__tag .cp-check {
	width: 11px;
	height: 11px;
}

/* Frame: weekly update mail */
.cp-mail {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--cp-shadow);
}

.cp-mail__head {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--cp-line);
}

.cp-mail__from {
	font-size: 12px;
	color: var(--cp-muted);
}

.cp-mail__subj {
	font-size: 15px;
	font-weight: 600;
}

.cp-mail__line {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.cp-mail__line .cp-check {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	padding: 2px;
	box-sizing: border-box;
	border-radius: 5px;
	background: var(--cp-green);
	color: #fff;
}

/* ---- Free section (channel page) ---- */
.cp-free__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	max-width: 1000px;
	margin: 34px auto 0;
	padding: 0 16px;
	text-align: left;
}

.cp-free__list {
	padding: 24px;
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--cp-shadow);
}

.cp-free__head {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
	color: var(--cp-ink);
}

.cp-free__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.cp-free__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
	color: var(--cp-ink);
}

.cp-rings {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

.cp-ring {
	position: absolute;
	left: 50%;
	bottom: 0;
	border-radius: 50%;
	translate: -50% 0;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.cp-ring--3 {
	width: 100%;
	height: 100%;
	background: #EEF3FF;
	border: 2px dashed #9DB4FF;
}

.cp-ring--2 {
	width: 68%;
	height: 68%;
	background: #DCE6FF;
}

.cp-ring--1 {
	width: 38%;
	height: 38%;
	background: var(--cp-blue);
	color: #fff;
	align-items: center;
}

.cp-ring__label {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 0 10px;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
	color: var(--cp-text);
}

.cp-ring__label b {
	font-size: 15px;
	color: var(--cp-ink);
}

.cp-ring--3 .cp-ring__label {
	margin-top: 9%;
}

.cp-ring--3 .cp-ring__label b {
	color: var(--cp-blue);
}

.cp-ring--2 .cp-ring__label {
	margin-top: 10%;
}

.cp-ring--1 .cp-ring__label,
.cp-ring--1 .cp-ring__label b {
	color: #fff;
}

/* ---- Topics (channel page) ---- */
.cp-topics__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1180px;
	margin: 36px auto 0;
	padding: 0 16px;
	text-align: left;
}

.cp-topic {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cp-topic__media {
	position: relative;
	margin: 0 0 14px;
	aspect-ratio: 3 / 2;
	border-radius: 14px;
	overflow: hidden;
	background: #DDE3EE;
}

.cp-topic__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-topic__label {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.1;
}

.cp-topic h3 {
	font-size: 20px;
}

.cp-topic p {
	font-size: 16px;
}

.cp-topic__aim {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 12px !important;
}

.cp-topic__aimhead {
	font-size: 13px;
	font-weight: 600;
	color: var(--cp-muted);
	margin-right: 2px;
}

.cp-chip {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: #EEF3FF;
	color: #1D3FA8;
	font-size: 13px;
	line-height: 1.2;
}

.cp-topics__notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 1180px;
	margin: 28px auto 0;
	padding: 0 16px;
	text-align: left;
}

.cp-note-card {
	padding: 22px;
	border-radius: 18px;
	background: var(--cp-soft);
	border: 1px solid var(--cp-line);
}

.cp-note-card h3 {
	font-size: 19px;
}

.cp-note-card p {
	font-size: 16px;
}

.cp-topics__more {
	max-width: 900px;
	margin: 24px auto 0;
	padding: 0 16px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--cp-text);
	text-align: center;
}

/* ---- Routes (how-to page, under the answer) ---- */
.cp-routes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 1100px;
	margin: 36px auto 0;
	padding: 0 16px;
	text-align: left;
}

.cp-route {
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--cp-line);
	min-width: 0;
}

.cp-route--us {
	border-color: var(--cp-blue);
	box-shadow: 0 0 0 1px var(--cp-blue), 0 12px 30px rgba(0, 66, 255, 0.12);
}

.cp-route__name {
	display: flex;
	align-items: center;
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--cp-ink);
}

.cp-route__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	border-radius: 50%;
	background: #EEF0F4;
	color: var(--cp-ink);
	font-size: 13px;
	font-weight: 700;
}

.cp-route--us .cp-route__num {
	background: var(--cp-blue);
	color: #fff;
}

.cp-route dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cp-route dl div {
	margin: 0;
}

.cp-route dt {
	font-size: 12px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-route dd {
	margin: 1px 0 0;
	font-size: 15px;
	line-height: 1.3;
	color: var(--cp-ink);
	font-weight: 500;
}

/* ---- Way rows (how-to page) ---- */
.cp-rows__list {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 1100px;
	margin: 36px auto 0;
	padding: 0 16px;
	text-align: left;
}

.cp-row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 36px;
	align-items: center;
	padding: 26px;
	border-radius: 22px;
	border: 1px solid var(--cp-line);
	background: #fff;
}

.cp-row:nth-child(even) .cp-row__frame {
	order: 2;
}

.cp-row--us {
	border-color: var(--cp-blue);
	box-shadow: 0 0 0 1px var(--cp-blue), 0 14px 36px rgba(0, 66, 255, 0.1);
}

.cp-row__frame {
	display: flex;
	align-items: center;
	min-height: 250px;
	padding: 20px;
	border-radius: 16px;
	background: var(--cp-soft);
	box-sizing: border-box;
	min-width: 0;
}

.cp-row__who {
	margin: 0 0 10px !important;
	font-size: 14px !important;
	color: var(--cp-muted) !important;
}

.cp-row__who b {
	color: var(--cp-ink);
	font-weight: 600;
}

.cp-row--us .cp-row__who b {
	color: var(--cp-blue);
}

/* Frame: free work */
.cp-vid {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 8px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 64, 0.08);
}

.cp-vid__thumb {
	position: relative;
	flex: 0 0 120px;
	width: 120px;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
}

.cp-vid__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-vid__dur {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 2px 4px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
}

.cp-vid__title {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	font-size: 14px;
}

.cp-vid__title small {
	font-size: 12px;
	color: var(--cp-muted);
}

.cp-ticks {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cp-tick {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
}

/* Frame: Promote button */
.cp-menu {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.cp-menu__thumb {
	flex: 0 0 128px;
	width: 128px;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	background-color: #DDE3EE;
}

.cp-menu__list {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 10px;
	min-width: 120px;
	background: #fff;
	border-radius: 10px;
	box-shadow: var(--cp-shadow);
}

.cp-menu__list i {
	display: block;
	width: 84px;
	height: 8px;
	border-radius: 4px;
	background: #E9EBF0;
}

.cp-menu__item {
	padding: 6px 8px;
	margin: 0 -4px;
	border-radius: 6px;
	background: #EEF3FF;
	color: var(--cp-blue);
	font-size: 14px;
	font-weight: 600;
}

.cp-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.cp-form__field {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid var(--cp-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}

.cp-form__you {
	font-size: 12px;
	font-weight: 400;
	color: var(--cp-muted);
}

.cp-form__note {
	grid-column: 1 / -1;
	font-size: 13px;
	color: var(--cp-muted);
}

/* Frame: Google Ads to-do */
.cp-jobs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.cp-job {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px 6px 7px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--cp-line);
	font-size: 13px;
}

.cp-job .cp-box {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #fff;
	border: 1.5px solid #B8C2D6;
	box-sizing: border-box;
}

/* Frame: Sprizzy */
.cp-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	background: #fff;
	border: 1.5px solid var(--cp-blue);
	border-radius: 10px;
	font-size: 14px;
}

.cp-link svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--cp-blue);
	stroke-width: 2;
	stroke-linecap: round;
}

.cp-link span:first-of-type {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cp-link__time {
	flex: 0 0 auto;
	padding: 4px 8px;
	border-radius: 999px;
	background: #EEF3FF;
	color: var(--cp-blue);
	font-size: 12px;
	font-weight: 600;
}

.cp-preview {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.cp-preview__feed {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cp-preview__short {
	flex: 0 0 96px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cp-short {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--cp-shadow);
	background: #DDE3EE;
}

.cp-short img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-where {
	font-size: 12px;
	font-weight: 600;
	color: var(--cp-blue);
	text-align: center;
}

/* ---- Reviews (the /results/ card markup; its tokens live on .rs there, so they are set here) ---- */
.cp-reviews {
	--rs-ink: #000000;
	--rs-body: #292929;
	--rs-meta: #5F5F5F;
	--rs-rule: #D9D6D2;
	--rs-accent: #0042FF;
	--rs-accent-dark: #002BA5;
	--rs-yellow: #FFD600;
	--rs-ground: #F4F6FB;
	--rs-white: #FFFFFF;
	--rs-radius: 14px;
}

.cp-reviews .rs-says__grid {
	max-width: 1180px;
	margin: 32px auto 0;
	padding: 0 16px;
	text-align: left;
}

@media screen and (min-width: 981px) {
	.cp-reviews .rs-says__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

.cp-reviews .rs-say {
	padding: 22px;
}

.cp-reviews__vary {
	margin: 18px auto 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--cp-muted);
	text-align: center;
}

.cp-reviews + .section-proof {
	margin-top: 40px;
}

/* Google's Partner badge under the proof tiles (sprizzy_partner_badge(), Google's own file and link). */
.cp-partner {
	/* Google's badge guidelines: clear space of at least half the badge height (115 px tall) on every side. */
	margin: 58px auto 58px;
	text-align: center;
	line-height: 0;
}

.cp-partner a {
	display: inline-block;
}

.cp-partner img {
	width: 120px;
	height: auto;
}

/* ---- Crosslinks: the shared panel (style.css); the verb and the name sit in one span so the card reads as one line ---- */
.cp-crosslinks .cp-xl-text {
	min-width: 0;
}

/* ---- Motion (start states only while .cp-anim; resting state = finished) ---- */
@keyframes cpIn {
	from { opacity: 0; translate: 0 14px; }
	to { opacity: 1; translate: 0 0; }
}

@keyframes cpPop {
	0% { opacity: 0; scale: 0.5; }
	70% { opacity: 1; scale: 1.1; }
	100% { opacity: 1; scale: 1; }
}

@keyframes cpGrow {
	from { width: 8%; }
}

@keyframes cpTickBox {
	from { background: #fff; box-shadow: inset 0 0 0 1.5px #B8C2D6; color: transparent; }
}

.cp-anim .cp-loop__step { animation: cpIn 0.5s calc(var(--i) * 0.45s) both paused; }
.cp-anim .cp-chan__subbed { animation: cpPop 0.4s 0.95s both paused; }
.cp-anim .cp-chan__plus { animation: cpPop 0.4s 1.25s both paused; }
.cp-anim .cp-note { animation: cpIn 0.5s 1.4s both paused; }

.cp-anim .cp-way { animation: cpIn 0.5s calc(var(--i) * 0.12s) both paused; }
.cp-anim .cp-goal__opt.is-on { animation: cpPop 0.4s 0.6s both paused; }
.cp-anim .cp-run { animation: cpIn 0.4s calc(0.2s + var(--i) * 0.12s) both paused; }
.cp-anim .cp-run__bar i { animation: cpGrow 0.9s calc(0.7s + var(--i) * 0.1s) both paused; }
.cp-anim .cp-run__tag { animation: cpPop 0.35s 1.6s both paused; }
.cp-anim .cp-up { animation: cpIn 0.4s calc(0.3s + var(--i) * 0.3s) both paused; }
.cp-anim .cp-up__tag { animation: cpPop 0.35s calc(0.65s + var(--i) * 0.3s) both paused; }
.cp-anim .cp-mail__line { animation: cpIn 0.4s calc(0.4s + var(--i) * 0.25s) both paused; }

.cp-anim .cp-free__list li { animation: cpIn 0.35s calc(var(--i) * 0.08s) both paused; }
.cp-anim .cp-free__list .cp-box { animation: cpTickBox 0.3s calc(0.4s + var(--i) * 0.12s) both paused; }
.cp-anim .cp-ring--1 { animation: cpPop 0.45s 0.2s both paused; }
.cp-anim .cp-ring--2 { animation: cpPop 0.45s 0.6s both paused; }
.cp-anim .cp-ring--3 { animation: cpPop 0.5s 1.1s both paused; }

.cp-anim .cp-route { animation: cpIn 0.45s calc(var(--i) * 0.12s) both paused; }

.cp-anim .cp-tick { animation: cpIn 0.35s calc(0.2s + var(--i) * 0.15s) both paused; }
.cp-anim .cp-tick .cp-box { animation: cpTickBox 0.3s calc(0.35s + var(--i) * 0.15s) both paused; }
.cp-anim .cp-menu__item { animation: cpPop 0.35s 0.4s both paused; }
.cp-anim .cp-form__field { animation: cpIn 0.35s calc(0.7s + var(--i) * 0.12s) both paused; }
.cp-anim .cp-job { animation: cpIn 0.3s calc(var(--i) * 0.06s) both paused; }
.cp-anim .cp-link__time { animation: cpPop 0.35s 0.5s both paused; }
.cp-anim .cp-preview__feed { animation: cpIn 0.45s 0.8s both paused; }
.cp-anim .cp-preview__short { animation: cpIn 0.45s 1.05s both paused; }

/* !important: the start rules above carry more classes than this one (".cp-anim .cp-goal__opt.is-on"). */
.cp-anim.is-in * {
	animation-play-state: running !important;
}

@media (prefers-reduced-motion: reduce) {
	.cp-anim * {
		animation: none !important;
	}
}

@media print {
	.cp-anim * {
		animation: none !important;
	}
}

/* ---- Tablet ---- */
@media screen and (max-width: 980px) {
	.cp-loop__steps {
		grid-template-columns: minmax(0, 1fr);
		max-width: 460px;
		margin: 0 auto;
		gap: 30px;
	}

	.cp-loop__step + .cp-loop__step::before {
		left: 50%;
		top: -26px;
		margin: 0 0 0 -10px;
		rotate: 90deg;
	}

	.cp-topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cp-routes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cp-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.cp-row:nth-child(even) .cp-row__frame {
		order: 0;
	}

	.cp-free__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
	}
}

/* ---- Phone ---- */
@media screen and (max-width: 640px) {
	.cp-ways__grid,
	.cp-topics__grid,
	.cp-topics__notes {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.cp-ways__grid {
		margin-top: 24px;
	}

	.cp-way {
		padding: 16px;
	}

	.cp-way__frame {
		min-height: 0;
		padding: 14px;
	}

	.cp-way h3,
	.cp-row h3 {
		font-size: 19px;
	}

	.cp-way p,
	.cp-row__text p {
		font-size: 16px;
	}

	.cp-loop {
		margin-top: 28px;
	}

	.cp-free__grid {
		margin-top: 24px;
		gap: 22px;
	}

	.cp-free__list {
		padding: 18px;
	}

	.cp-free__list li {
		font-size: 15px;
	}

	.cp-rings {
		max-width: 340px;
	}

	.cp-ring__label {
		font-size: 12px;
	}

	.cp-ring__label b {
		font-size: 13px;
	}

	.cp-routes {
		gap: 10px;
		margin-top: 24px;
	}

	.cp-route {
		padding: 13px;
	}

	.cp-route__name {
		font-size: 15px;
		align-items: flex-start;
	}

	.cp-route dd {
		font-size: 14px;
	}

	.cp-rows__list {
		gap: 20px;
		margin-top: 24px;
	}

	.cp-row {
		padding: 16px;
	}

	.cp-row__frame {
		min-height: 0;
		padding: 14px;
	}

	.cp-vid__thumb {
		flex-basis: 96px;
		width: 96px;
	}

	.cp-menu__thumb {
		flex-basis: 104px;
		width: 104px;
	}

	.cp-preview__short {
		flex-basis: 72px;
	}

	.cp-preview .cp-ad__btn {
		display: none;
	}

	.cp-up {
		align-items: flex-start;
	}

	.cp-up__title {
		white-space: normal;
	}

	.cp-topics__more {
		font-size: 16px;
	}

	/* Topic cards go compact on phones: the photo as a square beside the question, so six cards do not stack six
	   full-width photos between the reader and the FAQ. The question names the topic, so the photo's label hides. */
	.cp-topic {
		display: grid;
		grid-template-columns: 84px minmax(0, 1fr);
		column-gap: 14px;
		align-items: center;
	}

	.cp-topic + .cp-topic {
		padding-top: 20px;
		border-top: 1px solid var(--cp-line);
	}

	.cp-topic__media {
		margin: 0;
		aspect-ratio: 1 / 1;
		border-radius: 12px;
	}

	.cp-topic__label {
		display: none;
	}

	.cp-topic h3 {
		margin: 0;
		font-size: 19px;
	}

	.cp-topic > p {
		grid-column: 1 / -1;
	}

	.cp-topic > p:not(.cp-topic__aim) {
		margin-top: 12px;
	}
}

/* Loop step 3: the new upload under its notification */
.cp-next {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--cp-shadow);
}

.cp-next__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: 50% 30%;
	background-color: #DDE3EE;
}

.cp-next__new {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 3px 7px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.cp-next__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 12px 11px;
	font-size: 13px;
}

.cp-next__meta small {
	font-size: 12px;
	color: var(--cp-muted);
}

.cp-anim .cp-next { animation: cpIn 0.5s 1.7s both paused; }

/* Loop step 2: the channel's own videos under its header */
.cp-chan__vids {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	padding: 12px 14px 0;
}

.cp-chan__vids span {
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	background-size: 240%;
	background-color: #DDE3EE;
}
