/* CP Polls: one template, two presentations (standard question, head-to-head matchup). */

.cp-poll {
	--cp-poll-accent: #ed1c24;
	--cp-poll-ink: #1a1a1a;
	--cp-poll-muted: #5c5c5c;
	--cp-poll-line: #d9d9d9;
	--cp-poll-surface: #ffffff;
	--cp-poll-soft: #f4f4f4;
	--cp-poll-radius: 8px;

	box-sizing: border-box;
	max-width: 720px;
	margin: 1.5em auto;
	padding: 1rem;
	border: 1px solid var(--cp-poll-line);
	border-radius: var(--cp-poll-radius);
	background: var(--cp-poll-surface);
	color: var(--cp-poll-ink);
	font-size: 1rem;
	line-height: 1.45;
}

.cp-poll *,
.cp-poll *::before,
.cp-poll *::after {
	box-sizing: inherit;
}

.cp-poll[aria-busy="true"] .cp-poll__choices {
	opacity: 0.7;
}

.cp-poll [hidden] {
	display: none !important;
}

/* Sponsor */
.cp-poll__sponsor {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	color: var(--cp-poll-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cp-poll__sponsor-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
}

.cp-poll__sponsor-link:hover .cp-poll__sponsor-name,
.cp-poll__sponsor-link:focus .cp-poll__sponsor-name {
	text-decoration: underline;
}

.cp-poll__sponsor-logo {
	display: block;
	width: auto;
	max-width: 140px;
	max-height: 36px;
	height: auto;
}

.cp-poll__sponsor-name {
	font-weight: 700;
	color: var(--cp-poll-ink);
	text-transform: none;
	letter-spacing: 0;
}

/* Question */
.cp-poll__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.cp-poll__question {
	display: block;
	float: none;
	width: 100%;
	margin: 0 0 0.25rem;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.cp-poll--single legend.cp-poll__question,
.cp-poll--single .cp-poll__question--results {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.cp-poll__hint {
	margin: 0 0 0.75rem;
	color: var(--cp-poll-muted);
	font-size: 0.875rem;
}

/* Choices (standard) */
.cp-poll__choices {
	display: grid;
	gap: 0.5rem;
}

.cp-poll__choice {
	position: relative;
}

.cp-poll__input {
	position: absolute;
	top: 1rem;
	left: 0.875rem;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	accent-color: var(--cp-poll-accent);
}

.cp-poll__option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 3rem;
	padding: 0.75rem 0.875rem 0.75rem 2.5rem;
	border: 2px solid var(--cp-poll-line);
	border-radius: var(--cp-poll-radius);
	background: var(--cp-poll-surface);
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.cp-poll__input:checked + .cp-poll__option {
	border-color: var(--cp-poll-accent);
	background: var(--cp-poll-soft);
}

.cp-poll__input:focus-visible + .cp-poll__option {
	outline: 3px solid var(--cp-poll-ink);
	outline-offset: 2px;
}

.cp-poll__input:disabled + .cp-poll__option {
	cursor: default;
}

.cp-poll__image {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: calc(var(--cp-poll-radius) - 2px);
	flex: none;
}

.cp-poll__label {
	font-weight: 600;
}

/* Head-to-head matchup: two cards with a VS divider, side by side on all widths. */
.cp-poll--matchup .cp-poll__choices {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: 0.5rem;
}

.cp-poll--matchup .cp-poll__vs {
	align-self: center;
	font-weight: 800;
	font-size: 0.875rem;
	color: var(--cp-poll-muted);
}

.cp-poll--matchup .cp-poll__option {
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	padding: 0.5rem 0.5rem 0.75rem;
	text-align: center;
}

.cp-poll--matchup .cp-poll__input {
	top: 0.875rem;
	left: 0.875rem;
	z-index: 1;
}

.cp-poll--matchup .cp-poll__image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
}

.cp-poll--matchup .cp-poll__label {
	padding-top: 0.25rem;
}

/* Actions and messages */
.cp-poll__actions {
	margin-top: 0.875rem;
}

.cp-poll__submit,
.cp-poll__toggle {
	min-height: 44px;
	padding: 0.5rem 1.25rem;
	border-radius: var(--cp-poll-radius);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.cp-poll__submit {
	border: 2px solid var(--cp-poll-accent);
	background: var(--cp-poll-accent);
	color: #fff;
}

.cp-poll__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Scoped under .cp-poll so theme-kit button rules (e.g. `.elementor-kit-N button`) cannot turn the
   secondary action into a second red Vote button. */
.cp-poll .cp-poll__toggle {
	margin-top: 0.5rem;
	border: 2px solid var(--cp-poll-line);
	background: transparent;
	color: var(--cp-poll-ink);
}

.cp-poll .cp-poll__toggle:hover,
.cp-poll .cp-poll__toggle:focus {
	border-color: var(--cp-poll-ink);
	background: var(--cp-poll-soft);
	color: var(--cp-poll-ink);
}

/* Space kept for the results button until the reader's state arrives (no layout shift). */
.cp-poll__toggle[data-reserve] {
	visibility: hidden;
}

.cp-poll__submit:focus-visible,
.cp-poll__toggle:focus-visible,
.cp-poll__message:focus-visible,
.cp-poll__results:focus-visible {
	outline: 3px solid var(--cp-poll-ink);
	outline-offset: 2px;
}

.cp-poll__message,
.cp-poll__status {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
}

.cp-poll__status:empty,
.cp-poll__message:empty {
	display: none;
}

.cp-poll__status {
	font-weight: 600;
}

.cp-poll__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0.75rem 0 0;
	color: var(--cp-poll-muted);
	font-size: 0.8125rem;
}

.cp-poll-notice {
	padding: 0.5rem 0.75rem;
	border-left: 4px solid var(--cp-poll-accent, #ed1c24);
	background: #fff6f6;
	font-size: 0.875rem;
}

/* Results */
.cp-poll__outcome {
	margin: 0.25rem 0 0.75rem;
	font-weight: 700;
}

.cp-poll__bars {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-poll__bar-text {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.9375rem;
}

.cp-poll__bar-label {
	font-weight: 600;
}

.cp-poll__bar-value {
	white-space: nowrap;
	font-weight: 700;
}

.cp-poll__bar-votes {
	font-weight: 400;
	color: var(--cp-poll-muted);
}

.cp-poll__bar-track {
	display: block;
	height: 0.625rem;
	margin-top: 0.25rem;
	border-radius: 999px;
	background: var(--cp-poll-soft);
	overflow: hidden;
}

.cp-poll__bar-fill {
	display: block;
	height: 100%;
	background: var(--cp-poll-muted);
}

.cp-poll__bar.is-leader .cp-poll__bar-fill {
	background: var(--cp-poll-accent);
}

.cp-poll__total,
.cp-poll__note {
	margin: 0.75rem 0 0;
	color: var(--cp-poll-muted);
	font-size: 0.8125rem;
}

/* Archive */
.cp-poll-archive__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-poll-archive__item {
	padding: 1rem 0;
	border-bottom: 1px solid #d9d9d9;
}

.cp-poll-archive__title {
	margin: 0 0 0.25rem;
}

.cp-poll-archive__outcome {
	margin: 0;
	font-weight: 600;
}

.cp-poll-archive__meta {
	margin: 0.25rem 0 0;
	color: #5c5c5c;
	font-size: 0.875rem;
}

.cp-poll-archive__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.cp-poll-archive__pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	min-height: 44px;
	padding: 0.625rem 0.75rem;
	text-align: center;
}

@media (max-width: 480px) {
	.cp-poll {
		padding: 0.75rem;
	}

	.cp-poll__question {
		font-size: 1.125rem;
	}

	.cp-poll--matchup .cp-poll__option {
		padding: 0.375rem 0.375rem 0.625rem;
	}

	.cp-poll--matchup .cp-poll__label {
		font-size: 0.875rem;
	}

	.cp-poll__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cp-poll__option {
		transition: none;
	}
}

/* ------------------------------------------------------------------------
 * Visual presets (Question of the Week, Throwback Races). Same markup and behaviour as the
 * original layout, restyled: dark racing backdrop, logo, sponsor, series title, question
 * panel and answer cards. Everything below is scoped to .cp-poll--preset.
 * --------------------------------------------------------------------- */

.cp-poll--preset {
	--cp-poll-accent: #d9141c;
	--cp-poll-brand: #1d63d6;
	--cp-poll-brand-dark: #0b347e;
	--cp-poll-brand-light: #5aa2ff;
	--cp-poll-ink: #ffffff;
	--cp-poll-muted: #c5ccd8;
	--cp-poll-line: rgba(255, 255, 255, 0.28);
	--cp-poll-surface: #0a0e16;
	--cp-poll-soft: rgba(255, 255, 255, 0.1);
	--cp-poll-strip: linear-gradient(180deg, #16284a 0%, #0a1630 100%);
	--cp-poll-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--cp-poll-display: Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Black", sans-serif;

	container: cp-poll / inline-size;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	max-width: 760px;
	padding: 1rem 1rem 0.875rem;
	border: 0;
	border-radius: 10px;
	background: radial-gradient(ellipse 90% 60% at 50% 0%, #26324a 0%, #0a0e16 70%) #0a0e16;
	color: var(--cp-poll-ink);
	text-align: center;
}

.cp-poll--throwback {
	background: radial-gradient(ellipse 90% 60% at 50% 0%, #34363d 0%, #0b0b0e 70%) #0b0b0e;
	--cp-poll-brand: #d9141c;
	--cp-poll-brand-dark: #7d070c;
	--cp-poll-brand-light: #ff4a50;
}

/* Darkening layer over the optional backdrop image, plus a faint checkered band. */
.cp-poll--preset::before,
.cp-poll--preset::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.cp-poll--preset::before {
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 9, 15, 0.55) 0%, rgba(6, 9, 15, 0.82) 45%, rgba(6, 9, 15, 0.92) 100%);
}

.cp-poll--preset::after {
	top: 0;
	right: 0;
	left: 0;
	height: 7rem;
	background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 14px 14px;
	opacity: 0.05;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent);
	mask-image: linear-gradient(180deg, #000, transparent);
}

.cp-poll--preset .cp-poll__backdrop {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.cp-poll--preset .cp-poll-notice {
	color: #1a1a1a;
	text-align: left;
}

/* Masthead */
.cp-poll__masthead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.375rem;
}

.cp-poll__brand {
	margin: 0;
	line-height: 1;
}

.cp-poll__logo {
	display: block;
	width: auto;
	max-width: min(280px, 70%);
	height: auto;
	max-height: 64px;
	margin: 0 auto;
}

.cp-poll__wordmark {
	display: inline-block;
	padding-bottom: 0.25rem;
	border-bottom: 3px solid var(--cp-poll-accent);
	font-size: 1.375rem;
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.cp-poll--preset .cp-poll__sponsor {
	justify-content: center;
	margin: 0;
	color: var(--cp-poll-muted);
	font-size: 0.75rem;
}

.cp-poll--preset .cp-poll__sponsor-logo {
	max-width: 180px;
	max-height: 44px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #fff;
}

.cp-poll--preset .cp-poll__sponsor-name {
	color: #fff;
	font-size: 0.9375rem;
}

.cp-poll__series {
	margin: 0;
	font-family: var(--cp-poll-display);
	font-size: clamp(2rem, 9vw, 3.5rem);
	font-style: italic;
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-shadow: 0 3px 0 rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 0, 0, 0.6);
	overflow-wrap: break-word;
}

.cp-poll__series-accent {
	color: var(--cp-poll-brand-light);
}

/* Messages ("Voting has closed.", "Your vote: …") sit under the masthead as a chip. */
.cp-poll--preset .cp-poll__message {
	display: inline-block;
	max-width: 100%;
	margin: 0.75rem 0 0;
	padding: 0.375rem 0.875rem;
	border: 1px solid var(--cp-poll-line);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	font-weight: 700;
}

.cp-poll--preset .cp-poll__message:empty {
	display: none;
}

/* Question panel */
.cp-poll--preset .cp-poll__question {
	margin: 0.875rem 0 0.375rem;
	padding: 0.75rem 1rem;
	border-top: 2px solid rgba(255, 255, 255, 0.35);
	border-bottom: 2px solid rgba(0, 0, 0, 0.45);
	background: linear-gradient(180deg, var(--cp-poll-brand) 0%, var(--cp-poll-brand-dark) 100%);
	color: #fff;
	font-size: clamp(1.0625rem, 3.2vw, 1.375rem);
	font-weight: 800;
	line-height: 1.25;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	overflow-wrap: break-word;
}

.cp-poll--preset .cp-poll__hint {
	margin: 0 0 0.75rem;
	color: var(--cp-poll-muted);
	font-size: 0.8125rem;
}

/* Answer cards: stacked by default and in narrow embeds, two per row when there is room. */
.cp-poll--preset .cp-poll__choices,
.cp-poll--preset .cp-poll__bars {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	align-items: stretch;
}

.cp-poll--preset .cp-poll__vs {
	display: none;
}

@container cp-poll (min-width: 470px) {
	.cp-poll--preset .cp-poll__choices,
	.cp-poll--preset .cp-poll__bars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cp-poll--preset .cp-poll__choices > .cp-poll__card:last-child:nth-child(odd),
	.cp-poll--preset .cp-poll__bars > .cp-poll__bar:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 0.375rem);
	}

	.cp-poll--vs .cp-poll__choices {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.cp-poll--vs .cp-poll__choices > .cp-poll__card:last-child:nth-child(odd) {
		grid-column: auto;
		width: auto;
	}

	.cp-poll--preset .cp-poll__vs {
		display: block;
		align-self: center;
		font-family: var(--cp-poll-display);
		font-size: 1.75rem;
		font-style: italic;
		font-weight: 900;
		line-height: 1;
		color: #fff;
		text-shadow: 2px 2px 0 var(--cp-poll-brand-dark), 0 0 12px rgba(0, 0, 0, 0.8);
	}

	.cp-poll--preset .cp-poll__series {
		font-size: clamp(2.25rem, 8.5cqi, 3.75rem);
	}

	.cp-poll--preset .cp-poll__wordmark {
		font-size: 1.75rem;
	}
}

.cp-poll__card,
.cp-poll--preset .cp-poll__bar {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	padding: 0.5rem;
	border: 1px solid var(--cp-poll-line);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.cp-poll--preset .cp-poll__option {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	text-align: center;
}

.cp-poll--preset .cp-poll__input:checked + .cp-poll__option {
	background: none;
	box-shadow: 0 0 0 3px var(--cp-poll-brand-light);
}

.cp-poll--preset .cp-poll__image {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0;
	object-fit: cover;
	object-position: center 30%;
	border-radius: 6px 6px 0 0;
}

/* No image: a deliberate checkered banner rather than an empty gap. */
.cp-poll__image--none {
	background:
		linear-gradient(180deg, rgba(10, 14, 22, 0.15), rgba(10, 14, 22, 0.75)),
		repeating-conic-gradient(#2b3443 0 25%, #151b26 0 50%) 0 0 / 22px 22px;
}

.cp-poll--preset .cp-poll__label,
.cp-poll--preset .cp-poll__bar-text {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.625rem;
	border-radius: 0 0 6px 6px;
	background: var(--cp-poll-strip);
	color: #fff;
	font-size: clamp(0.9375rem, 2.6vw, 1.125rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

/* No choice has an image: compact text cards instead of empty banners. */
.cp-poll--text-cards .cp-poll__label,
.cp-poll--text-cards .cp-poll__bar-text {
	min-height: 3.5rem;
	border-radius: 6px;
}

.cp-poll--text-cards .cp-poll__input + .cp-poll__option .cp-poll__label {
	padding-right: 2.75rem;
	padding-left: 2.75rem;
}

.cp-poll--preset.cp-poll--text-cards .cp-poll__input {
	top: 50%;
	transform: translateY(-50%);
}

.cp-poll--text-cards .cp-poll__badge {
	top: -0.625rem;
}

.cp-poll__card.is-voted {
	border-color: var(--cp-poll-brand-light);
	box-shadow: 0 0 0 3px var(--cp-poll-brand), 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Multiple choice: a large checkbox on the card's image corner. */
.cp-poll--preset .cp-poll__input {
	top: 0.875rem;
	left: 0.875rem;
	z-index: 1;
	width: 1.5rem;
	height: 1.5rem;
}

/* Red Vote controls (per card for single choice; one for multiple choice). Scoped to
   outrank theme-kit button rules such as `.elementor-kit-N button:hover`. */
.cp-poll .cp-poll__vote,
.cp-poll--preset .cp-poll__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0.5rem 1rem;
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	background: linear-gradient(180deg, #f3373e 0%, #c70d15 55%, #96070d 100%);
	box-shadow: 0 3px 0 #5a0307, inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: #fff;
	font-family: var(--cp-poll-display);
	font-size: 1.5rem;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: none;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
	cursor: pointer;
}

/* Uppercase only the visible word: Chrome applies text-transform to the accessible name. */
.cp-poll .cp-poll__vote-text {
	text-transform: uppercase;
}

.cp-poll--preset .cp-poll__actions {
	display: flex;
	justify-content: center;
	margin-top: 0.875rem;
}

.cp-poll--preset .cp-poll__submit {
	max-width: 360px;
}

.cp-poll .cp-poll__vote::before,
.cp-poll--preset .cp-poll__submit::before {
	content: "";
	flex: none;
	width: 1.25em;
	height: 0.875em;
	border-radius: 2px;
	background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 0.3125em 0.3125em;
	transform: skewY(-10deg);
}

.cp-poll.cp-poll--preset .cp-poll__vote:hover,
.cp-poll.cp-poll--preset .cp-poll__vote:focus,
.cp-poll.cp-poll--preset .cp-poll__submit:hover,
.cp-poll.cp-poll--preset .cp-poll__submit:focus {
	border-color: #fff;
	background: linear-gradient(180deg, #ff4b51 0%, #d8121a 55%, #a5080f 100%);
	color: #fff;
}

.cp-poll.cp-poll--preset .cp-poll__vote:disabled,
.cp-poll.cp-poll--preset .cp-poll__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.cp-poll--preset .cp-poll__vote:focus-visible,
.cp-poll--preset .cp-poll__submit:focus-visible,
.cp-poll--preset .cp-poll__toggle:focus-visible,
.cp-poll--preset .cp-poll__message:focus-visible,
.cp-poll--preset .cp-poll__results:focus-visible,
.cp-poll--preset .cp-poll__sponsor-link:focus-visible,
.cp-poll--preset .cp-poll__input:focus-visible + .cp-poll__option {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px #000;
}

/* Results: the same cards with the share of votes; the winner gets a badge. */
.cp-poll--preset .cp-poll__outcome {
	margin: 0.25rem 0 0.75rem;
	font-family: var(--cp-poll-display);
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	font-style: italic;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
	overflow-wrap: break-word;
}

.cp-poll--preset .cp-poll__bar.is-leader {
	border-color: var(--cp-poll-brand-light);
}

.cp-poll--preset .cp-poll__bar.is-winner {
	border-color: #ffd23f;
	box-shadow: 0 0 0 3px #ffd23f, 0 4px 14px rgba(0, 0, 0, 0.45);
}

.cp-poll--preset .cp-poll__bar-text {
	flex-direction: column;
	gap: 0.25rem;
	padding-bottom: 0.625rem;
}

.cp-poll--preset .cp-poll__bar-label {
	font-weight: 800;
}

.cp-poll--preset .cp-poll__bar-value {
	font-family: var(--cp-poll-display);
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: normal;
}

.cp-poll--preset .cp-poll__bar-votes {
	display: block;
	margin-top: 0.25rem;
	color: var(--cp-poll-muted);
	font-family: var(--cp-poll-text);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.cp-poll--preset .cp-poll__bar-track {
	height: 0.625rem;
	margin: 0 0.25rem 0.25rem;
	background: rgba(255, 255, 255, 0.16);
}

.cp-poll--preset .cp-poll__bar-fill {
	background: rgba(255, 255, 255, 0.6);
}

.cp-poll--preset .cp-poll__bar.is-leader .cp-poll__bar-fill {
	background: var(--cp-poll-brand-light);
}

.cp-poll--preset .cp-poll__bar.is-winner .cp-poll__bar-fill {
	background: #ffd23f;
}

.cp-poll__badge {
	position: absolute;
	top: 0.875rem;
	left: 50%;
	z-index: 1;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: #ffd23f;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	color: #111;
	font-size: 0.8125rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transform: translateX(-50%);
}

.cp-poll--preset .cp-poll__total,
.cp-poll--preset .cp-poll__note,
.cp-poll--preset .cp-poll__meta,
.cp-poll--preset .cp-poll__status {
	color: var(--cp-poll-muted);
}

.cp-poll--preset .cp-poll__meta {
	justify-content: center;
}

.cp-poll.cp-poll--preset .cp-poll__toggle {
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
}

.cp-poll.cp-poll--preset .cp-poll__toggle:hover,
.cp-poll.cp-poll--preset .cp-poll__toggle:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.cp-poll--preset .cp-poll__sponsor-link {
	border-radius: 6px;
}

@media (max-width: 480px) {
	.cp-poll--preset {
		padding: 0.75rem 0.625rem;
		border-radius: 8px;
	}

	.cp-poll--preset .cp-poll__question {
		padding: 0.625rem 0.75rem;
	}
}
