.vote-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-h) + 60px) 24px 60px;
  overflow: hidden;
}

.vote-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.vote-hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.vote-hero__logo {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.vote-hero__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.vote-hero__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 280px;
}

.vote-hero__meta {
  margin-top: 4px;
}

.vote-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 600;
}

.vote-hero__stat-label {
  color: var(--text-muted);
  font-weight: 400;
}

.vote-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

.vote-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vote-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.vote-sidebar__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.vote-sidebar__period {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px 8px;
}

.voter-list {
  display: flex;
  flex-direction: column;
}

.voter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--t-fast);
}
.voter-item:last-child { border-bottom: none; }
.voter-item:hover { background: rgba(56, 189, 248, 0.03); }

.voter-rank {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.voter-item:nth-child(1) .voter-rank { color: #f59e0b; }
.voter-item:nth-child(2) .voter-rank { color: #94a3b8; }
.voter-item:nth-child(3) .voter-rank { color: #a97c50; }

.voter-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--border-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.voter-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.voter-avatar--placeholder {
  background: linear-gradient(90deg, var(--border-color) 25%, rgba(255,255,255,0.04) 50%, var(--border-color) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.voter-info {
  flex: 1;
  min-width: 0;
}

.voter-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.voter-name--skeleton {
  display: block;
  height: 12px;
  width: 70%;
  background: var(--border-color);
  border-radius: 4px;
  animation: shimmer 1.6s infinite;
}

.voter-score {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f59e0b;
  font-variant-numeric: tabular-nums;
}
.voter-score img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.voter-item--skeleton { opacity: 0.4; pointer-events: none; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.vote-main__header {
  margin-bottom: 24px;
}

.vote-main__title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vote-main__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.vote-sites {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vote-card {
  display: flex;
  align-items: stretch;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-normal), transform var(--t-normal), box-shadow var(--t-normal);
  color: inherit;
  position: relative;
}
.vote-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.vote-card__logo-box {
  width: 120px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border-color);
  flex-shrink: 0;
}

.vote-card__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.vote-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vote-card__top {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vote-card__site-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.vote-card__url {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  direction: ltr;
  text-align: left;
  unicode-bidi: embed;
}

.vote-card__divider {
  height: 1px;
  background: var(--border-color);
  margin: 0;
}

.vote-card__bottom {
  padding: 14px 20px 20px;
}

.vote-card__instructions {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.vote-card__instructions strong {
  color: var(--accent-color);
  font-weight: 600;
}
.vote-card__instructions code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--accent-color);
}

.vote-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.35;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.vote-card__arrow img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.vote-card:hover .vote-card__arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .vote-layout {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .vote-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vote-sidebar {
    position: static;
  }

  .vote-hero__card {
    padding: 36px 32px;
  }

  .vote-card__logo-box {
    width: 90px;
    min-width: 90px;
    padding: 16px 12px;
  }
  .vote-card__logo {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .vote-card {
    flex-direction: column;
  }
  .vote-card__logo-box {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
  }
  .vote-card__logo {
    width: 44px;
    height: 44px;
  }
  .vote-card__arrow {
    top: 14px;
    right: 14px;
  }
}