.draw-ball {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.draw-ball-rolling {
    animation: draw-ball-pulse 0.8s ease-in-out infinite;
}

@keyframes draw-ball-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

@keyframes special-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-12px); }
    60% { transform: translateY(0); }
    80% { transform: translateY(-6px); }
}

.draw-ball-special-reveal {
    animation: special-bounce 800ms ease-out forwards;
}

.draw-ball-glow-red {
    box-shadow: 0 0 18px rgba(229, 57, 53, 0.85), 0 0 36px rgba(229, 57, 53, 0.45);
}

.draw-ball-glow-blue {
    box-shadow: 0 0 18px rgba(30, 136, 229, 0.85), 0 0 36px rgba(30, 136, 229, 0.45);
}

.draw-ball-glow-green {
    box-shadow: 0 0 18px rgba(67, 160, 71, 0.85), 0 0 36px rgba(67, 160, 71, 0.45);
}

.draw-progress-bar {
    will-change: width;
}

.draw-prediction-hits-enter {
    animation: draw-prediction-hits-enter 0.55s ease-out both;
}

@keyframes draw-prediction-hits-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.draw-prediction-hits-pending {
    animation: draw-ball-pulse 1.2s ease-in-out infinite;
}

.draw-prediction-hit-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.draw-prediction-hit-link__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.draw-prediction-hit-link__badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(to right, #10b981, #16a34a);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 10px rgb(16 185 129 / 0.25);
    white-space: nowrap;
}

.draw-prediction-hit-link__category {
    display: inline-flex;
    flex-shrink: 0;
    border-radius: 999px;
    background: #fef2f2;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
    white-space: nowrap;
}

.draw-prediction-hit-link__title {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #1e293b;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.draw-prediction-hit-link__action {
    order: 3;
    align-self: flex-end;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    white-space: nowrap;
    line-height: 1;
    padding-top: 2px;
}

.draw-prediction-hits-all-link {
    width: 100%;
    line-height: 1.35;
}

.draw-prediction-next {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.draw-prediction-next:hover {
    transform: translateY(-3px);
}

.draw-prediction-next:active {
    transform: translateY(-1px);
}

.draw-prediction-next-enter {
    animation: draw-prediction-next-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes draw-prediction-next-enter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.draw-prediction-next-inner {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px solid rgb(251 146 60 / 0.85);
    background: linear-gradient(135deg, #ea580c 0%, #f97316 38%, #fb923c 68%, #fbbf24 100%);
    box-shadow:
        0 0 0 1px rgb(234 88 12 / 0.2),
        0 12px 32px rgb(234 88 12 / 0.38),
        0 4px 12px rgb(0 0 0 / 0.08);
}

.draw-prediction-next:hover .draw-prediction-next-inner {
    border-color: #fff;
    box-shadow:
        0 0 0 2px rgb(251 191 36 / 0.5),
        0 18px 42px rgb(234 88 12 / 0.48),
        0 6px 16px rgb(0 0 0 / 0.1);
}

.draw-prediction-next__shine {
    position: absolute;
    inset: -40% -60%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgb(255 255 255 / 0.35) 50%,
        transparent 60%
    );
    animation: draw-prediction-next-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes draw-prediction-next-shine {
    0%, 100% { transform: translateX(-30%) rotate(12deg); opacity: 0; }
    15% { opacity: 1; }
    45% { transform: translateX(30%) rotate(12deg); opacity: 1; }
    60% { opacity: 0; }
}

.draw-prediction-next__body {
    position: relative;
    z-index: 1;
    padding: 16px 18px 18px;
}

.draw-prediction-next__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.draw-prediction-next__hot {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.22);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fff;
    backdrop-filter: blur(4px);
    animation: draw-prediction-next-hot-pulse 2s ease-in-out infinite;
}

@keyframes draw-prediction-next-hot-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgb(255 255 255 / 0.3); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 6px rgb(255 255 255 / 0); }
}

.draw-prediction-next__issue {
    font-size: 13px;
    font-weight: 800;
    color: rgb(255 255 255 / 0.95);
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.15);
}

.draw-prediction-next__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.draw-prediction-next__copy {
    min-width: 0;
    flex: 1;
}

.draw-prediction-next__label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.88);
}

.draw-prediction-next__headline {
    margin: 6px 0 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}

.draw-prediction-next__headline strong {
    font-size: 1.35em;
    line-height: 1;
}

.draw-prediction-next__hint {
    margin: 8px 0 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    color: rgb(255 255 255 / 0.82);
}

.draw-prediction-next__count-ring {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.95);
    box-shadow:
        0 0 0 4px rgb(255 255 255 / 0.25),
        0 8px 24px rgb(0 0 0 / 0.15);
    animation: draw-prediction-next-count-pulse 2.2s ease-in-out infinite;
}

@keyframes draw-prediction-next-count-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.draw-prediction-next__count-num {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    color: #ea580c;
}

.draw-prediction-next__count-label {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 800;
    color: #c2410c;
}

.draw-prediction-next__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 900;
    color: #c2410c;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.draw-prediction-next:hover .draw-prediction-next__cta {
    background: #fffbeb;
    color: #9a3412;
}

.draw-prediction-next__cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    transition: transform 0.25s ease;
}

.draw-prediction-next:hover .draw-prediction-next__cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .draw-prediction-next__body {
        padding: 14px 14px 16px;
    }

    .draw-prediction-next__headline {
        font-size: 18px;
    }

    .draw-prediction-next__count-ring {
        width: 64px;
        height: 64px;
    }

    .draw-prediction-next__count-num {
        font-size: 26px;
    }

    .draw-prediction-next__hint {
        font-size: 10px;
    }

    .draw-prediction-next__cta {
        font-size: 14px;
        padding: 12px 14px;
    }
}

@media (max-width: 640px) {
    .draw-prediction-hit-link {
        gap: 6px;
    }

    .draw-prediction-hit-link__title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .draw-prediction-hit-link__action {
        font-size: 12px;
    }

    .draw-prediction-hits-all-link {
        font-size: 13px;
        padding-left: 12px;
        padding-right: 12px;
    }
}
