@font-face{font-family:MaraElectionChewy;src:url('https://images.marapets.com/games/bootleg/fonts/chewy-webfont.woff2?v=20260915-images-vm-1') format('woff2');font-display:swap}
.election-page{
	--ink:#20283a;
	--muted:#647086;
	--line:#d7deea;
	clear:both;
	margin:0 0 10px;
	color:var(--ink);
	line-height:1.35;
}
.election-page,.election-page *{box-sizing:border-box}
.election-page *{min-width:0}
.election-page img{display:block;max-width:100%;height:auto}
.manifesto-party-1{--party:#cf9a27;--party-dark:#2d2724;--party-soft:#fff4cf}
.manifesto-party-2{--party:#a865c7;--party-dark:#37244f;--party-soft:#f3e5fb}
.manifesto-party-3{--party:#b84b61;--party-dark:#532235;--party-soft:#fde4ea}
.party-name-link{color:inherit!important;text-decoration:none}
.party-name-link:hover{text-decoration:underline}
.party-name-link:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:2px}
.election-eyebrow,.pledge-kicker{
	display:block;
	font-weight:bold;
	text-transform:uppercase;
	letter-spacing:.08em;
}
.election-eyebrow{color:#52658e}
.election-summary{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:5px 0 12px;padding:16px 14px 12px;overflow:hidden;border:1px solid var(--colour-line, #E8E8E8);border-radius:16px;background:var(--colour-surface, #fff);box-shadow:0 4px 18px var(--colour-shadow-soft, rgba(40,60,80,.10))}
.election-summary:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(to right,#6A9BF5,#3F72D8 48%,#2A55B5)}
.election-summary-disc{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:50%;background:var(--colour-surface-soft, #f9f9fa);box-shadow:0 0 0 2px var(--colour-ring, #fff),0 0 0 3px #3F72D8;line-height:1}
.election-summary-disc img{width:48px;height:48px}
.election-summary-copy{display:flex;flex:1 1 200px;flex-direction:column;gap:2px;min-width:0}
.election-summary-copy b{font-weight:800;line-height:1.2}
.election-summary-copy span{color:var(--colour-text-faint, #727272)}
.election-summary-tiles{display:flex;gap:8px}
.election-summary-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:80px;height:58px;padding:4px 12px;border:1px solid var(--colour-btn-glass-border, rgba(159,170,179,.78));border-radius:9px;background:linear-gradient(145deg,var(--colour-btn-glass-top, rgba(248,248,249,.9)),var(--colour-btn-glass-bottom, rgba(232,232,232,.94)));box-shadow:0 2px 5px rgba(30,42,54,.13),inset 0 1px 0 var(--colour-shine, rgba(255,255,255,.96))}
.election-summary-tile span{font-weight:700;color:var(--colour-text-faint, #727272)}
.election-summary-tile b{font-weight:800;line-height:1.15;color:var(--colour-text, #333);font-variant-numeric:tabular-nums}
.election-voted{position:relative;display:flex;align-items:flex-start;gap:14px;margin:0 0 12px;padding:16px 14px 12px;overflow:hidden;border:1px solid var(--colour-line, #E8E8E8);border-radius:16px;background:var(--colour-surface, #fff);box-shadow:0 4px 18px var(--colour-shadow-soft, rgba(40,60,80,.10))}
.election-voted:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(to right,var(--colour-good, #2FC997),var(--colour-good-strong, #0B7A58))}
.election-voted-tick{display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:50%;background:#dff5ea;color:var(--colour-good-strong, #0B7A58);box-shadow:0 0 0 2px var(--colour-ring, #fff),0 0 0 3px var(--colour-good, #2FC997);line-height:1}
.election-voted-copy{flex:1;min-width:0}
.election-voted-copy>b{font-weight:800;line-height:1.2}
.election-voted .election-eyebrow{margin-top:8px;color:var(--colour-good-strong, #0B7A58)}
.election-voted-next{margin:4px 0 0;padding-left:20px;color:#3f4757;line-height:1.45}
.election-voted-next li{margin:3px 0}



.party-showcase{
	position:relative;
	margin:28px 0 10px;
	padding:32px 8px 8px;
	border:1px solid #decdb7;
	border-radius:15px 15px 9px 9px;
	background:var(--colour-surface, #fff);
}
.party-showcase-heading{
	position:absolute;
	z-index:4;
	top:-22px;
	left:50%;
	width:min(440px,calc(100% - 72px));
	margin:0;
	padding:8px 45px 9px;
	transform:translateX(-50%);
	clip-path:polygon(7% 0,93% 0,93% 15%,100% 24%,94% 100%,6% 100%,0 24%,7% 15%);
	background:linear-gradient(180deg,#f6ddc5,#e9bea0);
	color:#302438;
	box-shadow:inset 0 0 0 1px rgba(139,91,60,.24),0 3px 5px rgba(83,51,31,.16);
	font:700 24px/1.1 Georgia,serif;
	letter-spacing:.035em;
	text-align:center;
	text-transform:uppercase;
}
.party-showcase-heading:before,.party-showcase-heading:after{content:"\2605";position:absolute;top:50%;color:#b78339;font:16px/1 Arial,sans-serif;transform:translateY(-50%)}
.party-showcase-heading:before{left:13%}
.party-showcase-heading:after{right:13%}
.party-primer{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:0;
	overflow:hidden;
	margin:0;
	border:1px solid rgba(133,105,79,.18);
	border-radius:11px;
	background:var(--colour-surface, #fff);
}
.party-introduction{
	position:relative;
	display:flex;
	flex-direction:column;
	align-items:center;
	min-height:385px;
	padding:49px 12px 13px;
	overflow:hidden;
	border-right:1px solid rgba(119,88,66,.13);
	background:
		radial-gradient(circle at 19% 25%,var(--party) 0 2px,transparent 2.5px),
		radial-gradient(circle at 82% 38%,var(--party) 0 1.5px,transparent 2px),
		linear-gradient(180deg,rgba(255,255,255,.34),transparent 32%),
		var(--party-soft);
}
.party-introduction:last-child{border-right:0}
.party-introduction:before,.party-introduction:after{content:"\2726";position:absolute;color:var(--party);opacity:.72;font-size:15px}
.party-introduction:before{left:9%;top:94px}
.party-introduction:after{right:8%;top:142px}
.party-crest{
	position:absolute;
	z-index:2;
	top:8px;
	left:50%;
	width:126px;
	height:118px;
	transform:translateX(-50%);
}
.party-crest:before,.party-crest:after{
	content:"";
	position:absolute;
	top:11px;
	width:35px;
	height:74px;
	border:4px dotted var(--party);
	border-top-color:transparent;
	border-bottom-color:transparent;
	border-radius:50%;
	opacity:.68;
}
.party-crest:before{left:2px;transform:rotate(-12deg)}
.party-crest:after{right:2px;transform:rotate(12deg)}
.party-shield{
	position:absolute;
	z-index:2;
	top:0;
	left:50%;
	display:grid;
	place-items:center;
	width:75px;
	height:78px;
	transform:translateX(-50%);
	clip-path:polygon(50% 0,93% 13%,88% 67%,50% 100%,12% 67%,7% 13%);
	border:0;
	background:linear-gradient(135deg,rgba(255,255,255,.65),transparent 34%),var(--party);
	color:var(--colour-text-on-accent, #fff);
	filter:drop-shadow(0 0 0 #fff) drop-shadow(0 2px 2px rgba(72,42,23,.25));
}
.party-shield:before{
	content:"";
	position:absolute;
	inset:5px;
	clip-path:inherit;
	border:2px solid rgba(255,255,255,.86);
}
.party-crest-ribbon{
	position:absolute;
	z-index:3;
	left:50%;
	top:70px;
	width:116px;
	height:25px;
	transform:translateX(-50%);
	clip-path:polygon(0 16%,17% 24%,17% 0,83% 0,83% 24%,100% 16%,94% 100%,71% 77%,29% 77%,6% 100%);
	background:linear-gradient(180deg,rgba(255,255,255,.22),transparent),var(--party);
	filter:drop-shadow(0 2px 1px rgba(55,31,18,.18));
}
.party-emblem{position:relative;z-index:2;display:block;color:var(--colour-text-on-accent, #fff)}
.manifesto-party-1 .party-emblem{color:#3e2b16}
.party-emblem-shop{width:28px;height:29px;margin-top:2px;border:4px solid currentColor;border-radius:3px 3px 6px 6px}
.party-emblem-shop:before{content:"";position:absolute;left:4px;top:-14px;width:12px;height:12px;border:4px solid currentColor;border-bottom:0;border-radius:10px 10px 0 0}
.party-emblem-shop:after{content:"\2665";position:absolute;inset:1px 0 0;text-align:center;font:17px/1.2 Georgia,serif}
.party-emblem-training,.party-emblem-training:before{width:37px;height:6px;border:0;border-left:7px solid currentColor;border-right:7px solid currentColor;border-radius:2px;background:currentColor}
.party-emblem-training{transform:rotate(42deg)}
.party-emblem-training:before{content:"";position:absolute;left:-7px;top:0;transform:rotate(96deg)}
.party-emblem-education{width:34px;height:27px;border-bottom:3px solid currentColor}
.party-emblem-education:before,.party-emblem-education:after{content:"";position:absolute;top:0;width:16px;height:24px;border:2px solid currentColor;background:rgba(255,255,255,.14)}
.party-emblem-education:before{left:0;border-radius:3px 0 1px 5px;transform:skewY(8deg)}
.party-emblem-education:after{right:0;border-radius:0 3px 5px 1px;transform:skewY(-8deg)}
.party-portrait-frame{
	position:relative;
	z-index:1;
	width:min(158px,88%);
	margin:41px auto 18px;
	padding:5px;
	border:2px solid var(--party);
	border-radius:10px;
	background:var(--colour-surface, #fff);
	box-shadow:0 3px 8px rgba(58,37,24,.14);
}
.party-portrait-frame img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:6px;background:var(--party-soft)}
.party-minister-ribbon{
	position:absolute;
	left:50%;
	bottom:-14px;
	width:calc(100% + 24px);
	padding:5px 7px;
	transform:translateX(-50%);
	clip-path:polygon(0 12%,11% 20%,11% 0,89% 0,89% 20%,100% 12%,95% 100%,73% 78%,27% 78%,5% 100%);
	background:var(--party);
	color:var(--colour-text-on-accent, #fff);
	font-weight:bold;
	letter-spacing:.035em;
	text-align:center;
	text-transform:uppercase;
	white-space:nowrap;
}
.manifesto-party-1 .party-minister-ribbon{color:#332300}
.party-summary-copy{display:flex;flex:1;flex-direction:column;align-items:center;width:100%;padding:0 2px;text-align:center}
.party-summary-copy h3{margin:3px 0 7px;color:var(--party-dark);font:700 22px/1.05 Georgia,serif;text-transform:uppercase}

.category-board{display:grid;gap:8px}
.benefit-category{
	overflow:hidden;
	border:1px solid var(--line);
	border-radius:9px;
	background:var(--colour-surface, #fff);
}
.benefit-category>.benefit-head{padding:8px 10px;background:#252c46;color:var(--colour-text-on-accent, #fff)}
.benefit-category>.benefit-head span{font-weight:bold;text-transform:uppercase;letter-spacing:.08em}
.benefit-category>.benefit-head h2{margin:1px 0 0;line-height:1.1}
.category-parties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.category-party{
	padding:4px;
	border-top:5px solid var(--party);
	border-right:1px solid var(--line);
	background:var(--party-soft);
}
.category-party:last-child{border-right:0}
.category-party-title{margin:-4px -4px 6px;padding:8px 6px;border-bottom:1px solid var(--party);background:var(--colour-surface, #fff);color:var(--party-dark);font-weight:bold;line-height:1.2;text-align:center}


.pledge-card{
	position:relative;
	display:flex;
	flex-direction:column;
	width:100%;
	margin:0 0 5px;
	overflow:hidden;
	border:1px solid #d8dee9;
	border-top:4px solid var(--party);
	border-radius:7px;
	background:rgba(255,255,255,.94);
	text-align:left;
}
.category-party .pledge-card:last-child{margin-bottom:0}
.pledge-card-copy{display:flex;flex:1;flex-direction:column;width:100%;padding:6px}
.pledge-card strong{line-height:1.18;overflow-wrap:break-word}
.pledge-kicker{margin-bottom:2px;color:var(--party-dark);line-height:1.15}
.pledge-head{display:block;grid-column:1/-1;padding:6px 8px;border-bottom:1px solid var(--colour-line-blue-soft, #e2e6ee);background:#f6f7f9;color:var(--party-dark);font-weight:bold;line-height:1.2;letter-spacing:.06em;text-transform:uppercase}
.pledge-info{display:block;margin-top:3px;color:var(--muted);line-height:1.28}
.pledge-when{display:block;margin-top:auto;padding-top:5px;color:#505a6d;font-weight:bold;line-height:1.2}
.pledge-offer{font-weight:bold}


.election-sheet .pledge-media-wide,
.benefit-category-wide .pledge-media-wide,
.benefit-category-wide .pledge-media-empty{
	display:grid;
	place-items:center;
	width:100%;
	min-height:0;
	aspect-ratio:5/2;
	background-color:#eef1f5;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
}
.election-page .pledge-card-wide .pledge-media-wide{
	position:relative;
	overflow:hidden;
	filter:saturate(.78) contrast(.9) brightness(1.04);
}
.election-page .pledge-card-wide .pledge-media-wide:after{
	content:"";
	position:absolute;
	inset:0;
	background:rgba(255,255,255,.16);
	pointer-events:none;
}
.pledge-shield-visual{position:relative;width:100%;isolation:isolate}
.election-perk-badge{
	--perk:#d9a92c;
	--perk-light:#e2b53c;
	--perk-dark:#c19017;
	position:absolute;
	z-index:4;
	left:0;
	right:0;
	bottom:-14px;
	display:flex;
	flex-direction:column;
	align-items:center;
	color:var(--colour-text-on-accent, #fff)!important;
	text-align:center;
	text-decoration:none!important;
}
.election-perk-silver{--perk:#aab6c2;--perk-light:#b9c4d0;--perk-dark:#8d9aa8}
.election-perk-bronze{--perk:#bd7f4f;--perk-light:#c98f5c;--perk-dark:#a2683c}
.election-perk-badge:before{
	content:"";
	position:absolute;
	z-index:-1;
	top:20px;
	left:50%;
	width:180px;
	height:2px;
	transform:translateX(-50%);
	background:var(--perk);
}
.election-perk-medal{
	display:flex;
	align-items:center;
	justify-content:center;
	width:43px;
	height:43px;
	margin:0 auto;
	border:3px solid var(--perk);
	border-radius:50%;
	background:radial-gradient(circle at 38% 30%,var(--colour-surface, #fff) 0%,#f4f4f4 55%,var(--colour-section-bg, #e8e8e8) 100%);
	box-shadow:0 0 0 3px var(--colour-ring, #fff),0 3px 6px rgba(0,0,0,.25);
}
.election-perk-medal img{width:auto!important;height:27px!important;max-width:30px!important;object-fit:contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.election-perk-label{
	display:block;
	min-width:104px;
	margin:4px auto 0;
	padding:3px 15px;
	clip-path:polygon(7% 0,93% 0,100% 50%,93% 100%,7% 100%,0 50%);
	background:linear-gradient(180deg,var(--perk-light),var(--perk-dark));
	color:var(--colour-text-on-accent, #fff);
	font-weight:bold;
	letter-spacing:1.2px;
	line-height:1.1;
	text-align:center;
	white-space:nowrap;
}
.pledge-shield-visual+.pledge-card-copy{padding-top:21px}


.benefit-category-square .pledge-card{
	display:grid;
	grid-template-columns:86px minmax(0,1fr);
	align-items:stretch;
}
.benefit-category-square .pledge-media,
.benefit-category-square .pledge-carousel{
	display:grid;
	place-items:center;
	align-self:center;
	width:80px;
	height:80px;
	min-height:0;
	aspect-ratio:1/1;
	margin:3px;
	overflow:hidden;
	border-radius:5px;
	background:var(--colour-surface, #fff);
}
.election-sheet .pledge-media-item img,
.benefit-category-square .pledge-media-item img,
.benefit-category-square .pledge-carousel img{
	width:80px;
	height:80px;
	max-width:100%!important;
	max-height:100%!important;
	object-fit:contain;
}
.pledge-carousel>*{max-width:100%!important}
.pledge-carousel-potions .election-potion-preview,
.pledge-carousel-potions .election-potion-carousel{
	width:100%;
	height:100%;
	min-width:0;
	margin:0;
	padding:0;
}
.pledge-carousel-potions .election-potion-carousel{
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
.pledge-carousel-potions .election-potion-carousel .carousel-slot{
	box-sizing:border-box;
	flex:0 0 100%!important;
	width:100%!important;
	height:100%;
	max-width:100%;
	margin:0;
	padding:2px;
	border:0;
	border-radius:0;
	background:transparent;
	box-shadow:none;
	transition:transform .75s ease,opacity .75s ease;
}
.pledge-carousel-potions .election-potion-carousel .carousel-slot:hover{
	transform:none;
	box-shadow:none;
}
.pledge-carousel-potions .election-potion-carousel .carousel-slot.animate-change{transform:scale(.985)}
.pledge-carousel-potions .election-potion-carousel .itemwidth,
.pledge-carousel-potions .election-potion-carousel .flex-table3{
	width:100%;
	height:100%;
	min-width:0;
	margin:0;
}
.pledge-carousel-potions .election-potion-carousel .carousel-slot .flex-table3{
	display:flex;
	align-items:center;
	justify-content:center;
	padding:0!important;
	border:0!important;
}
.pledge-carousel-potions .election-potion-carousel .flex-table3>.itempadding{display:none}
.benefit-category-square .pledge-carousel-potions .election-potion-carousel img.resizeimage{
	width:auto!important;
	height:auto!important;
	max-width:calc(100% - 4px)!important;
	max-height:calc(100% - 4px)!important;
	object-fit:contain;
}
.pledge-media-empty span{padding:3px;color:#778092;text-transform:uppercase}

.pledge-link{
	display:block;
	margin-top:5px;
	padding:6px 4px;
	border-radius:5px;
	background:var(--party-dark);
	color:var(--colour-text-on-accent, #fff)!important;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
}
.pledge-card[data-election-sheet]{cursor:pointer}
.pledge-more{display:block;margin:5px 0 0;padding:0;border:0;background:none;color:var(--party-dark);font-weight:bold;text-align:left;cursor:pointer}
.pledge-more:after{content:" \203A"}
.pledge-more:hover{text-decoration:underline}
.election-sheet .mara-player-list-window{width:min(460px,100%);max-width:460px}
.election-sheet .mara-player-list-headicon img{border-radius:50%;background:var(--colour-surface, #fff);object-fit:cover}
.election-sheet-art{display:flex;justify-content:center;padding:12px;background:#f4f6f9}
.election-sheet-wide{display:block;padding:0}
.election-sheet-shield{padding-bottom:16px}
.election-sheet-copy{padding:12px 16px 4px}
.election-sheet-copy p{margin:6px 0;line-height:1.45}
.election-sheet-when{display:block;color:#505a6d;font-weight:bold}
.election-sheet-copy .pledge-link{margin:10px 0 8px;padding:8px}
.election-sheet-perk{display:flex;align-items:center;gap:8px;margin:8px 0;padding:8px 10px;border:1px solid var(--colour-line-blue-soft, #e2e6ee);border-radius:8px;background:#fafbfc}
.election-sheet-perk>a{flex:none;white-space:nowrap;text-decoration:none}
.election-sheet-note{margin:8px 16px 14px;padding:9px 11px;border-left:4px solid var(--party);border-radius:6px;background:var(--party-soft);color:var(--party-dark)}
.election-sheet-others{padding:12px 16px 16px;border-top:1px solid #edf0f2;background:#fafbfc}
.election-sheet-others>span{display:block;margin-bottom:6px;color:var(--colour-text-soft, #65676b);font-weight:bold}
.election-sheet-other{display:block;box-sizing:border-box;width:100%;margin:0 0 6px;padding:8px 10px;border:1px solid var(--colour-line-blue-soft, #e2e6ee);border-left:4px solid var(--party);border-radius:6px;background:var(--colour-surface, #fff);color:var(--colour-heading, #22282e);text-align:left;cursor:pointer}
.election-sheet-other:hover{background:var(--party-soft)}
.election-sheet-other b{display:block;color:var(--party-dark)}
.election-sheet-other>span{display:block;margin-top:2px}

.anonymous-results,.staff-results{
	margin:8px 0;
	padding:9px;
	border:1px solid var(--line);
	border-radius:9px;
	background:var(--colour-surface, #fff);
}
.anonymous-results h2,.staff-results h2{margin:0 0 3px}
.anonymous-results>p,.staff-results>p{margin:0 0 7px;color:var(--muted)}
.result-line{display:grid;grid-template-columns:82px minmax(0,1fr) 42px;align-items:center;gap:6px;margin:5px 0}
.result-track{height:11px;overflow:hidden;border-radius:8px;background:#e7eaf0}
.result-fill{height:100%;border-radius:8px;background:linear-gradient(90deg,#6f7fa8,#adbad9)}
.result-line.staff-1 .result-fill{background:#cf9a27}
.result-line.staff-2 .result-fill{background:#a865c7}
.result-line.staff-3 .result-fill{background:#b84b61}

.bottom-ballot{
	margin:12px 0 5px;
	padding:11px;
	border:1px solid #cbd5e5;
	border-radius:10px;
	background:var(--colour-surface, #fff);
	color:var(--ink);
}
.bottom-ballot>.ballot-head{text-align:center}
.bottom-ballot>.ballot-head h2{margin:2px auto 4px;line-height:1.15}
.bottom-ballot>.ballot-head p{margin:0 auto 9px;color:var(--muted)}
.ballot-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:0 0 12px}
.ballot-steps span{display:inline-flex;align-items:center;gap:7px;color:#3f4757;font-weight:bold}
.ballot-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#533367;color:var(--colour-text-on-accent, #fff)}
.ballot-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.ballot-option{
	position:relative;
	display:grid;
	grid-template-columns:72px minmax(0,1fr);
	align-items:center;
	min-height:94px;
	overflow:hidden;
	border:2px solid var(--party);
	border-radius:8px;
	background:var(--party-soft);
	cursor:pointer;
}
.ballot-option input{position:absolute;right:6px;top:6px;width:20px;height:20px;margin:0;accent-color:var(--party)}
.ballot-option img{align-self:end;width:72px;height:90px;object-fit:contain;object-position:center bottom}
.ballot-option-copy{display:flex;flex-direction:column;padding:7px 28px 8px 4px}
.ballot-option-copy strong{line-height:1.12}
.ballot-option-count{margin-top:2px;color:#687287}
.ballot-mark{align-self:flex-start;margin-top:7px;padding:4px 11px;border:1.5px solid var(--party);border-radius:999px;background:var(--colour-surface, #fff);color:var(--party-dark);font-weight:bold;white-space:nowrap}
.ballot-mark-on{display:none}
.ballot-option:has(input:checked) .ballot-mark,.ballot-option-selected .ballot-mark{border-color:var(--party-dark);background:var(--party-dark);color:var(--colour-text-on-accent, #fff)}
.ballot-option:has(input:checked) .ballot-mark-off{display:none}
.ballot-option:has(input:checked) .ballot-mark-on{display:inline}
.ballot-options:has(input:checked) .ballot-option:not(:has(input:checked)),.ballot-options:has(.ballot-option-selected) .ballot-option:not(.ballot-option-selected){opacity:.55}
.ballot-option:has(input:checked),.ballot-option-selected{box-shadow:0 0 0 3px var(--party),0 4px 12px rgba(40,60,80,.18)}
.ballot-submit{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:9px;padding-top:9px;border-top:1px solid var(--colour-line-blue-soft, #e2e6ee)}
.ballot-submit p{margin:0;color:var(--muted);text-align:right}
.ballot-submit button{min-height:42px;padding:9px 18px;border:0;border-radius:7px;background:#283958;color:var(--colour-text-on-accent, #fff);font-weight:bold;cursor:pointer}
.ballot-receipt{margin:9px 0 0;padding-top:8px;border-top:1px solid var(--colour-line-blue-soft, #e2e6ee);text-align:center}


@media (max-width:1002px){
	.party-showcase{margin-top:25px;padding:29px 6px 6px}
	.party-showcase-heading{top:-20px;width:min(390px,calc(100% - 64px));font-size:21px}
	.party-introduction{min-height:350px;padding:43px 7px 10px}
	.party-crest{top:6px;width:108px;height:102px;transform:translateX(-50%) scale(.88);transform-origin:top center}
	.party-portrait-frame{width:min(140px,90%);margin-top:35px}
	.party-summary-copy h3{font-size:18px}
	.category-party{padding:3px}
	.benefit-category-square .pledge-card{grid-template-columns:72px minmax(0,1fr)}
	.benefit-category-square .pledge-media,
	.benefit-category-square .pledge-carousel{width:66px;height:66px}
	.pledge-card-copy{padding:5px}
}


@media (max-width:845px){
	.election-page{margin-bottom:6px}
	.benefit-category,.bottom-ballot{border-radius:7px}
	.party-showcase{border-radius:10px 10px 7px 7px}
	.category-board{gap:6px}
	.bottom-ballot{margin-top:10px}
}

@media (max-width:600px){
	.election-summary-tiles{width:100%}
	.election-summary-tile{flex:1 1 0}
	.election-voted{padding:14px 10px 10px;gap:10px}
	.election-voted-tick{width:44px;height:44px}
	.party-showcase{margin-top:22px;padding:25px 4px 4px}
	.party-showcase-heading{top:-17px;width:min(330px,calc(100% - 48px));padding:7px 35px;font-size:18px}
	.party-showcase-heading:before,.party-showcase-heading:after{font-size:12px}
	.party-introduction{min-height:306px;padding:36px 4px 8px}
	.party-introduction:before,.party-introduction:after{font-size:10px}
	.party-introduction:before{top:75px}
	.party-introduction:after{top:112px}
	.party-crest{top:4px;transform:translateX(-50%) scale(.68)}
	.party-portrait-frame{width:min(116px,92%);margin:24px auto 16px;padding:3px;border-width:1px;border-radius:7px}
	.party-portrait-frame img{border-radius:4px}
	.party-minister-ribbon{bottom:-11px;width:calc(100% + 15px);padding:4px 2px;letter-spacing:0;white-space:normal}
	.party-summary-copy{padding:0 1px}
	.party-summary-copy h3{margin:2px 0 5px;font-size:14px}
	.benefit-category>.benefit-head{padding:7px 8px}
	.pledge-card{border-top-width:3px;border-radius:5px}
	.pledge-card-copy{padding:4px 3px;text-align:center}
	.pledge-when{padding-top:4px}
	.election-perk-badge{bottom:-10px}
	.election-perk-badge:before{top:14px;width:132px}
	.election-perk-medal{width:31px;height:31px;border-width:2px;box-shadow:0 0 0 2px var(--colour-ring, #fff),0 2px 4px rgba(0,0,0,.22)}
	.election-perk-medal img{height:20px!important;max-width:22px!important}
	.election-perk-label{min-width:80px;margin:2px auto 0;padding:2px 9px;letter-spacing:.7px}
	.pledge-shield-visual+.pledge-card-copy{padding-top:15px}
	.benefit-category-square .pledge-card{display:flex;flex-direction:column}
	.benefit-category-square .pledge-media,
	.benefit-category-square .pledge-carousel{width:min(60px,calc(100% - 6px));height:auto;aspect-ratio:1/1;margin:3px auto}
	.ballot-options{grid-template-columns:1fr}
	.ballot-option{grid-template-columns:72px minmax(0,1fr);min-height:84px}
	.ballot-option img{height:80px}
	.ballot-option-copy{padding-left:6px;text-align:left}
	.ballot-submit{align-items:stretch;flex-direction:column;gap:7px}
	.ballot-submit p{text-align:center}
	.ballot-submit button{width:100%;min-height:46px}
}

@media (max-width:420px){
	.party-showcase{margin-top:19px;padding:21px 2px 2px;border-radius:7px}
	.party-showcase-heading{top:-14px;width:calc(100% - 38px);padding:6px 27px;font-size:15px}
	.party-showcase-heading:before{left:11%}
	.party-showcase-heading:after{right:11%}
	.party-primer{border-radius:5px}
	.party-introduction{min-height:278px;padding:29px 2px 6px}
	.party-crest{top:3px;transform:translateX(-50%) scale(.54)}
	.party-portrait-frame{width:min(92px,94%);margin-top:18px}
	.party-minister-ribbon{bottom:-9px;width:calc(100% + 9px)}
	.party-summary-copy h3{margin-top:1px;letter-spacing:-.02em}
	.category-party{padding:2px}
	.pledge-card{margin-bottom:3px}
	.election-perk-badge{bottom:-8px}
	.election-perk-badge:before{top:12px;width:108px;height:1px}
	.election-perk-medal{width:27px;height:27px}
	.election-perk-medal img{height:17px!important;max-width:19px!important}
	.election-perk-label{min-width:68px;letter-spacing:.4px}
	.pledge-shield-visual+.pledge-card-copy{padding-top:13px}
	.benefit-category-square .pledge-media,
	.benefit-category-square .pledge-carousel{width:min(54px,calc(100% - 4px));margin:2px auto}
	.bottom-ballot{padding:8px 6px}
}

@media (prefers-reduced-motion:reduce){.election-page *{transition:none!important}}

.election-page .party-showcase{margin-bottom:10px;border-color:var(--line);border-radius:12px;padding:30px 5px 5px}
.election-page .party-showcase-heading{font-family:MaraElectionChewy,Verdana,sans-serif;font-weight:normal}
.election-page .party-introduction{padding:0 6px 10px;min-height:0}
.election-page .party-portrait-frame{margin:7px auto 18px}
.election-page .party-summary-copy h3{font:23px/1.1 MaraElectionChewy,Verdana,sans-serif;text-transform:none;margin:2px 0 7px}
.election-page .benefit-head>span{display:none}
.election-page .benefit-head h2{font:20px/1.1 MaraElectionChewy,Verdana,sans-serif}
.election-page .category-board{gap:12px}
.election-page .category-parties{gap:8px;padding:8px;background:#eef1f5}
.election-page .category-party{padding:5px;overflow:hidden;border:1px solid var(--line);border-top:4px solid var(--party);border-radius:8px}
.election-page .category-party-title{margin:-5px -5px 6px}
.election-page .pledge-card{border-top:1px solid #d8dee9;margin-bottom:8px}
.election-page .pledge-card-wide .pledge-media-wide,.election-sheet .pledge-media-wide{filter:none;aspect-ratio:2.65/1}
.election-page .pledge-card-wide .pledge-media-wide:after{display:none}
.election-page .pledge-card-copy{padding:9px}
.election-page .pledge-shield-visual+.pledge-card-copy{padding-top:23px}
.election-page .pledge-info{color:#454154;font-weight:bold}
.election-page .pledge-when{font-weight:normal}
.election-page .election-perk-badge:before,.election-sheet .election-perk-badge:before{display:none}
.election-page .ballot-head h2{font:26px/1.1 MaraElectionChewy,Verdana,sans-serif;color:#493356}
.election-page .ballot-selection{text-align:center;margin:12px 0 0}
.election-page .is-picked{box-shadow:inset 0 0 0 3px var(--party)}
.election-page[data-recorded-vote="1"] [data-party]:not([data-party="1"]),.election-page[data-recorded-vote="2"] [data-party]:not([data-party="2"]),.election-page[data-recorded-vote="3"] [data-party]:not([data-party="3"]){opacity:.55}
.election-page .is-dimmed>*{opacity:.3;filter:grayscale(1)}
.election-page .category-party.is-dimmed{position:relative}
.election-page .category-party.is-dimmed:after{content:"Won't happen";position:absolute;z-index:3;top:46px;left:50%;transform:translateX(-50%) rotate(-6deg);padding:4px 10px;border:2px solid #b3261e;border-radius:6px;background:var(--colour-surface, #fff);color:#b3261e;font-weight:bold;white-space:nowrap}
.election-guide{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-left:5px solid var(--party);border-radius:8px;background:var(--colour-surface, #fff);color:var(--ink)}
.election-guide[hidden]{display:none}
.election-guide-buttons{display:flex;flex-wrap:wrap;gap:6px}
.election-guide-buttons button,.election-guide-buttons a{padding:7px 14px;border:0;border-radius:999px;background:var(--party-dark);color:var(--colour-text-on-accent, #fff)!important;font-weight:bold;text-decoration:none!important;cursor:pointer}
.election-page .ballot-submit button{max-width:100%;background:#533367}
.election-page .ballot-submit button:disabled{background:#e4e1e7;color:#65576d;cursor:default}
.election-page :focus-visible{outline:3px solid #325ed7;outline-offset:3px}
@media(max-width:600px){
	.election-page .party-showcase{padding:25px 3px 3px}
	.election-page .party-summary-copy h3{font-size:17px}
	.election-page .party-introduction{padding:0 4px 8px}
	.election-page .party-portrait-frame{width:88%;padding:3px}
	.election-page .party-minister-ribbon{letter-spacing:0;width:calc(100% + 12px)}
	.election-page .category-parties{gap:4px;padding:4px}
	.election-page .category-party{padding:3px}
	.election-page .category-party-title{display:flex;align-items:center;justify-content:center;min-height:46px;margin:-3px -3px 5px;padding:5px 3px}
	.election-page .pledge-head{padding:4px 3px;text-align:center}
	.election-page .pledge-card-copy{padding:5px}
	.election-page .pledge-card-wide .pledge-media-wide{aspect-ratio:1.5/1}
	.election-page .election-perk-medal{width:28px;height:28px;border-width:2px}
	.election-page .election-perk-medal img{height:19px!important}
	.election-page .election-perk-label{min-width:0;padding:3px 7px;letter-spacing:.4px}
	.election-page .ballot-options{grid-template-columns:repeat(3,minmax(0,1fr))}
	.election-page .ballot-option{display:flex;flex-direction:column;padding:8px 3px;min-height:0;text-align:center}
	.election-page .ballot-option input{position:static;margin:0 0 6px;flex:none}
	.election-page .ballot-option img{width:48px;height:48px;object-fit:cover;align-self:center;border-radius:4px}
	.election-page .ballot-option-copy{padding:6px 0 0;text-align:center}
	.election-page .ballot-mark{align-self:center}
}
@media(max-width:420px){
	.election-page .category-parties{gap:3px;padding:3px}
	.election-page .category-party{padding:2px}
	.election-page .category-party-title{margin:-2px -2px 5px}
	.election-page .pledge-card-copy{padding:5px 3px}
}
@media(max-width:340px){
	.election-page .election-perk-label{padding:3px 4px;letter-spacing:0}
	.election-page .category-party.is-dimmed:after{padding:3px 5px}
	.election-page .ballot-mark{padding:3px 6px;white-space:normal}
}
