:root {
    --pit-sep-blue: #075c8f;
    --pit-sep-deep: #004e79;
    --pit-sep-red: #d4142c;
    --pit-sep-pale: #eaf4fb;
    --pit-sep-white: #fff;
}

html.pit-sep-no-scroll {
    overflow: hidden !important;
}

.pit-sep-bar,
.pit-sep-overlay,
.pit-sep-badge,
.pit-sep-bar *,
.pit-sep-overlay *,
.pit-sep-badge * {
    box-sizing: border-box;
}

.pit-sep-bar,
.pit-sep-overlay,
.pit-sep-badge {
    font-family: Arial, Helvetica, sans-serif;
}

.pit-sep-bar {
    position: sticky;
    top: 0;
    z-index: 999997;
    display: grid;
    grid-template-columns: 50px minmax(220px, 1fr) auto auto 34px;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 100vw;
    min-height: 70px;
    margin: 0;
    padding: 8px 16px;
    overflow: hidden;
    background: linear-gradient(90deg, #eaf4fb, #dceef8 56%, #c9e5f4);
    color: var(--pit-sep-deep);
    box-shadow: 0 6px 20px rgba(0, 42, 67, .18);
    cursor: pointer;
}

.pit-sep-bar:focus-visible {
    outline: 3px solid var(--pit-sep-red);
    outline-offset: -3px;
}

body.admin-bar .pit-sep-bar {
    top: 32px;
}

.pit-sep-bar__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--pit-sep-blue);
    font-size: 24px;
}

.pit-sep-bar__text {
    min-width: 0;
}

.pit-sep-bar__text strong,
.pit-sep-bar__text span {
    display: block;
}

.pit-sep-bar__text strong {
    margin-bottom: 3px;
    font-size: 13px;
    letter-spacing: .08em;
}

.pit-sep-bar__text span {
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pit-sep-bar__text b {
    color: var(--pit-sep-red);
    font-size: 21px;
    font-weight: 900;
}

.pit-sep-bar__text em {
    color: var(--pit-sep-red);
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .04em;
}

.pit-sep-bar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 17px;
    border-radius: 999px;
    background: var(--pit-sep-blue);
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.pit-sep-bar__countdown {
    display: flex;
    gap: 7px;
}

.pit-sep-bar__countdown span {
    min-width: 48px;
    padding: 5px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    text-align: center;
}

.pit-sep-bar__countdown b,
.pit-sep-bar__countdown small {
    display: block;
}

.pit-sep-bar__countdown b {
    color: var(--pit-sep-deep);
    font-size: 20px;
    line-height: 1;
}

.pit-sep-bar__countdown small {
    margin-top: 3px;
    color: var(--pit-sep-deep);
    font-size: 8px;
    line-height: 1;
    text-transform: uppercase;
}

.pit-sep-bar__close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pit-sep-white);
    color: var(--pit-sep-deep);
    font-size: 22px;
    line-height: 30px;
    cursor: pointer;
}

.pit-sep-bar__close:hover,
.pit-sep-bar__close:focus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pit-sep-white);
    color: var(--pit-sep-red);
    transform: none;
}

.pit-sep-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow: auto;
    background: rgba(3, 17, 33, .78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    backdrop-filter: blur(5px);
}

.pit-sep-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pit-sep-modal {
    position: relative;
    width: min(1180px, 96vw, calc(90vh * 1.7768));
    aspect-ratio: 1672 / 941;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
}

.pit-sep-modal__link {
    display: block;
    width: 100%;
    height: 100%;
}

.pit-sep-creative {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.pit-sep-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid rgba(7, 92, 143, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--pit-sep-deep);
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    box-shadow: 0 4px 14px rgba(0, 38, 62, .18);
    cursor: pointer;
}

.pit-sep-modal__close:hover,
.pit-sep-modal__close:focus {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--pit-sep-red);
    box-shadow: 0 4px 14px rgba(0, 38, 62, .18);
    transform: none;
}

.pit-sep-modal__close:focus-visible {
    outline: 3px solid var(--pit-sep-blue);
    outline-offset: -4px;
}

.pit-sep-badge {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 999996;
    display: none;
    width: 108px;
    height: 108px;
    padding: 7px;
    place-content: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #0b78ad, var(--pit-sep-deep));
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
    cursor: pointer;
}

.pit-sep-badge.is-visible {
    display: grid;
}

.pit-sep-badge span,
.pit-sep-badge strong,
.pit-sep-badge small {
    display: block;
}

.pit-sep-badge span {
    font-size: 21px;
    line-height: 1;
}

.pit-sep-badge strong {
    margin-top: 3px;
    font-size: 27px;
    line-height: 1;
}

.pit-sep-badge small {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
}

@media (max-width: 900px) {
    body.admin-bar .pit-sep-bar {
        top: 46px;
    }

    .pit-sep-bar {
        grid-template-columns: minmax(0, 1fr) auto 30px;
        gap: 8px;
        min-height: 60px;
        padding: 7px 9px;
    }

    .pit-sep-bar__icon,
    .pit-sep-bar__countdown {
        display: none;
    }

    .pit-sep-bar__text strong {
        font-size: 11px;
    }

    .pit-sep-bar__text span {
        font-size: 13px;
        white-space: normal;
        line-height: 1.2;
    }

    .pit-sep-bar__text b {
        display: inline;
        font-size: 16px;
    }

    .pit-sep-bar__text em {
        font-size: 12px;
    }

    .pit-sep-bar__cta {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .pit-sep-modal {
        width: min(960px, 96vw);
        border-radius: 14px;
    }

    .pit-sep-badge {
        left: 10px;
        bottom: 10px;
        width: 86px;
        height: 86px;
    }

    .pit-sep-badge strong {
        font-size: 22px;
    }
}

@media (max-width: 620px) {
    .pit-sep-overlay {
        padding: 8px;
    }

    .pit-sep-modal {
        width: 98vw;
        max-height: 88vh;
        border-radius: 11px;
    }

    .pit-sep-modal__close,
    .pit-sep-modal__close:hover,
    .pit-sep-modal__close:focus {
        top: 7px;
        right: 7px;
        width: 34px;
        height: 34px;
        font-size: 25px;
        line-height: 29px;
    }

    .pit-sep-bar__text span {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pit-sep-overlay {
        transition: none;
    }
}
