/* Illustrated poll cards. Real HTML controls and accessible native result meters. */
.poll-card
{
	margin: 0 48px 48px;
	border: 1px solid var(--ink);
	border-radius: 9px;
	overflow: hidden;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 5px 0 #352b2329;
}

.poll-banner
{
	padding: 16px 28px 28px;
	background: linear-gradient(to top,var(--green) 0 6px,var(--paper) 6px 7px,var(--yellow) 7px 15px,transparent 15px),var(--rust);
	color: #fff5df;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 700;
	letter-spacing: 2px;
}

.poll-layout
{
	display: grid;
	grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr);
	padding: 30px;
	gap: 32px;
	background-image: radial-gradient(#352b2309 .6px,transparent .7px);
	background-size: 7px 7px;
}

.poll-visual
{
	min-width: 0;
	align-self: center;
}

.poll-illustration
{
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: contain;
	mix-blend-mode: normal;
	border: 0;
}

.poll-visual h2
{
	font-size: clamp(28px,3.2vw,42px);
	letter-spacing: -1px;
	line-height: 1.1;
	margin: 16px 0 12px;
}

.poll-visual p
{
	font-size: 15px;
	margin: 0;
	line-height: 1.6;
}

.poll-body
{
	min-width: 0;
	border-left: 1px solid #352b2330;
	padding-left: 32px;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.poll-card .poll-question
{
	font-size: clamp(27px,3.1vw,39px);
	line-height: 1.15;
	letter-spacing: -.7px;
	margin: 0 0 20px;
	overflow-wrap: anywhere;
}

.poll-body fieldset
{
	padding: 0;
	border: 0;
	margin: 0 0 20px;
	min-width: 0;
}

.poll-card .poll-option
{
	border: 1px solid #352b2355;
	background: #fff9ebc9;
	min-height: 54px;
	border-radius: 4px;
	margin: 10px 0;
	padding: 13px;
	gap: 12px;
}

.poll-card .poll-option input[type=radio]
{
	display: block;
	appearance: auto;
	width: 20px;
	height: 20px;
	min-width: 20px;
	flex: 0 0 20px;
	padding: 0;
	margin: 0;
	accent-color: var(--rust);
}

.poll-card .poll-option:has(input:checked)
{
	border-color: var(--rust);
	background: #f0d89e;
	box-shadow: inset 3px 0 0 var(--rust);
}

.poll-card .option-letter { font-size: 20px; }

.poll-card .poll-help
{
	font-size: 12px;
	line-height: 1.6;
	margin: 18px 0 0;
	color: #655746;
}

.poll-card .voted-note
{
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--green);
}

.poll-card .poll-results { margin-top: 12px; }
.poll-card .poll-result { margin: 24px 0; }

.poll-card .poll-result p
{
	font-size: 16px;
	line-height: 1.5;
	gap: 14px;
	margin-bottom: 9px;
	align-items: center;
}

.poll-result-label
{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
	overflow-wrap: anywhere;
}

.poll-result p>b { flex-shrink: 0; }

.poll-card .poll-pick
{
	display: inline-block;
	border: 1px solid #a96a16;
	background: #f4e2b8;
	border-radius: 15px;
	padding: 2px 9px;
	font-size: 12px;
	white-space: nowrap;
	font-weight: 700;
}

.poll-card .poll-result meter
{
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	height: 24px;
	border: 1px solid var(--green);
	border-radius: 5px;
	overflow: hidden;
	background: #ede3ca;
}

.poll-card .poll-result meter::-webkit-meter-bar
{
	height: 100%;
	border: 0;
	border-radius: 3px;
	background: #ede3ca;
	box-shadow: none;
}

.poll-card .poll-result meter::-webkit-meter-optimum-value
{
	background: var(--yellow);
	border-radius: 3px;
}

.poll-card .poll-result meter::-moz-meter-bar
{
	background: var(--yellow);
	border-radius: 3px;
}

.poll-card .poll-result:nth-of-type(even) meter::-webkit-meter-optimum-value { background: var(--green); }
.poll-card .poll-result:nth-of-type(even) meter::-moz-meter-bar { background: var(--green); }

.poll-card .notice
{
	font-size: 14px;
	margin: 0 0 16px;
}

.poll-artwork-form
{
	border-top: 1px solid #352b2333;
	padding-top: 16px;
	margin-top: 24px;
}

.poll-admin-art
{
	display: block;
	width: 180px;
	height: 180px;
	object-fit: contain;
	margin: 12px 0;
	mix-blend-mode: normal;
}

@media (max-width:1000px)
{
	.poll-layout
	{
		padding: 24px;
		gap: 24px;
	}
	
	.poll-body { padding-left: 24px; }
	.poll-visual h2 { font-size: 32px; }
}

@media (max-width:760px)
{
	.poll-card { margin: 0 23px 34px; }
	
	.poll-banner
	{
		padding: 13px 20px 25px;
		font-size: 10px;
		letter-spacing: 1.6px;
	}
	
	.poll-layout
	{
		display: flex;
		flex-direction: column;
		padding: 22px;
		gap: 20px;
	}
	
	.poll-visual
	{
		text-align: center;
		width: 100%;
	}
	
	.poll-illustration
	{
		width: 156px;
		height: 156px;
		max-width: 100%;
		margin: 0 auto;
	}
	
	.poll-visual h2
	{
		font-size: 28px;
		margin: 10px 0 7px;
	}
	
	.poll-visual p { font-size: 14px; }
	
	.poll-body
	{
		border-left: 0;
		border-top: 1px solid #352b2333;
		padding: 22px 0 0;
	}
	
	.poll-card .poll-question
	{
		font-size: 28px;
		letter-spacing: -.5px;
		margin-bottom: 18px;
	}
	
	.poll-card .poll-result p { font-size: 15px; }
	.poll-card .voted-note { font-size: 15px; }
	.poll-card .poll-result meter { height: 22px; }
	.poll-card .poll-results { margin-top: 8px; }
}

@media (max-width:380px)
{
	.poll-card
	{
		margin-left: 14px;
		margin-right: 14px;
	}
	
	.poll-layout { padding: 18px; }
	.poll-card .poll-question { font-size: 25px; }
}