.l7-rewards {
  --l7-rewards-bg: #121224;
  --l7-rewards-card: #1b1b33;
  --l7-rewards-stroke: rgba(172, 92, 192, 0.28);
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 32px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: var(--l7-rewards-bg);
  border: 1px solid var(--l7-rewards-stroke);
  box-sizing: border-box;
  color: #fff;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}
.l7-rewards *,
.l7-rewards *::before,
.l7-rewards *::after {
  box-sizing: border-box;
}
.l7-rewards p,
.l7-rewards h3,
.l7-rewards strong {
  margin: 0;
  text-align: left;
  -webkit-text-fill-color: unset;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  filter: none;
  -webkit-filter: none;
}
.l7-rewards__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.l7-rewards__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.l7-rewards__live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ee06d;
  box-shadow: 0 0 0 0 rgba(62, 224, 109, 0.7);
  animation: l7-rewards-pulse 1.6s ease-out infinite;
}
.l7-rewards__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.l7-rewards__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: 0.25s opacity, 0.25s background, 0.25s border-color;
}
.l7-rewards__arrow:hover,
.l7-rewards__arrow:focus-visible {
  opacity: 1;
  background: linear-gradient(90deg, rgba(66, 65, 229, 0.35), rgba(219, 51, 228, 0.35));
  border-color: rgba(219, 51, 228, 0.7);
  outline: none;
}
.l7-rewards__total {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, #7a3b7c 0%, #8d4aa8 42%, #4241e5 100%);
  color: #fff;
}
.l7-rewards__total-label {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.l7-rewards__total-amount {
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.l7-rewards__viewport {
  overflow: hidden;
  cursor: grab;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.l7-rewards__viewport.is-dragging {
  cursor: grabbing;
}
.l7-rewards__track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.l7-rewards__card {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  min-width: 176px;
  height: 56px;
  padding: 10px 16px 10px 12px;
  border-radius: 16px;
  background: var(--l7-rewards-card);
  color: #fff;
  white-space: nowrap;
}
.l7-rewards__coin {
  display: flex;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.l7-rewards__coin svg {
  display: block;
  width: 32px;
  height: 32px;
}
.l7-rewards__nick {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.l7-rewards__amount {
  margin-left: auto;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.l7-rewards-editor-hint {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef0ff;
  border: 1px solid #c9cbee;
  color: #1b1f2a;
  font-size: 12px;
  line-height: 1.45;
}
.editor-styles-wrapper .wp-block[data-type="acf/lucky7even-rewards"],
.block-editor-block-list__block[data-type="acf/lucky7even-rewards"] {
  max-width: none !important;
  width: 100%;
}
.editor-styles-wrapper .l7-rewards,
.acf-block-preview .l7-rewards {
  color: #fff;
}
.editor-styles-wrapper .l7-rewards p,
.editor-styles-wrapper .l7-rewards h3,
.acf-block-preview .l7-rewards p,
.acf-block-preview .l7-rewards h3 {
  -webkit-text-fill-color: unset;
  background-image: none;
  filter: none;
}
@keyframes l7-rewards-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 224, 109, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(62, 224, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 224, 109, 0);
  }
}
@media (max-width: 760px) {
  .l7-rewards {
    padding: 16px 14px 14px;
    border-radius: 20px;
  }
  .l7-rewards__title {
    font-size: 18px;
  }
  .l7-rewards__total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
  }
  .l7-rewards__total-label {
    font-size: 12px;
  }
  .l7-rewards__total-amount {
    font-size: 18px;
  }
  .l7-rewards__track {
    gap: 8px;
  }
  .l7-rewards__card {
    min-width: 158px;
    height: 52px;
    padding: 8px 14px 8px 10px;
  }
  .l7-rewards__amount {
    font-size: 14px;
  }
  .l7-rewards__arrow {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  .l7-rewards__viewport {
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 82%, transparent 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .l7-rewards__track {
    transform: none !important;
  }
}
