.top-site-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgb(var(--main-color) / 0.95);
}

.dark .top-site-banner {
    background-color: rgb(var(--main-color) / 0.6);
}

.festival-countdown-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 2.5rem;
    background: linear-gradient(90deg, #b91c7a 0%, #7c3aed 45%, #a855f7 100%);
    color: #fff;
}

.festival-countdown-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.festival-countdown-banner__text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.festival-countdown-banner__timer {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.festival-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 3.1rem;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
}

.festival-countdown-unit__value {
    padding: 0.35rem 0.5rem 0.2rem;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    color: #1f2937;
    font-variant-numeric: tabular-nums;
}

.festival-countdown-unit__label {
    padding: 0.2rem 0.35rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: rgb(var(--main-color));
}

.festival-countdown-sep {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    padding-bottom: 1.1rem;
}

.festival-countdown-banner__close {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: rgb(255 255 255 / 0.85);
    cursor: pointer;
}

.festival-countdown-banner__close:hover {
    background: rgb(255 255 255 / 0.12);
}

@media (max-width: 640px) {
    .festival-countdown-banner {
        padding: 0.75rem 2rem;
    }

    .festival-countdown-banner__inner {
        flex-direction: column;
        gap: 0.65rem;
    }

    .festival-countdown-unit {
        min-width: 2.65rem;
    }

    .festival-countdown-unit__value {
        font-size: 1.1rem;
    }

    .festival-countdown-sep {
        padding-bottom: 0.9rem;
    }
}
