:root {
  --brown: #4b0000;
  --deep-brown: #532400;
  --cream: #fff4d7;
  --bamboo: #b5d21a;
  --mushroom: #ffd101;
  --line: #8d6d64;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #ece9df; }
body {
  margin: 0;
  color: var(--brown);
  background: #ece9df;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-shell {
  width: 100%;
  max-width: 750px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 32px rgb(0 0 0 / 16%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-screen {
  position: relative;
  z-index: 100;
  width: 100%;
  aspect-ratio: 750 / 1334;
  overflow: hidden;
  background: linear-gradient(90deg, #8aba23 0 50%, #ffd101 50%);
}
body::after {
  content: "";
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
body.intro-is-leaving::after { opacity: 1; }
html.vote-flow-resuming body::after {
  opacity: 1;
  pointer-events: auto;
  background: var(--cream);
}
html.vote-flow-resuming body::before {
  content: "正在連接 LINE…";
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 50%;
  color: var(--brown);
  font-size: min(4.5vw, 22px);
  font-weight: 700;
  transform: translate(-50%, -50%);
}
html.vote-flow-resuming.vote-flow-sharing body::before { content: "正在開啟 LINE 好友分享…"; }
.intro-screen.is-leaving { pointer-events: none; }
.intro-bg, .intro-dec, .intro-party { position: absolute; }
.intro-bg { inset: 0; width: 100%; height: 100%; }
.intro-dec { z-index: 3; pointer-events: none; }
.intro-dec-one { right: 0px; top: 0%; width: 7%; }
.intro-dec-two { left: 0; top: 12%; width: 88.8%; }
.intro-dec-three { right: 0; top: 71%; width: 26.4%; }
.intro-party { z-index: 2; filter: drop-shadow(0 10px 8px rgb(52 26 0 / 18%)); animation: intro-party-float 3000ms var(--ease-in-out) infinite both; }
.intro-bamboo { left: 0%; top: 14%; width: 30.7%; }
.intro-mushroom { right: -0.4%; top: 77.3%; width: 30%; animation-name: intro-mushroom-float; animation-delay: -1500ms; }
@keyframes intro-party-float { 0%, 100% { transform: translateY(-3%); } 50% { transform: translateY(3%); } }
@keyframes intro-mushroom-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6%); } }
.intro-copy {
  position: absolute;
  z-index: 4;
  left: 18.8%;
  top: 41.5%;
  width: 62.4%;
  text-align: center;
  color: var(--brown);
  font-weight: 500;
  font-size: min(4vw, 30px);
  line-height: 1.5;
  letter-spacing: 2px;
  opacity: 0;
  animation: intro-copy-in 1800ms var(--ease-out) both;
}
@keyframes intro-copy-in { from { opacity: 0; } to { opacity: 1; } }
.intro-copy p { margin: 0 0 2.4em; }
.intro-skip {
  position: absolute;
  z-index: 5;
  left: 39.1%;
  top: 73.1%;
  width: 21.9%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.home-page { display: none; }
.home-page.is-ready { display: block; }
.hero-section, .manifesto-section, .poll-section, .invoice-section { position: relative; overflow: hidden; }

.hero-section {
  aspect-ratio: 750 / 1413;
  background: linear-gradient(90deg, var(--bamboo) 0 50%, var(--mushroom) 50%);
}
.hero-art { position: absolute; left: 0; top: 0; width: 100%; }
.hero-dec { position: absolute; z-index: 4; pointer-events: none; will-change: transform; animation: hero-dec-float 3000ms var(--ease-in-out) infinite both; }
.hero-dec-one { left: 6.8%; top: 32.8%; width: 9.5%; }
.hero-dec-two { right: 6.1%; top: 32.1%; width: 9.5%; animation-delay: -1500ms; }
@keyframes hero-dec-float { 0%, 100% { transform: translateY(-4%); } 50% { transform: translateY(4%); } }
.hero-nav { position: absolute; z-index: 20; left: 3.9%; top: 1.9%; width: 94%; }
.image-button { display: block; padding: 0; background: transparent; text-decoration: none; cursor: pointer; }
.image-button img { display: block; width: 100%; height: auto; }
.floating-actions {
  position: fixed;
  z-index: 90;
  right: max(10px, calc((100vw - 750px) / 2 + 10px));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(19.5vw, 146px);
  display: grid;
  gap: min(2vw, 15px);
  pointer-events: none;
}
.floating-action { width: 100%; pointer-events: auto; transform-origin: center; filter: drop-shadow(0 6px 6px rgb(64 44 0 / 25%)); transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), filter 120ms cubic-bezier(0.23, 1, 0.32, 1); }
.floating-action:active { transform: translateY(2px) scale(.96); filter: brightness(.94) drop-shadow(0 3px 3px rgb(64 44 0 / 20%)); }
.hero-cta {
  position: absolute;
  z-index: 6;
  left: 27.87%;
  top: 86.55%;
  width: 44.8%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.hero-cta img { display: block; width: 100%; }

.manifesto-section {
  aspect-ratio: 750 / 2050;
  background: linear-gradient(90deg, var(--bamboo) 0 50%, var(--mushroom) 50%);
}
.section-fill { position: absolute; inset: 0 auto auto 1.73%; width: 96.4%; height: auto; }
.manifesto-panel {
  position: absolute;
  inset: 0;
  top: -8%;
}
.party-tabs {
  position: absolute;
  z-index: 3;
  left: 12.5%;
  top: 31.7%;
  width: 74.8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.party-tab {
  position: relative;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.party-tab img { display: block; width: 100%; }
.party-tab.is-active::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 8%;
  width: 63.5%;
  aspect-ratio: 174 / 4;
  transform: translateX(-50%);
  background: url("../img/home/dash.png") center / 100% 100% no-repeat;
  pointer-events: none;
}
.party-tab[data-party="bamboo"].is-active {
  width: 100%;
  transform: translate(0, 0);
}
.party-tab[data-party="mushroom"].is-active {
  width: 100%;
  transform: translate(-1%, 0);
}
.party-tab:not(.is-active) {
  width: 95%;
}
.party-tab[data-party="bamboo"]:not(.is-active) {
  transform: translate(0%, -11.36%);
}
.party-tab[data-party="mushroom"]:not(.is-active) {
  transform: translate(4%, -11.36%);
}
.party-tab:disabled { cursor: default; pointer-events: none; }
.manifesto-card {
  position: absolute;
  left: 12.53%;
  top: 36%;
  width: 74.4%;
  aspect-ratio: 558 / 726;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  color: var(--brown);
}
.manifesto-texture { position: absolute; inset: 0 auto auto 0; display: block; width: 100%; height: auto; }
.manifesto-prize-panel {
  position: absolute;
  left: 12.53%;
  top: 68.81%;
  width: 74.4%;
  aspect-ratio: 558 / 550;
}
.manifesto-rope {
  position: absolute;
  z-index: 2;
  top: 65.87%;
  width: 1.07%;
}
.manifesto-rope-left { left: 15.2%; }
.manifesto-rope-right { right: 15.2%; }
.manifesto-prize { display: block; width: 100%; height: auto; }
.video-preview {
  position: absolute;
  left: 5.73%;
  top: 9.5%;
  width: 89.25%;
  aspect-ratio: 498 / 280;
  padding: 0;
  overflow: hidden;
  background: #130d08;
  border-radius: 14px;
  cursor: pointer;
}
.video-preview > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.64); }
.live-badge { position: absolute; right: 4%; top: 5%; padding: .12em .38em; color: white; background: red; border-radius: 4px; font-size: min(2.6vw, 18px); }
.play-button {
  position: absolute;
  left: 50%; top: 50%;
  width: 21%; aspect-ratio: 1.35;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: red;
}
.play-button::after {
  content: "";
  position: absolute;
  left: 42%; top: 29%;
  border-left: min(4vw, 30px) solid white;
  border-top: min(2.3vw, 17px) solid transparent;
  border-bottom: min(2.3vw, 17px) solid transparent;
}
.manifesto-card h2 { position: absolute; top: 54.8%; width: 100%; margin: 0; text-align: center; font-size: min(5vw, 35px); }
.manifesto-card > p { position: absolute; left: 8.9%; top: 66.8%; width: 82.2%; margin: 0; text-align: center; font-size: min(3.4vw, 25px); line-height: 1.5; font-weight: 500; }
.manifesto-card h2, .manifesto-card > p { transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1); }
.manifesto-card.is-changing h2, .manifesto-card.is-changing > p { opacity: 0; }
.carousel-controls { position: absolute; left: 12%; top: 85%; width: 76%; display: flex; align-items: center; justify-content: space-between; }
.arrow { width: 9%; padding: 0; background: transparent; cursor: pointer; }
.dots { width: 35%; display: flex; align-items: center; justify-content: space-around; }
.dots img { width: 18%; }
.live-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  color: white;
  background: var(--brown);
  border: min(.8vw, 6px) solid #93625d;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.manifesto-vote { position: absolute; left: 5.7%; bottom: 5.3%; width: 88.6%; }
.manifesto-prize-panel .manifesto-vote.image-button { display: block; }
.manifesto-vote, .invoice-button { transform-origin: center; transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), filter 120ms cubic-bezier(0.23, 1, 0.32, 1); }
.manifesto-vote:active, .invoice-button:active { transform: translateY(2px) scale(.98); filter: brightness(.94); }
.manifesto-vote:disabled,
.manifesto-vote.is-voted {
  opacity: .4;
  filter: grayscale(1);
  cursor: default;
  pointer-events: none;
}

