/* =========================================================
   KEREM AKİL — 7 ŞEHİR / 1 OY
   IRL oylama sayfası
   ========================================================= */

/* ---------- REGION COLORS ---------- */
.region-marmara,
.province--marmara { --region: #7cc7ff; --region-rgb: 124, 199, 255; }
.region-ege,
.province--ege { --region: #c6ff3d; --region-rgb: 198, 255, 61; }
.region-akdeniz,
.province--akdeniz { --region: #ffb347; --region-rgb: 255, 179, 71; }
.region-ic-anadolu,
.province--ic-anadolu { --region: #ff5ca8; --region-rgb: 255, 92, 168; }
.region-karadeniz,
.province--karadeniz { --region: #4ee0c1; --region-rgb: 78, 224, 193; }
.region-dogu-anadolu,
.province--dogu-anadolu { --region: #b79cff; --region-rgb: 183, 156, 255; }
.region-guneydogu-anadolu,
.province--guneydogu-anadolu { --region: #ff7a5c; --region-rgb: 255, 122, 92; }

/* ---------- PAGE SHELL ---------- */
.vote-page {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  overflow-x: clip;
}
.vote-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 44% at 78% 4%, rgba(123, 92, 255, .13), transparent 68%),
    radial-gradient(44% 36% at 12% 32%, rgba(198, 255, 61, .07), transparent 72%),
    radial-gradient(40% 34% at 50% 100%, rgba(255, 92, 168, .05), transparent 74%);
}
.vote-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.vote-page main,
.vote-page .vote-top,
.vote-page .vote-footer { position: relative; z-index: 2; }

.vote-page .confetti-canvas { z-index: 700; }

/* ---------- TOP BAR ---------- */
.vote-top {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 10, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.vote-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.vote-brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.04em;
  transition: transform .35s var(--ease), border-radius .35s var(--ease);
}
.vote-brand:hover .vote-brand__mark { transform: rotate(-8deg); border-radius: 50%; }
.vote-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.vote-brand__text strong {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.vote-brand__text em {
  margin-top: 4px;
  font-style: normal;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--muted);
}
.vote-top__actions { display: flex; align-items: center; gap: 10px; }
.vote-top__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(198, 255, 61, .28);
  border-radius: 999px;
  color: var(--lime);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
}
.vote-top__pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: livePulse 2.2s infinite;
}
.vote-back {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.vote-back:hover { color: var(--cream); border-color: var(--line-strong); }

/* ---------- LOADER ---------- */
.vote-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: var(--ink);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.vote-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.vote-loader__ring {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(198, 255, 61, .16);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: voteSpin 1s linear infinite;
}
.vote-loader span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--muted);
}
.vote-loader b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--lime);
}
@keyframes voteSpin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.vote-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 65px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 80px) 92px;
  overflow: hidden;
}
.vote-hero__glow {
  position: absolute;
  top: 16%;
  right: -10%;
  width: min(720px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 255, 61, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 255, 61, .08), transparent 62%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(244, 241, 232, .035) 38px 39px);
  pointer-events: none;
  opacity: .9;
}
.vote-hero__glow::after {
  content: '7';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 28vw, 32rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 255, 61, .14);
}
.vote-eyebrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--lime);
}
.vote-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(198, 255, 61, .8);
  animation: livePulse 2.2s infinite;
}
.vote-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10.8vw, 10.6rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.085em;
  text-transform: uppercase;
}
.vote-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
  text-transform: none;
  color: var(--lime);
  text-shadow: 0 0 80px rgba(198, 255, 61, .16);
}
.vote-lead {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: 30px;
  color: rgba(244, 241, 232, .66);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
}
.vote-lead strong { color: var(--cream); font-weight: 600; }
.vote-facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
}
.vote-facts > div {
  min-width: 118px;
  padding: 2px 26px 2px 0;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.vote-facts > div:last-child { border-right: 0; margin-right: 0; }
.vote-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}
.vote-facts span {
  display: block;
  margin-top: 8px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
}
.vote-scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: clamp(20px, 5vw, 80px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.vote-scroll span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--lime);
  animation: voteBob 1.8s var(--ease) infinite;
}
.vote-scroll:hover { color: var(--cream); }
@keyframes voteBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- SECTIONS ---------- */
.vote-map-section,
.vote-list-section,
.vote-rules {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 80px);
}
.vote-section-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(250px, 370px);
  gap: clamp(18px, 3vw, 46px);
  align-items: end;
  margin-bottom: 30px;
}
.vote-section-index {
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--lime);
}
.vote-section-label {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
}
.vote-section-head h2,
.vote-rules__head h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.vote-section-head h2 em,
.vote-rules__head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.025em;
  text-transform: none;
  color: var(--lime);
}
.vote-section-head > p {
  padding-bottom: 4px;
  color: rgba(244, 241, 232, .52);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- LEGEND ---------- */
.vote-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 241, 232, .018);
}
.vote-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.vote-legend__item i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--region);
  box-shadow: 0 0 10px rgba(var(--region-rgb), .25);
}

