.app-store-banner {
    color: #1c1c1e;
    background: #f7f7f7;
    border-bottom: 1px solid #dedede;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.app-store-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: min(720px, calc(100% - 1.5rem));
    min-height: 76px;
    margin-inline: auto;
    padding-block: 0.6rem;
}

.app-store-banner-close {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 0;
    color: #8e8e93;
    background: transparent;
    cursor: pointer;
}

.app-store-banner-close::before {
    content: "\00d7";
    font-size: 1.25rem;
    line-height: 1;
}

.app-store-banner-close:hover {
    color: #1c1c1e;
}

.app-store-banner-icon {
    display: block;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #e32b32;
    object-fit: cover;
}

.app-store-banner-copy {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

.app-store-banner-copy strong {
    font-size: 0.9rem;
    font-weight: 650;
}

.app-store-banner-copy span {
    color: #636366;
    font-size: 0.75rem;
}

.app-store-banner-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 30px;
    padding: 0 0.85rem;
    border-radius: 999px;
    color: #ffffff;
    background: #007aff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.app-store-banner-link:hover,
.app-store-banner-link:focus-visible {
    color: #ffffff;
    background: #0066d6;
}

.app-store-banner-close:focus-visible,
.app-store-banner-link:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

@media (max-width: 360px) {
    .app-store-banner-inner {
        gap: 0.5rem;
    }

    .app-store-banner-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .app-store-banner-link {
        min-width: 54px;
        padding-inline: 0.65rem;
    }
}