.abrha-ntfy-prompt {
    --abrha-ntfy-prompt-bg: #e9f4ff;
    --abrha-ntfy-prompt-border: #0080ff;
    --abrha-ntfy-prompt-primary: #0080ff;
    --abrha-ntfy-prompt-text: #515151;
    --abrha-ntfy-prompt-white: #ffffff;
    position: fixed;
    left: max(24px, calc((100vw - 1300px) / 2));
    right: auto;
    top: 16px;
    z-index: 999999;
    box-sizing: border-box;
    width: min(374px, calc(100vw - 24px));
    min-height: 148px;
    padding: 16px;
    border: 0;
    border-radius: 12px;
    background: var(--abrha-ntfy-prompt-bg);
    box-shadow: inset 0 0 0 1px var(--abrha-ntfy-prompt-border), 0 5px 12px rgba(40, 40, 40, 0.18);
    color: var(--abrha-ntfy-prompt-text);
    font-family: inherit;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.abrha-ntfy-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.abrha-ntfy-prompt.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.abrha-ntfy-prompt,
.abrha-ntfy-prompt * {
    box-sizing: border-box;
}

.abrha-ntfy-prompt__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    gap: 12px;
}

.abrha-ntfy-prompt__message {
    flex: 1 1 auto;
    min-width: 0;
    margin: 14px 0 0;
    color: var(--abrha-ntfy-prompt-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: start;
}

.abrha-ntfy-prompt__icon-wrap {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.abrha-ntfy-prompt__icon {
    display: block;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 16px;
    object-fit: cover;
}

.abrha-ntfy-prompt__icon-fallback {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(145deg, #168fff 0%, #0068d8 100%);
    color: var(--abrha-ntfy-prompt-white);
    font-size: 30px;
    line-height: 1;
}


.abrha-ntfy-prompt__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}

.abrha-ntfy-prompt__button {
    appearance: none;
    flex: 1 1 0;
    min-width: 0;
    height: 32px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--abrha-ntfy-prompt-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: opacity 140ms ease, background-color 140ms ease;
}

.abrha-ntfy-prompt__button:hover {
    opacity: 0.86;
}

.abrha-ntfy-prompt__button:focus-visible {
    outline: 2px solid var(--abrha-ntfy-prompt-primary);
    outline-offset: 2px;
}

.abrha-ntfy-prompt__button--allow {
    background: var(--abrha-ntfy-prompt-primary);
    color: var(--abrha-ntfy-prompt-white);
}

.abrha-ntfy-prompt__button--later {
    background: transparent;
    color: var(--abrha-ntfy-prompt-text);
}

@media (max-width: 767px) {
    .abrha-ntfy-prompt {
        left: 12px;
        right: 12px;
        top: 72px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .abrha-ntfy-prompt,
    .abrha-ntfy-prompt__button {
        transition: none;
    }
}
