/* Loaded with the shared banner, independently of each page's cached base CSS. */
#app-store-promo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #3b3526;
    background: #181817;
    color: #f5f3ed;
    box-shadow: none;
    text-align: left;
    animation: none;
}

#app-store-promo,
#app-store-promo * {
    box-sizing: border-box;
    letter-spacing: 0;
}

#app-store-promo .app-store-promo__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr) 44px;
    align-items: center;
    gap: 24px;
    width: min(1180px, calc(100% - 48px));
    min-height: 0;
    margin: 0 auto;
    padding: 20px 0;
}

#app-store-promo .app-store-promo__copy {
    min-width: 0;
    margin: 0;
}

#app-store-promo .app-store-promo__eyebrow {
    display: block;
    margin: 0 0 6px;
    color: #ffd36b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

#app-store-promo .app-store-promo__copy strong {
    display: block;
    color: #f5f3ed;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#app-store-promo .app-store-promo__copy p {
    display: block;
    max-width: 360px;
    margin: 7px 0 0;
    color: #b8b7b0;
    font-size: 12px;
    line-height: 1.5;
}

#app-store-promo .app-store-promo__apps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    min-width: 0;
}

#app-store-promo .app-store-promo__app {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    min-width: 0;
    min-height: 116px;
    margin: 0;
    padding: 12px;
    border: 1px solid #424039;
    border-radius: 8px;
    background: #222220;
    color: #f5f3ed;
    transform: none;
    transition: border-color .15s ease, background-color .15s ease;
}

#app-store-promo .app-store-promo__app:hover {
    border-color: #c69b46;
    background: #292823;
    transform: none;
}

#app-store-promo .app-store-promo__icon {
    display: block;
    width: 56px;
    height: 56px;
    max-width: none;
    margin: 0;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 0 1px #4a463a;
}

#app-store-promo .app-store-promo__details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

#app-store-promo .app-store-promo__app small,
#app-store-promo .app-store-promo__app b {
    display: block;
    margin: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    text-overflow: clip;
    line-height: 1.4;
}

#app-store-promo .app-store-promo__app small {
    color: #b8b7b0;
    font-size: 11px !important;
    font-weight: 400;
}

#app-store-promo .app-store-promo__app b {
    color: #f5f3ed;
    font-size: 14px;
    font-weight: 700;
}

#app-store-promo .app-store-promo__stores {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#app-store-promo .app-store-promo__stores a {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 151px;
    height: 40px;
    border-radius: 6px;
    background: #000;
}

#app-store-promo .app-store-promo__stores a:first-child img {
    display: block;
    width: 151px;
    height: 40px;
}

#app-store-promo .app-store-promo__stores a:last-child img {
    display: block;
    width: 135px;
    height: 52px;
}

#app-store-promo .app-store-promo__stores img {
    max-width: none;
    flex: none;
}

#app-store-promo .app-store-promo__close {
    position: static;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #b8b7b0;
    font: 400 24px/1 Arial, sans-serif;
    cursor: pointer;
}

#app-store-promo .app-store-promo__close:hover {
    border-color: #424039;
    background: #292823;
    color: #fff;
}

#app-store-promo .app-store-promo__stores a:focus-visible,
#app-store-promo .app-store-promo__close:focus-visible {
    outline: 2px solid #ffd36b;
    outline-offset: 3px;
}

#app-store-promo.is-closing {
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

@media (max-width: 1000px) {
    #app-store-promo .app-store-promo__inner {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 12px;
        padding: 16px 0;
    }

    #app-store-promo .app-store-promo__copy {
        grid-column: 1;
        grid-row: 1;
    }

    #app-store-promo .app-store-promo__copy p {
        display: none;
    }

    #app-store-promo .app-store-promo__apps {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    #app-store-promo .app-store-promo__close {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 600px) {
    #app-store-promo .app-store-promo__inner {
        width: calc(100% - 32px);
        padding: 12px 0;
    }

    #app-store-promo .app-store-promo__eyebrow {
        margin-bottom: 3px;
    }

    #app-store-promo .app-store-promo__copy strong {
        font-size: 17px;
    }

    #app-store-promo .app-store-promo__apps {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    #app-store-promo .app-store-promo__app {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 110px;
        padding: 10px 12px;
    }

    #app-store-promo .app-store-promo__icon {
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #app-store-promo,
    #app-store-promo * {
        animation: none;
        transition: none;
    }
}
