.wcst-timer {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 12px;
    margin: 10px 0;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(10, 20, 40, 0.16);
}

.wcst-badge {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    text-wrap: balance;
    text-align: center;
}

.wcst-time-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(54px, 1fr));
    gap: 6px;
}

.wcst-time-box {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    text-align: center;
    padding: 8px 6px;
    backdrop-filter: blur(3px);
    min-width: 0;
}

.wcst-num {
    display: block;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.wcst-label {
    display: block;
    margin-top: 2px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.9;
}

.wcst-ended .wcst-badge {
    opacity: 0.95;
}

.wcst-theme-theme1 {
    background: linear-gradient(135deg, #ff6a88 0%, #ff9966 45%, #ff5e62 100%);
}

.wcst-theme-theme2 {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 52%, #3f5efb 100%);
}

.wcst-theme-theme3 {
    background: linear-gradient(135deg, #7f00ff 0%, #e100ff 58%, #f857a6 100%);
}

.wcst-theme-theme4 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 50%, #43e97b 100%);
}

.wcst-theme-theme5 {
    background: linear-gradient(135deg, #f12711 0%, #f5af19 55%, #ff512f 100%);
}

@media (max-width: 680px) {
    .wcst-timer {
        padding: 10px;
        border-radius: 10px;
    }

    .wcst-badge {
        font-size: 0.82rem;
    }

    .wcst-time-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 4px;
        width: 100%;
    }

    .wcst-time-box {
        flex: 1 1 0;
        width: auto !important;
        max-width: none !important;
        padding: 6px 3px;
        border-radius: 8px;
    }

    .wcst-num {
        font-size: 0.95rem;
    }

    .wcst-label {
        font-size: 0.52rem;
        letter-spacing: 0.06em;
    }
}
