.app-download {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
    padding: 6px 4px 6px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffdb65, #fdb931 30%, #ffe586 60%, #fdb931);
    background-size: 300% 300%;
    color: #283747;
}
.app-download strong {
    font-size: .94rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.app-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.app-download-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    min-height: 44px;
    padding: 4px 12px;
    border-radius: 10px;
    background: #29394a;
    color: white;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.app-download-actions a:hover { background: #162331; }
.app-download button {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font: 24px/1 sans-serif;
    cursor: pointer;
}
.app-download button:hover { background: rgb(0 0 0 / 7%); }
.app-download[hidden], .app-download [hidden] { display: none; }
.footer-download { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-download a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    color: inherit;
    font-weight: 600;
}
@media (max-width: 700px) {
    .app-download { grid-template-columns: minmax(0, 1fr) minmax(min-content, max-content) 44px; gap: 4px; }
    .app-download-actions { flex-direction: column; }
}
@media (max-width: 359px) {
    .app-download { grid-template-columns: minmax(0, 1fr) 44px; }
    .app-download-actions { grid-column: 1; flex-flow: row wrap; }
    .app-download button { grid-column: 2; }
}

@media (prefers-reduced-motion: no-preference) {
    .app-download { animation: goldenShimmer 6s ease-in-out infinite; }
}
@media (min-width: 701px) {
    .app-download { width: fit-content; }
}
@media (min-width: 1025px) {
    .app-download {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 20;
        grid-template-columns: auto 44px;
        grid-template-areas: "title close" "actions actions";
        gap: 0 6px;
        margin: 0;
        padding: 2px 8px 12px 14px;
        box-shadow: 0 4px 18px rgb(44 62 80 / 22%);
    }
    .app-download strong { grid-area: title; }
    .app-download-actions { grid-area: actions; }
    .app-download button { grid-area: close; }
}
