.qol-useful-box {
  position: relative;
  margin: 24px 0;
  text-align: center;
  font-size: 14px;
}

.qol-useful-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #3f3f3f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.qol-useful-proof.is-muted {
  color: #777;
  font-weight: 500;
}

.qol-useful-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2f5f8f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.qol-useful-proof.is-muted .qol-useful-badge {
  background: #f5f5f5;
  color: #888;
}

.qol-useful-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid #d5dee8;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.qol-useful-button:hover,
.qol-useful-button:focus {
  border-color: #b8cbe0;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
  outline: none;
}

.qol-useful-button.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.qol-useful-button.is-clicked,
.qol-useful-button:disabled {
  opacity: 0.78;
  cursor: default;
  transform: none;
}

.qol-useful-count {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: #2f5f8f;
  font-weight: 800;
  vertical-align: baseline;
}

.qol-useful-count.is-hidden {
  display: none;
}

.qol-useful-plus-one {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #2f5f8f;
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  animation: qol-useful-plus 0.9s ease-out forwards;
}

@keyframes qol-useful-plus {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -130%);
  }
}

@media screen and (max-width: 480px) {
  .qol-useful-box {
    margin: 20px 0;
  }

  .qol-useful-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
  }

  .qol-useful-button {
    min-width: 0;
    width: 100%;
    padding: 11px 16px;
  }
}
