.wp-block-byb-monthly-poll.byb-poll,
.byb-poll {
	--byb-accent: #ef7f5a;
	--byb-option-bg: #171717;
	--byb-option-text: #fff;
	--byb-border: #3a3a3a;
	--byb-radius: 16px;
	box-sizing: border-box;
	color: inherit;
	font-family: inherit;
	margin-block: 1rem;
	padding: clamp(.75rem, 2vw, 1.25rem);
	position: relative;
}

.byb-poll *,
.byb-poll *::before,
.byb-poll *::after {
	box-sizing: border-box;
}

.byb-poll__header {
	max-width: 52rem;
}

.byb-poll__current-pick {
	align-items: stretch;
	background: color-mix(in srgb, var(--byb-accent) 11%, var(--byb-option-bg));
	border: 1px solid color-mix(in srgb, var(--byb-accent) 68%, var(--byb-border));
	border-radius: var(--byb-radius);
	color: var(--byb-option-text);
	display: flex;
	overflow: hidden;
	position: relative;
}

.byb-poll__current-pick::before {
	background: var(--byb-accent);
	content: "";
	inset: 0 auto 0 0;
	position: absolute;
	width: 5px;
}

.byb-poll__current-image {
	aspect-ratio: 1 / 1;
	flex: 0 0 80px;
	max-width: 80px;
	object-fit: cover;
}

.byb-poll__current-copy {
	align-self: center;
	padding: .85rem 1rem;
}

.byb-poll__current-eyebrow {
	color: var(--byb-accent);
	font-size: .76em;
	font-weight: 900;
	letter-spacing: .08em;
	margin: 0 0 .55rem;
	text-transform: uppercase;
}

.byb-poll__current-title {
	font-size: 1.25em;
	letter-spacing: -.03em;
	line-height: 1.06;
	margin: 0;
}

.byb-poll__current-description {
	line-height: 1.5;
	margin: .7rem 0 0;
	opacity: .8;
}

.byb-poll__current-meta {
	font-size: .78em;
	font-weight: 700;
	margin: .75rem 0 0;
	opacity: .62;
	text-transform: uppercase;
}

.byb-poll__divider {
	background: color-mix(in srgb, currentColor 18%, transparent);
	height: 1px;
	margin: 1.1rem 0;
	width: 100%;
}

.byb-poll__eyebrow {
	color: var(--byb-accent);
	font-size: .76em;
	font-weight: 800;
	letter-spacing: .08em;
	margin: 0 0 .6rem;
	text-transform: uppercase;
}

.byb-poll__title {
	font-size: 1.5em;
	letter-spacing: -.035em;
	line-height: 1.02;
	margin: 0;
}

.byb-poll__description {
	font-size: .9em;
	line-height: 1.45;
	margin: .45rem 0 0;
	max-width: 44rem;
	opacity: .78;
}

.byb-poll__status,
.byb-poll__allowance {
	font-size: .85em;
	line-height: 1.4;
	margin: .6rem 0;
	padding: 0;
}

.byb-poll__status--success {
	font-weight: 650;
}

.byb-poll__options {
	border: 0;
	display: grid;
	gap: .45rem;
	margin: .75rem 0;
	min-width: 0;
	padding: 0;
}

.byb-poll__option {
	align-items: stretch;
	background: var(--byb-option-bg);
	border: 1px solid var(--byb-border);
	border-radius: var(--byb-radius);
	color: var(--byb-option-text);
	cursor: pointer;
	display: flex;
	overflow: hidden;
	position: relative;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.byb-poll__option:hover {
	border-color: color-mix(in srgb, var(--byb-accent) 65%, var(--byb-border));
	transform: translateY(-1px);
}

.byb-poll__options:disabled .byb-poll__option,
.byb-poll__form[data-can-vote="0"] .byb-poll__option {
	cursor: default;
}

.byb-poll__options:disabled .byb-poll__option:hover,
.byb-poll__form[data-can-vote="0"] .byb-poll__option:hover {
	transform: none;
}

.byb-poll__option.is-selected {
	border-color: var(--byb-accent);
	box-shadow: 0 0 0 1px var(--byb-accent);
}

.byb-poll__option-image {
	aspect-ratio: 4 / 3;
	flex: 0 0 64px;
	max-width: 64px;
	object-fit: cover;
}

.byb-poll__option-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: .75rem .85rem;
}

.byb-poll__choice-row {
	align-items: center;
	display: flex;
	gap: .75rem;
	min-width: 0;
}

.byb-poll__choice-row input[type="radio"] {
	accent-color: var(--byb-accent);
	flex: 0 0 auto;
	height: 1.15rem;
	margin: 0;
	width: 1.15rem;
}

.byb-poll__option-label {
	font-size: .95em;
	font-weight: 700;
	line-height: 1.3;
	min-width: 0;
}

.byb-poll__count {
	font-size: .86em;
	font-variant-numeric: tabular-nums;
	margin-left: auto;
	opacity: .72;
	white-space: nowrap;
}

.byb-poll__meter {
	background: rgba(255, 255, 255, .12);
	border-radius: 999px;
	display: block;
	height: 5px;
	margin-top: .75rem;
	overflow: hidden;
	width: 100%;
}

.byb-poll__meter > span {
	background: var(--byb-accent);
	border-radius: inherit;
	display: block;
	height: 100%;
	min-width: 0;
	transition: width 400ms ease;
}























.byb-poll__option:has(input:focus-visible) {
	outline: 3px solid color-mix(in srgb, var(--byb-accent) 45%, transparent);
	outline-offset: 3px;
}

.byb-poll__feedback {
	font-weight: 650;
	margin: .85rem 0 0;
	font-size: .85em;
}

.byb-poll__feedback.is-error {
	color: #ff8f8f;
}

.byb-poll__feedback.is-success {
	color: var(--byb-accent);
}

.byb-poll__total {
	font-size: .84em;
	margin: 1rem 0 0;
	opacity: .68;
}

.byb-poll--notice {
	border: 1px dashed currentColor;
	opacity: .75;
}

@media (max-width: 520px) {
	.byb-poll__current-image {
		flex-basis: 64px;
		max-width: 64px;
	}
	.byb-poll__option-image {
		flex-basis: 56px;
	}
	.byb-poll__option-main {
		padding: .85rem;
	}
	.byb-poll__count {
		font-size: .76em;
	}
	
}

@media (prefers-reduced-motion: reduce) {
	.byb-poll *,
	.byb-poll *::before,
	.byb-poll *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

.byb-poll__feedback:empty { margin: 0; }
.byb-poll__option-label, .byb-poll__current-copy, .byb-poll__title { overflow-wrap: anywhere; }
.byb-poll__current-copy { min-width: 0; }



.byb-poll[aria-busy="true"] .byb-poll__option { cursor: wait; opacity: .65; }