.poll-section { z-index: 2; aspect-ratio: 750 / 1706; overflow: visible; background: var(--cream); }
.poll-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.poll-title { position: absolute; left: 15.3%; top: 11.3%; width: 69%; }
.poll-subtitle { position: absolute; left: 25.4%; top: 7.7%; width: 47.9%; }
.poll-info {
  position: absolute;
  left: 16.93%;
  top: 20.34%;
  width: 64.53%;
}
.poll-legend { position: absolute; z-index: 3; left: 6.13%; top: 31.89%; width: 20%; }
.taiwan-map { position: absolute; z-index: 2; left: 24%; top: 35%; width: 56.8%; height: 49.3%; }
.map-region {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-region .dynamic-map-svg, .map-region .dynamic-map-fallback { display: block; width: 100%; height: 100%; }
.city-labels { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.city-label {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: .28em .55em;
  color: var(--brown);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, var(--mushroom) 0 var(--mushroom-share, 50%), var(--bamboo) var(--mushroom-share, 50%) 100%) border-box;
  border: 4px solid transparent;
  border-radius: 8px;
  box-shadow: 0 5px 5px rgb(62 35 0 / 20%);
  font-size: min(2.75vw, 21px);
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}
.result-stage { --ratio: 32%; position: absolute; z-index: 5; left: 6.3%; top: 84.2%; width: 87.4%; height: 13.8%; overflow: visible; }
.result-bars {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 47%;
  overflow: hidden;
  border-radius: min(1.6vw, 12px);
  isolation: isolate;
}
.result-bars::before, .result-bars::after { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; width: min(1.07vw, 8px); }
.result-bars::before { left: 0; border-radius: min(1.6vw, 12px) 0 0 min(1.6vw, 12px); background: #8fb722; }
.result-bars::after { right: 0; border-radius: 0 min(1.6vw, 12px) min(1.6vw, 12px) 0; background: #f2c601; }
.result-segment {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  border-style: solid;
  border-width: min(1.07vw, 8px);
  border-radius: min(1.6vw, 12px);
  transform: skewX(-10.12deg);
  transform-origin: left top;
}
.result-segment::after { content: ""; position: absolute; inset: min(1.07vw, 8px); border-radius: 20px; background: rgb(255 255 255 / 3.5%); }
.bamboo-segment { z-index: 1; left: -3.06%; width: calc(var(--ratio) + 4.59%); border-color: #8fb722; background: linear-gradient(110deg, #98c225 0%, #a1c325 100%); }
.mushroom-segment { z-index: 2; right: -4.59%; left: calc(var(--ratio) + 4.28%); border-color: #f2c601; background: linear-gradient(110deg, #ffd101 0%, #ffcb1d 100%); }
.result-character { position: absolute; z-index: 1; bottom: 30%; transform: translateX(-50%); max-height: 62%; width: auto; }
.bamboo-character { left: 16%; }
.mushroom-character { left: 66%; }
.result-copy { position: absolute; z-index: 3; bottom: 6%; text-align: center; }
.bamboo-copy { left: 0; width: var(--ratio); }
.mushroom-copy { right: 0; left: var(--ratio); }
.result-copy span { display: block; font-size: min(2.7vw, 24px); font-weight: 700; }
.result-copy strong { display: block; font-size: min(6vw, 45px); line-height: 1; }
.poll-vs { position: absolute; z-index: 7; left: 50%; top: 86.6%; width: 12.1%; transform: translateX(-50%); }
.rope { position: absolute; z-index: 8; bottom: -1%; width: 1.07%; }
.rope-left { left: 9%; }
.rope-right { right: 9%; }

.invoice-section { z-index: 1; aspect-ratio: 750 / 721; background: var(--cream); }
.invoice-card { position: absolute; left: 6.13%; top: 0; width: 87.2%; aspect-ratio: 654 / 592; }
.invoice-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.invoice-prize { position: absolute; left: 12.4%; top: 8%; width: 72%; }
.invoice-card p { position: absolute; left: 11%; top: 37%; width: 78%; margin: 0; text-align: center; font-size: min(4.1vw, 31px); line-height: 1.38; font-weight: 600; }
.invoice-button { position: absolute; left: 7.4%; bottom: 7.4%; width: 85.5%; }

.overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
  background: rgb(0 0 0 / 68%);
}
.video-modal-card { position: relative; width: min(62vw, 465px, calc((100vh - 96px) * 9 / 16)); aspect-ratio: 9 / 16; overflow: visible; }
#videoModal { z-index: 400; align-items: center; }
.video-modal-card iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal-card .floating-close { right: 4px; top: -35px; width: min(9vw, 22px); }
.floating-close { position: absolute; z-index: 5; right: 7%; top: 3%; width: 5.6%; padding: 0; background: transparent; cursor: pointer; }
.vote-modal-card, .complete-modal-card { position: relative; width: min(87.2vw, 654px); flex: 0 0 auto; color: var(--brown); }
.vote-modal-card { container-type: inline-size; aspect-ratio: 654 / 1800; }
.vote-modal-content { position: absolute; z-index: 1; inset: 0; transform: translateY(-3%); }
.complete-modal-card { aspect-ratio: 654 / 1117; }
.modal-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.modal-bamboo, .modal-mushroom { position: absolute; top: 8.6%; }
.modal-bamboo { left: 22%; width: 11.3%; }
.modal-mushroom { right: 22%; width: 11.9%; }
.vote-stamp { position: absolute; left: 39%; top: 6.8%; width: 22%; }
.complete-stamp-stack { position: absolute; left: 39%; top: 6.8%; width: 22%; aspect-ratio: 1; }
.complete-stamp-base { width: 100%; height: 100%; }
.complete-stamp-mark { position: absolute; left: 50%; top: 50%; width: 66.67%; opacity: 0; transform: translate(-50%, -50%) scale(1.35) rotate(-7deg); }
#completeModal.is-stamped .complete-stamp-mark { animation: complete-stamp-in 500ms var(--ease-out) both; }
@keyframes complete-stamp-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.35) rotate(-7deg); }
  65% { opacity: 1; transform: translate(-50%, -50%) scale(.94) rotate(1deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}
.vote-title, .complete-title { position: absolute; left: 10%; top: 22%; width: 80%; text-align: center; }
.vote-title { left: 9.4%; top: 17.5%; width: 81.2%; }
.vote-title > img { width: 100%; height: auto; }
.vote-title h2, .complete-title h2 { margin: 0 0 .4em; font-size: min(7.5vw, 56px); line-height: 1.1; }
.vote-title p, .complete-title p { margin: 0; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: min(3.2vw, 24px); line-height: 1.33; font-weight: 700; }
.vote-title em { color: #0bbe37; font-style: normal; }
.vote-fields { position: absolute; left: 7.3%; top: 33%; width: 85.4%; display: grid; gap: 3.835cqw; }
.vote-field { display: grid; gap: 1.765cqw; min-width: 0; }
.vote-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5.364cqw; }
.vote-field-label { display: flex; align-items: center; min-height: 1.25em; color: #320000; font-size: 4.5cqw; line-height: 1.2; font-weight: 700; }
.vote-field-label em { margin-left: .12em; color: #e60012; font-style: normal; }
.vote-field-label small { margin-left: auto; color: #e60012; font-size: .8em; font-weight: 700; }
.vote-fields select, .vote-fields input:not([type="checkbox"]) { width: 100%; height: 10.786cqw; padding: 0 3.364cqw; color: #320000; -webkit-text-fill-color: #320000; caret-color: #320000; background: #fff; border: .7cqw solid #320000; border-radius: 1.529cqw; font-size: max(16px, 3.823cqw); font-weight: 500; opacity: 1; }
.vote-fields select { appearance: none; padding-right: 9.174cqw; background: #fff url("../img/popup/span_arrow.png") no-repeat calc(100% - 2.752cqw) center / 3.364cqw auto; }
.vote-fields select:required:invalid { color: #bfbfbf; -webkit-text-fill-color: #bfbfbf; }
.vote-fields select option { color: #320000; }
.vote-fields select option[value=""] { color: #bfbfbf; }
.vote-fields input::placeholder { color: #bfbfbf; -webkit-text-fill-color: #bfbfbf; opacity: 1; }
.vote-fields input:-webkit-autofill { -webkit-text-fill-color: #320000; caret-color: #320000; }
.vote-fields select.is-invalid, .vote-fields input:not([type="checkbox"]).is-invalid { border-color: #f00; }
.vote-fields input:not([type="checkbox"]).is-invalid { padding-right: 10.398cqw; background: #fff url("../img/popup/warn.png") no-repeat calc(100% - 2.294cqw) center / 5.505cqw auto; }
.consent-field { display: grid; grid-template-columns: 5.587cqw 1fr; align-items: start; gap: 3.2cqw; margin-top: 5cqw; color: #320000; font-size: 3.55cqw; line-height: 1.45; font-weight: 500; cursor: pointer; }
.consent-field input { appearance: none; display: grid; place-content: center; width: 5.587cqw; height: 5.587cqw; margin: .3em 0 0; background: #fff; border: .39cqw solid #320000; border-radius: .45cqw; }
.consent-field input::before { content: ""; width: 2.7cqw; height: 1.45cqw; border: solid #320000; border-width: 0 0 .55cqw .55cqw; opacity: 0; transform: translateY(-.25cqw) rotate(-45deg); }
.consent-field input:checked::before { opacity: 1; }
.consent-field:has(input.is-invalid) { color: #d80000; }
.consent-highlight { color: #0072ff; text-decoration: underline; text-underline-offset: .12em; }
.form-error { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vote-share { position: absolute; left: 7.3%; bottom: 5.2%; width: 85.4%; height: auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
.vote-share img { display: block; width: 100%; height: auto; }
.vote-delivery-notice { position: absolute; left: 7.3%; bottom: .2%; width: 85.4%; margin: 0; color: #320000; font-size: 3cqw; line-height: 1.45; font-weight: 500; letter-spacing: .12cqw; }
.validation-alert { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; padding: 8%; background: rgb(0 0 0 / 48%); border-radius: inherit; }
.validation-alert-card { width: 100%; padding: min(5vw, 38px); color: #320000; background: #fff8e8; border: 0; border-radius: min(3vw, 22px); text-align: center; box-shadow: 0 min(2vw, 15px) min(5vw, 38px) rgb(0 0 0 / 28%); }
.validation-alert-card strong { display: block; font-size: min(5vw, 38px); }
.validation-alert-card p { margin: .8em 0 1.2em; font-size: min(3.2vw, 24px); line-height: 1.55; font-weight: 700; }
.validation-alert-card button { min-width: 42%; padding: .65em 1.5em; color: white; background: #4b0000; border-radius: 999px; font-size: min(3.6vw, 27px); font-weight: 800; cursor: pointer; }

.complete-title { left: 22.6%; top: 22%; width: 54.7%; }
.complete-title > img { width: 100%; height: auto; }
.complete-prize { position: absolute; left: 7.3%; top: 43.2%; width: 85.4%; height: auto; overflow: hidden; border-radius: 14px; }
.complete-prize > img { width: 100%; height: auto; }
.complete-register { position: absolute; left: 7.3%; bottom: 6.7%; width: 85.4%; height: auto; padding: 0; border: 0; background: transparent; text-decoration: none; }
.complete-register img { width: 100%; height: auto; }

body.is-locked { overflow: hidden; }

@media (max-width: 750px) {
  .video-modal-card { width: min(87vw, 465px, calc((100vh - 96px) * 9 / 16)); }
  .city-label { border-width: 2px; border-radius: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dec { animation: hero-dec-breathe 3000ms var(--ease-in-out) infinite both; }
  .intro-party { animation: none; }
  .intro-copy { animation: intro-copy-in 200ms var(--ease-out) both; }
  body::after { transition-duration: 200ms; }
  .manifesto-card h2, .manifesto-card > p { transition: opacity 150ms cubic-bezier(0.23, 1, 0.32, 1); }
  .manifesto-card.is-changing h2, .manifesto-card.is-changing > p { transform: none; }
  .manifesto-vote, .invoice-button { transition: filter 120ms cubic-bezier(0.23, 1, 0.32, 1); }
  .manifesto-vote:active, .invoice-button:active { transform: none; }
  .floating-action { transition: filter 120ms cubic-bezier(0.23, 1, 0.32, 1); }
  .floating-action:active { transform: none; }
  @keyframes hero-dec-breathe { 0%, 100% { opacity: .94; } 50% { opacity: 1; } }
}
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 4px solid #09f; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  #completeModal.is-stamped .complete-stamp-mark { animation: complete-stamp-fade 200ms cubic-bezier(0.23, 1, 0.32, 1) both !important; }
}

@keyframes complete-stamp-fade {
  from { opacity: 0; transform: translate(-50%, -50%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
