:root {
  --ink: #171717;
  --ink-soft: #353535;
  --paper: #f7f7f3;
  --white: #ffffff;
  --acid: #dff65a;
  --violet: #8068f2;
  --coral: #ff735f;
  --blue: #5a9dff;
  --line: rgba(23, 23, 23, 0.14);
  --muted: #6c6c68;
  --shadow: 0 22px 60px rgba(20, 20, 20, 0.16);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  background: rgba(23, 23, 23, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

body.voting .site-header {
  grid-template-columns: 1fr;
}

body.voting .site-header .location-button,
body.voting .site-header .header-action {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: rotate(-8deg);
}

.location-button,
.header-action {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.location-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease;
}

.location-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.location-button small,
.location-button strong {
  display: block;
  line-height: 1.15;
}

.location-button small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

.location-button strong {
  margin-top: 2px;
  font-size: 0.86rem;
}

.location-pin {
  width: 12px;
  height: 12px;
  border: 2px solid var(--acid);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}

.header-action {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 750;
}

.header-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 99px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.78rem;
}

.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: 50px;
  padding: 70px max(28px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  left: -3%;
  bottom: -110px;
  width: 480px;
  height: 260px;
  border: 2px solid rgba(223, 246, 90, 0.42);
  border-radius: 50%;
  transform: rotate(10deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--violet);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-subtitle {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(223, 246, 90, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(223, 246, 90, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-wide {
  width: 100%;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-art {
  position: relative;
  min-height: 390px;
}

.hero-disc {
  position: absolute;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
}

.hero-disc-main {
  inset: 8% 4% auto auto;
  width: min(360px, 32vw);
  aspect-ratio: 1;
  background: var(--violet);
  box-shadow: inset -20px -24px 0 rgba(23, 23, 23, 0.12);
  transform: rotate(7deg);
}

.hero-disc-main::before,
.hero-disc-main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.34);
}

.hero-disc-main::before {
  inset: 18px;
}

.hero-disc-main::after {
  inset: 34px;
}

.hero-disc-main span,
.hero-disc-main strong {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-disc-main span {
  font-size: 1rem;
  font-weight: 700;
}

.hero-disc-main strong {
  margin-top: -2px;
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.09em;
}

.hero-disc-small {
  right: 2%;
  bottom: 1%;
  width: 104px;
  aspect-ratio: 1;
  background: var(--acid);
  color: var(--ink);
  font-size: 3.6rem;
  font-weight: 900;
  transform: rotate(12deg);
}

.hero-scribble {
  position: absolute;
  left: 0;
  bottom: 14%;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 6rem;
  transform: rotate(-20deg);
}

.hero-sticker {
  position: absolute;
  left: 8%;
  top: 5%;
  display: grid;
  place-content: center;
  width: 100px;
  aspect-ratio: 1;
  border-radius: 24% 76% 61% 39% / 53% 39% 61% 47%;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.discovery {
  max-width: 1300px;
  margin: 0 auto;
  padding: 84px 30px 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 40px;
  align-items: end;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.section-summary {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.03rem;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 240px 210px;
  gap: 12px;
  margin-top: 44px;
}

.search-box,
.select-box {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.search-box {
  padding: 0 18px;
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0.5;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  margin: 14px 0 0 -1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  min-height: 56px;
  padding: 0 0 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-box input::placeholder {
  color: #8b8b86;
}

.select-box select {
  width: 100%;
  min-height: 56px;
  padding: 0 44px 0 16px;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.select-box .chevron {
  position: absolute;
  right: 20px;
  pointer-events: none;
}

.date-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.date-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 750;
  cursor: pointer;
}

.date-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.results-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.demo-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 13px 16px;
  border: 1px solid rgba(128, 104, 242, 0.2);
  border-radius: 14px;
  background: rgba(128, 104, 242, 0.07);
  color: #51478a;
}

.demo-notice > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.demo-notice p {
  margin: 0;
  font-size: 0.88rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 18px;
  margin-top: 30px;
}

.event-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.1);
}

.event-card.selected {
  border-color: var(--violet);
  box-shadow: 0 0 0 2px var(--violet), 0 18px 45px rgba(128, 104, 242, 0.14);
}

.event-visual {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.event-visual::before,
.event-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.visual-violet {
  background: var(--violet);
}

.visual-violet::before {
  width: 310px;
  height: 310px;
  border: 30px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.visual-violet::after {
  width: 95px;
  height: 240px;
  background: var(--acid);
  transform: rotate(33deg);
}

.visual-coral {
  background: var(--coral);
}

.visual-coral::before {
  inset: -10%;
  background: repeating-radial-gradient(circle at 50% 120%, transparent 0 18px, rgba(23,23,23,.2) 19px 21px);
}

.visual-coral::after {
  width: 160px;
  height: 160px;
  border-radius: 48% 52% 62% 38%;
  background: var(--acid);
  transform: rotate(-15deg);
}

.visual-acid {
  background: var(--acid);
}

.visual-acid::before {
  width: 180px;
  height: 180px;
  border: 3px solid var(--ink);
  transform: rotate(45deg);
}

.visual-acid::after {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 85px 85px 0 var(--violet), -85px 85px 0 var(--blue), 85px -85px 0 var(--ink);
}

.visual-blue {
  background: var(--blue);
}

.visual-blue::before {
  width: 260px;
  height: 260px;
  border: 42px solid rgba(255,255,255,.24);
  border-radius: 50%;
  transform: translate(70px, -50px);
}

.visual-blue::after {
  width: 280px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  transform: rotate(-12deg) translate(-60px, 60px);
}

.visual-pink {
  background: #f79ccc;
}

.visual-pink::before {
  width: 240px;
  height: 240px;
  background: conic-gradient(var(--violet), var(--acid), var(--coral), var(--violet));
  border-radius: 50%;
  filter: blur(2px);
}

.visual-pink::after {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ink);
}

.visual-night {
  background: #252641;
}

.visual-night::before {
  inset: 0;
  background-image: radial-gradient(circle, var(--acid) 0 2px, transparent 3px);
  background-size: 35px 35px;
  opacity: 0.72;
}

.visual-night::after {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: inset -34px -8px 0 var(--violet);
}

.visual-label {
  position: relative;
  z-index: 2;
  max-width: 230px;
  padding: 18px;
  color: var(--white);
  font-size: 2.3rem;
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-align: center;
  text-shadow: 0 3px 0 rgba(23,23,23,.25);
  transform: rotate(-4deg);
}

.visual-acid .visual-label,
.visual-coral .visual-label {
  color: var(--ink);
  text-shadow: none;
}

.event-date-badge,
.source-badge {
  position: absolute;
  z-index: 4;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.event-date-badge {
  left: 14px;
}

.source-badge {
  right: 14px;
}

.event-card-body {
  padding: 20px;
}

.event-meta,
.event-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-meta strong {
  color: var(--violet);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.event-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.event-card h3 {
  min-height: 2.4em;
  margin: 9px 0 10px;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.event-location::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.event-price {
  font-size: 0.9rem;
  font-weight: 850;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.text-button,
.select-event {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.text-button {
  color: var(--muted);
}

.select-event {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.event-card.selected .select-event {
  background: var(--violet);
}

.empty-state {
  margin-top: 40px;
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state > span {
  display: block;
  color: var(--violet);
  font-size: 4rem;
}

.empty-state h3 {
  margin: 6px 0 4px;
  font-size: 1.5rem;
}

.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
}

.selection-dock {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 20px;
  width: min(720px, calc(100vw - 32px));
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 13px 11px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(23, 23, 23, 0.97);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.selection-miniatures {
  display: flex;
  padding-left: 8px;
}

.selection-miniature {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.selection-dock-copy {
  flex: 1;
  min-width: 0;
}

.selection-dock-copy strong,
.selection-dock-copy span {
  display: block;
}

.selection-dock-copy strong {
  font-size: 0.94rem;
}

.selection-dock-copy span {
  color: rgba(255,255,255,.55);
  font-size: 0.76rem;
}

.modal {
  width: min(620px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  padding: 34px;
  border: 0;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
}

.modal::backdrop {
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: sticky;
  z-index: 4;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  margin: -14px -14px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-kicker {
  color: var(--violet);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal h2 {
  margin: 9px 0 8px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.modal-intro {
  margin: 0 0 28px;
  color: var(--muted);
}

.field-label {
  display: block;
  margin: 18px 0 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.text-field,
.copy-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
}

.selected-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 6px;
}

.selected-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.selected-row-art {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.selected-row strong,
.selected-row small {
  display: block;
}

.selected-row strong {
  font-size: 0.88rem;
}

.selected-row small {
  color: var(--muted);
  font-size: 0.73rem;
}

.remove-selected {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #efefeb;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.share-actions > * {
  flex: 1;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.copy-field input {
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.copy-field button {
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-button {
  background: #1fd474;
  color: #0c3821;
}

.detail-visual {
  min-height: 220px;
  margin: -8px 0 24px;
  border-radius: 20px;
}

.detail-copy h2 {
  padding-right: 50px;
}

.detail-description {
  color: var(--muted);
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.detail-fact {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.detail-fact small,
.detail-fact strong {
  display: block;
}

.official-link {
  display: inline-flex;
  margin: -8px 0 18px;
  color: var(--violet);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-fact small {
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-fact strong {
  margin-top: 3px;
  font-size: 0.88rem;
}

.vote-view {
  min-height: calc(100vh - 78px);
  padding: 68px max(24px, calc((100vw - 960px) / 2)) 120px;
}

.vote-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 750;
}

.vote-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin: 46px 0 28px;
}

.vote-heading h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.vote-heading p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.vote-progress {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 10px solid #e6e6df;
  border-top-color: var(--violet);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
  transform: rotate(12deg);
}

.vote-progress span {
  transform: rotate(-12deg);
}

.local-note {
  margin-bottom: 18px;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(255, 115, 95, 0.1);
  color: #7d3b31;
  font-size: 0.84rem;
}

.local-note.synced-note {
  background: rgba(128, 104, 242, 0.1);
  color: #51429a;
}

.voter-field {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 0.7fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.voter-field span {
  font-size: 0.9rem;
  font-weight: 850;
}

.vote-list {
  display: grid;
  gap: 14px;
}

.vote-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.vote-card-art {
  min-height: 105px;
  border-radius: 14px;
}

.vote-card h3 {
  margin: 0 0 5px;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.vote-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.vote-options {
  display: flex;
  gap: 5px;
}

.vote-option {
  min-width: 62px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.vote-option.active[data-vote="yes"] {
  border-color: var(--acid);
  background: var(--acid);
}

.vote-option.active[data-vote="maybe"] {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--white);
}

.vote-option.active[data-vote="no"] {
  border-color: var(--coral);
  background: var(--coral);
}

.vote-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.vote-submit button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.result-panel {
  padding: 32px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
}

.result-panel .eyebrow {
  margin-bottom: 12px;
}

.result-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.result-panel > p {
  max-width: 620px;
  color: rgba(255,255,255,.67);
}

.result-winner {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
}

.result-winner-art {
  min-height: 106px;
  border-radius: 13px;
}

.result-winner h3 {
  margin: 0 0 5px;
  font-size: 1.3rem;
}

.result-winner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.shared-ranking {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
}

.ranking-row strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ranking-row strong span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.76rem;
}

.ranking-row small {
  color: rgba(255,255,255,.62);
  text-align: right;
}

.result-panel > .button-secondary {
  border-color: rgba(255,255,255,.28);
  color: var(--white);
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 40px max(30px, calc((100vw - 1240px) / 2));
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  justify-self: start;
}

footer p {
  color: var(--acid);
  font-weight: 800;
}

footer small {
  justify-self: end;
  color: rgba(255,255,255,.48);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 330px;
  }

  .hero-disc-main {
    width: 300px;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-row {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .vote-card {
    grid-template-columns: 100px 1fr;
  }

  .voter-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vote-options {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .vote-option {
    flex: 1;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 10px 18px;
  }

  .location-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 58px 24px 42px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 270px;
  }

  .hero-disc-main {
    right: 4%;
    width: 250px;
  }

  .hero-disc-small {
    width: 76px;
    right: 2%;
  }

  .hero-sticker {
    left: 1%;
    width: 82px;
  }

  .hero-scribble {
    font-size: 4.6rem;
  }

  .discovery {
    padding: 64px 18px 120px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .search-row {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .search-box {
    grid-column: auto;
  }

  .date-filters {
    width: calc(100vw - 36px);
    padding-bottom: 5px;
    overflow-x: auto;
  }

  .date-chip {
    flex: 0 0 auto;
  }

  .results-count {
    display: none;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-visual {
    min-height: 235px;
  }

  .selection-dock {
    bottom: 10px;
    gap: 10px;
    padding-left: 12px;
  }

  .selection-miniatures {
    display: none;
  }

  .selection-dock-copy span {
    display: none;
  }

  .selection-dock .button {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .modal {
    padding: 24px 18px;
  }

  .share-actions,
  .modal-actions {
    flex-direction: column;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .vote-view {
    padding: 42px 18px 100px;
  }

  .vote-heading {
    grid-template-columns: 1fr;
  }

  .vote-progress {
    width: 72px;
    height: 72px;
    border-width: 8px;
  }

  .vote-card {
    grid-template-columns: 82px 1fr;
    gap: 12px;
  }

  .vote-card-art {
    min-height: 86px;
  }

  .result-panel {
    padding: 24px 18px;
  }

  .result-winner {
    grid-template-columns: 86px 1fr;
  }

  .result-winner-art {
    min-height: 86px;
  }

  .ranking-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-row small {
    padding-left: 36px;
    text-align: left;
  }

  footer {
    min-height: 260px;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p,
  footer small {
    justify-self: start;
    margin: 0;
  }
}

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