body:has(#apk-download) {
    cursor: pointer;
}

#apk-download,
#apk-download button {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

#apk-download button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: -4px;
}

.apk-click-ready #apk-download {
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    pointer-events: none;
}

.apk-click-ready #apk-download button {
    position: static;
    width: 1px;
    height: 1px;
}

.apk-click-ready:has(#apk-download button:focus-visible) body {
    outline: 3px solid #fbbf24;
    outline-offset: -4px;
}

.apk-status {
    position: fixed;
    z-index: 100;
    bottom: 1rem;
    inset-inline: 1rem;
    margin-inline: auto;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: .75rem 1rem;
    border: 1px solid #fbbf24;
    border-radius: .75rem;
    background: #111827;
    color: #fef3c7;
    text-align: center;
}
