.woolements-timed-announcement {
    --wta-accent: #6c5cff;
    --wta-text: #101827;
    --wta-muted: #718096;
    --wta-progress: 0%;
    direction: rtl;
    width: 100%;
}

.woolements-timed-announcement .wta-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(108, 92, 255, .16);
    border-radius: 30px;
    background: radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--wta-accent) 20%, transparent), transparent 34%), linear-gradient(135deg, #fff, #f8f9ff);
    box-shadow: 0 24px 60px rgba(17, 24, 39, .12);
    color: var(--wta-text);
}

.woolements-timed-announcement .wta-card > *:empty {
    display: none;
}

.woolements-timed-announcement .wta-card:before {
    content: "";
    position: absolute;
    inset: -80px auto auto -90px;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wta-accent) 18%, transparent);
    filter: blur(20px);
    pointer-events: none;
}

.woolements-timed-announcement .wta-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.woolements-timed-announcement .wta-header:has(.wta-label:only-child) {
    justify-content: flex-start;
}

.woolements-timed-announcement .wta-label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wta-accent) 12%, #fff);
    color: var(--wta-accent);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
}

.woolements-timed-announcement .wta-title {
    margin: 0;
    color: var(--wta-text);
    font-size: clamp(20px, 2.4vw, 34px);
    font-weight: 950;
    line-height: 1.45;
}

.woolements-timed-announcement .wta-body {
    position: relative;
    z-index: 2;
    margin-bottom: 38px;
    text-align: center;
}

.woolements-timed-announcement .wta-message {
    margin: 8px 0 0;
    color: var(--wta-muted);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.9;
}

.woolements-timed-announcement .wta-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.woolements-timed-announcement .wta-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    color: var(--wta-text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.woolements-timed-announcement .wta-countdown {
    color: var(--wta-accent);
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.woolements-timed-announcement .wta-current-time,
.woolements-timed-announcement .wta-countdown {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: rtl;
}

.woolements-timed-announcement .wta-time-second,
.woolements-timed-announcement .wta-countdown-second {
    order: 1;
}

.woolements-timed-announcement .wta-time-separator-second,
.woolements-timed-announcement .wta-countdown-separator-second {
    order: 2;
}

.woolements-timed-announcement .wta-time-minute,
.woolements-timed-announcement .wta-countdown-minute {
    order: 3;
}

.woolements-timed-announcement .wta-time-separator-hour,
.woolements-timed-announcement .wta-countdown-separator-hour {
    order: 4;
}

.woolements-timed-announcement .wta-time-hour,
.woolements-timed-announcement .wta-countdown-hour {
    order: 5;
}

.woolements-timed-announcement .wta-time-second,
.woolements-timed-announcement .wta-countdown-second {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2ch;
    color: var(--wta-accent);
    transform-origin: center;
}

.woolements-timed-announcement .wta-tick {
    animation: wtaSecondTick .36s cubic-bezier(.2, .9, .2, 1);
}

.woolements-timed-announcement .wta-timeline {
    position: relative;
    z-index: 2;
    min-height: 92px;
    margin-top: 0;
    padding: 38px 0 0;
    direction: rtl;
    overflow: visible;
}

.woolements-timed-announcement .wta-line {
    position: absolute;
    top: 42px;
    right: 0;
    left: 0;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8ecf7;
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, .08);
}

.woolements-timed-announcement .wta-line-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: var(--wta-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--wta-accent) 72%, #9ff7df), var(--wta-accent));
    transition: width .7s ease;
}

.woolements-timed-announcement.wta-motion-rtl .wta-line-fill {
    right: 0;
    left: auto;
    width: var(--wta-progress);
}

.woolements-timed-announcement.wta-motion-ltr .wta-line-fill {
    left: 0;
    right: auto;
    width: var(--wta-progress);
}

.woolements-timed-announcement .wta-moving-icon {
    position: absolute;
    top: 18px;
    right: var(--wta-progress);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 4px solid #fff;
    border-radius: 18px;
    background: var(--wta-accent);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--wta-accent) 30%, transparent);
    transition: right .7s ease, background .25s ease;
    transform: translateX(50%);
    animation: wtaTruckFloat 2.4s ease-in-out infinite;
}

.woolements-timed-announcement.wta-motion-rtl .wta-moving-icon {
    right: var(--wta-progress);
    left: auto;
    transform: translateX(50%);
}

.woolements-timed-announcement.wta-motion-ltr .wta-moving-icon {
    left: var(--wta-progress);
    right: auto;
    transform: translateX(-50%);
}

.woolements-timed-announcement .wta-moving-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.woolements-timed-announcement .wta-point {
    position: absolute;
    top: 30px;
    right: var(--wta-point);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
    transform: translateX(50%);
}

