.wheel-page {
    background: #ffffff;
}

.wheel-confetti-banner {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.wheel-terms-card {
    border-radius: 0;
    border: 1px solid #e9ecef;
}

.wheel-entry-panel {
    background: transparent;
}

.wheel-canvas-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.wheel-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #1f2937;
    z-index: 10;
}

.wheel-canvas-wrap canvas {
    max-width: 100%;
    height: auto;
}

.wheel-captcha-wrap iframe {
    max-width: 100%;
}

.wheel-status {
    min-height: 1.5rem;
}

.wheel-terms-list {
    margin-left: 1.1rem;
    padding-left: 0.4rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #6c757d;
}

.wheel-terms-list li + li {
    margin-top: 0.65rem;
}

/* Error modal auto-close countdown (SweetAlert-style bar at bottom; win modal unchanged) */
.wheel-error-modal-timer {
    --wheel-error-timer-ms: 3000ms;
    width: 100%;
    height: 4px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.wheel-error-modal-timer-bar {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(1);
    background: #B82222;
}

.wheel-error-modal-timer-bar.is-counting {
    animation: wheel-error-timer-shrink var(--wheel-error-timer-ms, 3000ms) linear forwards;
}

@keyframes wheel-error-timer-shrink {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (min-width: 992px) {
    .wheel-canvas-wrap canvas {
        max-width: 520px;
    }
}
