.app.has-promo-banner {
    --promo-banner-height: 44px;
}

.promo-announcement {
    position: sticky;
    top: var(--header-h, 72px);
    z-index: 55;
    min-height: var(--promo-banner-height);
    width: 100%;
    display: flex;
    align-items: center;
    color: #e8edf7;
    background: linear-gradient(90deg, rgba(9, 13, 25, .98), rgba(17, 25, 45, .97) 48%, rgba(9, 13, 25, .98));
    border-bottom: 1px solid rgba(148, 163, 184, .20);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.promo-announcement[hidden] {
    display: none !important;
}

.promo-announcement__inner {
    width: 100%;
    max-width: 1780px;
    min-height: var(--promo-banner-height);
    margin: 0 auto;
    padding: 5px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(9px, 1.15vw, 19px);
    white-space: nowrap;
}

.promo-announcement__label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 11px;
    border: 1px solid rgba(245, 190, 92, .48);
    border-radius: 999px;
    color: #f3cb82;
    background: rgba(245, 190, 92, .08);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.promo-announcement__offer {
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: rgba(232, 237, 247, .84);
    font-size: 12px;
    line-height: 1.25;
}

.promo-announcement__discount {
    color: #6fd5a8;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.025em;
}

.promo-announcement__code-caption,
.promo-announcement__countdown > span {
    color: rgba(190, 201, 220, .66);
    font-size: 11px;
}

.promo-announcement__code {
    min-height: 27px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px dashed rgba(91, 166, 242, .56);
    border-radius: 7px;
    color: #dceaff;
    background: rgba(40, 100, 166, .20);
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .07em;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.promo-announcement__code:hover {
    background: rgba(40, 120, 194, .30);
    border-color: rgba(104, 183, 255, .86);
    transform: translateY(-1px);
}

.promo-announcement__code svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .8;
}

.promo-announcement__code.is-copied {
    color: #8fe6bd;
    border-color: rgba(89, 205, 151, .65);
}

.promo-announcement__countdown {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: #e8edf7;
    font-size: 11px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.promo-announcement__countdown strong {
    color: #f4f6fb;
    font-weight: 800;
}

.promo-announcement__button {
    min-height: 29px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid rgba(76, 195, 139, .72);
    border-radius: 8px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #16b100, #049d0a);
    /*box-shadow: 0 3px 10px rgba(32, 174, 117, .18);*/
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    transition: filter .16s ease, transform .16s ease, box-shadow .16s ease;
}

.promo-announcement__button:hover {
    color: #ffffff !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
    /*box-shadow: 0 5px 14px rgba(32, 174, 117, .25);*/
}

.app.has-promo-banner .left-sidebar {
    top: calc(var(--header-h, 72px) + var(--promo-banner-height));
    height: calc(100vh - var(--header-h, 72px) - var(--promo-banner-height));
}

.app.has-promo-banner .ny-scene {
    top: calc(var(--header-h, 72px) + var(--promo-banner-height));
}

@media (max-width: 1100px) {
    .promo-announcement__inner {
        gap: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .promo-announcement__offer {
        font-size: 11px;
    }

    .promo-announcement__countdown {
        font-size: 10px;
    }
}

@media (max-width: 860px) {
    .app.has-promo-banner {
        --promo-banner-height: 64px;
    }

    .promo-announcement__inner {
        min-height: var(--promo-banner-height);
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 6px 12px;
        padding: 7px 10px;
        white-space: normal;
    }

    .promo-announcement__label {
        min-height: 21px;
        font-size: 9px;
    }

    .promo-announcement__offer {
        font-size: 11px;
    }

    .promo-announcement__button {
        min-height: 26px;
    }

    .app.has-promo-banner .ny-scene {
        top: calc(var(--header-h, 72px) + var(--promo-banner-height));
    }
}

@media (max-width: 560px) {
    .app.has-promo-banner {
        --promo-banner-height: 78px;
    }

    .promo-announcement__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "offer button"
            "code countdown";
        justify-content: stretch;
        align-items: center;
        gap: 5px 9px;
        padding: 7px 10px;
    }

    .promo-announcement__label,
    .promo-announcement__code-caption {
        display: none;
    }

    .promo-announcement__offer {
        grid-area: offer;
        flex-wrap: wrap;
        gap: 4px 6px;
        font-size: 10px;
    }

    .promo-announcement__discount {
        font-size: 13px;
    }

    .promo-announcement__code {
        grid-area: code;
        justify-self: start;
        min-height: 24px;
        padding: 0 8px;
        font-size: 10px;
    }

    .promo-announcement__countdown {
        grid-area: countdown;
        justify-self: end;
        font-size: 9px;
    }

    .promo-announcement__button {
        grid-area: button;
        justify-self: end;
        min-height: 25px;
        padding: 0 11px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-announcement__button,
    .promo-announcement__code {
        transition: none;
    }
}

.app.has-promo-banner {
    --promo-right-reserve: 0px;
}

.app.has-promo-banner > .promo-announcement {
    width: calc(100% - var(--sidebar-w, 280px));
    margin-left: var(--sidebar-w, 280px);
    margin-right: 0;
    box-sizing: border-box;
}

.app.has-promo-banner .ny-scene-right {
    top: var(--header-h, 72px);
    z-index: 56;
    pointer-events: none;
}

.app.has-promo-banner .ny-scene-right::before {
    z-index: -1;
}

.app.has-promo-banner .left-sidebar {
    top: var(--header-h, 72px);
    height: calc(100vh - var(--header-h, 72px));
}

.app.has-promo-banner .ny-scene-left {
    top: calc(var(--header-h, 72px) + var(--promo-banner-height));
}

@media (min-width: 861px) and (max-width: 1100px) {
    .app.has-promo-banner {
        --promo-banner-height: 64px;
    }

    .promo-announcement__label {
        display: none;
    }

    .promo-announcement__inner {
        min-height: var(--promo-banner-height);
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 6px 10px;
        padding: 7px 8px;
        white-space: normal;
    }

    .promo-announcement__offer {
        font-size: 11px;
    }

    .promo-announcement__button {
        min-height: 26px;
    }
}

@media (max-width: 860px) {
    .app.has-promo-banner > .promo-announcement {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .app.has-promo-banner .ny-scene-right {
        z-index: 56;
    }
}