/* ---------- MAP ---------- */
.vote-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
  align-items: start;
}
.vote-map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(123, 92, 255, .06), transparent 72%),
    rgba(244, 241, 232, .018);
  overflow: hidden;
}
.vote-map-card__top,
.vote-map-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 15px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--muted);
}
.vote-map-card__top { border-bottom: 1px solid var(--line); }
.vote-map-card__bottom { border-top: 1px solid var(--line); }
#mapHint { display: inline-flex; align-items: center; gap: 8px; color: rgba(244, 241, 232, .72); }
#mapHint i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: livePulse 2.2s infinite;
}
.vote-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1005 / 490;
  padding: 8px 10px;
  background-image: radial-gradient(rgba(244, 241, 232, .1) .6px, transparent .6px);
  background-size: 18px 18px;
}
.vote-map svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.vote-map__loading,
.vote-map__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
}
.vote-map__fallback { color: var(--pink); }

/* provinces */
.province { cursor: pointer; outline: none; }
.province path {
  fill: rgba(var(--region-rgb), .16);
  stroke: rgba(var(--region-rgb), .52);
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
  transition: fill .22s var(--ease), stroke .22s var(--ease), filter .22s var(--ease);
}
.province:hover path,
.province:focus-visible path {
  fill: rgba(var(--region-rgb), .4);
  stroke: rgba(var(--region-rgb), .95);
}
.province:focus-visible path {
  stroke: var(--cream);
  stroke-width: 1.7;
}
.province.is-selected path {
  fill: var(--lime);
  stroke: var(--ink);
  stroke-width: 1.25;
  filter: drop-shadow(0 0 7px rgba(198, 255, 61, .7));
}
.province.is-selected:hover path { fill: var(--cream); }
.map-ping-group { pointer-events: none; }
.map-ping {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.4;
  opacity: .85;
  animation: mapPing 1.35s var(--ease-out) infinite;
}
.map-ping-dot { fill: var(--lime); filter: drop-shadow(0 0 4px rgba(198, 255, 61, .9)); }
@keyframes mapPing {
  0% { opacity: .9; stroke-width: 1; }
  100% { opacity: 0; stroke-width: 8; }
}

/* tooltip */
.map-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-999px, -999px);
  transition: opacity .15s var(--ease);
}
.map-tooltip.is-visible { opacity: 1; }
.map-tooltip b {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.map-tooltip span { font-size: 8px; font-weight: 500; color: rgba(6, 7, 10, .58); }

/* ---------- PICK PANEL ---------- */
.vote-pick {
  position: sticky;
  top: 88px;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(198, 255, 61, .05), transparent 45%),
    rgba(244, 241, 232, .02);
}
.vote-pick__kicker {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--lime);
}
.vote-pick__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  text-align: center;
}
.vote-pick__empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: 1px dashed rgba(198, 255, 61, .38);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.vote-pick__empty p {
  max-width: 230px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}
.vote-pick__content { padding-top: 16px; }
.vote-pick__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vote-pick__plate {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 29px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.vote-pick__region {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
}
.vote-pick__content h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.06em;
}
.vote-pick__blurb {
  margin-top: 12px;
  color: rgba(244, 241, 232, .58);
  font-size: 11px;
  line-height: 1.6;
}
.vote-pick__rule {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 11px;
  border: 1px solid rgba(198, 255, 61, .18);
  border-radius: 9px;
  background: rgba(198, 255, 61, .045);
  color: rgba(244, 241, 232, .7);
  font-size: 9px;
  line-height: 1.5;
}
.vote-pick__rule i {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--lime);
}
.vote-submit { width: 100%; margin-top: 16px; }
.vote-submit:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}
.vote-submit:disabled:hover { background: var(--lime); color: var(--ink); }
.vote-pick__tiny {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .04em;
  text-align: center;
}

