.goose-install-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid currentColor;
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.goose-install-button:hover {
    background: rgb(127 127 127 / 12%);
}

.goose-install-button:focus-visible,
.goose-install-dialog button:focus-visible {
    outline: 3px solid #e42030;
    outline-offset: 3px;
}

.goose-install-dialog {
    box-sizing: border-box;
    margin: auto;
    max-width: 32rem;
    width: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
    overflow: auto;
    padding: 1.5rem;
    border: 1px solid #cbd2e2;
    border-top: 4px solid #e42030;
    border-radius: 1rem;
    background: #fff;
    color: #18213c;
    font:
        1rem/1.6 system-ui,
        sans-serif;
    box-shadow: 0 1rem 4rem rgb(0 0 0 / 25%);
}

.dark .goose-install-dialog {
    background: #18213c;
    color: #f1f4fa;
    border-color: #536184;
    border-top-color: #e42030;
}

.goose-install-dialog::backdrop {
    background: rgb(10 17 35 / 65%);
}

.goose-install-dialog h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.goose-install-dialog p,
.goose-install-dialog ul {
    margin: 0 0 1rem;
}

.goose-install-dialog ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.goose-install-dialog li + li {
    margin-top: 0.75rem;
}

.goose-install-dialog button {
    border: 0;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 600;
    color: white;
    background: #24346d;
    cursor: pointer;
}

.goose-app-installed [data-install-app] {
    display: none;
}

@media (display-mode: standalone) {
    [data-install-app] {
        display: none;
    }
}

@media (width < 640px) {
    .goose-install-label {
        display: none;
    }
}
