.wplv-wrap {
  margin: 0 auto;
  color: #f8e7e7;
  text-align:center;
}

.wplv-root {
  padding: 20px;
}

.wplv-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.wplv-tab {
  background: transparent;
  color: #f7dede;
  border: 1px solid #8f2424;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.wplv-tab.is-active {
  background: #fe3030;
  border-color: #fe3030;
  color: #1c0505;
}

.wplv-vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wplv-vote-col {
}

.wplv-vote-col h4 {
  margin: 0 0 10px;
  color: #ffd5d5;
  text-transform: uppercase;
  text-align: center;
}

.wplv-vote-col label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.wplv-vote-col select {
  width: 100%;
  margin-top: 6px;
  background: #2e1212;
  color: #f7eaea;
  border: 1px solid #8f2424;
  border-radius: 8px;
  padding: 8px;
}

.wplv-player-card {
  margin-top: 12px;
  border: 1px solid #6f1c1c;
  border-radius: 10px;
  padding: 14px 10px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.wplv-card-avatars {
  display: flex;
  gap: 10px;
}

.wplv-avatar-circle {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #8f2424;
  background: #2e1212;
  color: #8f2424;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wplv-team-select {
  text-transform: uppercase;
}

.wplv-avatar-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wplv-avatar-circle.wplv-has-image svg {
  display: none;
}

.wplv-card-team-avatar img {
  width: 80%;
  height: 80%;
  inset:unset;
}

.wplv-card-role {
  width:20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wplv-card-name-row {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  width:100%;
}

.wplv-card-playerName-info-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.wplv-card-flag {
  display: inline-flex;
  color: #c79a9a;
}

.wplv-card-flag.is-filled {
  color: #f5c542;
}

.wplv-card-nick {
  font-family: var(--et_global_heading_font);
  color: #f8e7e7;
  font-size:1.4rem;
}

.wplv-card-fullname {
  font-size: 0.72rem;
  color: #c79a9a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wplv-submit {
  margin-top: 16px;
  background: #fe3030;
  color: #140808;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

.wplv-captcha-wrap {
  margin-top: 10px;
}

.wplv-submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.wplv-status {
  min-height: 24px;
  margin-bottom: 12px;
}

.wplv-ok {
  color: #8df5a7;
}

.wplv-error {
  color: #ff9a9a;
}

.wplv-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 40px 16px;
}

.wplv-done-ok .wplv-done-icon {
  color: white;
}

.wplv-done-ok p {
  color: white;
  font-family: var(--et_global_heading_font);
  font-size: 2rem;
  line-height: 1;
}

.wplv-done-info .wplv-done-icon,
.wplv-done-info p {
   color: white;
  font-family: var(--et_global_heading_font);
  font-size: 2rem;
  line-height: 1;
}

.wplv-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 900px) {

  .wplv-tabs {
    flex-direction: column;
  }
  .wplv-vote-grid {
    grid-template-columns: 1fr;
  }
}
