.LuckyNumber .lucky-card {
  background-color: #ffe6cc !important;
  border: 2px solid #800000 !important;
  overflow: hidden;
  border-radius: 8px;
}

.LuckyNumber .lucky-header {
  background-color: #ff007f;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.LuckyNumber .panel-label {
  color: #000080;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.LuckyNumber .panel-label.underlined {
  text-decoration: underline;
}

.LuckyNumber .border-end-separator {
  border-right: 1px solid #cfa1a1;
}

.LuckyNumber .lucky-digits {
  color: #cc0000;
  font-size: 1.5rem;
  font-weight: 800;
}

.LuckyNumber .ank-highlight {
  color: #cc0000;
  font-weight: bold;
}

/* --- CONTINUOUS VERTICAL MARQUEE ENGINE --- */

/* Restricts the box view height and masks overflowing values */
.LuckyNumber .marquee-vertical-viewport {
  height: 44px; 
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Track running the loop translation animation */
.LuckyNumber .marquee-vertical-track {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  animation: verticalScrollLoop 1.5s linear infinite;
}

/* Ensure matching heights across all links for exact timing */
.LuckyNumber .marquee-item {
  height: 22px;
  line-height: 22px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

/* Pause the scrolling animation when a user hovers cursor over them */
.LuckyNumber .marquee-vertical-viewport:hover .marquee-vertical-track {
  animation-play-state: paused;
}

/* Translate animation shifting exactly half height (2 out of 4 rows) */
@keyframes verticalScrollLoop {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-44px); 
  }
}