.eleicoes-2026 {
  --e26-red: #c8161d;
  --e26-red-dark: #9d1a13;
  --e26-ink: #1b1b1b;
  --e26-muted: #6b6b6b;
  --e26-line: #e5e5e5;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  color: var(--e26-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.eleicoes-2026 [hidden] { display: none !important; }

.eleicoes-2026__simulation {
  align-items: center;
  background: var(--e26-red-dark);
  color: #fff;
  display: flex;
  font-size: 12px;
  gap: 9px;
  line-height: 1.3;
  padding: 7px 20px;
}

.eleicoes-2026__simulation strong {
  font-size: 10.5px;
  letter-spacing: .08em;
}

.eleicoes-2026__simulation span { opacity: .92; }

.eleicoes-2026__body { padding: 24px 28px 18px; }

.eleicoes-2026__header {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.eleicoes-2026__heading { min-width: 0; }

.eleicoes-2026__eyebrow {
  color: var(--e26-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}

.eleicoes-2026 h2 {
  color: var(--e26-ink);
  font-size: clamp(27px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 5px 0 0;
}

.eleicoes-2026__location { color: #999; font-weight: 400; }
.eleicoes-2026__summary { display: none; }

.eleicoes-2026__live {
  align-items: center;
  color: var(--e26-muted);
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  gap: 7px;
  padding-bottom: 4px;
}

.eleicoes-2026__live > span:first-child {
  background: #27854d;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.eleicoes-2026__filters {
  align-items: flex-end;
  border-bottom: 1px solid var(--e26-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 17px;
}

.eleicoes-2026__tabs {
  display: flex;
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.eleicoes-2026__tabs::-webkit-scrollbar { display: none; }

.eleicoes-2026__tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #555b60;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: -1px;
  padding: 10px 0 9px;
  text-transform: uppercase;
}

.eleicoes-2026__tabs button[aria-selected="true"] {
  border-bottom-color: var(--e26-red);
  color: var(--e26-ink);
}

.eleicoes-2026__tabs button:hover { color: var(--e26-ink); }

.eleicoes-2026__state-filter {
  display: inline-flex;
  flex: 0 0 auto;
  margin-bottom: 7px;
  position: relative;
}

.eleicoes-2026__state-filter::after {
  border-bottom: 1.5px solid #6b6b6b;
  border-right: 1.5px solid #6b6b6b;
  content: "";
  height: 6px;
  pointer-events: none;
  position: absolute;
  right: 11px;
  top: 10px;
  transform: rotate(45deg);
  width: 6px;
}

.eleicoes-2026__state-filter.is-disabled { opacity: .65; }

.eleicoes-2026__state-filter select {
  appearance: none;
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  color: var(--e26-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  min-height: 31px;
  padding: 6px 30px 6px 9px;
}

.eleicoes-2026__tabs button:focus-visible,
.eleicoes-2026__state-filter select:focus-visible,
.eleicoes-2026__more:focus-visible {
  outline: 2px solid var(--e26-red);
  outline-offset: 2px;
}

.eleicoes-2026__sr-only,
.eleicoes-2026__status {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.eleicoes-2026__skeleton {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.eleicoes-2026__skeleton span {
  animation: eleicoes-2026-pulse 1.2s ease-in-out infinite alternate;
  background: #f4f4f4;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  height: 68px;
}

.eleicoes-2026__stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
}

.eleicoes-2026__stats > div {
  border: 1px solid var(--e26-line);
  border-radius: 4px;
  min-width: 0;
  padding: 12px 14px;
}

.eleicoes-2026__stats dt {
  color: var(--e26-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eleicoes-2026__stats dd {
  font-size: clamp(18px, 2.4vw, 22px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.eleicoes-2026__stats > div > span {
  color: var(--e26-muted);
  display: block;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.eleicoes-2026__section-progress {
  background: #eeeeee;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
}

.eleicoes-2026__section-progress > span {
  background: #242424;
  display: block;
  height: 100%;
  transition: width .7s ease;
  width: 0;
}

.eleicoes-2026__section-heading {
  align-items: baseline;
  border-bottom: 1px solid #333;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 23px;
  padding-bottom: 8px;
}

.eleicoes-2026__section-heading h3 {
  color: var(--e26-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0;
}

.eleicoes-2026__section-heading > strong {
  color: var(--e26-muted);
  font-size: 11.5px;
  font-weight: 400;
}

.eleicoes-2026__candidates {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eleicoes-2026__candidate {
  align-items: center;
  border-bottom: 1px solid #ececec;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr) 70px 126px;
  padding: 11px 0;
}

.eleicoes-2026__avatar {
  align-items: center;
  flex: none;
  overflow: hidden;
  position: relative;
  background: #efefef;
  border: 1px dashed #cfcfcf;
  border-radius: 50%;
  color: #8f8f8f;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.eleicoes-2026__avatar img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  position: absolute;
  transition: opacity 240ms ease;
  width: 100%;
}

.eleicoes-2026__avatar--photo {
  border-style: solid;
}

.eleicoes-2026__avatar--photo img {
  opacity: 1;
}

.eleicoes-2026__identity { min-width: 0; }

.eleicoes-2026__identity > div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eleicoes-2026__identity strong {
  font-size: 14px;
  line-height: 1.25;
}

.eleicoes-2026__identity > div > span {
  color: var(--e26-muted);
  font-size: 11px;
}

.eleicoes-2026__vote-meter {
  background: #efefef;
  border-radius: 4px;
  display: block;
  height: 7px;
  margin-top: 6px;
  overflow: hidden;
}

.eleicoes-2026__vote-meter > span {
  background: #bbb7af;
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width .7s ease;
  width: 0;
}

.eleicoes-2026__candidate:first-child .eleicoes-2026__vote-meter > span {
  background: var(--e26-red);
}

.eleicoes-2026__percentage {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.eleicoes-2026__result {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.eleicoes-2026__result > span:first-child {
  color: var(--e26-muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.eleicoes-2026__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-end;
}

.eleicoes-2026__labels:empty { display: none; }

.eleicoes-2026__labels span {
  background: #f0f0f0;
  border-radius: 3px;
  color: #555;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 5px;
}

.eleicoes-2026__more {
  appearance: none;
  background: var(--e26-red);
  border: 0;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .03em;
  margin-top: 14px;
  min-height: 38px;
  padding: 9px 14px;
  text-transform: uppercase;
}

.eleicoes-2026__more:hover { background: var(--e26-red-dark); }

.eleicoes-2026__footer {
  color: #8f8f8f;
  display: flex;
  flex-wrap: wrap;
  font-size: 10.5px;
  gap: 10px 18px;
  justify-content: space-between;
  margin-top: 13px;
}

.eleicoes-2026__results { transition: opacity .14s ease; }

.eleicoes-2026__stats > div,
.eleicoes-2026__section-progress,
.eleicoes-2026__section-heading,
.eleicoes-2026__candidate {
  opacity: 0;
}

.eleicoes-2026--revealing .eleicoes-2026__stats > div,
.eleicoes-2026--revealing .eleicoes-2026__candidate {
  animation: eleicoes-2026-line-in .2s ease-out both;
  animation-delay: var(--e26-enter-delay, 0ms);
}

.eleicoes-2026--revealing .eleicoes-2026__section-progress {
  animation: eleicoes-2026-line-in .2s ease-out 320ms both;
}

.eleicoes-2026--revealing .eleicoes-2026__section-heading {
  animation: eleicoes-2026-line-in .2s ease-out 390ms both;
}

.eleicoes-2026--switching .eleicoes-2026__results {
  opacity: .42;
  pointer-events: none;
}

.eleicoes-2026--switching .eleicoes-2026__live > span:first-child {
  animation: eleicoes-2026-live-pulse .7s ease-in-out infinite alternate;
}

.eleicoes-2026--error { color: #b91c1c; }

@keyframes eleicoes-2026-pulse {
  from { opacity: .55; }
  to { opacity: 1; }
}

@keyframes eleicoes-2026-line-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes eleicoes-2026-live-pulse {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media (max-width: 720px) {
  .eleicoes-2026__body { padding: 18px 16px; }
  .eleicoes-2026__header { align-items: flex-start; flex-direction: column; gap: 5px; }
  .eleicoes-2026__live { padding: 0; }
  .eleicoes-2026__filters { align-items: stretch; flex-direction: column; gap: 9px; }
  .eleicoes-2026__tabs { margin: 0 -16px; padding: 0 16px; }
  .eleicoes-2026__state-filter { align-self: flex-end; margin-bottom: 8px; }
  .eleicoes-2026__stats,
  .eleicoes-2026__skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eleicoes-2026__candidate { grid-template-columns: 40px minmax(0, 1fr) 65px; }
  .eleicoes-2026__result { grid-column: 2 / -1; }
}

@media (max-width: 420px) {
  .eleicoes-2026__simulation { align-items: flex-start; flex-direction: column; gap: 2px; padding-inline: 16px; }
  .eleicoes-2026__state-filter { align-self: stretch; }
  .eleicoes-2026__state-filter select { width: 100%; }
  .eleicoes-2026__stats > div { padding: 10px; }
  .eleicoes-2026__section-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .eleicoes-2026__candidate { gap: 9px; }
  .eleicoes-2026__identity strong { font-size: 13px; }
  .eleicoes-2026__percentage { font-size: 13px; }
  .eleicoes-2026__result { align-items: flex-start; }
  .eleicoes-2026__labels { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .eleicoes-2026 *,
  .eleicoes-2026 *::before,
  .eleicoes-2026 *::after {
    animation-delay: 0ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
