h1 {
    outline: none;
}

:where(button, input:is([type="button"], [type="submit"], [type="reset"]), a.btn[href], [role="button"]):not(:disabled, [aria-disabled="true"]) {
    cursor: pointer;
}

.app-button {
    min-height: 44px;
    padding-inline: 1.25rem;
}

.app-button--large {
    min-height: 50px;
    padding-inline: 1.75rem;
}

.app-button--compact {
    min-height: 32px;
    padding-inline: .75rem;
}

.app-button:disabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: auto;
}

.app-button--danger {
    border: 1px solid #ef444459;
    color: #ef4444;
}

.app-button--danger:hover:enabled {
    background-color: #ef44441a;
}

.toast-stack {
    position: fixed;
    inset: 1rem 1rem auto auto;
    z-index: 9999;
    width: min(24rem, calc(100% - 2rem));
    pointer-events: none;
}

.site-toast {
    margin-bottom: .5rem;
    padding: .75rem 1rem;
    border: 1px solid #475569;
    border-inline-start: .25rem solid #38bdf8;
    border-radius: .5rem;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 4px 16px #0004;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.site-toast--success { border-inline-start-color: #4ade80; }
.site-toast--error { border-inline-start-color: #f87171; }
.site-toast--warning { border-inline-start-color: #fbbf24; }

@keyframes blogFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.blog-content--fade {
    animation: blogFadeIn 0.6s ease forwards;
    animation-delay: 320ms;
    opacity: 0;
}
