#kd-subscribers-game-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 700px;
  margin: 0 auto 0.5rem;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  background:
    #e8f3ee
    url("/themes/custom/dienalt-custom-theme/src/assets/images/300x700_zaidimas.jpg")
    center top / cover no-repeat;
  color: #171717;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#kd-subscribers-game-wrapper * {
  box-sizing: border-box;
}

#kd-subscribers-game-wrapper .game-card {
  position: absolute;
  right: 13px;
  bottom: 14px;
  left: 13px;
  min-height: 289px;
  padding: 14px;
  border: 1px solid rgba(0, 120, 138, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(0, 80, 95, 0.16);
}

#kd-subscribers-game-wrapper .form-notifications {
  position: absolute;
  top: 9px;
  right: 9px;
  left: 9px;
  z-index: 3;
}

#kd-subscribers-game-wrapper .alert {
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

#kd-subscribers-game-wrapper .alert-danger {
  background: #fde2e2;
  color: #8a1a1a;
}

#kd-subscribers-game-wrapper .alert-success {
  background: #e5f6ea;
  color: #176239;
}

#kd-subscribers-game-wrapper .alert-warning {
  background: #fff4e5;
  color: #704300;
}

#kd-subscribers-game-wrapper .progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#kd-subscribers-game-wrapper .step-count {
  flex: 0 0 auto;
  color: #006ea8;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#kd-subscribers-game-wrapper .progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 110, 168, 0.14);
}

#kd-subscribers-game-wrapper .progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00a3c7, #006fb4);
  transition: width 180ms ease;
}

#kd-subscribers-game-wrapper .question {
  min-height: 58px;
  margin: 0 0 9px;
  color: #141414;
  font-size: 14px;
  line-height: 1.23;
  font-weight: 800;
}

#kd-subscribers-game-wrapper .answers {
  display: grid;
  gap: 7px;
  min-height: 118px;
  margin: 0 0 12px;
}

#kd-subscribers-game-wrapper .answer {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 9px 7px 38px;
  border: 1px solid rgba(0, 110, 168, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: #15313a;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

#kd-subscribers-game-wrapper .answer:hover {
  border-color: rgba(0, 125, 174, 0.5);
  background: #fff;
}

#kd-subscribers-game-wrapper .answer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#kd-subscribers-game-wrapper .answer-letter {
  position: absolute;
  top: 50%;
  left: 9px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #dff3f2;
  color: #006ea8;
  font-size: 12px;
  font-weight: 800;
}

#kd-subscribers-game-wrapper .answer-text {
  display: block;
  min-width: 0;
  font-size: 12px;
  line-height: 1.22;
  font-weight: 700;
}

#kd-subscribers-game-wrapper .answer.is-selected {
  border-color: #006fb4;
  background: #e8f8fb;
  transform: translateY(-1px);
}

#kd-subscribers-game-wrapper .answer.is-selected .answer-letter {
  background: #006fb4;
  color: #fff;
}

#kd-subscribers-game-wrapper .controls {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
}

#kd-subscribers-game-wrapper .game-btn {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

#kd-subscribers-game-wrapper .game-btn-primary {
  background: #006fb4;
  color: #fff;
  box-shadow: 0 7px 14px rgba(0, 111, 180, 0.22);
}

#kd-subscribers-game-wrapper .game-btn-secondary {
  border: 1px solid rgba(0, 111, 180, 0.28);
  background: rgba(255, 255, 255, 0.7);
  color: #006399;
}

#kd-subscribers-game-wrapper .game-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

#kd-subscribers-game-wrapper .email-step {
  display: none;
}

#kd-subscribers-game-wrapper .email-title {
  margin: 2px 0 7px;
  color: #006ea8;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

#kd-subscribers-game-wrapper .email-copy {
  margin: 0 0 12px;
  color: #1b3135;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

#kd-subscribers-game-wrapper input[type="email"] {
  width: 100%;
  height: 36px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 95, 140, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #121212;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  padding: 0 10px;
}

#kd-subscribers-game-wrapper input[type="email"]::placeholder {
  color: #78888c;
}

#kd-subscribers-game-wrapper .consent-label {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 7px;
  align-items: start;
  margin: 0 0 10px;
  color: #1b3135;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.28;
}

#kd-subscribers-game-wrapper .consent-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #006fb4;
  cursor: pointer;
}

#kd-subscribers-game-wrapper .email-actions {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  margin-top: 8px;
}

#kd-subscribers-game-wrapper .success-step {
  display: none;
  padding-top: 46px;
  text-align: center;
}

#kd-subscribers-game-wrapper .success-title {
  margin: 0 0 9px;
  color: #006ea8;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

#kd-subscribers-game-wrapper .success-copy {
  margin: 0;
  color: #1b3135;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

#kd-subscribers-game-wrapper.is-email-step .poll-step,
#kd-subscribers-game-wrapper.is-success-step .poll-step,
#kd-subscribers-game-wrapper.is-success-step .email-step {
  display: none;
}

#kd-subscribers-game-wrapper.is-email-step .email-step,
#kd-subscribers-game-wrapper.is-success-step .success-step {
  display: block;
}