/* ---------- SEARCH / LIST ---------- */
.vote-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 232, .025);
  transition: border-color .3s var(--ease);
}
.vote-search:focus-within { border-color: rgba(198, 255, 61, .38); }
.vote-search label {
  flex: 0 0 auto;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--lime);
}
.vote-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 13px;
}
.vote-search input::placeholder { color: rgba(244, 241, 232, .32); }
.vote-search > span {
  flex: 0 0 auto;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
}
.vote-regions { display: grid; gap: 14px; }
.vote-region {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.vote-region__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.vote-region__head i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--region);
  box-shadow: 0 0 12px rgba(var(--region-rgb), .28);
}
.vote-region__head h3 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.vote-region__head span {
  margin-left: auto;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
}
.vote-region__grid { display: flex; flex-wrap: wrap; gap: 7px; }
.vote-province {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(244, 241, 232, .018);
  color: rgba(244, 241, 232, .78);
  font-size: 11px;
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background .25s var(--ease), transform .25s var(--ease);
}
.vote-province b {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.vote-province:hover,
.vote-province:focus-visible {
  border-color: rgba(var(--region-rgb), .8);
  background: rgba(var(--region-rgb), .08);
  color: var(--cream);
  transform: translateY(-1px);
}
.vote-province.is-selected {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.vote-province.is-selected b { color: rgba(6, 7, 10, .55); }
.vote-province.is-hidden { display: none; }
.vote-region.is-hidden { display: none; }
.vote-list__empty {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.vote-list__empty button {
  margin-left: 8px;
  color: var(--lime);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- RULES ---------- */
.vote-rules { border-top: 1px solid var(--line); }
.vote-rules__head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: end;
}
.vote-rules__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.vote-rules article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(244, 241, 232, .018);
}
.vote-rules article > span {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--lime);
}
.vote-rules article h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.vote-rules article p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
.vote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .16em;
}
.vote-footer a { color: var(--cream); transition: color .3s var(--ease); }
.vote-footer a:hover { color: var(--lime); }

/* ---------- CONFIRM MODAL ---------- */
.vote-modal,
.vote-result,
.vote-error {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.vote-modal.is-open,
.vote-result.is-open,
.vote-error.is-open { visibility: visible; opacity: 1; }
.vote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 10, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vote-modal__card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--ink-2);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
  text-align: center;
}
.vote-modal__kicker,
.vote-result__kicker,
.vote-error__kicker {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--lime);
}
.vote-modal__card h2,
.vote-result__card h2,
.vote-error__card h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.vote-modal__card h2 em,
.vote-result__card h2 em,
.vote-error__card h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--lime);
}
.vote-modal__card p,
.vote-result__card p,
.vote-error__card p {
  max-width: 400px;
  margin: 16px auto 0;
  color: rgba(244, 241, 232, .58);
  font-size: 11px;
  line-height: 1.65;
}
.vote-modal__actions,
.vote-error__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

/* ---------- RESULT / BLOCKED / ERROR ---------- */
.vote-result {
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(198, 255, 61, .12), transparent 70%),
    rgba(6, 7, 10, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.vote-result__glow {
  position: absolute;
  width: min(720px, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 255, 61, .18);
  border-radius: 50%;
  animation: resultPulse 3s var(--ease) infinite;
  pointer-events: none;
}
@keyframes resultPulse {
  0%, 100% { transform: scale(.9); opacity: .4; }
  50% { transform: scale(1.06); opacity: .9; }
}
.vote-result__card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(198, 255, 61, .22);
  border-radius: 22px;
  background: rgba(11, 12, 18, .92);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  text-align: center;
}
.vote-result__check {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 0 50px rgba(198, 255, 61, .4);
}
.vote-result__check--blocked {
  border: 2px solid var(--pink);
  background: transparent;
  color: var(--pink);
  box-shadow: 0 0 40px rgba(255, 92, 168, .2);
}
.vote-result__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0;
}
.vote-result__meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
}
.vote-result__timer {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .1em;
}
.vote-result--blocked { background: rgba(6, 7, 10, .96); }
.vote-result--blocked .vote-result__card { border-color: rgba(255, 92, 168, .2); }
.vote-result--blocked .vote-result__kicker { color: var(--pink); }
.vote-result--blocked h2 em { color: var(--pink); }
#confirmCity { margin-right: .14em; }
.vote-page.is-blocked .vote-main,
.vote-page.is-blocked .vote-footer { display: none; }

