/* Piratenkanjers stem-popup - herstelde modalversie */
.pk-vote2-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pk-vote2-backdrop.is-open {
  display: flex;
}

.pk-vote2-modal {
  position: relative;
  width: min(520px, 94vw);
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.72);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(17, 28, 48, 0.98), rgba(0, 0, 0, 0.96));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.72),
    0 0 30px rgba(255, 215, 0, 0.10);
  overflow: hidden;
  animation: pkVote2Pop 0.22s ease-out;
}

@keyframes pkVote2Pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pk-vote2-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 215, 0, 0.8);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #ffd700;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.pk-vote2-close:hover {
  background: rgba(255, 215, 0, 0.16);
  color: #ffffff;
}

.pk-vote2-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 26px 64px 16px 24px;
}

.pk-vote2-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(180deg, #ffea65, #ffd000);
  color: #081120;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.18);
}

.pk-vote2-head h3 {
  margin: 0 0 4px;
  color: #ffd700;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 950;
  line-height: 1.05;
}

.pk-vote2-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  line-height: 1.35;
}

.pk-vote2-card {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 4px 24px 18px;
  padding: 14px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 16px;
  background: rgba(3, 12, 24, 0.72);
  box-shadow: inset 0 0 18px rgba(255, 215, 0, 0.04);
}

.pk-vote2-card:hover {
  border-color: rgba(255, 215, 0, 0.72);
  transform: translateY(-1px);
}

.pk-vote2-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.pk-vote2-card strong {
  display: block;
  margin-bottom: 4px;
  color: #ffd700;
  font-size: 1.05rem;
  font-weight: 950;
}

.pk-vote2-card small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.35;
}

.pk-vote2-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pk-vote2-later,
.pk-vote2-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.45);
  font: inherit;
}

.pk-vote2-later {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.pk-vote2-cta {
  background: linear-gradient(180deg, #ffe866, #ffd000);
  color: #081120;
  box-shadow: 0 12px 28px rgba(255, 215, 0, 0.18);
}

.pk-vote2-later:hover,
.pk-vote2-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

html.pk-vote2-open,
body.pk-vote2-open {
  overflow: hidden !important;
}

@media (max-width: 560px) {
  .pk-vote2-head {
    padding: 24px 58px 14px 18px;
    align-items: flex-start;
  }

  .pk-vote2-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 24px;
  }

  .pk-vote2-card {
    margin-left: 18px;
    margin-right: 18px;
  }

  .pk-vote2-actions {
    flex-direction: column-reverse;
    padding: 16px 18px 20px;
  }

  .pk-vote2-later,
  .pk-vote2-cta {
    width: 100%;
  }
}
