:root {
    --tueb-bg: rgba(249, 249, 249, .98);
    --tueb-border: rgba(0, 0, 0, .10);
    --tueb-text: #181818;
    --tueb-muted: #555;
    --tueb-city-bg: #cde9c7;
    --tueb-date-bg: #f3ced9;
    --tueb-button-bg: #2f6f59;
    --tueb-button-text: #fff;
    --tueb-shadow: 0 -4px 20px rgba(0, 0, 0, .10);
}

#tueb-banner {
    position: fixed;
    z-index: 999999;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--tueb-bg);
    border-top: 1px solid var(--tueb-border);
    box-shadow: var(--tueb-shadow);
    color: var(--tueb-text);
    font-family: inherit;
    box-sizing: border-box;
}

#tueb-banner * {
    box-sizing: border-box;
}

.tueb-track {
    position: relative;
    width: min(1180px, 100%);
    min-height: 86px;
    margin: 0 auto;
}

.tueb-slide {
    display: none;
    width: 100%;
}

.tueb-slide.is-active {
    display: block;
}

.tueb-main-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 10px 58px 10px 16px;
    color: inherit;
    text-decoration: none !important;
}

.tueb-main-link:hover,
.tueb-main-link:focus {
    color: inherit;
    text-decoration: none !important;
}

#tueb-banner .tueb-thumb {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    flex: 0 0 100px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px;
    background: #eee;
}

.tueb-copy {
    min-width: 0;
}

.tueb-city {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    padding: 3px 8px;
    border-radius: 5px;
    background: var(--tueb-city-bg);
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tueb-title {
    font-size: 16px;
    line-height: 1.28;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tueb-date {
    min-width: 110px;
    padding: 8px 12px 7px;
    border-radius: 7px;
    background: var(--tueb-date-bg);
    text-align: center;
    line-height: 1;
}

.tueb-days {
    display: block;
    font-size: 24px;
    font-weight: 500;
    white-space: nowrap;
}

.tueb-month {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--tueb-muted);
}

.tueb-date.is-cross-month {
    min-width: 110px;
}

.tueb-cross-days {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.tueb-cross-day {
    display: inline-block;
    font-size: 24px;
    font-weight: 500;
}

.tueb-cross-end {
    margin-left: 1px;
}

.tueb-cross-months {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3px;
    line-height: 1.05;
}

.tueb-cross-month {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--tueb-muted);
}

.tueb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--tueb-button-bg);
    color: var(--tueb-button-text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

#tueb-banner .tueb-close {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, .16) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #444 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .10) !important;
    line-height: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}

#tueb-banner .tueb-close:hover,
#tueb-banner .tueb-close:focus-visible {
    background: #fff !important;
    color: #111 !important;
}

#tueb-banner .tueb-close-icon {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
    pointer-events: none;
}

.tueb-dots {
    position: absolute;
    left: 50%;
    bottom: 4px;
    display: flex;
    gap: 5px;
    transform: translateX(-50%);
}

#tueb-banner .tueb-dots .tueb-dot {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}

#tueb-banner .tueb-dots .tueb-dot-icon {
    display: block !important;
    width: 7px !important;
    height: 7px !important;
    flex: 0 0 7px !important;
    fill: rgba(0, 0, 0, .24) !important;
    pointer-events: none;
}

#tueb-banner .tueb-dots .tueb-dot.is-active .tueb-dot-icon {
    fill: rgba(0, 0, 0, .78) !important;
}

body.tueb-has-offset {
    padding-bottom: var(--tueb-height, 100px) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .tueb-main-link {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        padding-right: 52px;
    }

    .tueb-button {
        display: none;
    }

    #tueb-banner .tueb-thumb {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        min-height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
        flex-basis: 72px !important;
    }

    .tueb-date {
        min-width: 98px;
    }

    .tueb-days {
        font-size: 21px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .tueb-track {
        min-height: 76px;
    }

    .tueb-main-link {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 76px;
        gap: 8px;
        padding: 8px 38px 10px 8px;
    }

    #tueb-banner .tueb-thumb {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        flex-basis: 56px !important;
        border-radius: 6px;
    }

    .tueb-city {
        margin-bottom: 3px;
        padding: 2px 6px;
        font-size: 11px;
    }

    .tueb-title {
        font-size: 12.5px;
        line-height: 1.23;
        -webkit-line-clamp: 2;
    }

    .tueb-date {
        min-width: 76px;
        padding: 7px 7px 6px;
        border-radius: 6px;
    }

    .tueb-days {
        font-size: 18px;
    }

    .tueb-month {
        margin-top: 3px;
        font-size: 10px;
    }

    .tueb-date.is-cross-month {
        min-width: 76px;
    }

    .tueb-cross-months {
        margin-top: 2px;
    }

    .tueb-cross-month {
        line-height: 1.02;
    }

    #tueb-banner .tueb-close {
        top: 5px !important;
        right: 5px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }

    #tueb-banner .tueb-close-icon {
        width: 13px !important;
        height: 13px !important;
    }

    .tueb-dots {
        bottom: 2px;
    }
}

/* Very narrow screens */
@media (max-width: 390px) {
    #tueb-banner .tueb-thumb {
        display: none !important;
    }

    .tueb-main-link {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}