.woolements-timed-announcement .wta-point-dot {
    width: 20px;
    height: 20px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #aeb8cc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
    transition: transform .2s ease, background .2s ease;
}

.woolements-timed-announcement .wta-point.is-active .wta-point-dot {
    background: var(--wta-accent);
    transform: scale(1.18);
}

.woolements-timed-announcement .wta-point-time {
    margin-top: 12px;
    color: var(--wta-text);
    direction: ltr;
    font-size: 12px;
    font-weight: 900;
}

.woolements-timed-announcement .wta-point-text {
    display: none !important;
}

.woolements-timed-announcement .wta-countdown-row {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.woolements-timed-announcement.wta-layout-compact .wta-card {
    padding: 20px;
    border-radius: 22px;
}

.woolements-timed-announcement.wta-layout-compact .wta-timeline {
    margin-top: 0;
}

.woolements-timed-announcement.wta-layout-glass .wta-card {
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(244,247,255,.58));
    backdrop-filter: blur(18px);
}

@keyframes wtaTruckFloat {
    0%, 100% { transform: translateX(50%) translateY(0); }
    50% { transform: translateX(50%) translateY(-4px); }
}

.woolements-timed-announcement.wta-motion-ltr .wta-moving-icon {
    animation-name: wtaTruckFloatLtr;
}

@keyframes wtaTruckFloatLtr {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes wtaSecondTick {
    0% { opacity: .45; transform: translateY(-7px) scale(.82) rotateX(70deg); filter: blur(1px); }
    60% { opacity: 1; transform: translateY(1px) scale(1.08) rotateX(0deg); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); filter: blur(0); }
}

@media (max-width: 768px) {
    .woolements-timed-announcement {
        max-width: 100%;
    }

    .woolements-timed-announcement .wta-card {
        padding: 18px;
        border-radius: 24px;
        background: linear-gradient(145deg, #ffffff, #f8faff);
        box-shadow: 0 16px 38px rgba(15, 23, 42, .10);
    }

    .woolements-timed-announcement .wta-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .woolements-timed-announcement .wta-label {
        min-height: 36px;
        padding: 0 12px;
        font-size: 11px;
        border-radius: 14px;
        box-shadow: 0 8px 18px color-mix(in srgb, var(--wta-accent) 10%, transparent);
    }

    .woolements-timed-announcement .wta-meta {
        justify-content: flex-start;
        flex: 0 0 auto;
    }

    .woolements-timed-announcement .wta-meta-pill {
        min-height: 38px;
        padding: 0 11px;
        border-radius: 14px;
        font-size: 12px;
        gap: 5px;
    }

    .woolements-timed-announcement .wta-body {
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .woolements-timed-announcement .wta-title {
        font-size: 17px;
        line-height: 1.65;
    }

    .woolements-timed-announcement .wta-message {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.9;
    }

    .woolements-timed-announcement .wta-timeline {
        min-height: 104px;
        padding-top: 34px;
        padding-inline: 0;
    }

    .woolements-timed-announcement .wta-line {
        top: 38px;
        right: 0;
        left: 0;
        height: 8px;
    }

    .woolements-timed-announcement .wta-moving-icon {
        top: 17px;
        width: 42px;
        height: 42px;
        border-width: 3px;
        border-radius: 14px;
        font-size: 17px;
        box-shadow: 0 14px 26px color-mix(in srgb, var(--wta-accent) 26%, transparent);
    }

    .woolements-timed-announcement .wta-point {
        top: 28px;
        min-width: 46px;
    }

    .woolements-timed-announcement .wta-point-dot {
        width: 18px;
        height: 18px;
        border-width: 4px;
    }

    .woolements-timed-announcement .wta-point-time {
        margin-top: 10px;
        font-size: 11px;
    }

    .woolements-timed-announcement .wta-countdown-row {
        margin-top: 10px;
    }

    .woolements-timed-announcement .wta-countdown-row .wta-meta-pill {
        width: 100%;
        max-width: 280px;
        min-height: 42px;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .woolements-timed-announcement .wta-card {
        padding: 15px;
        border-radius: 20px;
    }

    .woolements-timed-announcement .wta-header {
        gap: 8px;
    }

    .woolements-timed-announcement .wta-label,
    .woolements-timed-announcement .wta-meta-pill {
        font-size: 11px;
    }

    .woolements-timed-announcement .wta-title {
        font-size: 15px;
    }

    .woolements-timed-announcement .wta-message {
        font-size: 12px;
    }

    .woolements-timed-announcement .wta-moving-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .woolements-timed-announcement .wta-point {
        min-width: 40px;
    }
}
