/* vote.dad-look.com - DNN Election Night: DNN's navy and red, Yes in coral and No in grey */
body { margin: 0; background: #f2f4f8; color: #0c0c0c; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #2f6fb8; outline-offset: 2px; }
.vt-small { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #6e6e6e; }
.vt-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #e2252f; }

/* Masthead, projection and ticker, as on DNN */
.vt-header { background: #0a1a33; color: #ffffff; }
.vt-header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; }
.vt-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.vt-logo-box { background: #ffffff; color: #0a1a33; font-weight: 900; font-size: 26px; letter-spacing: -0.04em; padding: 4px 10px; border-radius: 4px; }
.vt-logo-text { font-size: 11px; line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #c9d3e3; }
.vt-show { flex: 1; margin: 0; font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.vt-live { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.vt-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #e2252f; }
.vt-projection { background: #e2252f; color: #ffffff; }
.vt-projection-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vt-projection-label { background: #ffffff; color: #e2252f; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; }
.vt-projection-text { font-size: 20px; font-weight: 900; }
.vt-ticker { background: #0c0c0c; color: #ffffff; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.vt-ticker-track { display: inline-flex; }
.vt-ticker ul { margin: 0; padding: 8px 0; list-style: none; display: inline-flex; }
.vt-ticker li { padding: 0 22px; border-right: 1px solid #444444; }

/* The race */
.vt-page { max-width: 1200px; margin: 0 auto; padding: 28px 20px 0; display: flex; flex-direction: column; gap: 24px; }
.vt-race { padding: 28px; background: #ffffff; border-top: 6px solid #0a1a33; box-shadow: 0 2px 10px rgba(10, 26, 51, 0.08); }
.vt-race h1 { margin: 0 0 22px; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; }
.vt-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vt-side { padding: 18px 20px; border-radius: 8px; }
.vt-yes { background: #fff0ef; }
.vt-no { background: #f0f2f6; text-align: right; }
.vt-choice { margin: 0; font-size: 20px; font-weight: 900; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.vt-no .vt-choice { justify-content: flex-end; }
.vt-check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #0a1a33; color: #ffffff; font-size: 15px; }
.vt-percent { margin: 4px 0 0; font-size: clamp(54px, 10vw, 96px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.vt-yes .vt-percent { color: #d9524e; }
.vt-no .vt-percent { color: #6b7385; }
.vt-count { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: #3a3a3a; }
.vt-bar { display: flex; height: 22px; margin-top: 16px; border-radius: 4px; overflow: hidden; background: #e6e9ef; }
.vt-bar-yes { background: #ec6e6a; transition: width 0.8s ease; }
.vt-bar-no { background: #a3abbb; transition: width 0.8s ease; }
.vt-reporting { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #3a3a3a; }
.vt-money { margin-top: 24px; padding: 18px 20px; border: 2px dashed #0a1a33; border-radius: 8px; }
.vt-money-label { margin: 0; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: #0a1a33; }
.vt-money-value { margin: 4px 0 10px; font-size: 32px; font-weight: 900; }
.vt-money-value small { font-size: 16px; font-weight: 700; color: #6e6e6e; }
.vt-money-bar { height: 12px; border-radius: 6px; background: #e6e9ef; overflow: hidden; }
.vt-money-bar span { display: block; height: 100%; background: #2e9e6b; }

/* Ballot */
.vt-ballot { padding: 26px 28px; background: #0a1a33; color: #ffffff; }
.vt-ballot h2 { margin: 0; font-size: 28px; }
.vt-ballot > p { margin: 6px 0 18px; color: #c9d3e3; }
.vt-ballot-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vt-vote { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 20px; border: 2px solid #ffffff; border-radius: 8px; background: #ffffff; color: #0c0c0c; font: inherit; font-size: 19px; font-weight: 900; text-align: left; cursor: pointer; }
.vt-vote:hover { background: #fff0ef; }
.vt-vote-no:hover { background: #f0f2f6; }
.vt-box { flex: none; width: 28px; height: 28px; border: 3px solid #0c0c0c; border-radius: 4px; }
.vt-vote.is-marked .vt-box { background: linear-gradient(45deg, transparent 44%, #0c0c0c 44%, #0c0c0c 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #0c0c0c 44%, #0c0c0c 56%, transparent 56%); }
.vt-voted { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 4px; }
/* The sticker card is 1080x1350 with the sticker centred at 540,700; show only a 760px square around it */
.vt-sticker { display: block; width: 200px; height: 200px; overflow: hidden; border-radius: 50%; transform: rotate(-4deg); }
.vt-sticker img { display: block; width: 284px; height: auto; margin: -84px 0 0 -42px; }
.vt-voted-title { margin: 0 0 6px; font-size: 24px; font-weight: 900; }
.vt-voted p { color: #c9d3e3; line-height: 1.5; }
.vt-button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #ec6e6a; color: #ffffff; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.vt-button:hover { background: #d95450; }
.vt-status { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #8fe39b; }
.vt-status:empty { display: none; }

/* Panels */
.vt-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.vt-stack { display: flex; flex-direction: column; gap: 24px; }
.vt-panel { padding: 22px 24px; background: #ffffff; box-shadow: 0 2px 10px rgba(10, 26, 51, 0.08); }
.vt-panel h2 { margin: 0; padding-bottom: 6px; border-bottom: 3px solid #0c0c0c; font-size: 18px; font-weight: 900; text-transform: uppercase; }
.vt-countries { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.vt-countries li { position: relative; display: flex; flex-direction: column; padding: 10px 12px; border-radius: 6px; background: #f2f4f8; color: #6e6e6e; }
.vt-countries li.is-yes { background: #ec6e6a; color: #ffffff; }
.vt-countries li.is-no { background: #6b7385; color: #ffffff; }
.vt-countries li.is-you { box-shadow: 0 0 0 3px #0a1a33; }
.vt-code { font-size: 20px; font-weight: 900; }
.vt-cname { font-size: 13px; font-weight: 700; }
.vt-cresult { font-size: 12px; }
.vt-you { position: absolute; top: 8px; right: 8px; padding: 1px 6px; border-radius: 4px; background: #0a1a33; color: #ffffff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.vt-swing { display: block; width: 100%; max-width: 320px; margin: 14px auto 0; }
.vt-needle { transform-origin: 110px 115px; transform: rotate(var(--angle)); }
.vt-exit { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vt-exit li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
.vt-exit b { font-variant-numeric: tabular-nums; }
.vt-exit i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #0a1a33 var(--w), #e6e9ef var(--w)); }
.vt-commentary { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; gap: 12px; }
.vt-commentary li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.5; }
.vt-commentary time { font-size: 13px; font-weight: 900; color: #e2252f; padding-top: 2px; }
.vt-concession blockquote { margin: 14px 0 0; font-size: 22px; font-style: italic; line-height: 1.4; }

/* Bottom */
.vt-bottom { max-width: 1200px; margin: 0 auto; padding: 48px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.vt-cta { padding: 40px 24px; background: #ffffff; border-top: 6px solid #e2252f; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.vt-cta h2 { margin: 0; font-size: 38px; line-height: 1.1; }
.vt-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; }
.vt-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.vt-cta-button:hover { background: #d95450; }
.vt-cta-arrow { display: inline-block; }
.vt-share { min-height: 48px; padding: 0 22px; border: 2px solid #0a1a33; border-radius: 999px; background: none; color: #0a1a33; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.vt-share:hover { background: #0a1a33; color: #ffffff; }
.vt-cta .vt-status { color: #2e7d32; }
.vt-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #6e6e6e; border-top: 1px solid #c9d3e3; padding-top: 14px; }

@media (max-width: 860px) {
	.vt-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.vt-header-inner { gap: 12px; padding: 8px 16px; }
	.vt-logo-text { display: none; }
	.vt-show { font-size: 16px; }
	.vt-projection-inner { padding: 10px 16px; }
	.vt-projection-text { font-size: 17px; }
	.vt-page { padding: 18px 12px 0; gap: 16px; }
	.vt-race, .vt-ballot, .vt-panel { padding: 20px 16px; }
	.vt-board { gap: 8px; }
	.vt-side { padding: 14px 12px; }
	.vt-choice { font-size: 16px; }
	.vt-money-value { font-size: 26px; }
	.vt-ballot-choices { grid-template-columns: minmax(0, 1fr); }
	.vt-voted { grid-template-columns: minmax(0, 1fr); justify-items: start; }
	.vt-sticker { width: 180px; height: 180px; }
	.vt-sticker img { width: 256px; margin: -76px 0 0 -38px; }
	.vt-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vt-commentary li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.vt-bottom { padding: 40px 12px; }
	.vt-cta h2 { font-size: 30px; }
	.vt-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.vt-live-dot { animation: vt-blink 1.2s ease-in-out infinite; }
	.vt-ticker-track { animation: vt-ticker 40s linear infinite; }
	.js .vt-projection-inner { animation: vt-slam 0.7s 0.3s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
	.vt-projection.is-new .vt-projection-inner { animation: vt-slam 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
	.js .vt-percent { animation: vt-rise 0.6s 0.2s ease both; }
	.js .vt-bar span { animation: vt-grow 1.2s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.vt-needle { transition: transform 1.2s cubic-bezier(0.3, 1.5, 0.5, 1); animation: vt-wobble 3s ease-in-out infinite; }
	.js .vt-countries li { animation: vt-rise 0.4s ease both; animation-delay: calc(var(--i, 0) * 30ms); }
	.vt-commentary li:last-child { animation: vt-rise 0.4s ease both; }
	.vt-vote.is-marked .vt-box { animation: vt-pop 0.3s ease; }
	.vt-voted:not([hidden]) .vt-sticker { animation: vt-stick 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
	.vt-cta-button { animation: vt-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.vt-cta-button:hover { transform: scale(1.02); }
	.vt-cta-arrow { animation: vt-nudge 1.1s ease-in-out infinite; }
}

@keyframes vt-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes vt-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vt-slam { 0% { opacity: 0; transform: scale(1.3); } 100% { opacity: 1; transform: none; } }
@keyframes vt-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes vt-grow { from { width: 0; } }
@keyframes vt-wobble { 0%, 100% { rotate: 0deg; } 50% { rotate: 3deg; } }
@keyframes vt-pop { 0% { transform: scale(0.6); } 100% { transform: none; } }
@keyframes vt-stick { 0% { opacity: 0; transform: scale(1.6) rotate(-20deg); } 100% { opacity: 1; transform: rotate(-4deg); } }
@keyframes vt-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes vt-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
