.hhe-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none !important;
    user-select: none;
    line-height: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

.hhe-overlay.hhe-ready {
    opacity: 1;
}

.hhe-graphic-wrap {
    display: flex;
    justify-content: center;
    line-height: 0;
}

.hhe-overlay img,
.hhe-overlay lottie-player {
    display: block;
    pointer-events: none !important;
}

.hhe-repeat-banner {
    width: 100%;
    background-repeat: repeat-x;
    background-position: top center;
    background-size: auto 100%;
}

/* Mirror only the graphic on right edge, keeping countdown text readable */
.hhe-pos-under_right .hhe-graphic-wrap img,
.hhe-pos-under_right .hhe-graphic-wrap lottie-player {
    transform: scaleX(-1);
}

/* Countdown Badge Styling */
.hhe-countdown-badge {
    margin-top: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .hhe-hide-mobile {
        display: none !important;
    }
}