.vote-error {
  background: rgba(6, 7, 10, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.vote-error__card {
  width: min(500px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(255, 92, 168, .24);
  border-radius: 22px;
  background: var(--ink-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  text-align: center;
}
.vote-error__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}
.vote-error__kicker { color: var(--pink); }
.vote-error__card h2 em { color: var(--pink); }

/* ---------- NOSCRIPT ---------- */
.vote-noscript {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-body);
}
.vote-noscript strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--lime);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1120px) {
  .vote-map-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .vote-section-head { grid-template-columns: 38px minmax(0, 1fr) minmax(220px, 300px); }
  .vote-rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .vote-hero { min-height: calc(100svh - 65px); }
  .vote-section-head {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
  }
  .vote-section-head > p {
    grid-column: 2;
    max-width: 520px;
    padding-top: 14px;
  }
  .vote-map-layout { grid-template-columns: 1fr; }
  .vote-pick {
    position: static;
    min-height: 0;
  }
  .vote-pick__empty { min-height: 150px; }
  .vote-pick__content { padding-top: 12px; }
  .vote-rules__head { grid-template-columns: 32px minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .vote-top { padding: 12px 16px; gap: 10px; }
  .vote-top__pill { display: none; }
  .vote-brand__mark { width: 33px; height: 33px; }
  .vote-brand__text strong { font-size: 10px; }
  .vote-brand__text em { font-size: 6px; }
  .vote-back { height: 32px; padding: 0 10px; font-size: 7px; }
  .vote-hero { padding: 46px 18px 82px; min-height: calc(100svh - 58px); }
  .vote-hero h1 { font-size: clamp(3rem, 16.5vw, 6rem); }
  .vote-lead { margin-top: 22px; font-size: 13px; }
  .vote-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    margin-top: 30px;
  }
  .vote-facts > div {
    min-width: 0;
    margin-right: 0;
    padding-right: 12px;
  }
  .vote-facts > div:nth-child(2) { border-right: 0; }
  .vote-facts strong { font-size: 1.5rem; }
  .vote-scroll { bottom: 20px; left: 18px; }
  .vote-map-section,
  .vote-list-section,
  .vote-rules { padding: 60px 18px; }
  .vote-section-head { gap: 12px; margin-bottom: 22px; }
  .vote-section-head h2,
  .vote-rules__head h2 { font-size: clamp(1.9rem, 9vw, 3.2rem); }
  .vote-section-head > p { font-size: 11px; }
  .vote-legend { gap: 7px 14px; padding: 10px 12px; }
  .vote-legend__item { font-size: 7px; }
  .vote-map-card__top,
  .vote-map-card__bottom { padding: 9px 11px; font-size: 6px; }
  .vote-map { padding: 4px; }
  .vote-pick { padding: 18px; }
  .vote-search { gap: 8px; padding: 9px 13px; }
  .vote-search label { font-size: 7px; }
  .vote-search input { font-size: 12px; }
  .vote-search > span { display: none; }
  .vote-region__grid { gap: 6px; }
  .vote-province { min-height: 36px; padding: 6px 9px; font-size: 10px; }
  .vote-rules__grid { grid-template-columns: 1fr; gap: 8px; }
  .vote-rules article { padding: 16px; }
  .vote-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 18px; }
  .vote-modal__actions .btn,
  .vote-error__actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .vote-brand__text em { display: none; }
  .vote-back { font-size: 6px; letter-spacing: .1em; }
  .vote-hero h1 { font-size: 2.9rem; }
  .vote-facts strong { font-size: 1.25rem; }
  .vote-map-card__bottom { display: none; }
  .vote-pick__content h3 { font-size: 2rem; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .vote-hero { min-height: auto; padding-top: 34px; padding-bottom: 56px; }
  .vote-hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); }
  .vote-lead { margin-top: 16px; font-size: 12px; }
  .vote-facts { margin-top: 20px; }
  .vote-scroll { display: none; }
  .vote-hero__glow { width: 420px; top: -10%; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .vote-loader__ring,
  .vote-scroll span,
  .vote-hero__glow,
  .vote-eyebrow i,
  #mapHint i,
  .map-ping,
  .vote-result__glow { animation: none !important; }
  .province path,
  .vote-province,
  .vote-submit,
  .vote-modal,
  .vote-result,
  .vote-error { transition: none !important; }
  html { scroll-behavior: auto; }
}
