.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 160px;
    padding: 8px 30px;
    border: 0;
    border-radius: 10px;
    font-size: clamp(13px, 3.9vw, 18px);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: transform .16s ease, filter .16s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(.98);
}

.btn:disabled {
    opacity: .48;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    color: white;
    background: var(--red);
}

.btn-secondary {
    color: var(--purple);
    background: transparent;
    border: 2px solid var(--purple);
}

.placeholder-art {
    display: block;
    object-fit: contain;
}

.toast {
    position: fixed;
    z-index: 20;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    max-width: min(440px, calc(100vw - 40px));
    padding: 14px 18px;
    border-radius: 14px;
    color: white;
    background: #241a14;
    box-shadow: 0 8px 26px #0003;
}

.toast[hidden] {
    display: none;
}
